02-27-2020 12:01 PM
I am working on a new install of CVP Call Studio and trying to setup the environment correctly.
Need to know what files should be updated in order for the Database element to connect to external database. What files should the JNDI name be inserted?
I have in the Catalina_Home /context.xml, in the Server.xml, and the web.xml but not connecting. Error: cannot find JNDI datasource
Solved! Go to Solution.
02-27-2020 06:39 PM
Modify vxmlserver/tomcat /conf/context.xml and download the jdbc driver jar file from the internet, and put that into vxml server/tomcat/lib.
Restart vxml server.
02-27-2020 06:06 PM
Did you restart the VXML services after making the changes?
02-28-2020 06:32 AM
02-27-2020 06:39 PM
Modify vxmlserver/tomcat /conf/context.xml and download the jdbc driver jar file from the internet, and put that into vxml server/tomcat/lib.
Restart vxml server.
02-28-2020 06:35 AM
02-28-2020 06:55 AM
If using just Call Studio debugger to test the app, then modify context.xml and place the jdbc driver into: c/cisco/callstudio/eclipse/plugins /com.audiumcorp.studio.debug.runtime/CATALINA_HOME/conf and lib directories.
02-28-2020 07:33 AM
I did that: added the database attributes to the context.xml, server.xml and web.xml, and placed the drivers in the correct place. but getting error about not finding JNDI datasource:
context.xml
<Resource name="TELECOM_CC"
auth="Container"
type="javax.sql.Datasource" maxActive="50" minidle="30"
driverClassname="com.miscrosoft.sqlserver.jdbc.SQLServerDriver"
url="jdbc:sqlserver://TeleSTmgr_LSNR.mdco.health-partners.org:1433;databaseName=TELECOM_CC;user=;password;multiSubnetFailover=true"
/>
</Context>*** removed user and password for security***
02-28-2020 07:34 AM
02-28-2020 08:14 AM
what about the server.xml? this is what I have for that:
<Global JNDI resources
<Resource name="jdbc:sqlserver://TeleSTmgr_LSNR.mdco.health-partners.org:1433/TELECOM_CC;user=;password"
auth="Container"
type="javax.sql.DataSource"
description="test Scheduling DB"
factory="driverClassname="com.miscrosoft.sqlserver.jdbc.SQLServerDriver""
pathname="conf/tomcat-users.xml" />
-->
<GlobalNamingResources>
<!-- Editable user database that can also be used by
UserDatabaseRealm to authenticate users
-->
<Resource name="jdbc:sqlserver://TeleSTmgr_LSNR.mdco.health-partners.org:1433/TELECOM_CC;user=;password"
auth="Container"
type="javax.sql.DataSource"
description="test Scheduling DB"
factory="driverClassname="com.miscrosoft.sqlserver.jdbc.SQLServerDriver""
pathname="conf/tomcat-users.xml" />
02-28-2020 08:26 AM
02-28-2020 07:45 AM
In the context.xml file, the attribute called name must begin with jdbc/ so... name="jdbc/TELECOM_CC".
Then in Call Studio, just use the part after the slash (TELECOM_CC)
02-28-2020 08:39 AM
02-28-2020 08:50 AM
1. There may be more information in the error log, please post the error log. CallStudio/eclipse/plugins/com.audiumcorp.studio.debug.runtime/AUDIUM_HOME/applications/appname/logs/errorlog
2. You may have to go and remove the custom info that you added to server.xml
3. You do NOT need to restart Studio, just stop/restart the Debugger when you make the changes
4. What version of Studio are you using? 12.0? 12.5?
I recall that in 11.6 there was a workaround needed to connect to SqlServer from the Debugger.
02-28-2020 08:58 AM
12.0
02-28-2020 09:03 AM
that error log is not writing. folder is empty
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide