Uploaded image for project: 'CDI TCK'
  1. CDI TCK
  2. CDITCK-152

TCK Test Failure: IllegalArgumentException : Missing @WebService nor @WebServiceProvider annotation

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Rejected
    • Affects Version/s: 1.0.1.Final
    • Fix Version/s: 1.0.2.CR1
    • Component/s: Tests
    • Labels:
      None

      Description

      TCK test attempts to inject into Web Service endpoint and has the following exception:

      TEST NAME: org.jboss.jsr299.tck.tests.lookup.injection.non.contextual.ws.InjectionIntoWebServiceEndPointTest.testInjectionIntoWebServiceEndpoint

      SERVER LOG:

      [#|2010-04-30T13:17:44.438-0400|WARNING|glassfish3.0|javax.enterprise.webservices.org.glassfish.webservices|_ThreadID=24;_ThreadName=AutoDeployer;|Ser
      vlet web service endpoint 'org.jboss.jsr299.tck.tests.lookup.injection.non.contextual.ws.SheepWSEndPoint' failure
      java.lang.IllegalArgumentException: class org.glassfish.webservices.JAXWSServlet has neither @WebService nor @WebServiceProvider annotation
      at com.sun.xml.ws.server.EndpointFactory.verifyImplementorClass(EndpointFactory.java:303)
      at com.sun.xml.ws.server.EndpointFactory.createEndpoint(EndpointFactory.java:120)
      at com.sun.xml.ws.api.server.WSEndpoint.create(WSEndpoint.java:505)
      at com.sun.xml.ws.api.server.WSEndpoint.create(WSEndpoint.java:560)
      at org.glassfish.webservices.JAXWSServlet.registerEndpoint(JAXWSServlet.java:405)
      at org.glassfish.webservices.JAXWSServlet.doInit(JAXWSServlet.java:264)
      at org.glassfish.webservices.JAXWSServlet.init(JAXWSServlet.java:99)
      at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1428)
      at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1230)
      at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5007)
      at org.apache.catalina.core.StandardContext.start(StandardContext.java:5280)
      at com.sun.enterprise.web.WebModule.start(WebModule.java:499)
      at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:928)
      at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:912)
      at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:694)
      at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1947)
      at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1619)
      at com.sun.enterprise.web.WebApplication.start(WebApplication.java:90)
      at org.glassfish.internal.data.EngineRef.start(EngineRef.java:126)
      at org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:241)
      at org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:236)
      at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:339)
      at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:183)
      at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:272)
      at com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:310)
      at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:320)
      at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1176)
      at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$900(CommandRunnerImpl.java:83)
      at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1235)
      at org.glassfish.deployment.autodeploy.AutoOperation.run(AutoOperation.java:141)
      at org.glassfish.deployment.autodeploy.AutoDeployer.deploy(AutoDeployer.java:573)
      at org.glassfish.deployment.autodeploy.AutoDeployer.deployAll(AutoDeployer.java:459)
      at org.glassfish.deployment.autodeploy.AutoDeployer.run(AutoDeployer.java:391)
      at org.glassfish.deployment.autodeploy.AutoDeployer.run(AutoDeployer.java:376)
      at org.glassfish.deployment.autodeploy.AutoDeployService$1.run(AutoDeployService.java:195)
      at java.util.TimerThread.mainLoop(Timer.java:512)
      at java.util.TimerThread.run(Timer.java:462)

      Comments from Pete Muir:
      Have you configured web.xml for this test properly?

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  pmuir Pete Muir
                  Reporter:
                  rogerk Roger Kitain
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: