On a new install of FC8, with 1.6.0 java installed under
/usr/lib/jvm/jre-1.6.0-sun, I get the following even with SIPX_JAVA_HOME
set:

-bash-3.2$ sudo /home/cbeeton/commit/out/main/etc/init.d/sipxpbx start
Version java version "1.7.0"
IcedTea Runtime Environment (build 1.7.0-b21)
IcedTea 64-Bit Server VM (build 1.7.0-b21, mixed mode) not compatible
Cannot locate the Java VM on you machine or wrong version of Java
installed. Please either install Java
 or set the SIPX_JAVA_HOME environment variable to where you've
installed it.

JavaCmd:
Version java version "1.7.0"
IcedTea Runtime Environment (build 1.7.0-b21)
IcedTea 64-Bit Server VM (build 1.7.0-b21, mixed mode) not compatible
Cannot locate the Java VM on you machine or wrong version of Java
installed. Please either install Java
 or set the SIPX_JAVA_HOME environment variable to where you've
installed it.

JavaCmd:
Initializing configuration database...
/home/cbeeton/commit/out/main/bin/sipxconfig.sh: line 153:
-Dant.library.dir=/home/cbeeton/commit/out/main/var/sipxdata/tmp: No
such file or directory


Starting sipXpbx: 
Starting sipxsupervisor: Version java version "1.7.0"
IcedTea Runtime Environment (build 1.7.0-b21)
IcedTea 64-Bit Server VM (build 1.7.0-b21, mixed mode) not compatible
Cannot locate the Java VM on you machine or wrong version of Java
installed. Please either install Java
 or set the SIPX_JAVA_HOME environment variable to where you've
installed it.

JavaCmd:
    Postgres configuration database not detected.
    Run (as root:)

       /home/cbeeton/commit/out/main/bin/sipxconfig.sh --setup
                                                           [  OK  ]
Starting httpd:                                            [  OK  ]


-bash-3.2$ echo $SIPX_JAVA_HOME
/usr/lib/jvm/jre-1.6.0-sun

-bash-3.2$ ./sipx-config --java
/usr/lib/jvm/jre-1.6.0-sun/bin/java


It seems that the setting of SIPX_JAVA_HOME is not available from the
init.d script?

Note also the typo in the message "on you machine"

Carolyn
_______________________________________________
sipx-dev mailing list
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-dev
Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-dev

Reply via email to