This content has been marked as final.
Show 2 replies
-
1. Re: deploying a web service on jboss 4.0.5
richard_opalka Oct 1, 2007 3:41 AM (in response to trippstowe)Well this is a known bug http://jira.jboss.org/jira/browse/JBWS-1762 :-(
The problem is in your web.xml file which looks like:... <servlet> <servlet-name>Hello</servlet-name> <servlet-class>org.jboss.wsf.stack.jbws.EndpointServlet</servlet-class> <init-param> <param-name>jboss.ws.endpoint</param-name> <param-value>org.jboss.test.ws.jaxrpc.jbws124.HelloJavaBean</param-value> </init-param> </servlet> ...
Change it in the following way and try to redeploy.... <servlet> <servlet-name>Hello</servlet-name> <servlet-class>org.jboss.test.ws.jaxrpc.jbws124.HelloJavaBean</servlet-class> </servlet> ...
If you can use packaged version of wars and ears then use them otherwise you'll face this problem very frequently.
Richard -
2. the problem was my web.xml file was not getting copied over
trippstowe Oct 1, 2007 10:10 AM (in response to trippstowe)it seems that just deploying the class files does not hot deploy the web service. you have to copy over a new web.xml for the web service to get hot deployed.
is there any plans to change this since the web.xml is not required anymore?
thanks
tripp