hello,
my config is:
tomcat 5.5.9
jdk 6
linux ubuntu
eclipse 3.2
ant 1.7.0
i write a build.xml file to build and deploy my war. (compilation OK and
deployment on the server OK)
but, when i try to start it, it starts but when i try to access to it,
i'm only seeing the list of the apps prrsents in the webapps folder !
i installed lambda probe on tomcat to see what's going on and:
web.xml is not load. the log file is:
4 avr. 2008 13:33:01 org.apache.catalina.startup.ContextConfig
applicationWebConfig
INFO: Le fichier web.xml de l'application est absent, utilisation des
paramĂȘtres par dĂ©faut
StandardEngine[Catalina].StandardHost[localhost].StandardContext[/<myapp>]
it's in french so i will translate the message ( :-) ):
" application web.xml file is not present, using default parameters
StandardEngine[Catalina].StandardHost[localhost].StandardContext[/<myapp>]"
i don't understand because the web.xml is in the war file !!
the web.xml file looks like this one:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE web-app PUBLIC '-//Sun Microsystems, Inc.//DTD Web Application
2.3//EN' 'http://java.sun.com/dtd/web-app_2_3.dtd'>
<web-app>
<servlet>
<servlet-name>action</servlet-name>
<servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
<init-param>
<param-name>config</param-name>
<param-value>/WEB-INF/struts-config.xml</param-value>
</init-param>
<init-param>
<param-name>debug</param-name>
<param-value>2</param-value>
</init-param>
<init-param>
<param-name>detail</param-name>
<param-value>2</param-value>
</init-param>
<load-on-startup>2</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>action</servlet-name>
<url-pattern>*.do</url-pattern>
</servlet-mapping>
<taglib>
<!-- != taglibs... -->
</taglib>
<!-- resource -->
<resource-ref>
<description>dbpool</description>
<res-ref-name>jdbc/library</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
</resource-ref>
</web-app>
the context.xml is in the META-INF folder and probe can see it but
cannot see the web.xml file !!!
i dont understand why i cannot deploy this application !!!
what i did wrong???
regards
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]