Uploaded image for project: 'Axis2'
  1. Axis2
  2. AXIS2-5720

AXIS2 webservice with HTTPS is not working on websphere 8.5.5.3

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.6.2, 1.6.3
    • Fix Version/s: 1.6.4, 1.7.0
    • Component/s: deployment
    • Labels:
      None
    • Environment:
      Websphere 8.5.5.3
      Suse Linux 11
    • Flags:
      Important

      Description

      AXIS2 webservice with HTTPS is not working on websphere 8.5.5.3

      Followed

      http://axis.apache.org/axis2/java/core/docs/app_server.html#WebSphere

      but getting following error

      [9/11/15 17:23:42:062 IST] 0000003d SystemOut O ERROR WarBasedAxisConfigurator - org.apache.axis2.jaxws.dispatchers.GenericProviderDispatcher incompatible with org.apache.axis2.engine.Handler
      org.apache.axis2.deployment.DeploymentException: org.apache.axis2.jaxws.dispatchers.GenericProviderDispatcher incompatible with org.apache.axis2.engine.Handler
      at org.apache.axis2.deployment.util.Utils.loadHandler(Utils.java:151)
      at org.apache.axis2.deployment.AxisConfigBuilder.processPhaseList(AxisConfigBuilder.java:546)
      at org.apache.axis2.deployment.AxisConfigBuilder.processPhaseOrders(AxisConfigBuilder.java:577)
      at org.apache.axis2.deployment.AxisConfigBuilder.populateConfig(AxisConfigBuilder.java:149)
      at org.apache.axis2.deployment.DeploymentEngine.populateAxisConfiguration(DeploymentEngine.java:857)
      at org.apache.axis2.deployment.WarBasedAxisConfigurator.<init>(WarBasedAxisConfigurator.java:156)
      at org.apache.axis2.transport.http.AxisServlet.initConfigContext(AxisServlet.java:584)
      at org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:454)
      at com.ibm.ws.webcontainer.servlet.ServletWrapper.init(ServletWrapper.java:342)
      at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.init(ServletWrapperImpl.java:168)
      at com.ibm.ws.webcontainer.servlet.ServletWrapper.loadOnStartupCheck(ServletWrapper.java:1366)
      at com.ibm.ws.webcontainer.webapp.WebApp.doLoadOnStartupActions(WebApp.java:617)
      at com.ibm.ws.webcontainer.webapp.WebApp.commonInitializationFinally(WebApp.java:587)
      at com.ibm.ws.webcontainer.webapp.WebAppImpl.initialize(WebAppImpl.java:425)
      at com.ibm.ws.webcontainer.webapp.WebGroupImpl.addWebApplication(WebGroupImpl.java:88)
      at com.ibm.ws.webcontainer.VirtualHostImpl.addWebApplication(VirtualHostImpl.java:169)
      at com.ibm.ws.webcontainer.WSWebContainer.addWebApp(WSWebContainer.java:749)
      at com.ibm.ws.webcontainer.WSWebContainer.addWebApplication(WSWebContainer.java:634)
      at com.ibm.ws.webcontainer.component.WebContainerImpl.install(WebContainerImpl.java:426)
      at com.ibm.ws.webcontainer.component.WebContainerImpl.start(WebContainerImpl.java:718)
      at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:1177)
      at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:1370)
      at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:639)
      at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:968)
      at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:776)
      at com.ibm.ws.runtime.component.ApplicationMgrImpl$5.run(ApplicationMgrImpl.java:2195)
      at com.ibm.ws.security.auth.ContextManagerImpl.runAs(ContextManagerImpl.java:5384)
      at com.ibm.ws.security.auth.ContextManagerImpl.runAsSystem(ContextManagerImpl.java:5600)
      at com.ibm.ws.security.core.SecurityContext.runAsSystem(SecurityContext.java:255)
      at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:2200)
      at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(CompositionUnitMgrImpl.java:389)
      at com.ibm.ws.runtime.component.CompositionUnitImpl.start(CompositionUnitImpl.java:123)
      at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(CompositionUnitMgrImpl.java:332)
      at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.access$500(CompositionUnitMgrImpl.java:119)
      at com.ibm.ws.runtime.component.CompositionUnitMgrImpl$CUInitializer.run(CompositionUnitMgrImpl.java:938)
      at com.ibm.wsspi.runtime.component.WsComponentImpl$_AsynchInitializer.run(WsComponentImpl.java:502)
      at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1864)
      Caused by: java.lang.ClassCastException: org.apache.axis2.jaxws.dispatchers.GenericProviderDispatcher incompatible with org.apache.axis2.engine.Handler
      at org.apache.axis2.deployment.util.Utils.loadHandler(Utils.java:135)
      ... 36 more
      [9/11/15 17:23:42:116 IST] 0000003d FfdcProvider W com.ibm.ws.ffdc.impl.FfdcProvider logIncident FFDC1003I: FFDC Incident emitted on /opt/IBM/WebSphere/AppServer/profiles/AppSrv06/logs/ffdc/server1_ac6020a2_15.09.11_17.23.42.0688373851323172329765.txt com.ibm.ws.webcontainer.servlet.ServletInstance.init 172
      [9/11/15 17:23:42:117 IST] 0000003d ServletWrappe E com.ibm.ws.webcontainer.servlet.ServletWrapper init Uncaught.init.exception.thrown.by.servlet
      [9/11/15 17:23:42:120 IST] 0000003d webapp E com.ibm.ws.webcontainer.webapp.WebApp commonInitializationFinally SRVE0266E: Error occured while initializing servlets:

      {0}

      javax.servlet.ServletException: javax.servlet.ServletException: org.apache.axis2.deployment.DeploymentException: org.apache.axis2.jaxws.dispatchers.GenericProviderDispatcher incompatible with org.apache.axis2.engine.Handler
      at org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:462)
      at com.ibm.ws.webcontainer.servlet.ServletWrapper.init(ServletWrapper.java:342)
      at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.init(ServletWrapperImpl.java:168)
      at com.ibm.ws.webcontainer.servlet.ServletWrapper.loadOnStartupCheck(ServletWrapper.java:1366)
      at com.ibm.ws.webcontainer.webapp.WebApp.doLoadOnStartupActions(WebApp.java:617)
      at com.ibm.ws.webcontainer.webapp.WebApp.commonInitializationFinally(WebApp.java:587)
      at com.ibm.ws.webcontainer.webapp.WebAppImpl.initialize(WebAppImpl.java:425)
      at com.ibm.ws.webcontainer.webapp.WebGroupImpl.addWebApplication(WebGroupImpl.java:88)
      at com.ibm.ws.webcontainer.VirtualHostImpl.addWebApplication(VirtualHostImpl.java:169)
      at com.ibm.ws.webcontainer.WSWebContainer.addWebApp(WSWebContainer.java:749)
      at com.ibm.ws.webcontainer.WSWebContainer.addWebApplication(WSWebContainer.java:634)
      at com.ibm.ws.webcontainer.component.WebContainerImpl.install(WebContainerImpl.java:426)
      at com.ibm.ws.webcontainer.component.WebContainerImpl.start(WebContainerImpl.java:718)
      at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:1177)
      at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:1370)
      at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:639)
      at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:968)
      at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:776)
      at com.ibm.ws.runtime.component.ApplicationMgrImpl$5.run(ApplicationMgrImpl.java:2195)
      at com.ibm.ws.security.auth.ContextManagerImpl.runAs(ContextManagerImpl.java:5384)
      at com.ibm.ws.security.auth.ContextManagerImpl.runAsSystem(ContextManagerImpl.java:5600)
      at com.ibm.ws.security.core.SecurityContext.runAsSystem(SecurityContext.java:255)
      at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:2200)
      at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(CompositionUnitMgrImpl.java:389)
      at com.ibm.ws.runtime.component.CompositionUnitImpl.start(CompositionUnitImpl.java:123)
      at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(CompositionUnitMgrImpl.java:332)
      at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.access$500(CompositionUnitMgrImpl.java:119)
      at com.ibm.ws.runtime.component.CompositionUnitMgrImpl$CUInitializer.run(CompositionUnitMgrImpl.java:938)
      at com.ibm.wsspi.runtime.component.WsComponentImpl$_AsynchInitializer.run(WsComponentImpl.java:502)
      at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1864)
      Caused by: javax.servlet.ServletException: org.apache.axis2.deployment.DeploymentException: org.apache.axis2.jaxws.dispatchers.GenericProviderDispatcher incompatible with org.apache.axis2.engine.Handler
      at org.apache.axis2.transport.http.AxisServlet.initConfigContext(AxisServlet.java:591)
      at org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:454)
      ... 29 more
      Caused by: org.apache.axis2.deployment.DeploymentException: org.apache.axis2.jaxws.dispatchers.GenericProviderDispatcher incompatible with org.apache.axis2.engine.Handler
      at org.apache.axis2.deployment.util.Utils.loadHandler(Utils.java:151)
      at org.apache.axis2.deployment.AxisConfigBuilder.processPhaseList(AxisConfigBuilder.java:546)
      at org.apache.axis2.deployment.AxisConfigBuilder.processPhaseOrders(AxisConfigBuilder.java:577)
      at org.apache.axis2.deployment.AxisConfigBuilder.populateConfig(AxisConfigBuilder.java:149)
      at org.apache.axis2.deployment.DeploymentEngine.populateAxisConfiguration(DeploymentEngine.java:857)
      at org.apache.axis2.deployment.WarBasedAxisConfigurator.<init>(WarBasedAxisConfigurator.java:156)
      at org.apache.axis2.transport.http.AxisServlet.initConfigContext(AxisServlet.java:584)
      ... 30 more
      Caused by: java.lang.ClassCastException: org.apache.axis2.jaxws.dispatchers.GenericProviderDispatcher incompatible with org.apache.axis2.engine.Handler
      at org.apache.axis2.deployment.util.Utils.loadHandler(Utils.java:135)
      ... 36 more

      [9/11/15 17:23:42:125 IST] 0000003d webcontainer I com.ibm.ws.webcontainer.VirtualHostImpl addWebApplication SRVE0250I: Web Module MDM has been bound to default_host[*:80,*:80,*:9445,*:5065,*:5064,*:443].
      [9/11/15 17:23:42:138 IST] 0000003e webapp I com.ibm.ws.webcontainer.webapp.WebGroupImpl WebGroup SRVE0169I: Loading Web Module: adminconsole redirector.
      [9/11/15 17:23:42:149 IST] 0000003e WASSessionCor I SessionContextRegistry getSessionContext SESN0176I: Will create a new session context for application key admin_host/admin

        Attachments

        1. axis2.xml
          27 kB
          syed riazur rahman

          Activity

            People

            • Assignee:
              veithen Andreas Veithen
              Reporter:
              rahman syed riazur rahman
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: