Hello ,
After upgrading the NetXMS to latest snapshot from http://git.netxms.org/public/netxms.git/shortlog/refs/heads/develop?js=1 i cannot start the management or web console. I am getting error "server uses incompatible version of communication protocol". I saw a lot of topics for this issue and as far as i understand the problem could be in different versions/builds.
The netxmsd is version 2.1-M1 build 9000. web and management console are 2.0.5 build 8070 downloaded from https://www.netxms.org/download/ .
Already tried to undeploy and deploy back the .war file on the netxms server without success.
If you built the server from the dev snapshot (which means its newest dev code), you also need to build the client from the snapshot.
You simply have a too new version of server for what your client can support.
(which makes sense since you built the newest server from dev, but you are using the release client)
Sorry for the stupid question, but how to build it from the snapshot without .war file ?
There is multiple topics on the forum regarding the Console compilation, example:
https://www.netxms.org/forum/windows/compilation-of-a-netxms-console-in-eclipse/
There is also wiki page on building web console and exporting war file: https://wiki.netxms.org/wiki/How_to_setup_Eclipse/RAP (https://wiki.netxms.org/wiki/How_to_setup_Eclipse/RAP)
Best regards,
Victor
How about the management console ? I get the same error with it too ?
Its the same issue.
You need to compile the management console from sources to have the newest version which is compatible with the newest version of the server you compiled.
i am trying to compile this and when i get to the step with the package.cmd on windows i cannot locate it in my PC. It turns out that i installed the maven correctly (following the installation guide and checking with mvn -version once finished). I am totally new with such applications and i am lost, can i have some hints here ?