Yep, this is a problem with current version of deployer. You cannot get the bean from bean factory unless explicity injecting it in EJB enterprise bean. The reason for this is that the actual bean factory is really just a bean factory implementation and NOT an application context (which is capable of a lot more; postprocessing, listeners, singleton creation at start, ...). To be able to do this (your task) you need anapplication context impl of bean factory - deploys singletons at creation time. And this has been done in a new version of deployer (it is not yet on the sourceforge), jboss-service.xml must also be changed.
You can temporarly download it here: - http://www.genera-lynx.com/temp/jboss-spring-jdk5.jar - http://www.genera-lynx.com/temp/jboss-service.xml You will probably have to change Spring libraries to version 1.2.5. Rgds, Ales View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3919976#3919976 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3919976 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
