Brekeke Forum Index » Brekeke PBX Forum

Post new topic   Reply to topic
Installing brekeke on Debian , I have an error
Author Message
AhmadGulfsip
Brekeke Newbie


Joined: 17 Jan 2010
Posts: 3

PostPosted: Mon Feb 01, 2010 11:11 am    Post subject: Installing brekeke on Debian , I have an error Reply with quote

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/networkpatterns.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 ?
Back to top
View user's profile
hope
Brekeke Master Guru


Joined: 15 Jan 2008
Posts: 862

PostPosted: Mon Feb 01, 2010 3:15 pm    Post subject: Reply with quote

http://wiki.brekeke.com/wiki/Install-on-64-bit-Linux
Back to top
View user's profile
Harold
Brekeke Master Guru


Joined: 21 Sep 2008
Posts: 289
Location: Japan

PostPosted: Mon Feb 01, 2010 7:01 pm    Post subject: Reply with quote

See also.
http://wiki.brekeke.com/wiki/How-to-install-on-Debian-Ubuntu
Back to top
View user's profile
AhmadGulfsip
Brekeke Newbie


Joined: 17 Jan 2010
Posts: 3

PostPosted: Tue Feb 02, 2010 7:02 am    Post subject: Reply with quote

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.
Back to top
View user's profile
lakeview
Brekeke Master Guru


Joined: 15 Nov 2007
Posts: 319
Location: Florida

PostPosted: Tue Feb 02, 2010 12:33 pm    Post subject: Reply with quote

Even if your Linix is 64bit, you need to use 32bit Java for Brekeke.
Also, use the latest Tomcat.
Back to top
View user's profile
AhmadGulfsip
Brekeke Newbie


Joined: 17 Jan 2010
Posts: 3

PostPosted: Wed Feb 03, 2010 4:16 am    Post subject: Reply with quote

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 ?
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    Brekeke Forum Index » Brekeke PBX Forum All times are GMT - 7 Hours
Page 1 of 1