java - How to set system properties of embedded tomee? -
i have read link: embedded configuration , trying set "openejb.deployments.classpath=true" this code: public class run { private static ejbcontainer ejbcontainer; public static void main( string[] args ) throws namingexception, interruptedexception, ioexception { properties props = new properties(); props.setproperty(ejbcontainer.provider, "tomee-embedded"); props.setproperty("openejb.deployments.classpath", "true"); ejbcontainer = ejbcontainer.createejbcontainer(props); } } pom.xml: <dependency> <groupid>org.apache.openejb</groupid> <artifactid>tomee-embedded</artifactid> <version>1.6.0.2</version> </dependency> but still outputs like: info - openejb configuration file 'c:\cygwin\tmp\apache-tomee1917201117325246334-home\conf\openejb.xml' info - configuring service(id=tomcat security service, type=securityservice, provider-id=tomcat secu...