Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

servlet deployed, but Tomcat provides .war file for download only

Christian Ruediger

2004-10-04

Replies:

Hi folks,

i have deployed a .war file, but Tomcat doesen't execute the servlet.
Instead he provides the deployed war file for download.
I have tried the deployment procedure by ANT task, by startup with war file.
I also tried the manager web frontend.

The manager shows me the option to start the app, but when clicking the link
the page is reloaded but the state of the app is still shown as inactive.

The error.log is empty

The log of tomcat shows the following after depoyment

2004-10-04 16:27:42 StandardContext[/manager]HTMLManager: start:
Starting web application at '/LocasugeGSM-0.1-dev'
2004-10-04 16:27:42 StandardContext[/manager]HTMLManager: list:
Listing contexts for virtual host 'localhost'

Regards
Christian Ruediger

Here is the deployment descriptor:

<?xml version="1.0" encoding="ISO-8859-1" ?>
<web-app xmlns="http://java.sun.com/xml/ns/j2ee"
 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
 xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
 http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" version="2.4">

<display-name>Testservlet</display-name>
<servlet>
 <servlet-name>RpcServlet</servlet-name>
 <servlet-class>testserveur.RpcServlet</servlet-class>
</servlet>
<servlet-mapping>
 <servlet-name>RpcServlet</servlet-name>
 <url-pattern>/servlet/RpcServlet</url-pattern>
</servlet-mapping>
</web-app>

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.