You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Dustin Amrhein (JIRA)" <ji...@apache.org> on 2007/06/25 14:31:30 UTC

[jira] Issue Comment Edited: (AXIS2-2370) Invalid Service

    [ https://issues.apache.org/jira/browse/AXIS2-2370?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12507862 ] 

Dustin Amrhein edited comment on AXIS2-2370 at 6/25/07 5:29 AM:
----------------------------------------------------------------

K.R.,
If this is a deploy time issue, I would be curious as to the classloader policy you are using for the WAR that contains the Axis2 runtime. If you are utlizing the default classloader behavior I would expect to see problems like this. You need to ensure that the WAR is utilizing PARENT_LAST classloader policy. This is to say, the WAR should use the application classloader first. Hope this helps.

Dustin Amrhein


 was:
K.R.,
If this is a deploy time issue, I would be curious as to the classloader policy you are using for this particular WAR. You must change the default classloading behavior from PARENT_FIRST to PARENT_LAST. That is to say, you must ensure that the WAR is using the appliction classloader first, and the parent of that classloader last. Hope this helps.

> Invalid Service 
> ----------------
>
>                 Key: AXIS2-2370
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2370
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: wsdl
>    Affects Versions: 1.1.1
>         Environment: RAD 7.0, WAS 6.1
>            Reporter: Bhagya Kitty
>            Priority: Critical
>             Fix For: 1.1.1
>
>
> [3/22/07 10:04:57:949 EDT] 00000011 DeploymentEng I org.apache.axis2.deployment.DeploymentEngine doDeploy Invalid service  TestService due to java.lang.NoSuchMethodError: javax/wsdl/PortType.getExtensionAttributes()Ljava/util/Map;
> 	at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.processPortType(WSDL11ToAxisServiceBuilder.java:886)
> 	at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.processBinding(WSDL11ToAxisServiceBuilder.java:429)
> 	at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateService(WSDL11ToAxisServiceBuilder.java:242)
> 	at org.apache.axis2.deployment.repository.util.ArchiveReader.processWSDLFile(ArchiveReader.java:215)
> 	at org.apache.axis2.deployment.repository.util.ArchiveReader.processFilesInFolder(ArchiveReader.java:362)
> 	at org.apache.axis2.deployment.repository.util.ArchiveReader.processWSDLs(ArchiveReader.java:250)
> 	at org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:513)
> 	at org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:196)
> 	at org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:227)
> 	at org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:174)
> 	at org.apache.axis2.deployment.DeploymentEngine.loadServices(DeploymentEngine.java:88)
> 	at org.apache.axis2.deployment.WarBasedAxisConfigurator.loadServices(WarBasedAxisConfigurator.java:252)
> 	at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:72)
> 	at org.apache.axis2.transport.http.AxisServlet.initConfigContext(AxisServlet.java:373)
> 	at org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:317)
> 	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:742)
> 	at com.ibm.ws.webcontainer.webapp.WebApp.initializeTargetMappings(WebApp.java:422)
> 	at com.ibm.ws.webcontainer.webapp.WebApp.commonInitializationFinish(WebApp.java:275)
> 	at com.ibm.ws.wswebcontainer.webapp.WebApp.initialize(WebApp.java:272)
> 	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:655)
> 	at com.ibm.ws.wswebcontainer.WebContainer.addWebApplication(WebContainer.java:608)
> 	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:3811)
> 	at com.ibm.ws.security.auth.ContextManagerImpl.runAsSystem(ContextManagerImpl.java:3893)
> 	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.GeneratedMethodAccessor61.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:1057)
> 	at com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java:118)
> 	at com.ibm.ws.management.AdminServiceImpl.invoke(AdminServiceImpl.java:950)
> 	at com.ibm.ws.management.connector.AdminServiceDelegator.invoke(AdminServiceDelegator.java:139)
> 	at com.ibm.ws.management.connector.rmi.RMIConnectorService.invoke(RMIConnectorService.java:179)
> 	at com.ibm.ws.management.connector.rmi._RMIConnectorService_Tie.invoke(_RMIConnectorService_Tie.java:395)
> 	at com.ibm.ws.management.connector.rmi._RMIConnectorService_Tie._invoke(_RMIConnectorService_Tie.java:160)
> 	at com.ibm.CORBA.iiop.ServerDelegate.dispatchInvokeHandler(ServerDelegate.java:613)
> 	at com.ibm.CORBA.iiop.ServerDelegate.dispatch(ServerDelegate.java:466)
> 	at com.ibm.rmi.iiop.ORB.process(ORB.java:503)
> 	at com.ibm.CORBA.iiop.ORB.process(ORB.java:1552)
> 	at com.ibm.rmi.iiop.Connection.respondTo(Connection.java:2673)
> 	at com.ibm.rmi.iiop.Connection.doWork(Connection.java:2551)
> 	at com.ibm.rmi.iiop.WorkUnitImpl.doWork(WorkUnitImpl.java:62)
> 	at com.ibm.ejs.oa.pool.PooledThread.run(ThreadPool.java:95)
> 	at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1510)
> I am facing this problem while migrating from axis 1.4 to axis 2.1.1

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org