tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Gallimore (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (TOMEE-2570) TomEE Windows service does not start with 32-bit JVM
Date Tue, 16 Jul 2019 15:12:00 GMT

    [ https://issues.apache.org/jira/browse/TOMEE-2570?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16886193#comment-16886193
] 

Jonathan Gallimore commented on TOMEE-2570:
-------------------------------------------

Can you grab prunsrv.exe from this zip file: [http://www.mirrorservice.org/sites/ftp.apache.org//commons/daemon/binaries/windows/commons-daemon-1.2.0-bin-windows.zip] and
rename it to TomEE.x86.exe and try that?

I suspect it'll still fail, but it'll be good to confirm. This exe does work on a 32 OS for
me, but fails with a 64 bit version of Win10 with an x86 JDK, as per your use case. I'm not
yet sure what the root cause is, but I'll do some further testing and try and track it down.

> 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
> TomEE plus 7.0.6
> ----------------
> #2:
> Windows Server 2019 64-bit
> Oracle JDK 1.8.0_211 32-bit
> TomEE plus 7.0.6
>            Reporter: Ronak Patel
>            Assignee: Jonathan Gallimore
>            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)

Mime
View raw message