SCMDaemon Error

Discuss problems installing or using TrackStudio.

SCMDaemon Error

Postby phancox » Thu Nov 25, 2010 9:10 am

Running version 4.0.8 with Subversion as our SCM. After upgrade we are seeing the following in the logs.
Code: Select all
2010-11-25 17:01:24,222 DEBUG com.trackstudio.startup.SCMDaemon:run:124 - CLOSE SESSION SCMDaemon
2010-11-25 17:01:27,206 DEBUG com.trackstudio.startup.SCMDaemon:run:128 - SCMDaemon error:
CVS: SSH connection failed.
        at com.trackstudio.app.scm.CVSManager.cvsRlog(CVSManager.java:209)
        at com.trackstudio.app.scm.CVSManager.initCache(CVSManager.java:129)
        at com.trackstudio.startup.SCMDaemon.run(SCMDaemon.java:126)

We aren't using CVS at all.

A brief inspection of the code shows:
Code: Select all
                     if (TypeSCMConstrain.SVN.equals(Config.getInstance().getSCMType(connectionName))) {
                        scmManager = CVSManager.getInstance();
                    } else if (TypeSCMConstrain.CVS.equals(Config.getInstance().getSCMType(connectionName))) {
                        scmManager = SVNManager.getInstance();
                    } else if (TypeSCMConstrain.P4.equals(Config.getInstance().getSCMType(connectionName))) {
                        scmManager = PerforceManager.getInstance();
                    } else if (TypeSCMConstrain.BZR.equals(Config.getInstance().getSCMType(connectionName))) {
                        scmManager = BazaarManager.getInstance(connectionName);     
                    } else {
                        continue;
                    }
                    synchronized (indexLock) {
                        log.debug("CLOSE SESSION SCMDaemon");
                        try {
                            scmManager.initCache(connectionName);
                        } catch (Exception ex) {
                            log.debug("SCMDaemon error:", ex);
                        }
                    } // sync
                    minCnt++;
                } // for

Are the first two "if" statements the wrong way around?
phancox
 
Posts: 71
Joined: Mon Feb 27, 2006 1:14 pm
Location: Sydney, Australia

Re: SCMDaemon Error

Postby admin » Thu Nov 25, 2010 11:42 am

Yes, looks like ugly bug.
Maxim Kramarenko (mailto: maximkr@trackstudio.com)
TrackStudio - Hierarchical Bug & Issue Tracking Software
http://www.trackstudio.com
admin
Site Admin
 
Posts: 7454
Joined: Thu Jan 01, 1970 3:00 am
Location: Smolensk, Russia

Re: SCMDaemon Error

Postby phancox » Thu Nov 25, 2010 2:06 pm

I'm thinking of trying to fix this in a local build as I have a source code licence.

Haven't attempted this before. Is there any documentation available on building from source? I see the ".bash" scripts but they appear to have some paths hardcoded so not sure of all the places I'd need to check?
phancox
 
Posts: 71
Joined: Mon Feb 27, 2006 1:14 pm
Location: Sydney, Australia

Re: SCMDaemon Error

Postby admin » Thu Nov 25, 2010 2:46 pm

phancox wrote:I'm thinking of trying to fix this in a local build as I have a source code licence.

Haven't attempted this before. Is there any documentation available on building from source? I see the ".bash" scripts but they appear to have some paths hardcoded so not sure of all the places I'd need to check?


Please check this one
http://download.trackstudio.com/doc/en/ ... ource.html

You should execute "build" target and replace old trackstudio.jar with new one.
Maxim Kramarenko (mailto: maximkr@trackstudio.com)
TrackStudio - Hierarchical Bug & Issue Tracking Software
http://www.trackstudio.com
admin
Site Admin
 
Posts: 7454
Joined: Thu Jan 01, 1970 3:00 am
Location: Smolensk, Russia

Re: SCMDaemon Error

Postby phancox » Fri Nov 26, 2010 10:36 am

admin wrote:
phancox wrote:I'm thinking of trying to fix this in a local build as I have a source code licence.

Haven't attempted this before. Is there any documentation available on building from source? I see the ".bash" scripts but they appear to have some paths hardcoded so not sure of all the places I'd need to check?


Please check this one
http://download.trackstudio.com/doc/en/ ... ource.html

You should execute "build" target and replace old trackstudio.jar with new one.

That was simple enough and implementing that patch seems to have resolved my issue :-)

THANKS
phancox
 
Posts: 71
Joined: Mon Feb 27, 2006 1:14 pm
Location: Sydney, Australia

Re: SCMDaemon Error

Postby phancox » Tue Jan 18, 2011 11:19 am

Has this issue been fixed in 4.0.9?

How far off is version 4.0.10?

Just contemplating whether to update to latest formal release.

THANKS
phancox
 
Posts: 71
Joined: Mon Feb 27, 2006 1:14 pm
Location: Sydney, Australia

Re: SCMDaemon Error

Postby admin » Tue Jan 18, 2011 5:31 pm

Hope to release 4.0.10 this/next week.
Maxim Kramarenko (mailto: maximkr@trackstudio.com)
TrackStudio - Hierarchical Bug & Issue Tracking Software
http://www.trackstudio.com
admin
Site Admin
 
Posts: 7454
Joined: Thu Jan 01, 1970 3:00 am
Location: Smolensk, Russia

Re: SCMDaemon Error

Postby phancox » Wed Jan 19, 2011 2:47 am

admin wrote:Hope to release 4.0.10 this/next week.

Thanks, I'll probably wait for 4.0.10 then.

Can you confirm that this issue is fixed in the 4.0.10 release? I can't recall if you publish release notes or not? If you do, I can't recall where to find them :(

REGARDS
phancox
 
Posts: 71
Joined: Mon Feb 27, 2006 1:14 pm
Location: Sydney, Australia


Return to TrackStudio Support

Who is online

Users browsing this forum: No registered users and 1 guest