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_HOME%/bin/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 # Java Classpath (include wrapper.jar) Add class path elements as
34 # needed starting from 1
35 wrapper.java.classpath.1=%SONAR_HOME%/lib/*.jar
36 wrapper.java.classpath.2=%SONAR_HOME%
37 wrapper.java.classpath.3=%SONAR_HOME%/extensions/jdbc-driver/derby/*.jar
38 wrapper.java.classpath.4=%SONAR_HOME%/extensions/jdbc-driver/mysql/*.jar
39 wrapper.java.classpath.5=%SONAR_HOME%/extensions/jdbc-driver/oracle/*.jar
40 wrapper.java.classpath.6=%SONAR_HOME%/extensions/jdbc-driver/postgresql/*.jar
41 wrapper.java.classpath.7=%SONAR_ETC_DIR%
43 # Java Library Path (location of Wrapper.DLL or libwrapper.so)
44 wrapper.java.library.path.1=%SONAR_HOME%/bin/lib/
46 # Application parameters. Add parameters as needed starting from 1
47 wrapper.app.parameter.1=org.sonar.application.StartServer
49 #********************************************************************
50 # Profiling and debbuging - for development only
51 # If wrapper.java.additional.3=-server is not commented, parameter ids should start from 4 instead of 3.
52 #********************************************************************
53 # Java remote debugging
54 #wrapper.java.additional.3=-agentlib:jdwp=transport=dt_socket,server=y,address=8000
57 #wrapper.java.additional.3=-agentlib:yjpagent
60 #wrapper.java.additional.3=-Xint
61 #wrapper.java.additional.4=-agentlib:jprofilerti=port=8849
62 #wrapper.java.additional.5=-Xbootclasspath/a:/Applications/jprofiler5/bin/agent.jar
64 # JMX remote monitoring on Sun JVM (warning, security is disabled)
65 #wrapper.java.additional.3=-Dcom.sun.management.jmxremote
66 #wrapper.java.additional.4=-Dcom.sun.management.jmxremote.port=9005
67 #wrapper.java.additional.5=-Dcom.sun.management.jmxremote.authenticate=false
68 #wrapper.java.additional.6=-Dcom.sun.management.jmxremote.ssl=false
70 #********************************************************************
71 # Wrapper Logging Properties
72 #********************************************************************
73 # Format of output for the console. (See docs for formats)
74 wrapper.console.format=PM
76 # Log Level for console output. (See docs for log levels)
77 wrapper.console.loglevel=INFO
79 # Log file to use for wrapper output logging.
80 wrapper.logfile=%SONAR_LOG_DIR%/wrapper.log
82 # Format of output for the log file. (See docs for formats)
83 #wrapper.logfile.format=LPTM
85 # Log Level for log file output. (See docs for log levels)
86 #wrapper.logfile.loglevel=INFO
88 # Maximum size that the log file will be allowed to grow to before
89 # the log is rolled. Size is specified in bytes. The default value
90 # of 0, disables log rolling. May abbreviate with the 'k' (kb) or
91 # 'm' (mb) suffix. For example: 10m = 10 megabytes.
92 #wrapper.logfile.maxsize=0
94 # Maximum number of rolled log files which will be allowed before old
95 # files are deleted. The default value of 0 implies no limit.
96 #wrapper.logfile.maxfiles=0
98 # Log Level for sys/event log output. (See docs for log levels)
99 wrapper.syslog.loglevel=NONE
101 #********************************************************************
102 # Wrapper Windows Properties
103 #********************************************************************
104 # Title to use when running as a console
105 wrapper.console.title=Sonar
107 #********************************************************************
108 # Wrapper Windows NT/2000/XP Service Properties
109 #********************************************************************
110 # WARNING - Do not modify any of these properties when an application
111 # using this configuration file has been installed as a service.
112 # Please uninstall the service before modifying this section. The
113 # service can then be reinstalled.
115 # Name of the service
116 wrapper.ntservice.name=Sonar
118 # Display name of the service
119 wrapper.ntservice.displayname=Sonar
121 # Description of the service
122 wrapper.ntservice.description=Sonar
124 # Service dependencies. Add dependencies as needed starting from 1
125 wrapper.ntservice.dependency.1=
127 # Mode in which the service is installed. AUTO_START or DEMAND_START
128 wrapper.ntservice.starttype=AUTO_START
130 # Allow the service to interact with the desktop.
131 wrapper.ntservice.interactive=false
133 #********************************************************************
134 # restart the process if CPU is heavily loaded during 240 seconds.
135 wrapper.ping.timeout=240