I have master and slave running on the same machine, and every know
and then I'm getting the following exception (see below).
Any clue what could be the reason ?
It seems to be RMI related, and I tried turning off RMI in the master
via the xml file attached below. However, the master still loads all
the plugins (including RMI). I pass the xml plugin in on the cmdline
via -pluginsFile file.xml
Those are probably two independent problems, but a solution to either
one would bring me further in getting my setup running reliably.
Clues ?
Michael
-- Exception in the master --------
[May 23, 2003 9:12:26 AM WARN RunlevelManager-/node/psq_xxx.xxx.xxx.xxx] .fireRunlevelEvent. Exception when loading the plugin 'protocol:RMI' reason: errorCode=resource.configuration.pluginFailed message=Initializing of plugin RMI failed:XmlB
lasterException node=[psq_xxx.xxx.xxx.xxx] location=[RmiDriver-/node/psq_xxx.xxx.xxx.xxx.init]
java.security.AccessControlException: access denied (java.io.FilePermission ./xmlBlaster.policy read)
stackTrace=java.security.AccessControlException: access denied (java.io.FilePermission ./xmlBlaster.policy read)
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:270)
at java.security.AccessController.checkPermission(AccessController.java:401)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:542)
at java.lang.SecurityManager.checkRead(SecurityManager.java:887)
at java.io.File.exists(File.java:677)
at org.jutils.io.FileUtil.deleteFile(FileUtil.java:250)
at org.xmlBlaster.util.XmlBlasterSecurityManager.createSecurityManager(XmlBlasterSecurityManager.java:128)
at org.xmlBlaster.protocol.rmi.RmiDriver.init(RmiDriver.java:180)
at org.xmlBlaster.protocol.rmi.RmiDriver.init(RmiDriver.java:149)
at org.xmlBlaster.util.plugin.PluginManagerBase.instantiatePluginSecondPhase(PluginManagerBase.java:253)
at org.xmlBlaster.util.plugin.PluginManagerBase.getPluginObject(PluginManagerBase.java:111)
at org.xmlBlaster.engine.runlevel.RunlevelManager.startupPlugins(RunlevelManager.java:249)
at org.xmlBlaster.engine.runlevel.RunlevelManager.changeRunlevel(RunlevelManager.java:187)
at org.xmlBlaster.Main.init(Main.java:148)
at org.xmlBlaster.Main.<init>(Main.java:107)
at org.xmlBlaster.Main.main(Main.java:510)
errorCode=internal.unknown message=init. Could'nt initialize the driver.
at org.xmlBlaster.protocol.rmi.RmiDriver.init(RmiDriver.java:156)
at org.xmlBlaster.util.plugin.PluginManagerBase.instantiatePluginSecondPhase(PluginManagerBase.java:253)
at org.xmlBlaster.util.plugin.PluginManagerBase.getPluginObject(PluginManagerBase.java:111)
at org.xmlBlaster.engine.runlevel.RunlevelManager.startupPlugins(RunlevelManager.java:249)
at org.xmlBlaster.engine.runlevel.RunlevelManager.changeRunlevel(RunlevelManager.java:187)
at org.xmlBlaster.Main.init(Main.java:148)
at org.xmlBlaster.Main.<init>(Main.java:107)
at org.xmlBlaster.Main.main(Main.java:510)
versionInfo=version=0.847,os.name=Linux,os.version=2.4.18-5,java.vm.vendor=Sun Microsystems Inc.,java.vm.version=1.4.1_02-b06,os.arch=i386,build.timestamp=05/21/2003 09:45 AM,build.java.vendor=Sun Microsystems Inc.,build.java.version=1.4.1_
01
errorCode description=This is an unknown and unexpected error, usually a Java runtime exception, please post it to the mailing list.
-- Master's xml plugin file -----
<!--
# Name: xmlBlasterPlugins.xml
# Project: xmlBlaster.org
# Copyright: xmlBlaster.org, see xmlBlaster-LICENSE file
# Comment: Plugins to load/unload on xmlBlaster startup/shutdown
# See: http://www.xmlblaster.org/xmlBlaster/doc/requirements/engine.runlevel.html
-->
<xmlBlaster>
<!--============= PROTOCOL PLUGINS ================-->
<!-- ProtocolPlugin[IOR][1.0]=org.xmlBlaster.protocol.corba.CorbaDriver -->
<plugin id='protocol:IOR' className='org.xmlBlaster.protocol.corba.CorbaDriver'>
<action do='LOAD' onStartupRunlevel='3' sequence='2'
onFail='resource.configuration.pluginFailed'/>
<action do='STOP' onShutdownRunlevel='2' sequence='4'/>
</plugin>
<!--===============================================-->
<!--========== NATIVE SERVICE PLUGINS =============-->
<!-- ProtocolPlugin[JDBC][1.0]=org.xmlBlaster.protocol.jdbc.JdbcDriver -->
<plugin id='protocol:JDBC' className='org.xmlBlaster.protocol.jdbc.JdbcDriver'>
<action do='LOAD' onStartupRunlevel='4' sequence='5' />
<action do='STOP' onShutdownRunlevel='3' sequence='1'/>
</plugin>
<!--===============================================-->
<!--========== DISPATCHER PLUGINS =================-->
</xmlBlaster>