Return-Path: Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: (qmail 63039 invoked from network); 4 Jan 2010 11:18:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 4 Jan 2010 11:18:39 -0000 Received: (qmail 68220 invoked by uid 500); 4 Jan 2010 11:18:38 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 68192 invoked by uid 500); 4 Jan 2010 11:18:38 -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 68184 invoked by uid 99); 4 Jan 2010 11:18:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Jan 2010 11:18:38 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Jan 2010 11:18:30 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1NRkwr-0002DD-VI for user@geronimo.apache.org; Mon, 04 Jan 2010 03:18:09 -0800 Message-ID: <27011579.post@talk.nabble.com> Date: Mon, 4 Jan 2010 03:18:09 -0800 (PST) From: jam_developer To: user@geronimo.apache.org Subject: Re: Resource Adapter deployment problem In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: kbhatt@mailcity.com References: <26899531.post@talk.nabble.com> Thanks David and Jack for your response. With couple of changes, I could able to deploy RA in Geronimo using Administrative console. Now when I go to JNDI viewer, I don't see my specified JNDI name. Following is my geronimo-ra.xml details: ------------------------------------------------------------------------------------------------------------------- hammurapi RulesAdapter 4.1 rar com.hammurapi.reasoning.ForwardReasoningSessionFactory eis/RuleConnection ------------------------------------------------------------------------------------------------------------------ I was expecting to see specified JNDI name (eis/RuleConnection) in JNDI viewer but JNDI viewer just shows hammurapi/RulesAdapter/4.1/rar Please let me know what am I missing out here. djencks wrote: > > You'd need an environment element in the geronimo-ra.xml that has at > least a module id for the adapter. > > After that, you need to list the module id as a dependency of the web > app in the geronimo-web.xml or other plan file to get the lookup to > work. > > Other than that, I'd need to see a more detailed description of > exactly what you are doing and what errors you get. > > thanks > david jencks > > On Dec 23, 2009, at 3:49 AM, jam_developer wrote: > >> >> Hi, >> >> I have a outbound resource adapter which is a connector for a rule >> engine. I >> need help to deploy it in Geronimo. >> >> Structure of rar is: >> >> adapter.jar(contains adapter classes) >> connector-api.jar(required 3rd party library) >> jsr94.jar(required 3rd party library) >> META-INF\rar.xml >> META-INF\geronimo.xml >> >> >> Following is my geronimo-ra.xml : >> >> >> >> >> >> >> > interface>biz.hammurapi.rules.ra.ConnectionFactory> connectionfactory-interface> >> >> RuleConnection >> >> >> >> >> >> >> >> >> >> >> Following is ra.xml : >> >> >> >> > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >> xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee >> http://java.sun.com/xml/ns/j2ee/connector_1_5.xsd" >> version="1.5"> >> Hammurapi Rules Adapter >> Hammurapi Group >> Rules enabled application >> 1.0 >> >> >> biz.hammurapi.rules.ra.ResourceAdapterImpl> resourceadapter-class> >> >> >> >> >> > class>biz.hammurapi.rules.ra.ManagedConnectionFactoryImpl> managedconnectionfactory-class> >> >> > interface>biz.hammurapi.rules.ra.ConnectionFactory> connectionfactory-interface> >> >> > class>biz.hammurapi.rules.ra.ConnectionFactoryImpl> connectionfactory-impl-class> >> >> javax.rules.RuleSession >> >> biz.hammurapi.rules.ra.RuleSessionImpl> connection-impl-class> >> >> NoTransaction >> >> >> BasicPassword> mechanism-type> >> >> > interface>javax.resource.spi.security.PasswordCredential> interface> >> >> false >> >> >> >> >> Please let me know what am I missing here. >> >> My second question is I have another web application through which I >> need to >> access this resource adapter. I assume connectiondefinition-instance >> name(which is "RuleConnection") can be used as JNDI name to get >> Connection >> object. Is this understanding correct? >> >> Please suggest. >> >> -- >> View this message in context: >> http://old.nabble.com/Resource-Adapter-deployment-problem-tp26899531s134p26899531.html >> Sent from the Apache Geronimo - Users mailing list archive at >> Nabble.com. >> > > > -- View this message in context: http://old.nabble.com/Resource-Adapter-deployment-problem-tp26899531s134p27011579.html Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.