cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1241
Views
0
Helpful
6
Replies

Can't create a new Datasource from the Appadmin IPCC 4.5

diegorgarces
Level 1
Level 1

Hi all:

I have the following environment:

IPCC 4.5 Premium using Oracle client 10g.

Test connection between ODBC Datasource administration and data source its working. (From Control Panel, Administratives Tools, ODBC)

When i try create a new datasource from Enterprise Database Subsystem Configuration Option (IPCC admin page) i received this error:

Config Error occured creating the DataSource

What can i do to solve this issue?

BR

6 Replies 6

Walter Solano
Level 7
Level 7
Could You confirmed if you have version R2 or XE?.


Please verify the following on the drivers installed for the SQL server.

*SQL client drivers from Microsoft (causes problem with connections),
should not be installed.
*SQL client drivers from Oracle (resolves the problem with the above problem),
must be installed .

You may try doing below:



*Oracle 10g comes with a media and it should have the clent part to be installed on
CRS server, which I assume it has been installed. DNS name , UserID and password
needs to be created during the installation.

*On the  ' start ' icon Oracle Should be listed as part of the 'programs'.

*When you click on it you should see a name with " Plus " as part of the name 
" Oracle Plus " or " ODBC Plus "

* This application is just to verify that DSN name , User ID and Password will
successfully makes the connection to the database.

* You will see the confirmation that the connection successfully made to the database

* OR Failure message will POP up

HTH
Please rate this post if was helpful

Walter Solano

Hi Walter,

When you talk about: "Could You confirmed if you have version R2 or XE?." what do you want to know exaclty?

- What can i do to chek if SQL client drivers from Microsoft  are installed?

- SQL client for Oracle is installed

In my Oracle icon i have "SQL Plus" and when i try to connect to database makes the connection

Thank you

Pablo Leiva
Level 1
Level 1

Hi!

From Control Center, are there any services showing in partial or out of service status?

Do you have any other datastore already added in Enterprise Database Subsystem Configuration?

Please open CET tool and go to com.cisco.crs.edbs.DataSourceConfig. Are there any entries there for the existing datastores? Please send us a screenshot.

You might need to check traces to see additional information on why it fails. Please add LIC_DATABASE & DB_MGR debugging level for MADM and also including SS_DB for MIVR. Please try adding the datastore one more time and gather the traces just after that.

Pablo

