1. Sebastian Sdorra
  2. scm-manager
Issue #5 resolved

Deployment from source not fully documented

Stanisław Pitucha
created an issue

I followed the instruction for building the package from source on a debian machine. The build succeeded and after adding appropriate wrapper scripts (issue#4), the application seems to be happy - apart from the config files. I couldn't find any information on what should I do with them.

The first error is: {{{ jvm 1 | could not find /app-info.xml in classpath wrapper | <-- Wrapper Stopped }}}

If I use the app-info.xml from the src directory, I get this:

{{{ jvm 1 | WrapperSimpleApp: Encountered an error running main: sonia.scm.server.ServerException: could not find server-config.xml jvm 1 | sonia.scm.server.ServerException: could not find server-config.xml jvm 1 | at sonia.scm.server.jetty.JettyServer.start(JettyServer.java:113) jvm 1 | at sonia.scm.server.ServerApplication.main(ServerApplication.java:102) jvm 1 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) jvm 1 | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) jvm 1 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) jvm 1 | at java.lang.reflect.Method.invoke(Method.java:616) jvm 1 | at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:240) jvm 1 | at java.lang.Thread.run(Thread.java:636) }}}

Is there a way to generate those configs automatically? Or should I do something myself? (Could https://bitbucket.org/sdorra/scm-manager/wiki/build-from-source be updated ?) :)

Comments (3)

  1. Sebastian Sdorra repo owner

    I think you used the content of scm-server/target/appassembler/jsw/scm-server, but these directory does not contain conf/app-info.xml and conf/server-config.xml. Please use the content of the tar.gz, tar.bz2 or zip package.

  2. Log in to comment