You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Edwin Chu (JIRA)" <ji...@apache.org> on 2009/01/22 03:46:59 UTC

[jira] Created: (DAEMON-121) Unable to use JSVC with Java 1.6 in Mac OS X 10.5 (Leopard)

Unable to use JSVC with Java 1.6 in Mac OS X 10.5 (Leopard)
-----------------------------------------------------------

                 Key: DAEMON-121
                 URL: https://issues.apache.org/jira/browse/DAEMON-121
             Project: Commons Daemon
          Issue Type: Task
    Affects Versions: 1.0.1
         Environment: Mac OS X 10.5 (Leopard), Java 1.6 (64-Bit)
            Reporter: Edwin Chu


The Java 1.6 VM provided by Apple is 64-bit only, but the JSVC codebase currently only build for i386 arch, and thus the JSVC is unable to load the Java 1.6 VM.

The main problem of building JSVC for 64-bit environment is its use of legacy Mac OS X API to load the dso, which could not be used to load 64-bit dso. One quick fix is to use the newer dynamic loader functions in Mac OS X but these functions only available in Mac OS X 10.3 and later.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (DAEMON-121) Unable to use JSVC with Java 1.6 in Mac OS X 10.5 (Leopard)

Posted by "Christopher Chow (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DAEMON-121?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12715522#action_12715522 ] 

Christopher Chow commented on DAEMON-121:
-----------------------------------------

This affects MacPort's common-daemon/tomcat5/6:

02/06/2009 22:22:27 46050 jsvc error: Cannot dynamically link to /System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home/../Libraries/libclient.dylib

> Unable to use JSVC with Java 1.6 in Mac OS X 10.5 (Leopard)
> -----------------------------------------------------------
>
>                 Key: DAEMON-121
>                 URL: https://issues.apache.org/jira/browse/DAEMON-121
>             Project: Commons Daemon
>          Issue Type: Task
>    Affects Versions: 1.0.1
>         Environment: Mac OS X 10.5 (Leopard), Java 1.6 (64-Bit)
>            Reporter: Edwin Chu
>
> The Java 1.6 VM provided by Apple is 64-bit only, but the JSVC codebase currently only build for i386 arch, and thus the JSVC is unable to load the Java 1.6 VM.
> The main problem of building JSVC for 64-bit environment is its use of legacy Mac OS X API to load the dso, which could not be used to load 64-bit dso. One quick fix is to use the newer dynamic loader functions in Mac OS X but these functions only available in Mac OS X 10.3 and later.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (DAEMON-121) Unable to use JSVC with Java 1.6 in Mac OS X 10.5 (Leopard)

Posted by "Mladen Turk (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DAEMON-121?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mladen Turk resolved DAEMON-121.
--------------------------------

    Resolution: Fixed

Use the:
$ export CC="gcc -m64"
$ ./configure
$ make


> Unable to use JSVC with Java 1.6 in Mac OS X 10.5 (Leopard)
> -----------------------------------------------------------
>
>                 Key: DAEMON-121
>                 URL: https://issues.apache.org/jira/browse/DAEMON-121
>             Project: Commons Daemon
>          Issue Type: Task
>    Affects Versions: 1.0.1
>         Environment: Mac OS X 10.5 (Leopard), Java 1.6 (64-Bit)
>            Reporter: Edwin Chu
>
> The Java 1.6 VM provided by Apple is 64-bit only, but the JSVC codebase currently only build for i386 arch, and thus the JSVC is unable to load the Java 1.6 VM.
> The main problem of building JSVC for 64-bit environment is its use of legacy Mac OS X API to load the dso, which could not be used to load 64-bit dso. One quick fix is to use the newer dynamic loader functions in Mac OS X but these functions only available in Mac OS X 10.3 and later.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (DAEMON-121) Unable to use JSVC with Java 1.6 in Mac OS X 10.5 (Leopard)

Posted by "Sebb (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DAEMON-121?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sebb updated DAEMON-121:
------------------------

    Fix Version/s: 1.0.2

> Unable to use JSVC with Java 1.6 in Mac OS X 10.5 (Leopard)
> -----------------------------------------------------------
>
>                 Key: DAEMON-121
>                 URL: https://issues.apache.org/jira/browse/DAEMON-121
>             Project: Commons Daemon
>          Issue Type: Task
>    Affects Versions: 1.0.1
>         Environment: Mac OS X 10.5 (Leopard), Java 1.6 (64-Bit)
>            Reporter: Edwin Chu
>             Fix For: 1.0.2
>
>
> The Java 1.6 VM provided by Apple is 64-bit only, but the JSVC codebase currently only build for i386 arch, and thus the JSVC is unable to load the Java 1.6 VM.
> The main problem of building JSVC for 64-bit environment is its use of legacy Mac OS X API to load the dso, which could not be used to load 64-bit dso. One quick fix is to use the newer dynamic loader functions in Mac OS X but these functions only available in Mac OS X 10.3 and later.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.