You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Chris Custine (JIRA)" <ji...@apache.org> on 2007/05/09 00:26:15 UTC

[jira] Created: (DIRSERVER-921) init scripts don't recognize JRE 1.6

init scripts don't recognize JRE 1.6
------------------------------------

                 Key: DIRSERVER-921
                 URL: https://issues.apache.org/jira/browse/DIRSERVER-921
             Project: Directory ApacheDS
          Issue Type: Improvement
          Components: installer-plugin
    Affects Versions: 1.5.0
         Environment: Linux
            Reporter: Chris Custine


The current script doesn't recognize an installed 1.6 JRE so attempting to start the service causes errors saying that JAVA_HOME isn't set.

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


[jira] Commented: (DIRSERVER-921) init scripts don't recognize JRE 1.6

Posted by "Ole Ersoy (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DIRSERVER-921?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12500752 ] 

Ole Ersoy commented on DIRSERVER-921:
-------------------------------------

This may be automatically eliminated with the new script, but I figured I'd provide the information just in case.  I hard coded JAVA_HOME in the current 1.5.0 apacheds script, but I still have to run as myself with root privileges.  If I login with the root shell and do ./apacheds debug I get this message:

[root@localhost ~]# cd /etc/init.d
[root@localhost init.d]# ./apacheds debug
Warning: JAVA_HOME environment variable is not set.
  If scrip fails because sun.* classes could not be found
  you will need to set the JAVA_HOME environment variable
  to the installation directory of java.
APACHEDS_HOME=/usr/local/apacheds-1.5.0
CLASSPATH=:/lib/tools.jar:/usr/local/apacheds-1.5.0/bin/bootstrapper.jar:/usr/local/apacheds-1.5.0/bin/logger.jar:/usr/local/apacheds-1.5.0/bin/daemon.jar
Starting apacheds server in debug mode:
========================================================
Warning: the debug port is not set. Using 5005 default.
========================================================
./apacheds: line 221: /bin/java: No such file or directory

Also note that "scrip" instead of "script".


> init scripts don't recognize JRE 1.6
> ------------------------------------
>
>                 Key: DIRSERVER-921
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-921
>             Project: Directory ApacheDS
>          Issue Type: Improvement
>          Components: installer-plugin
>    Affects Versions: 1.5.0
>         Environment: Linux
>            Reporter: Chris Custine
>            Assignee: Chris Custine
>         Attachments: DIRSERVER-921.diff
>
>
> The current script doesn't recognize an installed 1.6 JRE so attempting to start the service causes errors saying that JAVA_HOME isn't set.

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


[jira] Closed: (DIRSERVER-921) init scripts don't recognize JRE 1.6

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

Chris Custine closed DIRSERVER-921.
-----------------------------------


> init scripts don't recognize JRE 1.6
> ------------------------------------
>
>                 Key: DIRSERVER-921
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-921
>             Project: Directory ApacheDS
>          Issue Type: Improvement
>          Components: installer-plugin
>    Affects Versions: 1.5.0
>         Environment: Linux
>            Reporter: Chris Custine
>            Assignee: Chris Custine
>             Fix For: 1.5.1
>
>         Attachments: DIRSERVER-921.diff
>
>
> The current script doesn't recognize an installed 1.6 JRE so attempting to start the service causes errors saying that JAVA_HOME isn't set.

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


[jira] Assigned: (DIRSERVER-921) init scripts don't recognize JRE 1.6

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

Chris Custine reassigned DIRSERVER-921:
---------------------------------------

    Assignee: Chris Custine

> init scripts don't recognize JRE 1.6
> ------------------------------------
>
>                 Key: DIRSERVER-921
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-921
>             Project: Directory ApacheDS
>          Issue Type: Improvement
>          Components: installer-plugin
>    Affects Versions: 1.5.0
>         Environment: Linux
>            Reporter: Chris Custine
>            Assignee: Chris Custine
>         Attachments: DIRSERVER-921.diff
>
>
> The current script doesn't recognize an installed 1.6 JRE so attempting to start the service causes errors saying that JAVA_HOME isn't set.

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


[jira] Commented: (DIRSERVER-921) init scripts don't recognize JRE 1.6

Posted by "Chris Custine (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DIRSERVER-921?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12500759 ] 

Chris Custine commented on DIRSERVER-921:
-----------------------------------------

The new scripts are totally different and will eliminate most of this.  The new scripts will default to using $JAVA_HOME for the JDK location, but you will be able to override this for each Server instance without affecting the default.  The JDK location is moving to an external config file.  There will be a bunch more doco on this in the next few days, I was just reassigning these related issues so that I can make sure that I am conquering all existing bugs/enhancements in addition to the total rework of the isntallers and daemon code.

> init scripts don't recognize JRE 1.6
> ------------------------------------
>
>                 Key: DIRSERVER-921
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-921
>             Project: Directory ApacheDS
>          Issue Type: Improvement
>          Components: installer-plugin
>    Affects Versions: 1.5.0
>         Environment: Linux
>            Reporter: Chris Custine
>            Assignee: Chris Custine
>         Attachments: DIRSERVER-921.diff
>
>
> The current script doesn't recognize an installed 1.6 JRE so attempting to start the service causes errors saying that JAVA_HOME isn't set.

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


[jira] Updated: (DIRSERVER-921) init scripts don't recognize JRE 1.6

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

Chris Custine updated DIRSERVER-921:
------------------------------------

    Attachment: DIRSERVER-921.diff

This should do it...  just need to search for 1.5 or 1.6.

> init scripts don't recognize JRE 1.6
> ------------------------------------
>
>                 Key: DIRSERVER-921
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-921
>             Project: Directory ApacheDS
>          Issue Type: Improvement
>          Components: installer-plugin
>    Affects Versions: 1.5.0
>         Environment: Linux
>            Reporter: Chris Custine
>         Attachments: DIRSERVER-921.diff
>
>
> The current script doesn't recognize an installed 1.6 JRE so attempting to start the service causes errors saying that JAVA_HOME isn't set.

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


[jira] Resolved: (DIRSERVER-921) init scripts don't recognize JRE 1.6

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

Chris Custine resolved DIRSERVER-921.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.5.1

The new Tanuki Wrapper daemon will take care of this, but I have fixed the issue in case anyone still wants to use Procrun/Jsvc with Java 1.6

> init scripts don't recognize JRE 1.6
> ------------------------------------
>
>                 Key: DIRSERVER-921
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-921
>             Project: Directory ApacheDS
>          Issue Type: Improvement
>          Components: installer-plugin
>    Affects Versions: 1.5.0
>         Environment: Linux
>            Reporter: Chris Custine
>            Assignee: Chris Custine
>             Fix For: 1.5.1
>
>         Attachments: DIRSERVER-921.diff
>
>
> The current script doesn't recognize an installed 1.6 JRE so attempting to start the service causes errors saying that JAVA_HOME isn't set.

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