Hi All,
I am trying to deploy and run two Resource Adapters. One of the adapter queries for the connection factory of the other RA using the call
ctx = new InitialContext();
mDriverFactory = (DriverFactory)ctx.lookup("eis/XMPP-IM-Driver")
where eis/XMPP-IM-Driver is the JNDI name for the resource adapter one's connection factory. But the server is throwing classnotfound exception for the ManagedConnectionFactory class (Called XMPPManagedConnectionFactory). I have tried copying in the class in both the rar files, and have tried to set the classpath in the manifest files in the rar files to all posible values. But nothing works. The complete exception trace is below. Can someone help please?

[9/29/05 5:44:11:223 CDT] 00000041 ConnectionFac E J2CA0009E: An exception occurred while trying to instantiate the ManagedConnectionFactory class oracle.iasinternal.messaging.driver.im.xmpp.XMPPMa nagedConnectionFactory used by resource eis/XMPP-IM-Driver : java.lang.ClassNotFoundException: oracle.iasinternal.messaging.driver.im.xmpp.XMPPMa nagedConnectionFactory
at com.ibm.ws.classloader.CompoundClassLoader.findCla ss(CompoundClassLoader.java(Compiled Code))
at com.ibm.ws.classloader.CompoundClassLoader.loadCla ss(CompoundClassLoader.java(Compiled Code))
at java.lang.ClassLoader.loadClass(ClassLoader.java(C ompiled Code))
at com.ibm.ejs.j2c.J2CUtilityClass$1.run(J2CUtilityCl ass.java:284)
at com.ibm.ws.security.util.AccessController.doPrivil eged(AccessController.java(Compiled Code))
at com.ibm.ejs.j2c.J2CUtilityClass.createMCFEntry(J2C UtilityClass.java:282)
at com.ibm.ejs.j2c.ConnectionFactoryBuilderServerImpl .createMCFandPM(ConnectionFactoryBuilderServerImpl .java:527)
at com.ibm.ejs.j2c.ConnectionFactoryBuilderServerImpl .processObjectInstance(ConnectionFactoryBuilderSer verImpl.java:866)
at com.ibm.ejs.j2c.ConnectionFactoryBuilderImpl.getOb jectInstance(ConnectionFactoryBuilderImpl.java:557 )
at javax.naming.spi.NamingManager.getObjectInstance(N amingManager.java:314)
at com.ibm.ws.naming.util.Helpers.processSerializedOb jectForLookupExt(Helpers.java:874)
at com.ibm.ws.naming.util.Helpers.processSerializedOb jectForLookup(Helpers.java:681)
at com.ibm.ws.naming.jndicos.CNContextImpl.processRes olveResults(CNContextImpl.java:1969)
at com.ibm.ws.naming.jndicos.CNContextImpl.doLookup(C NContextImpl.java:1824)
at com.ibm.ws.naming.jndicos.CNContextImpl.doLookup(C NContextImpl.java:1737)
at com.ibm.ws.naming.jndicos.CNContextImpl.lookupExt( CNContextImpl.java:1444)
at com.ibm.ws.naming.jndicos.CNContextImpl.lookup(CNC ontextImpl.java:1324)
at com.ibm.ws.naming.util.WsnInitCtx.lookup(WsnInitCt x.java:144)
at javax.naming.InitialContext.lookup(InitialContext. java:361)
at oracle.iasinternal.messaging.dispatcher.Dispatcher ResourceAdapter$Initializer.run(DispatcherResource Adapter.java:155)
at com.ibm.ejs.j2c.work.WorkProxy.run(WorkProxy.java( Compiled Code))
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.j ava(Compiled Code))
..
[9/29/05 5:44:11:223 CDT] 00000041 Helpers W NMSV0605W: A Reference object looked up from the context "stanj08Node01Cell/nodes/stanj08Node01/servers/server1" with the name "eis/XMPP-IM-Driver" was sent to the JNDI Naming Manager and an exception resulted. Reference data follows:
Reference Factory Class Name: com.ibm.ejs.j2c.ConnectionFactoryBuilderImpl
Reference Factory Class Location URLs:
Reference Class Name: oracle.ias.messaging.driver.DriverFactory
Type: connectorName
Content: XMPP-IM-Driver
Type: classpath
Content: C:\Appservers\IBM\WAS60/profiles/default/installedApps/stanj08Node01Cell/NotificationService.ear\xmpp-adapter.rar;C:\Appservers\IBM\WAS60/profiles/default/installedApps/stanj08Node01Cell/NotificationService.ear\xmpp-adapter.rar
Type: FactoryJndiName
Content: eis/XMPP-IM-Driver
Address Type: dd
AddressContents: ffffffac ffffffed 0 5 73 72 0 25 63 6f 6d 2e 69 62 6d 2e 65 6a 73 2e 6a 32 63 2e 52 65 73 6f 75 72 63 65 ...
Address Type: miscProps
AddressContents: ffffffac ffffffed 0 5 73 72 0 14 6a 61 76 61 2e 75 74 69 6c 2e 50 72 6f 70 65 72 74 69 65 73 39 12 ffffffd0 7a ...
Address Type: poolProps
AddressContents: ffffffac ffffffed 0 5 73 72 0 27 63 6f 6d 2e 69 62 6d 2e 65 6a 73 2e 6a 32 63 2e 43 6f 6e 6e 65 63 74 6f ...
Address Type: configProps
AddressContents: ffffffac ffffffed 0 5 73 72 0 23 63 6f 6d 2e 69 62 6d 2e 65 6a 73 2e 6a 32 63 2e 43 6f 6e 6e 65 63 74 6f ...
Address Type: mmProps
AddressContents: ffffffac ffffffed 0 5 73 72 0 14 6a 61 76 61 2e 75 74 69 6c 2e 50 72 6f 70 65 72 74 69 65 73 39 12 ffffffd0 7a ...
Address Type: mbeanProps
AddressContents: ffffffac ffffffed 0 5 73 72 0 1a 63 6f 6d 2e 69 62 6d 2e 65 6a 73 2e 6a 32 63 2e 4d 42 65 61 6e 50 72 6f ...

