[jboss-user] [Beginners Corner] - Re: HELP: javax.naming.NameNotFoundException: comp not bound

cnbs do-not-reply at jboss.com
Mon Aug 7 08:18:49 EDT 2006


"jaikiran" wrote : If thats what you want to have, then you will have to specify an env-entry for your bean. Have a look at the dtd of ejb-jar.xml at:
  | http://java.sun.com/dtd/ejb-jar_2_0.dtd
  | 
  | Here's an extract:
  | 
  | 

Thank you.. but I need an ejb ENC context, from where i want to get EJBContex, TimerService.. 
I want to know, is this ENC context is created by JBoss automatically during deployment, or i must somehow set it by myself?
And annotations like @Resource, @EJB, @TimerService are not working to. I just can't do anything. 
And, do i need ejb-jar.xml or jboss.xml? 

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3963545#3963545

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3963545



More information about the jboss-user mailing list