You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by "tony_81@libero.it" <to...@libero.it> on 2007/03/17 12:26:20 UTC

[AXIS 2] Deploying on Tomacat 6.0.10

Hi!
I try to deploy axis2.war (Axis2 1.1.1)on Apache Tomacat 6.0.10 and i obtain this error when it deploy version.aar
What's the problem?
Where i can find activation.jar and mail.jar and where i have to put this libraries ?
Thanks!



17-mar-2007 12.21.49 org.apache.catalina.core.AprLifecycleListener init
INFO: The Apache Tomcat Native library which allows optimal performance in produ
ction environments was not found on the java.library.path: C:\Programmi\Java\jre
1.6.0\bin;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\System32;C:\WINDOWS;C:\WINDOWS\Sy
stem32;C:\Programmi\Java\jdk1.6.0\bin;C:\Programmi\apache-ant-1.7.0\bin;C:\Progr
ammi\apache-tomcat-6.0.10\bin;C:\Programmi\axis2-1.1.1\webapp\axis2-web\bin;C:\P
rogrammi\Java\jdk1.6.0\bin;C:\Programmi\apache-ant-1.7.0\bin;C:\Programmi\apache
-tomcat-6.0.10\bin;C:\Programmi\axis2-1.1.1\webapp\axis2-web\bin;C:\Programmi\Ja
va\jdk1.6.0\bin;C:\Programmi\apache-ant-1.7.0\bin;C:\Programmi\apache-tomcat-6.0
.10\bin;C:\Programmi\axis2-1.1.1\webapp\axis2-web\bin
17-mar-2007 12.21.51 org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
17-mar-2007 12.21.51 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 5387 ms
17-mar-2007 12.21.51 org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
17-mar-2007 12.21.52 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.10
17-mar-2007 12.21.52 org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive axis2.war
17-mar-2007 12.22.04 org.apache.axis2.deployment.DeploymentEngine doDeploy
INFO: Deploying module : addressing-1.1.1
17-mar-2007 12.22.12 org.apache.axis2.deployment.DeploymentEngine doDeploy
INFO: Deploying module : rampart-1.1
17-mar-2007 12.22.12 org.apache.axis2.deployment.DeploymentEngine doDeploy
INFO: Deploying module : soapmonitor-1.1.1
17-mar-2007 12.22.13 org.apache.axis2.deployment.DeploymentEngine doDeploy
INFO: Deploying Web service  version.aar
- Unable to find required classes (javax.activation.DataHandler and javax.mail.i
nternet.MimeMultipart). Attachment support is disabled.
17-mar-2007 12.22.23 org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
17-mar-2007 12.22.23 org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
17-mar-2007 12.22.23 org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/180  config=null
17-mar-2007 12.22.23 org.apache.catalina.startup.Catalina start
INFO: Server startup in 32497 ms



------------------------------------------------------
Leggi GRATIS le tue mail con il telefonino i-mode™ di Wind
http://i-mode.wind.it



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Re: [AXIS 2] Deploying on Tomacat 6.0.10

Posted by Jarek Kucypera <jk...@mikrozet.wroc.pl>.
John Kristian wrote:

>Is it sufficient to place Axis2 .jar files in the WEB-INF/lib of a web
>application?  (Assuming the web application is the only user of Axis2.)
>Or must they go in Tomcat's global class loader?
>  
>
Yes, WEB-INF/lib is sufficient. Axis2 (at least 1.1.1 which I use) comes 
with .war distribution,
so you cant get and examine it .

J.K.



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


RE: [AXIS 2] Deploying on Tomacat 6.0.10

Posted by John Kristian <jk...@netflix.com>.
Is it sufficient to place Axis2 .jar files in the WEB-INF/lib of a web
application?  (Assuming the web application is the only user of Axis2.)
Or must they go in Tomcat's global class loader?

The Axis2 binary distribution includes lib/activation-1.1.jar and
lib/mail-1.4.jar, which I trust have been successfully tested with
Axis2.

Here's a little script I use to find .jar files:

#!/bin/sh
# Search all the .jar files in the directories in the
semicolon-separated list $1,
# for files that match the rest of the arguments (passed to `egrep`).
# For example:
# findjar $CLASSPATH -i saxbuilder

dirs=`echo "$1" | sed -e 's/;/ /g'`
shift

