There is a such feature, you can set a parameter to true to your context to
ignore this webapp. Its name is

org.apache.openejb.tomcat.catalina.TomcatWebAppBuilder.IGNORE

- Romain

2011/5/30 mclu <[email protected]>

> I already wrote to User forum but now I have investigated the sources more
> detail.
>
> I try to get OpenEJB together with ZK (zkoss.org) up and running within a
> small memory footprint tomcat.
>
> While starting the tomcat instance openEJBs Lifecycle Listener is called
> while loading the ZK WebApp.
> TomcatWebappBuilder is generating the webmodule which is passed to the
> AnnotationDeployer.
>
> ZK is big and the the call:
>            AnnotationDeployer annotationDeployer = new
> AnnotationDeployer();
>            annotationDeployer.deploy(webModule);
> results in an OutOfMemoryException.
>
> Is there a way to define Wars that could be ignored? This ZK App is only
> running on the same server instance but is independent.
>
> If not what if you add a Filter mechanism to filter out Wars inside the
> TomcatWebAppBuilder.java or at GlobalListenerSupport ?
>
> In my setup I have 3 Webapps:
> OpenEJB (of course)
> MyEJB3App (where my business logic is in)
> MyZKFrontend (no EJB, simple remote calls to MyEJB3App)
>
>
> --
> View this message in context:
> http://openejb.979440.n4.nabble.com/disable-AnnotationDeployer-for-Tomcat-Webapps-tp3560517p3560517.html
> Sent from the OpenEJB Dev mailing list archive at Nabble.com.
>

Reply via email to