You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by gi...@git.apache.org on 2017/08/07 13:43:28 UTC

[GitHub] marcaurele commented on issue #2207: Embedded jetty inside shaded jar

marcaurele commented on issue #2207: Embedded jetty inside shaded jar
URL: https://github.com/apache/cloudstack/pull/2207#issuecomment-320667081
 
 
   Even if it looks like a fat/uber jar, the startup script still runs it as a normal multi jar. If you really want, you could have a single jar. Due to bouncycastle and the JCE signature check, it is not possible to run it as a single jar.
   
   To start it, I use:
   ```
   # normal start
   java -Dlog4j.configuration=log4j-cloud.xml -cp "client/target/conf:client/target/bcprov-jdk15on-1.55.jar:client/target/cloud-client-ui-X.X.X.X-SNAPSHOT.jar" org.apache.cloudstack.ServerDaemon
   
   # with remote debug for example and specifying a port for Jetty
   java -Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n -Djava.net.preferIPv4Stack=true -Dlog4j.configuration=log4j-cloud.xml -Djetty.port=8080 -cp "client/target/conf:client/target/bcprov-jdk15on-1.55.jar:client/target/cloud-client-ui-X.X.X.X-SNAPSHOT.jar" org.apache.cloudstack.ServerDaemon
   ```
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services