# WARNING - Do not modify any of the properties when an application # using this configuration file has been installed as a service or daemon. # Please uninstall the service before modifying this file. The # service must then be reinstalled. #******************************************************************** # Java Executable Properties #******************************************************************** # Java Application #wrapper.java.command=java # or define conditions for YAJSW searching for a JVM # currently only valid for windows #wrapper.java.command.minVersion=1.5 #wrapper.java.command.maxVersion=1.6 #wrapper.java.command.jreOnly=true #wrapper.java.command.jdkOnly=true #wrapper.java.command.preferJre=true #wrapper.java.command.preferJdk=true #wrapper.java.command.javaw=true # copy java.exe to /java__nnnn.exe #wrapper.java.customProcName= #******************************************************************** # working directory #******************************************************************** wrapper.working.dir=C:\\lams\\jboss-4.0.2\\bin\\ # Java Main class. # YAJSW: default is "org.rzo.yajsw.app.WrapperJVMMain" # DO NOT SET THIS PROPERTY UNLESS YOU HAVE YOUR OWN IMPLEMENTATION # wrapper.java.mainclass= #******************************************************************** # Application main class or native executable # One of the following properties MUST be defined #******************************************************************** # Java Application main class wrapper.java.app.mainclass=org.jboss.Main # or jar file #wrapper.java.app.jar= # or groovy script file #wrapper.groovy= #or a native executable #wrapper.image= #******************************************************************** # Application process cpu priority and affinity #******************************************************************** # Process priority: LOW, BELOW_NORMAL, NORMAL, ABOVE_NORMAL, HIGH #wrapper.priority # CPU affinity of the process. this is a bit-array representing the cpus #wrapper.affinity= #******************************************************************** # Application Account # Equivalent to Posix sudo or windows runas # Note Posix: # \ (note: use \\ in configuration file). # If no group is configured default group of the user is used #******************************************************************** #wrapper.app.account= #wrapper.app.password= #******************************************************************** # Java/Groovy Application Properties #******************************************************************** # Java Classpath (include wrapper.jar) Add class path elements as # needed starting from 1 # YAJSW: all libs required by YAJSW are in the manifest of the wrapper.jar -> only classpath of your application is required #wrapper.java.classpath.1= # Java Library Path # YAJSW: required dll are encapsulated in jar files -> only library path of your application required # wrapper.java.library.path.1=../lib # Java Additional Parameters #wrapper.java.additional.1= # Initial Java Heap Size (in MB) # alternative for wrapper.java.additional.=-Xms #wrapper.java.initmemory=3 # % of total RAM wrapper.java.initmemory.realtive=30 # Maximum Java Heap Size (in MB) # alternative for wrapper.java.additional.=-Xmx #wrapper.java.maxmemory=64 # % of total RAM wrapper.java.maxmemory.realtive=60 # JSW requires that main class is set as app.parameter property # YAJSW: to specify the main class please use wrapper.java.app.mainclass= #******************************************************************** # Application environment properties. #******************************************************************** # Adds an environment to the application #wrapper.app.env.= #******************************************************************** # Wrapper Logging Properties #******************************************************************** # Format of output for the console. (See docs for formats) # wrapper.console.format=PM # Log Level for console output. (See docs for log levels) wrapper.console.loglevel=INFO # Log file to use for wrapper output logging. #wrapper.logfile=${wrapper.working.dir}/logs/wrapper.log # Format of output for the log file. (See docs for formats) #wrapper.logfile.format=LPTM # Log Level for log file output. (See docs for log levels) #wrapper.logfile.loglevel=INFO # Maximum size that the log file will be allowed to grow to before # the log is rolled. Size is specified in bytes. The default value # of 0, disables log rolling. May abbreviate with the 'k' (kb) or # 'm' (mb) suffix. For example: 10m = 10 megabytes. #wrapper.logfile.maxsize=10m # Maximum number of rolled log files which will be allowed before old # files are deleted. The default value of 0 implies no limit. #wrapper.logfile.maxfiles=10 #******************************************************************** # Application Console Properties #******************************************************************** # Indicate if console of the application is visible. #wrapper.console.visible=false # Title to use when running as a console wrapper.console.title=LAMS21 # -Dprogram.name=run.bat -Xms128m -Xmx512m \"-Djava.endorsed.dirs=C:\\lams\\jboss-4.0.2\\bin\\\\..\\lib\\endorsed\" -classpath \"C:\/Program Files\/Java\/jdk1.6.0_24\\lib\\tools.jar;C:\\lams\\jboss-4.0.2\\bin\\\\run.jar\" org.jboss.Main #******************************************************************** # Wrapper Windows Service and Posix Daemon Properties #******************************************************************** # Name of the service wrapper.ntservice.name=LAMS21 # -Dprogram.name=run.bat -Xms128m -Xmx512m \"-Djava.endorsed.dirs=C:\\lams\\jboss-4.0.2\\bin\\\\..\\lib\\endorsed\" -classpath \"C:\/Program Files\/Java\/jdk1.6.0_24\\lib\\tools.jar;C:\\lams\\jboss-4.0.2\\bin\\\\run.jar\" org.jboss.Main # Display name of the service wrapper.ntservice.displayname=LAMS21 # -Dprogram.name=run.bat -Xms128m -Xmx512m \"-Djava.endorsed.dirs=C:\\lams\\jboss-4.0.2\\bin\\\\..\\lib\\endorsed\" -classpath \"C:\/Program Files\/Java\/jdk1.6.0_24\\lib\\tools.jar;C:\\lams\\jboss-4.0.2\\bin\\\\run.jar\" org.jboss.Main # Description of the service wrapper.ntservice.description=LAMS21 # -Dprogram.name=run.bat -Xms128m -Xmx512m \"-Djava.endorsed.dirs=C:\\lams\\jboss-4.0.2\\bin\\\\..\\lib\\endorsed\" -classpath \"C:\/Program Files\/Java\/jdk1.6.0_24\\lib\\tools.jar;C:\\lams\\jboss-4.0.2\\bin\\\\run.jar\" org.jboss.Main # Service dependencies. Add dependencies as needed starting from 1 # wrapper.ntservice.dependency.1= # Mode in which the service is installed. AUTO_START or DEMAND_START # wrapper.ntservice.starttype=AUTO_START # Allow the service to interact with the desktop. # wrapper.ntservice.interactive=false # wrapper service user. only for windows. on *nix system this is root. # see also wrapper.app.account #wrapper.ntservice.account= #wrapper.ntservice.user= #******************************************************************** # Wrapper Posix Daemon Properties #******************************************************************** # Directory in which to create and execute daemon init scripts. Default: /etc/init.d #wrapper.daemon.dir = # Directory where to store the wrapper pid file. Default: /var/run #wrapper.daemon.pid.dir = # Directory in which to create K... and S... links. # Default: /rcX.d # For Ubuntu set to /etc/rcX.d # The following grooy script should set it correctly for most distros wrapper.daemon.run_level_dir=${if (new File('\/etc\/rc0.d').exists()) return '\/etc\/rcX.d' else return '\/etc\/init.d\/rcX.d'} # Setting the runlevels and priorities for automatic startup and stop of the daemon. # Similar syntax as the update_rc.d command # Default: equivalent to default of update_rc.d #wrapper.update_rc = start 20 2 3 4 . start 30 5 . stop 80 0 1 6 #******************************************************************** # Wrapper System Tray Properties #******************************************************************** # enable system tray wrapper.tray = true # TCP/IP port. If none is defined multicast discovery is used to find the port # Set the port in case multicast is not possible. wrapper.tray.port = 15002 # icon file to use, per default a console icon is used #wrapper.tray.icon= #******************************************************************** # Exit Code Properties # Restart on non zero exit code #******************************************************************** wrapper.on_exit.0=SHUTDOWN wrapper.on_exit.default=RESTART #******************************************************************** # Trigger actions on console output #******************************************************************** # On Exception show message in system tray wrapper.filter.trigger.0=Exception wrapper.filter.script.0=scripts\/trayMessage.gv wrapper.filter.script.0.args=Exception #******************************************************************** # Wrapper JMX # # connect using for example jconsole per remote access using the url # # service:jmx:rmi:///jndi/rmi://localhost:1099/server # # eventl. change port and server name #******************************************************************** # Enable wrapper JMX #wrapper.jmx = true # JMX RMI port. default is 1099 #wrapper.jmx.rmi.port = # JMX RMI credentials # mandatory if accessing from remote server #wrapper.jmx.rmi.user = #wrapper.jmx.rmi.password = #******************************************************************** # Wrapper timeouts #******************************************************************** # Number of seconds to allow between the time that the Wrapper starts the application # and the application logon to the wrapper. # Default: 30 seconds #wrapper.startup.timeout = # Number of seconds to allow between the time that the Wrapper asks the application to shutdown and the time that the JVM shuts down. # Default: 30 seconds #wrapper.shutdown.timeout = # Number of seconds the wrapper waits for a ping message from the java application. # If no heart beat is received within a timeout the wrapper assumes that the application # is non responsive and will restart it. # Default: 30 seconds #wrapper.ping.timeout = #******************************************************************** # genConfig: further Properties generated by genConfig #******************************************************************** placeHolderSoGenPropsComeHere= wrapper.java.command = C:\\Program Files\\Java\\jdk1.5.0_22\\bin\\java wrapper.java.classpath.1 = C:\\rogram Files\\Java\/jdk1.5.0_22\\lib\\tools.jar wrapper.java.classpath.2 = .\\\\run.jar wrapper.java.additional.1 = -Dprogram.name=run.bat wrapper.java.additional.2 = -Xmx900m