[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[xmlblaster] error when testing jmx plugin?
test the jmx plugin and find some strange behaviour:
>java org.xmlBlaster.Main -xmlBlaster.activateJmx true
it report the following error:
[2004-2-22 21:45:02 INFO xmlBlasterConnector] Starting new Embedded
inforMe
ssaging responsible for internal jmx-messages on port 3424
######Global args constructor invoked again, try Global.instance()
java.lang.Exception: Stack trace
at java.lang.Thread.dumpStack(Thread.java:1064)
at org.xmlBlaster.util.Global.<init>(Global.java:244)
at org.xmlBlaster.util.Global.<init>(Global.java:193)
at org.xmlBlaster.util.admin.extern.xmlBlasterConnector.startEmb
eddedxmlBlasterServer(xmlBlasterConnector.java:114)
at org.xmlBlaster.util.admin.extern.xmlBlasterConnector.startInt
ernal(xmlBlasterConnector.java:104)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at
com.sun.jmx.mbeanserver.StandardMetaDataImpl.invoke(StandardMetaDataI
mpl.java:412)
at
com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:228)
at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultM
BeanServerInterceptor.java:818)
at
com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:791
)
at org.xmlBlaster.util.admin.extern.JmxWrapper.startxmlBlasterCo
nnector(JmxWrapper.java:147)
at
org.xmlBlaster.util.admin.extern.JmxWrapper.init(JmxWrapper.java:
87)
at
org.xmlBlaster.util.admin.extern.JmxWrapper.<init>(JmxWrapper.jav
a:68)
at org.xmlBlaster.engine.Global.getJmxWrapper(Global.java:435)
at
org.xmlBlaster.engine.RequestBroker.<init>(RequestBroker.java:243
)
at org.xmlBlaster.engine.xmlBlasterImpl.<init>(xmlBlasterImp
l.java:76)
at
org.xmlBlaster.authentication.Authenticate.<init>(Authenticate.ja
va:97)
at
org.xmlBlaster.engine.runlevel.RunlevelManager.initPluginManagers
(RunlevelManager.java:89)
at org.xmlBlaster.Main.init(Main.java:160)
at org.xmlBlaster.Main.<init>(Main.java:109)
at org.xmlBlaster.Main.main(Main.java:531)
2. when i start the connector client java org.xmlBlaster.jmxgui.Main
it reports:
[2004-2-22 21:50:55 INFO DataModel] Trying to retrieve config from file
[2004-2-22 21:50:55 INFO XmlUtil] loading config from file 'jmxgui.xml' or
prop
erty 'jmxgui.config'
[2004-2-22 21:50:55 ERROR DataModel] Error when loading plugin config
java.lang.
NullPointerException
java.lang.NullPointerException
at org.xmlBlaster.jmxgui.util.XmlUtil.loadConfig(XmlUtil.java:61)
at org.xmlBlaster.jmxgui.DataModel.buildTree(DataModel.java:61)
at org.xmlBlaster.jmxgui.DataModel.<init>(DataModel.java:49)
at org.xmlBlaster.jmxgui.MainFrame.jbInit(MainFrame.java:111)
at org.xmlBlaster.jmxgui.MainFrame.<init>(MainFrame.java:44)
at org.xmlBlaster.jmxgui.Main.main(Main.java:23)
java.io.IOException
at
sun.awt.image.GifImageDecoder.readHeader(GifImageDecoder.java:337)
at
sun.awt.image.GifImageDecoder.produceImage(GifImageDecoder.java:123)
at
sun.awt.image.InputStreamImageSource.doFetch(InputStreamImageSource.j
ava:254)
at sun.awt.image.ImageFetcher.fetchloop(ImageFetcher.java:172)
at sun.awt.image.ImageFetcher.run(ImageFetcher.java:136)
i search the entire directory, cannot find the jmxgui.xml or jmxgui.config
file.
why???????????????
_________________________________________________________________
享用世界上最大的电子邮件系统― MSN Hotmail。 http://www.hotmail.com