SCM Manager service not stopping since 1.39

114 views
Skip to first unread message

Jurko Gospodnetić

unread,
Aug 22, 2014, 1:25:00 PM8/22/14
to scmma...@googlegroups.com
  Hi.

  I have a SCM Manager Windows service set up to allow access to 8
git repositories, installed from the standalone installation .zip
package. It worked fine using SCM Manager version 1.28. After
upgrading to version 1.40 the service can no longer be stopped
using the standard Windows interface. When I try, nothing happens
and after a long while Windows gives up, reporting that the
process took too long to respond.

  I tracked down the problematic behaviour to version 1.39. With
version 1.38 the service can still be stopped correctly, but the
functionality seems to stop working with 1.39.


  Here's http://hostname:9090/scm/api/rest/support output for SCM
Manager version 1.38:

> SCM-Manager support information
>
> Information for SCM-Manager support.
> Version
>
>     Version: 1.38
>     Stage: PRODUCTION
>     StoreFactory: sonia.scm.store.JAXBStoreFactory
>
> Configuration
>
>     Anonymous Access Enabled: false
>     Enable Proxy: false
>     Force Base Url: false
>     Disable Grouping Grid: false
>     Enable Repository Archive: true
>
> Installed Plugins
>
>     sonia.scm.plugins:scm-userrename-plugin:1.0
>     sonia.scm.plugins:scm-svn-plugin:1.38
>     sonia.scm.plugins:scm-mail-plugin:1.4
>     sonia.scm.plugins:scm-git-plugin:1.38
>     sonia.scm.plugins:scm-activedirectory-auth-plugin:1.8
>     sonia.scm.plugins:scm-hg-plugin:1.38
>     sonia.scm.plugins:scm-notify-plugin:1.4
>
> Runtime
>
>     Free Memory: 9579592
>     Total Memory: 23056384
>     Max Memory: 255459328
>     Available Processors: 2
>
> System
>
>     OS: Windows 2003
>     Architecture: 32
>     ServletContainer: SCM_SERVER
>     Java: Oracle Corporation/1.7.0_67
>     Local: en_US
>     TimeZone: Europe/Belgrade
>
> Repository Handlers
>
>     Git/git (scm-git-plugin/1.38 org.eclipse.jgit/3.3.2.201404171909-r)


  And here's similar output for SCM Manager version 1.39:

> SCM-Manager support information
>
> Information for SCM-Manager support.
> Version
>
>     Version: 1.39
>     Stage: PRODUCTION
>     StoreFactory: sonia.scm.store.JAXBStoreFactory
>
> Configuration
>
>     Anonymous Access Enabled: false
>     Enable Proxy: false
>     Force Base Url: false
>     Disable Grouping Grid: false
>     Enable Repository Archive: true
>
> Installed Plugins
>
>     sonia.scm.plugins:scm-svn-plugin:1.39
>     sonia.scm.plugins:scm-userrename-plugin:1.0
>     sonia.scm.plugins:scm-mail-plugin:1.4
>     sonia.scm.plugins:scm-activedirectory-auth-plugin:1.8
>     sonia.scm.plugins:scm-git-plugin:1.39
>     sonia.scm.plugins:scm-hg-plugin:1.39
>     sonia.scm.plugins:scm-notify-plugin:1.4
>
> Runtime
>
>     Free Memory: 5046968
>     Total Memory: 19206144
>     Max Memory: 255459328
>     Available Processors: 2
>
> System
>
>     OS: Windows 2003
>     Architecture: 32
>     ServletContainer: SCM_SERVER
>     Java: Oracle Corporation/1.7.0_67
>     Local: en_US
>     TimeZone: Europe/Belgrade
>
> Repository Handlers
>
>     Git/git (scm-git-plugin/1.39 org.eclipse.jgit/3.4.0.201406110918-r)


  SCM Manager's var/log/commons-daemon.YYYY-MM-DD.log file
contains the following entries for a failed service stop attempt:

> [2014-08-22 18:58:46] [info]  [  328] Commons Daemon procrun (1.0.15.0 32-bit) started
> [2014-08-22 18:58:46] [info]  [  328] Service scm-server name scm-server
> [2014-08-22 18:58:46] [info]  [  328] Service 'scm-server' installed
> [2014-08-22 18:58:46] [info]  [  328] Commons Daemon procrun finished
> [2014-08-22 18:58:55] [info]  [ 3924] Commons Daemon procrun (1.0.15.0 32-bit) started
> [2014-08-22 18:58:55] [info]  [ 3924] Running 'scm-server' Service...
> [2014-08-22 18:58:55] [info]  [ 3264] Starting service...
> [2014-08-22 18:58:56] [info]  [ 3264] Service started in 1437 ms.
> [2014-08-22 19:00:10] [info]  [ 3320] Stopping service...
> [2014-08-22 19:00:12] [info]  [ 3320] Service stop thread completed.


  Is this a known issue? Anyone else having similar problems?

  Many thanks.

  Best regards,
    Jurko Gospodnetić

Jurko Gospodnetić

unread,
Aug 27, 2014, 7:53:22 AM8/27/14
to scmma...@googlegroups.com
ping?

Should I open a ticket for this or is there some other support contact I can try?

Best regards,
  Jurko Gospodnetić

Sebastian Sdorra

