Is there a way that I can add a new container configuration without modifying the standardjboss.xml file found under conf/? I would like to add a new standardjboss.xml file to my .ear file which just lists my new container configuration, and makes it available to all apps in that ear.
I've tried adding a file called standardjboss.xml to the root directory of my ear jar, I've added to meta-inf/ in the same ear file. And I've tried adding it to my ejb.jar file. But none of this seems to work. Below I can show you what I have in this new standardjboss.xml file. <jboss> | | <container-configurations> | <container-configuration extends="Standard Stateless SessionBean"> | <container-name>MyTestConfiguration</container-name> | <container-interceptors> | <interceptor>org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor</interceptor> | <interceptor>org.jboss.ejb.plugins.LogInterceptor</interceptor> | <interceptor>org.jboss.ejb.plugins.SecurityInterceptor</interceptor> | <!-- CMT --> | <interceptor transaction="Container">org.jboss.ejb.plugins.TxInterceptorCMT</interceptor> | <interceptor transaction="Container">MyNewInterceptor</interceptor> | <interceptor transaction="Container" metricsEnabled="true">org.jboss.ejb.plugins.MetricsInterceptor</interceptor> | <interceptor transaction="Container">org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor</interceptor> | <!-- BMT --> | <interceptor transaction="Bean">org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor</interceptor> | <interceptor transaction="Bean">org.jboss.ejb.plugins.TxInterceptorBMT</interceptor> | <interceptor transaction="Bean" metricsEnabled="true">org.jboss.ejb.plugins.MetricsInterceptor</interceptor> | <interceptor>org.jboss.resource.connectionmanager.CachedConnectionInterceptor</interceptor> | </container-interceptors> | </container-configuration> | | </container-configurations> | | </jboss> any ideas on where to add this new standardjboss.xml file so that it will be seen, or do I have to just add it to the standardjboss.xml file under conf/ and make it globally available? -Dan View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3860501#3860501 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3860501 ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user