JBoss Community

Re: IronJacamar RHQ plugin development

created by Lin Gao in IronJacamar Development - View the full discussion

Hi, Jesper:

 

   I have been able to start the EmbeddedJCA container in the RHQ plugin environment, and now needs to deploy some resources to be manged.

 

   I tried with the jdbc-local.rar which comes from build/adapters/jdbc-local.rar and the hsqldb-ds.xml which comes from JBoss AS 6 binary, both of the deployment have some issues.

 

   Is it ture that the current IronJacama does not support deployment of .rar resources which are for JCA 1.0/1.5 and deployment of *-ds.xml resources which has the element: '<local-tx-datasource>' yet?

 

  When I tried to deploy the jdbc-local.rar, there is no {code}ManagedConnectionFactory{code} after deployed, because the {code}RADeployer.checkActivation(Connector cmd, IronJacamar ijmd) {code} method returns false due to no META-INF/ironjacamar.xml in the jdbc-local.rar file.

 

  When I tried to deploy the hsqldb-ds.xml, there is an exception:

 

{code}

Caused by: org.jboss.jca.common.metadata.ParserException: Unexpected element:local-tx-datasource

    at org.jboss.jca.common.metadata.ds.DsParser.parseDataSources(DsParser.java:165)

    at org.jboss.jca.common.metadata.ds.DsParser.parse(DsParser.java:112)

    at org.jboss.jca.common.metadata.ds.DsParser.parse(DsParser.java:75)

    at org.jboss.jca.deployers.fungal.DsXmlDeployer.deploy(DsXmlDeployer.java:157)

    ... 32 more

{code}

Reply to this message by going to Community

Start a new discussion in IronJacamar Development at Community