[jboss-user] [JNDI/Naming/Network] - Re: problem with JNDI Lookup for Entity beans
Have a look at http://wiki.jboss.org/wiki/Wiki.jsp?page=WhyDoesTheLocalNameContainARandomNumber View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037481#4037481 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037481 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Re: Problem with JNDI Lookup
Forgot to post the working code. Object obj = ctx.lookup("ejb/com/atsva/cmmts/ejb/DesignObjectManger"); Apparently it needs to match the xdoclet tag which is * jndi-name="ejb/com/atsva/cmmts/ejb/DesignObjectManger" View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4028158#4028158 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4028158 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Re: Problem with JNDI Lookup
The second one works. Thank you very much. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4028156#4028156 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4028156 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Re: Problem with JNDI Lookup
Try the following: | ctx.lookup("java:/DesignObjectManager"); | or | ctx.lookup("java:comp/env/ejb/com/atsva/cmmts/ejb/DesignObjectManager"); | Also, go to your JMX Console --> JNDIView and list all the bindings to see if your object is there Hope it helps View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4028095#4028095 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4028095 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Re: Problem with JNDI/lookup
for those who may get in this situation, the problem solution is to add JAR libraries to project and it works. I don´t know why this is so messy at JBOSS. Why there is no single JAR, why I have to search the whole JBOSS dir for classes I´m missing? Damn god ... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4023066#4023066 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4023066 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user