unread,
Aug 27, 2014, 10:58:43 AM8/27/14
to scmma...@googlegroups.com
Hi,
Sorry for the delay, but i'm very busy in the last days. We fixed the automatic service start for windows server 2012 in version 1.39, perhaps the stop function is broken for older version with this changes. I will try to reproduce the problem. But this could take some time, because i have to install a windows server 2003.

Sebastian


--
You received this message because you are subscribed to the Google Groups "scmmanager" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scmmanager+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Jurko Gospodnetić

unread,
Aug 27, 2014, 11:04:31 AM8/27/14
to scmma...@googlegroups.com
  Hi.

   Thanks for the reply! :-)


On Wednesday, August 27, 2014 4:58:43 PM UTC+2, Sebastian Sdorra wrote:
But this could take some time, because i have to install a windows server 2003.

  I'll try to reproduce it on something more up-to-date, e.g. I
have Windows 2007 on my current notebook, so I'll try that first
and let you know how it goes. Could be that there is no need for
you to install Windows 2003 at all. :-)

  Best regards,
    Jurko Gospodnetić

Jurko Gospodnetić

unread,
Aug 27, 2014, 11:53:01 AM8/27/14
to scmma...@googlegroups.com
  Hi.


On Wednesday, August 27, 2014 5:04:31 PM UTC+2, Jurko Gospodnetić wrote:
  I'll try to reproduce it on something more up-to-date, e.g. I
have Windows 2007 on my current notebook, so I'll try that first
and let you know how it goes. Could be that there is no need for
you to install Windows 2003 at all. :-)


  I managed to reproduce the problematic behaviour using Windows 7
x64 and the default SCM Manager 1.39 installation with no version
control repositories.

  Service starts up successfully but fails to shut down, same as
encountered on the original server.

  Here's corresponding SCM Manager support information collected
using 'http://localhost:8080/scm/api/rest/support':


> SCM-Manager support information
>
> Information for SCM-Manager support.
> Version
>
>     Version: 1.39
>     Stage: PRODUCTION
>     StoreFactory: sonia.scm.store.JAXBStoreFactory
>
> Configuration
>
>     Anonymous Access Enabled: false
>     Enable Proxy: false
>     Force Base Url: false
>     Disable Grouping Grid: false
>     Enable Repository Archive: false

>
> Installed Plugins
>
>     sonia.scm.plugins:scm-svn-plugin:1.39
>     sonia.scm.plugins:scm-git-plugin:1.39
>     sonia.scm.plugins:scm-hg-plugin:1.39
>
> Runtime
>
>     Free Memory: 61963288
>     Total Memory: 176160768
>     Max Memory: 1412956160
>     Available Processors: 4
>
> System
>
>     OS: Windows 7
>     Architecture: 64

>     ServletContainer: SCM_SERVER
>     Java: Oracle Corporation/1.7.0_67
>     Local: en_US
>     TimeZone: Europe/Belgrade
>
> Repository Handlers
>
>     Mercurial/hg (scm-hg-version/1.39 python/{0} mercurial/{1})
>     Git/git (scm-git-plugin/1.39 org.eclipse.jgit/3.4.0.201406110918-r)
>     Subversion/svn (scm-svn-plugin/1.39 svnkit/1.8.5-scm1)

  Hope this helps.

  Best regards,
    Jurko Gospodnetić

Sebastian Sdorra

unread,
Aug 27, 2014, 3:54:44 PM8/27/14
to scmma...@googlegroups.com
Ok,
I can reproduce this. I've opened a ticket for this issue (https://bitbucket.org/sdorra/scm-manager/issue/623/scm-server-running-as-windows-service).

Sebastian


Sebastian Sdorra

unread,
Aug 28, 2014, 3:12:35 AM8/28/14
to scmma...@googlegroups.com
I've updated the issue and attached a test version. Could you please test this version?

Sebastian

Jurko Gospodnetić

unread,
Aug 28, 2014, 3:19:53 AM8/28/14
to scmma...@googlegroups.com
   Hi.


On Thursday, August 28, 2014 9:12:35 AM UTC+2, Sebastian Sdorra wrote:
I've updated the issue and attached a test version. Could you please test this version?

  Just woke up. :-) Will do it right away and let you know how it goes...

  Best regards,
    Jurko Gospodnetić

Jurko Gospodnetić

unread,
Aug 28, 2014, 3:29:57 AM8/28/14
to scmma...@googlegroups.com
  Hi.

On Thursday, August 28, 2014 9:12:35 AM UTC+2, Sebastian Sdorra wrote:
I've updated the issue and attached a test version. Could you please test this version?
 
  Just tested the given version on Windows 7 and the service stops
correctly again. :-)

  I'll take a bit longer to test on Windows 2003 - I neet to go through
a very slow VPN link to reach that server from where I am atm.

  Many thanks for taking the time to take a look at this!

  Best regards,
    Jurko Gospodnetić

Jurko Gospodnetić

unread,
Aug 28, 2014, 4:42:42 AM8/28/14
to scmma...@googlegroups.com
  Hi.


On Thursday, August 28, 2014 9:29:57 AM UTC+2, Jurko Gospodnetić wrote:
  I'll take a bit longer to test on Windows 2003 - I neet to go through
a very slow VPN link to reach that server from where I am atm.

  Works on Windows 2003 as well.

  Best regards,
    Jurko Gospodnetić
Reply all
Reply to author
Forward
0 new messages