You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "Howard W. Smith, Jr. (JIRA)" <ji...@apache.org> on 2013/02/25 17:04:13 UTC

[jira] [Commented] (TOMEE-652) service.bat install fails on 64-bit Windows with TomEE+ 1.5.1

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

Howard W. Smith, Jr. commented on TOMEE-652:
--------------------------------------------

1. I experienced these issues when I first started using TomEE+ 1.5.1 (SNAPSHOT)
2. I can confirm that this is-and-was-still-resolved when I finally used TomEE+ 1.5.2 (SNAPSHOT) to install Windows service (instead of relying on Tomcat's corresponding version to install Windows Service)
3. I'm looking forward to upgrading to TomEE+ 1.6.0 (SNAPSHOT)...ASAP!
                
> service.bat install fails on 64-bit Windows with TomEE+ 1.5.1
> -------------------------------------------------------------
>
>                 Key: TOMEE-652
>                 URL: https://issues.apache.org/jira/browse/TOMEE-652
>             Project: TomEE
>          Issue Type: Bug
>    Affects Versions: 1.5.1
>         Environment: Windows 7 x64, Windows Server 2008 R2
>            Reporter: Alex the Rocker
>            Assignee: Romain Manni-Bucau
>            Priority: Critical
>             Fix For: 1.6.0
>
>
> Hello,
> There's (yet another) bug in TomEE registration as a service : it fails at least on the two x64 Windows operating systems I have tested: Windows 7 and Windows Server 2008 R2.
> Steps to reproduce:
> Unzip TomEE+ 1.5.1 distribution to a given directory (here:E:\NoSave\tomEE)
> In a Windows Command Prompt, type:
>    set JAVA_HOME=c:\Program Files\Java\jdk1.7.0_09
>    cd E:\NoSave\tomEE\apache-tomee-plus-1.5.1\bin
>    service.bat install
> Installing the service 'TomEE' ...
> Using CATALINA_HOME:    "E:\NoSave\tomEE\apache-tomee-plus-1.5.1"
> Using CATALINA_BASE:    "E:\NoSave\tomEE\apache-tomee-plus-1.5.1"
> Using JAVA_HOME:        "c:\Program Files\Java\jdk1.7.0_09"
> Using JRE_HOME:         "c:\Program Files\Java\jdk1.7.0_09\jre"
> Using JVM:              "c:\Program Files\Java\jdk1.7.0_09\jre\bin\server\jvm.dll"
> ""E:\NoSave\tomEE\apache-tomee-plus-1.5.1\bin\TomEE.AMD64.exe"" //IS//TomEE
> [2012-12-15 00:11:52] [error] Unrecognized cmd option E:\NoSave\tomEE\apache-tomee-plus-1.5.1\bin\TomEE.AMD64.exe
> [2012-12-15 00:11:52] [error] Invalid command line arguments
> [2012-12-15 00:11:52] [error] Commons Daemon procrun failed with exit value: 1 (Failed to parse command line arguments)
> Failed installing 'TomEE' service
> This is really a pity, since registering TomEE as a Windows service was already broken in 1.0.0, 1.5.0, each time in a slightly different maner (the service registration issue on 1.5.0 is linked to this JIRA: https://issues.apache.org/jira/browse/TOMEE-446, but that's not the same output so I have opened a new 1.5.0-specific JIRA).
> Since 1.5.1 is released, I badly need a by-pass, otherwise I feel like TomEE will be kicked out my company :(
> Alex.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira