7 Replies Latest reply on Jan 11, 2008 7:12 PM by Alessio Soldano

    web service endpoint dissappeared after restart

    Huj Weng Newbie

      Hi,

      I have developed a web service and tested which worked fine.
      A weird situation: after I restarted jboss I do not see my service in jbossws console. When I try to invoke the service I get this error:

      2007-07-19 14:22:55,610 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/].[RemoteSearch]] Servlet.service() for
       servlet RemoteSearch threw exception
      javax.xml.ws.WebServiceException: Cannot obtain endpoint for: jboss.ws:context=,endpoint=RemoteSearch
       at org.jboss.wsf.spi.invocation.EndpointServlet.initServiceEndpoint(EndpointServlet.java:103)
       at org.jboss.wsf.stack.jbws.ServiceEndpointServlet.initServiceEndpoint(ServiceEndpointServlet.java:49)
       at org.jboss.wsf.spi.invocation.EndpointServlet.service(EndpointServlet.java:65)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
       at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
       at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
       at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
       at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
       at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)
       at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
       at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
       at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
       at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
       at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
       at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
       at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
       at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:580)
       at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
       at java.lang.Thread.run(Thread.java:619)
      


      I am using jbossws2.0, jboss-4.2.0 with jdk.1.6 on linux.

      I have done the steps to use jboss ws with jdk1.6.