Yuval, In your orion-application.xml of your ear application, you can put this tag:
<library path="lib" /> This is after the persistance tag and before the principals tag. In your ear layout, include a directory lib, so now the layout should look like this: META-INF META-INF/application.xml META-INF/orion-application.xml mywarfiles.war myejbfiles.jar lib lib/mylibraryfiles.jar The reason orion was picking up your jar files from the lib directory in orion is that the config/application.xml (which is the orion-application.xml of the global-application, or default app as it is sometimes called) has a tag in it <libarary path="../lib" /> regards, the elephantwalker www.elephantwalker.com -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of [EMAIL PROTECTED] Sent: Saturday, January 12, 2002 11:36 PM To: Orion-Interest Cc: [EMAIL PROTECTED] Subject: Trivial classpath problem ? Hi, Although this is an oc4j question ( oracles wrapper for orion ), im sure some of you would be able to help me ( the engines are the same down there :). Ive tried adding a new jar to oc4js classpath. Our application depends on this jar. I couldnt. Ive tried adding the jar as a 'library-path' tag within the server.xml. Then added it to the command line running oc4j ( -cp = .... ). It didnt do the trick. Ive only made some progress when putting it straight into oc4js lib directory. Im confused. 1. What does the 'library-path' tab enable? 2. Whats the difference between using it and supplying jars to the oc4js runtime classpath ( -cp ). 3. What is the recommended way, to simply add a jar upon my application depends of? Any help would be apreceated, Yuval.