You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by George A <do...@yahoo.com> on 2004/10/18 07:34:13 UTC

[tomcat] tomcat not running

hello all,
            i hope i have posted to the correct lists : ( . i am first time user to tdk. my tomcat is not running. i am using tdk 2.3. my question is:
 
when all applications from webapps folder are deleted following messages come when i click on startup.bat
 
Oct 18, 2004 10:33:42 AM org.apache.commons.modeler.Registry loadRegistry
INFO: Loading registry information
Oct 18, 2004 10:33:42 AM org.apache.commons.modeler.Registry getRegistry
INFO: Creating new Registry instance
Oct 18, 2004 10:33:42 AM org.apache.commons.modeler.Registry getServer
INFO: Creating MBeanServer
Oct 18, 2004 10:33:43 AM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on port 8080
Starting service Tomcat-Standalone
Apache Tomcat/4.1.27-LE-jdk14
Oct 18, 2004 10:33:43 AM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on port 8080
Oct 18, 2004 10:33:43 AM org.apache.jk.common.ChannelSocket init
INFO: JK2: ajp13 listening on /0.0.0.0:8009
Oct 18, 2004 10:33:43 AM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/15  config=E:\software\TDK_2.3\conf\jk2.properties

and in the browser when i type http://localhost:8080 then Http Status 500 error comes.
 
 
and when i shut it down and create an application then following error comes on clicking startup :
WebappClassLoader: 
validateJarFile(E:\software\TDK_2.3\webapps\appl1\WEB-INF\lib\servlet.jar) - jar not loaded. 
See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
log4j:ERROR setFile(null,false) call failed.
java.io.FileNotFoundException: \logs\turbine.log (The system cannot find the path specified)
.................and a big list of errors and exceptions ........................
 
[INFO] Turbine - -Turbine: init() Ready to Rumble!
Oct 18, 2004 10:45:34 AM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on port 8080
Oct 18, 2004 10:45:34 AM org.apache.jk.common.ChannelSocket init
INFO: JK2: ajp13 listening on /0.0.0.0:8009
Oct 18, 2004 10:45:34 AM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/47  config=E:\software\TDK_2.3\conf\jk2.proper
 
and in browser again i get : Http Status 500 error .
 
my directory structure is:
 
webapps
-appl1
-WEB-INF
-build
-classes
-conf
-db
-lib
-src
ummm, this can be a very primary question to most of you over there. so it might sound silly to you : ) .but i just joined this mailing list with a hope to get some answer. any answers are welcome : ) .
thanks a lot,
bye,
george.
 


---------------------------------
  Yahoo! Messenger - Communicate instantly..."Ping" your friends today! Download Messenger Now

Re: [tomcat] tomcat not running

Posted by Sven Kuncikowski <ku...@evamann.de>.
hi,
i'm not familiar with the tdk, but this error with the servlet.jar is no 
  big problem, it just says that it didn't copy the lib, due to the 
servlet spec 2.3.
tomcat uses his own servlet.jar in /tomcat/common/lib/servlet.jar

you're deploying with maven or ant?

when you undeploy, do you do it when tomcat is running?
if so, you have a windows specific problem of file handling!
tomcat isn't able to delete the logs file because of a file lock,
that windows doesen't release!

can you post your *.properties files?

greetz
sven kuncikowski

George A wrote:
>...
>  
> and when i shut it down and create an application then following error comes on clicking startup :
> WebappClassLoader: 
> validateJarFile(E:\software\TDK_2.3\webapps\appl1\WEB-INF\lib\servlet.jar) - jar not loaded. 
> See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
> log4j:ERROR setFile(null,false) call failed.
> java.io.FileNotFoundException: \logs\turbine.log (The system cannot find the path specified)
> .................and a big list of errors and exceptions ........................
>  


Re: [tomcat] tomcat not running

Posted by George A <do...@yahoo.com>.

Antony Paul <an...@gmail.com> wrote:
I know nothing about Turbine and it is Tomcat list. You can better ask
it at Turbine list. 

