on 01-24-2014 05:14 PM
Graham Whitelam:Hello, I have some custom Java elements which I have developed for CVP 8.5. When the call flow is developed, I copy my element jar files to the java/application/lib folder and the dependencies to the java/util/lib folder of the CVP application.
I deploy the application to the VXML server and the jar file are copied across into the application java folder as described above.
When I place a call into the application one of my elements is executed but it throws a ClassCastException. I also see a further problem with another of my elements which throws a ClassNotFoundException even though the class is in one of the jar files deployed with the application as described above.
I can resolve both of the above issues by copying the jar files from the java/application/lib and java/util/lib folder to the Tomcat/webapps/CVP/WEB-INF/lib folder but this seems an unsatisfactory solution. The whole idea of having the jar files specific to the application was to avoid having them globally accessible to all other applications. Am I missing something here? Any help on clalrifying the purpose of the java/application/lib and java/util/lib folders would be greatly appreciated. Many Thanks. Graham.
Hi Graham,
I am having a similar situation where i am using Hibernate to connect to database. But for some reason when I deploy the Hibernate jars the application doesn't load. I have tried placing jars in all tomcat common lib, CVP common lib, application lib, util lib. Can you suggest any other way to get this working. Any help is appreciated.
I have my hibernate files placed under C:\Cisco\CVP\VXMLServer\Tomcat\common\lib only and it works just fine.
What is the error you get ?
Hemal
I got this resolved. I had to place the jar filesin UTIL lib.
Hi Hemal,
Just wanted to get some feedback on the hibernate in your CVP application. Do you see any performance related issues. I am having few issues when I continuously deploy the application. I am getting a premgen space error. Do you have any traces as such in the environment you are using?
As well are you calling hibernate directly in your CVP or do you have any middle layer that you connect to?
Appreciate your feedback.
Yes, I have seen issues happening with hibernate and CVP. I use hibernate in my PCS app and do not have an issue. What is your JVM setting on vxml server ?
Also are you getting the error in the logs when the application is running or just when you deploy ?
Are you saying that get the error when you deploy multiple times ?
Hemal
This happens when we deploy and update the application few times. The premgen space is going up. The server crashes then as it is overflown. Can you share your JVM setting if you have any to optimize.
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: