directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ole Ersoy (JIRA)" <>
Subject [jira] Commented: (DIRSERVER-921) init scripts don't recognize JRE 1.6
Date Fri, 01 Jun 2007 16:27:15 GMT


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

View raw message