-
1. Re: Big problem!How to lookup a entitybean which only have l
pxpwxj Jul 23, 2006 1:29 AM (in response to pxpwxj)any help ?? tks
-
2. Re: Big problem!How to lookup a entitybean which only have l
pxpwxj Jul 23, 2006 3:24 AM (in response to pxpwxj)oh,I know .Add a jboss.xml file,then define the jndi name for every ejb in this file.it will work.
but for session bean,i need not provide jboos.xml. -
3. Re: Big problem!How to lookup a entitybean which only have l
peterj Jul 24, 2006 10:43 AM (in response to pxpwxj)Look up the EJB using the name in the global namepsace. If you deploy your EJB, you can easily find out it's name in the global namespace by using the jmx-console. In the jmx-console, under the "jboss" namespace, click "service=JNDIView", and on the JNDIView page click the Invoke button under the list() operation. You EJBs will be listed under "Global JNDI Namepsace".
-
4. Re: Big problem!How to lookup a entitybean which only have l
rschlege Jul 25, 2006 7:39 AM (in response to pxpwxj)I have a similar problem, but checking the JNDIView doesnt help because the bean is not there at all. To create the Bean I used the Netbeans GUI just to be sure that I dont miss anything, but it still doesn't seem to deploy the bean properly.
I use JBoss 4.0.4 and Netbeans 5.5 Beta2. The server log doesn't show any errors.
Thanks for any hints. -
5. Re: Big problem!How to lookup a entitybean which only have l
peterj Jul 25, 2006 10:52 AM (in response to pxpwxj)If JNDIView does not show the bean, and there is nothing on the console output, then NetBeans did not deploy the bean properly. You should probably search the "JBoss and Netbeans" forum (http://www.jboss.com/index.html?module=bb&op=viewforum&f=234) to see if there is already a post about this, and if not, ask the question there.