Hi Remi,

Thanks for your help, I put a "." as the docBase and then Tomcat seems to startup without a problem.

Thanks for your time,


From: Remy Maucherat <[EMAIL PROTECTED]>
Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]>
To: Tomcat Users List <[EMAIL PROTECTED]>
Subject: Re: tomcat 5 will not start
Date: Sun, 11 Jan 2004 10:17:50 +0100

Anthony Gray wrote:
Hi All,

I've recently unpacked tomcat 5.0.16 and am trying to use it with Apache 2 and the Coyote/JK2 AJP 1.3 connector (on Redhat linux 7.3). When I try to start tomcat using the startup.sh script, it appears to start briefly (I can see Java processes) then all the processes just die. I see the following in the catalina.out :

*********************
Jan 11, 2004 4:10:17 PM org.apache.commons.digester.Digester startElement
SEVERE: Begin event threw exception
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
       at java.lang.String.substring(String.java:1480)
       at java.lang.String.substring(String.java:1447)
.......

Stack traces should at least go up to the first Tomcat class, otherwise, you might as well not give the exception.


*********************
The error appears to be related to the "Coyote/JK2 AJP 1.3 connector" Host sections in my server.xml. When I hash out the "Host" sections in my server.xml Tomcat does not die. Even simple jsp apps in the Host section seem to cause the problem. I've searched google and the archives but have not found anyone with a similar issue.


Previously this was all working for Tomcat 4, if you can think what might be causing this problem please let me know.

I'll list my server.xml below in case you want to view it,

Thanks for your time
Regards
Anthony


Use "." as the docBase.

--
xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
R�my Maucherat
Senior Developer & Consultant
JBoss Group (Europe) S�RL
xxxxxxxxxxxxxxxxxxxxxxxxxxxxx


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]


_________________________________________________________________
Send mobile Christmas cards, download a festive ringtone and win a Motorola E365. Go to: http://ninemsn.com.au/mobilecentral/christmas.asp



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to