You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "Ronak Patel (JIRA)" <ji...@apache.org> on 2019/07/13 01:34:00 UTC
[jira] [Comment Edited] (TOMEE-2570) TomEE Windows service does not
start with 32-bit JVM
[ https://issues.apache.org/jira/browse/TOMEE-2570?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16884263#comment-16884263 ]
Ronak Patel edited comment on TOMEE-2570 at 7/13/19 1:33 AM:
-------------------------------------------------------------
Attaching log files:
* Apache Commons Daemon procrun log: [^TomEE.2019-07-12_nodebug.log]
* Debug version of above (service.bat updated to have {{--LogLevel Debug}} on {{"%EXECUTABLE%" //IS//}} line): [^TomEE.2019-07-12_debug.log]
Note that the 32-bit JDK used in this environment was installed into C:\oracle_jdk1.8.0_212.
was (Author: ronak.a.patel):
Attaching log files:
* Apache Commons Daemon procrun log: [^TomEE.2019-07-12_nodebug.log]
* Debug version of above (service.bat updated to have {{--LogLevel Debug}} on {{"%EXECUTABLE%" //IS//}} line): [^TomEE.2019-07-12_debug.log]
> TomEE Windows service does not start with 32-bit JVM
> ----------------------------------------------------
>
> Key: TOMEE-2570
> URL: https://issues.apache.org/jira/browse/TOMEE-2570
> Project: TomEE
> Issue Type: Bug
> Affects Versions: 7.0.6
> Environment: #1:
> Windows 10 Enterprise 64-bit version 1803
> Oracle JDK 1.8.0_212 32-bit
> ----------------
> #2:
> Windows Server 2019 64-bit
> Oracle JDK 1.8.0_211 32-bit
> Reporter: Ronak Patel
> Priority: Major
> Attachments: TomEE.2019-07-12_debug.log, TomEE.2019-07-12_nodebug.log, TomEE_32bit_win_service_error.PNG
>
>
> TomEE 7.0.6 Windows service created using the included bin/service.bat fails to start when using a 32-bit JVM.
> Steps to reproduce:
> # Download TomEE plus 7.0.6 ZIP (21 Jun 2019) from [http://tomee.apache.org/download-ng.html]
> # Extract ZIP to C:\
> # Open command prompt as administrator
> # {{cd}} to C:\apache-tomee-plus-7.0.6\bin
> # In command prompt, enter the following, one by one, in order.
> ## {{SET JAVA_HOME=}}<path to 32-bit JDK>, e.g., {{SET JAVA_HOME=C:\Program Files (x86)\jdk1.8.0_212}}
> ## {{SET PROCESSOR_ARCHITECTURE=X86}} \\ (forces use of TomEE.x86.exe instead of TomEE.amd64.exe for the Windows service)
> ## {{service.bat install}}
> # Open Windows services and try to start the "Apache TomEE" service created by the previous step. The following error appears.
> !TomEE_32bit_win_service_error.PNG!
> There is no substantial information in the Windows system event log.
> The same steps work fine to create and start the TomEE Windows service in the same exact environment for all of the following scenarios:
> * 64-bit JVM instead of 32-bit
> * TomEE 7.0.5 plus instead of 7.0.6
> * If TomEE.x86.exe is replaced with the same file from TomEE 7.0.5 plus (implies the issue is with this file)
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)