Installing brekeke on Debian , I have an error

Discuss any topic about Brekeke PBX.

Moderator: Brekeke Support Team

Post Reply
AhmadGulfsip
Posts: 3
Joined: Sun Jan 17, 2010 3:13 am

Installing brekeke on Debian , I have an error

Post by AhmadGulfsip »

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
Posts: 862
Joined: Tue Jan 15, 2008 4:08 pm

Post by hope »

Harold
Posts: 289
Joined: Sun Sep 21, 2008 10:31 pm
Location: Japan

Post by Harold »

AhmadGulfsip
Posts: 3
Joined: Sun Jan 17, 2010 3:13 am

Post by 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
Posts: 319
Joined: Thu Nov 15, 2007 11:54 am
Location: Florida

Post by lakeview »

Even if your Linix is 64bit, you need to use 32bit Java for Brekeke.
Also, use the latest Tomcat.
AhmadGulfsip
Posts: 3
Joined: Sun Jan 17, 2010 3:13 am

Post by 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 ?
Post Reply