Hi

you can -Dopenejb.additional.exclude=myjar1,myjar2,....for instance


Romain Manni-Bucau
@rmannibucau
http://www.tomitribe.com
http://rmannibucau.wordpress.com
https://github.com/rmannibucau


2014-11-21 6:20 GMT+01:00 Mansour Al Akeel <[email protected]>:
> I need to start EJB container in embedded mode to load JPA Entities
> and create tables. The problem I am facing is that it loads any EJBs
> in the classpath. I am trying to prevent loading and deploying these
> EJBs by the following:
>
>     properties.put("openejb.exclude-include.order", "include-exclude");
>     properties.put("openejb.deployments.classpath.include", "");
>     properties.put("openejb.deployments.classpath.exclude", ".*");
>     properties.put("openejb.deployments.classpath ", false);
>
>
>
> Still no luck. Is there a way to prevent auto deployment ??
>
> Thank you.

Reply via email to