Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-3565

Synergy Plugin fails to update quite often. Loses its Client Db path.

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Critical Critical
    • synergy-plugin
    • None
    • Platform: All, OS: Windows XP

      When I am trying to start a build-step/project with synergy plugin, it stops
      immediately sometimes.

      I noticed that in my ccm.ini file has lost it's client user db path, somehow.

      Error log in Hudson contains:
      Warning: Server Database Path .... is not accessible from this Client. Please
      specify a Client Database Path.
      Warning: Telelogic Synergy startup failed.

      The environment was :
      .....

      Solution proposal:

      • Add new (optional) Synergy Global property (into global.jelly)
        for user Client Path dir which might contain value like eg. C:\temp by user

      At least I think the setting should be passed to here in SynergySCM.java

      http://fisheye4.atlassian.com/browse/~tag=synergy-1.4/hudson/tags/synergy-1.4/src/main/java/hudson/plugins/synergy/SynergySCM.java?r=16098#l232

      And In StartCommand.java

      http://fisheye4.atlassian.com/browse/~tag=synergy-1.4/hudson/tags/synergy-1.4/src/main/java/hudson/plugins/synergy/impl/StartCommand.java?r=16098#l39

      You could add this new global option, if it is set at all, with ccm start -u
      parameter.

      In some Synergy manual I found it should work only with -rc remote flag but I am
      not betting that info because ... as I am using Synergy only on windows, and
      tried that on my own machine it updated correctly the ccm.ini file/and classicui
      dialog.

      -Santeri Vesalainen

          [JENKINS-3565] Synergy Plugin fails to update quite often. Loses its Client Db path.

          santeriv added a comment -

          Created an attachment (id=677)
          Error log picture

          santeriv added a comment - Created an attachment (id=677) Error log picture

          santeriv added a comment -

          Created an attachment (id=678)
          Classic Ui screenshot to demo the field involved -> Client Db path

          santeriv added a comment - Created an attachment (id=678) Classic Ui screenshot to demo the field involved -> Client Db path

          jribette added a comment -

          Suggested solution implementation in progress

          jribette added a comment - Suggested solution implementation in progress

          santeriv added a comment -

          Verified solution custom synergy.hpi (1.5-SNAPSHOT (private-05/25/2009
          07:35-savesala)

          santeriv added a comment - Verified solution custom synergy.hpi (1.5-SNAPSHOT (private-05/25/2009 07:35-savesala)

          santeriv added a comment -

          Created an attachment (id=715)
          custom synergy.hpi used for verification

          santeriv added a comment - Created an attachment (id=715) custom synergy.hpi used for verification

          santeriv added a comment -

          I had to add that this attached snapshot version of synergy plugin included also
          patch fixes introduced by Sven -->
          http://wiki.jenkins-ci.org/display/JENKINS/Synergy+Plugin?focusedCommentId=37324135#comment-37324135
          .

          santeriv added a comment - I had to add that this attached snapshot version of synergy plugin included also patch fixes introduced by Sven --> http://wiki.jenkins-ci.org/display/JENKINS/Synergy+Plugin?focusedCommentId=37324135#comment-37324135 .

          jribette added a comment -

          Fixed in version 1.5

          jribette added a comment - Fixed in version 1.5

          Dan Furtney added a comment -

          I am trying to integrate the the Synergy plugin with Jenkins an I am experiencing the same issues you have. The client db path gets reset (not sure why it matters actually) and the leaving of the workspace to "on" causes problems when you want to clean the workspace (which is every time IMO). Any progress on these issues?

          Dan Furtney added a comment - I am trying to integrate the the Synergy plugin with Jenkins an I am experiencing the same issues you have. The client db path gets reset (not sure why it matters actually) and the leaving of the workspace to "on" causes problems when you want to clean the workspace (which is every time IMO). Any progress on these issues?

          Dan Furtney added a comment -

          I see this behavior with Jenkins 1.437 using the 1.6 version of the plugin.

          Dan Furtney added a comment - I see this behavior with Jenkins 1.437 using the 1.6 version of the plugin.

          Dan Furtney added a comment -

          Setting the "ccm pathname" in the global properties seems to take care of this. I was misled by the reference to the"remote client session" in the guidance. I didn't think that window clients where considered remote and thus never set this property. Maybe "database pathname" instead of "ccm pathname" for the prompt would be more intuitive.

          Dan Furtney added a comment - Setting the "ccm pathname" in the global properties seems to take care of this. I was misled by the reference to the"remote client session" in the guidance. I didn't think that window clients where considered remote and thus never set this property. Maybe "database pathname" instead of "ccm pathname" for the prompt would be more intuitive.

            jribette jribette
            santeriv santeriv
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated: