NetXMS Support Forum

English Support => General Support => Topic started by: mstrigl on November 10, 2011, 05:40:22 PM

Title: Problems with Management Console for Linux and Java Application
Post by: mstrigl on November 10, 2011, 05:40:22 PM
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
Title: Re: Problems with Management Console for Linux and Java Application
Post by: Victor Kirhenshtein on November 10, 2011, 06:24:28 PM
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
Title: Re: Problems with Management Console for Linux and Java Application
Post by: mstrigl on November 10, 2011, 07:02:47 PM
Hi Victor,

thanks. Now it is working.

Regards,
Marco
Title: Re: Problems with Management Console for Linux and Java Application
Post by: bgerum on January 25, 2013, 01:35:16 PM
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
Title: Re: Problems with Management Console for Linux and Java Application
Post by: Victor Kirhenshtein on January 25, 2013, 05:41:33 PM
Hi!

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

Best regards,
Victor
Title: Re: Problems with Management Console for Linux and Java Application
Post by: Gasoile on July 15, 2013, 11:51:23 PM
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
Title: Re: Problems with Management Console for Linux and Java Application
Post by: Victor Kirhenshtein on July 17, 2013, 06:57:58 PM
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