powered by Jive Software

Connection Manager problem

Hello, dear friends.

I’'m a green hand of Connection Manager. I have a problem about connection manager.

I download the connection manager 3.3.0, openfire, and spark.

In my office, the openfire and spark run well.

I have set the configure file manager.xml as what the instruction suggests. However, the connection manager is always error while running.

Is there anybody who can help me?

Thanks a lot.

Here are the error logs of the CM:

2007.05.08 10:31:05 [org.jivesoftware.multiplexer.ConnectionManager.start(ConnectionManager.java:21 6)
] java.lang.NullPointerException at org.jivesoftware.multiplexer.ConnectionManager.initialize(ConnectionManager.jav a:129) at org.jivesoftware.multiplexer.ConnectionManager.start(ConnectionManager.java:196 ) at org.jivesoftware.multiplexer.ConnectionManager.<init>(ConnectionManager.j ava:124) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessor Impl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructor AccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:494) at java.lang.Class.newInstance0(Class.java:350) at java.lang.Class.newInstance(Class.java:303) at org.jivesoftware.multiplexer.starter.ServerStarter.start(ServerStarter.java:95) at org.jivesoftware.multiplexer.starter.ServerStarter.main(ServerStarter.java:49)
2007.05.08 10:31:13 [org.jivesoftware.util.XMLProperties.buildDoc(XMLProperties.java:434)
] Error reading XML properties
org.dom4j.DocumentException: Error on line 1 of document : Content is not allowed in prolog. Nested exception: Content is not allowed in prolog. at org.dom4j.io.SAXReader.read(SAXReader.java:482) at org.dom4j.io.SAXReader.read(SAXReader.java:365) at org.jivesoftware.util.XMLProperties.buildDoc(XMLProperties.java:431) at org.jivesoftware.util.XMLProperties.<init>(XMLProperties.java:110) at org.jivesoftware.util.XMLProperties.<init>(XMLProperties.java:59) at org.jivesoftware.util.JiveGlobals.loadSetupProperties(JiveGlobals.java:459) at org.jivesoftware.util.JiveGlobals.getXMLProperty(JiveGlobals.java:220) at org.jivesoftware.multiplexer.ConnectionManager.initialize(ConnectionManager.jav a:129) at org.jivesoftware.multiplexer.ConnectionManager.start(ConnectionManager.java:196 ) at org.jivesoftware.multiplexer.ConnectionManager.<init>(ConnectionManager.j ava:124) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessor Impl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructor AccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:494) at java.lang.Class.newInstance0(Class.java:350) at java.lang.Class.newInstance(Class.java:303) at org.jivesoftware.multiplexer.starter.ServerStarter.start(ServerStarter.java:95) at org.jivesoftware.multiplexer.starter.ServerStarter.main(ServerStarter.java:49)
Nested exception: org.xml.sax.SAXParseException: Content is not allowed in prolog. at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseExcep tion(ErrorHandlerWrapper.java:236) at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHan dlerWrapper.java:215) at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorRe porter.java:386) at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorRe porter.java:316) at com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(XMLScanner. java:1438) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDispatcher .dispatch(XMLDocumentScannerImpl.java:899) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocu ment(XMLDocumentFragmentScannerImpl.java:368) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Config uration.java:834) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Config uration.java:764) at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:148) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXP arser.java:1242) at org.dom4j.io.SAXReader.read(SAXReader.java:465) at org.dom4j.io.SAXReader.read(SAXReader.java:365) at org.jivesoftware.util.XMLProperties.buildDoc(XMLProperties.java:431) at org.jivesoftware.util.XMLProperties.<init>(XMLProperties.java:110) at org.jivesoftware.util.XMLProperties.<init>(XMLProperties.java:59) at org.jivesoftware.util.JiveGlobals.loadSetupProperties(JiveGlobals.java:459) at org.jivesoftware.util.JiveGlobals.getXMLProperty(JiveGlobals.java:220) at org.jivesoftware.multiplexer.ConnectionManager.initialize(ConnectionManager.jav a:129) at org.jivesoftware.multiplexer.ConnectionManager.start(ConnectionManager.java:196 ) at org.jivesoftware.multiplexer.ConnectionManager.<init>(ConnectionManager.j ava:124) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessor Impl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructor AccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:494) at java.lang.Class.newInstance0(Class.java:350) at java.lang.Class.newInstance(Class.java:303) at org.jivesoftware.multiplexer.starter.ServerStarter.start(ServerStarter.java:95) at org.jivesoftware.multiplexer.starter.ServerStarter.main(ServerStarter.java:49)
2007.05.08 10:31:13 [org.jivesoftware.util.JiveGlobals.loadSetupProperties(JiveGlobals.java:462)
] java.io.IOException: Error on line 1 of document : Content is not allowed in prolog. Nested exception: Content is not allowed in prolog. at org.jivesoftware.util.XMLProperties.buildDoc(XMLProperties.java:435) at org.jivesoftware.util.XMLProperties.<init>(XMLProperties.java:110) at org.jivesoftware.util.XMLProperties.<init>(XMLProperties.java:59) at org.jivesoftware.util.JiveGlobals.loadSetupProperties(JiveGlobals.java:459) at org.jivesoftware.util.JiveGlobals.getXMLProperty(JiveGlobals.java:220) at org.jivesoftware.multiplexer.ConnectionManager.initialize(ConnectionManager.jav a:129) at org.jivesoftware.multiplexer.ConnectionManager.start(ConnectionManager.java:196 ) at org.jivesoftware.multiplexer.ConnectionManager.<init>(ConnectionManager.j ava:124) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessor Impl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructor AccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:494) at java.lang.Class.newInstance0(Class.java:350) at java.lang.Class.newInstance(Class.java:303) at org.jivesoftware.multiplexer.starter.ServerStarter.start(ServerStarter.java:95) at org.jivesoftware.multiplexer.starter.ServerStarter.main(ServerStarter.java:49)
2007.05.08 10:31:13 [org.jivesoftware.multiplexer.ConnectionManager.start(ConnectionManager.java:21 6)
] java.lang.NullPointerException at org.jivesoftware.multiplexer.ConnectionManager.initialize(ConnectionManager.jav a:129) at org.jivesoftware.multiplexer.ConnectionManager.start(ConnectionManager.java:196 ) at org.jivesoftware.multiplexer.ConnectionManager.<init>(ConnectionManager.j ava:124) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessor Impl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructor AccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:494) at java.lang.Class.newInstance0(Class.java:350) at java.lang.Class.newInstance(Class.java:303) at org.jivesoftware.multiplexer.starter.ServerStarter.start(ServerStarter.java:95) at org.jivesoftware.multiplexer.starter.ServerStarter.main(ServerStarter.java:49)

Your problem seems that your configuration is not valid (xml speaking) and so the CM couldn’'t read it.

Error reading XML properties

org.dom4j.DocumentException: Error on line 1 of document : Content is not allowed in prolog. Nested exception: Content is not allowed in prolog.