[jboss-user] [JNDI/Naming/Network] - Re: How to Access EJB over HTTP in remote machine?
do-not-reply at jboss.com
Wed Jun 25 01:35:44 EDT 2008
"robert.geisler" wrote :
| * use HttpNamingContextFactory instead of NamingContextFactory,
| | * configure JMXInvokerServlet and EJBInvokerServlet in deploy/http-invoker.sar/META-INF/jboss-service.xml,
| | * configure container-configuration in conf/standardjboss.xml.
| | try to get known to these first.
| second... i looked at your deploy/http-invoker.sar/META-INF/jboss-service.xml and i would guess that your InvokerURLs (for JMXInvokerServlet and EJBInvokerServlet) are wrong, because you point to your internal address. i think, you have to configure the external address, because the InvokerURL seems to be the address, JBoss will tell the clients to connect to.
| try to set the external addresses as the InvokerURLs for the servlets.
Thank you for your suggestion but I am new to jboss server, so I am confused about following:
| * which container-name or section to change to what in conf/standardjboss.xml.
| * if external addresses are set as the InvokerURLs for the servlets then will I have to set external IP at start of server. I am using below command to start the server: run.sh -c default -b [internal ip] for Jboss. If I replace [internal ip] with [external ip] then the server won't start.
| * Also can I use domain name in place of IPs?
| Waiting for your reply.
| Thank you.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4160421#4160421
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4160421
More information about the jboss-user