[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [xmlblaster] RMI Registry Bind disallowed



Meinrad Teufel wrote:
Hi,

I tried to connect xmlBlaster(0_8_5e) throug RMI.
If I start the xmlBlaster and the Client on my local host, it works fine. But if I try to connect to a remote xmlBlaster,
I get the following Error on Client side.


[27.01.2004 13:10:37 INFO XmlBlasterAccess] Loaded security plugin=htpasswd version=1.0
[27.01.2004 13:10:37 INFO XmlBlasterSecurityManager] Using security policy
file:/home/teufel/Entwicklung/xmlBlaster/lib/xmlBlaster.jar!/xmlBlaster.policy, found it in your CLASSPATH.
[27.01.2004 13:10:38 INFO RmiConnection] Created 'RMI' protocol plugin to connect to xmlBlaster server
[27.01.2004 13:10:38 INFO RmiConnection] Accessed xmlBlaster authentication reference with 'rmi://172.24.2.30:2078/I_AuthServer'
[27.01.2004 13:10:39 INFO RmiConnection] Accessed xmlBlaster server reference with 'rmi://172.24.2.30:2078/I_XmlBlaster'
[27.01.2004 13:10:39 INFO DispatchConnection-connection:client/HelloWorld3] Connection 'RMI' transition UNDEF -> ALIVE: Success,
connection:client/HelloWorld3 connected.
[27.01.2004 13:10:39 INFO DispatchManager-connection:client/HelloWorld3] Switched to synchronous message delivery
[27.01.2004 13:10:39 INFO RmiCallbackServer-HelloWorld3] Started RMI registry on port 2078
[27.01.2004 13:10:40 ERROR HelloWorld3] XmlBlasterException errorCode=[resource.configuration] serverSideException=false
location=[RmiCallbackServer-HelloWorld3] message=[Could not initialize RMI registry : java.rmi.ServerException: RemoteException occurred in server
thread; nested exception is:
java.rmi.AccessException: Registry.Registry.bind disallowed; origin /172.27.1.7 is non-local host] [See URL
http://www.xmlblaster.org/xmlBlaster/doc/requirements/admin.errorcodes.listing.html#resource.configuration]




xmlBlaster (ip: 172.24.2.30) started with:
java -cp $XMLBLASTER_HOME/lib/xmlBlaster.jar -Djava.rmi.server.codebase=file:///${XMLBLASTER_HOME}/classes/
-Djava.security.policy=${XMLBLASTER_HOME}/config/xmlBlaster.policy -Djava.rmi.server.hostname=172.24.2.30 org.xmlBlaster.Main -plugin/rmi/registryPort
2078



Client (ip: 172.27.1.7) started with:
java HelloWorld3 -protocol RMI -plugin/rmi/registryPort 2078 -plugin/rmi/hostname 172.24.2.30



Do I use wrong parameters?

Same problem here ... we need to look into this issue.

regards,

Marcel


regards Meinrad






--
http://www.xmlBlaster.org