Hi. Me again. :) I'm still attempting to deploy my resource adapter
into my Geronimo v2 environment. I am doing this through the admin
console, and it indicates that it was successful. However, there is
this following exception in the server log
10:17:51,700 ERROR [OpenEjbSystemGBean] Unable to deploy mdb container
com.intecbilling.singleview/svConnector/1.0/rar.SVConnector-com.intecbilling.connector.TreEventListener
java.lang.ClassNotFoundException:
com.intecbilling.connector.TreEventListener in classloader
com.intecbilling.singleview/svConnector/1.0/rar
at
org.apache.geronimo.kernel.config.MultiParentClassLoader.loadOptimizedClass(MultiParentClassLoader.java:428)
at
org.apache.geronimo.kernel.config.MultiParentClassLoader.loadClass(MultiParentClassLoader.java:278)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at
org.apache.geronimo.openejb.OpenEjbSystemGBean.addResourceAdapter(OpenEjbSystemGBean.java:233)
at
org.apache.geronimo.openejb.OpenEjbSystemGBean.access$000(OpenEjbSystemGBean.java:81)
at
org.apache.geronimo.openejb.OpenEjbSystemGBean$1.memberAdded(OpenEjbSystemGBean.java:186)
at
org.apache.geronimo.gbean.runtime.ProxyCollection.addTarget(ProxyCollection.java:102)
at
org.apache.geronimo.gbean.runtime.GBeanCollectionReference.targetAdded(GBeanCollectionReference.java:96)
at
org.apache.geronimo.gbean.runtime.GBeanCollectionReference.addTarget(GBeanCollectionReference.java:180)
at
org.apache.geronimo.gbean.runtime.GBeanCollectionReference$1.running(GBeanCollectionReference.java:110)
at
org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.fireRunningEvent(BasicLifecycleMonitor.java:176)
at
org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.access$300(BasicLifecycleMonitor.java:44)
at
org.apache.geronimo.kernel.basic.BasicLifecycleMonitor$RawLifecycleBroadcaster.fireRunningEvent(BasicLifecycleMonitor.java:254)
at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:294)
at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:102)
at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:124)
at
org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:553)
at
org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:379)
at
org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:448)
at
org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:187)
at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:530)
at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:511)
at
org.apache.geronimo.kernel.config.SimpleConfigurationManager$$FastClassByCGLIB$$ce77a924.invoke(<generated>)
at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
at
org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
at
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:124)
at
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:830)
at
org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
at
org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35)
at
org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)
at
org.apache.geronimo.gbean.GBeanLifecycle$$EnhancerByCGLIB$$ecacb68e.startConfiguration(<generated>)
at
org.apache.geronimo.deployment.plugin.local.StartCommand.run(StartCommand.java:67)
at java.lang.Thread.run(Thread.java:619)
Now, the RAR file has the following structure.
[EMAIL PROTECTED]:/svjes-src/svjes/svConnector/dist> jar tvf svConnector.rar
0 Tue Oct 02 08:19:54 EST 2007 META-INF/
106 Tue Oct 02 08:19:52 EST 2007 META-INF/MANIFEST.MF
4961 Tue Oct 02 08:19:54 EST 2007 META-INF/ra.xml
14897 Tue Oct 02 08:19:54 EST 2007 svConnector-api.jar
106449 Tue Oct 02 08:19:54 EST 2007 svConnector-ra.jar
The RAR defines 1 outbound adapter and 2 inbound adapters. All the
core RA files are in the svConnector-ra.jar archive, and interactions
and interfaces that can be called by the EJB code are in the
svConnector-api.jar archive file. In this specific case, the
interface TreEventListener is defined within the svConnector-api.jar
file.
In the ClassLoader viewer, I can find the
com.intecbilling.singleview/svConnector/1.0/rar, and the Interface is
not included in the list, while plenty of classes from the
svConnector-ra.jar file is in it.
Do I have to do anything additional to include both jar files
contained in the rar file into the ClassLoader?
Thanks (again),
Ed