[jboss-user] [JNDI/Naming/Network] - Re: How to Access EJB over HTTP in remote machine?
ritesh163
do-not-reply at jboss.com
Wed Jun 25 05:22:51 EDT 2008
"robert.geisler" wrote :
| just for the InvokerURLs of the servlets you have to set the external ip, because JBoss sends the InvokerURL back to the clients to let them know where to connect to.
| robert
I had configured both standardjboss.xml and jboss.xml. I had started client Jboss with command as : run.sh -c default -b [internal ip] and set InvokerURLs of the servlets to the external ip. But following error occures:
| 21:05:55,944 INFO [Server] Server Name: default
| 21:05:55,944 INFO [Server] Server Home Dir: /home/remit/jboss-4.0.4.GA/server/default
| 21:05:55,944 INFO [Server] Server Home URL: file:/home/remit/jboss-4.0.4.GA/server/default/
| 21:05:55,944 INFO [Server] Server Log Dir: /home/remit/jboss-4.0.4.GA/server/default/log
| 21:05:55,945 INFO [Server] Server Temp Dir: /home/remit/jboss-4.0.4.GA/server/default/tmp
| 21:05:55,946 INFO [Server] Root Deployment Filename: jboss-service.xml
| 21:05:56,505 INFO [ServerInfo] Java version: 1.5.0_08,Sun Microsystems Inc.
| 21:05:56,505 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM 1.5.0_08-b03,Sun Microsystems Inc.
| 21:05:56,505 INFO [ServerInfo] OS-System: Linux 2.6.18-8.el5,i386
| 21:05:57,399 INFO [Server] Core system initialized
| 21:06:02,350 INFO [ServiceConfigurator] Problem configuring service jboss:service=Naming
| org.jboss.deployment.DeploymentException: No Attribute found with name: RmiBindAddress
| at org.jboss.system.ServiceConfigurator.configure(ServiceConfigurator.java:318)
| at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:460)
| at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:171)
| at org.jboss.system.ServiceController.install(ServiceController.java:226)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| at $Proxy4.install(Unknown Source)
| at org.jboss.deployment.SARDeployer.create(SARDeployer.java:249)
| at org.jboss.deployment.MainDeployer.create(MainDeployer.java:953)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:807)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:755)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| at $Proxy5.deploy(Unknown Source)
| at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
| at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
| at org.jboss.Main.boot(Main.java:200)
| at org.jboss.Main$1.run(Main.java:464)
| at java.lang.Thread.run(Thread.java:595)
|
Here, I am talking about client side Jboss (machine B). machine A is already in External IP, so it runs on external IP. Will machine A also require invoker? I didn't configure invoker in machine A because it invoke other ejb which is in machine B. Machine B has internal ip and jboss also run on that ip which is redirected by router ip or external ip.
I am hoping to receive reply ....
thank you.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4160471#4160471
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4160471
More information about the jboss-user
mailing list