Problems with Management Console for Linux and Java Application

Started by mstrigl, November 10, 2011, 05:40:22 PM

Previous topic - Next topic

mstrigl

Hi,

I have managed it to install and configure the netxms server on a SuSE system.

At first the plain data:

netxms server version: 1.0.13
SuSE Version: 10.3
Kernel: 2.6.16.60 64 bit
nxmc Version: 1.1.6 x64
Java XMS: netxms-base-1.1.6.jar
Java Version:
java version "1.6.0_20"
OpenJDK Runtime Environment (IcedTea6 1.9.9) (6b20-1.9.9-0ubuntu1~10.04.2)
OpenJDK 64-Bit Server VM (build 19.0-b09, mixed mode)

When I try to connect with the nxmc i get "Server uses incompatible version of communication protocol" and the console gives:

ws-mstrigl:~/Downloads/nxmc$ ./nxmc
org.netxms.client.NXCException: Server uses incompatible version of communication protocol
at org.netxms.client.NXCSession.connect(NXCSession.java:1205)
at org.netxms.ui.eclipse.console.LoginJob.run(LoginJob.java:80)
at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:464)
at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:372)
at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:507)
at org.netxms.ui.eclipse.console.NXMCWorkbenchWindowAdvisor.doLogin(NXMCWorkbenchWindowAdvisor.java:115)
at org.netxms.ui.eclipse.console.NXMCWorkbenchWindowAdvisor.preWindowOpen(NXMCWorkbenchWindowAdvisor.java:61)


When i try to fire up "java -jar netxms-base-1.1.6.jar" i get the following:


Failed to load Main-Class manifest attribute from
netxms-base-1.1.6.jar


What is the problem? I cannot figure it out :(

Thanks,
Marco

Victor Kirhenshtein

Hi!

Java console is only compatible with server version 1.1.x. I recommend you to upgrade to server version 1.1.6.

Best regards,
Victor

mstrigl


bgerum

Hi,

I've got the same problem with server and java client version 1.2.5 on a opensuse 12.1 x86_64 machine :(

any ideas?

Thanks,
Bjoern

Victor Kirhenshtein

Hi!

Make sure that console version match your server's version.

Best regards,
Victor

Gasoile

Hi all!

I have NetXMS Server Version 1.2.7 Build of Jun  6 2013 running on Ubuntu Server and was now trying the mobile agent for android, but I can't connect to the server because of incompatible version of communication protocol. The mobile agent version is also 1.2.7(7349).
Any ideas?

Thanks

Victor Kirhenshtein

Hi!

Looks like broken build. I'll make sure that versions for 1.2.8 will match, so you'll be able to use it after upgrade.

Best regards,
Victor