After upgrading CVP / Call Studio from 9.0 to 10.5, a built in Database Element error occurs.
Application Error Log:
The error was: A built-in element encountered an exception of type com.audium.server.AudiumException.
There was a problem looking up the JNDI data source '[dbname]'.
The root cause was: javax.naming.NameNotFoundException: Name custom is not bound in this Context
com.audium.server.AudiumException: A built-in element encountered an exception of type com.audium.server.AudiumException.
Are there any configuration modifications required to support the 10.5 upgrade for Database Element functions?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The C:\Cisco\CVP\VXMLServer\Tomcat\conf\context.xml file was reinstalled with the upgrade, so the DB info needed to be added again.
However, after adding the DB info, and restarting VXML services, the issue persists. Any suggestions?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Shawn,
Here is a simple how to doc I did for CVP Database config some time ago.
Review it and see if you are missing anything.
If it is a new installl you need to download and place te JDBC jar files in the correct location.
cisco:uc:cvp:jndi-cvp [Gerard O'Rourke]
Gerry
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Thanks for the help Gerry.
I have the following files in place:
C:\Cisco\CVP\VXMLServer\common\lib\sqljdbc41.jar
C:\Cisco\CVP\VXMLServer\Tomcat\lib\sqljdbc41.jar
C:\Cisco\CVP\VXMLServer\Tomcat\conf\context.xml
(Context.xml is configured as such:)
<Context>
<!-- Default set of monitored resources -->
<WatchedResource>WEB-INF/web.xml</WatchedResource>
<Manager pathname="" />
<Resource
name="jdbc/zipcode"
type="javax.sql.DataSource"
user="********"
password="********"
driverClassName="com.microsoft.sqlserver.jdbc.SQLServerDriver"
maxIdle="2"
maxWait="5000"
username="root"
url="jdbc:sqlserver://ICMDB1:1433;databaseName=Custom"
maxActive="4"
removeAbandoned="true"
removeAbandonedTimeout="5"
logAbandoned="true"
/>
</Context>
It was working up until the upgrade, so it must be a configuration I’m missing.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Has the database server been upgraded?
I notice its called ICMDB, but is it an ICM server etc.?
Anything on the CVP error logs?
I would try a wireshark on the server on port 1433, make a test call to the script which using database and see if anything is trying to get established to the DB.
Whats in the activity & error logs for a CVP app, which uses the database element?
Gerry
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
No DB server upgrade. The DB is on the ICM server.
It is currently working for the DB Lookups that we have configured in some custom code, just not for the built-in element.
CVP Error log is a generic "CVP VXML Server encountered an Application error"
The Application Error Log is posted above in my first post.
The Activity Log just says "element,error".
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Shawn,
The issue is a tomcat / JDBC config issue and not directly related to CVP.
But I don't see where the problem is.
CVP 9 was tomcat 5.5, CVP 10.5 is tomcat 7.
So likely somewhere there is a difference and there is something else you need to do with default install...
But I not sure where. SOrry.
Might be something needed to be added to server.xml file.
Gerry
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Comments
0 comments
Please sign in to leave a comment.