geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ed Hillmann" <ed.hillm...@gmail.com>
Subject Fwd: Q: MDB Application cannot find Interface defined in RAR file
Date Thu, 04 Oct 2007 23:52:57 GMT
#!@~! !#! %

OK, this has been completely my problem.  I've moved the class into a
different package, and my ra.xml was not correct.  When I update my
ra.xml to reference the correct interface name, surprising it deploys!

Sorry David, for wasting your time.  Sorry group, for the spam.  I'm
going to crawl under a rock for a few days.

Thanks again,
Ed

---------- Forwarded message ----------
From: David Jencks <david_jencks@yahoo.com>
Date: Oct 5, 2007 9:37 AM
Subject: Re: Q: MDB Application cannot find Interface defined in RAR file
To: Ed Hillmann <ed.hillmann@gmail.com>


I don't think that class is in any of the jars you told me to use :-)

It's in a jar called svConnector.jar that looks like an early
mispacked version of the rar (I suspect I renamed it from
svConnector.rar so I could look inside with emacs)
and there's a class called  com/intecbilling/connector/interaction/
TreEventListener.class in svConnector-api.jar

is it possible that the package of this class changed and the ra.xml
is no longer accurate? Or is it just missing? I am I missing
something :-)

thanks
david jencks

On Oct 4, 2007, at 4:15 PM, Ed Hillmann wrote:

> OK, I've reset my environment, so that the svConnector-api.jar is not
> in the Geronimo repos.  The resource adapter's plan declares the
> dependencies, and only defines a single instance (an inbound instance
> named InboundSVEvents).
>
> So, when I deploy via the console, it all looks fine...
>
> ehillman@wallaby:/geronimo-tomcat6-jee5-2.0.1/bin> ./myDeploy.sh
> Using GERONIMO_BASE:   /u01/ct/acct/ehillman/geronimo-tomcat6-
> jee5-2.0.1
> Using GERONIMO_HOME:   /u01/ct/acct/ehillman/geronimo-tomcat6-
> jee5-2.0.1
> Using GERONIMO_TMPDIR: var/temp
> Using JRE_HOME:        /ct/ctapp/jdk1.6/jre
>     Deployed com.intecbilling.singleview/svConnector/1.0/rar
>
> And, I can see the connector in the Admin Console.  However, there is
> the following exception in geronimo.log....
>
> 09:09:38,259 ERROR [OpenEjbSystemGBean] Unable to deploy mdb container
> com.intecbilling.singleview/svConnector/1.0/rar.InboundSVEvents-
> 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.loadOptimized
> Class(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.fireRunningEven
> t(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.startConfiguration
> GBeans(ConfigurationUtil.java:448)
>       at
> org.apache.geronimo.kernel.config.KernelConfigurationManager.start
> (KernelConfigurationManager.java:187)
>       at
> org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConf
> iguration(SimpleConfigurationManager.java:530)
>       at
> org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConf
> iguration(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:865)
>       at org.apache.geronimo.kernel.basic.BasicKernel.invoke
> (BasicKernel.java:239)
>       at org.apache.geronimo.kernel.KernelGBean.invoke(KernelGBean.java:
> 342)
>       at org.apache.geronimo.kernel.KernelGBean$$FastClassByCGLIB$
> $1cccefc9.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:865)
>       at org.apache.geronimo.kernel.basic.BasicKernel.invoke
> (BasicKernel.java:239)
>       at org.apache.geronimo.system.jmx.MBeanGBeanBridge.invoke
> (MBeanGBeanBridge.java:168)
>       at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke
> (DefaultMBeanServerInterceptor.java:836)
>       at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke
> (JmxMBeanServer.java:761)
>       at javax.management.remote.rmi.RMIConnectionImpl.doOperation
> (RMIConnectionImpl.java:1426)
>       at javax.management.remote.rmi.RMIConnectionImpl.access$200
> (RMIConnectionImpl.java:72)
>       at javax.management.remote.rmi.RMIConnectionImpl
> $PrivilegedOperation.run(RMIConnectionImpl.java:1264)
>       at java.security.AccessController.doPrivileged(Native Method)
>       at
> javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation
> (RMIConnectionImpl.java:1366)
>       at javax.management.remote.rmi.RMIConnectionImpl.invoke
> (RMIConnectionImpl.java:788)
>       at sun.reflect.GeneratedMethodAccessor162.invoke(Unknown Source)
>       at sun.reflect.DelegatingMethodAccessorImpl.invoke
> (DelegatingMethodAccessorImpl.java:25)
>       at java.lang.reflect.Method.invoke(Method.java:597)
>       at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:
> 305)
>       at sun.rmi.transport.Transport$1.run(Transport.java:159)
>       at java.security.AccessController.doPrivileged(Native Method)
>       at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
>       at sun.rmi.transport.tcp.TCPTransport.handleMessages
> (TCPTransport.java:535)
>       at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0
> (TCPTransport.java:790)
>       at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run
> (TCPTransport.java:649)
>       at java.util.concurrent.ThreadPoolExecutor$Worker.runTask
> (ThreadPoolExecutor.java:885)
>       at java.util.concurrent.ThreadPoolExecutor$Worker.run
> (ThreadPoolExecutor.java:907)
>       at java.lang.Thread.run(Thread.java:619)
>
>
> So, the RA is deploying, but an MDB container is falling over.
> Considering that I'm not delpoying a MDB app yet, should I remove the
> <resourceadapter-instance> element from the plan?  I can understand
> that, considering that it would be introduced with the EJB application
> itself?
>
> Thanks,
> Ed
> <geronimo-ra.xml.inbound-only>

Mime
View raw message