karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré (JIRA) <j...@apache.org>
Subject [jira] [Commented] (KARAF-2270) Service wrapper assumes java is on system path
Date Tue, 27 Aug 2013 09:36:52 GMT

    [ https://issues.apache.org/jira/browse/KARAF-2270?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13751118#comment-13751118

Jean-Baptiste Onofré commented on KARAF-2270:

Fixed JAVA_HOME retrieval and service script on karaf-2.x branch: http://svn.apache.org/viewvc?view=revision&revision=1517767
> Service wrapper assumes java is on system path
> ----------------------------------------------
>                 Key: KARAF-2270
>                 URL: https://issues.apache.org/jira/browse/KARAF-2270
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-os-integration
>    Affects Versions: 2.3.1
>         Environment: windows, linux
>            Reporter: Brian Emond
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 2.3.3, 2.4.0, 3.0.0
> In the service wrapper conf file, the wrapper.java.command property points directly to
java, and not to a fully qualified path to java. This assumes that java is on the system path,
which it may not. The value should be:
> wrapper.java.command=%JAVA_HOME%/bin/java
> This ensures the wrapper is using the java executable established from setting the JAVA_HOME
variable under the Wrapper Properties a few lines up in the conf file.

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

View raw message