This content has been marked as final.
Show 3 replies
-
1. Re: Delay @Singleton @Startup bean until the server start has completed
nickarls Nov 6, 2012 2:05 AM (in response to qtm)I think the AS has fairly sophisticated algorithms that makes sure subsystems are initialized in order but I don't think there is any global event that can be watched. I guess it's possible to use a management client for polling the startup status if it comes to that. I believe there has been some discussions on the forum regarding startup detection before.
-
2. Re: Delay @Singleton @Startup bean until the server start has completed
jaikiran Nov 6, 2012 3:08 AM (in response to qtm)If you are using @Resource injection then you shouldn't need any more configurations for the proper dependencies to be set up. What does your code look like and what exact error are you running into?
-
3. Re: Delay @Singleton @Startup bean until the server start has completed
qtm Nov 6, 2012 4:11 AM (in response to jaikiran)Sometimes I'd like to use the initialcontext to lookup the connectionfactories myself and to take their JNDI name from some other location.