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

Usha Nandhini K. R. commented on AXIS2-2370:
--------------------------------------------

 

I am facing the below exception while trying to deploy the service in
WAS 6.1 

Tried with axis 2 and axis 2-1.2

The same service work fine with Tomcat.

 

Error: 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(W
SDL11ToAxisServiceBuilder.java:429) at
org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateService(
WSDL11ToAxisServiceBuilder.java:242) at
org.apache.axis2.deployment.repository.util.ArchiveReader.processWSDLFil
e(ArchiveReader.java:215) at
org.apache.axis2.deployment.repository.util.ArchiveReader.processWSDLs(A
rchiveReader.java:306) at
org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.j
ava: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(RepositoryL
istener.java:174) at
org.apache.axis2.deployment.DeploymentEngine.loadServices(DeploymentEngi
ne.java:88) at
org.apache.axis2.deployment.WarBasedAxisConfigurator.loadServices(WarBas
edAxisConfigurator.java:252) at
org.apache.axis2.context.ConfigurationContextFactory.createConfiguration
Context(ConfigurationContextFactory.java:72) at
org.apache.axis2.transport.http.AxisServlet.initConfigContext(AxisServle
t.java:392) at
org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:331)
at
com.ibm.ws.webcontainer.servlet.ServletWrapper.init(ServletWrapper.java:
185) at
com.ibm.ws.wswebcontainer.servlet.ServletWrapper.init(ServletWrapper.jav
a:316) at
com.ibm.ws.webcontainer.servlet.ServletWrapper.initialize(ServletWrapper
.java:1119) at
com.ibm.ws.wswebcontainer.servlet.ServletWrapper.initialize(ServletWrapp
er.java:149) at
com.ibm.wsspi.webcontainer.extension.WebExtensionProcessor.createServlet
Wrapper(WebExtensionProcessor.java:99) at
com.ibm.ws.webcontainer.webapp.WebApp.getServletWrapper(WebApp.java:741)
at
com.ibm.ws.webcontainer.webapp.WebApp.initializeTargetMappings(WebApp.ja
va: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.jav
a: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.ja
va:606) at
com.ibm.ws.webcontainer.component.WebContainerImpl.install(WebContainerI
mpl.java:333) at
com.ibm.ws.webcontainer.component.WebContainerImpl.start(WebContainerImp
l.java:549) at
com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl
.java:1295) at
com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectS
tart(DeployedApplicationImpl.java:1129) at
com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl
.java:567) at
com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedAppli
cationImpl.java:814) at
com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(Applica
tionMgrImpl.java:948) at
com.ibm.ws.runtime.component.ApplicationMgrImpl$1.run(ApplicationMgrImpl
.java:1478) at
com.ibm.ws.security.auth.ContextManagerImpl.runAs(ContextManagerImpl.jav
a:3731) at
com.ibm.ws.security.auth.ContextManagerImpl.runAsSystem(ContextManagerIm
pl.java:3813) at
com.ibm.ws.security.core.SecurityContext.runAsSystem(SecurityContext.jav
a:245) at
com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(Applica
tionMgrImpl.java:1483) at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:64) at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:43) at java.lang.reflect.Method.invoke(Method.java:615) at
sun.reflect.misc.Trampoline.invoke(MethodUtil.java:62) at
sun.reflect.GeneratedMethodAccessor22.invoke(Unknown Source) at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.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(RequiredMode
lMBean.java:1089) at
javax.management.modelmbean.RequiredModelMBean.invoke(RequiredModelMBean
.java:971) at
com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.j
ava:231) at
com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:238) at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBea
nServerInterceptor.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(Ad
minServiceCommands.java:251) at
com.ibm.ws.console.core.mbean.MBeanHelper.invoke(MBeanHelper.java:239)
at
com.ibm.ws.console.appdeployment.ApplicationDeploymentCollectionAction.e
xecute(ApplicationDeploymentCollectionAction.java:536) at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestPr
ocessor.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.ja
va:966) at
com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.ja
va:907) at
com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterCh
ain.java:118) at
com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterC
hain.java:87) at
com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilter
Manager.java:696) at
com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilter
Manager.java:641) at
com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrap
per.java:475) at
com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWr
apper.java:463) at
com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppReq
uestDispatcher.java:308) at
org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.jav
a:1070) at
org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProc
essor.java:273) at
org.apache.struts.action.RequestProcessor.processForwardConfig(RequestPr
ocessor.java:455) at
org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(Tiles
RequestProcessor.java:319) at
com.ibm.isclite.container.controller.InformationController.processForwar
dConfig(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.ja
va:966) at
com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.ja
va:907) at
com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterCh
ain.java:145) at
com.ibm.ws.console.core.servlet.WSCUrlFilter.continueStoringTaskState(WS
CUrlFilter.java:371) at
com.ibm.ws.console.core.servlet.WSCUrlFilter.doFilter(WSCUrlFilter.java:
229) at
com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInst
anceWrapper.java:190) at
com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterCh
ain.java:130) at
com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterC
hain.java:87) at
com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilter
Manager.java:696) at
com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilter
Manager.java:641) at
com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrap
per.java:475) at
com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWr
apper.java:463) at
com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheS
ervletWrapper.java:92) at
com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:744
) at
com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1
425) at
com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:9
2) at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscriminatio
n(HttpInboundLink.java:465) at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformatio
n(HttpInboundLink.java:394) at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLi
nk.java:274) at
com.ibm.ws.ssl.channel.impl.SSLConnectionLink.determineNextChannel(SSLCo
nnectionLink.java:984) at
com.ibm.ws.ssl.channel.impl.SSLConnectionLink.readyInboundPostHandshake(
SSLConnectionLink.java:678) at
com.ibm.ws.ssl.channel.impl.SSLConnectionLink$MyHandshakeCompletedCallba
ck.complete(SSLConnectionLink.java:380) at
com.ibm.ws.ssl.channel.impl.SSLUtils.handleHandshake(SSLUtils.java:801)
at
com.ibm.ws.ssl.channel.impl.SSLHandshakeIOCallback.complete(SSLHandshake
IOCallback.java:70) at
com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(Ai
oReadCompletionListener.java:152) at
com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.
java:213) at
com.ibm.io.async.AbstractAsyncFuture.fireCompletionActions(AbstractAsync
Future.java:195) at
com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136) at
com.ibm.io.async.ResultHandler.complete(ResultHandler.java:193) at
com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java
:725) at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:847) at
com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1498)

 

Thanks,

K.R. Usha Nandhini

 

Sonata Software Limited 

Phone   : +91 80 26610330 Xn - 5211

www.sonata-software.com 

 

 

 



> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to