-
1. Re: JBoss/Tomcat HTTP 500
aweissman Dec 7, 2001 12:02 PM (in response to aweissman)Forgot to include this...
[INFO,Default] JBoss-2.4.4 Started in 0m:4s.957
[INFO,EmbeddedCatalinaServiceSX] StandardHost[localhost]: MAPPING configuration
error for request URI
[ERROR,EmbeddedCatalinaServiceSX] HttpProcessor[8080][4] process.invoke
java.lang.NullPointerException
at org.apache.catalina.valves.ErrorDispatcherValve.status(ErrorDispatche
rValve.java:280)
at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatche
rValve.java:180)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline
.java:564)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:170)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline
.java:564)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:163)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline
.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcesso
r.java:1011)
at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.ja
va:1106)
at java.lang.Thread.run(Unknown Source) -
2. Re: JBoss/Tomcat HTTP 500
matthicksj Dec 11, 2001 11:56 PM (in response to aweissman)I haven't been able to get the root "/" context working yet, but the additional .war applications that I deployed in jBoss worked. It just seems that something may be wrong with the root context. I'm not sure if this applies to your situation, but maybe it will.
-
3. Re: JBoss/Tomcat HTTP 500
brillpappin Dec 12, 2001 2:02 AM (in response to aweissman)On Tomcat, the root context is called ROOT.war and if you deploy it it sets itself up as the root context... this doesn't seem to work in jboss though...
-
4. Re: JBoss/Tomcat HTTP 500
aweissman Dec 12, 2001 11:34 AM (in response to aweissman)well my .jar's in JBOSS run fine from a java Application, but I can't get any servlets up in Tomcat when I do a run_with_catalina.
I've been trying to run the two separately and still can't get anywhere (can't get past a NamingException)
I have no idea why Tomcat will only respond with HTTP500's after run_with_catalina. -
5. Re: JBoss/Tomcat HTTP 500
tessai Dec 12, 2001 12:31 PM (in response to aweissman)What you can do is go to sourceforge and get version 2.4.3. dont know why 2.4.4 bundle doesnt work but the 2.4.3 bundle works just fine. try it out.
-
6. Re: JBoss/Tomcat HTTP 500
wombatice Dec 13, 2001 11:16 AM (in response to aweissman)Heh, it's not a trouble...
cd $CATALINA_HOME/webapp/ROOT
jar cvf ROOT.war *
mv ROOT.war $JBOSS_DIST/deploy/.war
cd $CATALINA_HOME/webapp/examples
jar cvf examples.war *
mv examples.war $JBOSS_DIST/deploy/
etc...
good luck :) -
7. Re: JBoss/Tomcat HTTP 500
chewie124 Dec 13, 2001 8:39 PM (in response to aweissman)Hi - finally figured out how to get the JBoss 2.4.4 + Tomcat 4.0.1 working; in addition to creating the ROOT.war and examples.war files above and putting them in the $JBOSS_HOME/deploy directory, you also need to copy the tools.jar file from your $JAVA_HOME/lib directory into the $JBOSS_HOME/lib/ext directory so JBoss/Catalina will be able to compile JSP's.
Also, you have to access these web applications in their URL context's: ie:
http:///ROOT
http:///examples
and then (from what I've seen) everything seems to be working okay.
I haven't figured out yet how to specify a default web-app so if you just go to http:// a web-app will automatically load up.
Hope this helps whoever hasn't figured this out yet.
Cheers,
Rich -
8. Re: JBoss/Tomcat HTTP 500
wombatice Dec 14, 2001 7:53 AM (in response to aweissman)->I haven't figured out yet how to specify a default web-app so if you just go to http:// a web-app will automatically load up.
mv ROOT.war $JBOSS_DIST/deploy/.war
(rename "ROOT.war" to ".war" and move it to your deploy dir).
When see http://:8080
Serg -
9. Re: JBoss/Tomcat HTTP 500
lvyuawen Dec 30, 2001 1:41 AM (in response to aweissman)Thanks very much ,
And more thanks to chewie124 and WombatICE -
10. Re: JBoss/Tomcat HTTP 500
huangyufu Jan 3, 2002 5:00 PM (in response to aweissman)On windows, I can't change ROOT.war to .war. There was not problem when I deployed ROOT.war. But when I deployed examples.war, I got the following messages:
[ERROR,EmbeddedCatalinaServiceSX] Failed to setup web application ENC
javax.naming.NamingException: ejb-ref: ejb/Account, expected jndi-name in jboss-
web.xml
at org.jboss.web.AbstractWebContainer.linkEjbRefs(AbstractWebContainer.j
ava:428)
at org.jboss.web.AbstractWebContainer.
.........
.........
.........
at java.lang.Thread.run(Unknown Source)
But the examples are working well. What is this error message about? -
11. Re: JBoss/Tomcat HTTP 500
johnsonn Jan 3, 2002 5:33 PM (in response to aweissman)To change the ROOT.war to .war in windows you have to use the command prompt:
c:>rename ROOT.war .war
:) -
12. Re: JBoss/Tomcat HTTP 500
fmorton Jan 5, 2002 10:45 PM (in response to aweissman)This was a life saver! Worked great.
-
13. Re: JBoss/Tomcat HTTP 500
thompmar Jan 7, 2002 5:16 AM (in response to aweissman)Hi,
I am trying to use this on Mac OSX and have a small problem, their is no tools.jar file. Can I use any other distributions tools.jar file ??? -
14. Re: JBoss/Tomcat HTTP 500
adrian.brock Jan 7, 2002 6:33 AM (in response to aweissman)From a post on the dev-list
>On OS X the javac
> compiler is in the
>/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Classes/clas es.jar
Regards,
Adrian