Change version of JavaService.exe to 2.0.10 (better support for windows parameters - like depends)
This commit is contained in:
parent
37ab81201b
commit
8fa05a58c9
Binary file not shown.
|
@ -0,0 +1,24 @@
|
|||
@echo off
|
||||
|
||||
REM Adempiere_Service_Install.bat - globalqss - based on http://javaservice.objectweb.org
|
||||
|
||||
if (%ADEMPIERE_HOME%) == () (CALL myEnvironment.bat Server) else (CALL %ADEMPIERE_HOME%\utils\myEnvironment.bat Server)
|
||||
|
||||
%ADEMPIERE_HOME%\utils\windows\AdempiereService.exe -install Adempiere %JAVA_HOME%\jre\bin\server\jvm.dll -Xmx256M -Djava.class.path=%JAVA_HOME%\lib\tools.jar;%ADEMPIERE_HOME%\jboss\bin\run.jar -server %ADEMPIERE_JAVA_OPTIONS% -Djetty.port=%ADEMPIERE_WEB_PORT% -Djetty.ssl=%ADEMPIERE_SSL_PORT% -Djetty.keystore=%ADEMPIERE_KEYSTORE% -Djetty.password=%ADEMPIERE_KEYSTORE_PASSWORD% -start org.jboss.Main -params -c -stop org.jboss.Main -method systemExit -current %ADEMPIERE_HOME%\jboss\bin -out %ADEMPIERE_HOME%\jboss\bin\out.txt -manual -overwrite
|
||||
|
||||
|
||||
rem add this option for dependency with postgresql service (replace with proper service name
|
||||
rem -depends postgresql
|
||||
|
||||
rem add this option for dependency with oracle service (replace with proper service name)
|
||||
rem -depends oraclexe
|
||||
|
||||
rem replace -manual by -auto to make service run automatically on system startup
|
||||
|
||||
rem other usefult options can be:
|
||||
rem -err err_log_file
|
||||
rem -shutdown seconds
|
||||
rem -user user_name
|
||||
rem -password password
|
||||
rem -append or -overwrite
|
||||
rem -description service_desc
|
|
@ -0,0 +1,8 @@
|
|||
@echo off
|
||||
|
||||
REM Adempiere_Service_Uninstall.bat - globalqss - based on http://javaservice.objectweb.org
|
||||
|
||||
if (%ADEMPIERE_HOME%) == () (CALL myEnvironment.bat Server) else (CALL %ADEMPIERE_HOME%\utils\myEnvironment.bat Server)
|
||||
|
||||
NET STOP Adempiere
|
||||
%ADEMPIERE_HOME%\utils\windows\AdempiereService.exe -uninstall Adempiere
|
Binary file not shown.
|
@ -1,7 +0,0 @@
|
|||
@echo off
|
||||
|
||||
REM $Id: Windows_Service_Install.bat,v 1.2 2003/11/01 20:55:15 comdivisionys Exp $
|
||||
|
||||
if (%ADEMPIERE_HOME%) == () (CALL myEnvironment.bat Server) else (CALL %ADEMPIERE_HOME%\utils\myEnvironment.bat Server)
|
||||
|
||||
%ADEMPIERE_HOME%\utils\windows\JavaService.exe -install Adempiere %JAVA_HOME%\jre\bin\server\jvm.dll -Xmx256M -Djava.class.path=%JAVA_HOME%\lib\tools.jar;%ADEMPIERE_HOME%\jboss\bin\run.jar -server %ADEMPIERE_JAVA_OPTIONS% -Djetty.port=%ADEMPIERE_WEB_PORT% -Djetty.ssl=%ADEMPIERE_SSL_PORT% -Djetty.keystore=%ADEMPIERE_KEYSTORE% -Djetty.password=%ADEMPIERE_KEYSTORE_PASSWORD% -start org.jboss.Main -params -c adempiere -stop org.jboss.Main -method systemExit -out %ADEMPIERE_HOME%\jboss\bin\out.txt -current %ADEMPIERE_HOME%\jboss\bin
|
|
@ -1,8 +0,0 @@
|
|||
@echo off
|
||||
|
||||
REM $Id: Windows_Service_Uninstall.bat,v 1.1 2003/11/01 17:42:47 comdivisionys Exp $
|
||||
|
||||
if (%ADEMPIERE_HOME%) == () (CALL myEnvironment.bat Server) else (CALL %ADEMPIERE_HOME%\utils\myEnvironment.bat Server)
|
||||
|
||||
NET STOP Adempiere
|
||||
%ADEMPIERE_HOME%\utils\windows\JavaService.exe -uninstall Adempiere
|
|
@ -1,6 +0,0 @@
|
|||
Please find a suggestion on how to start the adempiere server in background
|
||||
(as a windows service)
|
||||
If you have a better one or suggestions for improvement,
|
||||
please file a support request!
|
||||
|
||||
NOTE: When starting the server with this utility, the dispaly of 8/16 bit character sets might not be correct. Works fine if started via bat file.
|
|
@ -1,9 +1,61 @@
|
|||
Homepage: http://www.alexandriasc.com/software/JavaService/index.html
|
||||
This software is currently covered by two open source licenses:
|
||||
|
||||
Copyright (c) 2000, Alexandria Software Consulting
|
||||
/*
|
||||
* JavaService - Windows NT Service Daemon for Java applications
|
||||
*
|
||||
* Copyright (C) 2004 Multiplan Consultants Ltd.
|
||||
*
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*
|
||||
*
|
||||
* Information about the JavaService software is available at the ObjectWeb
|
||||
* web site. Refer to http://javaservice.objectweb.org for more details.
|
||||
*
|
||||
*
|
||||
* This software is derived from earlier work by Alexandria Software Consulting,
|
||||
* (no longer contactable) which was released under a BSD-style license in 2001.
|
||||
* The text of that original license is reproduced below for reference.
|
||||
*
|
||||
*/
|
||||
|
||||
All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
|
||||
|
||||
Redistributions of source code must retain the above copyright notice, this list of conditions, and the following disclaimer.
|
||||
Neither name of Alexandria Software Consulting nor the names of the contributors may be used to endorse or promote products derived from this software without specific prior written permission.
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
/*
|
||||
*
|
||||
* JavaService - License
|
||||
*
|
||||
* By downloading and/or using this software you agree to abide by the following license:
|
||||
*
|
||||
* Copyright (c) 2000, Alexandria Software Consulting
|
||||
*
|
||||
* All rights reserved. Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions are met:
|
||||
*
|
||||
* Redistributions of source code must retain the above copyright notice, this list of
|
||||
* conditions, and the following disclaimer.
|
||||
* Neither name of Alexandria Software Consulting nor the names of the contributors may be
|
||||
* used to endorse or promote products derived from this software without specific prior
|
||||
* written permission.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY
|
||||
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
||||
* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT
|
||||
* SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
|
||||
* TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
|
||||
* BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
||||
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY
|
||||
* WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
|
|
Loading…
Reference in New Issue