cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
922
Views
5
Helpful
3
Replies
Highlighted
Beginner

CVP 10.5 loading some classes problem

I faced a problem to deploy the following jars with my application on CVP 10.5 server {

oracle drivers ( odbc14 , odbc5 ,odbc6 or odbc7)

Apache Commons DBCP ( 2.0.1 , 1.4 , 1.3  or 1.2)

com.ibm.mq.jar}

and i get the following log on global error logger {

12/03/2014 17:46:23.058, SERVER ERROR: There was an error attempting to deploy the application. The error was: com.audium.server.

AudiumException: There was a problem loading classes local to the application IBQ.
12/03/2014 17:46:23.136, SERVER ERROR: An error occurred while loading application 'IBQ'.
com.audium.server.AudiumException: There was a problem loading classes local to the application IBQ.
    at com.audium.server.controller.AudiumServerConfiguration.loadLocalClasses(AudiumServerConfiguration.java:1680)
    at com.audium.server.controller.AudiumServerConfiguration.<init>(AudiumServerConfiguration.java:213)
    at com.audium.server.controller.AudiumServerConfiguration.initialize(AudiumServerConfiguration.java:1051)
    at com.audium.server.controller.AudiumServerConfiguration.initializeAll(AudiumServerConfiguration.java:947)
    at com.audium.server.controller.ControllerInitializer.<init>(Controller.java:5669)
    at com.audium.server.controller.ControllerInitializer.doInitialization(Controller.java:5687)
    at com.audium.server.controller.Controller.init(Controller.java:449)
    at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1266)
    at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1185)
    at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1080)
    at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5015)
    at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5302)
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
    at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:897)
    at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:873)
    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
    at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:958)
    at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1599)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
    at java.util.concurrent.FutureTask.run(FutureTask.java:262)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    at java.lang.Thread.run(Thread.java:744)
Caused by: java.lang.NoClassDefFoundError: javax/resource/spi/ConnectionManager
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
    at java.net.URLClassLoader.access$100(URLClassLoader.java:71)

    at java.net.URLClassLoader$1.run(

URLClassLoader.java:361)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
    at com.audium.server.controller.AudiumServerConfiguration.loadLocalClasses(AudiumServerConfiguration.java:1673)
    ... 22 more
Caused by: java.lang.ClassNotFoundException: javax.resource.spi.ConnectionManager
    at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
    ... 34 more}

and the admin deployer disply :

and admin status is :

Kindly any one can help please join on this disscussion

3 REPLIES 3
Cisco Employee

Re: CVP 10.5 loading some classes problem

I've moved this forum post to the Customer Voice Portal forum. Please post any CVP API questions in the Customer Voice Portal sub-space.

Rising star

Re: CVP 10.5 loading some classes problem

Not all jar files can be deployed within an app due to the order that tomcat loads classes.

You may have to put the non-cvp jar files  (like sql jar files) into VXMLServer/lib or into VXMLServer/Tomcat/lib

Enthusiast

Re: CVP 10.5 loading some classes problem

This advice was still helpful in 2018!
Be careful though, your jars can create conflicting versions on the classpath. I ran into an issue when putting a specific version of the httpclient.jar in my tomcat dir. Eventually, I had to recompile my code with the jar version that was already there to make it work.

CreatePlease to create content
Content for Community-Ad
August's Community Spotlight Awards