How to deploy Filenet ISRA resource adapter under JBoss EAP 6.1.0
Issue
I'm trying to deploy a resource adapter under JBoss EAP 6.1.0. In our old JBoss 4.0.5 I just had to copy over the RAR archive and the *-ds.xml datasource definition to the deploy folder and it worked.
Archive: TESTApp.rar
JNDI:java:/TESTApp
Enabled?:true
Connection Class: javax.resource.cci.ConnectionFactory
Then I tried to deploy the RAR archive in EAP 6.1.0 , but I got the following exception
ERROR [org.jboss.msc.service.fail] (MSC service thread 1-1) MSC000001: Failed to start service jboss.deployment.unit."TESTApp.rar".PARSE: org.jboss.msc.service.StartException in service jboss.deployment.unit."TESTApp.rar".PARSE: JBAS018733: Failed to process phase PARSE of deployment "TESTApp.rar"
at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:127) [jboss-as-server-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.4.GA-redhat-1.jar:1.0.4.GA-redhat-1]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.4.GA-redhat-1.jar:1.0.4.GA-redhat-1]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [rt.jar:1.7.0_03]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [rt.jar:1.7.0_03]
at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_03]
Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: JBAS010443: Failed to parse service xml ["/content/TESTApp/META-INF/ra.xml"]
at org.jboss.as.connector.deployers.ra.processors.RaDeploymentParsingProcessor.process(RaDeploymentParsingProcessor.java:124)
at org.jboss.as.connector.deployers.ra.processors.RaDeploymentParsingProcessor.deploy(RaDeploymentParsingProcessor.java:92)
at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:120) [jboss-as-server-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]
... 5 more
Caused by: java.lang.IllegalArgumentException: fullQualifiedName should be one of javax.resource.spi.security.PasswordCredential; org.ietf.jgss.GSSCredential;javax.resource.spi.security.GenericCredential
at org.jboss.jca.common.api.metadata.ra.CredentialInterfaceEnum.forName(CredentialInterfaceEnum.java:89)
at org.jboss.jca.common.metadata.ra.RaParser.parseAuthenticationMechanism(RaParser.java:1147)
at org.jboss.jca.common.metadata.ra.RaParser.parseResourceAdapter10(RaParser.java:641)
at org.jboss.jca.common.metadata.ra.RaParser.parseConnector10(RaParser.java:252)
at org.jboss.jca.common.metadata.ra.RaParser.parse(RaParser.java:165)
at org.jboss.jca.common.metadata.ra.RaParser.parse(RaParser.java:107)
at org.jboss.as.connector.deployers.ra.processors.RaDeploymentParsingProcessor.process(RaDeploymentParsingProcessor.java:115)
... 7 more
Then I unpacked the TESTApp.rar to jboss-eap-6./standalone/deployments which worked without exception. But I cannot see the JNDI binding for: java:/TESTApp . Which steps did I miss?
Environment
Red Hat JBoss Enterprise Application Platform (EAP) 6.1.0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.