Thank you for your replies. I have the same effect when I make a class level @Depends annotation.
Without @Depends I get the same Exceptions as amwilliams : | 11:22:20,282 INFO [ScannerThread] [STDOUT] javax.naming.NamingException: Could not dereference object [Root exception is javax.naming.NameNotFoundException: local not bound] | 11:22:20,282 INFO [ScannerThread] [STDOUT] at org.jnp.interfaces.NamingContext.resolveLink(NamingContext.java:1052) | 11:22:20,282 INFO [ScannerThread] [STDOUT] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:685) | ... | | ... | 11:22:20,470 WARN [ScannerThread] [ServiceController] Problem creating service pistats:service=PIStatsManager | java.lang.RuntimeException: Unable to inject jndi dependency: env/de.spiegel.pistats.management.PIStatsManagerMBean/sampleService into field de.spiegel.pistats.management.SampleServiceLocal de.spiegel.pistats.management.PIStatsManagerMBean.sampleService | at org.jboss.ejb3.injection.JndiFieldInjector.inject(JndiFieldInjector.java:74) | at org.jboss.ejb3.injection.JndiFieldInjector.inject(JndiFieldInjector.java:61) | at org.jboss.ejb3.service.ServiceContainer.injectDependencies(ServiceContainer.java:261) | ... | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3923551#3923551 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3923551 ------------------------------------------------------- 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
