Project

General

Profile

Can't get connection

Moffitt tig
Added over 2 years ago

hi.

Add in the configuration of the Tigase/etc/init.properties - -- monitoring = JMX: 9050, HTTP: 9080, SNMP: 9060, the operating error.

In the following:

2016-08-11 18:44:26.383 [main]             ConfiguratorAbstract.initMonitoring()  WARNING: Can not initialize monitoring: 
java.lang.ClassNotFoundException: tigase.management.MonitoringSetup
    at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:264)
    at tigase.conf.ConfiguratorAbstract.initMonitoring(ConfiguratorAbstract.java:922)
    at tigase.conf.ConfiguratorAbstract.init(ConfiguratorAbstract.java:253)
    at tigase.server.XMPPServer.start(XMPPServer.java:133)
    at tigase.server.XMPPServer.main(XMPPServer.java:112)

1.Run tigase - monitor appear connection refused.

The following error:

node config, description: red    color: red      hostname: ttlgz020      port: 9050      userName: aa    password: 123456    
Created: red:ttlgz020:9050
Started: red:ttlgz020:9050
八月 11, 2016 6:45:52 下午 tigase.stats.JavaJMXProxyOpt$StatisticsUpdater$1 run
警告: Connection refused: connect, ttlgz020, retrying in 10 seconds

thank you!


Replies (1)

Added by Wojciech Kapcia TigaseTeam over 2 years ago

What Tigase distribution do you use? Please use the -dist-max releases (for example: https://projects.tigase.org/attachments/download/4625/tigase-server-7.0.4-b3844-dist-max.tar.gz), which include @tigase-extras.jar@. Alternatively, please sure you are including this dependency when you run Tigase server.

Without that, you won't be able to connect to Tigase XMPP Server from Tigase Monitor.

    (1-1/1)