Brekeke Sip Server and JDK [SOLVED]
Posted: Mon 17 Sep 2012, 00:04
What steps will reproduce the problem?
1. Go to Brekeke.com and download sip3_0_7_7.zip. Then
get apache-tomcat-7.0.30.tar and jdk-6u26-linux-i586-rpm.bin.
First copy the apache-tomcat and jdk files to /usr/local.
You will next need to "chmod a+x jdk-6u26-linux-i586-rpm.bin"
./jdk-6u26-linux-i586-rpm.bin (Installs)
Then..
tar -xvf apache-tomcat-7.0.30.tar
cd
pwd (root)
cp sip3_0_7_7.war /usr/local/apache-tomcat-7.0.30/webapps (unzip file to root dir)
cd /usr/local/apache-tomcat-7.0.30/webapps
Ensure sip.war is there (Brekeke Sip Server main file)
cd ..
cd /bin
./startup.sh
When you run this command to startup the java, you get this error:
Neither the JAVA HOME nor the JRE_HOME enviroment variable is defined
At least one of these enviroment variable is needed to run this program
What is the expected output? What do you see instead?
[root@* /]# /usr/local/apache-tomcat-7.0.30/bin/startup.sh
Using CATALINA_BASE: /usr/local/apache-tomcat-7.0.30
Using CATALINA_HOME: /usr/local/apache-tomcat-7.0.30
Using CATALINA_TMPDIR: /usr/local/apache-tomcat-7.0.30/temp
Using JRE_HOME: /usr
Using CLASSPATH: /usr/local/apache-tomcat-7.0.30/bin/bootstrap.jar
What version of the product are you using? On what operating system?
Brekeke Sip Server 2.x and 3.x (Centos 5.6/5.8/Windows 2003/XP SP3)
Please provide any additional information below.
This installation method used works 100% of the time with Centos 5.x
using the steps provided with that specific version.
1. Go to Brekeke.com and download sip3_0_7_7.zip. Then
get apache-tomcat-7.0.30.tar and jdk-6u26-linux-i586-rpm.bin.
First copy the apache-tomcat and jdk files to /usr/local.
You will next need to "chmod a+x jdk-6u26-linux-i586-rpm.bin"
./jdk-6u26-linux-i586-rpm.bin (Installs)
Then..
tar -xvf apache-tomcat-7.0.30.tar
cd
pwd (root)
cp sip3_0_7_7.war /usr/local/apache-tomcat-7.0.30/webapps (unzip file to root dir)
cd /usr/local/apache-tomcat-7.0.30/webapps
Ensure sip.war is there (Brekeke Sip Server main file)
cd ..
cd /bin
./startup.sh
When you run this command to startup the java, you get this error:
Neither the JAVA HOME nor the JRE_HOME enviroment variable is defined
At least one of these enviroment variable is needed to run this program
What is the expected output? What do you see instead?
[root@* /]# /usr/local/apache-tomcat-7.0.30/bin/startup.sh
Using CATALINA_BASE: /usr/local/apache-tomcat-7.0.30
Using CATALINA_HOME: /usr/local/apache-tomcat-7.0.30
Using CATALINA_TMPDIR: /usr/local/apache-tomcat-7.0.30/temp
Using JRE_HOME: /usr
Using CLASSPATH: /usr/local/apache-tomcat-7.0.30/bin/bootstrap.jar
What version of the product are you using? On what operating system?
Brekeke Sip Server 2.x and 3.x (Centos 5.6/5.8/Windows 2003/XP SP3)
Please provide any additional information below.
This installation method used works 100% of the time with Centos 5.x
using the steps provided with that specific version.