Karaf
  1. Karaf
  2. KARAF-1010

Add 64Bit ServiceWrapper to karaf

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.2.5, 3.0.0
    • Fix Version/s: 2.2.6, 3.0.0
    • Component/s: karaf-os-integration
    • Labels:
      None

      Description

      Obviously there is a 64 Bit Service Wrapper for Windows available which isn't GPL.
      http://maven.40175.n5.nabble.com/Looking-for-free-wrapper-windows-x86-64-exe-version-3-2-3-td4851520.html
      according to this thread there is a ServiceWrapper based on the works of TanukiSoft available at Sonatype for windows in 64 Bit.
      This wrapper might be usable for Karaf to run in Windows 64 bit environments.

        Activity

        Achim Nierbeck created issue -
        Jean-Baptiste Onofré made changes -
        Field Original Value New Value
        Assignee Jean-Baptiste Onofré [ jbonofre ]
        Hide
        Jean-Baptiste Onofré added a comment -

        We are stuck with JSW 3.2.3 due to licensing issue.

        This version doesn't provide a wrapper for Windows 64 bit platform:
        http://wrapper.tanukisoftware.com/downloads/3.2.3/

        Sonatype took the sources and compile on a Windows 64 bits platform.
        Unfortunately this "Sonatype Version" is not public and we can't use it in Karaf.

        The only way that I see is to do the same: get the 3.2.3 source and compile the wrapper on a Windows 64 bits platform (with some changes I guess).

        Show
        Jean-Baptiste Onofré added a comment - We are stuck with JSW 3.2.3 due to licensing issue. This version doesn't provide a wrapper for Windows 64 bit platform: http://wrapper.tanukisoftware.com/downloads/3.2.3/ Sonatype took the sources and compile on a Windows 64 bits platform. Unfortunately this "Sonatype Version" is not public and we can't use it in Karaf. The only way that I see is to do the same: get the 3.2.3 source and compile the wrapper on a Windows 64 bits platform (with some changes I guess).
        Hide
        Jean-Baptiste Onofré added a comment -

        At least, for new Karaf release, I will enhance the wrapper code in order to use a 32bits wrapper which launch a 64bits JVM. I take a look later today.

        Show
        Jean-Baptiste Onofré added a comment - At least, for new Karaf release, I will enhance the wrapper code in order to use a 32bits wrapper which launch a 64bits JVM. I take a look later today.
        Hide
        Jean-Baptiste Onofré added a comment -

        I have setup a Windows 7 64 bits VM to compile the wrapper on this platform.
        I'm going to install Visual Studio 2005 (required to be able to compile).

        Show
        Jean-Baptiste Onofré added a comment - I have setup a Windows 7 64 bits VM to compile the wrapper on this platform. I'm going to install Visual Studio 2005 (required to be able to compile).
        Jean-Baptiste Onofré made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Jean-Baptiste Onofré made changes -
        Fix Version/s 2.2.6 [ 12319142 ]
        Fix Version/s 3.0.0 [ 12316040 ]
        Hide
        Jean-Baptiste Onofré added a comment -

        I installed Visual Studio 2005 on the Windows 7 64 bits VM. I'm trying to compile JSW for this platform.

        Show
        Jean-Baptiste Onofré added a comment - I installed Visual Studio 2005 on the Windows 7 64 bits VM. I'm trying to compile JSW for this platform.
        Jean-Baptiste Onofré made changes -
        Status In Progress [ 3 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Hide
        Guillaume Nodet added a comment -

        Just found out that Sonatype has published binaries on github https://github.com/sonatype/jsw-binaries

        Show
        Guillaume Nodet added a comment - Just found out that Sonatype has published binaries on github https://github.com/sonatype/jsw-binaries
        Hide
        Jamie goodyear added a comment -

        The generated wrapper conf file has the main class as org.apache.karaf.wrapper.internal.Main when it is actually org.apache.karaf.shell.wrapper.Main.

        When i switch this variable in the generated conf file then the wrapper works on Windows 7 64 bit

        Show
        Jamie goodyear added a comment - The generated wrapper conf file has the main class as org.apache.karaf.wrapper.internal.Main when it is actually org.apache.karaf.shell.wrapper.Main. When i switch this variable in the generated conf file then the wrapper works on Windows 7 64 bit
        Jamie goodyear made changes -
        Resolution Fixed [ 1 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        Hide
        Jamie goodyear added a comment -

        Corrected Main class in karaf wrapper conf.

        $ svn ci
        Sending shell/wrapper/src/main/resources/org/apache/karaf/shell/wrapper/windows64/karaf-wrapper.conf
        Transmitting file data .
        Committed revision 1307639.

        Show
        Jamie goodyear added a comment - Corrected Main class in karaf wrapper conf. $ svn ci Sending shell/wrapper/src/main/resources/org/apache/karaf/shell/wrapper/windows64/karaf-wrapper.conf Transmitting file data . Committed revision 1307639.
        Jamie goodyear made changes -
        Status Reopened [ 4 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Hide
        Jamie goodyear added a comment - - edited

        Verified Windows 7 64bit wrapper install, net start karaf, net stop karaf, and remove, on Apache Karaf 2.2.6-snapshot.

        Show
        Jamie goodyear added a comment - - edited Verified Windows 7 64bit wrapper install, net start karaf, net stop karaf, and remove, on Apache Karaf 2.2.6-snapshot.
        Jamie goodyear made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open In Progress In Progress
        126d 15h 42m 1 Jean-Baptiste Onofré 20/Mar/12 07:09
        In Progress In Progress Resolved Resolved
        10d 10h 26m 1 Jean-Baptiste Onofré 30/Mar/12 18:36
        Resolved Resolved Reopened Reopened
        4h 22m 1 Jamie goodyear 30/Mar/12 22:58
        Reopened Reopened Resolved Resolved
        14m 23s 1 Jamie goodyear 30/Mar/12 23:12
        Resolved Resolved Closed Closed
        9d 13h 1 Jamie goodyear 09/Apr/12 12:13

          People

          • Assignee:
            Jean-Baptiste Onofré
            Reporter:
            Achim Nierbeck
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development