Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 461437

Summary: Orion war template hard codes JVM settings
Product: [ECD] Orion Reporter: Anthony Hunter <ahunter.eclipse>
Component: ServerAssignee: Anthony Hunter <ahunter.eclipse>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: 9.0   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Anthony Hunter CLA 2015-03-04 15:01:10 EST
As Paul mentioned way back in bug 429060#c4 , there is an issue in our war template project ( org.eclipse.orion.server.war ).

The properties defined in the web.xml do not work for all application servers. These property needs to be defined in the java system properties for your server/app.

These settings need to be removed from the web.xml.

For Tomcat you need to export the values as something like:

export CATALINA_OPTS="-Dorion.core.configFile=$CATALINA_HOME/conf/orion.conf -Dlogback.configurationFile=$CATALINA_HOME/conf/logback.xml -Dosgi.instance.area=$CATALINA_HOME/serverworkspace"

For IBM WebSphere Application Server Liberty Core these are added to a jvm.options file.