mengl Posted January 8, 2015 Report Share Posted January 8, 2015 Hi, I currently tried to get the PlasticSCM plugin crucible-plasticscm-plugin-4.0.jar working on Crucible 3.6.2 Windows Server 2008 R2 Standard. I installed the Plugin via "Upload - add on". After installation and configuration of PlasticSCM 5.0.44.629 - Gouda and restart of the Crucible Server I configured the Plugin for my repository. Unfortunatly I always get the error message on entering Plastic SCM Global Configuration Connection test failed: Unable to communicate with Plastic SCM command line shell - Error running command line client on shell mode. The 'cm shell' command was launched but the process terminated abnormally. cm Path: cm Any ideas? Link to comment Share on other sites More sharing options...
mengl Posted January 8, 2015 Author Report Share Posted January 8, 2015 server debug log: 2015-01-08 16:43:16,233 ERROR [qtp1683662486-151 ] PlasticSCMJavaCore PlasticShell-waitShellReady - Sync error, max timeout reached2015-01-08 16:43:16,233 ERROR [qtp1683662486-151 ] PlasticSCMJavaCore PlasticShell-waitShellReady - Sync error, max timeout reached2015-01-08 16:43:16,233 ERROR [qtp1683662486-151 ] PlasticSCMJavaCore PlasticShell-waitShellReady - Sync error, max timeout reached2015-01-08 16:43:16,233 ERROR [qtp1683662486-151 ] PlasticSCMJavaCore PlasticShell-waitShellReady - Sync error, max timeout reached2015-01-08 16:43:16,233 ERROR [qtp1683662486-151 ] PlasticSCMJavaCore PlasticShell-waitShellReady - Sync: deleting sync file2015-01-08 16:43:16,233 ERROR [qtp1683662486-151 ] PlasticSCMJavaCore PlasticShell-waitShellReady - Sync: deleting sync file2015-01-08 16:43:16,233 ERROR [qtp1683662486-151 ] PlasticSCMJavaCore PlasticShell-waitShellReady - Sync: deleting sync file2015-01-08 16:43:16,233 ERROR [qtp1683662486-151 ] PlasticSCMJavaCore PlasticShell-waitShellReady - Sync: deleting sync file2015-01-08 16:43:16,249 ERROR [qtp1683662486-151 ] PlasticSCMJavaCore PlasticShell-waitShellReady - Sync file deleted2015-01-08 16:43:16,249 ERROR [qtp1683662486-151 ] PlasticSCMJavaCore PlasticShell-waitShellReady - Sync file deleted2015-01-08 16:43:16,249 ERROR [qtp1683662486-151 ] PlasticSCMJavaCore PlasticShell-waitShellReady - Sync file deleted2015-01-08 16:43:16,249 ERROR [qtp1683662486-151 ] PlasticSCMJavaCore PlasticShell-waitShellReady - Sync file deleted2015-01-08 16:43:16,249 ERROR [qtp1683662486-151 ] PlasticSCMJavaCore PlasticShell-launchShell - Exception: Unable to communicate with Plastic SCM command line shell - Error running command line client on shell mode. The 'cm shell' command was launched but the process terminated abnormally.2015-01-08 16:43:16,249 ERROR [qtp1683662486-151 ] PlasticSCMJavaCore PlasticShell-launchShell - Exception: Unable to communicate with Plastic SCM command line shell - Error running command line client on shell mode. The 'cm shell' command was launched but the process terminated abnormally.2015-01-08 16:43:16,249 ERROR [qtp1683662486-151 ] PlasticSCMJavaCore PlasticShell-launchShell - Exception: Unable to communicate with Plastic SCM command line shell - Error running command line client on shell mode. The 'cm shell' command was launched but the process terminated abnormally.2015-01-08 16:43:16,249 ERROR [qtp1683662486-151 ] PlasticSCMJavaCore PlasticShell-launchShell - Exception: Unable to communicate with Plastic SCM command line shell - Error running command line client on shell mode. The 'cm shell' command was launched but the process terminated abnormally.2015-01-08 16:43:17,590 ERROR [qtp1683662486-158 ] PlasticSCMJavaCore PlasticShell-waitShellReady - Sync error, max timeout reached2015-01-08 16:43:17,590 ERROR [qtp1683662486-158 ] PlasticSCMJavaCore PlasticShell-waitShellReady - Sync error, max timeout reached2015-01-08 16:43:17,590 ERROR [qtp1683662486-158 ] PlasticSCMJavaCore PlasticShell-waitShellReady - Sync error, max timeout reached2015-01-08 16:43:17,590 ERROR [qtp1683662486-158 ] PlasticSCMJavaCore PlasticShell-waitShellReady - Sync error, max timeout reached2015-01-08 16:43:17,590 ERROR [qtp1683662486-158 ] PlasticSCMJavaCore PlasticShell-waitShellReady - Sync: deleting sync file2015-01-08 16:43:17,590 ERROR [qtp1683662486-158 ] PlasticSCMJavaCore PlasticShell-waitShellReady - Sync: deleting sync file2015-01-08 16:43:17,590 ERROR [qtp1683662486-158 ] PlasticSCMJavaCore PlasticShell-waitShellReady - Sync: deleting sync file2015-01-08 16:43:17,590 ERROR [qtp1683662486-158 ] PlasticSCMJavaCore PlasticShell-waitShellReady - Sync: deleting sync file2015-01-08 16:43:17,590 ERROR [qtp1683662486-158 ] PlasticSCMJavaCore PlasticShell-waitShellReady - Sync file deleted2015-01-08 16:43:17,590 ERROR [qtp1683662486-158 ] PlasticSCMJavaCore PlasticShell-waitShellReady - Sync file deleted2015-01-08 16:43:17,590 ERROR [qtp1683662486-158 ] PlasticSCMJavaCore PlasticShell-waitShellReady - Sync file deleted2015-01-08 16:43:17,590 ERROR [qtp1683662486-158 ] PlasticSCMJavaCore PlasticShell-waitShellReady - Sync file deleted2015-01-08 16:43:17,590 ERROR [qtp1683662486-158 ] PlasticSCMJavaCore PlasticShell-launchShell - Exception: Unable to communicate with Plastic SCM command line shell - Error running command line client on shell mode. The 'cm shell' command was launched but the process terminated abnormally.2015-01-08 16:43:17,590 ERROR [qtp1683662486-158 ] PlasticSCMJavaCore PlasticShell-launchShell - Exception: Unable to communicate with Plastic SCM command line shell - Error running command line client on shell mode. The 'cm shell' command was launched but the process terminated abnormally.2015-01-08 16:43:17,590 ERROR [qtp1683662486-158 ] PlasticSCMJavaCore PlasticShell-launchShell - Exception: Unable to communicate with Plastic SCM command line shell - Error running command line client on shell mode. The 'cm shell' command was launched but the process terminated abnormally.2015-01-08 16:43:17,590 ERROR [qtp1683662486-158 ] PlasticSCMJavaCore PlasticShell-launchShell - Exception: Unable to communicate with Plastic SCM command line shell - Error running command line client on shell mode. The 'cm shell' command was launched but the process terminated abnormally.2015-01-08 16:43:26,638 ERROR [qtp1683662486-157 ] PlasticSCMJavaCore PlasticShell-waitShellReady - Sync error, max timeout reached2015-01-08 16:43:26,638 ERROR [qtp1683662486-157 ] PlasticSCMJavaCore PlasticShell-waitShellReady - Sync error, max timeout reached2015-01-08 16:43:26,638 ERROR [qtp1683662486-157 ] PlasticSCMJavaCore PlasticShell-waitShellReady - Sync error, max timeout reached2015-01-08 16:43:26,638 ERROR [qtp1683662486-157 ] PlasticSCMJavaCore PlasticShell-waitShellReady - Sync error, max timeout reached2015-01-08 16:43:26,638 ERROR [qtp1683662486-157 ] PlasticSCMJavaCore PlasticShell-waitShellReady - Sync: deleting sync file2015-01-08 16:43:26,638 ERROR [qtp1683662486-157 ] PlasticSCMJavaCore PlasticShell-waitShellReady - Sync: deleting sync file2015-01-08 16:43:26,638 ERROR [qtp1683662486-157 ] PlasticSCMJavaCore PlasticShell-waitShellReady - Sync: deleting sync file2015-01-08 16:43:26,638 ERROR [qtp1683662486-157 ] PlasticSCMJavaCore PlasticShell-waitShellReady - Sync: deleting sync file2015-01-08 16:43:26,638 ERROR [qtp1683662486-157 ] PlasticSCMJavaCore PlasticShell-waitShellReady - Sync file deleted2015-01-08 16:43:26,638 ERROR [qtp1683662486-157 ] PlasticSCMJavaCore PlasticShell-waitShellReady - Sync file deleted2015-01-08 16:43:26,638 ERROR [qtp1683662486-157 ] PlasticSCMJavaCore PlasticShell-waitShellReady - Sync file deleted2015-01-08 16:43:26,638 ERROR [qtp1683662486-157 ] PlasticSCMJavaCore PlasticShell-waitShellReady - Sync file deleted2015-01-08 16:43:26,638 ERROR [qtp1683662486-157 ] PlasticSCMJavaCore PlasticShell-launchShell - Exception: Unable to communicate with Plastic SCM command line shell - Error running command line client on shell mode. The 'cm shell' command was launched but the process terminated abnormally.2015-01-08 16:43:26,638 ERROR [qtp1683662486-157 ] PlasticSCMJavaCore PlasticShell-launchShell - Exception: Unable to communicate with Plastic SCM command line shell - Error running command line client on shell mode. The 'cm shell' command was launched but the process terminated abnormally.2015-01-08 16:43:26,654 ERROR [qtp1683662486-157 ] PlasticSCMJavaCore PlasticShell-launchShell - Exception: Unable to communicate with Plastic SCM command line shell - Error running command line client on shell mode. The 'cm shell' command was launched but the process terminated abnormally.2015-01-08 16:43:26,654 ERROR [qtp1683662486-157 ] PlasticSCMJavaCore PlasticShell-launchShell - Exception: Unable to communicate with Plastic SCM command line shell - Error running command line client on shell mode. The 'cm shell' command was launched but the process terminated abnormally. Link to comment Share on other sites More sharing options...
manu Posted January 8, 2015 Report Share Posted January 8, 2015 Hi the crucible plugin uses the "cm shell" in order to execute "cm" commands. Crucible knows that the "cm shell" is listening when a special file is created at the system temporal directory ("java.io.tmpdir"). Sometimes the temporal directory is soooooo populated with temporal/unused files the create file and read file operation is very slow, so slow that it exceeds the 40s timeout. I think you can clean the system temporal directory and try again. Link to comment Share on other sites More sharing options...
mengl Posted January 9, 2015 Author Report Share Posted January 9, 2015 thx for the fast response. Unfortunatly I have no idea how to delete the system temporal directory ("java.io.tmpdir")? Can you give me a quick how to? Link to comment Share on other sites More sharing options...
manu Posted January 9, 2015 Report Share Posted January 9, 2015 Hi, In MS Windows the temporary directory is set by the environment variable TEMP. In XP, the temporary directory was set per-user as Local Settings\Temp. The Java "java.io.tmpdir" constant will use the "TEMP" environment variable value. Link to comment Share on other sites More sharing options...
mengl Posted January 9, 2015 Author Report Share Posted January 9, 2015 Ah ok, the temp folder is already empty so I guess the issue is somthing else... Any other ideas? Link to comment Share on other sites More sharing options...
manu Posted January 9, 2015 Report Share Posted January 9, 2015 Ok, we can try the following points: 1) Make sure the "cm" tool is correctly configured for the user running crucible. To test it open a terminal/cmd logged as the user that executes the crucible service and run a "cm lrep" command, the command should return you the repositories of the Plastic SCM server. 2) Change the TEMP environment variable value to use another directory. Then restart crucible and try again. Link to comment Share on other sites More sharing options...
mengl Posted January 9, 2015 Author Report Share Posted January 9, 2015 that was the issue. Crucible was running as a SYSTEM process and wasnt able to start cm with the right config now it looks better but I get another error. After creating a Review and selecting a changeset I get the following errors: Error The file "Engine.cpp" was not able to be displayed: com.cenqua.crucible.model.FileRevisionException: java.io.IOException: com.codicesoftware.plastic.core.PlasticException: The specified revision was not found revid:7234@xxxx@xxxx:8087;C:\Atlassian\Data\fecru\var\tmp\plastictmp1420807481043830496822160049319cat Error 2 Server Error Error 3 URL: /json/cru/RVOX-4/loadFrxAjax A javax.el.ELException was encounteredcom.cenqua.crucible.model.FileRevisionException: java.io.IOException: com.codicesoftware.plastic.core.PlasticException: The specified revision was not found revid:7235@xxxx@xxxx:8087;C:\Atlassian\Data\fecru\var\tmp\plastictmp14208074826495700569732952997817catjava.io.IOException: com.codicesoftware.plastic.core.PlasticException: The specified revision was not found revid:7235@xxx@xxxx:8087;C:\Atlassian\Data\fecru\var\tmp\plastictmp14208074826495700569732952997817catcom.codicesoftware.plastic.core.PlasticException: The specified revision was not found revid:7235@xxx@xxxx:8087;C:\Atlassian\Data\fecru\var\tmp\plastictmp14208074826495700569732952997817catThe specified revision was not found revid:7235@xxxx@xxxxx:8087;C:\Atlassian\Data\fecru\var\tmp\plastictmp14208074826495700569732952997817cat Error 4 The file "TemplateEngine.h" was not able to be displayed: com.cenqua.crucible.model.FileRevisionException: java.io.IOException: com.codicesoftware.plastic.core.PlasticException: The specified revision was not found revid:7236@xxxx@xxxx:8087;C:\Atlassian\Data\fecru\var\tmp\plastictmp14208074843191875124981667242637cat Error 5 The file "Storage.cpp" was not able to be displayed: com.cenqua.crucible.model.FileRevisionException: java.io.IOException: com.codicesoftware.plastic.core.PlasticException: The specified revision was not found revid:7263@xxxxx@xxxxx:8087;C:\Atlassian\Data\fecru\var\tmp\plastictmp14208074851923760315663581010400cat Any Idea? Link to comment Share on other sites More sharing options...
calbzam Posted January 12, 2015 Report Share Posted January 12, 2015 Hi, You are ggeting a revision not found error. Could you run? cm cat revid:7234@xxxx@xxxx:8087 Have you configured a replicated repository? Maybe the issue is that it doesn´t have all the necessary information: Two potential problems when working against a replicated repository: Changesets may appear disordered, as the Crucible API handles changeset IDs. To request a new page, it provides the oldest and newest changesets to show, the range, not based on dates at all. If some changests were created due to replication then its date may be newer than a local changeset. The plugin handles a cache of changests already loaded to be faster. If the parent changests calculated are not replicated, then some errors will appear in the log (not shown to the user, anyway). The performance will be a little bit worse than in a central repository. Regards, Carlos Link to comment Share on other sites More sharing options...
mengl Posted January 12, 2015 Author Report Share Posted January 12, 2015 Hi Carlos, we do not use replicated repositories. I tried cm cat revid:7234@xxxx@xxxx:8087 and indeed I am getting a revision not found error. I just played around a bit with the cm cat command and found out that the revid is not valid: we do not have 7234 as an revision id we have 77234, that means it seems that the revision id is too short. I queried the revision numbers by using cm cat . --debug in the appropriate source directory Cheers, Michael Link to comment Share on other sites More sharing options...
mengl Posted January 14, 2015 Author Report Share Posted January 14, 2015 any ideas so far? Link to comment Share on other sites More sharing options...
calbzam Posted January 14, 2015 Report Share Posted January 14, 2015 Hi, I was able to reproduce the issue. We´ve created a task to review it in deep and perform a fix. Regards, Carlos. Link to comment Share on other sites More sharing options...
mengl Posted January 19, 2015 Author Report Share Posted January 19, 2015 Thx Carlos, I just saw one more thing: There are no branches to select on adding content to a review. Create a new review try to add a branch to the review -> on the add branches to the review I am unable to select my plasticscm repository and as a consequence i am not able to select a branch Link to comment Share on other sites More sharing options...
manu Posted January 22, 2015 Report Share Posted January 22, 2015 Hi mengl! the task is scheduled for the current sprint so we might have a new crucible plugin version for you the next week. Regarding the branches selection, I'm afraid it's not supported, maybe you want to include the suggestion here: https://plasticscm.uservoice.com/%C2'> we can prioritize it and get it done. Link to comment Share on other sites More sharing options...
mengl Posted January 26, 2015 Author Report Share Posted January 26, 2015 thx manu for the info! Please inform me as soon as the fix is available. I will think about the branch selection feature and provide you my ideas. Link to comment Share on other sites More sharing options...
mengl Posted January 27, 2015 Author Report Share Posted January 27, 2015 http://plasticscm.uservoice.com/forums/15467-general/suggestions/7015573-crucible-plugin-should-support-branch-reviews Link to comment Share on other sites More sharing options...
calbzam Posted January 28, 2015 Report Share Posted January 28, 2015 Hi, The fixed version is available in our Downloads (www.plasticscm.com) page! Regards, Carlos Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.