« Back to General Discussion

Copy new library jar file to /VXML Server/common/lib issue: can not load

Combination View Flat View Tree View
Threads [ Previous | Next ]
Dear all,
 
I want to copy a Oracle driver to CVP VXML server. I try to copy to /VXML/common/lib but when run update the application. I got this error.
 
06/17/2009 17:58:25, SERVER ERROR: There was a problem loading classes
from CVP_HOME\VXMLServer/common. The error was: There was a problem
loading classes from CVP_HOME\VXMLServer/common. The root cause was:
java.lang.NoClassDefFoundError: javax/resource/spi/ConnectionManager

 
I tried to run the updateCommonClasses, restart the vmxl service and also the vxml server but I still can not load this library. I got the same error when I try to run the updateapp.bat on admin folder.
 
Please help me on this, are there any setting in some where so that VXML server can load my new library?
 
Thank you all,
 
Thanh

 


Hi Thanh,

javax.resource.spi.ConnectionManager is a referenced class from oracle jdbc driver jar and the server finds this class to be  missing when loading the jars. The driver is trying to bind to a JavaConnector. Please refer to the Oracle dirver documentation for the correct jar.

I believe you are missing the connector.jar, you will be able to find it in either Sunjava website or the Oracle site. Please download the compatible version and place the same in the common/lib and run the update, you should be able to overcome the error.

Hope this helps,
Ranjana Narayan.


 
Thanks Ranjhana for indication,
 
But I can't find any connector.jar file anywhere.
Also, it's wiered that when i run the java program without CVP context, it works fine.
But when I place ojdbc14.jar in common/lib, VXML classloader gives error on javax.resource.spi.ConnectionManager.
 
Can you please indicate where can i download connector.jar? I have been searching for this on Oracle site and googling, but couldn't find it.
 
 
Thanks Ranjhana,
 
Jawad

Dear Jawad / Doan, 
I was also facing this issue earlier. Simply moving ojdbc14.jar file from common/lib to tomcat/lib and it resolve this issue emoticon