Hi.

My ejb module (PersonAccountModule) depends on ejb facade components in 
different project (EJBFacades). So I had to configure classpath as follows:

p.put("openejb.deployments.classpath.include", 
".*/(PersonAccountModule|EJBFacades)/target/classes.*");

ejb-jar.xml in PersonAccountModule is not empty.

All unit tests work fine, but log looks rather strange. I do not understand the 
third line below. Why openejb takes jar from my local repository and doesn't 
take classes from target/classes folder as specified in classpath.include 
pattern?

INFO - Found EjbModule in classpath: 
D:\JavaProg\MySamples\EJB\Samplev7\JEEMavenProject2\PersonAccountModule\target\classes
INFO - Found EjbModule in classpath: 
D:\JavaProg\MySamples\EJB\Samplev7\JEEMavenProject2\PersonAccountModule\target\test-classes
INFO - Found EjbModule in classpath: e:\Profiles\Marcin 
Kwapisz\.m2\repository\zsk\samples\EJBFacades\1.0-SNAPSHOT\EJBFacades-1.0-SNAPSHOT.jar

Regards
-- 
Marcin Kwapisz
Division of Computer Networks
Technical Univeristy of Lodz, Poland


Reply via email to