servlet not launched? [message #131480] |
Wed, 10 August 2005 04:46 |
Eclipse User |
|
|
|
Originally posted by: degenaro.us.ibm.com
I'm sure this is a dumb user error, but here's my situation. All was well
under eclipse 3.1M5 + Tomcat. Now I'm trying to move to 3.1 all-in-one
final. I have a web.xml file shown below. Under 3.1M5, Myapp is loaded
on startup as expected. Under 3.1 final it does not seem to start. What
might I be doing wrong?
I've copied the needed jar files to /lib. I see no Myapp startup messages
or any error messages on console.
Thanks.
Lou.
<?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 id="WebApp_ID">
<display-name>myapp.webServer</display-name>
<servlet>
<servlet-name>Myapp</servlet-name>
<servlet-class>com.ibm.myapp.runtime.MyServlet</servlet-class >
<init-param>
<param-name>properties</param-name>
<param-value> C:/eclipse-3.1/eclipse/workspace/myapp.webServer/WebContent/ WEB-INF/config/myapp.properties </param-value>
</init-param>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>Myapp</servlet-name>
<url-pattern>/Myapp/*</url-pattern>
</servlet-mapping>
<welcome-file-list>
<welcome-file>index.html</welcome-file>
<welcome-file>index.htm</welcome-file>
<welcome-file>index.jsp</welcome-file>
<welcome-file>default.html</welcome-file>
<welcome-file>default.htm</welcome-file>
<welcome-file>default.jsp</welcome-file>
</welcome-file-list>
</web-app>
|
|
|
Powered by
FUDForum. Page generated in 0.04263 seconds