Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Flatly)
  • No Skin
Collapse
Brand Logo

NetXMS Forum

  1. Home
  2. Support
  3. Matching versions, but "server uses incompatible communication protocol"

Matching versions, but "server uses incompatible communication protocol"

Scheduled Pinned Locked Moved Support
5 Posts 3 Posters 51.8k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T
    T
    Tursiops
    wrote on last edited by
    #1

    Hi,

    After upgrading the server to version 2.0.2, followed by deploying the latest web nxmc-2.0.2.war to the local Tomcat server (stopped Tomcat, deleted the old .war and directory, deployed the new one, restarted Tomcat, confirmed it deployed), I can't login via web console anymore. The local management console (also upgraded to 2.0.2) works fine.
    The error message is "server uses incompatible communication protocol", which tells me that there must be a wrong version somewhere. But netxmsd -v gives me a NetXMS Server Version 2.0.2 Build 8060 and the .war file is the one currently on the website: nxmc-2.0.2.war. Redeploying did not help. Different browsers and systems: same result.

    Not sure if I'm going crazy or if there is something I am missing?

    Thanks

    1 Reply Last reply
    0
    • T
      T
      tomaskir
      wrote on last edited by
      #2

      What build does the web console show you?
      Its in the bottom right corner.

      1 Reply Last reply
      0
      • T
        T
        Tursiops
        wrote on last edited by
        #3

         😮 I admit I did not see that. Says version 2.0.1 so that'll obviously not work.

        Now I just have no idea WHY it still says 2.0.1. I know I removed the old .war file and downloaded the nxmc-2.0.2.war one.
        Tomcat was stopped, started, server rebooted...
        Does Tomcat have some additional cache somewhere?

        1 Reply Last reply
        0
        • T
          T
          Tursiops
          wrote on last edited by
          #4

          Ok, got it.

          Not having used Tomcat before I didn't really think much about what effect renaming the .war files might have - I renamed nxmc-2.0.1.war to nxmc.war.
          For the upgrade I stopped Tomcat, removed that .war file and the /var/lib/tomcat7/webapps/nxmc directory.
          Then I downloaded the new nxmc-2.0.2.war file and renamed it to nxmc.war as well, prior to restarting Tomcat.
          That's probably where things went wrong - as I found stuff still sitting in /var/lib/tomcat7/work/Catalina/localhost/nxmc. :-[

          So I went through the process again, cleaning up that second directory too and it's all working now.

          Cheers

          1 Reply Last reply
          0
          • A
            A
            Alex Kirhenshtein
            wrote on last edited by
            #5

            Actually you don't need to restart Tomcat. In default configuration it support hot deploy – just remove old war file (don't remove uncompressed folder, just war) and copy new one. It even should detect if you just replace with new version.

            1 Reply Last reply
            0

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            Powered by NodeBB Contributors
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups