-
Bug
-
Resolution: Done
-
Major
-
8.0.0.Beta1
-
None
Usually I see this when deploying my RA:
21:30:53,599 INFO org.jboss.as.server.deployment#start JBAS015876: Starting deployment of "filesystem.rar" (runtime-name: "filesystem.rar")
21:30:53,745 INFO org.jboss.as.connector.deployment#bindConnectionFactory JBAS010406: Registered connection factory java:/Filesystem
21:30:53,750 INFO org.jboss.as.connector.deployers.RaXmlDeployer#createObjectsAndInjectValue IJ020002: Deployed: file:/mbi/tools/jboss/8.0/standalone/tmp/vfs/temp8a8dd6af6d60d261/filesystem.rar-acf9504f544e0a1d/contents/
21:30:53,764 INFO org.jboss.as.connector.deployment#transition JBAS010401: Bound JCA ConnectionFactory [java:/Filesystem]
21:30:53,822 INFO org.jboss.as.server#handleResult JBAS018559: Deployed "filesystem.rar" (runtime-name : "filesystem.rar")
Because JCA 1.7 was introduced to head at github I changed header of ra.xml to 1.7 version.
But then I no longer see the line
21:30:53,764 INFO org.jboss.as.connector.deployment#transition JBAS010401: Bound JCA ConnectionFactory [java:/Filesystem]
I did not specify the <outbound-resourceadapter> in ra.xml.
Another adapter is working fine after version upgrade.
So I added the <outbound-resourceadapter> also to the now failing one.
But this gives this now:
21:35:57,797 INFO org.jboss.as.server.deployment#start JBAS015876: Starting deployment of "filesystem.rar" (runtime-name: "filesystem.rar")
21:35:57,941 ERROR org.jboss.msc.service.fail#startFailed MSC000001: Failed to start service jboss.ra.deployment."filesystem.rar_4": org.jboss.msc.service.StartException in service jboss.ra.deployment."filesystem.rar_4": org.jboss.msc.service.StartException in anonymous service: JBAS010446: Failed to start RA deployment [filesystem]
at org.jboss.as.connector.services.resourceadapters.deployment.ResourceAdapterXmlDeploymentService.start(ResourceAdapterXmlDeploymentService.java:136)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1944) [jboss-msc-1.2.0.Beta2.jar:1.2.0.Beta2]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1877) [jboss-msc-1.2.0.Beta2.jar:1.2.0.Beta2]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_40]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_40]
at java.lang.Thread.run(Thread.java:724) [rt.jar:1.7.0_40]
Caused by: org.jboss.msc.service.StartException in anonymous service: JBAS010446: Failed to start RA deployment [filesystem]
at org.jboss.as.connector.services.resourceadapters.deployment.ResourceAdapterXmlDeploymentService.start(ResourceAdapterXmlDeploymentService.java:120)
... 5 more
Caused by: org.jboss.jca.deployers.common.DeployException: IJ020056: Deployment failed: file:/mbi/tools/jboss/8.0/standalone/tmp/vfs/temp8a8dd6af6d60d261/filesystem.rar-c256d8da3c2df580/contents/
at org.jboss.jca.deployers.common.AbstractResourceAdapterDeployer.createObjectsAndInjectValue(AbstractResourceAdapterDeployer.java:2564)
at org.jboss.as.connector.services.resourceadapters.deployment.ResourceAdapterXmlDeploymentService$AS7RaXmlDeployer.doDeploy(ResourceAdapterXmlDeploymentService.java:197)
at org.jboss.as.connector.services.resourceadapters.deployment.ResourceAdapterXmlDeploymentService.start(ResourceAdapterXmlDeploymentService.java:113)
... 5 more
Caused by: java.lang.NullPointerException
at org.jboss.jca.common.metadata.ra.common.OutboundResourceAdapterImpl.getReauthenticationSupport(OutboundResourceAdapterImpl.java:182)
at org.jboss.jca.deployers.common.AbstractResourceAdapterDeployer.createObjectsAndInjectValue(AbstractResourceAdapterDeployer.java:2073)
... 7 more
21:35:57,962 ERROR org.jboss.as.controller.management-operation#executeStep JBAS014613: Operation ("deploy") failed - address: ([("deployment" => "filesystem.rar")]) - failure description: {"JBAS014671: Failed services" => {"jboss.ra.deployment.\"filesystem.rar_4\"" => "org.jboss.msc.service.StartException in service jboss.ra.deployment.\"filesystem.rar_4\": org.jboss.msc.service.StartException in anonymous service: JBAS010446: Failed to start RA deployment [filesystem]
Caused by: org.jboss.msc.service.StartException in anonymous service: JBAS010446: Failed to start RA deployment [filesystem]
Caused by: org.jboss.jca.deployers.common.DeployException: IJ020056: Deployment failed: file:/mbi/tools/jboss/8.0/standalone/tmp/vfs/temp8a8dd6af6d60d261/filesystem.rar-c256d8da3c2df580/contents/
Caused by: java.lang.NullPointerException"}}
21:35:57,982 ERROR org.jboss.as.server#handleResult JBAS015870: Deploy of deployment "filesystem.rar" was rolled back with the following failure message:
{"JBAS014671: Failed services" => {"jboss.ra.deployment.\"filesystem.rar_4\"" => "org.jboss.msc.service.StartException in service jboss.ra.deployment.\"filesystem.rar_4\": org.jboss.msc.service.StartException in anonymous service: JBAS010446: Failed to start RA deployment [filesystem]
Caused by: org.jboss.msc.service.StartException in anonymous service: JBAS010446: Failed to start RA deployment [filesystem]
Caused by: org.jboss.jca.deployers.common.DeployException: IJ020056: Deployment failed: file:/mbi/tools/jboss/8.0/standalone/tmp/vfs/temp8a8dd6af6d60d261/filesystem.rar-c256d8da3c2df580/contents/
Caused by: java.lang.NullPointerException"}}
21:35:58,011 INFO org.jboss.as.server.deployment#stop JBAS015877: Stopped deployment filesystem.rar (runtime-name: filesystem.rar) in 24ms
Adding also <reauthentication-support>false</reauthentication-support> solves this NPE, the RA gets deployed and bound to JNDI again.
- relates to
-
JBJCA-1132 Fix NPE of reauthenticationSupport in OutboundResourceAdapterImpl
- Closed