Need JCA XML file
patost Jun 19, 2002 8:08 PMHi there,
I have a JCA that has nothing to do with Database, and it does not support transaction (XA, or UserTransaction).
I created the following XML file and deployed it. However the JNDI name does not show up in JNDIView and when I try to access it from my EJB, on the server side I get:
15:59:48,265 ERROR [AbstractInstanceCache] Activation failure
java.rmi.ServerException: Could not activate; nested exception is:
java.io.FileNotFoundException: D:\jboss-3.0.0server\default\db\sessions
\my_jca_ejb\1024527576483.ser (The system cannot find the file specified)
java.io.FileNotFoundException: D:\jboss-3.0.0\server\default\db\sessions\my_jca_ejb\1024527576483.ser (The system cannot find the file specified)
On the Client side I get:
java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
java.rmi.RemoteException: JCA Lookup; nested exception is:
javax.naming.NameNotFoundException: myjca not bound
java.rmi.RemoteException: JCA Lookup; nested exception is:
javax.naming.NameNotFoundException: myjca not bound
javax.naming.NameNotFoundException: myjca not bound
Here is my XML file:
<?xml version="1.0" encoding="UTF-8"?>
<!-- ==================================================================== -->
<!-- New ConnectionManager setup for My JCA-->
<!-- ==================================================================== -->
<!-- General attributes -->
myjca
myjca.rar
<depends optional-attribute-name="OldRarDeployment">jboss.jca:service=RARDeployment,name=My JCA
jboss.jca:service=RARDeployer,name=eis/myjca
MyManagedConnectionFactory
Jboss deploys the JCA successfully, but it looks like I am missing something in the XML file. I have seen some references to firebird-service.xml, but that one is still related to Database and has so many entries. Is there any document that explains these items and their relation. My JCA works on WebLogic, J2EE reference implementation, JRun, etc. However, they have at least a decent documentation or tool that one can use to deploy the JCA. It is really hopeless with JBoss in that regrad.
Thanks,
Patrice