TOMCAT error

I have started TOMCAT server. When i test http://172.23.28.40:8080/ 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 http://172.23.28.40:8080/test/test.html it mentions that "The requested resource (/test/ml.html) is not available"

Please advise..

[462 byte] By [anaik100a] at [2007-11-27 4:42:34]
# 1

Well on researching more, i found that i have SEVERE: Error listenerStart. not sure why?

H:\apps\xp\desktop\apache-tomcat-6.0.10\bin>startup.bat

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

\jdk1.5.0_11\bin;.;C:\WINDOWS\system32;C:\WINDOWS;.;C:\CA\DCS\DMS\;C:\CA\DCS\CAW

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

se\ocs-12_5\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\MLTOO

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\

jdk\bin;C:\PROGRA~1\Oracle\ora92\jdbc;C:\PROGRA~1\IBM\SQLLIB\BIN;C:\PROGRA~1\IBM

\SQLLIB\FUNCTION;C:\PROGRA~1\IBM\SQLLIB\SAMPLES\REPL;C:\Program Files\Hummingbir

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 /0.0.0.0:8009

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

anaik100a at 2007-7-12 9:54:08 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2
You should put your test.jsp in ROOT. Or in this case, in ROOT/Test.
Nidhuggura at 2007-7-12 9:54:08 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 3

My guess is the server.xml file is not being parsed correctly.

By default you shouldn't have to edit the server.xml file at all.

Just putting a directory into the "webapps" directory, with a WEB-INF/web.xml should be sufficient to deploy a webapp.

Your requested url, and the requested resource message didn't quite match.

How would test.html get translated to ml.html?

evnafetsa at 2007-7-12 9:54:08 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...