Have you tried just putting your jars in the root directory so alongside ejb.jar, instead of within the lib folder?
So like: JPCS4 -ejb.jar -bcpkik.jar … Alternatively you can put all your lib/jars within TomEE/lib and just deploy the ejb.jar within apps (or package the ejb.jar in an ear by itself). Alternatively you could package your app as a war and have your dependency jars within WEB-INF/lib and it should work fine. Chris Christo [email protected] Twitter: @ChrisChristo7 <https://twitter.com/ChrisChristo7> Tumblr: http://chrischristo7.tumblr.com LinkedIn: http://uk.linkedin.com/in/chrischristo On 11 May 2013, at 22:59, m1000 <[email protected]> wrote: > I've added the Deployments dir in tomee.xml - it wasn't there. > My app deploy under tomee/apps/ (I had to create that directory) > > But its the same result. > > Do I need to do something like having a class-path in my manifest ? > Should I create a fake war to make it work ? > > EAR STRUCTURE: > > ~/Programs/apache-tomee-plus-1.5.2/apps $ tree . > . > ├── JPCS4 ( unpacked .ear) > │ ├── ejb.jar > │ ├── lib > │ │ ├── bcpkix.jar > │ │ ├── bcprov.jar > │ │ ├── bsaf.jar > │ │ ├── filters.jar > │ │ ├── guava.jar > │ │ ├── java-image-scaling.jar > │ │ ├── jdk12drv.jar > │ │ ├── jdk14drv.jar > │ │ ├── jgraphx.jar > │ │ ├── joda-time.jar > │ │ ├── jtds.jar > │ │ ├── jxlayer.jar > │ │ ├── miglayout-swing.jar > │ │ ├── mpxj.jar > │ │ ├── ocpsoft-pretty-time.jar > │ │ ├── pc.jar > │ │ ├── poi.jar > │ │ ├── swing-bits.jar > │ │ ├── swing-worker.jar > │ │ ├── swingx.jar > │ │ ├── TaskDialog.jar > │ │ ├── xmlpull.jar > │ │ ├── xpp3_min.jar > │ │ ├── xstream.jar > │ │ └── xswingx.jar > │ └── META-INF > │ ├── application.xml > │ ├── glassfish-resources.xml > │ ├── MANIFEST.MF > │ └── resources.xml > > stuff in my ejb.jar cannot find stuff in pc.jar (and probably other jars if > I could get to pc.jar). > > > > -- > View this message in context: > http://openejb.979440.n4.nabble.com/ear-lib-not-seen-I-m-getting-a-class-not-found-error-tp4662819p4662833.html > Sent from the OpenEJB User mailing list archive at Nabble.com.
