Re: ApplicationComposer and @Startup (and logging)

2016-05-23 Thread Gregory Orciuch
thanks! 2016-05-23 15:02 GMT+02:00 Romain Manni-Bucau : > without more info you'll not get much help I fear. Providing a github > project showing the issue will make it trivial to solve IMO. > > > Romain Manni-Bucau > @rmannibucau | Blog >

Re: ApplicationComposer and @Startup (and logging)

2016-05-23 Thread Romain Manni-Bucau
without more info you'll not get much help I fear. Providing a github project showing the issue will make it trivial to solve IMO. Romain Manni-Bucau @rmannibucau | Blog | Github | LinkedIn

Re: ApplicationComposer and @Startup (and logging)

2016-05-23 Thread Gregory Orciuch
Hi, any further idea how to enable log4j ? 2016-05-20 11:57 GMT+02:00 Gregory Orciuch : > Yeap directly, actually I only pull the openejb-core for the > ApplicationComposer > > 2016-05-20 11:56 GMT+02:00 Romain Manni-Bucau : > >> 2016-05-20 11:54 GMT+02:00 Gregory Orciuch : >> >> > 2. Great. work

Re: ApplicationComposer and @Startup (and logging)

2016-05-20 Thread Gregory Orciuch
Yeap directly, actually I only pull the openejb-core for the ApplicationComposer 2016-05-20 11:56 GMT+02:00 Romain Manni-Bucau : > 2016-05-20 11:54 GMT+02:00 Gregory Orciuch : > > > 2. Great. works. .setInitOnStartup(true) does the trick. For group > > reference. Something like this: ejbJar.addEn

Re: ApplicationComposer and @Startup (and logging)

2016-05-20 Thread Romain Manni-Bucau
2016-05-20 11:54 GMT+02:00 Gregory Orciuch : > 2. Great. works. .setInitOnStartup(true) does the trick. For group > reference. Something like this: ejbJar.addEnterpriseBean(new > SingletonBean(CacheInitBean.class)).setInitOnStartup(true); > > 1. It's kinda blind on log4j stuff. Added the log4j mav

Re: ApplicationComposer and @Startup (and logging)

2016-05-20 Thread Gregory Orciuch
2. Great. works. .setInitOnStartup(true) does the trick. For group reference. Something like this: ejbJar.addEnterpriseBean(new SingletonBean(CacheInitBean.class)).setInitOnStartup(true); 1. It's kinda blind on log4j stuff. Added the log4j maven test dependency, then added the log4j.properties to

Re: ApplicationComposer and @Startup (and logging)

2016-05-20 Thread Romain Manni-Bucau
Hello 2016-05-20 11:34 GMT+02:00 Gregory Orciuch : > Hi, > > I think I'm facing an configuration issue here. > So having the @Singleton and @Startup Bean which is added in application > composer as below: > @Module > public EjbJar beans() { > EjbJar ejbJar = new EjbJar("ejb-beans"); >

ApplicationComposer and @Startup (and logging)

2016-05-20 Thread Gregory Orciuch
Hi, I think I'm facing an configuration issue here. So having the @Singleton and @Startup Bean which is added in application composer as below: @Module public EjbJar beans() { EjbJar ejbJar = new EjbJar("ejb-beans"); ejbJar.addEnterpriseBean(new SingletonBean(CacheInitBean.cla