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

Re: [xmlblaster] RMI Registry Bind disallowed

Meinrad Teufel wrote:

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://'
[27.01.2004 13:10:39 INFO RmiConnection] Accessed xmlBlaster server reference with 'rmi://'
[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 / is non-local host] [See URL

xmlBlaster (ip: 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= org.xmlBlaster.Main -plugin/rmi/registryPort

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

Do I use wrong parameters?

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



regards Meinrad