Hi,
I installed Netbeans6.1 and I have both GF V2 and V3 installed.
I tried creating a simple webservice described in the link :
http://www.netbeans.org/kb/60/websvc/jax-ws.html#Exercise_1,with target server as Glassfish V3 and try to see the wsdl file in the browser using
http://localhost:8080/HelloService/HelloService?wsdl , I am getting the following error in then netbeans console.
**********************
START ERRROR LOG
**********************
INFO: PWC1412: WebModule[/HelloService] ServletContext.log():PWC1409: Marking servlet Hello as unavailable
May 14, 2008 4:00:49 PM org.apache.catalina.core.StandardWrapperValve log
SEVERE: StandardWrapperValve[Hello]: PWC1382: Allocate exception for servlet Hello
java.lang.ClassCastException: com.smi.ws.test.Hello cannot be cast to javax.servlet.Servlet
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1148)
at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:848)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:287)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:218)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:222)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1096)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:166)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1096)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:286)
at com.sun.grizzly.http.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:605)
at com.sun.grizzly.http.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:536)
at com.sun.grizzly.http.DefaultProcessorTask.process(DefaultProcessorTask.java:785)
at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:137)
at com.sun.enterprise.v3.services.impl.HttpProtocolFilter.execute(HttpProtocolFilter.java:129)
at com.sun.enterprise.v3.services.impl.GlassfishProtocolChain.executeProtocolFilter(GlassfishProtocolChain.java:61)
at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:89)
at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:75)
at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:52)
at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:54)
at com.sun.grizzly.util.WorkerThreadImpl.run(WorkerThreadImpl.java:154)
****************************
END ERROR LOG
****************************
But when I repeat the same procedure for Glassfish V2, it just works fine.Can any one throw some light on this.
[Message sent by forum member 'msreekanth' (msreekanth)]
http://forums.java.net/jive/thread.jspa?messageID=274251