SCM 1.19 does not start under Glassfish 3.1.2

Issue #229 resolved
Former user created an issue

I had trouble to run SCM 1.19 under GlassFish ( Glassfish was not able to load one of the classes

[#|2012-08-18T17:19:23.336+0200|SEVERE|glassfish3.1.2|com.sun.jersey.core.spi.component.ProviderFactory|_ThreadID=28;_ThreadName=Thread-2;|The provider class, class com.sun.jersey.multipart.impl.MultiPartReaderClientSide, could not be instantiated. Processing will continue but the class will not be utilized java.lang.IllegalArgumentException: The MultiPartConfig instance we expected is not present. Have you registered the MultiPartConfigProvider class? ....

Seems SCM tries to override the Glassfish built-in Jersey with it's own version, which does not work. The workaround is to enable the class loader delegation in glassfish-web.xml

<class-loader delegate="true"/>

More about overriding Jersey here

Glassfish bug report here

Maybe the older .war files should be available for download for cases when we hit any blocking problem after update. My first idea was to go back to 1.17 but I did not found the war file anymore.

Comments (4)

  1. Sebastian Sdorra repo owner

    It is possible that you create an bitbucket account? because the notification system of bitbucket does not notify on anonymous comments.

    I could not reproduce your error. Have you applied the jvm options of the following wiki page?

    You could find older versions of scm-manager in the download archive:

  2. Robert Carnecky

    Ooops, I reinstalled my Glasfish sever and forget to update the jvm options. Looks like the setting,,

    makes the trick. Sorry, you can close the issue.

  3. Log in to comment