Hi, I'm a new user of Tomee (1.5.2). I am also kind of a newbie to J2EE. Still what I got was working under Glassfish. Now I am trying to get it working under Tomee...
My EJB Timer successfully work on calling my method, but I get a Class not found exception when that code try to access classes that are in jar files in my .ear/lib/ directory. I don't understand why, /lib should be in the classpath automatically ? Here is my structure : lib/ <-- many of my own jar files in there META-INF/ ejb.jar ?xml version="1.0" encoding="UTF-8"?> <application xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/application_6.xsd" version="6"> <module id="PlanningAndControlServer4-EJB"> <ejb>ejb.jar</ejb> </module> <library-directory>lib</library-directory> </application> I've added the library-directory tag even if it should not be needed, but still the same... -- View this message in context: http://openejb.979440.n4.nabble.com/ear-lib-not-seen-I-m-getting-a-class-not-found-error-tp4662819.html Sent from the OpenEJB User mailing list archive at Nabble.com.
