- 
        1. Re: jboss behind a firewallfrito Jul 28, 2003 12:33 AM (in response to taiwuco)Since JNDI and the standard bean invoker are using RMI and RMI is not the protocol of your choice behind a firewall (needs many open ports because uses one port dynamically in a certain range) you should use the HttpNamingContextFactory for doing JNDI lookup over HTTP and use another invoker for beancalls (HTTP or SSL). There are examples in the jboss testsuite. 
 Greetings,
 Frito
- 
        2. Re: jboss behind a firewalltaiwuco Jul 28, 2003 1:10 AM (in response to taiwuco)Thanks for the reply. I will consult the test suite. 
 Best Regards,
 Brian
- 
        3. Re: jboss behind a firewalltaiwuco Aug 8, 2003 3:36 AM (in response to taiwuco)Greetings, 
 I tried to find the testsuite for the JNDI over HTTP but found nothing. Can you kindly show me where it is?
 I modify jndi.propeties:
 java.naming.factory.initial=org.jboss.naming.HttpNamingContextFactory
 java.naming.provider.url=http://<external server>:80/invoker/JNDIFactory
 java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
 And run the appliction. The error was
 ClassNotFoundException: org.jboss.naming.HttpNamingContextFactory
 I am using jboss 3.1. Did I miss a jar file?
 Best Regards,
 Brian
- 
        4. Re: jboss behind a firewallmikesu Aug 8, 2003 9:15 AM (in response to taiwuco)use another invoker for beancalls 
 How should client be configured to use HTTPInvoker???
- 
        5. Re: jboss behind a firewallmikesu Aug 8, 2003 9:16 AM (in response to taiwuco)2taiwuco2 
 Yes you've missed jar
- 
        6. Re: jboss behind a firewalltaiwuco Aug 8, 2003 9:02 PM (in response to taiwuco)to mikesu, 
 which jar file? I look over all jboss related jar file on jboss 3.1.
 I changed to 3.2.2 RC2. The configurations are so different. Look like I need to buy document again although it was setup and run successfully. The ClassNotFoundException was gone. I found HttpNamingContextInvoker on jboss 3.2.2. I still wanted to know where it is on 3.1.
 In your previous reply, were you asking a question or telling me an answer? Sorry, I don't get it. BTW, I almost solved my problem.
 Best Regards,
 Brian
- 
        7. Re: jboss behind a firewallmikesu Aug 11, 2003 7:07 AM (in response to taiwuco)HttpNamingContextFactory class is in (at least for jboss 3.2.1): 
 <jboss-dir>client/jboss-client.jar
 
     
    