-
1. Re: new InitialContext(remote) in servlet returns local jndi
razor_harm Mar 9, 2005 6:56 AM (in response to justkeys)Can you post your (servlet) code here?
-
2. Re: new InitialContext(remote) in servlet returns local jndi
narayanrm Mar 9, 2005 8:14 AM (in response to justkeys)
have you looked at here?
http://www.jboss.org/wiki/Wiki.jsp?page=HowDoIConfigureAnMDBToTalkToARemoteQueue -
3. Re: new InitialContext(remote) in servlet returns local jndi
justkeys Mar 9, 2005 8:47 AM (in response to justkeys)I changed to normal jndi and jms (without http):
java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
java.naming.provider.url=jnp://192.168.20.11:1099
java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
By simply changing these settings, it does work inside the war.
This means something is wrong with my HttpNamingContextFactory, when it is created by a thread owned by a war. -
4. Re: new InitialContext(remote) in servlet returns local jndi
steez Mar 22, 2005 2:51 AM (in response to justkeys)We found this problem yesterday with RMI over SSL. When we perform a remote lookup in JBoss, the JNDI tree is returned from the calling JBoss instead of the remote.
What to do? -
5. Re: new InitialContext(remote) in servlet returns local jndi
adrian.brock Mar 22, 2005 1:00 PM (in response to justkeys)Moderated: What makes you think you will get any jndi question answered in the JMS forum.
And "steez" needs to "READ THIS FIRST"
It is an FAQ anyway, if you'd even bothered to investigate the FAQ before posting.
/etc/hosts -
6. Re: new InitialContext(remote) in servlet returns local jndi
m.schiessl Apr 7, 2005 5:05 AM (in response to justkeys)We exactly have the same problem under windows platform and jboss4.01sp1.
Changes to hosts did not solve our problem.
Did it solve the problem to you ?
Are there further possibilities to address the problem ?
Michael -
7. Re: new InitialContext(remote) in servlet returns local jndi
justkeys Apr 7, 2005 11:40 AM (in response to justkeys)Adrian: i don't see which faq entry has anything to do with my question.
I know there are some faq entries about MDB's listening to a remote jboss, but that is not what i am pointing out.