[jboss-dev-forums] [IronJacamar Development] - Re: IronJacamar RHQ plugin development

Lin Gao do-not-reply at jboss.com
Fri Jan 21 03:47:17 EST 2011


Lin Gao [http://community.jboss.org/people/gaol] created the discussion

"Re: IronJacamar RHQ plugin development"

To view the discussion, visit: http://community.jboss.org/message/582294#582294

--------------------------------------------------------------
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
[http://community.jboss.org/message/582294#582294]

Start a new discussion in IronJacamar Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2099]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20110121/d82c9e2c/attachment.html 


More information about the jboss-dev-forums mailing list