-
1. Re: Building 3.0 w/ Tomcat
mikefinn Apr 10, 2002 1:39 PM (in response to mikefinn)OK - I figured it out myself. This is how to do it (so far as I can tell)
0. Check out jboss-all
1. Build jboss (jboss-all/build/build.sh)
2. Put the tomcat distro into jboss-all/catalina
3. Modify the jboss-all/catalina/src/resources/jboss-service.xml file to correct the path to tomcat:
e.g. <!ENTITY catalina.home "../jakarta-tomcat-4.0.3">
will work for situations where tomcat is right in $JBOSS.
4. Build the catalina target (jboss-all/catalina/build.sh)
5. Drop the tomcat4-service.sar in jboss-all/build/output/jboss-3.0.0beta2/deploy.
6. Remove the jetty-plugin.sar from jboss-all/build/output/jboss-3.0.0beta2/deploy.
6. Copy tomcat distro dir into jboss-all/build/output/jboss-3.0.0beta2/.
Start the server from jboss-all/build/output/jboss-3.0.0beta2/bin. -
2. Re: Building 3.0 w/ Tomcat
wchao Apr 14, 2002 7:47 PM (in response to mikefinn)Are you able to get EAR files deployed? Almost everything goes right for me, but JBoss throws up an exception when it tries to deploy to Tomcat. I get 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
Any clues? My random guess would be that Tomcat doesn't like the packed structure, or maybe the caret in the warUrl, but I'm really not sure.