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 Bruce Scharlau <sc...@csd.abdn.ac.uk> on 2002/06/20 10:07:20 UTC
jboss-net.sar not deploying properly in jboss-tomcat
Hi all,
I've been trying to get jboss.net to deploy properly in
jboss3.0-tomcat4.0.3 for a few days now.
For those of you who don't know, the latest versions of jboss j2ee server
integrate axis. (see http://www.jboss.org)
It works fine, almost out of the box perfectly, with jboss-3.0.0 using
jetty. You just need to put the right jars in the right place, move a few
config files, and it runs. It took all of fifteen minutes to get it going.
A bit of practice and that would be five minutes.
However, with jboss-tomcat, it's a different story. After unpacking the
jboss-net.sar file and comparing what goes on there under jboss-tomcat with
what happens under jboss-jetty, it would appear that tomcat is not picking
up the parameters set in install-axis.xml.
The logs for jboss-jetty suggest that axis is deployed under axis,
JBossAxis, ie
2002-06-19 14:06:23,154 DEBUG
[org.jboss.jetty.JBossWebApplicationContext#/axis/*] setting up ENC succeeded
2002-06-19 14:06:23,244
INFO [org.jboss.security.plugins.JaasSecurityManagerService] Created
securityMgr=org.jboss.security.plugins.JaasSecurityManager@f03691
2002-06-19 14:06:23,294
INFO [org.jboss.security.plugins.JaasSecurityManagerService]
setCachePolicy, c=org.jboss.util.TimedCachePolicy@94257f
2002-06-19 14:06:23,304 DEBUG
[org.jboss.security.plugins.JaasSecurityManager.other] CachePolicy set to:
org.jboss.util.TimedCachePolicy@94257f
2002-06-19 14:06:23,304
INFO [org.jboss.security.plugins.JaasSecurityManagerService] Added other,
org.jboss.security.plugins.SecurityDomainContext@29c58e to map
2002-06-19 14:06:23,314 INFO [org.jboss.jetty.Jetty] Started
JBossWebApplicationContext$JBossSXSecurityHandler in
WebApplicationContext[/axis,JBossAxis]
2002-06-19 14:06:23,334 INFO [org.jboss.jetty.Jetty] Started
JBossWebApplicationContext$JBossSXSecurityHandler in
WebApplicationContext[/axis,JBossAxis]
2002-06-19 14:06:23,344 INFO [org.jboss.jetty.Jetty] Started
SecurityHandler in WebApplicationContext[/axis,JBossAxis]
OK, so tomcat runs differently, but I find none of the JBossAxis
references, and the context is set differently. Under the logs for
jboss-tomcat I find this sort of thing:
(NB: I renamed axis to axis2 so that I could keep the files straight in
trying to sort this out)
2002-06-19 15:14:22,660 INFO [org.jboss.web.localhost.Engine]
WebappLoader[/axis2/*]: Deploying class repositories to work directory
D:\JavaWork\jboss-3.0.0_tomcat-4.0.3\catalina\work\localhost\axis2_*
2002-06-19 15:14:22,720 INFO [org.jboss.web.localhost.Engine]
StandardManager[/axis2/*]: Seeding random number generator class
java.security.SecureRandom
2002-06-19 15:14:23,100 INFO [org.jboss.web.localhost.Engine]
StandardManager[/axis2/*]: Seeding of random number generator has been
completed
2002-06-19 15:14:23,881 INFO [org.jboss.web.localhost.Engine]
ContextConfig[/axis2/*]: Added certificates -> request attribute Valve
2002-06-19 15:14:24,813 INFO [org.jboss.web.localhost.Engine]
ContextConfig[/axis2/*]: Configured an authenticator for method BASIC
2002-06-19 15:14:24,813 DEBUG
[org.jboss.web.catalina.EmbeddedCatalinaServiceSX] Context.lifecycleEvent,
event=org.apache.catalina.LifecycleEvent[source=StandardEngine[MainEngine].StandardHost[localhost].StandardContext[/axis2/*]]
2002-06-19 15:14:24,903
INFO [org.jboss.web.catalina.EmbeddedCatalinaServiceSX] Using Java2 parent
classloader delegation: true
2002-06-19 15:14:24,983 INFO [org.jboss.web.localhost.Engine]
StandardWrapper[/axis2/*:default]: Loading container servlet default
2002-06-19 15:14:26,054 INFO [org.jboss.web.localhost.Engine] default: init
2002-06-19 15:14:26,135 INFO [org.jboss.web.localhost.Engine]
StandardWrapper[/axis2/*:invoker]: Loading container servlet invoker
2002-06-19 15:14:26,255 INFO [org.jboss.web.localhost.Engine] invoker: init
2002-06-19 15:14:26,255 INFO [org.jboss.web.localhost.Engine] invoker:
init: Associated with Context '/axis2/*'
That looks ok, but when I go to http://localhost:8080/axis2/ I get "No
Context configured to process this request".
So what's going on here?
Any clues about how to change the jboss-tomcat config to work with axis?
Someone must've got this up and running.
BTW: Do these postings copy over to the forums, which are up again? Or
should I post there too?
Cheers,
Bruce
Dr. Bruce A. Scharlau
Dept. of Computing Science
Aberdeen University
Aberdeen AB24 3UE
scharlau@csd.abdn.ac.uk
http://www.csd.abdn.ac.uk/~bscharla/
01224 272193