[jboss-user] [JNDI/Naming/Network] - Re: basic JNDI beginners problems - cant do look up from app
wiggy
do-not-reply at jboss.com
Wed Sep 5 19:38:10 EDT 2007
jaikiran
thanks for the reply - its a little late at night - i tried the same code on another laptop (not my works one) and I do seem to get a lookup - so theres probably something in the works laptop blocking the lookup (though i'm not sure what as the the fw is disabled - but we have odessy as port authent service when connecting to lan and may thats impacting the connection - i'll have a look tomorrow.
however general query - if I remove the line
<use-java-context>false</use-java-context>
from my DS spec - then the DS gets put in the 'java:' tree in the AS jndi tree, and when i try to look that up it says 'java:' is not bound from the standalone application.
is the the 'java:' branch only available to applications deployed into the AS server ? therefore i was using servlets and other clients deployed to the AS i can use the default 'java: ' branch - but if i want remote clients to access them i need to put them in global JNDI tree?
If i declare a @Remote annotation for a session bean - does that go into the global or the 'java:' tree? if the latter how are external apps expected to find the sessionBean JNDI references?
kind regards Will
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081523#4081523
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081523
More information about the jboss-user
mailing list