It seems that ear file are deployed in below sequence:
...
1. EjbDeployer: install ejb but doesn't bind it to JNDI tree.
2. TomcatDeployment -> Initial servlet context and call listener: deploy war file and
invoke servlet config listener
3. EjbModule -> BaseLocalProxyFactory: Bould EJB LocalHome to jndi tree.
...
The problem here is if we want to invoke ejb method in
ServletContextListener.contextInitialized() , it will fail due to the fact that jndi name
is not bound.
Any suggestion/work around to solve this issue would be highly appreciated.
Best regards,
Arthur
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4232096#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...