for file in `/usr/bin/find $dirs -type f \
 \( -name '*.jar' -o -name '*.zip' -o -name '*.war'\
 -o -name '*.mar' -o -name '*.aar'\
 \) -print`; do
    if unzip -l "$file" | egrep "$@" > /dev/null; then
       unzip -l "$file" | egrep "$@" | sed -e "s;^;${file}: ;"
    fi
done
find $dirs -type f -name '*.class' -print | egrep "$@"

- John Kristian

-----Original Message-----
From: Glen Mazza [mailto:grm7793@verizon.net] 
Sent: Saturday, March 17, 2007 7:13 AM
To: axis-user@ws.apache.org
Subject: Re: [AXIS 2] Deploying on Tomacat 6.0.10

In Tomcat 5.5.x, at least, there is a common/lib (shared/lib is also OK)
directory you can place those two jars in, and they should be accessible
to the axis2.war (and its underlying services) upon restart of Tomcat.
Google for the two jar files you need--I think they come from the Sun
site but I'm unsure.

Glen


Am Samstag, den 17.03.2007, 12:26 +0100 schrieb tony_81@libero.it:
> Hi!
> I try to deploy axis2.war (Axis2 1.1.1)on Apache Tomacat 6.0.10 and
> i obtain this error when it deploy version.aar.   What's the problem?
> Where i can find activation.jar and mail.jar and where i have to put
> this libraries ?
> Thanks!
> 
> 
> INFO: Deploying web application archive axis2.war
> 17-mar-2007 12.22.04 org.apache.axis2.deployment.DeploymentEngine
doDeploy
> INFO: Deploying module : addressing-1.1.1
> 17-mar-2007 12.22.12 org.apache.axis2.deployment.DeploymentEngine
doDeploy
> INFO: Deploying module : rampart-1.1
> 17-mar-2007 12.22.12 org.apache.axis2.deployment.DeploymentEngine
doDeploy
> INFO: Deploying module : soapmonitor-1.1.1
> 17-mar-2007 12.22.13 org.apache.axis2.deployment.DeploymentEngine
doDeploy
> INFO: Deploying Web service  version.aar
> - Unable to find required classes (javax.activation.DataHandler and
javax.mail.i
> nternet.MimeMultipart). Attachment support is disabled.
> 17-mar-2007 12.22.23 org.apache.coyote.http11.Http11Protocol start

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Re: [AXIS 2] Deploying on Tomacat 6.0.10

Posted by Glen Mazza <gr...@verizon.net>.
Am Samstag, den 17.03.2007, 19:18 +0100 schrieb Jarek Kucypera:
> Glen Mazza wrote:
> 
> >In Tomcat 5.5.x, at least, there is a common/lib (shared/lib is also OK)
> >directory you can place those two jars in, and they should be accessible
> >to the axis2.war (and its underlying services) upon restart of Tomcat.
> >Google for the two jar files you need--I think they come from the Sun
> >site but I'm unsure.
> >  
> >
> You can also put them in WEB-INF/lib.

Of the Axis2 expanded WAR file--yes, I forgot about that.

> 
> >This question, and that of the other poster with XSL files, is
> >presenting a problem I had earlier, of precisely *where* (which
> >directory, etc.) to put JAR resources in an .aar file to make them
> >accessible to the service.  
> >
> In 'lib' subdirectory of the service directory/atchive.
> 
> J.K.
> 

Thanks.  I submitted a patch to update the docs for this:

https://issues.apache.org/jira/secure/attachment/12353576/quickStartguidepatch.html

Glen



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Re: [AXIS 2] Deploying on Tomacat 6.0.10

Posted by Jarek Kucypera <jk...@mikrozet.wroc.pl>.
Glen Mazza wrote:

>In Tomcat 5.5.x, at least, there is a common/lib (shared/lib is also OK)
>directory you can place those two jars in, and they should be accessible
>to the axis2.war (and its underlying services) upon restart of Tomcat.
>Google for the two jar files you need--I think they come from the Sun
>site but I'm unsure.
>  
>
You can also put them in WEB-INF/lib.

>This question, and that of the other poster with XSL files, is
>presenting a problem I had earlier, of precisely *where* (which
>directory, etc.) to put JAR resources in an .aar file to make them
>accessible to the service.  
>
In 'lib' subdirectory of the service directory/atchive.

J.K.

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Re: [AXIS 2] Deploying on Tomacat 6.0.10

