geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ed Hillmann" <ed.hillm...@gmail.com>
Subject Re: ra.xml parse error when deploying JCA adapter
Date Mon, 17 Sep 2007 03:35:34 GMT
I'm getting an error when I attempt to deploy my RAR file.  I'll
describe what I'm doing first.

1) My adapter uses a custom JAR library in order to communicate with
the remote application.  I've already added this JAR file to the
repository.

2) I tried to use an old version of geronimo-ra.xml (apparently).
When I used it during the attempted deployment of the RAR file, it
failed.  But what was very cool, was that it migrated it to a new
version of the deployment plan.  I just wanted to mention that this
was very cool!  the newer version is a lot different to the older one,
and I would've lost a bit of time trying to sort it out.  Very, very
nice feature.

3) So, i've got the correct version of the deployment plan.  I've even
gone so far in including the custom JAR file using the dependency
declaration.  When I attempt to use it during the Deploy New action,
I'm getting an exception:

org.apache.geronimo.common.DeploymentException: Can not load
activation spec class
org.apache.geronimo.common.DeploymentException:
org.apache.geronimo.common.DeploymentException: Can not load
activation spec class
	at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:385)
	at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:126)
	at org.apache.geronimo.deployment.Deployer$$FastClassByCGLIB$$734a235d.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.deployment.plugin.local.AbstractDeployCommand.doDeploy(AbstractDeployCommand.java:116)
	at org.apache.geronimo.deployment.plugin.local.DistributeCommand.run(DistributeCommand.java:61)
	at java.lang.Thread.run(Thread.java:619)
Caused by: org.apache.geronimo.common.DeploymentException: Can not
load activation spec class
	at org.apache.geronimo.connector.deployment.ConnectorModuleBuilder.getActivationSpecInfoMap(ConnectorModuleBuilder.java:602)
	at org.apache.geronimo.connector.deployment.ConnectorModuleBuilder.initContext(ConnectorModuleBuilder.java:440)
	at org.apache.geronimo.connector.deployment.ConnectorModuleBuilder$$FastClassByCGLIB$$a535b6aa.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.j2ee.deployment.ActivationSpecInfoLocator$$EnhancerByCGLIB$$aa3481fe.initContext(<generated>)
	at org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration(EARConfigBuilder.java:576)
	at org.apache.geronimo.j2ee.deployment.EARConfigBuilder$$FastClassByCGLIB$$38e56ec6.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.deployment.ConfigurationBuilder$$EnhancerByCGLIB$$d2868893.buildConfiguration(<generated>)
	at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:304)
	... 10 more
Caused by: java.lang.ClassNotFoundException:
com.intecbilling.connector.TreEventActivationSpec 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.connector.deployment.ConnectorModuleBuilder.getActivationSpecInfoMap(ConnectorModuleBuilder.java:599)
	... 31 more

So, it's looking for the implementation of the ActivationSpec
interface that is in my RAR file that I am trying to deploy.

Am I missing something else in the geronimo-ra.xml file?  It seems to
know about the correct ActivationSpec class.  Just not that it needs
to use the RAR file being deployed?

Thanks agains for any help,
Ed

Mime
View raw message