[cisco-voip] CCM 9.1 Bulk Adminitration > Insert Phones > All Details
Jason Aarons (AM)
jason.aarons at dimensiondata.com
Thu May 30 23:15:17 EDT 2013
I enabled logging on the bulk provisioning service in CCMService and found line 4 and line 5 had the same numbers. In Excel I pointed to the wrong column preparing the file;
2013-05-30 22:44:10,084 DEBUG [Thread-35] common.LogWrapper - SqlPhone::fnExecuteSql|Error Message : Cannot insert or update pattern. A DN exists with the same pattern and partition.
java.sql.SQLException: 4052
at com.informix.jdbc.IfxSqli.a(IfxSqli.java:3457)
at com.informix.jdbc.IfxSqli.E(IfxSqli.java:3774)
at com.informix.jdbc.IfxSqli.dispatchMsg(IfxSqli.java:2580)
at com.informix.jdbc.IfxSqli.receiveMessage(IfxSqli.java:2496)
at com.informix.jdbc.IfxSqli.c(IfxSqli.java:1475)
at com.informix.jdbc.IfxSqli.executeExecute(IfxSqli.java:2422)
at com.informix.jdbc.IfxSqli.executeExecute(IfxSqli.java:2359)
at com.informix.jdbc.IfxResultSet.b(IfxResultSet.java:390)
at com.informix.jdbc.IfxStatement.a(IfxStatement.java:1322)
at com.informix.jdbc.IfxStatement.executeImpl(IfxStatement.java:1292)
at com.informix.jdbc.IfxStatement.c(IfxStatement.java:1006)
at com.informix.jdbc.IfxStatement.execute(IfxStatement.java:892)
at com.cisco.ccm.bps.phone.SqlPhone.fnExecuteSql(Unknown Source)
at com.cisco.ccm.bps.phone.SqlPhone.fnExecuteSql(Unknown Source)
at com.cisco.ccm.bps.phone.InsertPhone.InsertRecords(Unknown Source)
at com.cisco.ccm.bps.phone.InsertPhone.InsertPhones(Unknown Source)
at com.cisco.ccm.bps.service.TransactionController.selectTransaction(Unknown Source)
at com.cisco.ccm.bps.service.ScheduledJobHandler.run(Unknown Source)
Caused by: java.sql.SQLException
at com.informix.util.IfxErrMsg.getSQLException(IfxErrMsg.java:408)
at com.informix.jdbc.IfxSqli.E(IfxSqli.java:3779)
... 16 more
2013-05-30 22:44:10,084 DEBUG [Thread-35] common.LogWrapper - SummaryLog::writeResultDetails|The first element is :SEP8875567A132B
2013-05-30 22:44:10,084 DEBUG [Thread-35] common.LogWrapper - SummaryLog::writeResultDetails|The second element is :LINE :: Error : 4052
2013-05-30 22:44:10,084 DEBUG [Thread-35] common.LogWrapper - SummaryLog::writeResultDetails|The third element is :Cannot insert or update pattern. A DN exists with the same pattern and partition.
2013-05-30 22:44:10,084 DEBUG [Thread-35] common.LogWrapper - DBManager::updateBatJobResults|Query : SELECT tkbatresultstatus FROM batjobresults WHERE logfilename = '1369968240#05302013224400.txt'
2013-05-30 22:44:10,084 DEBUG [Thread-35] dbl.Connector - getConn: usePooling[true]connectToLocalDB[false]_target[0]connectToPubByDefault[true]
2013-05-30 22:44:10,084 DEBUG [Thread-35] dbl.Connector - Try to get a connection from pool
From: cisco-voip [mailto:cisco-voip-bounces at puck.nether.net] On Behalf Of Jason Aarons (AM)
Sent: Thursday, May 30, 2013 10:42 PM
To: cisco-voip (cisco-voip at puck.nether.net)
Subject: [cisco-voip] CCM 9.1 Bulk Adminitration > Insert Phones > All Details
Error below isn't very helpful. None of the DNs exist and nothing is in the Unassigned DNs. It's one 6961 phone.
Does Bulk Admin inserts show up in CCM trace files? How can I get more details on what CCM was unhappy with?
Insert Phones - All Details
Begin Time : 05/30/2013 22:34:52
Query :
Insert Phones in /common/bps/csvfiles/phones/insert/all/ALLPHONES_TEST_v1_053013.csv
Failure Details :
MAC Address/Device Name Error Code Error Description
-----------------------------------------------------------------------------------------
SEP8875567A132B lang.IndexOutOfBoundsException: Index: 5, Size: 5
SEP8875567A132B LINE :: Error : 4052 Cannot insert or update pattern. A DN exists with the same pattern and partition.
Result Summary :
INSERT for 0 PHONES passed.
INSERT for 1 PHONES failed.
End Time : 05/30/2013 22:35:01
itevomcid
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://puck.nether.net/pipermail/cisco-voip/attachments/20130530/eb804be7/attachment.html>
More information about the cisco-voip
mailing list