Hi,

I am using "openejb.altdd.prefix" to get my own persitence.xml file during
tests : test-persistence.xml.

works fine, but I get a spam during the tests :

INFO - Using 'openejb.altdd.prefix=test-'
INFO - Using 'openejb.altdd.prefix=test-'
INFO - Using 'openejb.altdd.prefix=test-'
INFO - Using 'openejb.altdd.prefix=test-'

etc..

Here the code (extract) :


@BeforeClass
    public static void start() throws Exception {

                Properties p = new Properties();

                p.put(Context.INITIAL_CONTEXT_FACTORY,
                                
"org.apache.openejb.client.LocalInitialContextFactory");

                p.setProperty("openejb.embedded.remotable", "true");
                p.setProperty("openejb.altdd.prefix", "test-");
                InitialContext ctx = new InitialContext();

                context = EJBContainer.createEJBContainer(p).getContext();
        }


        @AfterClass
        public static void stop() throws Exception {
                if (context != null) {
                        context.close();
                }
        }


thx!



--
View this message in context: 
http://openejb.979440.n4.nabble.com/openejb-altdd-prefix-spam-tp4658391.html
Sent from the OpenEJB User mailing list archive at Nabble.com.

Reply via email to