No resource manager found for xxx
jsipher Sep 5, 2003 7:29 AMI'm trying to deploy an EJB and I get "No resource mangager found for xxx" messages for 4 of the 5 resources it references. The one that works ok is a JDBC datasource. The others are a URL and 3 JCA resources.
The URL resource is set up like this
ejb-jar.xml
<resource-ref id="ResourceRef_1">
Schema URL
<res-ref-name>SchemaURL</res-ref-name>
<res-type>java.net.URL</res-type>
<res-auth>Container</res-auth>
</resource-ref>
jboss.xml
<resource-ref id="ResourceRef_1">
<res-ref-name>SchemaURL</res-ref-name>
<res-url>file:/h:/schema/schema.xml</res-url>
</resource-ref>
The 3 JCA resources are set up like this one:
ejb-jar.xml
<resource-ref id="ResourceRef_4">
AS400 PCML Resource Adapter for Batch Programs
<res-ref-name>AS400 PCML Resource Adapter for Batch Programs</res-ref-name>
<res-type>javax.resource.cci.ConnectionFactory</res-type>
<res-auth>Container</res-auth>
</resource-ref>
jboss.xml
<resource-ref id="ResourceRef_4">
<res-ref-name>AS400 PCML Resource Adapter for Batch Programs</res-ref-name>
<jndi-name>java:/AS400PCML</jndi-name>
</resource-ref>
ra.xml (from the adapter's .rar file)
<display-name>AS400 PCML Resource Adapter for Batch Programs</display-name>
pcmlra-ds.xml
<connection-factories>
<tx-connection-factory>
<jndi-name>AS400PCML</jndi-name>
<local-transaction/>
<adapter-display-name>AS400 PCML Resource Adapter for Batch Programs</adapter-display-name>
<config-property name="Server" type="java.lang.String">server</config-property>
<config-property name="UserName" type="java.lang.String">user</config-property>
<config-property name="Password" type="java.lang.String">password</config-property>
<config-property name="ProxyServer" type="java.lang.String" >*NONE</config-property>
<config-property name="ProxyPort" type="java.lang.Integer">80</config-property>
<config-property name="PcmlFile" type="java.lang.String" >pcml</config-property>
<config-property name="TraceLevel" type="java.lang.Integer" >5</config-property>
<min-pool-size>1</min-pool-size>
<max-pool-size>10</max-pool-size>
<blocking-timeout-millis>5000</blocking-timeout-millis>
<idle-timeout-minutes>10</idle-timeout-minutes>
</tx-connection-factory>
</connection-factories>
Jboss logs this message as it's starting up, so I believe the resource adapter deployed ok and that I'm pointing to the right jndi-name in jboss.xml.
[AS400PCML] Bound connection factory for resource adapter for ConnectionManager 'jboss.jca:service=TxCM,name=AS400PCML to JNDI name 'java:/AS400PCML'
Can anybody give me a hint as to what I've got wrong?