File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Tomcat and the fly likes TOMCAT error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "TOMCAT error" Watch "TOMCAT error" New topic

TOMCAT error

Amar Naik
Ranch Hand

Joined: Sep 26, 2003
Posts: 43
I have started TOMCAT server. When i test the Tomcat home page is displayed. i have created a new directory in webapps called test. In server.xml i have added <Context path="/test" docBase="test" debug="1" reloadable="true"/>
and restarted the server.

but when i put in URL it mentions that "The requested resource (/test/ml.html) is not available"

Please advise..
Amar Naik
Ranch Hand

Joined: Sep 26, 2003
Posts: 43
Well on researching more, i found that i have SEVERE: Error listenerStart. not sure why?

Using CATALINA_BASE: H:\apps\xp\desktop\apache-tomcat-6.0.10
Using CATALINA_HOME: H:\apps\xp\desktop\apache-tomcat-6.0.10
Using CATALINA_TMPDIR: H:\apps\xp\desktop\apache-tomcat-6.0.10\temp
Using JRE_HOME: C:\Program Files\Java\jdk1.5.0_11
May 17, 2007 10:47:23 AM org.apache.catalina.core.AprLifecycleListener init
INFO: The Apache Tomcat Native library which allows optimal performance in produ
ction environments was not found on the java.library.path: C:\Program Files\Java
IN\;C:\Program Files\Sybase\OLEDB;C:\Program Files\Sybase\odbc;C:\Program Files\
Sybase\ocs-12_5\dll;C:\Program Files\Sybase\OCS-12_5\lib3p;C:\Program Files\Syba
LS\;C:\SERVICES\TOOLS\;C:\Program Files\Oracle\ora92\bin;C:\Program Files\Oracle
\jre\1.3.1\bin\;C:\Program Files\Oracle\jre\1.1.8\bin;C:\CA\USD\BIN;C:\Program F
iles\Oracle\ora92\NET80\BIN;C:\Program Files\Attachmate\E!E2K\;C:\Sun\AppServer\
d\Connectivity\11.00\Accessories\;;C:\Program Files\Softricity\SoftGrid for Wind
ows Desktops;C:\Program Files\Java\jdk1.5.0_11\bin
May 17, 2007 10:47:27 AM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
May 17, 2007 10:47:27 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 28092 ms
May 17, 2007 10:47:32 AM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
May 17, 2007 10:47:34 AM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.10
May 17, 2007 10:49:38 AM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
May 17, 2007 10:49:38 AM org.apache.catalina.core.StandardContext start
SEVERE: Context [/test] startup failed due to previous errors
May 17, 2007 10:53:26 AM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
May 17, 2007 10:53:29 AM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /
May 17, 2007 10:53:31 AM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/2921 config=null
May 17, 2007 10:53:31 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 363448 ms
I agree. Here's the link:
subject: TOMCAT error
It's not a secret anymore!