Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 8AB7E200BE2 for ; Wed, 9 Nov 2016 16:07:00 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 896DA160AF7; Wed, 9 Nov 2016 15:07:00 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id E40AC160AEE for ; Wed, 9 Nov 2016 16:06:59 +0100 (CET) Received: (qmail 77576 invoked by uid 500); 9 Nov 2016 15:06:58 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 77328 invoked by uid 99); 9 Nov 2016 15:06:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Nov 2016 15:06:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 8D6BD2C2A6A for ; Wed, 9 Nov 2016 15:06:58 +0000 (UTC) Date: Wed, 9 Nov 2016 15:06:58 +0000 (UTC) From: "Joachim Steffenhagen (JIRA)" To: issues@commons.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Issue Comment Deleted] (DAEMON-316) High JvmMx values result in the service being un-startable MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 09 Nov 2016 15:07:00 -0000 [ https://issues.apache.org/jira/browse/DAEMON-316?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:all-tabpanel ] Joachim Steffenhagen updated DAEMON-316: ---------------------------------------- Comment: was deleted (was: Sehr geehrter Absender, aktuell kann ich Ihre Mails nur unregelm=C3=A4=C3=9Fig lesen. Ihre E-Mail = wird nicht weitergeleitet. Bei dringenden Problemen mit BRiAN wenden Sie si= ch bitte an den Support (asz.hotline@bmw.de +49 89 382 55555), danke. Mit freundlichem Gru=C3=9F, Joachim Steffenhagen Dear sender, at the moment I cannot read mail immediately. Your mail will not be forward= ed. If you have any concerns regarding BRiAN, please contact the BRiAN supp= ort (asz.hotline@bmw.de +49 89 382 55555), thank you. Best regards, Joachim Steffenhagen ) > High JvmMx values result in the service being un-startable > ---------------------------------------------------------- > > Key: DAEMON-316 > URL: https://issues.apache.org/jira/browse/DAEMON-316 > Project: Commons Daemon > Issue Type: Bug > Components: Procrun > Affects Versions: 1.0.15 > Environment: Windows 7 64bit > Reporter: Joachim Steffenhagen > Priority: Critical > > When I specify the JvmMx and use a large value, it will result in an erro= r during service start. A value of 1240 will still work, however when chang= ing it to 2240, the service installation is running ok, but when I start th= e service in windows, it just shuts down immediately with an error message = referring to service specifiec error code 4. looking into the windows event= log, it displays this info: > - > - > =20 > 7024=20 > 0=20 > 2=20 > 0=20 > 0=20 > 0x8080000000000000=20 > =20 > 153783=20 > =20 > =20 > System=20 > mycomputer=20 > =20 > > - > MyService=20 > %%4=20 > > > I am installing it using=20 > "$INSTDIR\prunsrv.exe" //IS//MyService --Install=3D"$INSTDIR\prunsrv.exe"= --Startup=3Dauto \ > --Description=3D"VTS" --Jvm=3Dauto \ > ++JvmOptions=3D"-Djavax.net.ssl.trustStore=3D$INSTDIR\resources\c= acerts.jks";"-Djavax.net.ssl.trustStorePassword=3Dchangeit" \ > --Classpath=3D"$INSTDIR\MyService.jar";"$INSTDIR\log4j-1.2.15.jar= ";"$INSTDIR\jcifs-1.3.17.jar";"$INSTDIR\jasypt-1.9.0.jar" \ > --StartImage=3DMyService.jar \ > --JvmMs=3D1024 --JvmMx=3D2240 \ > --StartPath=3D"$INSTDIR" --StartMode=3Djvm \ > --StartClass=3Dde.volke.terminal.service.TerminalService --StartM= ethod=3Dmain --StartParams=3Dstart --StopMode=3Dexe \ > --StopClass=3Dde.volke.terminal.service.TerminalService --StopMet= hod=3Dmain --StopImage=3DMyService.jar \ > --StopPath=3D"$INSTDIR" --StopParams=3Dstop --LogPath=3D"$INSTDIR= \logs" > from an NSIS script. > To me this seems like a bug as apparenlty the error should be constant in= case my whole cmd line is wrong. Else it should also accept the higher Jvm= Mx value as this is the maximum, no matter if this much memory is really av= ailable. The behaviour was also seen on machines having 16GB RAM with >10GB= free. So it appears not be related to the real memory consumption on the m= achine. -- This message was sent by Atlassian JIRA (v6.3.4#6332)