Forum Discussion

ddemocko's avatar
ddemocko
New Contributor
9 years ago

Running ccollab with a trigger

I set up a trigger for when a review changes phase, and it calls a perl script that calls ccollab. 

 

The perl script and the call to ccollab works just fine when I run it by hand on the Code Collaborator server.

However, when the perl script is called from a trigger on a client, the perl script runs fine, but ccollab will not run.  No error, no return info, it's like it was never even called.

 

I'm assuming this is a permission issue?  Any idea how to fix this?

 

Thanks,

Nickie

  • ddemocko's avatar
    ddemocko
    New Contributor

    We solved our problem and in the process learned a few things.  Thought I'd pass them on in case anyone has a similar issue.

     

    Our issue was that we had a version of java that was incompatible with CodeCollaborator 9

     

    In the $CODE_COLLABORATOR/server/tomcat/logs directory, there's a file called collab.log

    There was a Java stack dump in there indicating that we had the wrong version of a library.  We updated our version of Java and all was well.

     

    So now I know where to look, and that ccollab depends on Java libraries of version Java 7 for CodeCollaborator 9.