Issue #11 resolved

Error on Writing conf.xml

created an issue

Hi, after I've pushed save button on Config->General I got the error: <Error>

GRAVE: The RuntimeException could not be mapped to a response, re-throwing to t e HTTP container javax.xml.bind.DataBindingException: javax.xml.bind.MarshalException - with linked exception: [ C:\Documents%20and%20Settings\Administrator.scm\config\config.xml (Impossibile trovare il percorso specificato)] at javax.xml.bind.JAXB._marshal(Unknown Source) at javax.xml.bind.JAXB.marshal(Unknown Source) at at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMet odDispatchProvider$ResponseOutInvoker._dispatch(AbstractResourceMethodDispatchP at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodD spatcher.dispatch( at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMetho at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(Resour


But scm-server write correctly files like repositories.xml in the same folder. Is it possible change the path of the .scm folder before the server starts?

Comments (3)

  1. Sebastian Sdorra repo owner
    • changed status to open

    You can change the directory with the environment variable SCM_HOME or the Java system property scm.home. For scm-server just edit the scm-server/bin/scm-server.bat. Search the the following line:


    and change this line to:

    set EXTRA_JVM_ARGUMENTS=-Dscm.home="C:\Documents and Settings\your\directory"

  2. Log in to comment