powered by Jive Software

How can I debug Connection Manager using Eclipse?

Hello,

How can I debug Connection Manager using Eclipse?

That problem happened:

Could not locate home
java.io.FileNotFoundException
at org.jivesoftware.multiplexer.ConnectionManager.locateHome(ConnectionManager.jav a:716)
at org.jivesoftware.multiplexer.ConnectionManager.initialize(ConnectionManager.jav a:146)
at org.jivesoftware.multiplexer.ConnectionManager.start(ConnectionManager.java:214 )
at org.jivesoftware.multiplexer.ConnectionManager.(ConnectionManager.java:14 2)
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:513)
at java.lang.Class.newInstance0(Class.java:355)
at java.lang.Class.newInstance(Class.java:308)
at org.jivesoftware.multiplexer.starter.ServerStarter.start(ServerStarter.java:95)
at org.jivesoftware.multiplexer.starter.ServerStarter.main(ServerStarter.java:49)
Critical Error! The home directory has not been configured,
which will prevent the application from working correctly.

ERROR 12460 [Jive-ERR] ():
java.io.FileNotFoundException: XML properties file does not exist: manager.xml
at org.jivesoftware.util.XMLProperties.(XMLProperties.java:97)
at org.jivesoftware.util.XMLProperties.(XMLProperties.java:59)
at org.jivesoftware.util.JiveGlobals.loadSetupProperties(JiveGlobals.java:459)
at org.jivesoftware.util.JiveGlobals.getHomeDirectory(JiveGlobals.java:142)
at org.jivesoftware.util.Log.initLog(Log.java:78)
at org.jivesoftware.util.Log.(Log.java:64)
at org.jivesoftware.multiplexer.ConnectionManager.start(ConnectionManager.java:234 )
at org.jivesoftware.multiplexer.ConnectionManager.(ConnectionManager.java:14 2)
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:513)
at java.lang.Class.newInstance0(Class.java:355)
at java.lang.Class.newInstance(Class.java:308)
at org.jivesoftware.multiplexer.starter.ServerStarter.start(ServerStarter.java:95)
at org.jivesoftware.multiplexer.starter.ServerStarter.main(ServerStarter.java:49)
2009.06.26 15:15:16 Error occurred opening log file: LogName was null - managerHome not set?
2009.06.26 15:15:16 [org.jivesoftware.multiplexer.ConnectionManager.start(ConnectionManager.java:23 4)
]
java.io.FileNotFoundException
at org.jivesoftware.multiplexer.ConnectionManager.locateHome(ConnectionManager.jav a:716)
at org.jivesoftware.multiplexer.ConnectionManager.initialize(ConnectionManager.jav a:146)
at org.jivesoftware.multiplexer.ConnectionManager.start(ConnectionManager.java:214 )
at org.jivesoftware.multiplexer.ConnectionManager.(ConnectionManager.java:14 2)
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:513)
at java.lang.Class.newInstance0(Class.java:355)
at java.lang.Class.newInstance(Class.java:308)
at org.jivesoftware.multiplexer.starter.ServerStarter.start(ServerStarter.java:95)
at org.jivesoftware.multiplexer.starter.ServerStarter.main(ServerStarter.java:49)
2009.06.26 15:15:16 Missing resource for key: startup.error in locale pt_BR

2009.06.26 15:15:16 Connection Manager stopped

Thanks!

Sorry,

I resolved configuring VmArguments with “-DmanagerHome=”

1 Like