First I must apoligise it was my fault the web application did not work. The reason catalina died was an interesting one. I have installed on my machine version 1.3.1 and 1.4 of the sun JDK. My JAVA_HOME is set to the 1.3.1 JDK because I use that for most of my development.
When I installed the 1.4 JDK it puts a java.exe in my C:\windows\system32 directory. What this does is override the java.exe from 1.3.1 already in my path. I have already had this happen to me before so i have changed the batch files in my non 1.4 apps to run %JAVA_HOME%\bin\java.exe however i did not check the run.bat in JBOSS :) This used the straight "java.exe" which was running 1.4 version in mys windows directory :( If i run catalina with 1.4 i get some really wierd errors :) Especially using the %JAVA_HOME%/lib/tools.jar from 1.3.1. Attached is a Diff that fixed it. One other suggestion is that you print to the console output the java version as well as the existing OS version. And possibly make this a part of a standard post a bug profile just to make sure people like me don't waste to much of your time :) Thankyou VERY much for you prompt response!! On Sun, 2002-03-24 at 08:11, Todd Marshall wrote: > mark, > > what's your web.xml file look like? > > -T > > > -----Original Message----- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED]]On Behalf Of Mark Wolfe > > Sent: Saturday, March 23, 2002 2:38 AM > > To: JBoss Users > > Subject: [JBoss-user] webapp post deployment issue > > > > > > I am trying to get a web app to deploy by dropping webappname.war into > > the deploy directory of jboss and i get the following error. > > > > It seems that if i go to http://localhost:8080/webappname/ i get a list > > of files. If i then click on one of the html file links it throws the > > following. It is interesting to note that the path to the selected file > > is http://localhost:8080/webappname//file.html. > > > > Any idea why this could be occuring?? > > > > This is the first time i used JBoss for web apps so hopefully i have not > > stuffed up tooo bad :) > > > > Regards, > > > > Mark Wolfe > > > > > > > > SYSTEM INFO > > > > JBOSS_CLASSPATH=;C:\jdk1.3.1_01/lib/tools.jar;run.jar;../lib/crimson.jar > > jboss.home = D:\JBoss\jboss > > Using JAAS LoginConfig: file:/D:/JBoss/jboss/conf/catalina/auth.conf > > JBoss release: JBoss-2.4.4 CVSTag=JBoss_2_4_4 > > JBoss version: 2.4.4.2001-12-29 02:04:40 PST > > Using configuration "catalina" > > [INFO,root] Started Log4jService, > > config=file:/D:/JBoss/jboss/conf/catalina/log4 > > j.properties > > [INFO,Info] Java version: 1.4.0,Sun Microsystems Inc. > > [INFO,Info] Java VM: Java HotSpot(TM) Client VM 1.4.0-b92,Sun > > Microsystems Inc. > > [INFO,Info] System: Windows XP 5.1,x86 > > [INFO,Shutdown] Shutdown hook added > > [INFO,ServiceControl] Initializing 47 MBeans > > > > > > Stack DUMP > > > > > > [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(ErrorDispat > > cherValve.java:280) > > at > > org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispat > > cherValve.java:180) > > at > > org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipel > > ine.java:564) > > at > > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValv > > e.java:170) > > at > > org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipel > > ine.java:564) > > at > > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline. > > java:472) > > at > > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) > > at > > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngine > > Valve.java:163) > > at > > org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipel > > ine.java:566) > > at > > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline. > > java:472) > > at > > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) > > at > > org.apache.catalina.connector.http.HttpProcessor.process(HttpProce > > ssor.java:1011) > > at > > org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor > > .java:1106) > > at java.lang.Thread.run(Thread.java:536) > > > > > > > > _______________________________________________ > > JBoss-user mailing list > > [EMAIL PROTECTED] > > https://lists.sourceforge.net/lists/listinfo/jboss-user > > > > _______________________________________________ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user
18c18 < java %JAXP% -classpath "%JBOSS_CLASSPATH%" org.jboss.Main %1 %2 %3 %4 %5 %6 %7 %8 %9 --- > %JAVA_HOME%\bin\java %JAXP% -classpath "%JBOSS_CLASSPATH%" org.jboss.Main %1 %2 %3 >%4 %5 %6 %7 %8 %9