pbx.war won't run-Ubuntu Server 8.04/Tomcat

Discuss any topic about Brekeke PBX.

Moderator: Brekeke Support Team

Post Reply
carneym
Posts: 2
Joined: Tue Sep 09, 2008 8:23 am

pbx.war won't run-Ubuntu Server 8.04/Tomcat

Post by carneym »

1. Brekeke PBX 2_1_6_6

2. Java version: 1.6.0.0/TomCat5.5

3. Ubuntu Server 8.0.4

I have TomCat 5.5 running fine on my Ubuntu server and it loads the http://localhost:8180 test page perfectly. However, after copying pbx.war to the webapps directory where it appears in a /pbx folder evidently created by Brekeke, when I try http://localhost:8180/pbx/ I get an HTTP 500 error page and the following blizzard of errors:

------------------------------------------------
java.lang.NullPointerException
org.apache.jsp.InputLicense_jsp._jspService(Unknown Source)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
java.lang.reflect.Method.invoke(Method.java:616)
org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:244)
java.security.AccessController.doPrivileged(Native Method)
javax.security.auth.Subject.doAsPrivileged(Subject.java:537)
org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:276)
org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:162)
java.security.AccessController.doPrivileged(Native Method)
java.security.AccessController.doPrivileged(Native Method)
com.brekeke.web.Bean.forward(Unknown Source)
com.brekeke.web.Bean.display(Unknown Source)
com.brekeke.web.Bean.execute(Unknown Source)
com.brekeke.web.Bean.go(Unknown Source)
com.brekeke.web.Bean.go(Unknown Source)
com.brekeke.sipadmin.web.Login.exec(Unknown Source)
com.brekeke.web.Bean.execMain(Unknown Source)
com.brekeke.web.Bean.execute(Unknown Source)
com.brekeke.web.Bean.go(Unknown Source)
com.brekeke.web.Bean.go(Unknown Source)
com.brekeke.sipadmin.web.InputLicense.exec(Unknown Source)
com.brekeke.web.Bean.execMain(Unknown Source)
com.brekeke.web.Bean.execute(Unknown Source)
com.brekeke.web.Bean.go(Unknown Source)
com.brekeke.web.Bean.go(Unknown Source)
com.brekeke.sipadmin.web.Login.exec(Unknown Source)
com.brekeke.web.Bean.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:689)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
java.lang.reflect.Method.invoke(Method.java:616)
org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:244)
java.security.AccessController.doPrivileged(Native Method)
javax.security.auth.Subject.doAsPrivileged(Subject.java:537)
org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:276)
org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:162)
-------------
A listing of /var/lib/tomcat5.5/webapps/pbx is:

drwxr-xr-x 4 tomcat55 nogroup 4096 2008-09-15 08:58 common
drwxr-xr-x 3 tomcat55 nogroup 4096 2008-09-15 08:58 doc
-rw-r--r-- 1 tomcat55 nogroup 278 2008-02-19 16:21 index.html
drwxr-xr-x 2 tomcat55 nogroup 4096 2008-09-15 08:58 META-INF
-r-xr-xr-x 1 tomcat55 root 2194494 2008-09-15 09:07 pbx.war
-rw-r--r-- 1 tomcat55 nogroup 417 2008-02-19 16:21 update.txt
drwxr-xr-x 4 tomcat55 nogroup 4096 2008-09-15 08:58 WEB-INF
-------------
What can I do to get Brekeke PBX running?

Thank you for your help,

--Carney Mimms
james
Posts: 501
Joined: Mon Dec 10, 2007 12:56 pm

Post by james »

I know this issue.
I suppose you are using the Ubuntu's pre-installed Tomcat.

For solving the issue, you need to install the latest Tomcat.
http://tomcat.apache.org/

Try it.
User avatar
tagaamo
Posts: 14
Joined: Thu Feb 28, 2008 12:08 am
Location: Philippnes
Contact:

Post by tagaamo »

I also try installing brekeke on ubuntu 8.04 and on debian 4, but it won't run , but on fedora 9 its working fine.... so try on it.
Mike
Posts: 733
Joined: Mon Mar 07, 2005 2:25 pm
Location: Sunny San Mateo
Contact:

Post by Mike »

Hi tagaamo,

Thank you for sharing your experiences.

Ubuntu's pre-installed Tomcat cannot work properly with Brekeke products, it throws "java.lang.NullPointerException".
To solve the problem, Ubutu users need to install the latest version of Tomcat.

Thank you.
Post Reply