yes : ) , it is a tomcat list , uhh , and was it that since i am using tomcat i need to ask on tomcat ? uhh ok , i thought it's related to tomcat basically so i sent the mail to tomcat list also : ( . sorry about that ten i should say .

But on seeing the error message I can give you a
checklist.
What the application contains. 
Does application have an index.jsp.

yes, it does have index.jsp at the location :

E:\software\TDK_2.3\webapps\app1\templates\jsp\screens
Does application have a web.xml in WEB-INF directory. 


yes, it does have.

Does this contains servlet.jar in WEB-INF\lib ? This jar is not needed there.

yes it does contain.

Also go to Tomcat installation directory. There will be one webapps
directory. Check it contains a ROOT folder.


it doesnt contain a folder called ROOT but it does have following folders :

bin,common,conf,logsserver,tdk,temp,webapps,work


rgds
Antony Paul


On Mon, 18 Oct 2004 06:34:13 +0100 (BST), George A
wrote:
> hello all,
> i hope i have posted to the correct lists : ( . i am first time user to tdk. my tomcat is not running. i am using tdk 2.3. my question is:
> 
> when all applications from webapps folder are deleted following messages come when i click on startup.bat
> 
> Oct 18, 2004 10:33:42 AM org.apache.commons.modeler.Registry loadRegistry
> INFO: Loading registry information
> Oct 18, 2004 10:33:42 AM org.apache.commons.modeler.Registry getRegistry
> INFO: Creating new Registry instance
> Oct 18, 2004 10:33:42 AM org.apache.commons.modeler.Registry getServer
> INFO: Creating MBeanServer
> Oct 18, 2004 10:33:43 AM org.apache.coyote.http11.Http11Protocol init
> INFO: Initializing Coyote HTTP/1.1 on port 8080
> Starting service Tomcat-Standalone
> Apache Tomcat/4.1.27-LE-jdk14
> Oct 18, 2004 10:33:43 AM org.apache.coyote.http11.Http11Protocol start
> INFO: Starting Coyote HTTP/1.1 on port 8080
> Oct 18, 2004 10:33:43 AM org.apache.jk.common.ChannelSocket init
> INFO: JK2: ajp13 listening on /0.0.0.0:8009
> Oct 18, 2004 10:33:43 AM org.apache.jk.server.JkMain start
> INFO: Jk running ID=0 time=0/15 config=E:\software\TDK_2.3\conf\jk2.properties
> 
> and in the browser when i type http://localhost:8080 then Http Status 500 error comes.
> 
> and when i shut it down and create an application then following error comes on clicking startup :
> WebappClassLoader:
> validateJarFile(E:\software\TDK_2.3\webapps\appl1\WEB-INF\lib\servlet.jar) - jar not loaded.
> See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
> log4j:ERROR setFile(null,false) call failed.
> java.io.FileNotFoundException: \logs\turbine.log (The system cannot find the path specified)
> .................and a big list of errors and exceptions ........................
> 
> [INFO] Turbine - -Turbine: init() Ready to Rumble!
> Oct 18, 2004 10:45:34 AM org.apache.coyote.http11.Http11Protocol start
> INFO: Starting Coyote HTTP/1.1 on port 8080
> Oct 18, 2004 10:45:34 AM org.apache.jk.common.ChannelSocket init
> INFO: JK2: ajp13 listening on /0.0.0.0:8009
> Oct 18, 2004 10:45:34 AM org.apache.jk.server.JkMain start
> INFO: Jk running ID=0 time=0/47 config=E:\software\TDK_2.3\conf\jk2.proper
> 
> and in browser again i get : Http Status 500 error .
> 
> my directory structure is:
> 
> webapps
> -appl1
> -WEB-INF
> -build
> -classes
> -conf
> -db
> -lib
> -src
> ummm, this can be a very primary question to most of you over there. so it might sound silly to you : ) .but i just joined this mailing list with a hope to get some answer. any answers are welcome : ) .
> thanks a lot,
> bye,
> george.
> 
> 
> ---------------------------------
> Yahoo! Messenger - Communicate instantly..."Ping" your friends today! Download Messenger Now
>

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org





