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( jvm 1 | at sonia.scm.server.ServerApplication.main( jvm 1 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) jvm 1 | at sun.reflect.NativeMethodAccessorImpl.invoke( jvm 1 | at sun.reflect.DelegatingMethodAccessorImpl.invoke( jvm 1 | at java.lang.reflect.Method.invoke( jvm 1 | at jvm 1 | at }}}

Is there a way to generate those configs automatically? Or should I do something myself? (Could 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