Exception data follows:
java.lang.ClassNotFoundException: oracle.iasinternal.messaging.driver.im.xmpp.XMPPMa nagedConnectionFactory
at com.ibm.ws.classloader.CompoundClassLoader.findCla ss(CompoundClassLoader.java(Compiled Code))
at com.ibm.ws.classloader.CompoundClassLoader.loadCla ss(CompoundClassLoader.java(Compiled Code))
at java.lang.ClassLoader.loadClass(ClassLoader.java(C ompiled Code))
at com.ibm.ejs.j2c.J2CUtilityClass$1.run(J2CUtilityCl ass.java:284)
at com.ibm.ws.security.util.AccessController.doPrivil eged(AccessController.java(Compiled Code))
at com.ibm.ejs.j2c.J2CUtilityClass.createMCFEntry(J2C UtilityClass.java:282)
at com.ibm.ejs.j2c.ConnectionFactoryBuilderServerImpl .createMCFandPM(ConnectionFactoryBuilderServerImpl .java:527)
at com.ibm.ejs.j2c.ConnectionFactoryBuilderServerImpl .processObjectInstance(ConnectionFactoryBuilderSer verImpl.java:866)
at com.ibm.ejs.j2c.ConnectionFactoryBuilderImpl.getOb jectInstance(ConnectionFactoryBuilderImpl.java:557 )
at javax.naming.spi.NamingManager.getObjectInstance(N amingManager.java:314)
at com.ibm.ws.naming.util.Helpers.processSerializedOb jectForLookupExt(Helpers.java:874)
at com.ibm.ws.naming.util.Helpers.processSerializedOb jectForLookup(Helpers.java:681)
at com.ibm.ws.naming.jndicos.CNContextImpl.processRes olveResults(CNContextImpl.java:1969)
at com.ibm.ws.naming.jndicos.CNContextImpl.doLookup(C NContextImpl.java:1824)
at com.ibm.ws.naming.jndicos.CNContextImpl.doLookup(C NContextImpl.java:1737)
at com.ibm.ws.naming.jndicos.CNContextImpl.lookupExt( CNContextImpl.java:1444)
at com.ibm.ws.naming.jndicos.CNContextImpl.lookup(CNC ontextImpl.java:1324)
at com.ibm.ws.naming.util.WsnInitCtx.lookup(WsnInitCt x.java:144)
at javax.naming.InitialContext.lookup(InitialContext. java:361)
at oracle.iasinternal.messaging.dispatcher.Dispatcher ResourceAdapter$Initializer.run(DispatcherResource Adapter.java:155)
at com.ibm.ejs.j2c.work.WorkProxy.run(WorkProxy.java( Compiled Code))
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.j ava(Compiled Code))



Deployment goes through fine.