Amit,

I had exactly the same problem when upgrading from 3.2.4 to 4.1.12.
You need the additional structure

<servlet-mapping>
<servlet-name>InitHostInformation </servlet-name>
<url-pattern>/InitHostInformation </url-pattern>
</servlet-mapping>


in your web.xml

Carsten


Am Mittwoch, 13.11.02, um 13:02 Uhr (Europe/Berlin) schrieb Amit Kumar Samanta:

When I run my application on jakarta-tomcat-3.2.1, it works properly

but when it is run on jakarta-tomcat-4.1.12, the following errors will come.

HTTP Status 404 - /administration/servlet/Login

----------------------------------------------------------------------- ---------

type Status report

message /administration/servlet/Login

description The requested resource (/administration/servlet/Login) is not available.

The sstucture of my web.xml file is

<?xml version="1.0" encoding="ISO-8859-1"?>

<!DOCTYPE web-app
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
"http://java.sun.com/j2ee/dtds/web-app_2_2.dtd";>

<web-app>
<servlet>
<servlet-name>InitHostInformation</servlet-name>
<servlet-class>InitHostInformation</servlet-class>

<init-param>
<param-name>ConnUrl</param-name>
<param-value>jdbc:mysql://NODE18:3306/LearnITy</param-value>
</init-param>
<init-param>
<param-name>nameOrIp</param-name>
<param-value>NODE18:8080/administration</param-value>
</init-param>
<init-param>
<param-name>DBUserID</param-name>
<param-value>root</param-value>
</init-param>
<init-param>
<param-name>DBPassword</param-name>
<param-value></param-value>
</init-param>
<init-param>
<param-name>ResourcePath</param-name>
<param-value>NODE18:8080/administration/servlets/</param-value>
</init-param>
<init-param>
<param-name>AdminPath</param-name>
<param-value>C:\temp</param-value>
</init-param>
<init-param>
<param-name>ServerDocumentPath</param-name>
<param-value>C:\jakarta-tomcat-3.2.1\webapps\Contents\</param-value>
</init-param>
<init-param>
<param-name>Util</param-name>
<param-value>C:\jakarta-tomcat-3.2.1\webapps\administration\servlets</ param-value>
</init-param>
<init-param>
<param-name>ServerDocumentPathEngine</param-name>
<param-value>/Contents/</param-value>
</init-param>
<load-on-startup>
-2147483646
</load-on-startup>
</servlet>

<welcome-file-list>
<welcome-file>login.html</welcome-file>
</welcome-file-list>

</web-app >



What is the remedy.

With thanks and regrads,

Amit

_________________________________________________________________
Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail


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



--
Hannover Medical School 			University of Applied Sciences
Dept. of Hematology and Oncology		Faculty of Information Sciences
Carl-Neuberg-Straße 1				Ricklinger Stadtweg 120
30625 Hannover					30459 Hannover
				http://summit-bmt.fh-hannover.de



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

Reply via email to