[jboss-user] [IronJacamar] - Re: Connection config-properties are ignored

Dmitri Voronov do-not-reply at jboss.com
Tue Feb 7 04:06:39 EST 2012


Dmitri Voronov [https://community.jboss.org/people/dimonv] created the discussion

"Re: Connection config-properties are ignored"

To view the discussion, visit: https://community.jboss.org/message/714867#714867

--------------------------------------------------------------
I found out the origin of the issue. In my manuell resource adapter configuration I put the 
<config-property>
 into wrong scope:
<resource-adapter>
    <archive>my.rar</archive>
    <config-property name="prop1">X</config-property>
    <config-property name="prop2">Y</config-property>
    <connection-definitions>
        <connection-definition class-name="com.acme.ConnectionFactoryImpl"
            jndi-name="java:/eis/ACMEConnector" pool-name="ACMEConnector">
            <pool>
                <min-pool-size>0</min-pool-size>
                <max-pool-size>100</max-pool-size>
            </pool>
            <security>
                <application />
            </security>
        </connection-definition>
    </connection-definitions>
thus on bootstrapping the config properties have been ignored. But this way is described  https://docs.jboss.org/author/display/AS7/Resource+adapters https://docs.jboss.org/author/display/AS7/Resource+adapters, what's obviously wrong.
After I moved them to the connection-definition, CF has been initialized properly.

BUT no I get:

java.lang.ClassNotFoundException: com.iona.corba.art.artimpl.ORBImpl from [Module "org.jboss.as.connector:main" from local module loader @19eda2c (roots: C:\eplatform\jboss\AS-7.1\modules)]
com.iona.corba.art.artimpl.ORBImpl is used by my adapter and is actually in the RAR file I deployed to <JBoss AS 7>/standalone/deployments.

Is my deployment wrong? How should I deploy the RAR?

Thanks in advance.
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/714867#714867]

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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120207/f5d57272/attachment-0001.html 


More information about the jboss-user mailing list