Marcel Ruff
Sat, 31 May 2008 04:15:30 -0700
Dear Mohannad, the RMI support was stopped longer ago since there was no benefit using it. These are the three lines activation it: xmlBlaster.properties CbProtocolPlugin[RMI][1.0]=org.xmlBlaster.protocol.rmi.CallbackRmiDriverClientProtocolPlugin[RMI][1.0]=org.xmlBlaster.client.protocol.rmi.RmiConnection ClientCbServerProtocolPlugin[RMI][1.0]=org.xmlBlaster.client.protocol.rmi.RmiCallbackServer
xmlBlasterPlugins.xml<plugin create='true' id='RMI' className='org.xmlBlaster.protocol.rmi.RmiDriver'>
<action do='LOAD' onStartupRunlevel='4' sequence='50' />
<action do='STOP' onShutdownRunlevel='3' sequence='20'/>
</plugin>
The serverjava -Dcom.sun.management.jmxremote org.xmlBlaster.Main -plugin/rmi/registryPort 1099
The client java HelloWorld3 -protocol RMIBut here the fails with some serialization error when publishing, so you certainly need to make some
smaller code changes to get it running again, Good luck Marcel Mohannad wrote:
Dear sir, Thank you all for supporting and helping , I faced something a little strange ! I'm trying to run XMLBlaster with RMI, I followed this :java -Djava.rmi.server.codebase=file:///mr/Desktop/xmlBlaster/classes/ -Djava.security.policy=mr/Desktop/xmlBlaster/config/xmlBlaster.policy-Djava.rmi.server.hostname=172.16.132.55 <http://172.16.132.55> org.xmlBlaster.Main -plugin/rmi/registryPort 2078and I added the required plugin, but I am not sure what should I modify in"Djava.rmi.server.codebase=file:///${XMLBLASTER_HOME}/classes/ \"I changed XMLBLASTER_HOME with my XMLBlaster home, but what should I do for /classes ??when I run this command "java HelloWorld3 -protocol RMI -plugin/rmi/registryPort 2078"@ client side:/ this error appeared although I added ProtocolPlugin[RMI][1.0]=org.xmlBlaster.protocol.rmi.RmiDriver /and /CbProtocolPlugin[RMI][1.0]=org.xmlBlaster.protocol.rmi.CallbackRmiDriver/ to xmlBlaster.properties<init>: XmlBlasterException errorCode=[resource.configuration] serverSideException=false location=[PluginInfo-ClientProtocolPlugin] message=[#1.6.2 Plugin 'ClientProtocolPlugin[RMI][1.0]' not found, please check your configuration : ] [See URL http://www.xmlblaster.org/xmlBlaster/doc/requirements/admin.errorcodes.listing.html#resource.configuration]could you help me, or rmi not supported any more ? regards, Mohannad
-- Marcel Ruff http://www.xmlBlaster.org http://watchee.net Phone: +49 7551 309371