Forums Read-only archive

Installing brekeke on Debian , I have an error

6 posts · Brekeke PBX Forum

AhmadGulfsip Original post
1. Brekeke Product Name and version:
Brekeke PBX, Version 2.4.3.0

2. Java version:
/usr/lib/jvm/java-6-sun-1.6.0.12/bin/java

3. OS type and the version:
Debian 5 X64

4. UA (phone), gateway or other hardware/software involved:
nothing yet

5. Select your network pattern from http://www.brekeke-sip.com/bbs/network/ ... terns.html :
Most likely : Pattern 4

6. Your problem:

I followed up installation guide, and still have this error:
type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

javax.servlet.ServletException: Servlet execution threw an exception

root cause

java.lang.UnsatisfiedLinkError: com.brekeke.tel.sip.stack.jni.InviteHandler.getLD0(Ljava/lang/String;)Ljava/lang/String;
com.brekeke.tel.sip.stack.jni.InviteHandler.getLD0(Native Method)
com.brekeke.tel.sip.stack.jni.InviteHandler.getLD(Unknown Source)
com.brekeke.socket.PbxSocketWrap.<init>(Unknown Source)
com.brekeke.pbx.common.UserManager.initLicense(Unknown Source)
com.brekeke.pbx.common.UserManager.hasLicense(Unknown Source)
com.brekeke.pbxadmin.web.PbxLogin.exec(Unknown Source)
com.brekeke.web.Bean.execMain(Unknown Source)
com.brekeke.pbxadmin.PbxAdminBase.execMain(Unknown Source)
com.brekeke.web.Bean.execute(Unknown Source)
com.brekeke.web.Bean.go(Unknown Source)
com.brekeke.web.Bean.startBean(Unknown Source)
com.brekeke.web.GateServlet.performTask(Unknown Source)
com.brekeke.web.GateServlet.doGet(Unknown Source)
javax.servlet.http.HttpServlet.service(HttpServlet.java:627)
javax.servlet.http.HttpServlet.service(HttpServlet.java:729)

note The full stack trace of the root cause is available in the Apache Tomcat/5.5.28 logs.



I even tried this on Centos 5.5 and gave me the same error with all other mentioned versions above.


Any Advice about what did I miss ?
hope
Harold
AhmadGulfsip
Thanks a lot!
but I did that with the centos box , I did install the x32 Java version
jre-6u18-linux-i586.bin
the previous one was:
jre-6u18-linux-x64-rpm.bin

which is removed and replaced with this new installation.
can any one advice Pls?

type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

java.lang.NullPointerException
java.io.File.<init>(File.java:222)
com.brekeke.pbx.common.UserManager.getUserDataFilename(Unknown Source)
com.brekeke.pbx.common.UserManager.initLicense(Unknown Source)
com.brekeke.pbx.common.UserManager.hasLicense(Unknown Source)
com.brekeke.pbxadmin.web.PbxLogin.exec(Unknown Source)
com.brekeke.web.Bean.execMain(Unknown Source)
com.brekeke.pbxadmin.PbxAdminBase.execMain(Unknown Source)
com.brekeke.web.Bean.execute(Unknown Source)
com.brekeke.web.Bean.go(Unknown Source)
com.brekeke.web.Bean.startBean(Unknown Source)
com.brekeke.web.GateServlet.performTask(Unknown Source)
com.brekeke.web.GateServlet.doGet(Unknown Source)
javax.servlet.http.HttpServlet.service(HttpServlet.java:627)
javax.servlet.http.HttpServlet.service(HttpServlet.java:729)

note The full stack trace of the root cause is available in the Apache Tomcat/5.5.28 logs.
lakeview
Even if your Linix is 64bit, you need to use 32bit Java for Brekeke.
Also, use the latest Tomcat.
AhmadGulfsip
Thanks a lot.
I did change my Debian from x64 to x32 and every thing worked just like a piece of cake.

could you advice how to make the startup of tomcat permanent in Debian ?

and the export values , what files I should edit them to include them in the runtime when rebooted ?