Error while pasing arrays to pl/sql procedure

Hi,
I am trying to pass an array from java to pl/sql procedure.
I tried this code:
CREATE OR REPLACE TYPE HEADER_UPLOAD IS OBJECT
(VENDOR_NAME VARCHAR2(240) --hr_all_organization_units.name%TYPE
,BILL_TO_CUSTOMER_NAME VARCHAR2(240)-- hz_parties.party_name%TYPE
,BILL_TO_CUSTOMER_NUMBER VARCHAR2(240) --hz_cust_accounts.account_number%TYPE
,BILL_TO_SITE_USE_ID VARCHAR2(240) --hz_cust_site_uses_all.site_use_id%TYPE
,RESELLER_NAME VARCHAR2(240) --hz_parties.party_name%TYPE
,RESELLER_ADDRESS_1 VARCHAR2(240)--hz_locations.address1%TYPE
,RESELLER_ADDRESS_2 VARCHAR2(240)--hz_locations.address2%TYPE
,RESELLER_ADDRESS_3 VARCHAR2(240)--hz_locations.address3%TYPE
,RESELLER_ADDRESS_4 VARCHAR2(240)--hz_locations.address4%TYPE
,RESELLER_COUNTRY VARCHAR2(240)--hz_locations.country%TYPE
,RESELLER_STATE VARCHAR2(240) --hz_locations.state%TYPE
,RESELLER_CITY VARCHAR2(240)--hz_locations.city%TYPE
,RESELLER_POSTAL_CODE VARCHAR2(240)--hz_locations.postal_code%TYPE
,FEDERAL_GOVT_END_USER VARCHAR2(240)
,END_USER_NAME VARCHAR2(240)--hz_parties.party_name%TYPE
,END_USER_ADDRESS_1 VARCHAR2(240)--hz_locations.address1%TYPE
,END_USER_ADDRESS_2 VARCHAR2(240)--hz_locations.address2%TYPE
,END_USER_ADDRESS_3 VARCHAR2(240)--hz_locations.address3%TYPE
,END_USER_ADDRESS_4 VARCHAR2(240)--hz_locations.address4%TYPE
,END_USER_COUNTRY VARCHAR2(240)-- hz_locations.country%TYPE
,END_USER_STATE VARCHAR2(240) --hz_locations.state%TYPE
,END_USER_CITY VARCHAR2(240) --hz_locations.city%TYPE
,END_USER_POSTAL_CODE VARCHAR2(240)--hz_locations.postal_code%TYPE
,END_USER_CONTACT_NAME VARCHAR2(240)
,END_USER_EMAIL VARCHAR2(2000)
,SHIP_TO_CUSTOMER_NAME VARCHAR2(240)--ra_customers.customer_name%TYPE
,SHIP_TO_ADDRESS_1 VARCHAR2(240) --hz_locations.address1%TYPE
,SHIP_TO_ADDRESS_2 VARCHAR2(240) --hz_locations.address2%TYPE
,SHIP_TO_ADDRESS_3 VARCHAR2(240) --hz_locations.address3%TYPE
,SHIP_TO_ADDRESS_4 VARCHAR2(240) --hz_locations.address4%TYPE
,SHIP_TO_COUNTRY VARCHAR2(240) --hz_locations.country%TYPE
,SHIP_TO_STATE VARCHAR2(240) --hz_locations.state%TYPE
,SHIP_TO_CITY VARCHAR2(240)--hz_locations.city%TYPE
,SHIP_TO_POSTAL_CODE VARCHAR2(240)--hz_locations.postal_code%TYPE
,SHIP_TO_CONTACT_NAME VARCHAR2(240)
,SHIP_TO_CONTACT_PHONE VARCHAR2(50)
,SHIPPING_INSTRUCTIONS VARCHAR2(240)--oe_order_headers_all.shipping_instructions%TYPE
,SHIPPING_METHOD VARCHAR2(240) --fnd_lookup_values.meaning%TYPE
,ALERT_EMAIL VARCHAR2(2000)
,LICENSE_EMAIL VARCHAR2(2000)
,ORDER_CONTACT_FIRST_NAME VARCHAR2(150)
,ORDER_CONTACT_LAST_NAME VARCHAR2(150)
,ORDER_CONTACT_PHONE VARCHAR2(50)
,ORDER_CONTACT_FAX_NUMBER VARCHAR2(50)
,ORDER_CONTACT_EMAIL VARCHAR2(2000)
,NOTES VARCHAR2(4000)
,CURRENCY_CODE VARCHAR2(240) --fnd_currencies.currency_code%TYPE
,SERVICE_RENEWAL_ORDER varchar2(10)
,CUSTOMER_PO_NUMBER VARCHAR2(240) --oe_order_headers_all.cust_po_number%TYPE
,RESUBMITTED_ORDER VARCHAR2(10)
,PREV_CUSTOMER_PO_NUMBER VARCHAR2(240) --oe_order_headers_all.cust_po_number%TYPE
,END_USER_PO_NUMBER VARCHAR2(50)
,PO_NET_TOTAL NUMBER
,FOB VARCHAR2(240) --fnd_lookup_values.meaning%TYPE
,FREIGHT_TERMS VARCHAR2(240) --fnd_lookup_values.meaning%TYPE
,FREIGHT_ACCOUNT_NUMBER VARCHAR2(200)
create or replace type header_upload_tab is table of header_upload;
java code is: this is a java class which first inserts the csv file data into array headerdata
public static String[] parseCSV(long l)
throws SQLException, FrameworkException, IOException
String s = "parseCSV";
String lResult[] = new String[3];
if(IBEUtil.logEnabled())
IBEUtil.log("oracle.apps.ibe.shoppingcart.util.OrderUploadCSVReader", s, "Start");
OracleConnection oracleconnection = (OracleConnection)TransactionScope.getConnection();
OraclePreparedStatement oraclepreparedstatement = null;
OracleResultSet oracleresultset = null;
BLOB blob = null;
long l1 = System.currentTimeMillis();
if(IBEUtil.logEnabled())
IBEUtil.log("oracle.apps.ibe.shoppingcart.util.OrderUploadCSVReader", s, "Before fetching the File data from FND_LOBS");
oraclepreparedstatement = (OraclePreparedStatement)oracleconnection.prepareStatement(" SELECT FILE_DATA FROM FND_LOBS WHERE FILE_ID = :1 ");
oraclepreparedstatement.defineColumnType(1, 2004);
oraclepreparedstatement.setLong(1, l);
try
if(IBEUtil.logEnabled())
IBEUtil.log("oracle.apps.ibe.shoppingcart.util.OrderUploadCSVReader", s, "Before Executing the query");
oracleresultset = (OracleResultSet)oraclepreparedstatement.executeQuery();
if(IBEUtil.logEnabled())
IBEUtil.log("oracle.apps.ibe.shoppingcart.util.OrderUploadCSVReader", s, "After Executing the query");
while(oracleresultset.next())
blob = (BLOB)oracleresultset.getObject(1);
finally
if(oracleresultset != null)
oracleresultset.close();
if(oraclepreparedstatement != null)
oraclepreparedstatement.close();
if(oracleconnection != null)
TransactionScope.releaseConnection(oracleconnection);
if(IBEUtil.logEnabled())
IBEUtil.log("oracle.apps.ibe.shoppingcart.util.OrderUploadCSVReader", s, "Time taken to get the BLOB object(" + (System.currentTimeMillis() - l1) + " milliseconds)");
l1 = System.currentTimeMillis();
if(IBEUtil.logEnabled())
IBEUtil.log("oracle.apps.ibe.shoppingcart.util.OrderUploadCSVReader", s, "Get the stream from the BLOB");
InputStreamReader inputstreamreader = new InputStreamReader(blob.getBinaryStream());
if(IBEUtil.logEnabled())
IBEUtil.log("oracle.apps.ibe.shoppingcart.util.OrderUploadCSVReader", s, "Before creating the csvreader");
xxbcIbeOrderUploadCSVReader OrderUploadcsvreader = new xxbcIbeOrderUploadCSVReader(inputstreamreader);
if(IBEUtil.logEnabled())
IBEUtil.log("oracle.apps.ibe.shoppingcart.util.OrderUploadCSVReader", s, "After creating the csvreader");
OrderUploadcsvreader.setFieldSeparator(",");
OrderUploadcsvreader.setHandleEscapes(true);
if(IBEUtil.logEnabled())
IBEUtil.log("oracle.apps.ibe.shoppingcart.util.OrderUploadCSVReader", s, "Before getting the headers");
// Fetch the Header Record
ArrayList arraylistH = OrderUploadcsvreader.getHeaders();
if(IBEUtil.logEnabled())
IBEUtil.log("oracle.apps.ibe.shoppingcart.util.OrderUploadCSVReader", s, "After getting the headers");
String s1 = (String)arraylistH.get(0);
if ("HEADER".equals(s1))
if(IBEUtil.logEnabled())
IBEUtil.log("oracle.apps.ibe.shoppingcart.util.OrderUploadCSVReader", s, "Parse and Create the Header Record");
// Fetch the Header Data. This data will be inserted into Staging table, XXBC_IBE_ORDER_HEADER_IFACE
ArrayList arraylistHData = OrderUploadcsvreader.readRecord();
String headerData[] = new String[60];
for(int i = 1; i < arraylistH.size(); i++) {
headerData[i] = "";
for(int i = 1; i < arraylistH.size(); i++)
String h_element = (String)arraylistH.get(i);
String h_value = (String)arraylistHData.get(i);
if(IBEUtil.logEnabled())
IBEUtil.log("oracle.apps.ibe.shoppingcart.util.OrderUploadCSVReader", s, h_element);
if ("VENDOR NAME*".equals(h_element)) headerData[1] = h_value;
if ("BILL TO CUSTOMER*".equals(h_element)) headerData[2] = h_value;
if ("BILL TO CUSTOMER NUMBER*".equals(h_element)) headerData[3] = h_value;
if ("BILL TO SITE NUMBER*".equals(h_element)) headerData[4] = h_value;
if ("RESELLER*".equals(h_element)) headerData[5] = h_value;
if ("RESELLER ADDRESS LINE 1*".equals(h_element)) headerData[6] = h_value;
if ("RESELLER ADDRESS LINE 2".equals(h_element)) headerData[7] = h_value;
if ("RESELLER ADDRESS LINE 3".equals(h_element)) headerData[8] = h_value;
if ("RESELLER ADDRESS LINE 4".equals(h_element)) headerData[9] = h_value;
if ("RESELLER COUNTRY*".equals(h_element)) headerData[10] = h_value;
if ("RESELLER STATE*".equals(h_element)) headerData[11] = h_value;
if ("RESELLER CITY*".equals(h_element)) headerData[12] = h_value;
if ("RESELLER POSTAL CODE*".equals(h_element)) headerData[13] = h_value;
if ("FEDERAL GOVT END USER".equals(h_element)) headerData[14] = h_value;
if ("END USER*".equals(h_element)) headerData[15] = h_value;
if ("END USER ADDRESS LINE 1*".equals(h_element)) headerData[16] = h_value;
if ("END USER ADDRESS LINE 2".equals(h_element)) headerData[17] = h_value;
if ("END USER ADDRESS LINE 3".equals(h_element)) headerData[18] = h_value;
if ("END USER ADDRESS LINE 4".equals(h_element)) headerData[19] = h_value;
if ("END USER COUNTRY*".equals(h_element)) headerData[20] = h_value;
if ("END USER STATE*".equals(h_element)) headerData[21] = h_value;
if ("END USER CITY*".equals(h_element)) headerData[22] = h_value;
if ("END USER POSTAL CODE*".equals(h_element)) headerData[23] = h_value;
if ("END USER CONTACT**".equals(h_element)) headerData[24] = h_value;
if ("END USER CONTACT EMAIL**".equals(h_element)) headerData[25] = h_value;
if ("SHIP TO CUSTOMER*".equals(h_element)) headerData[26] = h_value;
if ("SHIP TO ADDRESS LINE 1*".equals(h_element)) headerData[27] = h_value;
if ("SHIP TO ADDRESS LINE 2".equals(h_element)) headerData[28] = h_value;
if ("SHIP TO ADDRESS LINE 3".equals(h_element)) headerData[29] = h_value;
if ("SHIP TO ADDRESS LINE 4".equals(h_element)) headerData[30] = h_value;
if ("SHIP TO COUNTRY*".equals(h_element)) headerData[31] = h_value;
if ("SHIP TO STATE*".equals(h_element)) headerData[32] = h_value;
if ("SHIP TO CITY*".equals(h_element)) headerData[33] = h_value;
if ("SHIP TO POSTAL CODE*".equals(h_element)) headerData[34] = h_value;
if ("SHIP TO CONTACT**".equals(h_element)) headerData[35] = h_value;
if ("SHIP TO CONTACT PHONE NUMBER**".equals(h_element)) headerData[36] = h_value;
if ("SHIPPING INSTRUCTIONS".equals(h_element)) headerData[37] = h_value;
if ("SHIPPING METHOD*".equals(h_element)) headerData[38] = h_value;
if ("ALERT EMAIL*".equals(h_element)) headerData[39] = h_value;
if ("LICENSE EMAIL**".equals(h_element)) headerData[40] = h_value;
if ("ORDER CONTACT FIRST NAME*".equals(h_element)) headerData[41] = h_value;
if ("ORDER CONTACT LAST NAME*".equals(h_element)) headerData[42] = h_value;
if ("ORDER CONTACT PHONE NUMBER*".equals(h_element)) headerData[43] = h_value;
if ("ORDER CONTACT FAX NUMBER".equals(h_element)) headerData[44] = h_value;
if ("ORDER CONTACT EMAIL*".equals(h_element)) headerData[45] = h_value;
if ("NOTES".equals(h_element)) headerData[46] = h_value;
if ("CURRENCY*".equals(h_element)) headerData[47] = h_value;
if ("SERVICE RENEWAL ORDER".equals(h_element)) headerData[48] = h_value;
if ("CUSTOMER PO NUMBER*".equals(h_element)) headerData[49] = h_value;
if ("RESUBMISSION*".equals(h_element)) headerData[50] = h_value;
if ("PREVIOUS CUSTOMER PO NUMBER**".equals(h_element)) headerData[51] = h_value;
if ("END USER PO NUMBER".equals(h_element)) headerData[52] = h_value;
if ("PO NET TOTAL*".equals(h_element)) headerData[53] = h_value;
if ("FOB*".equals(h_element)) headerData[54] = h_value;
if ("FREIGHT TERMS*".equals(h_element)) headerData[55] = h_value;
if ("FREIGHT ACCOUNT NUMBER".equals(h_element)) headerData[56] = h_value;
if(IBEUtil.logEnabled())
IBEUtil.log("oracle.apps.ibe.shoppingcart.util.OrderUploadCSVReader", s, (String)headerData);
} // End of processing Header Data
if(IBEUtil.logEnabled())
IBEUtil.log("oracle.apps.ibe.shoppingcart.util.OrderUploadCSVReader", s, "Insert the Header Record into Interface Table");
if(IBEUtil.logEnabled())
IBEUtil.log("oracle.apps.ibe.shoppingcart.util.OrderUploadCSVReader", s, (String)headerData[1]);
if(IBEUtil.logEnabled())
IBEUtil.log("oracle.apps.ibe.shoppingcart.util.OrderUploadCSVReader", s, (String)headerData[2]);
if(IBEUtil.logEnabled())
IBEUtil.log("oracle.apps.ibe.shoppingcart.util.OrderUploadCSVReader", s, "checkpoint");
oracleconnection = (OracleConnection)TransactionScope.getConnection();
oracleconnection.setAutoCommit(true);
if(IBEUtil.logEnabled())
IBEUtil.log("oracle.apps.ibe.shoppingcart.util.OrderUploadCSVReader", s, "After getting connection");
ArrayDescriptor descriptor = ArrayDescriptor.createDescriptor( "HEADER_UPLOAD_TAB", oracleconnection );
if(IBEUtil.logEnabled())
IBEUtil.log("oracle.apps.ibe.shoppingcart.util.OrderUploadCSVReader", s, "before new array");
ARRAY array_to_pass = new ARRAY( descriptor, oracleconnection, headerData );
if(IBEUtil.logEnabled())
IBEUtil.log("oracle.apps.ibe.shoppingcart.util.OrderUploadCSVReader", s, "calling procedure");
OraclePreparedStatement ps =
(OraclePreparedStatement)oracleconnection.prepareStatement ( "BEGIN insert_data(:1); END;" );
ps.setARRAY( 1, array_to_pass );
ps.execute();.......continued
the above code executes till the message :---IBEUtil.log("oracle.apps.ibe.shoppingcart.util.OrderUploadCSVReader", s, "before new array");
after that it gives error as :---Exception=java.sql.SQLException: Fail to convert to internal representation
Kindly Help....
Thanks in advance
Gaurav

Gaurav,
Just a guess, but try the following:
ArrayDescriptor descriptor = ArrayDescriptor.createDescriptor( "SCOTT.HEADER_UPLOAD_TAB", oracleconnection );In other words, prefix the data-type name, HEADER_UPLOAD_TAB, with its schema owner name.
Good Luck,
Avi.

Similar Messages

  • Error While Installing IDES ECC6 with SQL Server 2005

    Dear Experts,
    I found an error while installing IDES ECC6 with SQL Server 2005. The error is raising at the stage of 17 of 24 processing the procedure of 195 of 197 (sap_z_set_permissions).
    I have tried several times by configuring different type of activites but still i am facing the same problem at the same stage. Please help me in thig regard.
    I herewith pasted hereunder log files information
    Regards,
    B.Sudharsan
    ERROR 2008-01-17 18:38:47
    FCO-00011  The step ExeProcs with step key |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_CreateDBandLoad|ind|ind|ind|ind|10|0|NW_Postload|ind|ind|ind|ind|10|0|NW_Postload_MSS|ind|ind|ind|ind|2|0|MssProcs|ind|ind|ind|ind|1|0|ExeProcs was executed with status ERROR .
    INFO 2008-01-17 18:40:05
    An error occured and the user decide to stop.\n Current step "|NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_CreateDBandLoad|ind|ind|ind|ind|10|0|NW_Postload|ind|ind|ind|ind|10|0|NW_Postload_MSS|ind|ind|ind|ind|2|0|MssProcs|ind|ind|ind|ind|1|0|ExeProcs".
    ERROR 2008-01-17 18:38:47
    MDB-05053  Errors when executing sql command: <p nr="0"/> If this message is displayed as a warning - it can be ignored. If this is an error - call your SAP support.

    Sudarshan,
    Occasionally, mid-way through the upgrade, DB permissions to users might change. Check to see, if the users SAP<SID>, OPS$ users have the DBA privilege. Re-assign the role and try continuing with the upgrade.

  • Error while parsing or executing XML-SQL document attribute "action" missin

    Hi All,
          I am doing a scenario for IDOC to JDBC, When I push IDOC from R/3 , IDOC sent to XI System successfully, 
           I have also checked in SXMB_MONI it is showing the successful staus without any errors, and I have also copied the xml structure from main document of payloads and tested the mapping in Integration Designer, and it is showing successfull message.
    here is the xml structure from  payloads of Request Message Mapping ........
      <?xml version="1.0" encoding="UTF-8" ?>
    - <ns0:RTACOGRP_RECEIVER_MT xmlns:ns0="http://prospecta.com/wsorta/cosmas/idoc2jdbc">
    - <COGRP_TMP_PROC action="EXECUTE">
      <IDOCNUMBER isInput="TRUE" type="CHAR">1000001</IDOCNUMBER>
      <E1COGH_NUMBER isInput="TRUE" type="CHAR">1</E1COGH_NUMBER>
      <E1COGH_HIGHERSEGMENT isInput="TRUE" type="CHAR">1</E1COGH_HIGHERSEGMENT>
      <E1COGH_MSGFN isInput="TRUE" type="CHAR">1</E1COGH_MSGFN>
      <E1COGH_GROUPTYPE isInput="TRUE" type="CHAR">1</E1COGH_GROUPTYPE>
      <E1COGH_GROUPNAME isInput="TRUE" type="CHAR">1</E1COGH_GROUPNAME>
      <E1COGH_KOKRS isInput="TRUE" type="CHAR">1</E1COGH_KOKRS>
      <E1COGHT_NUMBER isInput="TRUE" type="CHAR">1</E1COGHT_NUMBER>
      <E1COGHT_HIGHERSEGMENT isInput="TRUE" type="CHAR">2</E1COGHT_HIGHERSEGMENT>
      <E1COGHT_LANGU isInput="TRUE" type="CHAR">2</E1COGHT_LANGU>
      <E1COGHT_DESCRIPT isInput="TRUE" type="CHAR">2</E1COGHT_DESCRIPT>
      <E1COGHT_LANGU_ISO isInput="TRUE" type="CHAR">2</E1COGHT_LANGU_ISO>
      <E1COGV_NUMBER isInput="TRUE" type="CHAR">1</E1COGV_NUMBER>
      <E1COGV_HIGHERSEGMENT isInput="TRUE" type="CHAR">3</E1COGV_HIGHERSEGMENT>
      <E1COGV_FROMVALUE isInput="TRUE" type="CHAR">6</E1COGV_FROMVALUE>
      <E1COGV_TOVALUE isInput="TRUE" type="CHAR">6</E1COGV_TOVALUE>
      <E1COGS_NUMBER isInput="TRUE" type="CHAR">1</E1COGS_NUMBER>
      <E1COGS_HIGHERSEGMENT isInput="TRUE" type="CHAR">5</E1COGS_HIGHERSEGMENT>
      <E1COGS_SUBGROUP isInput="TRUE" type="CHAR">4</E1COGS_SUBGROUP>
      <E1COGHR_NUMBER isInput="TRUE" type="CHAR">1</E1COGHR_NUMBER>
      <E1COGHR_HIGHERSEGMENT isInput="TRUE" type="CHAR">6</E1COGHR_HIGHERSEGMENT>
      <E1COGHR_SNAME isInput="TRUE" type="CHAR">3</E1COGHR_SNAME>
      <E1COGHR_PRTCLASS isInput="TRUE" type="CHAR">3</E1COGHR_PRTCLASS>
      <E1COGHR_AUTHGR isInput="TRUE" type="CHAR">3</E1COGHR_AUTHGR>
      <E1COGSR_NUMBER isInput="TRUE" type="CHAR">1</E1COGSR_NUMBER>
      <E1COGSR_HIGHERSEGMENT isInput="TRUE" type="CHAR">7</E1COGSR_HIGHERSEGMENT>
      <E1COGSR_XSUPPRESS isInput="TRUE" type="CHAR">5</E1COGSR_XSUPPRESS>
      <E1COGSR_PRTCLASS isInput="TRUE" type="CHAR">5</E1COGSR_PRTCLASS>
      <E1COGSR_LNAME isInput="TRUE" type="CHAR">5</E1COGSR_LNAME>
      <E1COGVT_NUMBER isInput="TRUE" type="CHAR">1</E1COGVT_NUMBER>
      <E1COGVT_HIGHERSEGMENT isInput="TRUE" type="CHAR">9</E1COGVT_HIGHERSEGMENT>
      <E1COGVT_LANGU isInput="TRUE" type="CHAR">7</E1COGVT_LANGU>
      <E1COGVT_DESCRIPT isInput="TRUE" type="CHAR">7</E1COGVT_DESCRIPT>
      <E1COGVT_LANGU_ISO isInput="TRUE" type="CHAR">7</E1COGVT_LANGU_ISO>
      <E1COGVR_NUMBER isInput="TRUE" type="CHAR">1</E1COGVR_NUMBER>
      <E1COGVR_HIGHERSEGMENT isInput="TRUE" type="CHAR">12</E1COGVR_HIGHERSEGMENT>
      <E1COGVR_XSUPPRESS isInput="TRUE" type="CHAR">8</E1COGVR_XSUPPRESS>
      <E1COGVR_PRTCLASS isInput="TRUE" type="CHAR">8</E1COGVR_PRTCLASS>
      <E1COGVR_LNAME isInput="TRUE" type="CHAR">8</E1COGVR_LNAME>
      </COGRP_TMP_PROC>
      </ns0:RTACOGRP_RECEIVER_MT>
    When I checked for component monitoring in runtime workbench....
    these are the messages........
    <i>Error while parsing or executing XML-SQL document: Error processing request in sax parser: No 'action' attribute found in XML document (attribute "action" missing or wrong XML structure)</i>
    Here are the messages from message monitoring ......
    2007-06-07 12:42:17 Success Receiver JDBC adapter: processing started; QoS required: ExactlyOnce
    2007-06-07 12:42:17 Success JDBC adapter receiver channel RTACOGRP_COM_Chan: processing started; party  , service WSORTABS
    2007-06-07 12:42:17 Error No "action" attribute found in XML document ("action" attribute missing or wrong XML structure)
    2007-06-07 12:42:17 Error MP: exception caught with cause com.sap.aii.af.ra.ms.api.RecoverableException: Error processing request in sax parser: No 'action' attribute found in XML document (attribute "action" missing or wrong XML structure)
    2007-06-07 12:42:17 Error Exception caught by adapter framework: Error processing request in sax parser: No 'action' attribute found in XML document (attribute "action" missing or wrong XML structure)
    2007-06-07 12:42:17 Error Delivery of the message to the application using connection JDBC_http://sap.com/xi/XI/System failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: Error processing request in sax parser: No 'action' attribute found in XML document (attribute "action" missing or wrong XML structure).
    2007-06-07 12:42:17 Error The message status set to NDLV.
    Can any body please resolve the problem.....
    Thanks in Advance
    Murthy

    Bhavesh,
    Now I have changed the data structure , and the resultant structure is like this...
      <?xml version="1.0" encoding="UTF-8" ?>
    - <ns0:RTACOGRP_RECEIVER_MT xmlns:ns0="http://prospecta.com/wsorta/cosmas/idoc2jdbc">
    - <Statement>
    - <COGRP_TMP_PROC action="EXECUTE">
      <IDOCNUMBER isInput="TRUE" type="CHAR">100002223</IDOCNUMBER>
      <E1COGH_NUMBER isInput="TRUE" type="CHAR">1</E1COGH_NUMBER>
      <E1COGH_HIGHERSEGMENT isInput="TRUE" type="CHAR">1</E1COGH_HIGHERSEGMENT>
      <E1COGH_MSGFN isInput="TRUE" type="CHAR">H</E1COGH_MSGFN>
      <E1COGH_GROUPTYPE isInput="TRUE" type="CHAR">H</E1COGH_GROUPTYPE>
      <E1COGH_GROUPNAME isInput="TRUE" type="CHAR">H</E1COGH_GROUPNAME>
      <E1COGH_KOKRS isInput="TRUE" type="CHAR">H</E1COGH_KOKRS>
      <E1COGHT_NUMBER isInput="TRUE" type="CHAR">1</E1COGHT_NUMBER>
      <E1COGHT_HIGHERSEGMENT isInput="TRUE" type="CHAR">2</E1COGHT_HIGHERSEGMENT>
      <E1COGHT_LANGU isInput="TRUE" type="CHAR">T</E1COGHT_LANGU>
      <E1COGHT_DESCRIPT isInput="TRUE" type="CHAR">T</E1COGHT_DESCRIPT>
      <E1COGHT_LANGU_ISO isInput="TRUE" type="CHAR">T</E1COGHT_LANGU_ISO>
      <E1COGV_NUMBER isInput="TRUE" type="CHAR">1</E1COGV_NUMBER>
      <E1COGV_HIGHERSEGMENT isInput="TRUE" type="CHAR">3</E1COGV_HIGHERSEGMENT>
      <E1COGV_FROMVALUE isInput="TRUE" type="CHAR">V</E1COGV_FROMVALUE>
      <E1COGV_TOVALUE isInput="TRUE" type="CHAR">V</E1COGV_TOVALUE>
      <E1COGS_NUMBER isInput="TRUE" type="CHAR">1</E1COGS_NUMBER>
      <E1COGS_HIGHERSEGMENT isInput="TRUE" type="CHAR">5</E1COGS_HIGHERSEGMENT>
      <E1COGS_SUBGROUP isInput="TRUE" type="CHAR">S</E1COGS_SUBGROUP>
      <E1COGHR_NUMBER isInput="TRUE" type="CHAR">1</E1COGHR_NUMBER>
      <E1COGHR_HIGHERSEGMENT isInput="TRUE" type="CHAR">7</E1COGHR_HIGHERSEGMENT>
      <E1COGHR_SNAME isInput="TRUE" type="CHAR">R</E1COGHR_SNAME>
      <E1COGHR_PRTCLASS isInput="TRUE" type="CHAR">R</E1COGHR_PRTCLASS>
      <E1COGHR_AUTHGR isInput="TRUE" type="CHAR">R</E1COGHR_AUTHGR>
      <E1COGSR_NUMBER isInput="TRUE" type="CHAR">1</E1COGSR_NUMBER>
      <E1COGSR_HIGHERSEGMENT isInput="TRUE" type="CHAR">8</E1COGSR_HIGHERSEGMENT>
      <E1COGSR_XSUPPRESS isInput="TRUE" type="CHAR">S</E1COGSR_XSUPPRESS>
      <E1COGSR_PRTCLASS isInput="TRUE" type="CHAR">S</E1COGSR_PRTCLASS>
      <E1COGSR_LNAME isInput="TRUE" type="CHAR">S</E1COGSR_LNAME>
      <E1COGVT_NUMBER isInput="TRUE" type="CHAR">1</E1COGVT_NUMBER>
      <E1COGVT_HIGHERSEGMENT isInput="TRUE" type="CHAR">10</E1COGVT_HIGHERSEGMENT>
      <E1COGVT_LANGU isInput="TRUE" type="CHAR">T</E1COGVT_LANGU>
      <E1COGVT_DESCRIPT isInput="TRUE" type="CHAR">T</E1COGVT_DESCRIPT>
      <E1COGVT_LANGU_ISO isInput="TRUE" type="CHAR">T</E1COGVT_LANGU_ISO>
      <E1COGVR_NUMBER isInput="TRUE" type="CHAR">1</E1COGVR_NUMBER>
      <E1COGVR_HIGHERSEGMENT isInput="TRUE" type="CHAR">11</E1COGVR_HIGHERSEGMENT>
      <E1COGVR_XSUPPRESS isInput="TRUE" type="CHAR">E</E1COGVR_XSUPPRESS>
      <E1COGVR_PRTCLASS isInput="TRUE" type="CHAR">E</E1COGVR_PRTCLASS>
      <E1COGVR_LNAME isInput="TRUE" type="CHAR">E</E1COGVR_LNAME>
      </COGRP_TMP_PROC>
      </Statement>
      </ns0:RTACOGRP_RECEIVER_MT>
    Now in message monitoring error is showing like this...
    <i>Error while parsing or executing XML-SQL document: Error processing request in sax parser: Error when executing statement for table/stored proc. 'COGRP_TMP_PROC' (structure 'Statement'): java.sql.SQLException: General error</i>
    Now in Component Monitoring error is showing like this....
    <i>Delivery of the message to the application using connection JDBC_http://sap.com/xi/XI/System failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: Error processing request in sax parser: Error when executing statement for table/stored proc. 'COGRP_TMP_PROC' (structure 'Statement'): java.sql.SQLException: General error</i>
    I have tested the stored procedure in sql by giving the same values , it was successfully executed..
    Can you please tell me where is the error still in structure ...
    Thanks in Advance,
    Murthy.

  • Returing array from PL/SQL procedure

    Hi,
    I am trying to return array from PL/SQL procedure. Heres is the code. I am getting an error "OracleParameter.ArrayBindSize is invalid ".
    Will anybody let me know what is wrong in following code. or does anybody have code to return PL/SQL array using VB.NET.
    oCommand.CommandText = "MyPack.TestVarchar2"
    oCommand.CommandType = CommandType.StoredProcedure
    Dim id As Integer = 10
    Dim deptname As String()
    Dim oParam1 As Oracle.DataAccess.Client.OracleParameter = New Oracle.DataAccess.Client.OracleParameter("id", Oracle.DataAccess.Client.OracleDbType.Int32)
    Dim oParam2 As Oracle.DataAccess.Client.OracleParameter = New Oracle.DataAccess.Client.OracleParameter("deptname", Oracle.DataAccess.Client.OracleDbType.Varchar2)
    oParam1.Direction = ParameterDirection.Input
    oParam2.Direction = ParameterDirection.Output
    oParam1.CollectionType = Oracle.DataAccess.Client.OracleCollectionType.None
    oParam2.CollectionType = Oracle.DataAccess.Client.OracleCollectionType.PLSQLAssociativeArray
    oParam1.Value = id
    oParam2.Value = ""
    oParam1.Size = 10
    oParam2.Size = 20
    oCommand.Parameters.Add(oParam1)
    oCommand.Parameters.Add(oParam2)
    oCommand.ExecuteNonQuery()
    Thanks
    Sameer

    Thanks Arnold for the reply..
    Yes, I am trying to get result set in array which is unknow to me (No of rows return by the query). For the test I will pre-define the result set so that I will able to set ArrayBindSize.
    I have read C# example but when I try to write it in VB.NET it gives me syntax error when I try to set the ArrayBindSize.
    oParam.ArrayBindSize = new int[3]{15,23,13} // individual max size of 3 outputsWill you please let me know how to set ArrayBindSize (VB.NET) because I am new to this..
    There is an example at otn "How to: Bind an Array to an ODP.NET Database Command" which does multiple INSERTs in one trip to database. This works fine. I need to do same for the SELECT statement which will return me multiple rows. I do not mean refCursor. If I use refCursor, it will make soft parse which I am trying to avoid using this Array techniq.
    Thanks
    Sameer

  • Error while parsing or executing XML-SQL document

    friends,
    my scenario is based on file to jdbc.i am facing  an error in receiver CC in RWB.
    The error states that '
    Error while parsing or executing XML-SQL document: Error processing request in sax parser: Error when executing statement for table/stored proc. 'MATMAS' (structure 'STATEMENT'): java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]String or binary data would be truncated.'
    My SOAP xml message is
    - <SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
    - <SOAP:Header>
    - <sap:Main xmlns:sap="http://sap.com/xi/XI/Message/30" versionMajor="3" versionMinor="0" SOAP:mustUnderstand="1" xmlns:wsu="http://www.docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="wsuid-main-92ABE13F5C59AB7FE10000000A1551F7">
      <sap:MessageClass>ApplicationMessage</sap:MessageClass>
      <sap:ProcessingMode>asynchronous</sap:ProcessingMode>
      <sap:MessageId>18f17dd0-d503-11dc-cb4d-001635b02bfd</sap:MessageId>
      <sap:TimeSent>2008-02-06T22:30:21Z</sap:TimeSent>
    - <sap:Sender>
      <sap:Party agency="http://sap.com/xi/XI" scheme="XIParty" />
      <sap:Service>ECC</sap:Service>
      </sap:Sender>
    - <sap:Receiver>
      <sap:Party agency="http://sap.com/xi/XI" scheme="XIParty" />
      <sap:Service>BS_JDBC</sap:Service>
      </sap:Receiver>
      <sap:Interface namespace="http://file_to_jdbc">MI_JDBC_RECEIVER</sap:Interface>
      </sap:Main>
    - <sap:ReliableMessaging xmlns:sap="http://sap.com/xi/XI/Message/30" SOAP:mustUnderstand="1">
      <sap:QualityOfService>ExactlyOnce</sap:QualityOfService>
      </sap:ReliableMessaging>
    - <sap:DynamicConfiguration xmlns:sap="http://sap.com/xi/XI/Message/30" SOAP:mustUnderstand="1">
      <sap:Record namespace="http://sap.com/xi/XI/System/File" name="Directory">
    sapecc50\sapmnt\trans</sap:Record>
      <sap:Record namespace="http://sap.com/xi/XI/System/File" name="FileEncoding">UTF-8</sap:Record>
      <sap:Record namespace="http://sap.com/xi/XI/System/File" name="FileType">txt</sap:Record>
      <sap:Record namespace="http://sap.com/xi/XI/System/File" name="FileName">matmas1.txt</sap:Record>
      </sap:DynamicConfiguration>
    - <sap:HopList xmlns:sap="http://sap.com/xi/XI/Message/30" SOAP:mustUnderstand="1">
    - <sap:Hop timeStamp="2008-02-06T22:30:21Z" wasRead="false">
      <sap:Engine type="AE">af.e6e.sapecc6eval</sap:Engine>
      <sap:Adapter namespace="http://sap.com/xi/XI/System">XIRA</sap:Adapter>
      <sap:MessageId>18f17dd0-d503-11dc-cb4d-001635b02bfd</sap:MessageId>
      <sap:Info />
      </sap:Hop>
    - <sap:Hop timeStamp="2008-02-06T22:30:21Z" wasRead="false">
      <sap:Engine type="IS">is.01.sapecc6eval</sap:Engine>
      <sap:Adapter namespace="http://sap.com/xi/XI/System">XI</sap:Adapter>
      <sap:MessageId>18f17dd0-d503-11dc-cb4d-001635b02bfd</sap:MessageId>
      <sap:Info>3.0</sap:Info>
      </sap:Hop>
    - <sap:Hop timeStamp="2008-02-06T22:30:22Z" wasRead="false">
      <sap:Engine type="AE">af.e6e.sapecc6eval</sap:Engine>
      <sap:Adapter namespace="http://sap.com/xi/XI/System">XIRA</sap:Adapter>
      <sap:MessageId>18f17dd0-d503-11dc-cb4d-001635b02bfd</sap:MessageId>
      </sap:Hop>
      </sap:HopList>
    - <sap:Diagnostic xmlns:sap="http://sap.com/xi/XI/Message/30" SOAP:mustUnderstand="1">
      <sap:TraceLevel>Information</sap:TraceLevel>
      <sap:Logging>Off</sap:Logging>
      </sap:Diagnostic>
      </SOAP:Header>
    - <SOAP:Body>
    - <sap:Manifest xmlns:sap="http://sap.com/xi/XI/Message/30" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:wsu="http://www.docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="wsuid-manifest-5CABE13F5C59AB7FE10000000A1551F7">
    - <sap:Payload xlink:type="simple" xlink:href="cid:[email protected]">
      <sap:Name>MainDocument</sap:Name>
      <sap:Description />
      <sap:Type>Application</sap:Type>
      </sap:Payload>
      </sap:Manifest>
      </SOAP:Body>
      </SOAP:Envelope>
    and payload message is
    <?xml version="1.0" encoding="UTF-8" ?>
    - <ns0:MT_JDBC_RECEIVER xmlns:ns0="http://file_to_jdbc">
    - <STATEMENT>
    - <ROW action="INSERT">
      <TABLE>MATMAS</TABLE>
    - <access>
      <MATNR>38</MATNR>
      <MTART>HALB</MTART>
      <MATKL>00107</MATKL>
      <MEINS>pc</MEINS>
      <ERSDA>2008.04.05</ERSDA>
      <BRGEW>10</BRGEW>
      <NTGEW>12</NTGEW>
      <GEWEI>KG</GEWEI>
      </access>
    - <access>
      <MATNR>88</MATNR>
      <MTART>FERT</MTART>
      <MATKL>02004</MATKL>
      <MEINS>PC</MEINS>
      <ERSDA>2008.04.05</ERSDA>
      <BRGEW>12</BRGEW>
      <NTGEW>13</NTGEW>
      <GEWEI>KG</GEWEI>
      </access>
    - <access>
      <MATNR>89</MATNR>
      <MTART>FERT</MTART>
      <MATKL>02004</MATKL>
      <MEINS>PC</MEINS>
      <ERSDA>2008.03.02</ERSDA>
      <BRGEW>12</BRGEW>
      <NTGEW>14</NTGEW>
      <GEWEI>KG</GEWEI>
      </access>
    - <access>
      <MATNR>98</MATNR>
      <MTART>HALB</MTART>
      <MATKL>2</MATKL>
      <MEINS>PC</MEINS>
      <ERSDA>2006.09.01</ERSDA>
      <BRGEW>12</BRGEW>
      <NTGEW>12</NTGEW>
      <GEWEI>KG</GEWEI>
      </access>
    - <access>
      <MATNR>170</MATNR>
      <MTART>NLAG</MTART>
      <MATKL>4</MATKL>
      <MEINS>PC</MEINS>
      <ERSDA>2005.03.02</ERSDA>
      <BRGEW>2</BRGEW>
      <NTGEW>3</NTGEW>
      <GEWEI>KG</GEWEI>
      </access>
    - <access>
      <MATNR>178</MATNR>
      <MTART>NLAG</MTART>
      <MATKL>4</MATKL>
      <MEINS>PC</MEINS>
      <ERSDA>2007.03.06</ERSDA>
      <BRGEW>3</BRGEW>
      <NTGEW>4</NTGEW>
      <GEWEI>KG</GEWEI>
      </access>
    - <access>
      <MATNR>188</MATNR>
      <MTART>NLAG</MTART>
      <MATKL>5</MATKL>
      <MEINS>PC</MEINS>
      <ERSDA>2007.05.02</ERSDA>
      <BRGEW>2</BRGEW>
      <NTGEW>3</NTGEW>
      <GEWEI>KG</GEWEI>
      </access>
    - <access>
      <MATNR>288</MATNR>
      <MTART>HALB</MTART>
      <MATKL>101</MATKL>
      <MEINS>PC</MEINS>
      <ERSDA>2006.02.11</ERSDA>
      <BRGEW>5</BRGEW>
      <NTGEW>4</NTGEW>
      <GEWEI>KG</GEWEI>
      </access>
    - <access>
      <MATNR>358</MATNR>
      <MTART>HAWA</MTART>
      <MATKL>2</MATKL>
      <MEINS>PC</MEINS>
      <ERSDA>2007.09.09</ERSDA>
      <BRGEW>500</BRGEW>
      <NTGEW>500</NTGEW>
      <GEWEI>G</GEWEI>
      </access>
    - <access>
      <MATNR>359</MATNR>
      <MTART>HAWA</MTART>
      <MATKL>2</MATKL>
      <MEINS>PC</MEINS>
      <ERSDA>2007.08.01</ERSDA>
      <BRGEW>20</BRGEW>
      <NTGEW>10</NTGEW>
      <GEWEI>G</GEWEI>
      </access>
      </ROW>
      </STATEMENT>
      </ns0:MT_JDBC_RECEIVER>
    Could anybody help me in sorting out this issue.My advance thanks

    hi,
    ypur structure is bad defined.
    if you want to do an insert, the DT should be
    <ns0:MT_JDBC_RECEIVER xmlns:ns0="http://file_to_jdbc">
    ___<StatementName>
    ______<dbTableName action=”INSERT”>
    _____<table>MATMAS</table>
    _______ <access>
    ___________<MATNR>38</MATNR>
    ___________<MTART>HALB</MTART>
    ___________<MATKL>00107</MATKL>
    ___________<MEINS>pc</MEINS>
    ___________<ERSDA>2008.04.05</ERSDA>
    ___________<BRGEW>10</BRGEW>
    ___________<NTGEW>12</NTGEW>
    ___________<GEWEI>KG</GEWEI>
    ______</access>
    _____</dbTableName>
    __ </StatementName>
    </ns0:MT_JDBC_RECEIVER>
    the ROW field is used when you wait receive data from DB for example you execute and SQL Query from Sender communication channel "SELECT name FROM TABLE Names"
    so, the result of this query would be, for example:
    <row>
    ____<name>joge</name>
    </row>
    <row>
    ____<name>pepe</name>
    </row>
    <row>
    ____<name>nicola</name>
    </row>
    See this link
    http://help.sap.com/saphelp_nw04/helpdata/en/2e/96fd3f2d14e869e10000000a155106/frameset.htm
    Thanks
    Rodrigo
    Edited by: Rodrigo Pertierra on Feb 8, 2008 8:40 AM
    Edited by: Rodrigo Pertierra on Feb 8, 2008 8:42 AM

  • Error while installing the named instance SQL 2012 Sp1

    Hi,
    I am getting below error while installing the named instance with features Data base engine. on same server box 2 named instance already installed and working...please suggest. i have done a lot of troubleshooting..(configure local system for Db engines
    during installation, tried to install after another domain ID., repair and uninstalled existing and retried.) .. please s if i need to do anything else to resolve the issue.. installation account is domain admin account...
    Can i rename the installation domain account profile from sql server that used for 2 named instance and for 3 rd named instance i am trying... is any impact after profile rename from the local sql server on any instance already configured...
    Shailendra Dev

    thanks alberto.
    here is 
    2015-03-24 19:48:49.42 Server      Microsoft SQL Server 2012 (SP1) - 11.0.3000.0 (X64) 
    Oct 19 2012 13:38:57 
    Copyright (c) Microsoft Corporation
    Standard Edition (64-bit) on Windows NT 6.2 <X64> (Build 9200: ) (Hypervisor)
    2015-03-24 19:48:49.42 Server      (c) Microsoft Corporation.
    2015-03-24 19:48:49.42 Server      All rights reserved.
    2015-03-24 19:48:49.42 Server      Server process ID is 3460.
    2015-03-24 19:48:49.42 Server      System Manufacturer: 'Xen', System Model: 'HVM domU'.
    2015-03-24 19:48:49.42 Server      Authentication mode is WINDOWS-ONLY.
    2015-03-24 19:48:49.42 Server      Logging SQL Server messages in file 'D:\Program Files\Microsoft SQL Server\MSSQL11.SCSMDB\MSSQL\Log\ERRORLOG'.
    2015-03-24 19:48:49.42 Server      The service account is 'AIRWORKS\scadmin'. This is an informational message; no user action is required.
    2015-03-24 19:48:49.42 Server      Registry startup parameters: 
    -d D:\Program Files\Microsoft SQL Server\MSSQL11.SCSMDB\MSSQL\DATA\master.mdf
    -e D:\Program Files\Microsoft SQL Server\MSSQL11.SCSMDB\MSSQL\Log\ERRORLOG
    -l D:\Program Files\Microsoft SQL Server\MSSQL11.SCSMDB\MSSQL\DATA\mastlog.ldf
    2015-03-24 19:48:49.42 Server      Command Line Startup Parameters:
    -s "SCSMDB"
    -m "SqlSetup"
    -T 4022
    -T 4010
    -T 1905
    -T 3701
    -T 8015
    2015-03-24 19:48:49.69 Server      SQL Server detected 1 sockets with 1 cores per socket and 2 logical processors per socket, 2 total logical processors; using 2 logical processors based on SQL Server licensing. This is an informational message;
    no user action is required.
    2015-03-24 19:48:49.69 Server      SQL Server is starting at normal priority base (=7). This is an informational message only. No user action is required.
    2015-03-24 19:48:49.69 Server      Detected 15624 MB of RAM. This is an informational message; no user action is required.
    2015-03-24 19:48:49.69 Server      Using conventional memory in the memory manager.
    2015-03-24 19:48:49.98 Server      Perfmon counters for resource governor pools and groups failed to initialize and are disabled.
    2015-03-24 19:48:50.01 Server      This instance of SQL Server last reported using a process ID of 5124 at 3/24/2015 7:48:48 PM (local) 3/24/2015 2:18:48 PM (UTC). This is an informational message only; no user action is required.
    2015-03-24 19:48:50.03 Server      Node configuration: node 0: CPU mask: 0x0000000000000003:0 Active CPU mask: 0x0000000000000003:0. This message provides a description of the NUMA configuration for this computer. This is an informational message
    only. No user action is required.
    2015-03-24 19:48:50.07 Server      Using dynamic lock allocation.  Initial allocation of 2500 Lock blocks and 5000 Lock Owner blocks per node.  This is an informational message only.  No user action is required.
    2015-03-24 19:48:50.30 Server      Database Mirroring Transport is disabled in the endpoint configuration.
    2015-03-24 19:48:50.58 spid5s      Warning ******************
    2015-03-24 19:48:50.65 spid5s      SQL Server started in single-user mode. This an informational message only. No user action is required.
    2015-03-24 19:48:50.66 spid5s      Starting up database 'master'.
    2015-03-24 19:48:50.90 spid5s      9 transactions rolled forward in database 'master' (1:0). This is an informational message only. No user action is required.
    2015-03-24 19:48:51.04 Server      CLR version v4.0.30319 loaded.
    2015-03-24 19:48:51.17 spid5s      0 transactions rolled back in database 'master' (1:0). This is an informational message only. No user action is required.
    2015-03-24 19:48:51.17 spid5s      Recovery is writing a checkpoint in database 'master' (1). This is an informational message only. No user action is required.
    2015-03-24 19:48:51.39 Server      Software Usage Metrics is enabled.
    2015-03-24 19:48:51.81 spid5s      SQL Server Audit is starting the audits. This is an informational message. No user action is required.
    2015-03-24 19:48:51.83 Server      Common language runtime (CLR) functionality initialized using CLR version v4.0.30319 from C:\Windows\Microsoft.NET\Framework64\v4.0.30319\.
    2015-03-24 19:48:51.86 spid5s      SQL Server Audit has started the audits. This is an informational message. No user action is required.
    2015-03-24 19:48:52.02 spid5s      SQL Trace ID 1 was started by login "sa".
    2015-03-24 19:48:52.16 spid5s      Server name is 'AWISCDB\SCSMDB'. This is an informational message only. No user action is required.
    2015-03-24 19:48:52.35 spid12s     The certificate [Cert Hash(sha1) "151C8B90A9A8AF12F5EFAE3439F691E2C01A7355"] was successfully loaded for encryption.
    2015-03-24 19:48:52.35 spid12s     Server local connection provider is ready to accept connection on [ \\.\pipe\SQLLocal\SCSMDB ].
    2015-03-24 19:48:52.40 spid12s     Dedicated administrator connection support was not started because it is disabled on this edition of SQL Server. If you want to use a dedicated administrator connection, restart SQL Server using the trace flag 7806.
    This is an informational message only. No user action is required.
    2015-03-24 19:48:52.43 Server      The SQL Server Network Interface library could not register the Service Principal Name (SPN) for the SQL Server service. Windows return code: 0x490, state: 16. Failure to register a SPN might cause integrated
    authentication to use NTLM instead of Kerberos. This is an informational message. Further action is only required if Kerberos authentication is required by authentication policies and if the SPN has not been manually registered.
    2015-03-24 19:48:52.45 Server      SQL Server is attempting to register a Service Principal Name (SPN) for the SQL Server service. Kerberos authentication will not be possible until a SPN is registered for the SQL Server service. This is an informational
    message. No user action is required.
    2015-03-24 19:48:54.03 Server      The SQL Server Network Interface library successfully registered the Service Principal Name (SPN) [ MSSQLSvc/AWISCDB.AIRWORKS.IN:SCSMDB ] for the SQL Server service. 
    2015-03-24 19:48:54.03 spid14s     A new instance of the full-text filter daemon host process has been successfully started.
    2015-03-24 19:48:54.86 spid6s      Starting up database 'mssqlsystemresource'.
    2015-03-24 19:48:54.86 spid5s      Starting up database 'msdb'.
    2015-03-24 19:48:54.87 spid6s      The resource database build version is 11.00.3000. This is an informational message only. No user action is required.
    2015-03-24 19:48:55.21 spid5s      12 transactions rolled forward in database 'msdb' (4:0). This is an informational message only. No user action is required.
    2015-03-24 19:48:55.32 spid5s      0 transactions rolled back in database 'msdb' (4:0). This is an informational message only. No user action is required.
    2015-03-24 19:48:55.32 spid6s      Starting up database 'model'.
    2015-03-24 19:48:55.32 spid5s      Recovery is writing a checkpoint in database 'msdb' (4). This is an informational message only. No user action is required.
    2015-03-24 19:48:55.72 spid6s      Clearing tempdb database.
    2015-03-24 19:48:57.22 spid6s      Starting up database 'tempdb'.
    2015-03-24 19:48:59.04 spid5s      Database 'master' is upgrading script 'msdb110_upgrade.sql' from level 184551476 to level 184552376.
    2015-03-24 19:48:59.04 spid5s      ----------------------------------
    2015-03-24 19:48:59.04 spid5s      Starting execution of PRE_MSDB.SQL
    2015-03-24 19:48:59.04 spid5s      ----------------------------------
    2015-03-24 19:49:00.23 spid5s      Setting database option COMPATIBILITY_LEVEL to 100 for database 'msdb'.
    2015-03-24 19:49:00.57 spid5s      -----------------------------------------
    2015-03-24 19:49:00.57 spid5s      Starting execution of PRE_SQLAGENT100.SQL
    2015-03-24 19:49:00.57 spid5s      -----------------------------------------
    2015-03-24 19:49:00.61 spid5s      Setting database option COMPATIBILITY_LEVEL to 110 for database 'msdb'.
    2015-03-24 19:49:00.73 spid5s      Configuration option 'allow updates' changed from 1 to 1. Run the RECONFIGURE statement to install.
    2015-03-24 19:49:00.73 spid5s      Configuration option 'allow updates' changed from 1 to 1. Run the RECONFIGURE statement to install.
    2015-03-24 19:49:01.78 spid5s      Attempting to load library 'xpstar.dll' into memory. This is an informational message only. No user action is required.
    2015-03-24 19:49:01.79 spid5s      Using 'xpstar.dll' version '2011.110.3000' to execute extended stored procedure 'xp_instance_regread'. This is an informational message only; no user action is required.
    2015-03-24 19:49:01.80 spid5s      DBCC TRACEOFF 1717, server process ID (SPID) 5. This is an informational message only; no user action is required.
    2015-03-24 19:49:01.80 spid5s      DBCC execution completed. If DBCC printed error messages, contact your system administrator.
    2015-03-24 19:49:01.81 spid5s       
    2015-03-24 19:49:01.81 spid5s      Creating table temp_sysjobschedules
    2015-03-24 19:49:01.91 spid5s       
    2015-03-24 19:49:01.91 spid5s      Alter table sysdownloadlist...
    2015-03-24 19:49:01.92 spid5s       
    2015-03-24 19:49:01.92 spid5s      Alter table sysjobhistory...
    2015-03-24 19:49:01.92 spid5s       
    2015-03-24 19:49:01.92 spid5s      Alter table systargetservers...
    2015-03-24 19:49:01.92 spid5s       
    2015-03-24 19:49:01.92 spid5s      Alter table sysjobsteps...
    2015-03-24 19:49:01.99 spid5s      Configuration option 'allow updates' changed from 1 to 0. Run the RECONFIGURE statement to install.
    2015-03-24 19:49:01.99 spid5s      Configuration option 'allow updates' changed from 1 to 0. Run the RECONFIGURE statement to install.
    2015-03-24 19:49:01.99 spid5s       
    2015-03-24 19:49:01.99 spid5s      -----------------------------------------
    2015-03-24 19:49:01.99 spid5s      Execution of PRE_SQLAGENT100.SQL complete
    2015-03-24 19:49:01.99 spid5s      -----------------------------------------
    2015-03-24 19:49:02.01 spid5s      DMF pre-upgrade steps...
    2015-03-24 19:49:02.13 spid5s      DC pre-upgrade steps...
    2015-03-24 19:49:02.13 spid5s      Check if Data collector config table exists...
    2015-03-24 19:49:02.13 spid5s      Data Collector state before upgrade: 0
    2015-03-24 19:49:02.13 spid5s      pre_dc100::Check if syscollector_collection_sets_internal table exists...
    2015-03-24 19:49:02.13 spid5s      pre_dc100::Capturing Collection set status in temp table...
    2015-03-24 19:49:02.19 spid5s      Deleting cached auto-generated T-SQL Data Collection packages from msdb...
    2015-03-24 19:49:02.19 spid5s      End of DC pre-upgrade steps.
    2015-03-24 19:49:02.19 spid5s      DAC pre-upgrade steps...
    2015-03-24 19:49:02.19 spid5s      Starting DAC pre-upgrade steps ...
    2015-03-24 19:49:02.19 spid5s      End of DAC pre-upgrade steps.
    2015-03-24 19:49:02.19 spid5s      ----------------------------------
    2015-03-24 19:49:02.19 spid5s      Starting execution of MSDB.SQL
    2015-03-24 19:49:02.19 spid5s      ----------------------------------
    2015-03-24 19:49:02.23 spid5s      Configuration option 'allow updates' changed from 0 to 1. Run the RECONFIGURE statement to install.
    2015-03-24 19:49:02.23 spid5s      Configuration option 'allow updates' changed from 0 to 1. Run the RECONFIGURE statement to install.
    2015-03-24 19:49:02.27 spid5s      Checking the size of MSDB...
    2015-03-24 19:49:02.53 spid5s       
    2015-03-24 19:49:02.53 spid5s      Setting database option TRUSTWORTHY to ON for database 'msdb'.
    2015-03-24 19:49:02.53 spid5s      Setting database option RECOVERY to SIMPLE for database 'msdb'.
    2015-03-24 19:49:02.64 spid5s      ----------------------------------
    2015-03-24 19:49:02.64 spid5s      Finished execution of MSDB.SQL
    2015-03-24 19:49:02.64 spid5s      ----------------------------------
    2015-03-24 19:49:02.64 spid5s      -----------------------------------------
    2015-03-24 19:49:02.64 spid5s      Starting execution of MSDB_VERSIONING.SQL
    2015-03-24 19:49:02.64 spid5s      -----------------------------------------
    2015-03-24 19:49:02.64 spid5s      -----------------------------------------
    2015-03-24 19:49:02.64 spid5s      Finished execution of MSDB_VERSIONING.SQL
    2015-03-24 19:49:02.64 spid5s      -----------------------------------------
    2015-03-24 19:49:02.64 spid5s      Dropping view MSdatatype_mappings...
    2015-03-24 19:49:02.65 spid5s      Dropping view sysdatatypemappings...
    2015-03-24 19:49:02.65 spid5s      Dropping table MSdbms_datatype_mapping...
    2015-03-24 19:49:02.66 spid5s      Dropping table MSdbms_map...
    2015-03-24 19:49:02.67 spid5s      Dropping table MSdbms_datatype...
    2015-03-24 19:49:02.67 spid5s      Dropping table MSdbms...
    2015-03-24 19:49:02.73 spid5s      Creating table MSdbms
    2015-03-24 19:49:02.75 spid5s      Creating table MSdbms_datatype
    2015-03-24 19:49:03.01 spid5s      Creating table MSdbms_map
    2015-03-24 19:49:03.02 spid5s      Creating table MSdbms_datatype_mapping
    2015-03-24 19:49:03.03 spid5s      Definining default datatype mappings
    2015-03-24 19:49:03.04 spid5s      Creating datatype mappings for MSSQLSERVER to ORACLE8
    2015-03-24 19:49:03.21 spid5s      Creating datatype mappings for MSSQLSERVER to ORACLE9
    2015-03-24 19:49:03.29 spid5s      Creating datatype mappings for MSSQLSERVER to ORACLE10
    2015-03-24 19:49:03.37 spid5s      Creating datatype mappings for MSSQLSERVER to ORACLE11
    2015-03-24 19:49:03.46 spid5s      Creating datatype mappings for MSSQLSERVER to DB2
    2015-03-24 19:49:03.54 spid5s      Creating datatype mappings for MSSQLSERVER to SYBASE
    2015-03-24 19:49:03.62 spid5s      Creating datatype mappings for ORACLE8 to MSSQLSERVER
    2015-03-24 19:49:03.71 spid5s      Creating datatype mappings for ORACLE9 to MSSQLSERVER
    2015-03-24 19:49:03.83 spid5s      Creating datatype mappings for ORACLE10 to MSSQLServer
    2015-03-24 19:49:03.95 spid5s      Creating datatype mappings for ORACLE11 to MSSQLServer
    2015-03-24 19:49:04.08 spid5s      Creating view MSdatatype_mappings
    2015-03-24 19:49:04.08 spid5s      Creating view sysdatatypemappings
    2015-03-24 19:49:05.08 spid5s       
    2015-03-24 19:49:05.08 spid5s      Creating table syssubsystems...
    2015-03-24 19:49:05.09 spid5s       
    2015-03-24 19:49:05.09 spid5s      Creating view sysproxyloginsubsystem_view...
    2015-03-24 19:49:05.11 spid5s       
    2015-03-24 19:49:05.11 spid5s      Creating trigger trig_sysoriginatingservers_delete...
    2015-03-24 19:49:05.11 spid5s       
    2015-03-24 19:49:05.11 spid5s      Creating view sysoriginatingservers_view...
    2015-03-24 19:49:05.12 spid5s       
    2015-03-24 19:49:05.12 spid5s      Creating trigger trig_sysjobs_insert_update...
    2015-03-24 19:49:05.13 spid5s       
    2015-03-24 19:49:05.13 spid5s      Creating view sysjobs_view...
    2015-03-24 19:49:05.15 spid5s       
    2015-03-24 19:49:05.15 spid5s      Creating trigger trig_sysschedules_insert_update...
    2015-03-24 19:49:05.16 spid5s       
    2015-03-24 19:49:05.16 spid5s      Creating view sysschedules_localserver_view...
    2015-03-24 19:49:05.21 spid5s       
    2015-03-24 19:49:05.21 spid5s      Creating view systargetservers_view...
    2015-03-24 19:49:05.23 spid5s       
    2015-03-24 19:49:05.23 spid5s      Creating view sysalerts_performance_counters_view...
    2015-03-24 19:49:05.25 spid5s       
    2015-03-24 19:49:05.25 spid5s      Creating function SQLAGENT_SUSER_SNAME ...
    2015-03-24 19:49:05.25 spid5s       
    2015-03-24 19:49:05.25 spid5s      Creating function SQLAGENT_SUSER_SID ...
    2015-03-24 19:49:05.26 spid5s       
    2015-03-24 19:49:05.26 spid5s      Creating procedure SP_SQLAGENT_IS_SRVROLEMEMBER...
    2015-03-24 19:49:05.27 spid5s       
    2015-03-24 19:49:05.27 spid5s      Creating procedure sp_verify_category_identifiers...
    2015-03-24 19:49:05.27 spid5s       
    2015-03-24 19:49:05.27 spid5s      Creating function agent_datetime...
    2015-03-24 19:49:05.27 spid5s       
    2015-03-24 19:49:05.27 spid5s      Creating procedure sp_verify_proxy_identifiers...
    2015-03-24 19:49:05.28 spid5s       
    2015-03-24 19:49:05.28 spid5s      Creating procedure sp_verify_credential_identifiers...
    2015-03-24 19:49:05.29 spid5s       
    2015-03-24 19:49:05.29 spid5s      Creating procedure sp_verify_subsystems...
    2015-03-24 19:49:05.30 spid5s       
    2015-03-24 19:49:05.30 spid5s      Creating procedure sp_verify_subsystem_identifiers...
    2015-03-24 19:49:05.30 spid5s       
    2015-03-24 19:49:05.30 spid5s      Creating procedure sp_verify_login_identifiers...
    2015-03-24 19:49:05.31 spid5s       
    2015-03-24 19:49:05.31 spid5s      Creating procedure sp_verify_proxy...
    2015-03-24 19:49:05.31 spid5s       
    2015-03-24 19:49:05.31 spid5s      Creating procedure sp_add_proxy...
    2015-03-24 19:49:05.32 spid5s       
    2015-03-24 19:49:05.32 spid5s      Creating procedure sp_delete_proxy...
    2015-03-24 19:49:05.32 spid5s       
    2015-03-24 19:49:05.32 spid5s      Creating procedure sp_update_proxy...
    2015-03-24 19:49:05.33 spid5s       
    2015-03-24 19:49:05.33 spid5s      Creating procedure sp_sqlagent_is_member...
    2015-03-24 19:49:05.33 spid5s       
    2015-03-24 19:49:05.33 spid5s      Creating procedure sp_verify_proxy_permissions...
    2015-03-24 19:49:05.34 spid5s       
    2015-03-24 19:49:05.34 spid5s      Creating procedure sp_help_proxy...
    2015-03-24 19:49:05.35 spid5s       
    2015-03-24 19:49:05.35 spid5s      Creating procedure sp_get_proxy_properties...
    2015-03-24 19:49:05.36 spid5s       
    2015-03-24 19:49:05.36 spid5s      Creating procedure sp_grant_proxy_to_subsystem...
    2015-03-24 19:49:05.36 spid5s       
    2015-03-24 19:49:05.36 spid5s      Creating procedure sp_grant_login_to_proxy...
    2015-03-24 19:49:05.37 spid5s       
    2015-03-24 19:49:05.37 spid5s      Creating procedure sp_revoke_login_from_proxy...
    2015-03-24 19:49:05.37 spid5s       
    2015-03-24 19:49:05.37 spid5s      Creating procedure sp_revoke_proxy_from_subsystem...
    2015-03-24 19:49:05.38 spid5s       
    2015-03-24 19:49:05.38 spid5s      Creating procedure sp_enum_proxy_for_subsystem...
    2015-03-24 19:49:05.38 spid5s       
    2015-03-24 19:49:05.38 spid5s      Creating procedure sp_enum_login_for_proxy...
    2015-03-24 19:49:05.39 spid5s       
    2015-03-24 19:49:05.39 spid5s      Creating procedure sp_reassign_proxy...
    2015-03-24 19:49:05.40 spid5s       
    2015-03-24 19:49:05.40 spid5s      Creating procedure sp_sqlagent_get_startup_info...
    2015-03-24 19:49:05.41 spid5s       
    2015-03-24 19:49:05.41 spid5s      Creating procedure sp_sqlagent_update_agent_xps...
    2015-03-24 19:49:05.42 spid5s       
    2015-03-24 19:49:05.42 spid5s      Creating procedure sp_sqlagent_has_server_access...
    2015-03-24 19:49:05.45 spid5s       
    2015-03-24 19:49:05.45 spid5s      Creating procedure sp_sqlagent_get_perf_counters...
    2015-03-24 19:49:05.46 spid5s       
    2015-03-24 19:49:05.46 spid5s      Creating procedure sp_sqlagent_notify...
    2015-03-24 19:49:05.47 spid5s       
    2015-03-24 19:49:05.47 spid5s      Creating procedure sp_is_sqlagent_starting...
    2015-03-24 19:49:05.47 spid5s       
    2015-03-24 19:49:05.47 spid5s      Creating procedure sp_verify_job_identifiers...
    2015-03-24 19:49:05.48 spid5s       
    2015-03-24 19:49:05.48 spid5s      Creating procedure sp_verify_schedule_identifiers...
    2015-03-24 19:49:05.49 spid5s       
    2015-03-24 19:49:05.49 spid5s      Creating procedure sp_verify_jobproc_caller...
    2015-03-24 19:49:05.50 spid5s       
    2015-03-24 19:49:05.50 spid5s      Creating procedure sp_downloaded_row_limiter...
    2015-03-24 19:49:05.51 spid5s       
    2015-03-24 19:49:05.51 spid5s      Creating procedure sp_post_msx_operation...
    2015-03-24 19:49:05.54 spid5s       
    2015-03-24 19:49:05.54 spid5s      Creating procedure sp_verify_performance_condition...
    2015-03-24 19:49:05.58 spid5s       
    2015-03-24 19:49:05.58 spid5s      Creating procedure sp_verify_job_date...
    2015-03-24 19:49:05.59 spid5s       
    2015-03-24 19:49:05.59 spid5s      Creating procedure sp_verify_job_time...
    2015-03-24 19:49:05.61 spid5s       
    2015-03-24 19:49:05.61 spid5s      Creating procedure sp_verify_alert...
    2015-03-24 19:49:05.62 spid5s       
    2015-03-24 19:49:05.62 spid5s      Creating procedure sp_update_alert...
    2015-03-24 19:49:05.63 spid5s       
    2015-03-24 19:49:05.63 spid5s      Creating procedure sp_delete_job_references...
    2015-03-24 19:49:05.65 spid5s       
    2015-03-24 19:49:05.65 spid5s      Creating procedure sp_delete_all_msx_jobs...
    2015-03-24 19:49:05.66 spid5s       
    2015-03-24 19:49:05.66 spid5s      Creating procedure sp_generate_target_server_job_assignment_sql...
    2015-03-24 19:49:05.66 spid5s       
    2015-03-24 19:49:05.66 spid5s      Creating procedure sp_generate_server_description...
    2015-03-24 19:49:05.67 spid5s       
    2015-03-24 19:49:05.67 spid5s      Creating procedure sp_msx_set_account...
    2015-03-24 19:49:05.68 spid5s       
    2015-03-24 19:49:05.68 spid5s      Creating procedure sp_msx_get_account...
    2015-03-24 19:49:05.69 spid5s       
    2015-03-24 19:49:05.69 spid5s      Creating procedure sp_delete_operator...
    2015-03-24 19:49:05.70 spid5s       
    2015-03-24 19:49:05.70 spid5s      Creating procedure sp_msx_defect...
    2015-03-24 19:49:05.71 spid5s       
    2015-03-24 19:49:05.71 spid5s      Creating procedure sp_msx_enlist...
    2015-03-24 19:49:05.72 spid5s       
    2015-03-24 19:49:05.72 spid5s      Creating procedure sp_delete_targetserver...
    2015-03-24 19:49:05.73 spid5s       
    2015-03-24 19:49:05.73 spid5s      Creating procedure sp_enlist_tsx
    2015-03-24 19:49:05.74 spid5s       
    2015-03-24 19:49:05.74 spid5s      Creating procedure sp_get_sqlagent_properties...
    2015-03-24 19:49:05.76 spid5s       
    2015-03-24 19:49:05.76 spid5s      Create procedure sp_set_sqlagent_properties...
    2015-03-24 19:49:05.76 spid5s       
    2015-03-24 19:49:05.76 spid5s      Creating procedure sp_add_targetservergroup...
    2015-03-24 19:49:05.77 spid5s       
    2015-03-24 19:49:05.77 spid5s      Creating procedure sp_update_targetservergroup...
    2015-03-24 19:49:05.78 spid5s       
    2015-03-24 19:49:05.78 spid5s      Creating procedure sp_delete_targetservergroup...
    2015-03-24 19:49:05.78 spid5s       
    2015-03-24 19:49:05.78 spid5s      Creating procedure sp_help_targetservergroup...
    2015-03-24 19:49:05.79 spid5s       
    2015-03-24 19:49:05.79 spid5s      Creating procedure sp_add_targetsvgrp_member...
    2015-03-24 19:49:05.80 spid5s       
    2015-03-24 19:49:05.80 spid5s      Creating procedure sp_delete_targetsvrgrp_member...
    2015-03-24 19:49:05.81 spid5s       
    2015-03-24 19:49:05.81 spid5s      Creating procedure sp_verify_category...
    2015-03-24 19:49:05.81 spid5s       
    2015-03-24 19:49:05.81 spid5s      Creating procedure sp_add_category...
    2015-03-24 19:49:05.82 spid5s       
    2015-03-24 19:49:05.82 spid5s      Creating procedure sp_update_category...
    2015-03-24 19:49:05.83 spid5s       
    2015-03-24 19:49:05.83 spid5s      Creating procedure sp_delete_category...
    2015-03-24 19:49:05.83 spid5s       
    2015-03-24 19:49:05.84 spid5s      Creating procedure sp_help_category...
    2015-03-24 19:49:05.84 spid5s       
    2015-03-24 19:49:05.84 spid5s      Creating procedure sp_help_targetserver...
    2015-03-24 19:49:05.85 spid5s       
    2015-03-24 19:49:05.85 spid5s      Creating procedure sp_resync_targetserver...
    2015-03-24 19:49:06.06 spid5s       
    2015-03-24 19:49:06.06 spid5s      Creating procedure sp_purge_jobhistory...
    2015-03-24 19:49:06.09 spid5s       
    2015-03-24 19:49:06.09 spid5s      Creating procedure sp_help_jobhistory...
    2015-03-24 19:49:06.10 spid5s       
    2015-03-24 19:49:06.10 spid5s      Creating procedure sp_add_jobserver...
    2015-03-24 19:49:06.11 spid5s       
    2015-03-24 19:49:06.11 spid5s      Creating procedure sp_delete_jobserver...
    2015-03-24 19:49:06.11 spid5s      Error: 10011, Severity: 16, State: 1.
    2015-03-24 19:49:06.11 spid5s      Access denied.
    2015-03-24 19:49:06.11 spid5s      Error: 917, Severity: 15, State: 1.
    2015-03-24 19:49:06.11 spid5s      An upgrade script batch failed to execute for database 'master' due to compilation error. Check the previous error message  for the line which caused compilation to fail.
    2015-03-24 19:49:06.11 spid5s      Error: 912, Severity: 21, State: 2.
    2015-03-24 19:49:06.11 spid5s      Script level upgrade for database 'master' failed because upgrade step 'msdb110_upgrade.sql' encountered error 917, state 1, severity 15. This is a serious error condition which might interfere with regular
    operation and the database will be taken offline. If the error happened during upgrade of the 'master' database, it will prevent the entire SQL Server instance from starting. Examine the previous errorlog entries for errors, take the appropriate corrective
    actions and re-start the database so that the script upgrade steps run to completion.
    2015-03-24 19:49:06.11 spid5s      Error: 3417, Severity: 21, State: 3.
    2015-03-24 19:49:06.11 spid5s      Cannot recover the master database. SQL Server is unable to run. Restore master from a full backup, repair it, or rebuild it. For more information about how to rebuild the master database, see SQL Server Books
    Online.
    2015-03-24 19:49:06.12 spid5s      SQL Trace was stopped due to server shutdown. Trace ID = '1'. This is an informational message only; no user action is required.
    2015-03-24 19:49:06.50 spid12s     The SQL Server Network Interface library successfully deregistered the Service Principal Name (SPN) [ MSSQLSvc/AWISCDB.AIRWORKS.IN:SCSMDB ] for the SQL Server service. 
    Shailendra Dev

  • Internal server error while connecting to Tandem NonStop SQL database

    Hi -
    We are trying to connect to the Tandem NonStop SQL database through JDeveloper.
    We are using Type4 JDBC driver provided by Tandem NonStop and everything works fine from Database connection to testing the AppModule through the BC4J tester. The VOs return rows perfectly when we test the AppModule.
    BUT -
    When we try to invoke a jspx page (using embedded OC4J server) with an ADF Read Only table of the ViewObj, we get a "500 Internal Server Error" with following details. (Error listing at the end)
    We are using:
    JDeveloper 10.1.3.0 SU5
    ADF JSF
    And the database is NonStop SQL on Tandem NonStop Server S Series box.
    Any help to resolve the issue will be highly appreciated. We also face problems when making this as a WebService - detals of which I will post in a new thread.
    Thanks in advance,
    Saran
    Error Listing (portions removed)
    JBO-30003: The application pool (model.PxdAppModuleLocal) failed to checkout an application module due to the following exception:
    oracle.jbo.JboException: JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-29000: Unexpected exception caught: oracle.jbo.DMLException, msg=JBO-26061: Error while opening JDBC connection.
         at oracle.jbo.JboException.<init>(JboException.java:346)
    ## Detail 0 ##
    oracle.jbo.JboException: JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-29000: Unexpected exception caught: oracle.jbo.DMLException, msg=JBO-26061: Error while opening JDBC connection.
         at oracle.jbo.JboException.<init>(JboException.java:346)
    ## Detail 0 ##
    oracle.jbo.JboException: JBO-29000: Unexpected exception caught: oracle.jbo.DMLException, msg=JBO-26061: Error while opening JDBC connection.
         at oracle.jbo.JboException.<init>(JboException.java:346)
    ## Detail 0 ##
    oracle.jbo.DMLException: JBO-26061: Error while opening JDBC connection.
         at oracle.jbo.server.ConnectionPool.createConnection(ConnectionPool.java:220)
    ## Detail 0 ##
    java.sql.SQLException: No suitable driver
         at java.sql.DriverManager.getConnection(DriverManager.java:545)
         at java.sql.DriverManager.getConnection(DriverManager.java:140)
         at oracle.jbo.server.ConnectionPool.createConnection(ConnectionPool.java:189)

    Kuba -
    I have done exactly as mentioned in the link you have provided except that I am using JSF instead of Struts.
    As I have mentioned earlier, if I test the AppModule through the BC4J tester it works fine. I can see my ViewObject with rows from the Tandem database. Only when I run the JSF page do I get the error. Is there something I need to configure in faces-config for accesing Tandme database?
    Saran

  • Getting Type Mismatch Error while passing Array of Interfaces from C#(VSTO) to VBA through IDispatch interface

    Hi,
    I am facing issues like Type Mismatch while passing Array of interfaces from .NET  to VBA and vice versa using VSTO technology.
    My requirement is that ComInterfaceType needs to be InterfaceIsIDispatch.
    My Interface definition is somewhat like this
        [ComVisible(true)]
        [InterfaceType(ComInterfaceType.InterfaceIsIDispatch)]
        [Guid("AAF48FBC-52B6-4179-A8D2-944D7FBF264E")]
        public interface IInterface1
            [DispId(0)]
            IInterface2[] GetObj();
            [DispId(1)]
            void SetObj(ref IInterface2[] obj);
        [ComVisible(true)]
        [InterfaceType(ComInterfaceType.InterfaceIsIDispatch)]
        [Guid("CDC06E1D-FE8C-477E-97F1-604B73EF868F")]
        public interface IInterface2
    IF i am passing array of above interface (created in C#.Net) to VBA using GetObj API,i am getting type mismatch error in VBA while assigning the value to variable in VBA.Even assigning to variant type variable gives TypeMismatch.
    Also while passing Array of interfaces from VBA using SetObj API,excel crashes and sometimes it says method doesn't exists.
    Kindly provide some assistance regarding the same.
    Thanks

    Hi,
    I am facing issues like Type Mismatch while passing Array of interfaces from .NET  to VBA and vice versa using VSTO technology.
    My requirement is that ComInterfaceType needs to be InterfaceIsIDispatch.
    My Interface definition is somewhat like this
        [ComVisible(true)]
        [InterfaceType(ComInterfaceType.InterfaceIsIDispatch)]
        [Guid("AAF48FBC-52B6-4179-A8D2-944D7FBF264E")]
        public interface IInterface1
            [DispId(0)]
            IInterface2[] GetObj();
            [DispId(1)]
            void SetObj(ref IInterface2[] obj);
        [ComVisible(true)]
        [InterfaceType(ComInterfaceType.InterfaceIsIDispatch)]
        [Guid("CDC06E1D-FE8C-477E-97F1-604B73EF868F")]
        public interface IInterface2
    IF i am passing array of above interface (created in C#.Net) to VBA using GetObj API,i am getting type mismatch error in VBA while assigning the value to variable in VBA.Even assigning to variant type variable gives TypeMismatch.
    Also while passing Array of interfaces from VBA using SetObj API,excel crashes and sometimes it says method doesn't exists.
    Kindly provide some assistance regarding the same.
    Thanks

  • Time Out Error while waiting for response from DB Procedure

    Hi Gurus,
    We are encountering a problem in our production environment. The system is implemented using AIA foundation pack 2.5 on SOA suite 10.1.3.4.
    We have a BPEL process A which calls an ESB Service which inturn calls BPEL Process B. In process B, we have a DB procedure call which waits for a response from
    a DB procedure. The procedure doesn't reply on time and Process B remains in waiting state to get the response from DB Procedure wherein Process A errors out by showing as "Timed Out Error".
    This issue is intermittent and we have already increased transaction-time outs in transaction-manager.xml to 7200 and ejb-orion-jar.xml to 3600.
    When we encountered this problem, we found out that there are too many connections open and when we bounced the server, everything was restored to nornal but as it is a production env. we can't do it over and over again.
    We have 2 nodes each having max connections as 100 and min. as 0.
    Is there a limit to max no. of connections or can we do something in DB side to ensure that it doesn't happen again ?
    Please suggest.
    Thanks,
    Vikas Manchanda

    Hi Anuj,
    I don't think it is a problem with connection reaching to max numbers because this issue is coming on very intermittent basis.we don't have any other processes using
    the same connection pool and this issue is coming even when there is no load on the server. This is recent trace from the production environment. Also i don't have any thing called "abandoned-connection-pool" in my data-sources.xml.
    <2011-07-07 13:09:16,101> <ERROR> <default.collaxa.cube> <BaseCubeSessionBean::logError> Error while invoking bean "delivery": Waiting for response has timed out. The conversation id is null. Please check the process instance for detail.
    com.oracle.bpel.client.delivery.ReceiveTimeOutException: Waiting for response has timed out. The conversation id is null. Please check the process instance for detail.
    at com.collaxa.cube.ejb.impl.DeliveryBean.request(DeliveryBean.java:109)
    at sun.reflect.GeneratedMethodAccessor113.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:592)
    at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.JAASInterceptor$1.run(JAASInterceptor.java:31)
    at com.evermind.server.ThreadState.runAs(ThreadState.java:693)
    at com.evermind.server.ejb.interceptor.system.JAASInterceptor.invoke(JAASInterceptor.java:34)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:50)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
    at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
    at DeliveryBean_RemoteProxy_4bin6i8.request(Unknown Source)
    at com.collaxa.cube.ws.soap.oc4j.SOAPRequestProvider.processNormalOperation(SOAPRequestProvider.java:451)
    at com.collaxa.cube.ws.soap.oc4j.SOAPRequestProvider.processBPELMessage(SOAPRequestProvider.java:274)
    at com.collaxa.cube.ws.soap.oc4j.SOAPRequestProvider.processMessage(SOAPRequestProvider.java:120)
    at oracle.j2ee.ws.server.provider.ProviderProcessor.doEndpointProcessing(ProviderProcessor.java:956)
    at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:349)
    at oracle.j2ee.ws.server.provider.ProviderProcessor.doRequestProcessing(ProviderProcessor.java:466)
    at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:114)
    at oracle.j2ee.ws.server.WebServiceProcessor.doService(WebServiceProcessor.java:96)
    at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:194)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
    at oracle.security.jazn.oc4j.JAZNFilter$1.run(JAZNFilter.java:400)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
    at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:414)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:623)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:595)
    Caused by: com.oracle.bpel.client.delivery.ReceiveTimeOutException: Waiting for response has timed out. The conversation id is null. Please check the process instance for detail.
    at com.collaxa.cube.engine.delivery.DeliveryHandler.initialRequestAnyType(DeliveryHandler.java:576)
    at com.collaxa.cube.engine.delivery.DeliveryHandler.initialRequest(DeliveryHandler.java:465)
    at com.collaxa.cube.engine.delivery.DeliveryHandler.request(DeliveryHandler.java:134)
    at com.collaxa.cube.ejb.impl.DeliveryBean.request(DeliveryBean.java)
    Please suggest.
    Thanks,
    Vikas Manchanda

  • Error while opening two cursors in same procedure...

    Hi :
    I have written following Procedure:
    Declare
    procedure pro_canefortnight_master Is
    kr_caneperiodid integer;
    last_caneperiod_id number(10,0);
    kr_forthnightid integer;
    last_forthnight_id number(10,0);
    ref_caneperiodid integer;
    ref_seasonyrid integer;
    ctr integer:= 1;
    CURSOR comp_cur IS select * from CMS_SEASON_YEAR_MASTER ;
    comp_rec comp_cur%ROWTYPE;
    BEGIN
    OPEN comp_cur;
    FETCH comp_cur INTO comp_rec;
    WHILE comp_cur%FOUND
    LOOP
    kr_caneperiodid:= comp_rec.SEASON_YR_ID;
    select max(crayom_db.cr_cane_calender.cr_cane_calender_ID) into last_caneperiod_id from crayom_db.cr_cane_calender;
    if last_caneperiod_id <> 0 then
    last_caneperiod_id:= last_caneperiod_id + 1;
    else
    last_caneperiod_id:= 1000000;
    end if;
    insert into crayom_db.CR_CANE_CALENDER(cr_cane_calender_ID,ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby,CR_CANE_CALENDER_NAME,DESCRIPTION) values(last_caneperiod_id,11,11,comp_rec.current_season,sysdate,100,sysdate,11,comp_rec.DESC_MA,comp_rec.DESC_EN);
    COMMIT;
    /*insert into crayom_db.CR_IdBackup(kr_cultivationtypeid,cr_cultivationtypeid) values(kr_cultivationtypeid, last_cultivationtype_id);*/
    insert into crayom_db.temp(kr_bpartnerid,cr_bpartnerid) values(comp_rec.season_yr_id,last_caneperiod_id);
    commit;
    FETCH comp_cur INTO comp_rec;
    End LOOP;
    close comp_cur;
    CURSOR comp_cur1 IS select * from CMS_FORTH_NIGHT_MASTER ;
    comp_rec1 comp_cur1%ROWTYPE;
    OPEN comp_cur1;
    FETCH comp_cur1 INTO comp_rec1;
    WHILE comp_cur1%FOUND
    LOOP
    kr_forthnightid:= comp_rec1.forthnight_id;
    select max(crayom_db.cr_cane_calender_period.cr_cane_calender_period_ID) into last_forthnight_id from crayom_db.cr_cane_calender_period;
    if last_forthnight_id <> 0 then
    last_forthnight_id:= last_forthnight_id + 1;
    else
    last_forthnight_id:= 1000000;
    end if;
    if ref_seasonyrid <> comp_rec1.season_yr_id then
    ref_seasonyrid:= comp_rec1.season_yr_id;
    else
    ctr:= ctr + 1;
    end if;
    SELECT cr_bpartnerid into ref_caneperiodid from crayom_db.temp where kr_bpartnerid = comp_rec1.season_yr_id;
    dbms_output.put_line(ref_caneperiodid);
    insert into crayom_db.CR_CANE_CALENDER_period(cr_cane_calender_period_ID,ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby,Enddate,name, startdate, cr_cane_calender_id) values(last_forthnight_id,11,11,comp_rec1.current_season,sysdate,100,sysdate,11,comp_rec1.end_date,'ForthNight' || ctr, comp_rec1.start_date,ref_caneperiodid);
    commit;
    FETCH comp_cur1 INTO comp_rec1;
    End LOOP;
    close comp_cur1;
    END;
    BEGIN
    pro_canefortnight_master();
    END;
    But I am getting following Error:
    Error report:
    ORA-06550: line 429, column 8:
    PLS-00103: Encountered the symbol "COMP_CUR1" when expecting one of the following:
    := . ( @ % ;
    ORA-06550: line 433, column 1:
    PLS-00103: Encountered the symbol "FETCH" when expecting one of the following:
    begin function package pragma procedure subtype type use
    <an identifier> <a double-quoted delimited-identifier> form
    current cursor
    The symbol "begi
    ORA-06550: line 472, column 1:
    PLS-00103: Encountered the symbol "BEGIN" when expecting one of the following:
    end not pragma final instantiable order overriding static
    member constructor map
    ORA-06550: line 477, column 4:
    PLS-00103: Encountered the symbol "end-of-file" when expecting one of the following:
    end not pragma final instantiable order overriding static
    member constructor map
    06550. 00000 - "line %s, column %s:\n%s"
    *Cause: Usually a PL/SQL compilation error.
    *Action:
    Can any body help me?
    Thank You.
    Edited by: [email protected] on Oct 22, 2009 4:36 AM

    [email protected] wrote:
    CURSOR comp_cur1 IS select * from CMS_FORTH_NIGHT_MASTER ;
    comp_rec1 comp_cur1%ROWTYPE;This is probably the issue. All variable definitions, including cursors, must be in the DEFINE section of a procedure (between either DECLARE ... BEGIN or AS/IS ... BEGIN).
    In addition I wanted to note the following:
    1. When posting it is helpful to identify your Oracle version (e.g. 10.2.0.4).
    2. Any code that is posted should be placed between \ tags to improve readability.
    3. It looks like the code is doing "slow by slow" processing (a.k.a single record processing). It could probably be made much cleaner, maintainable and better performing by possibly using INSERT .. AS SELECT ... or something along those lines.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Passing array to pl/sql procedure - pls-00306 wrong number/types of args

    its oracle 10.2 database;
    I have a procedure with array parameters based on simple sql types.
    eg
    create or replace type vt_attrname is table of varchar2(50);
    Now my call to the procedure works when the array is empty;
    as soon as I bulk collect into my local array, I get a compilation error.
    eg
    declare
    my_array  vt_attrname;
    begin
    select label
      bulk collect
      into my_array
      from table_name
    where 1=1;
    my_proc(p_array=>my_array);  -- syntax error
    end;if I pass null the call works but obviously array is empty.
    I have read something about varray's being incompatible between sqltypes and pl/sql.
    How do I get around this problem?
    The bulk collect is working okay.
    A small example would be appreciated.

    Yep, I spotted the syntax error earlier.
    However even though that seems to compile ok, I still get the problem with my package call.
    heres the actual call from the code
    vt_attrname and vt_attrvalues are types declared on another schema.
    I have redeclared them on the current schema now.
    create or replace type vt_attrname is table of varchar2(50);
    create or replace type vt_attrvalue is table of varchar2(500);
    create procedure <name>
    as
    v_cardapplattrtag   vt_attrname;
    v_cardapplattrvalue vt_attrvalue;
      for cardappl_cur in
        (select cardappl_id 
           from ci_cardappl
          where custcard_id = cur.document_logical_number)
        loop
        select label
          bulk collect
          into v_cardapplattrtag
          from ci_applver_attribute
          where applver_id = v_applver_id;
          v_array_size := v_cardapplattrtag.count;
        -- populate this array
        -- ppt_cardapplattrtag comes from ci_pplver_attribute
        --ppt_cardapplattrvalue -- various
    cci_setcardappl.SetCardApplAttrValue(
              pn_cardappl_id                 =>     cardappl_cur.cardappl_id,
              ppt_cardapplattrtag     =>      v_cardapplattrtag, -- works when null
              ppt_cardapplattrvalue   =>     NULL,
              pn_cardapplattrsize     =>     v_array_size,
              pv_arn                  =>     cur.application_request_id,
              pv_commit               =>    'FALSE');and the procedure protototype is
    PROCEDURE SetCardApplAttrValue(
              pn_cardappl_id           IN     NUMBER,
              ppt_cardapplattrtag     IN     VT_BPATTRNAME DEFAULT NULL,
              ppt_cardapplattrvalue   IN     VT_BPATTRVALUE DEFAULT NULL,
              pn_cardapplattrsize     IN     NUMBER,
              pv_arn                  IN     VARCHAR2,
              pv_commit               IN     VARCHAR2 DEFAULT 'FALSE');Edited by: Keith Jamieson on Sep 23, 2009 10:42 AM

  • Returning collection-associative array from pl-sql procedure

    CREATE OR REPLACE procedure test_ganesh( p_deptno IN number,gana out PARTIES_RESULT)
    is
    query varchar2(200);
    PARTY_ID varchar2(200);
    PARTY_CODE varchar2(200);
    PARTY_NAME varchar2(200);
    PARTY_SEQ VARCHAR2(200);
    counter number;
    TYPE PARTIES IS TABLE OF varchar2(2000) index by binary_integer;
    txn_parties PARTIES;
    type PARTIES_RESULT IS TABLE OF PARTIES index by binary_integer;
    total_result PARTIES_RESULT;
    TYPE EmpTyp IS REF CURSOR;
    p_du EmpTyp;
    p_cursor EmpTyp;
    global_counter number;
    begin
    global_counter:=1;
    counter:=1;
    open p_cursor FOR
    select A.ref_no
    from ot_lc_txn_details A
    where rownum <12;
    LOOP
    FETCH p_cursor INTO query;
    EXIT WHEN p_cursor%NOTFOUND;
    counter:=1;
    open p_du FOR
         select party_id,party_code,seq_no,party_name from ot_txn_party where ref_no=query;
         LOOP
         FETCH p_du INTO PARTY_ID,PARTY_CODE,PARTY_SEQ,PARTY_NAME;
         EXIT WHEN p_du%NOTFOUND;
         txn_parties(counter):=PARTY_ID || '&&&' || PARTY_CODE || '&&&'||PARTY_SEQ || '&&&' || PARTY_NAME;
              counter:=counter+1;
         END LOOP;
         CLOSE p_du;
    total_result(global_counter):=txn_parties;
    global_counter:=global_counter+1;
    END LOOP;
    CLOSE p_cursor;
    --open gana FOR SELECT * FROM table(cast(total_result as PARTIES_RESULT)) ;
    end;
    The error comes at line one, PLS-00905- object PARTIES_RESULT is invalid.
    i have used the create type thing to create this type.
    if i remove the out parameter it works, no compilation error.
    Questions i) How to return the associative array as out parameter?
    ii)Am i doing aynthing qrong here?
    iii) Can i open a ref cursor to this associative array and then return that ref_cursor?
    Please anyone reply back, Thanks in advance
    Message was edited by:
    user649602

    As an example:
    SQL> create type PARTIES is table of varchar2(2000);
      2  /
    Type created.
    SQL> create or replace procedure proc1(p_deptno number,gana out parties) as
      2  begin
      3   select ename
      4   bulk collect into gana
      5   from emp
      6   where deptno = p_deptno;
      7  end;
      8  /
    Procedure created.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Error while retrieving data from PL/SQL Table using SELECT st. (Urgent!!!)

    Hi Friends,
    I am using Oracle 8.1.6 Server, & facing problems while retrieving data from a PL/SQL Table:
    CREATE or REPLACE PROCEDURE test_proc IS
    TYPE tP2 is TABLE of varchar2(10); --declared a collection
    dt2 tP2 := tP2('a','b','c');
    i NUMBER(8);
    begin
    SELECT COUNT(*) INTO i FROM TABLE(CAST(dt2 as tP2));
    DBMS_OUTPUT.PUT_LINE('**'||i);
    end;
    While executing the above procedure, I encountered foll. error:
    ERROR at line 1:
    ORA-00600: internal error code, arguments: [15419], [severe error during PL/SQL execution], [], [],
    ORA-06544: PL/SQL: internal error, arguments: [pfrrun.c:pfrbnd1()], [], [], [], [], [], [], []
    ORA-06553: PLS-801: internal error [0]
    Can anyone please help me, where the problem is??
    Is it Possible to retrieve data from PL/SQL TABLE using SELECT statement? & How ?
    Thanks in advance.
    Best Regards,
    Jay Raval.

    Thanks Roger for the Update.
    It means that have to first CREATE TYPE .. TABLE in database then only I can fire a Select statement on that TYPE.
    Actually I wanted to fire a Select statement on the TABLE TYPE, defined & declared in PLSQL stored procedure using DECLARE TYPE .. TABLE & not using CREATE TYPE .. TABLE.
    I was eager to know this, because my organization is reluctant in using CREATE TYPE .. TABLE defined in the database, so I was looking out for another alternative to access PL/SQL TABLE using Select statement without defining it database. It would have been good if I could access a PLSQL TABLE using Select statement Declared locally in the stored procedure.
    Can I summarize that to access a PL/SQL TABLE using SELECT statement, I have to first CREATE TYPE .. TABLE?
    If someone have any other idea on this, please do let me know.
    Thanks a lot for all help.
    Best Regards,
    Jay Raval.
    You have to define a database type...
    create type tP2 is table of varchar2(10)
    CREATE OR REPLACE PROCEDURE TEST_PROC
    IS
    dt2 tP2 := tP2('a','b','c');
    i NUMBER(8);
    begin
    SELECT COUNT(*) INTO i FROM TABLE(CAST (dt2 AS tP2));
    DBMS_OUTPUT.PUT_LINE('**'||i);
    end;
    This will work.
    Roger

  • Error while calling java using pl/sql

    hi..
    i would like to load and call simple java into oracle database. this is my simple java code.
    public class SimpleJava {
    public void main(String[] args) {
    System.out.println("Here we are");
    then, i created .class file and ready to be loaded into oracle database using loadjava utility. i already loaded it successfully into a database. but, when i use pl/sql to call it in SQl*Plus, i got this error.... can anyone help me to solve this problem?
    SQL> create or replace procedure call_simplejava
    2 as language java
    3 name 'SimpleJava.showMessage()';
    4 /
    Procedure created.
    SQL> set serveroutput on;
    SQL> call dbms_java.set_output(50);
    Call completed.
    SQL> execute call_simplejava;
    java.lang.NoSuchMethodException: No applicable method found
    at
    oracle.aurora.util.JRIExtensions.getMaximallySpecificMethod(JRIExtensions.java:4
    33)
    at
    oracle.aurora.util.JRIExtensions.getMaximallySpecificMethod(JRIExtensions.java:4
    75)
    BEGIN call_simplejava; END;
    ERROR at line 1:
    ORA-29531: no method showMessage in class SimpleJava
    ORA-06512: at "GISDB.CALL_SIMPLEJAVA", line 1
    ORA-06512: at line 1

    Hi,
    public class SimpleJava {
    public void main(String[] args) {
    System.out.println("Here we are");
    then, i created .class file and ready to be loaded into oracle database using loadjava utility. i already loaded it successfully into a database. but, when i use pl/sql to call it in SQl*Plus, i got this error.... can anyone help me to solve this problem?Did you run the SimpleJava in your ED or on command prompt??
    I created the same class file but when I said
    java SimpleJava
    It threw the following error
    java.lang.NoSuchMethodException: No applicable method found
    So modify your code
    as
    public class SimpleJava {
       public static void main(String[] args) {
            System.out.println("Here we are");
       }Twinkle

  • The cluster resource 'SQL Server' could not be brought online error while in completion stage of sql server 2012 failover installation

    While installing sql server 2012 with failover clustering I got the following error:
    The cluster resource 'SQL Server' could not be brought online. Error: There was a failure to call cluster code from a provider. Exception message: Generic failure. Status code: 5942. Description: The resource failed to come online due to the failure of one
    or more provider resources.
    The two nodes of the sql server failover have been successfully prepared. The error came while running the advance cluster completion option.
    In the clustered events in failover cluster manager the following message is displayed:
    Cluster resource 'SQL Network Name (CPCTestSQLClus)' of type 'Network name' in clustered role 'SQL Server (MSSQLSERVER)' failed.
    I have done various checking and the issue remained. I tried to start the sql

    Please find below part of the content of the cluster log. I hope this is helpful in resolving the issue:
    00000998.000010e8::2013/05/08-20:45:00.233 INFO  [RES] Network Name <SQL Network Name (CPCTestSQLClus)>: Online called for resource SQL Network Name (CPCTestSQLClus)
    000005a4.0000050c::2013/05/08-20:45:00.233 INFO  [RCM] HandleMonitorReply: ONLINERESOURCE for 'SQL Network Name (CPCTestSQLClus)', gen(6) result 997/0.
    000005a4.0000050c::2013/05/08-20:45:00.233 INFO  [RCM] Res SQL Network Name (CPCTestSQLClus): OnlineCallIssued -> OnlinePending( StateUnknown )
    000005a4.0000050c::2013/05/08-20:45:00.233 INFO  [RCM] TransitionToState(SQL Network Name (CPCTestSQLClus)) OnlineCallIssued-->OnlinePending.
    00000998.000012f0::2013/05/08-20:45:00.233 INFO  [RES] Network Name <SQL Network Name (CPCTestSQLClus)>: Entering Online thread
    000005a4.0000050c::2013/05/08-20:45:00.233 INFO  [GEM] Sending 1 messages as a batched GEM message
    00000998.000012f0::2013/05/08-20:45:00.233 INFO  [RES] Network Name <SQL Network Name (CPCTestSQLClus)>: Initializing config info
    00000998.000012f0::2013/05/08-20:45:00.248 INFO  [RES] Network Name <SQL Network Name (CPCTestSQLClus)>: Skipping initialization of 'Identity' module because netname is not yet created
    00000998.000012f0::2013/05/08-20:45:00.248 INFO  [RES] Network Name <SQL Network Name (CPCTestSQLClus)>: Performing actual online of resource.
    00000998.000012f0::2013/05/08-20:45:00.248 INFO  [RES] Network Name <SQL Network Name (CPCTestSQLClus)>: Obtaining IP info for resource SQL IP Address 1 (CPCTestSQLClus)
    00000998.000012f0::2013/05/08-20:45:00.248 INFO  [RES] Network Name <SQL Network Name (CPCTestSQLClus)>: Using provider SQL IP Address 1 (CPCTestSQLClus), ip address 10.144.166.160, mask 255.255.255.0, prefix length 24
    00000998.000012f0::2013/05/08-20:45:00.248 INFO  [RES] Network Name <SQL Network Name (CPCTestSQLClus)>: Resource has 1 IPs
    00000998.000012f0::2013/05/08-20:45:00.248 INFO  [RES] Network Name <SQL Network Name (CPCTestSQLClus)>: IP: Type Ipv4, Address 10.144.166.160:~0~, Prefix 10.144.166.160/24, Online true, Transport \Device\NetBt_If3
    00000998.000012f0::2013/05/08-20:45:00.248 INFO  [RES] Network Name: Agent: Initializing (082d8ef5-62a8-4fee-acbc-e89b769e9181,Configuration)
    00000998.000012f0::2013/05/08-20:45:00.248 INFO  [RES] Network Name: Agent: Sending request Netname/InitializeIndirect to NN:Agent
    00000998.000010e8::2013/05/08-20:45:00.248 INFO  [RES] Network Name: Agent: OnInitialize (082d8ef5-62a8-4fee-acbc-e89b769e9181,Configuration)
    00000998.000010e8::2013/05/08-20:45:00.248 INFO  [RES] Network Name: Agent: CanModuleBeInitializedImp - Module can be initialized, current state Offline
    00000998.000010e8::2013/05/08-20:45:00.248 INFO  [RES] Network Name: Agent: Sending Initialize to module NN:082d8ef5-62a8-4fee-acbc-e89b769e9181:Configuration
    00000998.000010e8::2013/05/08-20:45:00.248 INFO  [RES] Network Name: Agent: Sending request Netname/Initialize to NN:082d8ef5-62a8-4fee-acbc-e89b769e9181:Configuration
    00000998.000010e8::2013/05/08-20:45:00.248 INFO  [RES] Network Name <SQL Network Name (CPCTestSQLClus)>: Configuration: Waiting for ongoing slow strand to complete (if any)
    00000998.000010e8::2013/05/08-20:45:00.248 INFO  [RES] Network Name <SQL Network Name (CPCTestSQLClus)>: Configuration: Signaling main strand to initialize module
    00000998.000010e8::2013/05/08-20:45:00.248 INFO  [RES] Network Name <SQL Network Name (CPCTestSQLClus)>: Configuration: Calling initialize of the configuration implementation
    000005a4.00001350::2013/05/08-20:45:00.248 INFO  [GEM] Sending 1 messages as a batched GEM message
    00000998.000010e8::2013/05/08-20:45:00.248 INFO  [RES] Network Name <SQL Network Name (CPCTestSQLClus)>: Configuration: Setting 'StatusKerberos' in clusdb returned status 0
    00000998.000010e8::2013/05/08-20:45:00.248 INFO  [RES] Network Name <SQL Network Name (CPCTestSQLClus)>: Configuration: Creating a New AD NetName (type Singleton)...
    00000998.000010e8::2013/05/08-20:45:00.248 INFO  [RES] Network Name: Agent: Initializing (082d8ef5-62a8-4fee-acbc-e89b769e9181,AccountAD)
    00000998.000010e8::2013/05/08-20:45:00.248 INFO  [RES] Network Name: Agent: Sending request Netname/InitializeIndirect to NN:Agent
    00000998.000010e8::2013/05/08-20:45:00.248 INFO  [RES] Network Name: Agent: OnInitialize (082d8ef5-62a8-4fee-acbc-e89b769e9181,AccountAD)
    00000998.000010e8::2013/05/08-20:45:00.248 INFO  [RES] Network Name: Agent: CanModuleBeInitializedImp - Module can be initialized, current state Closing
    00000998.000010e8::2013/05/08-20:45:00.248 INFO  [RES] Network Name: Agent: Sending Initialize to module NN:082d8ef5-62a8-4fee-acbc-e89b769e9181:AccountAD
    00000998.000010e8::2013/05/08-20:45:00.248 INFO  [RES] Network Name: Agent: Sending request Netname/Initialize to NN:082d8ef5-62a8-4fee-acbc-e89b769e9181:AccountAD
    00000998.000010e8::2013/05/08-20:45:00.248 INFO  [RES] Network Name <SQL Network Name (CPCTestSQLClus)>: AccountAD: Waiting for ongoing slow strand to complete (if any)
    00000998.000010e8::2013/05/08-20:45:00.248 INFO  [RES] Network Name <SQL Network Name (CPCTestSQLClus)>: AccountAD: Signaling main strand to initialize module
    00000998.000010e8::2013/05/08-20:45:00.248 INFO  [RES] Network Name <SQL Network Name (CPCTestSQLClus)>: AccountAD: Initializing Name: CPCTestSQLClus, NetbiosName: CPCTESTSQLCLUS, Type: Singleton, Created: false
    00000998.000010e8::2013/05/08-20:45:00.248 INFO  [RES] Network Name: [NNLIB] GetCreatingDC - name CPCTestSQLClus, lookup flags = 1
    00000998.000010e8::2013/05/08-20:45:00.452 INFO  [RES] Network Name: [NNLIB] GetDCWithFlags - using DC
    \\MY01DC03.Domain.net, domain name Domain.net, IsReadOnly 0, Object exists 0
    00000998.000010e8::2013/05/08-20:45:00.452 INFO  [RES] Network Name:  [NN] Setting crypto access members for encrypt. New container = false.
    000005a4.00001350::2013/05/08-20:45:00.452 INFO  [GEM] Sending 1 messages as a batched GEM message
    00000998.000010e8::2013/05/08-20:45:00.452 INFO  [RES] Network Name: Agent: Sending request Netname/LastDcChange to NN:082d8ef5-62a8-4fee-acbc-e89b769e9181:Configuration
    00000998.0000075c::2013/05/08-20:45:00.452 INFO  [RES] Network Name <SQL Network Name (CPCTestSQLClus)>: Configuration: LastDc Changed, configOnly: 1
    000005a4.00001350::2013/05/08-20:45:00.452 INFO  [GEM] Sending 1 messages as a batched GEM message
    00000998.0000075c::2013/05/08-20:45:00.468 INFO  [RES] Network Name <SQL Network Name (CPCTestSQLClus)>: Configuration: Setting last DC in clusdb returned status 0
    00000998.0000075c::2013/05/08-20:45:00.468 INFO  [RES] Network Name:  [NN] got sync reply: 0
    00000998.000010e8::2013/05/08-20:45:00.468 INFO  [RES] Network Name <SQL Network Name (CPCTestSQLClus)>: AccountAD: LastDc Changed (configOnly true), result: 0
    00000998.000010e8::2013/05/08-20:45:00.468 INFO  [RES] Network Name: Agent: Sending request Netname/PasswordChange to NN:082d8ef5-62a8-4fee-acbc-e89b769e9181:Configuration
    00000998.0000075c::2013/05/08-20:45:00.468 INFO  [RES] Network Name <SQL Network Name (CPCTestSQLClus)>: Configuration: Password Changed, configOnly: 1
    000005a4.00001350::2013/05/08-20:45:00.468 INFO  [GEM] Sending 1 messages as a batched GEM message
    00000998.0000075c::2013/05/08-20:45:00.468 INFO  [RES] Network Name <SQL Network Name (CPCTestSQLClus)>: Configuration: Setting password in clusdb returned status 0
    00000998.0000075c::2013/05/08-20:45:00.468 INFO  [RES] Network Name:  [NN] got sync reply: 0
    00000998.000010e8::2013/05/08-20:45:00.468 INFO  [RES] Network Name <SQL Network Name (CPCTestSQLClus)>: AccountAD: PasswordChanged (configOnly true), result: 0
    00000998.000010e8::2013/05/08-20:45:00.468 INFO  [RES] Network Name:  [NN] Setting crypto access members for decrypt. New container = false.
    00000998.00000ab8::2013/05/08-20:45:00.636 INFO  [RES] Network Name <SQL Network Name (CPCTestSQLClus)>: Getting Read/Write private properties
    00000998.00000ab8::2013/05/08-20:45:00.647 INFO  [RES] Network Name <SQL Network Name (CPCTestSQLClus)>: Getting Read only private properties
    00000998.0000075c::2013/05/08-20:45:00.784 INFO  [RES] Network Name <SQL Network Name (CPCTestSQLClus)>: Getting Read/Write private properties
    00000998.00000ab8::2013/05/08-20:45:00.815 INFO  [RES] Network Name <SQL Network Name (CPCTestSQLClus)>: Getting Read only private properties
    00000998.00000ab8::2013/05/08-20:45:00.815 INFO  [RES] Network Name <SQL Network Name (CPCTestSQLClus)>: Getting Read/Write private properties
    00000998.00000ab8::2013/05/08-20:45:00.830 INFO  [RES] Network Name <SQL Network Name (CPCTestSQLClus)>: Getting Read only private properties
    00000998.00000ab8::2013/05/08-20:45:00.830 INFO  [RES] Network Name <SQL Network Name (CPCTestSQLClus)>: Getting Read/Write private properties
    00000998.00000ab8::2013/05/08-20:45:00.830 INFO  [RES] Network Name <SQL Network Name (CPCTestSQLClus)>: Getting Read only private properties
    00000998.000010e8::2013/05/08-20:45:00.924 INFO  [RES] Network Name <SQL Network Name (CPCTestSQLClus)>: AccountAD: OU name for VCO is OU=NewComputers,OU=WORKSTATIONS,DC=Domain,DC=net
    00000998.000010e8::2013/05/08-20:45:00.924 INFO  [RES] Network Name: Agent: Sending request Netname/GetToken to NN:c03fb105-9a50-4d00-8bee-afaf693f7efc:Identity
    00000998.00000ab8::2013/05/08-20:45:00.924 INFO  [RES] Network Name <Cluster Name>: Identity: Module is not yet initialized. Trying to obtain a new token.
    00000998.0000075c::2013/05/08-20:45:00.924 INFO  [RES] Network Name <Cluster Name>: Identity: Obtaining new token
    00000998.0000075c::2013/05/08-20:45:00.924 INFO  [RES] Network Name:  [NN] Setting crypto access members for decrypt. New container = false.
    00000998.0000075c::2013/05/08-20:45:00.924 INFO  [RES] Network Name: [NNLIB] Priming local KDC cache to
    \\MY01DC02.Domain.net for domain Domain.net
    00000998.0000075c::2013/05/08-20:45:00.924 INFO  [RES] Network Name: [NNLIB] PopulateKerbKDCLookupCache - DC flags 0
    00000998.0000075c::2013/05/08-20:45:00.940 INFO  [RES] Network Name: [NNLIB] LsaCallAuthenticationPackage success with a request of size 94, result size 0 (status: 0, subStatus: 0)
    00000998.0000075c::2013/05/08-20:45:00.940 INFO  [RES] Network Name: [NNLIB] Priming local KDC cache to
    \\MY01DC02.Domain.net for domain label Domain
    00000998.0000075c::2013/05/08-20:45:00.940 INFO  [RES] Network Name: [NNLIB] LsaCallAuthenticationPackage success with a request of size 86, result size 0 (status: 0, subStatus: 0)
    00000998.0000075c::2013/05/08-20:45:01.018 WARN  [RES] Network Name: [NNLIB] LogonUserEx fails for user CPCTestWinClus$: 1326 (useSecondaryPassword: 0)
    00000998.0000075c::2013/05/08-20:45:01.096 WARN  [RES] Network Name: [NNLIB] LogonUserEx fails for user CPCTestWinClus$: 1326 (useSecondaryPassword: 1)
    00000998.0000075c::2013/05/08-20:45:01.096 INFO  [RES] Network Name: [NNLIB] Logon failed for user CPCTestWinClus$ (Error 1326), DC
    \\MY01DC02.Domain.net, domain Domain.net
    00000998.0000075c::2013/05/08-20:45:01.096 INFO  [RES] Network Name <Cluster Name>: Identity: Obtaining Windows Token for Name: CPCTestWinClus, SamName: CPCTestWinClus$, Type: Singleton, Result: 1326, LastDC:
    \\MY01DC02.Domain.net
    00000998.0000075c::2013/05/08-20:45:01.096 INFO  [RES] Network Name <Cluster Name>: Identity: Slow Operation, FinishWithReply: 1326
    00000998.0000075c::2013/05/08-20:45:01.096 INFO  [RES] Network Name <Cluster Name>: Identity: InternalReplyHandler with event: 1326
    00000998.0000075c::2013/05/08-20:45:01.096 INFO  [RES] Network Name <Cluster Name>: Identity: End of Slow Operation, state: Error/Idle, prevWorkState: Idle
    00000998.00000ab8::2013/05/08-20:45:01.096 WARN  [RES] Network Name <Cluster Name>: Identity: Get Token Request, currently doesnt have a token!
    00000998.00000ab8::2013/05/08-20:45:01.096 INFO  [RES] Network Name:  [NN] got sync reply: 0
    00000998.000010e8::2013/05/08-20:45:01.096 INFO  [RES] Network Name <SQL Network Name (CPCTestSQLClus)>: AccountAD: End of Slow Operation, state: Initializing/Writing, prevWorkState: Writing
    00000998.000010e8::2013/05/08-20:45:01.096 WARN  [RES] Network Name <SQL Network Name (CPCTestSQLClus)>: AccountAD: Slow operation has exception ERROR_INVALID_HANDLE(6)' because of '::ImpersonateLoggedOnUser( GetToken() )'
    00000998.000010e8::2013/05/08-20:45:01.096 INFO  [RES] Network Name: Agent: OnInitializeReply, Failure on (082d8ef5-62a8-4fee-acbc-e89b769e9181,AccountAD): 6
    00000998.000010e8::2013/05/08-20:45:01.096 INFO  [RES] Network Name <SQL Network Name (CPCTestSQLClus)>: Configuration: InitializeReplyCreation of NetName (type Singleton), result: 6, IsCanceled: false
    000005a4.00000cd8::2013/05/08-20:45:01.096 INFO  [GEM] Sending 1 messages as a batched GEM message
    00000998.00000ab8::2013/05/08-20:45:01.096 INFO  [RES] Network Name <SQL Network Name (CPCTestSQLClus)>: Getting Read/Write private properties
    00000998.000010e8::2013/05/08-20:45:01.096 INFO  [RES] Network Name <SQL Network Name (CPCTestSQLClus)>: Configuration: Setting 'StatusKerberos' in clusdb returned status 0
    00000998.000010e8::2013/05/08-20:45:01.096 INFO  [RES] Network Name <SQL Network Name (CPCTestSQLClus)>: Configuration: Deleting ResourceData, CreatingDC, ObjectGUID for a newly created netname from cluster database
    000005a4.00000cd8::2013/05/08-20:45:01.096 INFO  [GEM] Sending 1 messages as a batched GEM message
    000005a4.00000cd8::2013/05/08-20:45:01.112 INFO  [GEM] Sending 1 messages as a batched GEM message
    00000998.00000ab8::2013/05/08-20:45:01.112 INFO  [RES] Network Name <SQL Network Name (CPCTestSQLClus)>: Getting Read only private properties
    00000998.000010e8::2013/05/08-20:45:01.112 INFO  [RES] Network Name: Agent: OnInitializeReply, Failure on (082d8ef5-62a8-4fee-acbc-e89b769e9181,Configuration): 6
    00000998.000010e8::2013/05/08-20:45:01.112 INFO  [RES] Network Name <SQL Network Name (CPCTestSQLClus)>: SyncReplyHandler Configuration, result: 6
    00000998.000012f0::2013/05/08-20:45:01.112 INFO  [RES] Network Name <SQL Network Name (CPCTestSQLClus)>: PerformOnline - Initialization of Configuration module finished with result: 6
    00000998.000012f0::2013/05/08-20:45:01.112 ERR   [RES] Network Name <SQL Network Name (CPCTestSQLClus)>: Online thread Failed: ERROR_SUCCESS(0)' because of 'Initializing netname configuration for SQL Network Name (CPCTestSQLClus) failed with
    error 6.'
    00000998.000012f0::2013/05/08-20:45:01.112 INFO  [RES] Network Name <SQL Network Name (CPCTestSQLClus)>: All resources offline. Cleaning up.
    00000998.000012f0::2013/05/08-20:45:01.112 ERR   [RHS] Online for resource SQL Network Name (CPCTestSQLClus) failed.
    000005a4.0000050c::2013/05/08-20:45:01.112 WARN  [RCM] HandleMonitorReply: ONLINERESOURCE for 'SQL Network Name (CPCTestSQLClus)', gen(6) result 5018/0.
    000005a4.0000050c::2013/05/08-20:45:01.112 INFO  [RCM] Res SQL Network Name (CPCTestSQLClus): OnlinePending -> ProcessingFailure( StateUnknown )
    000005a4.0000050c::2013/05/08-20:45:01.112 INFO  [RCM] TransitionToState(SQL Network Name (CPCTestSQLClus)) OnlinePending-->ProcessingFailure.
    000005a4.0000050c::2013/05/08-20:45:01.112 ERR   [RCM] rcm::RcmResource::HandleFailure: (SQL Network Name (CPCTestSQLClus))
    000005a4.0000050c::2013/05/08-20:45:01.112 INFO  [RCM] resource SQL Network Name (CPCTestSQLClus): failure count: 6, restartAction: 2 persistentState: 1.
    000005a4.00000cd8::2013/05/08-20:45:01.112 INFO  [GEM] Sending 1 messages as a batched GEM message
    000005a4.0000050c::2013/05/08-20:45:01.112 INFO  [RCM] Greater than restartPeriod time has elapsed since first failure of SQL Network Name (CPCTestSQLClus), resetting failureTime and failureCount.
    000005a4.0000050c::2013/05/08-20:45:01.112 INFO  [RCM] Will queue immediate restart (500 milliseconds) of SQL Network Name (CPCTestSQLClus) after terminate is complete.
    000005a4.0000050c::2013/05/08-20:45:01.112 INFO  [RCM] Res SQL Network Name (CPCTestSQLClus): ProcessingFailure -> WaitingToTerminate( DelayRestartingResource )
    000005a4.0000050c::2013/05/08-20:45:01.112 INFO  [RCM] TransitionToState(SQL Network Name (CPCTestSQLClus)) ProcessingFailure-->[WaitingToTerminate to DelayRestartingResource].
    000005a4.0000050c::2013/05/08-20:45:01.112 INFO  [RCM] Res SQL Network Name (CPCTestSQLClus): [WaitingToTerminate to DelayRestartingResource] -> Terminating( DelayRestartingResource )
    000005a4.0000050c::2013/05/08-20:45:01.112 INFO  [RCM] TransitionToState(SQL Network Name (CPCTestSQLClus)) [WaitingToTerminate to DelayRestartingResource]-->[Terminating to DelayRestartingResource].
    00000998.00000ab8::2013/05/08-20:45:01.112 INFO  [RES] Network Name <SQL Network Name (CPCTestSQLClus)>: Terminate called for resource SQL Network Name (CPCTestSQLClus)
    00000998.00000ab8::2013/05/08-20:45:01.112 INFO  [RES] Network Name <SQL Network Name (CPCTestSQLClus)>: Entering Offline thread
    00000998.00000ab8::2013/05/08-20:45:01.112 INFO  [RES] Network Name <SQL Network Name (CPCTestSQLClus)>: Performing actual offline of resource.
    00000998.00000ab8::2013/05/08-20:45:01.112 INFO  [RES] Network Name: Agent: Closing (082d8ef5-62a8-4fee-acbc-e89b769e9181,AdminShare)
    00000998.00000ab8::2013/05/08-20:45:01.112 INFO  [RES] Network Name: Agent: Sending request Netname/CloseIndirect to NN:Agent
    00000998.000010e8::2013/05/08-20:45:01.112 INFO  [RES] Network Name: Agent: OnClose (082d8ef5-62a8-4fee-acbc-e89b769e9181,AdminShare)
    00000998.000010e8::2013/05/08-20:45:01.112 INFO  [RES] Network Name: Agent: Sending request Netname/Close to NN:082d8ef5-62a8-4fee-acbc-e89b769e9181:AdminShare
    00000998.000010e8::2013/05/08-20:45:01.112 ERR   [RES] Network Name <SQL Network Name (CPCTestSQLClus)>: AdminShare: OnCloseBase, Error Already Closing, previous state: Closing/Ending
    00000998.000010e8::2013/05/08-20:45:01.112 INFO  [RES] Network Name: Agent: OnCloseReply (082d8ef5-62a8-4fee-acbc-e89b769e9181,AdminShare) result: 1904
    00000998.000010e8::2013/05/08-20:45:01.112 INFO  [RES] Network Name <SQL Network Name (CPCTestSQLClus)>: SyncReplyHandler Configuration, result: 1904
    00000998.00000ab8::2013/05/08-20:45:01.112 INFO  [RES] Network Name: Agent: Closing (082d8ef5-62a8-4fee-acbc-e89b769e9181,Configuration)
    00000998.00000ab8::2013/05/08-20:45:01.112 INFO  [RES] Network Name: Agent: Sending request Netname/CloseIndirect to NN:Agent
    000005a4.00000cd8::2013/05/08-20:45:01.112 INFO  [RCM-rbtr] giving default token to group SQL Server (MSSQLSERVER)
    000005a4.00000cd8::2013/05/08-20:45:01.112 INFO  [RCM-rbtr] giving default token to group SQL Server (MSSQLSERVER)
    000005a4.00000cd8::2013/05/08-20:45:01.112 INFO  [RCM-rbtr] giving default token to group SQL Server (MSSQLSERVER)
    000005a4.00000cd8::2013/05/08-20:45:01.112 INFO  [RCM-rbtr] giving default token to group SQL Server (MSSQLSERVER)
    00000998.0000075c::2013/05/08-20:45:01.112 INFO  [RES] Network Name: Agent: OnClose (082d8ef5-62a8-4fee-acbc-e89b769e9181,Configuration)
    00000998.0000075c::2013/05/08-20:45:01.112 INFO  [RES] Network Name: Agent: Sending request Netname/Close to NN:082d8ef5-62a8-4fee-acbc-e89b769e9181:Configuration
    00000998.0000075c::2013/05/08-20:45:01.112 INFO  [RES] Network Name <SQL Network Name (CPCTestSQLClus)>: Configuration: Canceling work, state: Closing/Idle
    00000998.0000075c::2013/05/08-20:45:01.112 INFO  [RES] Network Name <SQL Network Name (CPCTestSQLClus)>: Configuration: OnCloseBase, previous state: Initializing/Idle
    00000998.0000075c::2013/05/08-20:45:01.112 INFO  [RES] Network Name <SQL Network Name (CPCTestSQLClus)>: Configuration: Closing... (PreviousState: Initializing, Created: false, Type: Singleton)
    00000998.0000075c::2013/05/08-20:45:01.112 INFO  [RES] Network Name: Agent: Closing (082d8ef5-62a8-4fee-acbc-e89b769e9181,AccountAD)
    00000998.0000075c::2013/05/08-20:45:01.112 INFO  [RES] Network Name: Agent: Sending request Netname/CloseIndirect to NN:Agent
    00000998.000010e8::2013/05/08-20:45:01.112 INFO  [RES] Network Name: Agent: OnClose (082d8ef5-62a8-4fee-acbc-e89b769e9181,AccountAD)
    00000998.000010e8::2013/05/08-20:45:01.112 INFO  [RES] Network Name: Agent: Sending request Netname/Close to NN:082d8ef5-62a8-4fee-acbc-e89b769e9181:AccountAD
    00000998.000010e8::2013/05/08-20:45:01.112 INFO  [RES] Network Name <SQL Network Name (CPCTestSQLClus)>: AccountAD: Canceling work, state: Closing/Idle
    00000998.000010e8::2013/05/08-20:45:01.112 INFO  [RES] Network Name <SQL Network Name (CPCTestSQLClus)>: AccountAD: OnCloseBase, previous state: Initializing/Idle
    00000998.000010e8::2013/05/08-20:45:01.112 INFO  [RES] Network Name: Agent: OnCloseReply (082d8ef5-62a8-4fee-acbc-e89b769e9181,AccountAD) result: 0
    00000998.000010e8::2013/05/08-20:45:01.112 INFO  [RES] Network Name <SQL Network Name (CPCTestSQLClus)>: Configuration: Finish Closing NetName (type Singleton) Module AccountAD, result 0, remaining... 0 (0)
    00000998.000010e8::2013/05/08-20:45:01.112 INFO  [RES] Network Name: Agent: -- listing 3 instances ---------------------------------------------
    00000998.000010e8::2013/05/08-20:45:01.112 INFO  [RES] Network Name: Agent: --- 7 modules for instance: 082d8ef5-62a8-4fee-acbc-e89b769e9181:
    00000998.000010e8::2013/05/08-20:45:01.112 INFO  [RES] Network Name: Agent: ---- Module: Configuration with states: Offline/Ending (BeingBorn)
    00000998.000010e8::2013/05/08-20:45:01.112 INFO  [RES] Network Name: Agent: ---- Module: AccountAD with states: Closing/Ending (BeingBorn)
    00000998.000010e8::2013/05/08-20:45:01.112 INFO  [RES] Network Name: Agent: ---- Module: Client with states: Offline/Idle (BeingBorn)
    00000998.0000075c::2013/05/08-20:45:01.112 INFO  [RES] Network Name <SQL Network Name (CPCTestSQLClus)>: Configuration: Closed
    00000998.000010e8::2013/05/08-20:45:01.112 INFO  [RES] Network Name: Agent: ---- Module: Identity with states: Offline/Idle (BeingBorn)
    00000998.000010e8::2013/05/08-20:45:01.112 INFO  [RES] Network Name: Agent: ---- Module: Dns with states: Offline/Idle (BeingBorn)
    00000998.0000075c::2013/05/08-20:45:01.112 INFO  [RES] Network Name: Agent: OnCloseReply (082d8ef5-62a8-4fee-acbc-e89b769e9181,Configuration) result: 0
    00000998.000010e8::2013/05/08-20:45:01.112 INFO  [RES] Network Name: Agent: ---- Module: Netbios with states: Offline/Idle (BeingBorn)
    00000998.0000075c::2013/05/08-20:45:01.112 INFO  [RES] Network Name <SQL Network Name (CPCTestSQLClus)>: SyncReplyHandler Configuration, result: 0
    00000998.000010e8::2013/05/08-20:45:01.112 INFO  [RES] Network Name: Agent: ---- Module: AdminShare with states: Closing/Ending (BeingBorn)
    00000998.000010e8::2013/05/08-20:45:01.112 INFO  [RES] Network Name: Agent: --- 7 modules for instance: 43dec41b-661c-42a8-ae23-b635d7ab11f5:
    00000998.000010e8::2013/05/08-20:45:01.112 INFO  [RES] Network Name: Agent: ---- Module: Configuration with states: Offline/Ending (BeingBorn)
    00000998.000010e8::2013/05/08-20:45:01.112 INFO  [RES] Network Name: Agent: ---- Module: AccountAD with states: Closing/Ending (BeingBorn)
    00000998.000010e8::2013/05/08-20:45:01.112 INFO  [RES] Network Name: Agent: ---- Module: Client with states: Offline/Idle (BeingBorn)
    00000998.000010e8::2013/05/08-20:45:01.112 INFO  [RES] Network Name: Agent: ---- Module: Identity with states: Offline/Idle (BeingBorn)
    00000998.000010e8::2013/05/08-20:45:01.112 INFO  [RES] Network Name: Agent: ---- Module: Dns with states: Offline/Idle (BeingBorn)
    00000998.000010e8::2013/05/08-20:45:01.112 INFO  [RES] Network Name: Agent: ---- Module: Netbios with states: Offline/Idle (BeingBorn)
    00000998.000010e8::2013/05/08-20:45:01.112 INFO  [RES] Network Name: Agent: ---- Module: AdminShare with states: Closing/Ending (BeingBorn)
    00000998.000010e8::2013/05/08-20:45:01.112 INFO  [RES] Network Name: Agent: --- 7 modules for instance: c03fb105-9a50-4d00-8bee-afaf693f7efc:
    00000998.000010e8::2013/05/08-20:45:01.112 INFO  [RES] Network Name: Agent: ---- Module: Configuration with states: Initialized/Idle (Alive)
    00000998.000010e8::2013/05/08-20:45:01.112 INFO  [RES] Network Name: Agent: ---- Module: AccountAD with states: Initializing/Idle (BeingBorn)
    00000998.000010e8::2013/05/08-20:45:01.112 INFO  [RES] Network Name: Agent: ---- Module: Client with states: Initialized/Idle (Alive)
    00000998.000010e8::2013/05/08-20:45:01.112 INFO  [RES] Network Name: Agent: ---- Module: Identity with states: Error/Idle (BeingBorn)
    00000998.000010e8::2013/05/08-20:45:01.112 INFO  [RES] Network Name: Agent: ---- Module: Dns with states: Initialized/Idle (Alive)
    00000998.000010e8::2013/05/08-20:45:01.112 INFO  [RES] Network Name: Agent: ---- Module: Netbios with states: Initialized/Idle (Alive)
    00000998.000010e8::2013/05/08-20:45:01.112 INFO  [RES] Network Name: Agent: ---- Module: AdminShare with states: Initialized/Idle (BeingBorn)
    00000998.000010e8::2013/05/08-20:45:01.112 INFO  [RES] Network Name: Agent: -- 0 Zombie modules
    000005a4.0000050c::2013/05/08-20:45:01.112 INFO  [RCM] HandleMonitorReply: TERMINATERESOURCE for 'SQL Network Name (CPCTestSQLClus)', gen(7) result 0/0.
    000005a4.0000050c::2013/05/08-20:45:01.112 INFO  [RCM] Res SQL Network Name (CPCTestSQLClus): [Terminating to DelayRestartingResource] -> DelayRestartingResource( StateUnknown )
    000005a4.0000050c::2013/05/08-20:45:01.112 INFO  [RCM] TransitionToState(SQL Network Name (CPCTestSQLClus)) [Terminating to DelayRestartingResource]-->DelayRestartingResource.
    000005a4.0000050c::2013/05/08-20:45:01.112 WARN  [RCM] Queueing immediate delay restart of resource SQL Network Name (CPCTestSQLClus) in 500 ms.
    000005a4.00001248::2013/05/08-20:45:01.112 INFO  [RCM-rbtr] giving default token to group SQL Server (MSSQLSERVER)
    000005a4.00001248::2013/05/08-20:45:01.112 INFO  [RCM-rbtr] giving default token to group SQL Server (MSSQLSERVER)
    000005a4.00001248::2013/05/08-20:45:01.112 INFO  [RCM-rbtr] giving default token to group SQL Server (MSSQLSERVER)
    000005a4.00001248::2013/05/08-20:45:01.112 INFO  [RCM-rbtr] giving default token to group SQL Server (MSSQLSERVER)
    000005a4.00001350::2013/05/08-20:45:01.112 INFO  [GEM] Sending 1 messages as a batched GEM message
    00000998.00000b78::2013/05/08-20:45:01.112 INFO  [RES] Network Name <SQL Network Name (CPCTestSQLClus)>: Getting Read/Write private properties
    000005a4.00001350::2013/05/08-20:45:01.112 INFO  [GEM] Sending 1 messages as a batched GEM message
    00000998.00000b78::2013/05/08-20:45:01.112 INFO  [RES] Network Name <SQL Network Name (CPCTestSQLClus)>: Getting Read only private properties
    00000998.00000b78::2013/05/08-20:45:01.127 INFO  [RES] Network Name <SQL Network Name (CPCTestSQLClus)>: Getting Read/Write private properties
    000005a4.00001350::2013/05/08-20:45:01.127 INFO  [GEM] Sending 1 messages as a batched GEM message
    00000998.00000b78::2013/05/08-20:45:01.127 INFO  [RES] Network Name <SQL Network Name (CPCTestSQLClus)>: Getting Read only private properties
    000005a4.00001350::2013/05/08-20:45:01.127 INFO  [GEM] Sending 1 messages as a batched GEM message
    000005a4.00001350::2013/05/08-20:45:01.127 INFO  [GEM] Sending 1 messages as a batched GEM message
    000005a4.00001350::2013/05/08-20:45:01.143 INFO  [GEM] Sending 1 messages as a batched GEM message
    00000998.00000b78::2013/05/08-20:45:01.252 INFO  [RES] Network Name: Agent: Sending request Netname/RecheckConfig to NN:c03fb105-9a50-4d00-8bee-afaf693f7efc:Netbios
    00000998.00000ab8::2013/05/08-20:45:01.252 INFO  [RES] Network Name <Cluster Name>: Netbios: Slow Operation, FinishWithReply: 0
    00000998.00000ab8::2013/05/08-20:45:01.252 INFO  [RES] Network Name:  [NN] got sync reply: 0
    00000998.00000ab8::2013/05/08-20:45:01.252 INFO  [RES] Network Name <Cluster Name>: Netbios: End of Slow Operation, state: Initialized/Idle, prevWorkState: Idle

Maybe you are looking for

  • InfoSet problem with BI 7

    We have a query on an InfoSet in production system (BW 3.0B) that is working fine. The same query on the same InfoSet in development system (BI 7) is not displaying master data attribute values. It does show values only for navigational attributes. M

  • All of a sudden- bz2 files!

    Since yesterday, I have been seeing lots of bz2 extensions on downloaded files, in most cases files that should be .dmg. All the decompressing utilities I have create a .dmg which will not mount. The error is a Warning as if a bad or truncated downlo

  • J2EE Packaging - Error Loading WebAppClassLoader

    I have seen variations of this theme in the forum, but I am not quite sure if the solutions apply to my situation. I have a Java Web Start app deployed and sort of running on JBoss A/S. I have treated the Web Start app as a web app and the following

  • How to delete schedule line item

    Hi All, I want to delete schedule line entry for an item in R/3. How can i do this? Thanks, Nabha

  • Transitions crashing FCP

    Hi Guys: this morning, someing wierd started happening. Whenever I double click a transition, and it apears any transition, FCP quits suddenly. I can add the trans from either the effects tab or the effects menu; fine. But if I doule click, so I can