This content has been marked as final.
Show 1 reply
-
1. Re: JNDI for ejbs, remote vs. local
frito May 30, 2003 3:54 PM (in response to gtian)wrong forum, i guess.. or are you talking of a data source???
>first question: do the web
> war and ejb jar run in one JVM? I am using remote ejb
> lookup from war, no complaints. However, I guess they
> run in one JVM.
yes, jboss is running in one vm, tomcat is embedded...
> If I use the standard ejb-jar.xml only and use the
> ejb-name from that file for all of the JNDI lookup,
> everthing works. When I try to use jboss.xml and
> jboss-web.xml for JBoss JNDI names, it failed.
use the jmx-console (JNDI view) to see which objects are registered using which name under which scope...
if you are still having problems, post more information (exception stacktrace, ejb-jar.xml, jboss.xml).
Greetings,
Frito