tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Romain Manni-Bucau <rmannibu...@gmail.com>
Subject Re: Avoid scanning and auto deploy
Date Fri, 21 Nov 2014 07:38:58 GMT
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 <mansour.alakeel@gmail.com>:
> 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.

Mime
View raw message