Hello,
I can configure deployments dir in openejb.xml by

<openejb>
...

<Deployments dir="c:\myapp\acmeEjbs" />
</openejb>

but how I can do it via system properties 

Properties properties = new Properties();
properties.setProperty(Context.INITIAL_CONTEXT_FACTORY,org.apache.openejb.client.LocalInitialContextFactory");
properties.put("deployments.dir", "c:\myapp\acmeEjbs");
InitialContext initialContext = new InitialContext(properties);

this is dosen't works

Please help my how to configure.
And second question 
How can I turn off Application discovery via the classpath. Beacause I know
dir of my ejbs??

Best regards
-- 
View this message in context: 
http://n4.nabble.com/Deployments-dir-in-embedded-tp2014699p2014699.html
Sent from the OpenEJB Dev mailing list archive at Nabble.com.

Reply via email to