This content has been marked as final.
Show 3 replies
-
1. Re: Problem in injecting simple env entries in EJB
tom.iten Nov 24, 2008 5:50 AM (in response to plethora)Hi Plethora
You don't need the @Resource Annotation if you define the injection within the xml descriptor. You can just useString duration;
in your Bean.
Best Regards
Tom -
2. Re: Problem in injecting simple env entries in EJB
plethora Dec 8, 2008 9:58 AM (in response to plethora)Ti,
Thanks for your recommendation. But it did not work . The problem is simple env entries are not getting bound to the JNDI namespace .
Plethora -
3. Re: Problem in injecting simple env entries in EJB
jaikiran Dec 8, 2008 10:06 AM (in response to plethora)Which version of JBoss and Java do you use? Also, please post the entire console logs.
While posting logs or xml content or code, remember to wrap it in a code block. Also please hit the Preview button before posting, to ensure your post is correctly formatted.