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

class not found while deploying .aar archive on websphere-axis2

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Incomplete
    • 1.2
    • None
    • deployment
    • None
    • Windows

    Description

      Hi ,
      I was intregating apache axis2 with websphere.

      axis 2 intregation is complete .

      From the admin console I also able to upload .aar archive file.

      But the problem is when i am seeing the deployed service websphere is
      saying faulty service .class not found exception.

      whereas i am able to see the list of services when i am deploying the
      same .aar from the apache axis admin console.

      that means its running fine in apache but i am facing problem with the
      websphere.

      any idea how to resolve .please suggest

      Faulty Services
      C:\Program Files\IBM\WebSphere6\AppServer\profiles\AppSrv01\installedApps\IBM-F36745837CDNode02Cell\axis2_war.ear\axis2.war\WEB-INF\services\AmadeusWebServicesSkeleton.aar

      Back Home | Refresh

      This Web axisService has deployment faults
      Error: org.apache.axis2.deployment.DeploymentException: A
      ClassNotFoundException error occurred in loading the message receiver
      org.apache.axis2.userguide.AmadeusWebServicesMessageReceiverInOut at
      org.apache.axis2.deployment.repository.util.ArchiveReader.processServiceGroup(ArchiveReader.java:150)
      at org.apache.axis2.deployment.ServiceDeployer.deploy(ServiceDeployer.java:81)
      at org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136)
      at org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:659)
      at org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:144)
      at org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:337)
      at org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:241)
      at org.apache.axis2.deployment.DeploymentEngine.loadServices(DeploymentEngine.java:131)
      at org.apache.axis2.deployment.WarBasedAxisConfigurator.loadServices(WarBasedAxisConfigurator.java:284)
      at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:95)
      at org.apache.axis2.transport.http.AxisServlet.initConfigContext(AxisServlet.java:525)
      at org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:443)
      at com.ibm.ws.webcontainer.servlet.ServletWrapper.init(ServletWrapper.java:185)
      at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.init(ServletWrapper.java:316)
      at com.ibm.ws.webcontainer.servlet.ServletWrapper.initialize(ServletWrapper.java:1119)
      at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.initialize(ServletWrapper.java:149)
      at com.ibm.wsspi.webcontainer.extension.WebExtensionProcessor.createServletWrapper(WebExtensionProcessor.java:99)
      at com.ibm.ws.webcontainer.webapp.WebApp.getServletWrapper(WebApp.java:741)
      at com.ibm.ws.webcontainer.webapp.WebApp.initializeTargetMappings(WebApp.java:421)
      at com.ibm.ws.webcontainer.webapp.WebApp.commonInitializationFinish(WebApp.java:274)
      at com.ibm.ws.wswebcontainer.webapp.WebApp.initialize(WebApp.java:271)
      at com.ibm.ws.wswebcontainer.webapp.WebGroup.addWebApplication(WebGroup.java:88)
      at com.ibm.ws.wswebcontainer.VirtualHost.addWebApplication(VirtualHost.java:157)
      at com.ibm.ws.wswebcontainer.WebContainer.addWebApp(WebContainer.java:653)
      at com.ibm.ws.wswebcontainer.WebContainer.addWebApplication(WebContainer.java:606)
      at com.ibm.ws.webcontainer.component.WebContainerImpl.install(WebContainerImpl.java:333)
      at com.ibm.ws.webcontainer.component.WebContainerImpl.start(WebContainerImpl.java:549)
      at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:1295)
      at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:1129)
      at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:567)
      at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:814)
      at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:948)
      at com.ibm.ws.runtime.component.ApplicationMgrImpl$1.run(ApplicationMgrImpl.java:1478)
      at com.ibm.ws.security.auth.ContextManagerImpl.runAs(ContextManagerImpl.java:3731)
      at com.ibm.ws.security.auth.ContextManagerImpl.runAsSystem(ContextManagerImpl.java:3813)
      at com.ibm.ws.security.core.SecurityContext.runAsSystem(SecurityContext.java:245)
      at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:1483)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at
      sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:615) at
      sun.reflect.misc.Trampoline.invoke(MethodUtil.java:62) at
      sun.reflect.GeneratedMethodAccessor20.invoke(Unknown Source) at
      sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:615) at
      sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:265) at
      javax.management.modelmbean.RequiredModelMBean.invokeMethod(RequiredModelMBean.java:1089)
      at javax.management.modelmbean.RequiredModelMBean.invoke(RequiredModelMBean.java:971)
      at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:231)
      at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:238)
      at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:833)
      at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:802)
      at com.ibm.ws.management.AdminServiceImpl$1.run(AdminServiceImpl.java:1055)
      at com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java:118)
      at com.ibm.ws.management.AdminServiceImpl.invoke(AdminServiceImpl.java:948)
      at com.ibm.ws.management.commands.AdminServiceCommands$InvokeCmd.execute(AdminServiceCommands.java:251)
      at com.ibm.ws.console.core.mbean.MBeanHelper.invoke(MBeanHelper.java:239)
      at com.ibm.ws.console.appdeployment.ApplicationDeploymentCollectionAction.execute(ApplicationDeploymentCollectionAction.java:536)
      at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
      at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
      at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1486)
      at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:528)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:763) at
      javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at
      com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:966)
      at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:907)
      at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:118)
      at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87)
      at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:696)
      at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:641)
      at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:475)
      at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:463)
      at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:308)
      at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1070)
      at org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcessor.java:273)
      at org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:455)
      at org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor.java:319)
      at com.ibm.isclite.container.controller.InformationController.processForwardConfig(InformationController.java:159)
      at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:279)
      at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1486)
      at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:528)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:763) at
      javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at
      com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:966)
      at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:907)
      at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:145)
      at com.ibm.ws.console.core.servlet.WSCUrlFilter.continueStoringTaskState(WSCUrlFilter.java:371)
      at com.ibm.ws.console.core.servlet.WSCUrlFilter.doFilter(WSCUrlFilter.java:229)
      at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190)
      at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130)
      at


      Thanks & Regards,
      Chiranjib

      Attachments

        Activity

          People

            Unassigned Unassigned
            chiranjibnandy chiranjib
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 1.5h
                1.5h
                Remaining:
                Remaining Estimate - 1.5h
                1.5h
                Logged:
                Time Spent - Not Specified
                Not Specified