Skip to main content

Call Center Reports Issue with Java

Posted by netriplex on Thu, 01/25/2018

With the latest version of thirdlane and latest general server security updates, the Call Center reports no longer function (nor do any of the call center options in PBX Manager). This is a fairly critical feature for a handful of my customers and I am hoping that this can be addressed ASAP.

The error I am getting is:

Could not initialize class com.mchange.v2.c3p0.impl.C3P0ImplUtils

OK

Hide details
Server returned error code = -1
ccProcessRequest:[Could not initialize class com.mchange.v2.c3p0.impl.C3P0ImplUtils]java.lang.NoClassDefFoundError: Could not initialize class com.mchange.v2.c3p0.impl.C3P0ImplUtils at com.mchange.v2.c3p0.impl.PoolBackedDataSourceBase.(PoolBackedDataSou rceBase.java:227) at com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource.(AbstractPoolB ackedDataSource.java:62) at com.mchange.v2.c3p0.ComboPooledDataSource.(ComboPooledDataSource.jav a:109) at com.mchange.v2.c3p0.ComboPooledDataSource.(ComboPooledDataSource.jav a:105) at com.thirdlane.pbx.cc.server.jsonservice.JdbcHelperFactory.getNewMysqlJdbcH elper(JdbcHelperFactory.java:161) at com.thirdlane.pbx.cc.server.jsonservice.JdbcHelperFactory.getJdbcHelper(Jd bcHelperFactory.java:136) at com.thirdlane.pbx.cc.server.jsonservice.JdbcHelperFactory.getBackendJdbcHe lper(JdbcHelperFactory.java:39) at com.thirdlane.pbx.cc.server.jsonservice.RequestProcessor.ccProcessRequestP arameters(RequestProcessor.java:341) at com.thirdlane.pbx.cc.server.jsonservice.RequestProcessor.processRequest(Re questProcessor.java:275) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java: 62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorIm pl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at InlineJavaUserClassLink.invoke(InlineJavaUserClassLink.java:11) at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorIm pl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.perl.inline.java.InlineJavaUserClassLoader.invoke_via_link(InlineJavaU serClassLoader.java:86) at org.perl.inline.java.InlineJavaUserClassLoader.invoke(InlineJavaUserClassL oader.java:131) at org.perl.inline.java.InlineJavaProtocol.CallJavaMethod(InlineJavaProtocol. java:283) at org.perl.inline.java.InlineJavaProtocol.Do(InlineJavaProtocol.java:41) at org.perl.inline.java.InlineJavaServer.ProcessCommand(InlineJavaServer.java :153) at org.perl.inline.java.InlineJavaServer.ProcessCommand(InlineJavaServer.java :142) at org.perl.inline.java.InlineJavaServerThread.run(InlineJavaServerThread.jav a:51)
Could not initialize class com.mchange.v2.c3p0.impl.C3P0ImplUtils


Submitted by netriplex on Thu, 01/25/2018 Permalink

I have also attempted downgrading java openjdk and I am still getting the same error.

Submitted by volodya on Thu, 01/25/2018 Permalink

Hello,

We were not able to replicate this problem in our test environment with latest available JAVA.
# yum list java-1.8.0-openjdk*
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.tobias-wollmann.com
* extras: mirror.tobias-wollmann.com
* thirdlane: mirror-eu.thirdlane.com
* updates: mirror.fra10.de.leaseweb.net
Installed Packages
java-1.8.0-openjdk.x86_64 1:1.8.0.161-3.b14.el6_9 @updates
java-1.8.0-openjdk-devel.x86_64 1:1.8.0.161-3.b14.el6_9 @updates
java-1.8.0-openjdk-headless.x86_64 1:1.8.0.161-3.b14.el6_9 @updates

Can you please clarify if you have or not thirdparty repositories or software?

Submitted by matthewmalk248 on Thu, 01/25/2018 Permalink

Just tested on our box after upgrading and can still run all call center settings and run reports and call center metrics. Here's our Java setup..

Installed Packages
java-1.8.0-openjdk.x86_64 1:1.8.0.161-3.b14.el6_9 @updates
java-1.8.0-openjdk-devel.x86_64 1:1.8.0.161-3.b14.el6_9 @updates
java-1.8.0-openjdk-headless.x86_64 1:1.8.0.161-3.b14.el6_9 @updates