Brekeke Sip Server and JDK [SOLVED]

Please post any bugs you have found
Post Reply
Message
Author
User avatar
KentC
Posts: 60
Joined: Sun 16 Sep 2012, 23:35

Brekeke Sip Server and JDK [SOLVED]

#1 Post by KentC »

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.
Last edited by KentC on Fri 29 Nov 2013, 20:33, edited 1 time in total.

User avatar
L18L
Posts: 3479
Joined: Sat 19 Jun 2010, 18:56
Location: www.eussenheim.de/

Re: Brekeke Sip Server and JDK

#2 Post by L18L »

KentC wrote:... and jdk-6u26-linux-i586-rpm.bin...
Avoid rpm
Take an actual java

Hope that helps

and that an admin will move this off the Bugs

User avatar
KentC
Posts: 60
Joined: Sun 16 Sep 2012, 23:35

#3 Post by KentC »

Thanks!!

Sorry guys. I'll give this a try and report back my results! Thanks for your assistance!










Kent C.

User avatar
KentC
Posts: 60
Joined: Sun 16 Sep 2012, 23:35

#4 Post by KentC »

I've installed the following on PUP431:
java_jre-6u22-Lucid-sfs4

Then followed the steps I provided above without the rpm.bin jdk install and I now have Puppy Linux 4.3.1 working with Brekeke Sip Server.

I downloaded the jre file here:
http://distro.ibiblio.org/puppylinux/pe ... ges-lucid/


THIS IS NOW RESOLVED AND MAY BE CLOSED,THANK YOU.



Kent C.

Post Reply