1. Brekeke Product Name and version:
PBX 2.0.7.2
2. Java version:
1,6
3. OS type and the version:
Windows XP Pro
4. UA (phone), gateway or other hardware/software involved:
5. Select your network pattern from http://www.brekeke-sip.com/bbs/network/ ... terns.html :
8
6. Your problem:
I've been successfully running PBX with a trial license for 6 weeks and it just stopped working. When I open the URL for the admin page, I get:
HTTP Status 500 -
--------------------------------------------------------------------------------
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
java.lang.NullPointerException
com.brekeke.pbxadmin.PbxAdminBase.getSessionUserInfo(Unknown Source)
com.brekeke.pbxadmin.PbxAdminBase.updateSessionLang(Unknown Source)
com.brekeke.pbxadmin.PbxAdminBase.init(Unknown Source)
com.brekeke.pbxadmin.web.PbxLogin.init(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)
note The full stack trace of the root cause is available in the Apache Tomcat/5.5.12 logs.
I've un-installed and re-installed PBX and still get the same result.
I've looked into all of the log files generated, and found the following error in the file C:\ProgramFiles\Brekeke\pbx\webapps\pbx\WEB-INF\work\logs:
2007-06-01 17:00:45,890 [Thread-1] ERROR (?:?) -
com.brekeke.net.sip.sv.registrar.RegisteredDBCanNotOpenException: JDBC Driver load error .org.hsqldb.jdbcDriver; prop={user=sa, password=, enabled=off, class=com.brekeke.net.sip.sv.registrar.plugins.RegisteredSqlDB}
at com.brekeke.net.sip.sv.registrar.plugins.RegisteredSqlDB.getConnection(RegisteredSqlDB.java:189)
at com.brekeke.net.sip.sv.registrar.plugins.RegisteredSqlDB.initConnection(RegisteredSqlDB.java:175)
at com.brekeke.net.sip.sv.registrar.plugins.RegisteredSqlDB.open(RegisteredSqlDB.java:73)
at com.brekeke.net.sip.sv.registrar.plugins.RegisteredSqlDB.<init>(RegisteredSqlDB.java:51)
at com.brekeke.sipadmin.SipAdminBase.initDatabase(Unknown Source)
at com.brekeke.sipadmin.SipAdminBase.initApp(Unknown Source)
at com.brekeke.pbxadmin.web.PbxInitializer.initialize(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.brekeke.web.GateServlet.init(Unknown Source)
at javax.servlet.GenericServlet.init(GenericServlet.java:211)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1091)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:925)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3880)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4141)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:804)
at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:693)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:472)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1118)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1020)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
at org.apache.catalina.core.StandardService.start(StandardService.java:450)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:680)
at org.apache.catalina.startup.Catalina.start(Catalina.java:536)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:275)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
2007-06-01 17:06:21,593 [Thread-1] ERROR (?:?) -
java.io.IOException: The process cannot access the file because another process has locked a portion of the file
at java.io.FileInputStream.readBytes(Native Method)
at java.io.FileInputStream.read(Unknown Source)
at com.brekeke.util.FileUtil.copy(FileUtil.java:120)
at com.brekeke.util.FileUtil.copyFolderOrFile(FileUtil.java:68)
at com.brekeke.util.FileUtil.copyFolderOrFile(FileUtil.java:65)
at com.brekeke.sipadmin.SipAdminBase.startHsqlDatabase(Unknown Source)
at com.brekeke.sipadmin.SipAdminBase.runHsqlDatabase(Unknown Source)
at com.brekeke.sipadmin.SipAdminBase.initDatabase(Unknown Source)
at com.brekeke.sipadmin.SipAdminBase.initApp(Unknown Source)
at com.brekeke.pbxadmin.web.PbxInitializer.initialize(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.brekeke.web.GateServlet.init(Unknown Source)
at javax.servlet.GenericServlet.init(GenericServlet.java:211)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1091)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:925)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3880)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4141)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:804)
at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:693)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:472)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1118)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1020)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
at org.apache.catalina.core.StandardService.start(StandardService.java:450)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:680)
at org.apache.catalina.startup.Catalina.start(Catalina.java:536)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:275)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Can anyone help me with this ?
Thanks,
Bob A.
AdminTool Won't Come Up
Moderator: Brekeke Support Team
-
- Posts: 5
- Joined: Sat Apr 07, 2007 10:19 am
- Location: Charlotte NC
-
- Posts: 528
- Joined: Tue Sep 20, 2005 9:10 am
- Location: Tannersville, Pennsylvania
-
- Posts: 5
- Joined: Sat Apr 07, 2007 10:19 am
- Location: Charlotte NC
I have been using Java 6 since before I first loaded PBX.
From the error in log.log, it looks like it's having a startup problem possibly reading it's "database":
2007-06-01 17:00:45,890 [Thread-1] ERROR (?:?) -
com.brekeke.net.sip.sv.registrar.RegisteredDBCanNotOpenException: JDBC Driver load error .org.hsqldb.jdbcDriver; prop={user=sa, password=, enabled=off, class=com.brekeke.net.sip.sv.registrar.plugins.RegisteredSqlDB}
at com.brekeke.net.sip.sv.registrar.plugins.RegisteredSqlDB.getConnection(RegisteredSqlDB.java:189)
at com.brekeke.net.sip.sv.registrar.plugins.RegisteredSqlDB.initConnection(RegisteredSqlDB.java:175)
at com.brekeke.net.sip.sv.registrar.plugins.RegisteredSqlDB.open(RegisteredSqlDB.java:73)
at com.brekeke.net.sip.sv.registrar.plugins.RegisteredSqlDB.<init>(RegisteredSqlDB.java:51)
at com.brekeke.sipadmin.SipAdminBase.initDatabase(Unknown Source)
at com.brekeke.sipadmin.SipAdminBase.initApp(Unknown Source)
at com.brekeke.pbxadmin.web.PbxInitializer.initialize(Unknown Source)
Further down in the error stream is this:
2007-06-01 17:06:21,593 [Thread-1] ERROR (?:?) -
java.io.IOException: The process cannot access the file because another process has locked a portion of the file
When I uninstalled and re-installed, I removed the directory (pbx) so there shouldn't have been any residual file problems...
Bob A.
From the error in log.log, it looks like it's having a startup problem possibly reading it's "database":
2007-06-01 17:00:45,890 [Thread-1] ERROR (?:?) -
com.brekeke.net.sip.sv.registrar.RegisteredDBCanNotOpenException: JDBC Driver load error .org.hsqldb.jdbcDriver; prop={user=sa, password=, enabled=off, class=com.brekeke.net.sip.sv.registrar.plugins.RegisteredSqlDB}
at com.brekeke.net.sip.sv.registrar.plugins.RegisteredSqlDB.getConnection(RegisteredSqlDB.java:189)
at com.brekeke.net.sip.sv.registrar.plugins.RegisteredSqlDB.initConnection(RegisteredSqlDB.java:175)
at com.brekeke.net.sip.sv.registrar.plugins.RegisteredSqlDB.open(RegisteredSqlDB.java:73)
at com.brekeke.net.sip.sv.registrar.plugins.RegisteredSqlDB.<init>(RegisteredSqlDB.java:51)
at com.brekeke.sipadmin.SipAdminBase.initDatabase(Unknown Source)
at com.brekeke.sipadmin.SipAdminBase.initApp(Unknown Source)
at com.brekeke.pbxadmin.web.PbxInitializer.initialize(Unknown Source)
Further down in the error stream is this:
2007-06-01 17:06:21,593 [Thread-1] ERROR (?:?) -
java.io.IOException: The process cannot access the file because another process has locked a portion of the file
When I uninstalled and re-installed, I removed the directory (pbx) so there shouldn't have been any residual file problems...
Bob A.
-
- Posts: 528
- Joined: Tue Sep 20, 2005 9:10 am
- Location: Tannersville, Pennsylvania
-
- Posts: 5
- Joined: Sat Apr 07, 2007 10:19 am
- Location: Charlotte NC
-
- Posts: 528
- Joined: Tue Sep 20, 2005 9:10 am
- Location: Tannersville, Pennsylvania
Your welcome.
I was able to diagnose your problem, especially when you said you did a reinstall because in the 2 1/2 years that I have been involved with Brekeke I have found the software to be very reliable. Brekeke has always put quality before sales, marketing and even features. When your reputation rests upon the pbx working then Brekeke is the only way to go.
Nick
I was able to diagnose your problem, especially when you said you did a reinstall because in the 2 1/2 years that I have been involved with Brekeke I have found the software to be very reliable. Brekeke has always put quality before sales, marketing and even features. When your reputation rests upon the pbx working then Brekeke is the only way to go.
Nick