on 01-24-2014 01:41 PM
It is most likely a classpath issue. Is this class part of jar file. If so where did you put the jar file ? The JVM is not able to find the class at runtime.
Hemal
________________________________
From: Cisco Developer Community Forums [cdicuser@developer.cisco.com]
Sent: Saturday, January 21, 2012 12:10 PM
To: cdicuser@developer.cisco.com
Subject: New Message from Vinod Adusumilli in Customer Voice Portal (CVP) - General Discussion - All Versions: RE: New Message from Vinod Adusumilli in Customer Voice Portal (CVP) - Gene
Vinod Adusumilli has created a new message in the forum "General Discussion - All Versions":
--------------------------------------------------------------
new error now,not sure if i went forward or backward but i get below error now
Root Cause: java.lang.NoClassDefFoundError: com/audium/server/voiceElement/DecisionElementBase
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1346)
at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at com.audium.server.controller.AudiumServerConfiguration.loadLocalClasses(AudiumServerConfiguration.java:1403)
at com.audium.server.controller.AudiumServerConfiguration.<init>(AudiumServerConfiguration.java:206)
at com.audium.server.controller.AudiumServerConfiguration.initialize(AudiumServerConfiguration.java:843)
at com.audium.server.controller.AudiumServerConfiguration.initializeAll(AudiumServerConfiguration.java:739)
at com.audium.server.controller.ControllerInitializer.<init>(Controller.java:3429)
at com.audium.server.controller.ControllerInitializer.doInitialization(Controller.java:3440)
at com.audium.server.controller.Controller.init(Controller.java:370)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1139)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:966)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3956)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4230)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:920)
at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:883)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1022)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:736)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
at org.apache.catalina.core.StandardService.start(StandardService.java:448)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:700)
at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
--
To respond to this post, please click the following link:
<http://developer.cisco.com/web/cvp/forums/-/message_boards/view_message/5046353>
or simply reply to this email.
I have written an Action Element Class that creates objects out of a custom class and does some DB dip, and updates session variables.
But when I run the call studio app, I get an error in the custom element that says - xyz is not a valid Action Element Class.
But when I had exported the code to a jar file, it did not give any errors.
In the code, I am setting the element name, description, folder name of the custom element. Then I define the settings of the element, create dependency for linking the method calls. Then in doAction method, I create an object of the custom class and then call the method that is ndescribed in the custom class.
Has anybody ever encountered anything similar to this? If so, what could be the possible reason? Am I missing anything basic?
If you are running in debug mode in Call Studio, make sure to copy the classes/jar to C:\Cisco\CallStudio\eclipse\plugins\com.audiumcorp.studio.debug.runtime_x.y.y\AUDIUM_HOME\common\{classes|lib}
And deploy it to VXML Server too, at this location: C:\Cisco\CVP\VXMLServer\common\{classes|lib}
I have written an Action Element Class that creates objects out of a custom class and does some DB dip, and updates session variables.
But when I run the call studio app, I get an error in the custom element that says - xyz is not a valid Action Element Class.
But when I had exported the code to a jar file, it did not give any errors.
In the code, I am setting the element name, description, folder name of the custom element. Then I define the settings of the element, create dependency for linking the method calls. Then in doAction method, I create an object of the custom class and then call the method that is ndescribed in the custom class.
Has anybody ever encountered anything similar to this? If so, what could be the possible reason? Am I missing anything basic?
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: