Author: bago Date: Sun Mar 26 07:58:36 2006 New Revision: 388918 URL: http://svn.apache.org/viewcvs?rev=388918&view=rev Log: Fixed wrapper - Running James as an NT service (JAMES-460) Since we upgraded phoenix to 4.2 wrapper was not working. Added wrapper.LICENSE file, and move JAMES_PHOENIX.txt file to repository root (phoenix-bin folder become the root of the binary distribution and we don't need this file in the binary distribution).
Added: james/server/trunk/JAMES_PHOENIX.txt - copied, changed from r365934, james/server/trunk/phoenix-bin/JAMES_PHOENIX.txt james/server/trunk/phoenix-bin/bin/Wrapper.LICENSE Removed: james/server/trunk/phoenix-bin/JAMES_PHOENIX.txt Modified: james/server/trunk/phoenix-bin/bin/Wrapper.dll james/server/trunk/phoenix-bin/bin/Wrapper.exe james/server/trunk/phoenix-bin/bin/wrapper.jar james/server/trunk/phoenix-bin/conf/wrapper.conf Copied: james/server/trunk/JAMES_PHOENIX.txt (from r365934, james/server/trunk/phoenix-bin/JAMES_PHOENIX.txt) URL: http://svn.apache.org/viewcvs/james/server/trunk/JAMES_PHOENIX.txt?p2=james/server/trunk/JAMES_PHOENIX.txt&p1=james/server/trunk/phoenix-bin/JAMES_PHOENIX.txt&r1=365934&r2=388918&rev=388918&view=diff ============================================================================== --- james/server/trunk/phoenix-bin/JAMES_PHOENIX.txt (original) +++ james/server/trunk/JAMES_PHOENIX.txt Sun Mar 26 07:58:36 2006 @@ -10,6 +10,8 @@ - upgraded logkit to 2.1 - changed the default SystemManager to NoopSystemManager in kernel.xml +- upgraded wrapper.* files to 3.2.0 release (http://wrapper.tanukisoftware.org/) + Changed the build.xml to reflect the changes. Rebuilt. Added: james/server/trunk/phoenix-bin/bin/Wrapper.LICENSE URL: http://svn.apache.org/viewcvs/james/server/trunk/phoenix-bin/bin/Wrapper.LICENSE?rev=388918&view=auto ============================================================================== --- james/server/trunk/phoenix-bin/bin/Wrapper.LICENSE (added) +++ james/server/trunk/phoenix-bin/bin/Wrapper.LICENSE Sun Mar 26 07:58:36 2006 @@ -0,0 +1,40 @@ +Copyright (c) 1999, 2005 Tanuki Software Inc. + +Permission is hereby granted, free of charge, to any person +obtaining a copy of the Java Service Wrapper and associated +documentation files (the "Software"), to deal in the Software +without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sub-license, +and/or sell copies of the Software, and to permit persons to +whom the Software is furnished to do so, subject to the +following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES +OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NON-INFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT +HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR +OTHER DEALINGS IN THE SOFTWARE. + + +Portions of the Software have been derived from source code +developed by Silver Egg Technology under the following license: + +Copyright (c) 2001 Silver Egg Technology + +Permission is hereby granted, free of charge, to any person +obtaining a copy of this software and associated documentation +files (the "Software"), to deal in the Software without +restriction, including without limitation the rights to use, +copy, modify, merge, publish, distribute, sub-license, and/or +sell copies of the Software, and to permit persons to whom the +Software is furnished to do so, subject to the following +conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. \ No newline at end of file Modified: james/server/trunk/phoenix-bin/bin/Wrapper.dll URL: http://svn.apache.org/viewcvs/james/server/trunk/phoenix-bin/bin/Wrapper.dll?rev=388918&r1=388917&r2=388918&view=diff ============================================================================== Binary files - no diff available. Modified: james/server/trunk/phoenix-bin/bin/Wrapper.exe URL: http://svn.apache.org/viewcvs/james/server/trunk/phoenix-bin/bin/Wrapper.exe?rev=388918&r1=388917&r2=388918&view=diff ============================================================================== Binary files - no diff available. Modified: james/server/trunk/phoenix-bin/bin/wrapper.jar URL: http://svn.apache.org/viewcvs/james/server/trunk/phoenix-bin/bin/wrapper.jar?rev=388918&r1=388917&r2=388918&view=diff ============================================================================== Binary files - no diff available. Modified: james/server/trunk/phoenix-bin/conf/wrapper.conf URL: http://svn.apache.org/viewcvs/james/server/trunk/phoenix-bin/conf/wrapper.conf?rev=388918&r1=388917&r2=388918&view=diff ============================================================================== --- james/server/trunk/phoenix-bin/conf/wrapper.conf (original) +++ james/server/trunk/phoenix-bin/conf/wrapper.conf Sun Mar 26 07:58:36 2006 @@ -1,13 +1,17 @@ #******************************************************************** -# Wrapper parameters +# Wrapper Properties #******************************************************************** # Java Application wrapper.java.command=java -# Java Main class +# Java Main class. This class must implement the WrapperListener interface +# or guarantee that the WrapperManager class is initialized. Helper +# classes are provided to do this for you. See the Integration section +# of the documentation for details. wrapper.java.mainclass=org.apache.avalon.phoenix.launcher.DaemonLauncher -# Java Classpath (include wrapper.jar) Add class path elements as needed starting from 1 +# Java Classpath (include wrapper.jar) Add class path elements as +# needed starting from 1 wrapper.java.classpath.1=phoenix-loader.jar wrapper.java.classpath.2=wrapper.jar @@ -15,7 +19,7 @@ wrapper.java.library.path=./ # Java Additional Parameters -wrapper.java.additional.1=-Djava.ext.dirs=../lib +wrapper.java.additional.1=-Djava.ext.dirs=../lib;../tools/lib wrapper.java.additional.2=-Dphoenix.home=.. wrapper.java.additional.3=-Djava.security.policy=jar:file:phoenix-loader.jar!/META-INF/java.policy wrapper.java.additional.4=-Djava.security.manager @@ -29,6 +33,9 @@ # Application parameters. Add parameters as needed starting from 1 #wrapper.app.parameter.1=--remote-manager +#******************************************************************** +# Wrapper Advanced Properties +#******************************************************************** # Port which the native wrapper code will attempt to connect to wrapper.port=15012 @@ -71,13 +78,14 @@ # 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 -# abreviate with the 'k' (kb) or 'm' (mb) suffix. For example: 10m = 10 megabytes. +# 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=5m -# Maximum number of rolled log files which will be allowed before old files are deleted. -# The default value of 0 implies no limit. +# 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=0 # Log Level for sys/event log output. (See docs for log levels) @@ -87,12 +95,18 @@ # Wrapper Unix daemon parameters #******************************************************************** # File to write process ID to -wrapper.pidfile=/var/run/phoenix.pid +#wrapper.pidfile=/var/run/phoenix.pid + +#******************************************************************** +# Wrapper Windows Properties +#******************************************************************** +# Title to use when running as a console +wrapper.console.title=James Mail Server 2.3.0 #******************************************************************** -# Wrapper NT Service parameters +# Wrapper Windows NT/2000/XP Service Properties #******************************************************************** -# WARNING - Do not modify any of these parameters when an application +# WARNING - Do not modify any of these properties when an application # using this configuration file has been installed as a service. # Please uninstall the service before modifying this section. The # service can then be reinstalled. @@ -115,3 +129,5 @@ # Priority at which the service is run. NORMAL, LOW, HIGH, or REALTIME wrapper.ntservice.process_priority=NORMAL +# Allow the service to interact with the desktop. +wrapper.ntservice.interactive=false --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]