wsit
  1. wsit
  2. WSIT-1529

WSTCP0007:Transport module was not initialized! on Windows 2008

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.1
    • Fix Version/s: None
    • Component/s: transport
    • Labels:
      None
    • Environment:

      GF 3.1 + Metro 2.1 on Windows 2008

      Description

      In the jax-rm functional test suite, services with SOAP/TCP are not deploying on Windows 2008. Deployment fails with the following exception :

      [#|2011-02-01T11:16:21.309+0530|SEVERE|glassfish3.1|com.sun.metro.transport.tcp.server|_ThreadID=18;_ThreadName=Thread-1;|WSTCP0007:Transport module was not initialized!
      java.lang.IllegalStateException: WSTCP0007:Transport module was not initialized!
      at com.sun.xml.ws.transport.tcp.server.WSTCPModule.getInstance(WSTCPModule.java:71)
      at com.sun.xml.ws.transport.tcp.server.glassfish.WSStartupServlet.contextInitialized(WSStartupServlet.java:105)
      at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:4690)
      at com.sun.enterprise.web.WebModule.contextListenerStart(WebModule.java:534)
      at org.apache.catalina.core.StandardContext.start(StandardContext.java:5305)
      at com.sun.enterprise.web.WebModule.start(WebModule.java:500)
      at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:917)
      at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:901)
      at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:755)
      at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1980)
      at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1630)
      at com.sun.enterprise.web.WebApplication.start(WebApplication.java:100)
      at org.glassfish.internal.data.EngineRef.start(EngineRef.java:130)
      at org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:269)
      at org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:286)
      at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:461)
      at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:240)
      at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:370)
      at com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:354)
      at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:369)
      at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1080)
      at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1200(CommandRunnerImpl.java:95)
      at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1260)
      at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1248)
      at com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:453)
      at com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:220)
      at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:168)
      at com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:117)
      at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:234)
      at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:822)
      at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:719)
      at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1013)
      at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:225)
      at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
      at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
      at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
      at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
      at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
      at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
      at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
      at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
      at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
      at java.lang.Thread.run(Thread.java:662)

      The same scenario works fine on Linux & Solaris.

      Also attached a standalone RM + SecureConversation (rm-sc-soap-tcp.zip) service with soap/tcp to validate. This worked fine on windows.

      1. server.log
        770 kB
        sonymanuel
      2. web.xml
        2 kB
        oleksiys

        Activity

        Hide
        oleksiys added a comment -

        changed SOAPTCP context listener

        Show
        oleksiys added a comment - changed SOAPTCP context listener
        Hide
        oleksiys added a comment -

        should work in GF 3.1.1

        Show
        oleksiys added a comment - should work in GF 3.1.1

          People

          • Assignee:
            oleksiys
            Reporter:
            sonymanuel
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: