[jboss-user] [JBossWS] - Re: deploying a web service on jboss 4.0.5

richard_opalka do-not-reply at jboss.com
Mon Oct 1 03:41:14 EDT 2007


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

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

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



More information about the jboss-user mailing list