[
https://issues.jboss.org/browse/WFLY-3851?page=com.atlassian.jira.plugin....
]
Dmitriy Shishmakov updated WFLY-3851:
-------------------------------------
Description:
I was made a prototype project 'maven-ws-prototype' for showing a trouble WildFly
8.1 with Spring 3.1.
This maven EAR project is contains 2 WebServices. I attached Spring dependencies In
'war' submodule. I don't use them in java classes.
Project has been successfully deployed into JBoss 7.1.1 but didn't deployed in WildFly
8.1.
GitHub:
https://github.com/DmitriySh/maven-ws-prototype
If everything ok links might be invoke.
http://localhost:8080/jboss7-war/CalculatorImpl?wsdl
http://localhost:8080/jboss7-ejb/RandomGeneratorImpl/RandomGeneratorServi...
Stack trace:
---------------
2014-09-12 17:50:30,502 INFO
[org.apache.cxf.service.factory.ReflectionServiceFactoryBean] (MSC service thread 1-1)
Creating Service {http://service.ejb.jaxws.company.com}RandomGeneratorImpl from class
com.company.jaxws.ejb.service.RandomGenerator
2014-09-12 17:50:30,502 INFO
[org.apache.cxf.service.factory.ReflectionServiceFactoryBean] (MSC service thread 1-2)
Creating Service {http://service.servlet.jaxws.company.com}CalculatorImpl from class
com.company.jaxws.servlet.service.Calculator
2014-09-12 17:50:30,556 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2)
MSC000001: Failed to start service
jboss.deployment.subunit."jboss7-ear.ear"."jboss7-war.war".INSTALL:
org.jboss.msc.service.StartException in service
jboss.deployment.subunit."jboss7-ear.ear"."jboss7-war.war".INSTALL:
JBAS018733: Failed to process phase INSTALL of subdeployment "jboss7-war.war" of
deployment "jboss7-ear.ear"
at
org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:166)
[wildfly-server-8.1.0.Final.jar:8.1.0.Final]
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948)
[jboss-msc-1.2.2.Final.jar:1.2.2.Final]
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881)
[jboss-msc-1.2.2.Final.jar:1.2.2.Final]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
[rt.jar:1.7.0_60]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
[rt.jar:1.7.0_60]
at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_60]
Caused by: javax.xml.ws.WebServiceException:
java.lang.reflect.UndeclaredThrowableException
at org.apache.cxf.jaxws.EndpointImpl.doPublish(EndpointImpl.java:371)
at org.jboss.wsf.stack.cxf.deployment.EndpointImpl.doPublish(EndpointImpl.java:66)
at org.apache.cxf.jaxws.EndpointImpl.publish(EndpointImpl.java:251)
at org.apache.cxf.jaxws.EndpointImpl.publish(EndpointImpl.java:539)
at
org.jboss.wsf.stack.cxf.configuration.NonSpringBusHolder.configure(NonSpringBusHolder.java:117)
at
org.jboss.wsf.stack.cxf.deployment.aspect.BusDeploymentAspect.startDeploymentBus(BusDeploymentAspect.java:137)
at
org.jboss.wsf.stack.cxf.deployment.aspect.BusDeploymentAspect.start(BusDeploymentAspect.java:69)
at
org.jboss.as.webservices.deployers.AspectDeploymentProcessor.deploy(AspectDeploymentProcessor.java:75)
at
org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:159)
[wildfly-server-8.1.0.Final.jar:8.1.0.Final]
... 5 more
Caused by: java.lang.reflect.UndeclaredThrowableException
at com.sun.proxy.$Proxy30.visitLabel(Unknown Source)
at
org.apache.cxf.jaxws.WrapperClassGenerator.createWrapperClass(WrapperClassGenerator.java:213)
at org.apache.cxf.jaxws.WrapperClassGenerator.generate(WrapperClassGenerator.java:122)
at
org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.generatedWrapperBeanClass(JaxWsServiceFactoryBean.java:683)
at
org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.getExtraClass(JaxWsServiceFactoryBean.java:653)
at
org.apache.cxf.service.factory.ReflectionServiceFactoryBean.buildServiceFromClass(ReflectionServiceFactoryBean.java:484)
at
org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.buildServiceFromClass(JaxWsServiceFactoryBean.java:704)
at
org.apache.cxf.service.factory.ReflectionServiceFactoryBean.initializeServiceModel(ReflectionServiceFactoryBean.java:550)
at
org.apache.cxf.service.factory.ReflectionServiceFactoryBean.create(ReflectionServiceFactoryBean.java:265)
at
org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.create(JaxWsServiceFactoryBean.java:215)
at
org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.createEndpoint(AbstractWSDLBasedEndpointFactory.java:102)
at org.apache.cxf.frontend.ServerFactoryBean.create(ServerFactoryBean.java:159)
at org.apache.cxf.jaxws.JaxWsServerFactoryBean.create(JaxWsServerFactoryBean.java:211)
at org.apache.cxf.jaxws.EndpointImpl.getServer(EndpointImpl.java:456)
at org.apache.cxf.jaxws.EndpointImpl.doPublish(EndpointImpl.java:334)
... 13 more
Caused by: java.lang.NoSuchMethodException:
org.objectweb.asm.MethodWriter.visitLabel(org.objectweb.asm.Label)
at java.lang.Class.getMethod(Class.java:1665) [rt.jar:1.7.0_60]
at
org.apache.cxf.common.util.ReflectionInvokationHandler.invoke(ReflectionInvokationHandler.java:85)
... 28 more
2014-09-12 17:50:30,877 INFO [org.apache.cxf.endpoint.ServerImpl] (MSC service thread
1-1) Setting the server's publish address to be
http://localhost:8080/jboss7-ejb/RandomGeneratorImpl/RandomGeneratorService
2014-09-12 17:50:30,942 INFO [org.jboss.ws.cxf.deployment] (MSC service thread 1-1)
JBWS024074: WSDL published to:
file:/C:/work/wildfly-8.1.0.Final/standalone/data/wsdl/jboss7-ear.ear/jboss7-ejb.jar/RandomGeneratorImpl.wsdl
2014-09-12 17:50:30,981 INFO [org.jboss.as.webservices] (MSC service thread 1-2)
JBAS015539: Starting service
jboss.ws.endpoint."jboss7-ear.ear"."jboss7-ejb.jar".RandomGeneratorService
2014-09-12 17:50:30,991 ERROR [org.jboss.as.controller.management-operation]
(DeploymentScanner-threads - 2) JBAS014613: Operation ("deploy") failed -
address: ([("deployment" => "jboss7-ear.ear")]) - failure
description: {
"JBAS014671: Failed services" =>
{"jboss.deployment.subunit.\"jboss7-ear.ear\".\"jboss7-war.war\".INSTALL"
=> "org.jboss.msc.service.StartException in service
jboss.deployment.subunit.\"jboss7-ear.ear\".\"jboss7-war.war\".INSTALL:
JBAS018733: Failed to process phase INSTALL of subdeployment \"jboss7-war.war\"
of deployment \"jboss7-ear.ear\"
Caused by: javax.xml.ws.WebServiceException:
java.lang.reflect.UndeclaredThrowableException
Caused by: java.lang.reflect.UndeclaredThrowableException
Caused by: java.lang.NoSuchMethodException:
org.objectweb.asm.MethodWriter.visitLabel(org.objectweb.asm.Label)"},
"JBAS014771: Services with missing/unavailable dependencies" => [
"jboss.deployment.unit.\"jboss7-ear.ear\".deploymentCompleteService
is missing
[jboss.deployment.subunit.\"jboss7-ear.ear\".\"jboss7-war.war\".deploymentCompleteService]",
"jboss.deployment.unit.\"jboss7-ear.ear\".WeldStartService is
missing
[jboss.deployment.subunit.\"jboss7-ear.ear\".\"jboss7-war.war\".jndiDependencyService]"
]
}
2014-09-12 17:50:31,035 INFO [org.jboss.as.server] (DeploymentScanner-threads - 2)
JBAS018559: Deployed "jboss7-ear.ear" (runtime-name :
"jboss7-ear.ear")
2014-09-12 17:50:31,037 INFO [org.jboss.as.controller] (DeploymentScanner-threads - 2)
JBAS014774: Service status report
JBAS014775: New missing/unsatisfied dependencies:
service
jboss.deployment.subunit."jboss7-ear.ear"."jboss7-war.war".deploymentCompleteService
(missing) dependents: [service
jboss.deployment.unit."jboss7-ear.ear".deploymentCompleteService]
service
jboss.deployment.subunit."jboss7-ear.ear"."jboss7-war.war".jndiDependencyService
(missing) dependents: [service
jboss.deployment.unit."jboss7-ear.ear".WeldStartService]
JBAS014777: Services which failed to start: service
jboss.deployment.subunit."jboss7-ear.ear"."jboss7-war.war".INSTALL:
org.jboss.msc.service.StartException in service
jboss.deployment.subunit."jboss7-ear.ear"."jboss7-war.war".INSTALL:
JBAS018733: Failed to process phase INSTALL of subdeployment "jboss7-war.war" of
deployment "jboss7-ear.ear"
2014-09-12 17:50:38,557 ERROR [stderr] (XNIO-1 task-5) java.lang.IllegalArgumentException:
UT000024: An invalidly formatted nonce has been received.
2014-09-12 17:50:38,558 ERROR [stderr] (XNIO-1 task-5) at
io.undertow.security.impl.SimpleNonceManager.verifyUnknownNonce(SimpleNonceManager.java:375)
2014-09-12 17:50:38,559 ERROR [stderr] (XNIO-1 task-5) at
io.undertow.security.impl.SimpleNonceManager.validateNonce(SimpleNonceManager.java:258)
2014-09-12 17:50:38,559 ERROR [stderr] (XNIO-1 task-5) at
io.undertow.security.impl.DigestAuthenticationMechanism.validateNonceUse(DigestAuthenticationMechanism.java:331)
2014-09-12 17:50:38,560 ERROR [stderr] (XNIO-1 task-5) at
io.undertow.security.impl.DigestAuthenticationMechanism.handleDigestHeader(DigestAuthenticationMechanism.java:276)
2014-09-12 17:50:38,561 ERROR [stderr] (XNIO-1 task-5) at
io.undertow.security.impl.DigestAuthenticationMechanism.authenticate(DigestAuthenticationMechanism.java:149)
2014-09-12 17:50:38,561 ERROR [stderr] (XNIO-1 task-5) at
org.jboss.as.domain.http.server.security.AuthenticationMechanismWrapper.authenticate(AuthenticationMechanismWrapper.java:57)
2014-09-12 17:50:38,562 ERROR [stderr] (XNIO-1 task-5) at
io.undertow.security.impl.SecurityContextImpl$AuthAttempter.transition(SecurityContextImpl.java:281)
2014-09-12 17:50:38,562 ERROR [stderr] (XNIO-1 task-5) at
io.undertow.security.impl.SecurityContextImpl$AuthAttempter.transition(SecurityContextImpl.java:298)
2014-09-12 17:50:38,563 ERROR [stderr] (XNIO-1 task-5) at
io.undertow.security.impl.SecurityContextImpl$AuthAttempter.access$100(SecurityContextImpl.java:268)
2014-09-12 17:50:38,563 ERROR [stderr] (XNIO-1 task-5) at
io.undertow.security.impl.SecurityContextImpl.attemptAuthentication(SecurityContextImpl.java:131)
2014-09-12 17:50:38,563 ERROR [stderr] (XNIO-1 task-5) at
io.undertow.security.impl.SecurityContextImpl.authTransition(SecurityContextImpl.java:106)
2014-09-12 17:50:38,564 ERROR [stderr] (XNIO-1 task-5) at
io.undertow.security.impl.SecurityContextImpl.authenticate(SecurityContextImpl.java:99)
2014-09-12 17:50:38,564 ERROR [stderr] (XNIO-1 task-5) at
io.undertow.security.handlers.AuthenticationCallHandler.handleRequest(AuthenticationCallHandler.java:50)
2014-09-12 17:50:38,565 ERROR [stderr] (XNIO-1 task-5) at
io.undertow.server.Connectors.executeRootHandler(Connectors.java:177)
2014-09-12 17:50:38,565 ERROR [stderr] (XNIO-1 task-5) at
io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:727)
2014-09-12 17:50:38,565 ERROR [stderr] (XNIO-1 task-5) at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
2014-09-12 17:50:38,566 ERROR [stderr] (XNIO-1 task-5) at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
2014-09-12 17:50:38,566 ERROR [stderr] (XNIO-1 task-5) at
java.lang.Thread.run(Thread.java:745)
was:
I was made a prototype project 'maven-ws-prototype' for showing a trouble WildFly
8.1 with Spring 3.1.
This maven EAR project is contains 2 WebServices. I attached Spring dependencies In
'war' submodule. I don't use them in java classes.
Project has been successfully deployed into JBoss 7.1.1 but didn't deployed in WildFly
8.1.
GitHub:
https://github.com/DmitriySh/maven-ws-prototype
If everything ok links might be invoke.
http://localhost:8080/jboss7-war/CalculatorImpl?wsdl
http://localhost:8080/jboss7-ejb/RandomGeneratorImpl/RandomGeneratorServi...
Stack trace:
---------------
2014-09-12 16:10:47,420 INFO
[org.apache.cxf.service.factory.ReflectionServiceFactoryBean] (MSC service thread 1-2)
Creating Service {http://service.servlet.jaxws.company.com}CalculatorImpl from class
com.company.jaxws.servlet.service.Calculator
2014-09-12 16:10:47,420 INFO
[org.apache.cxf.service.factory.ReflectionServiceFactoryBean] (MSC service thread 1-1)
Creating Service {http://service.ejb.jaxws.company.com}RandomGeneratorImpl from class
com.company.jaxws.ejb.service.RandomGenerator
2014-09-12 16:10:47,474 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2)
MSC000001: Failed to start service
jboss.deployment.subunit."jboss7-ear.ear"."jboss7-war.war".INSTALL:
org.jboss.msc.service.StartException in service
jboss.deployment.subunit."jboss7-ear.ear"."jboss7-war.war".INSTALL:
JBAS018733: Failed to process phase INSTALL of subdeployment "jboss7-war.war" of
deployment "jboss7-ear.ear"
at
org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:166)
[wildfly-server-8.1.0.Final.jar:8.1.0.Final]
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948)
[jboss-msc-1.2.2.Final.jar:1.2.2.Final]
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881)
[jboss-msc-1.2.2.Final.jar:1.2.2.Final]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
[rt.jar:1.7.0_60]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
[rt.jar:1.7.0_60]
at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_60]
Caused by: javax.xml.ws.WebServiceException:
java.lang.reflect.UndeclaredThrowableException
at org.apache.cxf.jaxws.EndpointImpl.doPublish(EndpointImpl.java:371)
at org.jboss.wsf.stack.cxf.deployment.EndpointImpl.doPublish(EndpointImpl.java:66)
at org.apache.cxf.jaxws.EndpointImpl.publish(EndpointImpl.java:251)
at org.apache.cxf.jaxws.EndpointImpl.publish(EndpointImpl.java:539)
at
org.jboss.wsf.stack.cxf.configuration.NonSpringBusHolder.configure(NonSpringBusHolder.java:117)
at
org.jboss.wsf.stack.cxf.deployment.aspect.BusDeploymentAspect.startDeploymentBus(BusDeploymentAspect.java:137)
at
org.jboss.wsf.stack.cxf.deployment.aspect.BusDeploymentAspect.start(BusDeploymentAspect.java:69)
at
org.jboss.as.webservices.deployers.AspectDeploymentProcessor.deploy(AspectDeploymentProcessor.java:75)
at
org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:159)
[wildfly-server-8.1.0.Final.jar:8.1.0.Final]
... 5 more
Caused by: java.lang.reflect.UndeclaredThrowableException
at com.sun.proxy.$Proxy30.visitLabel(Unknown Source)
at
org.apache.cxf.jaxws.WrapperClassGenerator.createWrapperClass(WrapperClassGenerator.java:213)
at org.apache.cxf.jaxws.WrapperClassGenerator.generate(WrapperClassGenerator.java:122)
at
org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.generatedWrapperBeanClass(JaxWsServiceFactoryBean.java:683)
at
org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.getExtraClass(JaxWsServiceFactoryBean.java:653)
at
org.apache.cxf.service.factory.ReflectionServiceFactoryBean.buildServiceFromClass(ReflectionServiceFactoryBean.java:484)
at
org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.buildServiceFromClass(JaxWsServiceFactoryBean.java:704)
at
org.apache.cxf.service.factory.ReflectionServiceFactoryBean.initializeServiceModel(ReflectionServiceFactoryBean.java:550)
at
org.apache.cxf.service.factory.ReflectionServiceFactoryBean.create(ReflectionServiceFactoryBean.java:265)
at
org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.create(JaxWsServiceFactoryBean.java:215)
at
org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.createEndpoint(AbstractWSDLBasedEndpointFactory.java:102)
at org.apache.cxf.frontend.ServerFactoryBean.create(ServerFactoryBean.java:159)
at org.apache.cxf.jaxws.JaxWsServerFactoryBean.create(JaxWsServerFactoryBean.java:211)
at org.apache.cxf.jaxws.EndpointImpl.getServer(EndpointImpl.java:456)
at org.apache.cxf.jaxws.EndpointImpl.doPublish(EndpointImpl.java:334)
... 13 more
Caused by: java.lang.NoSuchMethodException:
org.objectweb.asm.MethodWriter.visitLabel(org.objectweb.asm.Label)
at java.lang.Class.getMethod(Class.java:1665) [rt.jar:1.7.0_60]
at
org.apache.cxf.common.util.ReflectionInvokationHandler.invoke(ReflectionInvokationHandler.java:85)
... 28 more
2014-09-12 16:10:47,829 INFO [org.apache.cxf.endpoint.ServerImpl] (MSC service thread
1-1) Setting the server's publish address to be
http://localhost:8080/jboss7-ejb/RandomGeneratorImpl/RandomGeneratorService
2014-09-12 16:10:47,901 INFO [org.jboss.ws.cxf.deployment] (MSC service thread 1-1)
JBWS024074: WSDL published to:
file:/C:/work/wildfly-8.1.0.Final/standalone/data/wsdl/jboss7-ear.ear/jboss7-ejb.jar/RandomGeneratorImpl.wsdl
2014-09-12 16:10:47,940 INFO [org.jboss.as.webservices] (MSC service thread 1-3)
JBAS015539: Starting service
jboss.ws.endpoint."jboss7-ear.ear"."jboss7-ejb.jar".RandomGeneratorService
2014-09-12 16:10:47,952 ERROR [org.jboss.as.controller.management-operation]
(DeploymentScanner-threads - 1) JBAS014613: Operation ("deploy") failed -
address: ([("deployment" => "jboss7-ear.ear")]) - failure
description: {
"JBAS014671: Failed services" =>
{"jboss.deployment.subunit.\"jboss7-ear.ear\".\"jboss7-war.war\".INSTALL"
=> "org.jboss.msc.service.StartException in service
jboss.deployment.subunit.\"jboss7-ear.ear\".\"jboss7-war.war\".INSTALL:
JBAS018733: Failed to process phase INSTALL of subdeployment \"jboss7-war.war\"
of deployment \"jboss7-ear.ear\"
Caused by: javax.xml.ws.WebServiceException:
java.lang.reflect.UndeclaredThrowableException
Caused by: java.lang.reflect.UndeclaredThrowableException
Caused by: java.lang.NoSuchMethodException:
org.objectweb.asm.MethodWriter.visitLabel(org.objectweb.asm.Label)"},
"JBAS014771: Services with missing/unavailable dependencies" => [
"jboss.deployment.unit.\"jboss7-ear.ear\".deploymentCompleteService
is missing
[jboss.deployment.subunit.\"jboss7-ear.ear\".\"jboss7-war.war\".deploymentCompleteService]",
"jboss.deployment.unit.\"jboss7-ear.ear\".WeldStartService is
missing
[jboss.deployment.subunit.\"jboss7-ear.ear\".\"jboss7-war.war\".jndiDependencyService]"
]
}
2014-09-12 16:10:47,995 INFO [org.jboss.as.server] (DeploymentScanner-threads - 1)
JBAS018559: Deployed "jboss7-ear.ear" (runtime-name :
"jboss7-ear.ear")
2014-09-12 16:10:47,996 INFO [org.jboss.as.controller] (DeploymentScanner-threads - 1)
JBAS014774: Service status report
JBAS014775: New missing/unsatisfied dependencies:
service
jboss.deployment.subunit."jboss7-ear.ear"."jboss7-war.war".deploymentCompleteService
(missing) dependents: [service
jboss.deployment.unit."jboss7-ear.ear".deploymentCompleteService]
service
jboss.deployment.subunit."jboss7-ear.ear"."jboss7-war.war".jndiDependencyService
(missing) dependents: [service
jboss.deployment.unit."jboss7-ear.ear".WeldStartService]
JBAS014777: Services which failed to start: service
jboss.deployment.subunit."jboss7-ear.ear"."jboss7-war.war".INSTALL:
org.jboss.msc.service.StartException in service
jboss.deployment.subunit."jboss7-ear.ear"."jboss7-war.war".INSTALL:
JBAS018733: Failed to process phase INSTALL of subdeployment "jboss7-war.war" of
deployment "jboss7-ear.ear"
2014-09-12 16:35:13,655 INFO [org.jboss.as.webservices] (MSC service thread 1-7)
JBAS015540: Stopping service
jboss.ws.endpoint."jboss7-ear.ear"."jboss7-ejb.jar".RandomGeneratorService
2014-09-12 16:35:13,662 INFO [org.wildfly.extension.undertow] (MSC service thread 1-4)
JBAS017532: Host default-host stopping
2014-09-12 16:35:13,664 INFO [org.jboss.weld.deployer] (MSC service thread 1-5)
JBAS016009: Stopping weld service for deployment jboss7-ear.ear
2014-09-12 16:35:13,673 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service
thread 1-8) JBAS010409: Unbound data source [java:jboss/datasources/ExampleDS]
2014-09-12 16:35:13,686 INFO [org.jboss.as.connector.deployers.jdbc] (MSC service thread
1-8) JBAS010418: Stopped Driver service with driver-name = h2
2014-09-12 16:35:13,714 INFO [org.wildfly.extension.undertow] (MSC service thread 1-3)
JBAS017521: Undertow HTTP listener default suspending
2014-09-12 16:35:13,716 INFO [org.wildfly.extension.undertow] (MSC service thread 1-3)
JBAS017520: Undertow HTTP listener default stopped, was bound to /127.0.0.1:8080
2014-09-12 16:35:13,719 INFO [org.wildfly.extension.undertow] (MSC service thread 1-3)
JBAS017506: Undertow 1.0.15.Final stopping
2014-09-12 16:35:13,723 INFO [org.jboss.as.server.deployment] (MSC service thread 1-3)
JBAS015974: Stopped subdeployment (runtime-name: jboss7-ejb.jar) in 70ms
2014-09-12 16:35:13,862 INFO [org.jboss.as.server.deployment] (MSC service thread 1-4)
JBAS015974: Stopped subdeployment (runtime-name: jboss7-war.war) in 199ms
2014-09-12 16:35:13,867 INFO [org.jboss.as.server.deployment] (MSC service thread 1-1)
JBAS015877: Stopped deployment jboss7-ear.ear (runtime-name: jboss7-ear.ear) in 206ms
2014-09-12 16:35:13,870 INFO [org.jboss.as] (MSC service thread 1-7) JBAS015950: WildFly
8.1.0.Final "Kenny" stopped in 188ms
JAX-WS RI (Metro) 2.2 was changed to JBoss JAX-WS Implementation 2.2.
---
Tasks:
* Project needs to be well work with Spring 3.x.
* Unfortunately this can't be done: JBoss 7.1.1 everything is ok, but WildFly 8.1.0
have trouble by deploying.
Is it trouble with class load asm.jar?
WildFly 8.1 + JAX-WS and attaching Spring dependency
----------------------------------------------------
Key: WFLY-3851
URL:
https://issues.jboss.org/browse/WFLY-3851
Project: WildFly
Issue Type: Task
Components: EE
Affects Versions: 8.1.0.Final
Environment: Java(TM) SE Runtime Environment (build 1.7.0_60-b19)
Java HotSpot(TM) 64-Bit Server VM (build 24.60-b09, mixed mode)
WildFly 8.1.0 Final
Spring 3.1.1
JBossWS 2.2
Windows 7
Reporter: Dmitriy Shishmakov
Assignee: Alessio Soldano
Attachments: server.log
I was made a prototype project 'maven-ws-prototype' for showing a trouble WildFly
8.1 with Spring 3.1.
This maven EAR project is contains 2 WebServices. I attached Spring dependencies In
'war' submodule. I don't use them in java classes.
Project has been successfully deployed into JBoss 7.1.1 but didn't deployed in
WildFly 8.1.
GitHub:
https://github.com/DmitriySh/maven-ws-prototype
If everything ok links might be invoke.
http://localhost:8080/jboss7-war/CalculatorImpl?wsdl
http://localhost:8080/jboss7-ejb/RandomGeneratorImpl/RandomGeneratorServi...
Stack trace:
---------------
2014-09-12 17:50:30,502 INFO
[org.apache.cxf.service.factory.ReflectionServiceFactoryBean] (MSC service thread 1-1)
Creating Service {http://service.ejb.jaxws.company.com}RandomGeneratorImpl from class
com.company.jaxws.ejb.service.RandomGenerator
2014-09-12 17:50:30,502 INFO
[org.apache.cxf.service.factory.ReflectionServiceFactoryBean] (MSC service thread 1-2)
Creating Service {http://service.servlet.jaxws.company.com}CalculatorImpl from class
com.company.jaxws.servlet.service.Calculator
2014-09-12 17:50:30,556 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2)
MSC000001: Failed to start service
jboss.deployment.subunit."jboss7-ear.ear"."jboss7-war.war".INSTALL:
org.jboss.msc.service.StartException in service
jboss.deployment.subunit."jboss7-ear.ear"."jboss7-war.war".INSTALL:
JBAS018733: Failed to process phase INSTALL of subdeployment "jboss7-war.war" of
deployment "jboss7-ear.ear"
at
org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:166)
[wildfly-server-8.1.0.Final.jar:8.1.0.Final]
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948)
[jboss-msc-1.2.2.Final.jar:1.2.2.Final]
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881)
[jboss-msc-1.2.2.Final.jar:1.2.2.Final]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
[rt.jar:1.7.0_60]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
[rt.jar:1.7.0_60]
at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_60]
Caused by: javax.xml.ws.WebServiceException:
java.lang.reflect.UndeclaredThrowableException
at org.apache.cxf.jaxws.EndpointImpl.doPublish(EndpointImpl.java:371)
at org.jboss.wsf.stack.cxf.deployment.EndpointImpl.doPublish(EndpointImpl.java:66)
at org.apache.cxf.jaxws.EndpointImpl.publish(EndpointImpl.java:251)
at org.apache.cxf.jaxws.EndpointImpl.publish(EndpointImpl.java:539)
at
org.jboss.wsf.stack.cxf.configuration.NonSpringBusHolder.configure(NonSpringBusHolder.java:117)
at
org.jboss.wsf.stack.cxf.deployment.aspect.BusDeploymentAspect.startDeploymentBus(BusDeploymentAspect.java:137)
at
org.jboss.wsf.stack.cxf.deployment.aspect.BusDeploymentAspect.start(BusDeploymentAspect.java:69)
at
org.jboss.as.webservices.deployers.AspectDeploymentProcessor.deploy(AspectDeploymentProcessor.java:75)
at
org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:159)
[wildfly-server-8.1.0.Final.jar:8.1.0.Final]
... 5 more
Caused by: java.lang.reflect.UndeclaredThrowableException
at com.sun.proxy.$Proxy30.visitLabel(Unknown Source)
at
org.apache.cxf.jaxws.WrapperClassGenerator.createWrapperClass(WrapperClassGenerator.java:213)
at org.apache.cxf.jaxws.WrapperClassGenerator.generate(WrapperClassGenerator.java:122)
at
org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.generatedWrapperBeanClass(JaxWsServiceFactoryBean.java:683)
at
org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.getExtraClass(JaxWsServiceFactoryBean.java:653)
at
org.apache.cxf.service.factory.ReflectionServiceFactoryBean.buildServiceFromClass(ReflectionServiceFactoryBean.java:484)
at
org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.buildServiceFromClass(JaxWsServiceFactoryBean.java:704)
at
org.apache.cxf.service.factory.ReflectionServiceFactoryBean.initializeServiceModel(ReflectionServiceFactoryBean.java:550)
at
org.apache.cxf.service.factory.ReflectionServiceFactoryBean.create(ReflectionServiceFactoryBean.java:265)
at
org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.create(JaxWsServiceFactoryBean.java:215)
at
org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.createEndpoint(AbstractWSDLBasedEndpointFactory.java:102)
at org.apache.cxf.frontend.ServerFactoryBean.create(ServerFactoryBean.java:159)
at org.apache.cxf.jaxws.JaxWsServerFactoryBean.create(JaxWsServerFactoryBean.java:211)
at org.apache.cxf.jaxws.EndpointImpl.getServer(EndpointImpl.java:456)
at org.apache.cxf.jaxws.EndpointImpl.doPublish(EndpointImpl.java:334)
... 13 more
Caused by: java.lang.NoSuchMethodException:
org.objectweb.asm.MethodWriter.visitLabel(org.objectweb.asm.Label)
at java.lang.Class.getMethod(Class.java:1665) [rt.jar:1.7.0_60]
at
org.apache.cxf.common.util.ReflectionInvokationHandler.invoke(ReflectionInvokationHandler.java:85)
... 28 more
2014-09-12 17:50:30,877 INFO [org.apache.cxf.endpoint.ServerImpl] (MSC service thread
1-1) Setting the server's publish address to be
http://localhost:8080/jboss7-ejb/RandomGeneratorImpl/RandomGeneratorService
2014-09-12 17:50:30,942 INFO [org.jboss.ws.cxf.deployment] (MSC service thread 1-1)
JBWS024074: WSDL published to:
file:/C:/work/wildfly-8.1.0.Final/standalone/data/wsdl/jboss7-ear.ear/jboss7-ejb.jar/RandomGeneratorImpl.wsdl
2014-09-12 17:50:30,981 INFO [org.jboss.as.webservices] (MSC service thread 1-2)
JBAS015539: Starting service
jboss.ws.endpoint."jboss7-ear.ear"."jboss7-ejb.jar".RandomGeneratorService
2014-09-12 17:50:30,991 ERROR [org.jboss.as.controller.management-operation]
(DeploymentScanner-threads - 2) JBAS014613: Operation ("deploy") failed -
address: ([("deployment" => "jboss7-ear.ear")]) - failure
description: {
"JBAS014671: Failed services" =>
{"jboss.deployment.subunit.\"jboss7-ear.ear\".\"jboss7-war.war\".INSTALL"
=> "org.jboss.msc.service.StartException in service
jboss.deployment.subunit.\"jboss7-ear.ear\".\"jboss7-war.war\".INSTALL:
JBAS018733: Failed to process phase INSTALL of subdeployment \"jboss7-war.war\"
of deployment \"jboss7-ear.ear\"
Caused by: javax.xml.ws.WebServiceException:
java.lang.reflect.UndeclaredThrowableException
Caused by: java.lang.reflect.UndeclaredThrowableException
Caused by: java.lang.NoSuchMethodException:
org.objectweb.asm.MethodWriter.visitLabel(org.objectweb.asm.Label)"},
"JBAS014771: Services with missing/unavailable dependencies" => [
"jboss.deployment.unit.\"jboss7-ear.ear\".deploymentCompleteService is
missing
[jboss.deployment.subunit.\"jboss7-ear.ear\".\"jboss7-war.war\".deploymentCompleteService]",
"jboss.deployment.unit.\"jboss7-ear.ear\".WeldStartService is
missing
[jboss.deployment.subunit.\"jboss7-ear.ear\".\"jboss7-war.war\".jndiDependencyService]"
]
}
2014-09-12 17:50:31,035 INFO [org.jboss.as.server] (DeploymentScanner-threads - 2)
JBAS018559: Deployed "jboss7-ear.ear" (runtime-name :
"jboss7-ear.ear")
2014-09-12 17:50:31,037 INFO [org.jboss.as.controller] (DeploymentScanner-threads - 2)
JBAS014774: Service status report
JBAS014775: New missing/unsatisfied dependencies:
service
jboss.deployment.subunit."jboss7-ear.ear"."jboss7-war.war".deploymentCompleteService
(missing) dependents: [service
jboss.deployment.unit."jboss7-ear.ear".deploymentCompleteService]
service
jboss.deployment.subunit."jboss7-ear.ear"."jboss7-war.war".jndiDependencyService
(missing) dependents: [service
jboss.deployment.unit."jboss7-ear.ear".WeldStartService]
JBAS014777: Services which failed to start: service
jboss.deployment.subunit."jboss7-ear.ear"."jboss7-war.war".INSTALL:
org.jboss.msc.service.StartException in service
jboss.deployment.subunit."jboss7-ear.ear"."jboss7-war.war".INSTALL:
JBAS018733: Failed to process phase INSTALL of subdeployment "jboss7-war.war" of
deployment "jboss7-ear.ear"
2014-09-12 17:50:38,557 ERROR [stderr] (XNIO-1 task-5)
java.lang.IllegalArgumentException: UT000024: An invalidly formatted nonce has been
received.
2014-09-12 17:50:38,558 ERROR [stderr] (XNIO-1 task-5) at
io.undertow.security.impl.SimpleNonceManager.verifyUnknownNonce(SimpleNonceManager.java:375)
2014-09-12 17:50:38,559 ERROR [stderr] (XNIO-1 task-5) at
io.undertow.security.impl.SimpleNonceManager.validateNonce(SimpleNonceManager.java:258)
2014-09-12 17:50:38,559 ERROR [stderr] (XNIO-1 task-5) at
io.undertow.security.impl.DigestAuthenticationMechanism.validateNonceUse(DigestAuthenticationMechanism.java:331)
2014-09-12 17:50:38,560 ERROR [stderr] (XNIO-1 task-5) at
io.undertow.security.impl.DigestAuthenticationMechanism.handleDigestHeader(DigestAuthenticationMechanism.java:276)
2014-09-12 17:50:38,561 ERROR [stderr] (XNIO-1 task-5) at
io.undertow.security.impl.DigestAuthenticationMechanism.authenticate(DigestAuthenticationMechanism.java:149)
2014-09-12 17:50:38,561 ERROR [stderr] (XNIO-1 task-5) at
org.jboss.as.domain.http.server.security.AuthenticationMechanismWrapper.authenticate(AuthenticationMechanismWrapper.java:57)
2014-09-12 17:50:38,562 ERROR [stderr] (XNIO-1 task-5) at
io.undertow.security.impl.SecurityContextImpl$AuthAttempter.transition(SecurityContextImpl.java:281)
2014-09-12 17:50:38,562 ERROR [stderr] (XNIO-1 task-5) at
io.undertow.security.impl.SecurityContextImpl$AuthAttempter.transition(SecurityContextImpl.java:298)
2014-09-12 17:50:38,563 ERROR [stderr] (XNIO-1 task-5) at
io.undertow.security.impl.SecurityContextImpl$AuthAttempter.access$100(SecurityContextImpl.java:268)
2014-09-12 17:50:38,563 ERROR [stderr] (XNIO-1 task-5) at
io.undertow.security.impl.SecurityContextImpl.attemptAuthentication(SecurityContextImpl.java:131)
2014-09-12 17:50:38,563 ERROR [stderr] (XNIO-1 task-5) at
io.undertow.security.impl.SecurityContextImpl.authTransition(SecurityContextImpl.java:106)
2014-09-12 17:50:38,564 ERROR [stderr] (XNIO-1 task-5) at
io.undertow.security.impl.SecurityContextImpl.authenticate(SecurityContextImpl.java:99)
2014-09-12 17:50:38,564 ERROR [stderr] (XNIO-1 task-5) at
io.undertow.security.handlers.AuthenticationCallHandler.handleRequest(AuthenticationCallHandler.java:50)
2014-09-12 17:50:38,565 ERROR [stderr] (XNIO-1 task-5) at
io.undertow.server.Connectors.executeRootHandler(Connectors.java:177)
2014-09-12 17:50:38,565 ERROR [stderr] (XNIO-1 task-5) at
io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:727)
2014-09-12 17:50:38,565 ERROR [stderr] (XNIO-1 task-5) at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
2014-09-12 17:50:38,566 ERROR [stderr] (XNIO-1 task-5) at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
2014-09-12 17:50:38,566 ERROR [stderr] (XNIO-1 task-5) at
java.lang.Thread.run(Thread.java:745)
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)