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:21:00 UTC

[jira] [Created] (TOMEE-2570) TomEE Windows service does not start with 32-bit JVM

Ronak Patel created TOMEE-2570:
----------------------------------

             Summary: 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


TomEE 7.0.6 Windows service created using the included bin/service.bat fails to start with the 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!

The same steps work 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)