Hi Pablo: 1. Yes, server have services showing in partial status. I restart services associates with CRS Engine and the following services are stop still: Only in Subsystem Manager: database Subsystem email subsystem MRCP ARS subsystem MRCP TTS Subsystem I know this is bad, Database subsystem start when i config any database. Are you agree? 2. I don´t have another database in enterprise database subsystem Manager, you can see file: captura.jpg 3. I add debugging for MADM and MIVR. This is result: IN MADM 88001: Nov 09 16:59:06.532 GMT-400 %MADM-ADM_CFG-7-UNK:EDBSController.writeDatasource() - Starting........................ 88002: Nov 09 16:59:06.532 GMT-400 %MADM-ADM_CFG-7-UNK:EDBSController.writeDatasource() - datasourceOld:,datasource:test,userName:acsel,maxConnections:10 88003: Nov 09 16:59:06.532 GMT-400 %MADM-ADM_CFG-7-UNK:EDBSController.writeDatasource() - ConfigNotFoundException occured 88004: Nov 09 16:59:06.579 GMT-400 %MADM-ADM_CFG-7-UNK:EDBSController.writeDatasource() - DSError:Config Error occured creating the DataSource 88005: Nov 09 16:59:06.579 GMT-400 %MADM-ADM_CFG-7-UNK:AppAdminUtil.attemptClusterMutex() - Thread :MADM_ADM_CFG_CLUSTERMUTEX-73-0-ADM_CFG_CLUSTERMUTEX renewing the cluster mutex. 88006: Nov 09 16:59:06.626 GMT-400 %MADM-ALARM_MGR-3-UNK:MADM alarmwriter queue is full some alarms will be dropped 88007: Nov 09 16:59:06.626 GMT-400 %MADM-LIB_CLUSTER_CFG-6-MUTEX_SUCCESSFULLY_RELEASED:Mutex successfully released: owner=$$##$$%%--1289336346501 CRS Administration, node=1, id=47,usage=Cluster Mutex acquired by EDBS Update.,userInfo=crsadministrator 88008: Nov 09 16:59:06.626 GMT-400 %MADM-ADM_CFG-7-UNK:AppAdminUtil.releaseClusterMutex() - mutex released. 88009: Nov 09 16:59:06.626 GMT-400 %MADM-ADM_CFG-7-UNK:AppAdminUtil.releaseClusterMutex() - wait thread :MADM_ADM_CFG_CLUSTERMUTEX-73-0-ADM_CFG_CLUSTERMUTEX interrupted. 88010: Nov 09 16:59:06.626 GMT-400 %MADM-ADM_CFG-7-UNK:AppAdminServlet.processService().. Process done... 88011: Nov 09 16:59:06.626 GMT-400 %MADM-ADM_CFG-7-UNK:AppAdminServlet.Init JSP_PATH:C:\Program Files\wfavvid\tomcat_appadmin\webapps\appadmin\jsp 88012: Nov 09 16:59:06.626 GMT-400 %MADM-ADM_CFG-7-UNK:AppAdminServlet.fwd2JSP() - nextPage:datasource_configure.jsp,locale:en_US,jspPath:C:\Program Files\wfavvid\tomcat_appadmin\webapps\appadmin\jsp 88013: Nov 09 16:59:06.626 GMT-400 %MADM-ADM_CFG-7-UNK:Name:datasource_configure,locale:en_US,jspPath:C:\Program Files\wfavvid\tomcat_appadmin\webapps\appadmin\jsp 88014: Nov 09 16:59:06.626 GMT-400 %MADM-ALARM_MGR-3-UNK:MADM alarmwriter queue is full some alarms will be dropped 88015: Nov 09 16:59:06.626 GMT-400 %MADM-LIB_CLUSTER_CFG-3-CONFIG_ERROR:Error while accessing LockConfig: owner=$$##$$%%--1289336346501 CRS Administration, node=1, id=47,usage=Cluster Mutex acquired by EDBS Update.,userInfo=crsadministrator,Exception=com.cisco.config.ConfigMergeException: Base record could not be found 88016: Nov 09 16:59:06.626 GMT-400 %MADM-LIB_CLUSTER_CFG-3-EXCEPTION:com.cisco.config.ConfigMergeException: Base record could not be found 88017: Nov 09 16:59:06.626 GMT-400 %MADM-LIB_CLUSTER_CFG-3-EXCEPTION:     at com.cisco.config.impl.xmlaccessor.XMLAccessor.modify(XMLAccessor.java:409) 88018: Nov 09 16:59:06.626 GMT-400 %MADM-LIB_CLUSTER_CFG-3-EXCEPTION:     at com.cisco.config.impl.xmlaccessor.XMLAccessor.store(XMLAccessor.java:449) 88019: Nov 09 16:59:06.626 GMT-400 %MADM-LIB_CLUSTER_CFG-3-EXCEPTION:     at com.cisco.config.impl.ConfigStubImpl.store(ConfigStubImpl.java:439) 88020: Nov 09 16:59:06.626 GMT-400 %MADM-LIB_CLUSTER_CFG-3-EXCEPTION:     at com.cisco.config.Config.store(Config.java:1878) 88021: Nov 09 16:59:06.626 GMT-400 %MADM-LIB_CLUSTER_CFG-3-EXCEPTION:     at com.cisco.crs.cluster.config.ClusterMutex.renew(ClusterMutex.java:207) 88022: Nov 09 16:59:06.626 GMT-400 %MADM-LIB_CLUSTER_CFG-3-EXCEPTION:     at com.cisco.appadmin.util.AppAdminUtil$1.run(AppAdminUtil.java:1418) 88023: Nov 09 16:59:06.626 GMT-400 %MADM-LIB_CLUSTER_CFG-3-EXCEPTION:     at com.cisco.executor.impl.ExecutorStubImpl$RequestImpl.runCommand(ExecutorStubImpl.java:690) 88024: Nov 09 16:59:06.626 GMT-400 %MADM-LIB_CLUSTER_CFG-3-EXCEPTION:     at com.cisco.executor.impl.ExecutorStubImpl$RequestImpl.run(ExecutorStubImpl.java:486) 88025: Nov 09 16:59:06.626 GMT-400 %MADM-LIB_CLUSTER_CFG-3-EXCEPTION:     at com.cisco.executor.impl.ExecutorStubImpl$RequestImpl.run(ExecutorStubImpl.java:762) 88026: Nov 09 16:59:06.641 GMT-400 %MADM-LIB_CLUSTER_CFG-3-EXCEPTION:     at EDU.oswego.cs.dl.util.concurrent.ClockDaemon$RunLoop.run(ClockDaemon.java:630) 88027: Nov 09 16:59:06.641 GMT-400 %MADM-LIB_CLUSTER_CFG-3-EXCEPTION:     at com.cisco.util.ThreadPoolFactory$ThreadImpl.run(ThreadPoolFactory.java:777) 88028: Nov 09 16:59:06.641 GMT-400 %MADM-ADM_CFG-7-UNK:AppAdminServlet.fwd2JSP() - path:/jsp/protected/datasource_configure.jsp 88029: Nov 09 16:59:06.657 GMT-400 %MADM-ADM_CFG-7-UNK:inside controller.hasDatasourceErrorOccurred() 88030: Nov 09 16:59:06.657 GMT-400 %MADM-ADM_CFG-7-UNK:HelpHandler.getTag() - already cached. 88031: Nov 09 16:59:06.657 GMT-400 %MADM-ADM_CFG-7-UNK:HelpHandler.getTag() - tagname:DatabaseSS_Cfg, tagValue:database_config.html 88032: Nov 09 16:59:06.657 GMT-400 %MADM-ADM_CFG-7-UNK:The path is :C:\PROGRA~1\wfavvid 88033: Nov 09 16:59:06.657 GMT-400 %MADM-ADM_CFG-7-UNK:loadFile is :C:\PROGRA~1\wfavvid\AppAdminMenu.xml 88034: Nov 09 16:59:06.673 GMT-400 %MADM-ADM_CFG-7-UNK:The path fn is :C:\PROGRA~1\wfavvid 88035: Nov 09 16:59:06.673 GMT-400 %MADM-ADM_CFG-7-UNK:loadFile fn is :C:\PROGRA~1\wfavvid\CustomMenu.xml 88036: Nov 09 16:59:06.673 GMT-400 %MADM-ADM_CFG-7-UNK:HelpHandler.findHelpFile helpFileName:index.html,locale:en_US,helpPath:C:\Program Files\wfavvid\tomcat_appadmin\webapps\appadmin\help 88037: Nov 09 16:59:06.673 GMT-400 %MADM-ADM_CFG-7-UNK:HelpHandler.findHelpFile searchPath:C:\Program Files\wfavvid\tomcat_appadmin\webapps\appadmin\help\en_US\appadmin\help\output 88038: Nov 09 16:59:06.688 GMT-400 %MADM-ADM_CFG-7-UNK:HelpHandler.findHelpFile file:C:\Program Files\wfavvid\tomcat_appadmin\webapps\appadmin\help\default\appadmin\help\output\index.html 88039: Nov 09 16:59:06.688 GMT-400 %MADM-ADM_CFG-7-UNK:HelpHandler.findHelpFile file.getPath():C:\Program Files\wfavvid\tomcat_appadmin\webapps\appadmin\help\default\appadmin\help\output\index.html 88040: Nov 09 16:59:06.688 GMT-400 %MADM-ADM_CFG-7-UNK:HelpHandler.findHelpFile relativePath:/appadmin/help/default/appadmin/help/output/index.html 88041: Nov 09 16:59:06.688 GMT-400 %MADM-ADM_CFG-7-UNK:HelpHandler.findHelpFile helpFileName:database_config.html,locale:en_US,helpPath:C:\Program Files\wfavvid\tomcat_appadmin\webapps\appadmin\help 88042: Nov 09 16:59:06.688 GMT-400 %MADM-ADM_CFG-7-UNK:HelpHandler.findHelpFile searchPath:C:\Program Files\wfavvid\tomcat_appadmin\webapps\appadmin\help\en_US\appadmin\help\output 88043: Nov 09 16:59:06.704 GMT-400 %MADM-ADM_CFG-7-UNK:HelpHandler.findHelpFile file:C:\Program Files\wfavvid\tomcat_appadmin\webapps\appadmin\help\default\appadmin\help\output\database_config.html 88044: Nov 09 16:59:06.704 GMT-400 %MADM-ADM_CFG-7-UNK:HelpHandler.findHelpFile file.getPath():C:\Program Files\wfavvid\tomcat_appadmin\webapps\appadmin\help\default\appadmin\help\output\database_config.html 88045: Nov 09 16:59:06.704 GMT-400 %MADM-ADM_CFG-7-UNK:HelpHandler.findHelpFile relativePath:/appadmin/help/default/appadmin/help/output/database_config.html 88046: Nov 09 16:59:07.391 GMT-400 %MADM-ALARM_MGR-3-UNK:MADM no connection to alarm service 88047: Nov 09 16:59:34.626 GMT-400 %MADM-SOCKET_MGR-7-SOCKET_DISPOSED:Undefined mnemonic 'SOCKET_DISPOSED': IN MIVR 1766977: Nov 09 16:59:04.641 GMT-400 %MIVR-ICD_CTI-7-UNK:MsgHandler : Sent : { QUERY_AGENT_QUEUE_STATISTICS_CONF to Socket[addr=192.168.8.112,port=4325,localport=42027]  } 1766978: Nov 09 16:59:08.204 GMT-400 %MIVR-ICD_CTI-7-UNK:Received message QUERY_QUEUE_STATISTICS_REQ Message dump, excluding msg header (Length = 10 bytes): 0 d d e2 > 4 0 0 0 1 1766979: Nov 09 16:59:08.204 GMT-400 %MIVR-ICD_CTI-7-UNK:ClientConnMgr: Processing msg on socket:Socket[addr=192.168.1.20,port=61518,localport=42027] Msg is {length=10 type=QUERY_QUEUE_STATISTICS_REQ,invokeId=877794 SkillGroupNum=1 } 1766980: Nov 09 16:59:08.204 GMT-400 %MIVR-SS_RM-7-UNK:Processing msg: class com.cisco.wf.subsystems.rmcm.msgs.CTIQueryQueueStatisticsReqMsg Rsrc: Req.ID:877794 1766981: Nov 09 16:59:08.204 GMT-400 %MIVR-ICD_CTI-7-UNK:OutboundMsgProcessor: got message: { QUERY_QUEUE_STATISTICS_CONF } 1766982: Nov 09 16:59:08.204 GMT-400 %MIVR-ICD_CTI-7-UNK:OutboundMessageprocessor : sending msg : { length=-1 type=QUERY_QUEUE_STATISTICS_CONF,invokeId=877794 SkillGroupNum=1 loggedInAgents=2 inSessionAgents=0 availableAgents=1 unAvailableAgents=1 inWorkAgents=0 selectedAgents=0 callsInPriorityQueue1=0 callsInPriorityQueue2=0 callsInPriorityQueue3=0 callsInPriorityQueue4=0 callsInPriorityQueue5=0 callsInPriorityQueue6=0 callsInPriorityQueue7=0 callsInPriorityQueue8=0 callsInPriorityQueue9=0 callsInPriorityQueue10=0 startTime=Tue Nov 09 00:00:00 GMT-04:00 2010 endTime=Tue Nov 09 16:59:08 GMT-04:00 2010 totalCall=256 oldestCallInQueue =0 handledCallsToday=169 callsAbandoned=87 callsDequeued=0 averageTalkDuration=142347 averageWaitDuration=137969 longestTalkDuration=1012078 longestWaitDuration=1389937 to socket: Socket[addr=192.168.1.20,port=61518,localport=42027] } 1766983: Nov 09 16:59:08.204 GMT-400 %MIVR-ICD_CTI-7-UNK:MsgHandler : Sent : { QUERY_QUEUE_STATISTICS_CONF to Socket[addr=192.168.1.20,port=61518,localport=42027]  } 1766984: Nov 09 16:59:08.219 GMT-400 %MIVR-ICD_CTI-7-UNK:Received message QUERY_QUEUE_STATISTICS_REQ Message dump, excluding msg header (Length = 10 bytes): 0 d d e3 > 4 0 0 0 2 1766985: Nov 09 16:59:08.219 GMT-400 %MIVR-ICD_CTI-7-UNK:ClientConnMgr: Processing msg on socket:Socket[addr=192.168.1.20,port=61518,localport=42027] Msg is {length=10 type=QUERY_QUEUE_STATISTICS_REQ,invokeId=877795 SkillGroupNum=2 } 1766986: Nov 09 16:59:08.219 GMT-400 %MIVR-SS_RM-7-UNK:Processing msg: class com.cisco.wf.subsystems.rmcm.msgs.CTIQueryQueueStatisticsReqMsg Rsrc: Req.ID:877795 1766987: Nov 09 16:59:08.219 GMT-400 %MIVR-ICD_CTI-7-UNK:OutboundMsgProcessor: got message: { QUERY_QUEUE_STATISTICS_CONF } 1766988: Nov 09 16:59:08.219 GMT-400 %MIVR-ICD_CTI-7-UNK:OutboundMessageprocessor : sending msg : { length=-1 type=QUERY_QUEUE_STATISTICS_CONF,invokeId=877795 SkillGroupNum=2 loggedInAgents=2 inSessionAgents=0 availableAgents=1 unAvailableAgents=1 inWorkAgents=0 selectedAgents=0 callsInPriorityQueue1=0 callsInPriorityQueue2=0 callsInPriorityQueue3=0 callsInPriorityQueue4=0 callsInPriorityQueue5=0 callsInPriorityQueue6=0 callsInPriorityQueue7=0 callsInPriorityQueue8=0 callsInPriorityQueue9=0 callsInPriorityQueue10=0 startTime=Tue Nov 09 00:00:00 GMT-04:00 2010 endTime=Tue Nov 09 16:59:08 GMT-04:00 2010 totalCall=95 oldestCallInQueue =0 handledCallsToday=64 callsAbandoned=31 callsDequeued=0 averageTalkDuration=129815 averageWaitDuration=129195 longestTalkDuration=559032 longestWaitDuration=1592172 to socket: Socket[addr=192.168.1.20,port=61518,localport=42027] } 1766989: Nov 09 16:59:08.219 GMT-400 %MIVR-ICD_CTI-7-UNK:MsgHandler : Sent : { QUERY_QUEUE_STATISTICS_CONF to Socket[addr=192.168.1.20,port=61518,localport=42027]  } 1766990: Nov 09 16:59:08.626 GMT-400 %MIVR-ICD_CTI-7-UNK:Received message HEARTBEAT_REQ Message dump, excluding msg header (Length = 4 bytes): 0 0 11 D 1766991: Nov 09 16:59:08.626 GMT-400 %MIVR-ICD_CTI-7-UNK:ClientConnMgr: Processing msg on socket:Socket[addr=192.168.8.112,port=4325,localport=42027] Msg is {length=4 type=HEARTBEAT_REQ,invokeId=4420 } 1766992: Nov 09 16:59:08.626 GMT-400 %MIVR-ICD_CTI-7-UNK:OutboundMsgProcessor: got message: { HEARTBEAT_CONF } 1766993: Nov 09 16:59:08.626 GMT-400 %MIVR-ICD_CTI-7-UNK:OutboundMessageprocessor : sending msg : { length=-1 type=HEARTBEAT_CONF,invokeId=4420 to socket: Socket[addr=192.168.8.112,port=4325,localport=42027] } 1766994: Nov 09 16:59:08.626 GMT-400 %MIVR-ICD_CTI-7-UNK:MsgHandler : Sent : { HEARTBEAT_CONF to Socket[addr=192.168.8.112,port=4325,localport=42027]  } 1766995: Nov 09 16:59:11.173 GMT-400 %MIVR-ICD_CTI-7-UNK:Received message QUERY_AGENT_QUEUE_STATISTICS_REQ Message dump, excluding msg header (Length = 14 bytes): 0 0 7 " c2 8 v c r u c e s 0 1766996: Nov 09 16:59:11.173 GMT-400 %MIVR-ICD_CTI-7-UNK:ClientConnMgr: Processing msg on socket:Socket[addr=192.168.8.113,port=4071,localport=42027] Msg is {length=14 type=QUERY_AGENT_QUEUE_STATISTICS_REQ,invokeId=1826, agentID=vcruces } 1766997: Nov 09 16:59:11.173 GMT-400 %MIVR-ICD_CTI-7-UNK:OutboundMsgProcessor: got message: { QUERY_AGENT_QUEUE_STATISTICS_CONF } 1766998: Nov 09 16:59:11.173 GMT-400 %MIVR-ICD_CTI-7-UNK:OutboundMessageprocessor : sending msg : { length=-1 type=QUERY_AGENT_QUEUE_STATISTICS_CONF,invokeId=1826, agentID=vcruces, callsInQueue=0, oldestCallInQueue=0 to socket: Socket[addr=192.168.8.113,port=4071,localport=42027] } 1766999: Nov 09 16:59:11.173 GMT-400 %MIVR-ICD_CTI-7-UNK:MsgHandler : Sent : { QUERY_AGENT_QUEUE_STATISTICS_CONF to Socket[addr=192.168.8.113,port=4071,localport=42027]  } 1767000: Nov 09 16:59:14.641 GMT-400 %MIVR-ICD_CTI-7-UNK:Received message QUERY_AGENT_QUEUE_STATISTICS_REQ Message dump, excluding msg header (Length = 14 bytes): 0 0 11 E c2 8 o b l a n c o 0 1767001: Nov 09 16:59:14.641 GMT-400 %MIVR-ICD_CTI-7-UNK:ClientConnMgr: Processing msg on socket:Socket[addr=192.168.8.112,port=4325,localport=42027] Msg is {length=14 type=QUERY_AGENT_QUEUE_STATISTICS_REQ,invokeId=4421, agentID=oblanco } 1767002: Nov 09 16:59:14.641 GMT-400 %MIVR-ICD_CTI-7-UNK:OutboundMsgProcessor: got message: { QUERY_AGENT_QUEUE_STATISTICS_CONF } 1767003: Nov 09 16:59:14.641 GMT-400 %MIVR-ICD_CTI-7-UNK:OutboundMessageprocessor : sending msg : { length=-1 type=QUERY_AGENT_QUEUE_STATISTICS_CONF,invokeId=4421, agentID=oblanco, callsInQueue=0, oldestCallInQueue=0 to socket: Socket[addr=192.168.8.112,port=4325,localport=42027] } 1767004: Nov 09 16:59:14.641 GMT-400 %MIVR-ICD_CTI-7-UNK:MsgHandler : Sent : { QUERY_AGENT_QUEUE_STATISTICS_CONF to Socket[addr=192.168.8.112,port=4325,localport=42027]  } 1767005: Nov 09 16:59:18.235 GMT-400 %MIVR-ICD_CTI-7-UNK:Received message QUERY_QUEUE_STATISTICS_REQ Message dump, excluding msg header (Length = 10 bytes): 0 d d e4 > 4 0 0 0 1

Still i have error.

Hello,

The service should come up after successfully creating the data source.

It seems to me that AppAdmin cannot create the data source due to cluster mutex lock.

Please make sure there are no backups (or failed backups) running. Also please disable the scheduled backup if you have.

Please open CET from command prompt. Look for com.cisco.crs.cluster.config.LockConfig. Please check that Lock Owner,Lock Usage,Lock User Info should be empty (ie. just like this "").

If that doesn't help, please go to:
C:\Program Files\wfavvid\ClusterData\\com.cisco.crs.cluster.config.LockConfig
Rename all files in this directory to .old and then restart the Node Manager. Please check if the problem persists after that.

HTH

Pablo

Hi Pablo:

I have done all the tests, but the results remain the same. No backup are running. Rename the files suggested and restart server.if you have another suggestion, please let me know.

Thank you

DG