Posted by Glen Mazza <gr...@verizon.net>.
In Tomcat 5.5.x, at least, there is a common/lib (shared/lib is also OK)
directory you can place those two jars in, and they should be accessible
to the axis2.war (and its underlying services) upon restart of Tomcat.
Google for the two jar files you need--I think they come from the Sun
site but I'm unsure.

This question, and that of the other poster with XSL files, is
presenting a problem I had earlier, of precisely *where* (which
directory, etc.) to put JAR resources in an .aar file to make them
accessible to the service.  I believe the documentation is kind of vague
on this, when I figure this out completely myself I'll submit a doc
patch for it to be clearer.

Glen


Am Samstag, den 17.03.2007, 12:26 +0100 schrieb tony_81@libero.it:
> Hi!
> I try to deploy axis2.war (Axis2 1.1.1)on Apache Tomacat 6.0.10 and i obtain this error when it deploy version.aar
> What's the problem?
> Where i can find activation.jar and mail.jar and where i have to put this libraries ?
> Thanks!
> 
> 
> 
> 17-mar-2007 12.21.49 org.apache.catalina.core.AprLifecycleListener init
> INFO: The Apache Tomcat Native library which allows optimal performance in produ
> ction environments was not found on the java.library.path: C:\Programmi\Java\jre
> 1.6.0\bin;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\System32;C:\WINDOWS;C:\WINDOWS\Sy
> stem32;C:\Programmi\Java\jdk1.6.0\bin;C:\Programmi\apache-ant-1.7.0\bin;C:\Progr
> ammi\apache-tomcat-6.0.10\bin;C:\Programmi\axis2-1.1.1\webapp\axis2-web\bin;C:\P
> rogrammi\Java\jdk1.6.0\bin;C:\Programmi\apache-ant-1.7.0\bin;C:\Programmi\apache
> -tomcat-6.0.10\bin;C:\Programmi\axis2-1.1.1\webapp\axis2-web\bin;C:\Programmi\Ja
> va\jdk1.6.0\bin;C:\Programmi\apache-ant-1.7.0\bin;C:\Programmi\apache-tomcat-6.0
> .10\bin;C:\Programmi\axis2-1.1.1\webapp\axis2-web\bin
> 17-mar-2007 12.21.51 org.apache.coyote.http11.Http11Protocol init
> INFO: Initializing Coyote HTTP/1.1 on http-8080
> 17-mar-2007 12.21.51 org.apache.catalina.startup.Catalina load
> INFO: Initialization processed in 5387 ms
> 17-mar-2007 12.21.51 org.apache.catalina.core.StandardService start
> INFO: Starting service Catalina
> 17-mar-2007 12.21.52 org.apache.catalina.core.StandardEngine start
> INFO: Starting Servlet Engine: Apache Tomcat/6.0.10
> 17-mar-2007 12.21.52 org.apache.catalina.startup.HostConfig deployWAR
> INFO: Deploying web application archive axis2.war
> 17-mar-2007 12.22.04 org.apache.axis2.deployment.DeploymentEngine doDeploy
> INFO: Deploying module : addressing-1.1.1
> 17-mar-2007 12.22.12 org.apache.axis2.deployment.DeploymentEngine doDeploy
> INFO: Deploying module : rampart-1.1
> 17-mar-2007 12.22.12 org.apache.axis2.deployment.DeploymentEngine doDeploy
> INFO: Deploying module : soapmonitor-1.1.1
> 17-mar-2007 12.22.13 org.apache.axis2.deployment.DeploymentEngine doDeploy
> INFO: Deploying Web service  version.aar
> - Unable to find required classes (javax.activation.DataHandler and javax.mail.i
> nternet.MimeMultipart). Attachment support is disabled.
> 17-mar-2007 12.22.23 org.apache.coyote.http11.Http11Protocol start
> INFO: Starting Coyote HTTP/1.1 on http-8080
> 17-mar-2007 12.22.23 org.apache.jk.common.ChannelSocket init
> INFO: JK: ajp13 listening on /0.0.0.0:8009
> 17-mar-2007 12.22.23 org.apache.jk.server.JkMain start
> INFO: Jk running ID=0 time=0/180  config=null
> 17-mar-2007 12.22.23 org.apache.catalina.startup.Catalina start
> INFO: Server startup in 32497 ms
> 
> 
> 
> ------------------------------------------------------
> Leggi GRATIS le tue mail con il telefonino i-mode™ di Wind
> http://i-mode.wind.it
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org