I just checked out the latest copy of JBoss 3.0.0beta2 today (4/14/02) in order to fix the broken MANIFEST.MF Class-Path handling. Now I'm having trouble deploying EAR files. I got things working to the point where all the EJB stuff deploys fine, but JBoss then tries to deploy to the embedded Catalina and gives the following error:
2002-04-14 19:27:26,416 DEBUG [org.jboss.deployment.MainDeployer] start step for
deployment njar:file:/mnt/hulk/space/wchao/packages/jboss-3.0.0beta2/server/def
ault/tmp/deploy/mnt/hulk/space/wchao/packages/jboss-3.0.0beta2/server/default/de
ploy/rmjobs.ear/92.rmjobs.ear^/rmjobs.war
2002-04-14 19:27:26,424 DEBUG [org.jboss.web.catalina.EmbeddedCatalinaServiceSX]
webContext: /rmjobs
2002-04-14 19:27:26,425 DEBUG [org.jboss.web.catalina.EmbeddedCatalinaServiceSX]
warURL: njar:file:/mnt/hulk/space/wchao/packages/jboss-3.0.0beta2/server/defaul
t/tmp/deploy/mnt/hulk/space/wchao/packages/jboss-3.0.0beta2/server/default/deplo
y/rmjobs.ear/92.rmjobs.ear^/rmjobs.war
2002-04-14 19:27:26,425 DEBUG [org.jboss.web.catalina.EmbeddedCatalinaServiceSX]
webAppParser: org.jboss.web.AbstractWebContainer$DescriptorParser@5b1773
2002-04-14 19:27:27,123 INFO [org.jboss.web.catalina.EmbeddedCatalinaServiceSX]
deploy, ctxPath=/rmjobs, warUrl=njar:file:/mnt/hulk/space/wchao/packages/jboss-
3.0.0beta2/server/default/tmp/deploy/mnt/hulk/space/wchao/packages/jboss-3.0.0be
ta2/server/default/deploy/rmjobs.ear/92.rmjobs.ear^/rmjobs.war
2002-04-14 19:27:28,810 INFO [org.jboss.web.localhost.Engine] StandardContext[/
rmjobs]: Error initializing resources: Doc base must point to a WAR file
2002-04-14 19:27:30,652 INFO [org.jboss.web.localhost.Engine] StandardContext[/
rmjobs]: Context startup failed due to previous errors
It would seem that Tomcat doesn't like the warUrl being passed in from JBoss. Does anyone know how to fix this?