JBoss Community

Re: Connection config-properties are ignored

created by Dmitri Voronov in IronJacamar - View the full discussion

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, 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

Start a new discussion in IronJacamar at Community