1 Reply Latest reply on Dec 15, 2011 12:40 PM by Jesper Pedersen

    JCA deployment

    Mandar Kulkarni Newbie

      I am getting following error when i try to deploy a custom JCA resource adapter on JBoss.

       

      12:39:01,672 ERROR [org.jboss.msc.service] (MSC service thread 1-4) MSC00002: Invocation of listener "org.jboss.as.connector.deployers.processors.RaXmlDeploymentProcessor$1@35cfb8d3" failed: java.lang.ClassCastException:

      org.jboss.as.connector.metadata.deployment.ResourceAdapterXmlDeploymentService cannot be cast to org.jboss.as.connector.metadata.deployment.ResourceAdapterDeploymentService

              at org.jboss.as.connector.deployers.processors.RaXmlDeploymentProcessor$1.transition(RaXmlDeploymentProcessor.java:168) [jboss-as-connector-7.1.0.CR1-SNAPSHOT.jar:]

              at org.jboss.msc.service.ServiceControllerImpl.invokeListener(ServiceControllerImpl.java:1429) [jboss-msc-1.0.1.GA.jar:]

              at org.jboss.msc.service.ServiceControllerImpl.access$2600(ServiceControllerImpl.java:49) [jboss-msc-1.0.1.GA.jar:]

              at org.jboss.msc.service.ServiceControllerImpl$ListenerTask.run(ServiceControllerImpl.java:1952) [jboss-msc-1.0.1.GA.jar:]

              at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [:1.6.0_20]

              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [:1.6.0_20]

              at java.lang.Thread.run(Thread.java:619) [:1.6.0_20].

       

      Any suggestions ???

      I have configured a subsystem in standalone.xml and using ra.xml for custom configuration of RA.