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

        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).
        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.
        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
        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.
        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.

          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