Return-Path: Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: (qmail 20383 invoked from network); 17 Sep 2007 03:36:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 17 Sep 2007 03:36:07 -0000 Received: (qmail 71448 invoked by uid 500); 17 Sep 2007 03:35:58 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 71421 invoked by uid 500); 17 Sep 2007 03:35:58 -0000 Mailing-List: contact user-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: user@geronimo.apache.org List-Id: Delivered-To: mailing list user@geronimo.apache.org Received: (qmail 71410 invoked by uid 99); 17 Sep 2007 03:35:58 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 16 Sep 2007 20:35:58 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of ed.hillmann@gmail.com designates 209.85.128.191 as permitted sender) Received: from [209.85.128.191] (HELO fk-out-0910.google.com) (209.85.128.191) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Sep 2007 03:35:56 +0000 Received: by fk-out-0910.google.com with SMTP id b27so1538430fka for ; Sun, 16 Sep 2007 20:35:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=ezVZKK7pU3rj6aZY4d3IrnCOpwjE9i9XswYVZG5KOEg=; b=kydPM2zwO+eC0hEFkDd2s/+hSophGnymgcPG95QIm1iSNEr3wRGinrZfUB9PCNAB4LKs+6TTEj9h4qWTx0gZiXWm0fMS4AmZY35cx/4yceuE14bz8Vfr1EwoUTpRIX8MGnqAZian6PTP1PhKjD2YY9JlCgXzbHPRFkY37MDSqbI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=LkOgFuRrcmjEjJaEfItewwC2Kj4GBq35+8E61TbhEej0dRVUTS8g2PqPpPPxnAPG7AVAFdjq+hYWujB0+3+c+iQaUdpw5aO2zmLfXWGg392u+UAhMT80IUIVd56VslrYvm/Umr7sYuVVsqmELFEQyqCHiRW8GNHjn2DQypbp4gs= Received: by 10.82.178.11 with SMTP id a11mr4730616buf.1190000134917; Sun, 16 Sep 2007 20:35:34 -0700 (PDT) Received: by 10.82.139.1 with HTTP; Sun, 16 Sep 2007 20:35:34 -0700 (PDT) Message-ID: Date: Mon, 17 Sep 2007 13:35:34 +1000 From: "Ed Hillmann" To: user@geronimo.apache.org Subject: Re: ra.xml parse error when deploying JCA adapter In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <5F609250-9A2B-4327-B499-A0923008BF23@yahoo.com> X-Virus-Checked: Checked by ClamAV on apache.org 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() 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() 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() at org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration(EARConfigBuilder.java:576) at org.apache.geronimo.j2ee.deployment.EARConfigBuilder$$FastClassByCGLIB$$38e56ec6.invoke() 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() 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