]
Darran Lofthouse updated WFCORE-3735:
-------------------------------------
Priority: Major (was: Critical)
Axis jar not working in WildFly 11
----------------------------------
Key: WFCORE-3735
URL:
https://issues.jboss.org/browse/WFCORE-3735
Project: WildFly Core
Issue Type: Bug
Reporter: J Prasanna Venkatesan
Hi,
We have application which uses another application's webservice. It was working till
WildFly 10.
But in WildFly 11, it is not working. It is throwing
2018-04-10 15:02:47,494 ERROR [io.undertow.request] (default task-7) UT005023: Exception
handling request to /authenticationManager/: java.lang.RuntimeException:
java.lang.reflect.InvocationTargetException
at
deployment.authenticationManager.war//com.collabnet.ce.soap60.webservices.ClientSoapStubFactory.createSoapStub(ClientSoapStubFactory.java:107)
at
deployment.authenticationManager.war//com.collabnet.ce.soap60.webservices.ClientSoapStubFactory.getSoapStub(ClientSoapStubFactory.java:60)
at
deployment.authenticationManager.war//etc.TeamForgeImpl.setHostUrl(TeamForgeImpl.java:73)
at
deployment.authenticationManager.war//filters.CtfAuthFilterImpl.filter(CtfAuthFilterImpl.java:54)
at
deployment.authenticationManager.war//ninja.FilterChainImpl.next(FilterChainImpl.java:35)
at deployment.authenticationManager.war//ninja.NinjaImpl.invoke(NinjaImpl.java:97)
at
deployment.authenticationManager.war//ninja.servlet.NinjaServletDispatcher.service(NinjaServletDispatcher.java:83)
at
deployment.authenticationManager.war//com.google.inject.servlet.ServletDefinition.doService(ServletDefinition.java:263)
at
deployment.authenticationManager.war//com.google.inject.servlet.ServletDefinition.service(ServletDefinition.java:178)
at
deployment.authenticationManager.war//com.google.inject.servlet.ManagedServletPipeline.service(ManagedServletPipeline.java:91)
at
deployment.authenticationManager.war//com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:62)
at
deployment.authenticationManager.war//filters.DemoServletFilter.doFilter(DemoServletFilter.java:43)
at
deployment.authenticationManager.war//com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163)
at
deployment.authenticationManager.war//com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
at
deployment.authenticationManager.war//com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:118)
at
deployment.authenticationManager.war//com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:113)
at
io.undertow.servlet//io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
at
io.undertow.servlet//io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
at
io.undertow.servlet//io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:84)
at
io.undertow.servlet//io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
at
io.undertow.servlet//io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
at
org.wildfly.extension.undertow//org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:78)
at
io.undertow.core//io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
at
io.undertow.servlet//io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:131)
at
io.undertow.servlet//io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)
at
io.undertow.core//io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
at
io.undertow.core//io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)
at
io.undertow.servlet//io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)
at
io.undertow.core//io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60)
at
io.undertow.servlet//io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77)
at
io.undertow.core//io.undertow.security.handlers.NotificationReceiverHandler.handleRequest(NotificationReceiverHandler.java:50)
at
io.undertow.core//io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43)
at
io.undertow.core//io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
at
org.wildfly.extension.undertow//org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61)
at
io.undertow.core//io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
at
io.undertow.core//io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
at
io.undertow.servlet//io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:292)
at
io.undertow.servlet//io.undertow.servlet.handlers.ServletInitialHandler.access$100(ServletInitialHandler.java:81)
at
io.undertow.servlet//io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:138)
at
io.undertow.servlet//io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:135)
at
io.undertow.servlet//io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48)
at
io.undertow.servlet//io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)
at
org.wildfly.extension.undertow//org.wildfly.extension.undertow.security.SecurityContextThreadSetupAction.lambda$create$0(SecurityContextThreadSetupAction.java:105)
at
org.wildfly.extension.undertow//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1508)
at
org.wildfly.extension.undertow//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1508)
at
org.wildfly.extension.undertow//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1508)
at
org.wildfly.extension.undertow//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1508)
at
io.undertow.servlet//io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:272)
at
io.undertow.servlet//io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:81)
at
io.undertow.servlet//io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:104)
at
io.undertow.core//io.undertow.server.Connectors.executeRootHandler(Connectors.java:326)
at
io.undertow.core//io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:812)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
[java.base:]
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
[java.base:]
at java.base/java.lang.Thread.run(Unknown Source) [java.base:]
Caused by: java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method) [java.base:]
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(Unknown
Source) [java.base:]
at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown
Source) [java.base:]
at java.base/java.lang.reflect.Constructor.newInstance(Unknown Source) [java.base:]
at
deployment.authenticationManager.war//com.collabnet.ce.soap60.webservices.ClientSoapStubFactory.createSoapStub(ClientSoapStubFactory.java:97)
... 54 more
Caused by: java.lang.NoClassDefFoundError: Could not initialize class
org.apache.axis.client.AxisClient
at
deployment.authenticationManager.war//org.apache.axis.client.Service.getAxisClient(Service.java:104)
at
deployment.authenticationManager.war//org.apache.axis.client.Service.<init>(Service.java:113)
at
deployment.authenticationManager.war//com.collabnet.ce.soap60.webservices.ClientSoapStub.<init>(ClientSoapStub.java:50)
at
deployment.authenticationManager.war//com.collabnet.ce.soap60.webservices.cemain.CollabNetSoapStub.<init>(CollabNetSoapStub.java:21)
... 59 more
Please throw some light here.