1 # Java Additional Parameters
2 wrapper.java.additional.1=-Djava.awt.headless=true
3 wrapper.java.additional.2=-XX:MaxPermSize=128m
5 # RECOMMENDED : uncomment if Java Virtual Machine is a JDK but not a JRE. To know which JVM you use, execute
6 # 'java -version'. It displays 'Server VM' on JDK.
7 # wrapper.java.additional.3=-server
9 # Initial Java Heap Size (in MB)
10 wrapper.java.initmemory=256
12 # Maximum Java Heap Size (in MB)
13 wrapper.java.maxmemory=512
17 # DO NOT CHANGE THE FOLLOWING
21 #********************************************************************
22 # Wrapper Java Properties
23 #********************************************************************
25 wrapper.java.command=java
27 # Java Main class. This class must implement the WrapperListener interface
28 # or guarantee that the WrapperManager class is initialized. Helper
29 # classes are provided to do this for you. See the Integration section
30 # of the documentation for details.
31 wrapper.java.mainclass=org.tanukisoftware.wrapper.WrapperSimpleApp
33 export SONAR_HOME=${SONAR_HOME:=/opt/sonar}
35 # Java Classpath (include wrapper.jar) Add class path elements as
36 # needed starting from 1
37 wrapper.java.classpath.1=/opt/sonar/lib/*.jar
38 wrapper.java.classpath.2=/opt/sonar
39 wrapper.java.classpath.3=/opt/sonar/extensions/jdbc-driver/derby/*.jar
40 wrapper.java.classpath.4=/opt/sonar/extensions/jdbc-driver/mysql/*.jar
41 wrapper.java.classpath.5=/opt/sonar/extensions/jdbc-driver/oracle/*.jar
42 wrapper.java.classpath.6=/opt/sonar/extensions/jdbc-driver/postgresql/*.jar
43 wrapper.java.classpath.7=/etc/sonar
45 # Java Library Path (location of Wrapper.DLL or libwrapper.so)
46 wrapper.java.library.path.1=/opt/sonar/bin/lib/
48 # Application parameters. Add parameters as needed starting from 1
49 wrapper.app.parameter.1=org.sonar.application.StartServer
51 #********************************************************************
52 # Profiling and debbuging - for development only
53 # If wrapper.java.additional.3=-server is not commented, parameter ids should start from 4 instead of 3.
54 #********************************************************************
55 # Java remote debugging
56 #wrapper.java.additional.3=-agentlib:jdwp=transport=dt_socket,server=y,address=8000
59 #wrapper.java.additional.3=-agentlib:yjpagent
62 #wrapper.java.additional.3=-Xint
63 #wrapper.java.additional.4=-agentlib:jprofilerti=port=8849
64 #wrapper.java.additional.5=-Xbootclasspath/a:/Applications/jprofiler5/bin/agent.jar
66 # JMX remote monitoring on Sun JVM (warning, security is disabled)
67 #wrapper.java.additional.3=-Dcom.sun.management.jmxremote
68 #wrapper.java.additional.4=-Dcom.sun.management.jmxremote.port=9005
69 #wrapper.java.additional.5=-Dcom.sun.management.jmxremote.authenticate=false
70 #wrapper.java.additional.6=-Dcom.sun.management.jmxremote.ssl=false
72 #********************************************************************
73 # Wrapper Logging Properties
74 #********************************************************************
75 # Format of output for the console. (See docs for formats)
76 wrapper.console.format=PM
78 # Log Level for console output. (See docs for log levels)
79 wrapper.console.loglevel=INFO
81 # Log file to use for wrapper output logging.
82 wrapper.logfile=%SONAR_LOG_DIR%/wrapper.log
84 # Format of output for the log file. (See docs for formats)
85 #wrapper.logfile.format=LPTM
87 # Log Level for log file output. (See docs for log levels)
88 #wrapper.logfile.loglevel=INFO
90 # Maximum size that the log file will be allowed to grow to before
91 # the log is rolled. Size is specified in bytes. The default value
92 # of 0, disables log rolling. May abbreviate with the 'k' (kb) or
93 # 'm' (mb) suffix. For example: 10m = 10 megabytes.
94 #wrapper.logfile.maxsize=0
96 # Maximum number of rolled log files which will be allowed before old
97 # files are deleted. The default value of 0 implies no limit.
98 #wrapper.logfile.maxfiles=0
100 # Log Level for sys/event log output. (See docs for log levels)
101 wrapper.syslog.loglevel=NONE
103 #********************************************************************
104 # Wrapper Windows Properties
105 #********************************************************************
106 # Title to use when running as a console
107 wrapper.console.title=Sonar
109 #********************************************************************
110 # Wrapper Windows NT/2000/XP Service Properties
111 #********************************************************************
112 # WARNING - Do not modify any of these properties when an application
113 # using this configuration file has been installed as a service.
114 # Please uninstall the service before modifying this section. The
115 # service can then be reinstalled.
117 # Name of the service
118 wrapper.ntservice.name=Sonar
120 # Display name of the service
121 wrapper.ntservice.displayname=Sonar
123 # Description of the service
124 wrapper.ntservice.description=Sonar
126 # Service dependencies. Add dependencies as needed starting from 1
127 wrapper.ntservice.dependency.1=
129 # Mode in which the service is installed. AUTO_START or DEMAND_START
130 wrapper.ntservice.starttype=AUTO_START
132 # Allow the service to interact with the desktop.
133 wrapper.ntservice.interactive=false
135 #********************************************************************
136 # restart the process if CPU is heavily loaded during 240 seconds.
137 wrapper.ping.timeout=240