-
1. Re: Jboss + Catalina not working
nganju Jan 5, 2002 7:25 PM (in response to nganju)
Incidentally, I'm using all the default config files that came with the install, the jboss.jcml and jboss.properties in the jboss/conf/catalina directory, and the server.xml and web.xml in /catalina/conf/ -
2. Re: Jboss + Catalina not working
javier Jan 5, 2002 10:35 PM (in response to nganju)I am also trying JBoss+Catalina and I get an HTTP Internal Server Error 500 trying to load Tomcat's initial page although I don't get log errors when starting JBoss w/Catalina.
-
3. Re: Jboss + Catalina not working
adrian.brock Jan 6, 2002 12:02 AM (in response to nganju)To get more information have a look in
JBOSS_HOME/log/server.log
by default this should display some DEBUG information.
Regards,
Adrian -
4. Re: Jboss + Catalina not working
adrian.brock Jan 6, 2002 12:05 AM (in response to nganju)The test deployment is not in the root context,
nothing is.
Try the following url
http://localhost:8080/jboss
replace localhost with whatever's relevant if you
are not on the same machine.
Regards,
Adrian -
5. Re: Jboss + Catalina not working
objectman Jan 6, 2002 1:30 PM (in response to nganju)Dropping a war file into $CATALINA_HOME/webapps
does not get the web app deployed. Also,
when dropping a war file into $JBOSS_HOME/deploy
results in an exception being thrown by the
J2EEDeployer. Complaining that the web-app
tag can't be found. Note that this works
perfectly with JB/TC version 2.4/3.2.3 -
6. Re: Jboss + Catalina not working
adrian.brock Jan 6, 2002 2:44 PM (in response to nganju)$CATALINA_HOME/webapps is for running tomcat/catalina by itself.
Do you want to post the WEB-INF/web.xml from your war?
Regards,
Adrian -
7. Re: Jboss + Catalina not working
aepshteyn Jan 8, 2002 4:51 AM (in response to nganju)It is possible that web-app is not recognized because <!DOCTYPE is missing in web.xml. By the way, it looks like web.xml for interest servlet in documentation-example.zip has <!DOCTYPE ... > missing.
You need something like:
<!DOCTYPE web-app
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
"http://java.sun.com/j2ee/dtds/web-app_2_3.dtd"> -
8. Re: Jboss + Catalina not working
aepshteyn Jan 8, 2002 5:17 AM (in response to nganju)> Dropping a war file into $CATALINA_HOME/webapps
> does not get the web app deployed.
To the best of my understanding, in order to deploy a web application it's xxx.war has to be placed in $JBOSS_DIST/deploy directory, not webapps. Tomcat root context and examples are not deployed after install, if you want to deploy them, you can do the following:
For root context:
cd $CATALINA_HOME/webapp/ROOT
jar cvf ROOT.war *
mv ROOT.war $JBOSS_DIST/deploy/.war
For Tomcat examples:
cd $CATALINA_HOME/webapp/examples
jar cvf examples.war *
mv examples.war $JBOSS_DIST/deploy/
> Also,
> when dropping a war file into $JBOSS_HOME/deploy
> results in an exception being thrown by the
> J2EEDeployer. Complaining that the web-app
> tag can't be found. Note that this works
> perfectly with JB/TC version 2.4/3.2.3
See my previous post about <!DOCTYPE (or it can be something else :-))
Cheers,
Alex