---------------------------------
  Yahoo! Messenger - Communicate instantly..."Ping" your friends today! Download Messenger Now

Re: [tomcat] tomcat not running

Posted by Antony Paul <an...@gmail.com>.
I know nothing about Turbine and it is Tomcat list. You can better ask
it at Turbine list. But on seeing the error message I can give you a
checklist.
What the application contains. 
Does application have an index.jsp.
Does application have a web.xml in WEB-INF directory. 
Does this contains servlet.jar in WEB-INF\lib ? This jar is not needed there.

Also go to Tomcat installation directory. There will be one webapps
directory. Check it contains a ROOT folder.

rgds
Antony Paul


On Mon, 18 Oct 2004 06:34:13 +0100 (BST), George A
<do...@yahoo.com> wrote:
> hello all,
>            i hope i have posted to the correct lists : ( . i am first time user to tdk. my tomcat is not running. i am using tdk 2.3. my question is:
> 
> when all applications from webapps folder are deleted following messages come when i click on startup.bat
> 
> Oct 18, 2004 10:33:42 AM org.apache.commons.modeler.Registry loadRegistry
> INFO: Loading registry information
> Oct 18, 2004 10:33:42 AM org.apache.commons.modeler.Registry getRegistry
> INFO: Creating new Registry instance
> Oct 18, 2004 10:33:42 AM org.apache.commons.modeler.Registry getServer
> INFO: Creating MBeanServer
> Oct 18, 2004 10:33:43 AM org.apache.coyote.http11.Http11Protocol init
> INFO: Initializing Coyote HTTP/1.1 on port 8080
> Starting service Tomcat-Standalone
> Apache Tomcat/4.1.27-LE-jdk14
> Oct 18, 2004 10:33:43 AM org.apache.coyote.http11.Http11Protocol start
> INFO: Starting Coyote HTTP/1.1 on port 8080
> Oct 18, 2004 10:33:43 AM org.apache.jk.common.ChannelSocket init
> INFO: JK2: ajp13 listening on /0.0.0.0:8009
> Oct 18, 2004 10:33:43 AM org.apache.jk.server.JkMain start
> INFO: Jk running ID=0 time=0/15  config=E:\software\TDK_2.3\conf\jk2.properties
> 
> and in the browser when i type http://localhost:8080 then Http Status 500 error comes.
> 
> and when i shut it down and create an application then following error comes on clicking startup :
> WebappClassLoader:
> validateJarFile(E:\software\TDK_2.3\webapps\appl1\WEB-INF\lib\servlet.jar) - jar not loaded.
> See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
> log4j:ERROR setFile(null,false) call failed.
> java.io.FileNotFoundException: \logs\turbine.log (The system cannot find the path specified)
> .................and a big list of errors and exceptions ........................
> 
> [INFO] Turbine - -Turbine: init() Ready to Rumble!
> Oct 18, 2004 10:45:34 AM org.apache.coyote.http11.Http11Protocol start
> INFO: Starting Coyote HTTP/1.1 on port 8080
> Oct 18, 2004 10:45:34 AM org.apache.jk.common.ChannelSocket init
> INFO: JK2: ajp13 listening on /0.0.0.0:8009
> Oct 18, 2004 10:45:34 AM org.apache.jk.server.JkMain start
> INFO: Jk running ID=0 time=0/47  config=E:\software\TDK_2.3\conf\jk2.proper
> 
> and in browser again i get : Http Status 500 error .
> 
> my directory structure is:
> 
> webapps
> -appl1
> -WEB-INF
> -build
> -classes
> -conf
> -db
> -lib
> -src
> ummm, this can be a very primary question to most of you over there. so it might sound silly to you : ) .but i just joined this mailing list with a hope to get some answer. any answers are welcome : ) .
> thanks a lot,
> bye,
> george.
> 
> 
> ---------------------------------
>  Yahoo! Messenger - Communicate instantly..."Ping" your friends today! Download Messenger Now
>

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org