Return-Path: Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: (qmail 71761 invoked from network); 20 May 2006 15:23:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 20 May 2006 15:23:16 -0000 Received: (qmail 87396 invoked by uid 500); 20 May 2006 15:23:14 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 87361 invoked by uid 500); 20 May 2006 15:23:14 -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 87349 invoked by uid 99); 20 May 2006 15:23:14 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 20 May 2006 08:23:14 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [61.95.162.76] (HELO Kecgate02.infosys.com) (61.95.162.76) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 20 May 2006 08:23:13 -0700 Received: from indhubbhs04.ad.infosys.com ([192.168.200.84]) by Kecgate02.infosys.com with InterScan Messaging Security Suite; Sat, 20 May 2006 20:51:14 +0530 Received: from BLRKECMSG14.ad.infosys.com ([172.22.147.6]) by indhubbhs04.ad.infosys.com with Microsoft SMTPSVC(6.0.3790.1830); Sat, 20 May 2006 20:50:40 +0530 Received: from BLRKECMSG01.ad.infosys.com ([172.25.213.131]) by BLRKECMSG14.ad.infosys.com with Microsoft SMTPSVC(6.0.3790.1830); Sat, 20 May 2006 20:50:41 +0530 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: how to extend the classpath of Geronimo??? Date: Sat, 20 May 2006 20:50:40 +0530 Message-ID: <4690875E336998438DF43A78B8E38CF2E4F59A@BLRKECMSG01.ad.infosys.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: how to extend the classpath of Geronimo??? Thread-Index: AcZ8Hll+jznC9We0T1m4gVagouo9bAAAoTwg From: "Santosh Koti" To: X-OriginalArrivalTime: 20 May 2006 15:20:41.0294 (UTC) FILETIME=[F4B506E0:01C67C20] X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Try dependency in ur deployment plan. That should help u ! Thanks, Santosh. "Don't talk about yourself; it will be done when you leave. " =0D -----Original Message----- From: Joerg Friede [mailto:joerg.friede@3kraft.com]=0D Sent: Friday, May 19, 2006 5:57 PM To: user@geronimo.apache.org Subject: how to extend the classpath of Geronimo??? Hi all, being quite new to Geronimo i'm stunned that there seems to be no common way to extend the classpath for geronimo. I do have a jar-file which contains some utility classes that my=0D ejb-app's need and tried to put this jar in the classpath doing the=0D following: *) extend the CLASSPATH environment variable --> class not found exception *) start the server with -cp switch --> server does not start at all *) put my jar in /lib, /lib/endorsed,=0D /lib/extension --> class not found exception *) added the jar to repository and tried to reference it from the=0D deployment descriptor (openejb-jar.xml) as follows =0D / MyJar/MyJar/1.0/jar DataManager DataManager DataManagerLocal / Then i get the exception: /13:17:43,154 ERROR [Hot Deployer] Unable to deploy: Unable to load=0D first parent of configuration Data-Service org.apache.geronimo.common.DeploymentException: Unable to load first=0D parent of configuration Data-Service .... Caused by: org.apache.geronimo.kernel.config.NoSuchConfigException: No=0D configuration with id: MyJar/MyJar/1.0/jar .... / The Jar file is at the location=0D /repository/MyJar/jars/MyJar-1.0.jar. What does one have to do to add classes to the JVM of Geronimo? Thanks in advance, Joerg Friede **************** CAUTION - Disclaimer ***************** This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended= solely for the use of the addressee(s). If you are not the intended= recipient, please notify the sender by e-mail and delete the original= message. Further, you are not to copy, disclose, or distribute this e-mail= or its contents to any other person and any such actions are unlawful.= This e-mail may contain viruses. Infosys has taken every reasonable= precaution to minimize this risk, but is not liable for any damage you may= sustain as a result of any virus in this e-mail. You should carry out your= own virus checks before opening the e-mail or attachment. Infosys reserves= the right to monitor and review the content of all messages sent to or= from this e-mail address. Messages sent to or from this e-mail address may= be stored on the Infosys e-mail system. ***INFOSYS******** End of Disclaimer ********INFOSYS***