Hello all, 

I am using the following web.xml in my web service war: 

<?xml version="1.0"?> 
<!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-name>omutilServlet</servlet-name> 
<servlet-class>omservice.OmutilSoapBindingImpl</servlet-class> 


<servlet-mapping> 
<servlet-name>omutilServlet</servlet-name> 
<url-pattern>/omutilServlet</url-pattern> 
</servlet-mapping> 
</web-app> 

When I first startup jboss 4, my web service is deployed and functions correctly. 
However, if I shutdown jboss and then restart it, the above file gets renamed to 
web.xml.org and jboss replaces it with.. 

<?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-name>omutilServlet</servlet-name> 
org.jboss.webservice.server.ServiceEndpointServletJSE</servlet-class> 
<init-param> 
<param-name>ws4ee-service-name</param-name> 
<param-value>omutilService</param-value> 
</init-param> 

<servlet-mapping> 
<servlet-name>omutilServlet</servlet-name> 
<url-pattern>/omutilServlet</url-pattern> 
</servlet-mapping> 
</web-app> 

As jboss has changed the definition, my webservice no longer loads. Does anyone know 
what is going on? 

Thanks, 

Miles Henderson 


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3853092#3853092

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3853092


-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to