[jboss-user] [JNDI/Naming/Network] - Re: How to Access EJB over HTTP in remote machine?
robert.geisler
do-not-reply at jboss.com
Wed Jun 25 09:51:45 EDT 2008
"ritesh163" wrote : "robert.geisler" wrote : please check whether JBoss starts successfully with your command if you do not have configured standardjboss.xml, jboss.xml and the InvokerURLs.
| The error may be due to InvokerURLs of the servlets which was set to the router ip and jboss starting on internal IP.
did you test that? O: ) imho your bindings seem to be correct, both JBoss instances should bind to their "internal address". anyway i do not know why JBoss cannot find attribute named "RmiBindAddress".
if you enable DEBUG-logging in /conf/log4j.xml we can check what the ServiceConfigurator tries to do and what he actually does.
"ritesh163" wrote : machine A only invokes the EJB of machine B over http. Machine A has external IP and jboss is also starting on that ip. This machine A is connected to machine B through router Ip only. Machine A only knows Router IP of machine B.when message is send through router IP by machine A, this message is redirect to machine B's internal IP by router. Also machine B is starting only in Internal IP.
thank you for clearing it up to me.
in my opinion, your machine A do not need servlets and http-invokers. just machine B need these invokers and servlets, because only the EJBs of machine B will get accessed via http. nonetheless, imho the InvokerURL of the servlets have to point to the "router ip", because machine B create proxies which machine A uses to communicate to machine B. and because machine A (and its proxies) just know the "router ip", machine A has (especially its proxies have) to connect to the "router ip". machine B should never complain about setting the "router ip" as InvokerURL, because not machine B, but only machine A, will ever use the InvokerURL. at least this is my understanding.
regards
robert
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4160556#4160556
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4160556
More information about the jboss-user
mailing list