jax-ws
  1. jax-ws
  2. JAX_WS-798

Webservice client not working with latest metro bits.

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Critical Critical
    • Resolution: Won't Fix
    • Affects Version/s: 2.2
    • Fix Version/s: 2.2
    • Component/s: runtime
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Issuezilla Id:
      798

      Description

      Hi,

      I have create a simple webservice and a client for it using NB 6.7.1.When I try
      to deploy and run the client , I see the below exception.

      Here are the steps to reproduce:

      • Install NB
      • Install GF v2.1.1
      • Install Metro Latest bits
      • Create a Web Service sample to use Mutual Certificate Security.
      • Deploy it.
      • Create a client
      • Deploy the Client and then Run it.

      This is working fine with WSIT promoted build 19 and before.With promoted build
      20 and latest nightly builds, I am seeing this issue.

      Exception:
      ==========
      Class must be annotated with a interface javax.xml.ws.WebServiceClient annotation
      symbol : interface javax.xml.ws.WebServiceClient
      location: class simple.server.IPingServiceService
      Annotations processing failed for
      /home/sreekanth/NetBeansProjects/SimpleAppClient/build/web
      deployed with moduleid = SimpleAppClient
      naming.bind
      java.lang.reflect.InvocationTargetException
      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      at
      sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
      at
      sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
      at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
      at
      com.sun.enterprise.naming.NamingManagerImpl.initiateInstance(NamingManagerImpl.java:1128)
      at
      com.sun.enterprise.naming.NamingManagerImpl.getClientServiceObject(NamingManagerImpl.java:1208)
      at
      com.sun.enterprise.naming.NamingManagerImpl.lookup(NamingManagerImpl.java:1033)
      at
      com.sun.enterprise.naming.java.javaURLContext.lookup(javaURLContext.java:173)
      at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:407)
      at javax.naming.InitialContext.lookup(InitialContext.java:392)
      at
      com.sun.enterprise.util.InjectionManagerImpl._inject(InjectionManagerImpl.java:287)
      at
      com.sun.enterprise.util.InjectionManagerImpl.inject(InjectionManagerImpl.java:206)
      at
      com.sun.enterprise.util.InjectionManagerImpl.injectInstance(InjectionManagerImpl.java:117)
      at
      com.sun.web.server.J2EEInstanceListener.handleBeforeEvent(J2EEInstanceListener.java:259)
      at
      com.sun.web.server.J2EEInstanceListener.instanceEvent(J2EEInstanceListener.java:119)
      at
      org.apache.catalina.util.InstanceSupport.fireInstanceEvent(InstanceSupport.java:347)
      at
      org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1085)
      at
      org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:848)
      at
      org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
      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 com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)
      at
      com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:98)
      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:1093)
      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:1093)
      at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:291)
      at
      com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:666)
      at
      com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:597)
      at
      com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:872)
      at
      com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:341)
      at
      com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:263)
      at
      com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:214)
      at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:264)
      at
      com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106)
      Caused by: javax.xml.ws.WebServiceException: null is not a valid service
      at
      com.sun.xml.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:190)
      at
      com.sun.xml.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:178)
      at
      com.sun.xml.ws.spi.ProviderImpl.createServiceDelegate(ProviderImpl.java:106)
      at javax.xml.ws.Service.<init>(Service.java:57)
      at simple.server.IPingServiceService.<init>(IPingServiceService.java:58)
      ... 44 more
      WebModule[/SimpleAppClient]StandardWrapper.Throwable
      java.lang.RuntimeException: WEB5002: Exception in handleBeforeEvent.
      at
      com.sun.web.server.J2EEInstanceListener.handleBeforeEvent(J2EEInstanceListener.java:263)
      at
      com.sun.web.server.J2EEInstanceListener.instanceEvent(J2EEInstanceListener.java:119)
      at
      org.apache.catalina.util.InstanceSupport.fireInstanceEvent(InstanceSupport.java:347)
      at
      org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1085)
      at
      org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:848)
      at
      org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
      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 com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)
      at
      com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:98)
      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:1093)
      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:1093)
      at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:291)
      at
      com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:666)
      at
      com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:597)
      at
      com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:872)
      at
      com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:341)
      at
      com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:263)
      at
      com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:214)
      at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:264)
      at
      com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106)
      Caused by: com.sun.enterprise.InjectionException: Exception attempting to inject
      Env-Prop: simple.client.NewServlet/service@Field-Injectable Resource. Class name
      = simple.client.NewServlet Field name=service@javax.jws.WebServiceRef@@@ into
      class simple.client.NewServlet
      at
      com.sun.enterprise.util.InjectionManagerImpl._inject(InjectionManagerImpl.java:387)
      at
      com.sun.enterprise.util.InjectionManagerImpl.inject(InjectionManagerImpl.java:206)
      at
      com.sun.enterprise.util.InjectionManagerImpl.injectInstance(InjectionManagerImpl.java:117)
      at
      com.sun.web.server.J2EEInstanceListener.handleBeforeEvent(J2EEInstanceListener.java:259)
      ... 30 more
      Caused by: javax.naming.NamingException [Root exception is
      java.lang.reflect.InvocationTargetException]
      at
      com.sun.enterprise.naming.NamingManagerImpl.getClientServiceObject(NamingManagerImpl.java:1291)
      at
      com.sun.enterprise.naming.NamingManagerImpl.lookup(NamingManagerImpl.java:1033)
      at
      com.sun.enterprise.naming.java.javaURLContext.lookup(javaURLContext.java:173)
      at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:407)
      at javax.naming.InitialContext.lookup(InitialContext.java:392)
      at
      com.sun.enterprise.util.InjectionManagerImpl._inject(InjectionManagerImpl.java:287)
      ... 33 more
      Caused by: java.lang.reflect.InvocationTargetException
      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      at
      sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
      at
      sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
      at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
      at
      com.sun.enterprise.naming.NamingManagerImpl.initiateInstance(NamingManagerImpl.java:1128)
      at
      com.sun.enterprise.naming.NamingManagerImpl.getClientServiceObject(NamingManagerImpl.java:1208)
      ... 38 more
      Caused by: javax.xml.ws.WebServiceException: null is not a valid service
      at
      com.sun.xml.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:190)
      at
      com.sun.xml.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:178)
      at
      com.sun.xml.ws.spi.ProviderImpl.createServiceDelegate(ProviderImpl.java:106)
      at javax.xml.ws.Service.<init>(Service.java:57)
      at simple.server.IPingServiceService.<init>(IPingServiceService.java:58)
      ... 44 more
      StandardWrapperValve[NewServlet]: PWC1382: Allocate exception for servlet NewServlet
      java.lang.RuntimeException: WEB5002: Exception in handleBeforeEvent.
      at
      com.sun.web.server.J2EEInstanceListener.handleBeforeEvent(J2EEInstanceListener.java:263)
      at
      com.sun.web.server.J2EEInstanceListener.instanceEvent(J2EEInstanceListener.java:119)
      at
      org.apache.catalina.util.InstanceSupport.fireInstanceEvent(InstanceSupport.java:347)
      at
      org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1085)
      at
      org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:848)
      at
      org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
      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 com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)
      at
      com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:98)
      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:1093)
      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:1093)
      at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:291)
      at
      com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:666)
      at
      com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:597)
      at
      com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:872)
      at
      com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:341)
      at
      com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:263)
      at
      com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:214)
      at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:264)
      at
      com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106)
      Caused by: com.sun.enterprise.InjectionException: Exception attempting to inject
      Env-Prop: simple.client.NewServlet/service@Field-Injectable Resource. Class name
      = simple.client.NewServlet Field name=service@javax.jws.WebServiceRef@@@ into
      class simple.client.NewServlet
      at
      com.sun.enterprise.util.InjectionManagerImpl._inject(InjectionManagerImpl.java:387)
      at
      com.sun.enterprise.util.InjectionManagerImpl.inject(InjectionManagerImpl.java:206)
      at
      com.sun.enterprise.util.InjectionManagerImpl.injectInstance(InjectionManagerImpl.java:117)
      at
      com.sun.web.server.J2EEInstanceListener.handleBeforeEvent(J2EEInstanceListener.java:259)
      ... 30 more
      Caused by: javax.naming.NamingException [Root exception is
      java.lang.reflect.InvocationTargetException]
      at
      com.sun.enterprise.naming.NamingManagerImpl.getClientServiceObject(NamingManagerImpl.java:1291)
      at
      com.sun.enterprise.naming.NamingManagerImpl.lookup(NamingManagerImpl.java:1033)
      at
      com.sun.enterprise.naming.java.javaURLContext.lookup(javaURLContext.java:173)
      at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:407)
      at javax.naming.InitialContext.lookup(InitialContext.java:392)
      at
      com.sun.enterprise.util.InjectionManagerImpl._inject(InjectionManagerImpl.java:287)
      ... 33 more
      Caused by: java.lang.reflect.InvocationTargetException
      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      at
      sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
      at
      sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
      at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
      at
      com.sun.enterprise.naming.NamingManagerImpl.initiateInstance(NamingManagerImpl.java:1128)
      at
      com.sun.enterprise.naming.NamingManagerImpl.getClientServiceObject(NamingManagerImpl.java:1208)
      ... 38 more
      Caused by: javax.xml.ws.WebServiceException: null is not a valid service
      at
      com.sun.xml.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:190)
      at
      com.sun.xml.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:178)
      at
      com.sun.xml.ws.spi.ProviderImpl.createServiceDelegate(ProviderImpl.java:106)
      at javax.xml.ws.Service.<init>(Service.java:57)
      at simple.server.IPingServiceService.<init>(IPingServiceService.java:58)
      ... 44 more

        Activity

        Hide
        jitu added a comment -

        Assigning this to Bhakti.

        Show
        jitu added a comment - Assigning this to Bhakti.
        Hide
        bhaktimehta added a comment -

        This is not a P1 as we have numerous devtests and cts working and we have not
        seen regressions there.
        Please can you attach your war ,client ,nb project etc It will be easier for me
        to reproduce that way

        Show
        bhaktimehta added a comment - This is not a P1 as we have numerous devtests and cts working and we have not seen regressions there. Please can you attach your war ,client ,nb project etc It will be easier for me to reproduce that way
        Hide
        bhaktimehta added a comment -

        I think the problem is already fixed in the latest nigthly.
        JAXWS 2.2 introduced WebserviceRef.value to default to Service and I took care
        of those changes on sept 22
        So wait for the next nightly (since I see on dev@glassfish that sept 23 nightly
        has startup issues) and run the tests

        Show
        bhaktimehta added a comment - I think the problem is already fixed in the latest nigthly. JAXWS 2.2 introduced WebserviceRef.value to default to Service and I took care of those changes on sept 22 So wait for the next nightly (since I see on dev@glassfish that sept 23 nightly has startup issues) and run the tests
        Hide
        msreekanth added a comment -

        I just downloaded latest metro build and installed it.I just ran a webservice
        client program and I still see the same error.So reopening the issue.

        Exception:
        ==========

        Annotations processing failed for
        /home/sreekanth/NetBeansProjects/SimpleAppClient/build/web
        deployed with moduleid = SimpleAppClient
        naming.bind
        java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at
        sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
        at
        sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
        at
        com.sun.enterprise.naming.NamingManagerImpl.initiateInstance(NamingManagerImpl.java:1128)
        at
        com.sun.enterprise.naming.NamingManagerImpl.getClientServiceObject(NamingManagerImpl.java:1208)
        at
        com.sun.enterprise.naming.NamingManagerImpl.lookup(NamingManagerImpl.java:1033)
        at
        com.sun.enterprise.naming.java.javaURLContext.lookup(javaURLContext.java:173)
        at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:407)
        at javax.naming.InitialContext.lookup(InitialContext.java:392)
        at
        com.sun.enterprise.util.InjectionManagerImpl._inject(InjectionManagerImpl.java:287)
        at
        com.sun.enterprise.util.InjectionManagerImpl.inject(InjectionManagerImpl.java:206)
        at
        com.sun.enterprise.util.InjectionManagerImpl.injectInstance(InjectionManagerImpl.java:117)
        at
        com.sun.web.server.J2EEInstanceListener.handleBeforeEvent(J2EEInstanceListener.java:259)
        at
        com.sun.web.server.J2EEInstanceListener.instanceEvent(J2EEInstanceListener.java:119)
        at
        org.apache.catalina.util.InstanceSupport.fireInstanceEvent(InstanceSupport.java:347)
        at
        org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1085)
        at
        org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:848)
        at
        org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
        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 com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)
        at
        com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:98)
        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:1093)
        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:1093)
        at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:291)
        at
        com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:666)
        at
        com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:597)
        at
        com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:872)
        at
        com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:341)
        at
        com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:263)
        at
        com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:214)
        at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:264)
        at
        com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106)
        Caused by: javax.xml.ws.WebServiceException: null is not a valid service
        at
        com.sun.xml.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:190)
        at
        com.sun.xml.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:178)
        at
        com.sun.xml.ws.spi.ProviderImpl.createServiceDelegate(ProviderImpl.java:106)
        at javax.xml.ws.Service.<init>(Service.java:57)
        at simple.server.IPingServiceService.<init>(IPingServiceService.java:58)
        ... 44 more
        WebModule[/SimpleAppClient]StandardWrapper.Throwable
        java.lang.RuntimeException: WEB5002: Exception in handleBeforeEvent.
        at
        com.sun.web.server.J2EEInstanceListener.handleBeforeEvent(J2EEInstanceListener.java:263)
        at
        com.sun.web.server.J2EEInstanceListener.instanceEvent(J2EEInstanceListener.java:119)
        at
        org.apache.catalina.util.InstanceSupport.fireInstanceEvent(InstanceSupport.java:347)
        at
        org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1085)
        at
        org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:848)
        at
        org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
        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 com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)
        at
        com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:98)
        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:1093)
        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:1093)
        at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:291)
        at
        com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:666)
        at
        com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:597)
        at
        com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:872)
        at
        com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:341)
        at
        com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:263)
        at
        com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:214)
        at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:264)
        at
        com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106)
        Caused by: com.sun.enterprise.InjectionException: Exception attempting to inject
        Env-Prop: simple.client.NewServlet/service@Field-Injectable Resource. Class name
        = simple.client.NewServlet Field name=service@javax.jws.WebServiceRef@@@ into
        class simple.client.NewServlet
        at
        com.sun.enterprise.util.InjectionManagerImpl._inject(InjectionManagerImpl.java:387)
        at
        com.sun.enterprise.util.InjectionManagerImpl.inject(InjectionManagerImpl.java:206)
        at
        com.sun.enterprise.util.InjectionManagerImpl.injectInstance(InjectionManagerImpl.java:117)
        at
        com.sun.web.server.J2EEInstanceListener.handleBeforeEvent(J2EEInstanceListener.java:259)
        ... 30 more
        Caused by: javax.naming.NamingException [Root exception is
        java.lang.reflect.InvocationTargetException]
        at
        com.sun.enterprise.naming.NamingManagerImpl.getClientServiceObject(NamingManagerImpl.java:1291)
        at
        com.sun.enterprise.naming.NamingManagerImpl.lookup(NamingManagerImpl.java:1033)
        at
        com.sun.enterprise.naming.java.javaURLContext.lookup(javaURLContext.java:173)
        at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:407)
        at javax.naming.InitialContext.lookup(InitialContext.java:392)
        at
        com.sun.enterprise.util.InjectionManagerImpl._inject(InjectionManagerImpl.java:287)
        ... 33 more
        Caused by: java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at
        sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
        at
        sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
        at
        com.sun.enterprise.naming.NamingManagerImpl.initiateInstance(NamingManagerImpl.java:1128)
        at
        com.sun.enterprise.naming.NamingManagerImpl.getClientServiceObject(NamingManagerImpl.java:1208)
        ... 38 more
        Caused by: javax.xml.ws.WebServiceException: null is not a valid service
        at
        com.sun.xml.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:190)
        at
        com.sun.xml.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:178)
        at
        com.sun.xml.ws.spi.ProviderImpl.createServiceDelegate(ProviderImpl.java:106)
        at javax.xml.ws.Service.<init>(Service.java:57)
        at simple.server.IPingServiceService.<init>(IPingServiceService.java:58)
        ... 44 more
        StandardWrapperValve[NewServlet]: PWC1382: Allocate exception for servlet NewServlet
        java.lang.RuntimeException: WEB5002: Exception in handleBeforeEvent.
        at
        com.sun.web.server.J2EEInstanceListener.handleBeforeEvent(J2EEInstanceListener.java:263)
        at
        com.sun.web.server.J2EEInstanceListener.instanceEvent(J2EEInstanceListener.java:119)
        at
        org.apache.catalina.util.InstanceSupport.fireInstanceEvent(InstanceSupport.java:347)
        at
        org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1085)
        at
        org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:848)
        at
        org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
        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 com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)
        at
        com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:98)
        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:1093)
        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:1093)
        at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:291)
        at
        com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:666)
        at
        com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:597)
        at
        com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:872)
        at
        com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:341)
        at
        com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:263)
        at
        com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:214)
        at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:264)
        at
        com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106)
        Caused by: com.sun.enterprise.InjectionException: Exception attempting to inject
        Env-Prop: simple.client.NewServlet/service@Field-Injectable Resource. Class name
        = simple.client.NewServlet Field name=service@javax.jws.WebServiceRef@@@ into
        class simple.client.NewServlet
        at
        com.sun.enterprise.util.InjectionManagerImpl._inject(InjectionManagerImpl.java:387)
        at
        com.sun.enterprise.util.InjectionManagerImpl.inject(InjectionManagerImpl.java:206)
        at
        com.sun.enterprise.util.InjectionManagerImpl.injectInstance(InjectionManagerImpl.java:117)
        at
        com.sun.web.server.J2EEInstanceListener.handleBeforeEvent(J2EEInstanceListener.java:259)
        ... 30 more
        Caused by: javax.naming.NamingException [Root exception is
        java.lang.reflect.InvocationTargetException]
        at
        com.sun.enterprise.naming.NamingManagerImpl.getClientServiceObject(NamingManagerImpl.java:1291)
        at
        com.sun.enterprise.naming.NamingManagerImpl.lookup(NamingManagerImpl.java:1033)
        at
        com.sun.enterprise.naming.java.javaURLContext.lookup(javaURLContext.java:173)
        at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:407)
        at javax.naming.InitialContext.lookup(InitialContext.java:392)
        at
        com.sun.enterprise.util.InjectionManagerImpl._inject(InjectionManagerImpl.java:287)
        ... 33 more
        Caused by: java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at
        sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
        at
        sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
        at
        com.sun.enterprise.naming.NamingManagerImpl.initiateInstance(NamingManagerImpl.java:1128)
        at
        com.sun.enterprise.naming.NamingManagerImpl.getClientServiceObject(NamingManagerImpl.java:1208)
        ... 38 more
        Caused by: javax.xml.ws.WebServiceException: null is not a valid service
        at
        com.sun.xml.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:190)
        at
        com.sun.xml.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:178)
        at
        com.sun.xml.ws.spi.ProviderImpl.createServiceDelegate(ProviderImpl.java:106)
        at javax.xml.ws.Service.<init>(Service.java:57)
        at simple.server.IPingServiceService.<init>(IPingServiceService.java:58)
        ... 44 more

        Show
        msreekanth added a comment - I just downloaded latest metro build and installed it.I just ran a webservice client program and I still see the same error.So reopening the issue. Exception: ========== Annotations processing failed for /home/sreekanth/NetBeansProjects/SimpleAppClient/build/web deployed with moduleid = SimpleAppClient naming.bind java.lang.reflect.InvocationTargetException at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at com.sun.enterprise.naming.NamingManagerImpl.initiateInstance(NamingManagerImpl.java:1128) at com.sun.enterprise.naming.NamingManagerImpl.getClientServiceObject(NamingManagerImpl.java:1208) at com.sun.enterprise.naming.NamingManagerImpl.lookup(NamingManagerImpl.java:1033) at com.sun.enterprise.naming.java.javaURLContext.lookup(javaURLContext.java:173) at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:407) at javax.naming.InitialContext.lookup(InitialContext.java:392) at com.sun.enterprise.util.InjectionManagerImpl._inject(InjectionManagerImpl.java:287) at com.sun.enterprise.util.InjectionManagerImpl.inject(InjectionManagerImpl.java:206) at com.sun.enterprise.util.InjectionManagerImpl.injectInstance(InjectionManagerImpl.java:117) at com.sun.web.server.J2EEInstanceListener.handleBeforeEvent(J2EEInstanceListener.java:259) at com.sun.web.server.J2EEInstanceListener.instanceEvent(J2EEInstanceListener.java:119) at org.apache.catalina.util.InstanceSupport.fireInstanceEvent(InstanceSupport.java:347) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1085) at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:848) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222) 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 com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94) at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:98) 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:1093) 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:1093) at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:291) at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:666) at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:597) at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:872) at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:341) at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:263) at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:214) at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:264) at com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106) Caused by: javax.xml.ws.WebServiceException: null is not a valid service at com.sun.xml.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:190) at com.sun.xml.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:178) at com.sun.xml.ws.spi.ProviderImpl.createServiceDelegate(ProviderImpl.java:106) at javax.xml.ws.Service.<init>(Service.java:57) at simple.server.IPingServiceService.<init>(IPingServiceService.java:58) ... 44 more WebModule [/SimpleAppClient] StandardWrapper.Throwable java.lang.RuntimeException: WEB5002: Exception in handleBeforeEvent. at com.sun.web.server.J2EEInstanceListener.handleBeforeEvent(J2EEInstanceListener.java:263) at com.sun.web.server.J2EEInstanceListener.instanceEvent(J2EEInstanceListener.java:119) at org.apache.catalina.util.InstanceSupport.fireInstanceEvent(InstanceSupport.java:347) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1085) at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:848) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222) 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 com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94) at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:98) 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:1093) 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:1093) at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:291) at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:666) at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:597) at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:872) at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:341) at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:263) at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:214) at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:264) at com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106) Caused by: com.sun.enterprise.InjectionException: Exception attempting to inject Env-Prop: simple.client.NewServlet/service@Field-Injectable Resource. Class name = simple.client.NewServlet Field name=service@javax.jws.WebServiceRef@@@ into class simple.client.NewServlet at com.sun.enterprise.util.InjectionManagerImpl._inject(InjectionManagerImpl.java:387) at com.sun.enterprise.util.InjectionManagerImpl.inject(InjectionManagerImpl.java:206) at com.sun.enterprise.util.InjectionManagerImpl.injectInstance(InjectionManagerImpl.java:117) at com.sun.web.server.J2EEInstanceListener.handleBeforeEvent(J2EEInstanceListener.java:259) ... 30 more Caused by: javax.naming.NamingException [Root exception is java.lang.reflect.InvocationTargetException] at com.sun.enterprise.naming.NamingManagerImpl.getClientServiceObject(NamingManagerImpl.java:1291) at com.sun.enterprise.naming.NamingManagerImpl.lookup(NamingManagerImpl.java:1033) at com.sun.enterprise.naming.java.javaURLContext.lookup(javaURLContext.java:173) at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:407) at javax.naming.InitialContext.lookup(InitialContext.java:392) at com.sun.enterprise.util.InjectionManagerImpl._inject(InjectionManagerImpl.java:287) ... 33 more Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at com.sun.enterprise.naming.NamingManagerImpl.initiateInstance(NamingManagerImpl.java:1128) at com.sun.enterprise.naming.NamingManagerImpl.getClientServiceObject(NamingManagerImpl.java:1208) ... 38 more Caused by: javax.xml.ws.WebServiceException: null is not a valid service at com.sun.xml.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:190) at com.sun.xml.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:178) at com.sun.xml.ws.spi.ProviderImpl.createServiceDelegate(ProviderImpl.java:106) at javax.xml.ws.Service.<init>(Service.java:57) at simple.server.IPingServiceService.<init>(IPingServiceService.java:58) ... 44 more StandardWrapperValve [NewServlet] : PWC1382: Allocate exception for servlet NewServlet java.lang.RuntimeException: WEB5002: Exception in handleBeforeEvent. at com.sun.web.server.J2EEInstanceListener.handleBeforeEvent(J2EEInstanceListener.java:263) at com.sun.web.server.J2EEInstanceListener.instanceEvent(J2EEInstanceListener.java:119) at org.apache.catalina.util.InstanceSupport.fireInstanceEvent(InstanceSupport.java:347) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1085) at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:848) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222) 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 com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94) at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:98) 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:1093) 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:1093) at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:291) at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:666) at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:597) at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:872) at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:341) at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:263) at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:214) at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:264) at com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106) Caused by: com.sun.enterprise.InjectionException: Exception attempting to inject Env-Prop: simple.client.NewServlet/service@Field-Injectable Resource. Class name = simple.client.NewServlet Field name=service@javax.jws.WebServiceRef@@@ into class simple.client.NewServlet at com.sun.enterprise.util.InjectionManagerImpl._inject(InjectionManagerImpl.java:387) at com.sun.enterprise.util.InjectionManagerImpl.inject(InjectionManagerImpl.java:206) at com.sun.enterprise.util.InjectionManagerImpl.injectInstance(InjectionManagerImpl.java:117) at com.sun.web.server.J2EEInstanceListener.handleBeforeEvent(J2EEInstanceListener.java:259) ... 30 more Caused by: javax.naming.NamingException [Root exception is java.lang.reflect.InvocationTargetException] at com.sun.enterprise.naming.NamingManagerImpl.getClientServiceObject(NamingManagerImpl.java:1291) at com.sun.enterprise.naming.NamingManagerImpl.lookup(NamingManagerImpl.java:1033) at com.sun.enterprise.naming.java.javaURLContext.lookup(javaURLContext.java:173) at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:407) at javax.naming.InitialContext.lookup(InitialContext.java:392) at com.sun.enterprise.util.InjectionManagerImpl._inject(InjectionManagerImpl.java:287) ... 33 more Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at com.sun.enterprise.naming.NamingManagerImpl.initiateInstance(NamingManagerImpl.java:1128) at com.sun.enterprise.naming.NamingManagerImpl.getClientServiceObject(NamingManagerImpl.java:1208) ... 38 more Caused by: javax.xml.ws.WebServiceException: null is not a valid service at com.sun.xml.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:190) at com.sun.xml.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:178) at com.sun.xml.ws.spi.ProviderImpl.createServiceDelegate(ProviderImpl.java:106) at javax.xml.ws.Service.<init>(Service.java:57) at simple.server.IPingServiceService.<init>(IPingServiceService.java:58) ... 44 more
        Hide
        jitu added a comment -

        Can you open a bug in glassfish/webservice subcategory and refer to this one.
        Then I can close this one.

        Show
        jitu added a comment - Can you open a bug in glassfish/webservice subcategory and refer to this one. Then I can close this one.
        Hide
        jitu added a comment -

        Closing this one as there is new issue in GlassFish.

        https://glassfish.dev.java.net/issues/show_bug.cgi?id=9948

        Show
        jitu added a comment - Closing this one as there is new issue in GlassFish. https://glassfish.dev.java.net/issues/show_bug.cgi?id=9948

          People

          • Assignee:
            bhaktimehta
            Reporter:
            msreekanth
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: