[IronJacamar Development] - Re: IronJacamar RHQ plugin development
by Lin Gao
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&cont...]
13 years, 11 months
[JBoss AS7 Development] - AS7 subsystem integration notes
by Alessio Soldano
Alessio Soldano [http://community.jboss.org/people/alessio.soldano%40jboss.com] modified the document:
"AS7 subsystem integration notes"
To view the document, visit: http://community.jboss.org/docs/DOC-16341
--------------------------------------------------------------
This page aims at collecting misc tips, idea, etc. that are likely to be useful when adding a new subsystem integration on AS 7, even if only to save some time debugging and looking for the reason of issues; feel free to contribute also adding new categories below.
h2. Modules and classloading
As a general suggestion, consider enabling TRACE logs for org.jboss.modules whenever facing ClassNotFoundException. The modules classloading logging still needs to be optimized/reviewed, hence you might miss the actual root cause of problems if the logging is not verbose enought.
h3. Service API
The services attribute of the module element allows for enabling import of META-INF/services/... declarations in dependency modules. That's useful for instance when doing something like classLoader.getResourceAsStream("META-INF/service/foo") and expecting all the META-INF/services/.. declarations in the modules contributing to defining the classloader to be considered, not only those in the main module the classloader comes from.
e.g.
<module xmlns="urn:jboss:module:1.0" name="org.jboss.as.webservices">
<resources>
<!-- Insert resources here -->
</resources>
<dependencies>
...
<module name="org.jboss.ws.common" />
<module name="org.jboss.ws.cxf.jbossws-cxf-factories" services="import"/>
...
</dependencies>
</module>
--------------------------------------------------------------
Comment by going to Community
[http://community.jboss.org/docs/DOC-16341]
Create a new document in JBoss AS7 Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=102&co...]
13 years, 11 months