MQ Series - Error while reading messages from MQ in Sender adapter if EOIO
Dear all,
we've configured a scenario with a sending JMS-adapter (MQSeries). With configured Quality-Of-Service = EO everything works fine. If we switch to Quality-Of-Service = EOIO we get the following error message:
com.sap.aii.adapter.jms.api.channel.filter.MessageFilterException: Could not assign next free EOIO sequence number for SC: OUTBOUND_TEST_MQ_SERIES_QUEUE_4__. Reason: Problem inserting b315acf4-61f3-42dc-3642-85450666fe91(OUTBOUND) into the database: java.lang.NullPointerException: DeliveryException: Could not assign next free EOIO sequence number for SC: OUTBOUND_TEST_MQ_SERIES_QUEUE_4__. Reason: Problem inserting b315acf4-61f3-42dc-3642-85450666fe91(OUTBOUND) into the database: java.lang.NullPointerException at com.sap.aii.adapter.jms.core.channel.filter.SendToModuleProcessorFilter.filter(SendToModuleProcessorFilter.java:105)
Any ideas?
Kind regards, Stefan
We have the same issue, how did you solve yours?
For us it works fine with EO but EOIO fails with the same error message...
Kr,
Frederik-Jan.
Similar Messages
-
Error 65575: overrun error while reading data from NI 9871
Hello everyone,
I am new here. I configured NI 9871 in RS-485 mode to acquire data from a sensor at the data rate of 8 samples per second. While reading data from sensor, sometimes I got the error 65575: "An overrun error has occurred in the data being read. Ensure that the module Flow Control is configured correctly." I didn't understand the error, how can I fix it, what dose the flow control means.
I will be very thankful if anybody help me to fix this error.
Thanks
WasifHello Wasif,
The error you are getting presents itself when the hardware buffer is full and new data is coming in. Data buffer is 64 bytes. One thing to try is to clear the RX FIFO after every read. Please refer to the following link that talks about the method.
http://zone.ni.com/reference/en-XX/help/370984R-01/lvaddon11/crio-9871/
Hope this help you solve the issue.
Regards
Luis S
Application Engineer
National Instruments -
Error while testing message from Integration Engine.
Hi,
Trying to send message to Integration engine from RWB, using test mesage tab in Integration engine.
I pasted the payload(IDOC payload) , entered sender service, interface name and namespace and also username and password. Selected quality of servie as Exactly once.
While sending the message getting the following error - "Error while sending".
What could be possible reasons for this error.
Thanks.Hi,
Please check the following possibilities:
1. Make sure you have selected integration Engine oprtion and not the adapter engine.
2. The USERID and password should be correct.
Please let me know if you still face the problem.
Regards,
Shwetambari. -
Error while reading data from MapMessage using MDB
Hi,
I have written a small client program to send a message to a queue and an MDB receives the message in the onMessage() method. The message is of type MapMessage. I set key value pairs and send the message in a queue. When I try to read data from MapMessage inside onMessage() method of MDB, I get an exception:-
javax.jms.MessageNotReadableException: In write mode
When I send the message, by default the readonlymode is false. How do I set the mode to readonly exclusively in case of MapMessage ?
SirishaHi,
I do not have any problem with TextMessages...I works fine..It is only with MapMessage that I am not able to read the values..Before sending the message, the message has the flag "readMode" set to false by default by the server...R there any configurations to be made to any files like web.xml or server.xml or jms.xml ?
I am running my JMS application on JDeveloper IDE that has an in-built OC4J server which supports JMS. -
Error while reading objects from a file
Below is a short code to explain the problem i am facing
i have been working on the same for past one week i am facing exceptions while reading a file containing more than one objects
import java.io.BufferedInputStream;
import java.io.BufferedOutputStream;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.io.Serializable;
import java.util.logging.Level;
import java.util.logging.Logger;
* @author sakshi
public class Storingobject implements Serializable{
int x,y;
public void addObject()
//Storingobject temp;
ObjectOutputStream objOut=null;
try {
objOut = new ObjectOutputStream(new BufferedOutputStream(new FileOutputStream("temp.dat")));//if i pass true as parameter in FileOutputStream it gives Stream Corrupted exception
} catch (IOException ex) {
Logger.getLogger(Storingobject.class.getName()).log(Level.SEVERE, null, ex);
try {
// while((temp=objOut.writeObject(o))!=null)
objOut.writeObject(this);
System.out.println("Saved..");
objOut.close();
} catch (IOException ex) {
Logger.getLogger(Storingobject.class.getName()).log(Level.SEVERE, null, ex);
public void readobject()
int i=1;
Storingobject temp;
ObjectInputStream objIn=null;
try {
objIn = new ObjectInputStream(new BufferedInputStream(new FileInputStream("temp.dat")));
} catch (IOException ex) {
Logger.getLogger(Storingobject.class.getName()).log(Level.SEVERE, null, ex);
try {
while ((temp = (Storingobject) objIn.readObject()) != null) {
System.out.println("VAlues of object i++ :");
System.out.println("X: "+temp.x+"Y: "+temp.y);
} catch (IOException ex) {
Logger.getLogger(Storingobject.class.getName()).log(Level.SEVERE, null, ex);
} catch (ClassNotFoundException ex) {
Logger.getLogger(Storingobject.class.getName()).log(Level.SEVERE, null, ex);
public static void main(String args[])
Storingobject o1=new Storingobject();
o1.x=10;o1.y=15;
o1.addObject();
o1.readobject();
}//if i pass true as parameter in FileOutputStream it gives Stream Corrupted exceptionI agree. You can't append to a file written with an ObjectOutputStream. You would have to read it all in, write it all out again and write the new object. You're better off keeping the file open while you still have objects to write to it.
while ((temp = (Storingobject) objIn.readObject()) != null) {ObjectInputStream.readObject() only returns null if you wrote a null. If you're not writing nulls, the correct technique is to loop until you get an EOFException. I don't favour explicitly writing a null just to get around this as suggested above, as it means you can never write a null for any other purpose. -
Error while Reading Idocs from ECC 6.0 to Sun IDM .
Hi Gurus,
We have a scenerio where we have to update the Sun IDM Server with all the changes in HR Data happening in ECC.
For that... we have
1. Created a Logical System for Sun IDM server, Port, RFC Connection (TCP/IP).
2. Assigned Partner Profiles, Distribution Model etc. for msg. type HRMD_A ;
3. We have created a Communications User used by the IDM server to connect to ECC.
Idocs are created daily and are in status 03 - Data passed to Port OK !
and on the In Sun Identity manager 8.0 we have created SAP resource adapter for ECC 6.0,
after giving resource parameters our test connection is successful.
We also changed edit synchronisation policy for the same but when we start synchronisation in IDM, it is unable to read any idocs although Idocs are generated in SAP .
Log file gives the message as "Incoming IDoc list request containing 0 documents"
We also have one more error ;
some times while doing a connection test : JCO.Server could not find server function 'åäåä¹'
while most of the times the connection is successful.
Please suggest .Hi Gurus,
The error got resolved .
The changes in the settings i did :
SAP SIDE : Made the RFC Connection Unicode.
IDM SIDE : Checked on the "SAP Server Unicode" checkbox; while doing the HR Activ Synch Settings.
This Resolved the error.
regards
Vaibhav -
PROBLEM DESCRIPTION :
When I try to read a clob from Oracle, I receive "ORA-03120: two-task
conversion routine: integer overflow" Error.
This error occurs only for CLOB Type and only if I try to connect to
Oracle using WebLogic JDriver/Oracle POOL.
IMPORTANT NOTE: I can read CLOB or any other data using direct JDBC
connection to ORacle with out any problem.
Below Please find the JAVA CODE for Both Working and NON Working .
Created a Connection Pool as:
Name: MyJDBCConnectionPool
URL : jdbc:weblogic:oracle
DIRVER:weblogic.jdbc.oci.Driver
NON WORKING JAVA CODE (USES WEBLOGIC JDBC CONNECTION POOL TO ORACLE):
Driver myDriver =
(Driver)Class.forName("weblogic.jdbc.pool.Driver").newInstance();
Connection mconn =
myDriver.connect("jdbc:weblogic:pool:MyJDBCConnectionPool",null);
mconn.setAutoCommit (false);
CallableStatement cs = mconn.prepareCall("{call
P_XMLTEST2(?)}"); //This returns a CLOB
cs.registerOutParameter(1,java.sql.Types.CLOB);
cs.execute();
Clob clob = null;
clob = cs.getClob(1);
String data =new String();
data = clob.getSubString(1, (int)clob.length());
System.out.println(data); //print the data
data = null;
clob=null;
cs.close();
WORKING JAVA CODE (USES DIRECT THIN JDBC CONNECTION TO ORACLE):
Driver myDriver =
(Driver)Class.forName("oracle.jdbc.driver.OracleDriver").newInstance();
Connection mconn =
myDriver.connect("jdbc:oracle:thin:@server:1521:DB",null);
mconn.setAutoCommit (false);
CallableStatement cs = mconn.prepareCall("{call
P_XMLTEST2(?)}"); //This returns a CLOB
cs.registerOutParameter(1,java.sql.Types.CLOB);
cs.execute();
Clob clob = null;
clob = cs.getClob(1);
String data =new String();
data = clob.getSubString(1, (int)clob.length());
System.out.println(data); //print the data
data = null;
clob=null;
cs.close();
ERROR MESSAGE:
ORA-03120: two-task conversion routine: integer overflow
I appreciate your help on this problem.PROBLEM DESCRIPTION :
When I try to read a clob from Oracle, I receive "ORA-03120: two-task
conversion routine: integer overflow" Error.
This error occurs only for CLOB Type and only if I try to connect to
Oracle using WebLogic JDriver/Oracle POOL.
IMPORTANT NOTE: I can read CLOB or any other data using direct JDBC
connection to ORacle with out any problem.
Below Please find the JAVA CODE for Both Working and NON Working .
Created a Connection Pool as:
Name: MyJDBCConnectionPool
URL : jdbc:weblogic:oracle
DIRVER:weblogic.jdbc.oci.Driver
NON WORKING JAVA CODE (USES WEBLOGIC JDBC CONNECTION POOL TO ORACLE):
Driver myDriver =
(Driver)Class.forName("weblogic.jdbc.pool.Driver").newInstance();
Connection mconn =
myDriver.connect("jdbc:weblogic:pool:MyJDBCConnectionPool",null);
mconn.setAutoCommit (false);
CallableStatement cs = mconn.prepareCall("{call
P_XMLTEST2(?)}"); //This returns a CLOB
cs.registerOutParameter(1,java.sql.Types.CLOB);
cs.execute();
Clob clob = null;
clob = cs.getClob(1);
String data =new String();
data = clob.getSubString(1, (int)clob.length());
System.out.println(data); //print the data
data = null;
clob=null;
cs.close();
WORKING JAVA CODE (USES DIRECT THIN JDBC CONNECTION TO ORACLE):
Driver myDriver =
(Driver)Class.forName("oracle.jdbc.driver.OracleDriver").newInstance();
Connection mconn =
myDriver.connect("jdbc:oracle:thin:@server:1521:DB",null);
mconn.setAutoCommit (false);
CallableStatement cs = mconn.prepareCall("{call
P_XMLTEST2(?)}"); //This returns a CLOB
cs.registerOutParameter(1,java.sql.Types.CLOB);
cs.execute();
Clob clob = null;
clob = cs.getClob(1);
String data =new String();
data = clob.getSubString(1, (int)clob.length());
System.out.println(data); //print the data
data = null;
clob=null;
cs.close();
ERROR MESSAGE:
ORA-03120: two-task conversion routine: integer overflow
I appreciate your help on this problem. -
Error while reading data from backend system.
Hi all,
When i click on personnel information iview i am getting following error
EIC Authentication
An error occurred while data was read from your ERP system. Contact your system administrator.
I used SQL TRACE and RFC TRACE to find where it got stopped below see the trace result.
14 PA0105 REOPEN 0 SELECT WHERE "MANDT" = '001' AND "USRTY" = '0001' AND "USRID" = 'ESS_USER1'
988 PA0105 FETCH 1 1403
14 PA0001 REOPEN 0 SELECT WHERE "MANDT" = '001' AND "PERNR" = 90000001 ORDER BY "MANDT" , "PERNR" , "SUBTY" , "OBJPS" , "SPRPS" , "ENDDA" , "BEGDA" , "SEQNR"
665 PA0001 FETCH 1 1403
17 PA0000 REOPEN 0 SELECT WHERE "MANDT" = '001' AND "PERNR" = 90000001 AND "BEGDA" <= 20070622 AND "ENDDA" >= 20070622 ORDER BY "MANDT" , "PERNR" , "SUBTY" , "OBJPS" , "SPRPS" , "ENDDA" , "BEGDA" , "SEQNR"
615 PA0000 FETCH 1 1403
25 PA0001 REOPEN 0 SELECT WHERE "MANDT" = '001' AND "PERNR" = 90000001 AND "BEGDA" <= 20070622 AND "ENDDA" >= 20070622 ORDER BY "MANDT" , "PERNR" , "SUBTY" , "OBJPS" , "SPRPS" , "ENDDA" , "BEGDA" , "SEQNR"
896 PA0001 FETCH 1 1403
16 PA0002 REOPEN 0 SELECT WHERE "MANDT" = '001' AND "PERNR" = 90000001 AND "BEGDA" <= 20070622 AND "ENDDA" >= 20070622 ORDER BY "MANDT" , "PERNR" , "SUBTY" , "OBJPS" , "SPRPS" , "ENDDA" , "BEGDA" , "SEQNR"
783 PA0002 FETCH 1 1403
13.178 ? Server 1 0 EPSAND1 ? Server HREIC_GET_AUTHENTICATION_ESS 643 309
What is the solution to solve this problem ?
Thanks and regards,
PhanikumarLooks like authorization issue. Could you confirm whether proper authorizations have given to this user?
Also, run the application again get an error and then go to Transaction ST22 and see if there is any system dump for this user.
Regards,
Nitin -
Error while reading mail from inbox
hi,
i have created a mail program which downloads mails from the ISP. In this program i am storing the message object in a List object and send it to another class for it to continue the download process. but i am getting this error.
javax.mail.MessagingException: Open failed;
nested exception is:
java.io.EOFException: Unable to lock mailbox
i am giving the code below.
Message mNew[]=null;
Message m=null;
Store store=null;
Folder folder=null;
do
// this loop checks if the email connection is available
// if not it tries to get the email connection by calling
// the getEmailConnection
if(!isEmailConnected)
isEmailConnected=ecm.getEmailConnection(hostname,username,password);
else if(isEmailConnected)
this.store=ecm.store;
try
folder = store.getFolder("INBOX");
folder.open(Folder.READ_WRITE);
m=folder.getMessages();
for(int i=0;i<m.length;i++)
// This checks if the inbox folder
// is of POP3 type. if it is of POP3
// type we get all the messages Unique Identifiers
if(folder instanceof com.sun.mail.pop3.POP3Folder)
com.sun.mail.pop3.POP3Folder pop3=(com.sun.mail.pop3.POP3Folder)folder;
uid=pop3.getUID(m);
// if the list contains the unique identifier
// then no process is executed otherwise
// the unique ids are maintained in the list
// called pop3List.
if(pop3List.contains(uid))
else
mNew[newCount]=m[i];
pop3List.add(uid);
newCount++;
* This adds the new incoming email List of addresses to the method newEmailRecieved
* which is iin another class.
listener.newEmailRecieved(m);
folder.close(true);
catch(Exception ex){System.out.println("Error Occured"+ex);}
while(true);hi,
to continue with my post, i am using POP3 provider to get the messages. any help is appreciated
regards
Kiran -
Getting error while reading file from /data/interface
HI Experts,
while i am executing the job MPU* in ECC it write error file in /data/interface/sidclntxxx/IN/MPU742. now for the tcode ZMM_MPU_ANALYSIS it ask that error file, it is reflecting "error reading log file /data/interface...". now i am not getting the email also that supposed to get. please help
Edited by: stiw382 on Dec 1, 2011 1:17 PM> while i am executing the job MPU* in ECC it write error file in /data/interface/sidclntxxx/IN/MPU742. now for the tcode ZMM_MPU_ANALYSIS it ask that error file, it is reflecting "error reading log file /data/interface...". now i am not getting the email also that supposed to get. please help
is that file accessible on the operating system? Is the filesystem mounted?
Z-transaction codes are customer developments, since nobody here knows, what this program does I suggest you contact the developer of that transaction.
Markus -
Error while receiving message from partner.
HI All,
i am having interface Thrid Party -- > XI -- > SAP
We are using AS2 adapter at sender side and IDOC as receiver end.
My scenerio was working fine till quality server and when we went live message started failing in seburger workbench.
AS2 message: DECRYPTION_ERROR
While when we are sending EDI message to same partner its working fine.
Can any one help me on this.Do you mean that you use same Decryptoin certificate for both Quality and Production server? Confirm this from your partner. Also, this certificate should be present in Visual Admin/NWA of your production PI server and the name used while importing should be exactly same as the name mentioned in the channel.
Regards,
Prateek -
Error while reading data from cache
Hi,
I am implementing IPofSerializer for an object of C#. I have successfully written C# object.
I have also read the first object.
But when I am going to read the second object's last field which of type boolean it is giving me error:
System.IO.EndOfStreamException was unhandled by user code
Message="Unable to read beyond the end of the stream."
Source="mscorlib"
StackTrace:
at System.IO.__Error.EndOfFile()
at System.IO.BinaryReader.ReadByte()
at Tangosol.IO.DataReader.ReadPackedInt32()
at Tangosol.IO.Pof.PofStreamReader.UserTypeReader.AdvanceTo(Int32 index)
at Tangosol.IO.Pof.PofStreamReader.ReadInt32(Int32 index)
at Tangosol.IO.Pof.PofStreamReader.ReadBoolean(Int32 index)
at HyperRig.CachingService.Adapter.POFSerializers.MapMessageFieldPOFSerializer.Deserialize(IPofReader Reader) in D:\Hyper Rig\HyperRig.CachingService.Adapter\HyperRig.CachingService.Adapter.POFSerializers\MapMessageFieldPOFSerializer.cs:line 21
at Tangosol.IO.Pof.PofStreamReader.ReadAsObject(Int32 typeId)
at Tangosol.IO.Pof.PofStreamReader.ReadCollection[T](Int32 index, ICollection`1 coll)
at HyperRig.CachingService.Adapter.POFSerializers.MapMessagePOFSerializer.Deserialize(IPofReader Reader) in D:\Hyper Rig\HyperRig.CachingService.Adapter\HyperRig.CachingService.Adapter.POFSerializers\MapMessageFieldPOFSerializer.cs:line 55
at Tangosol.IO.Pof.PofStreamReader.ReadAsObject(Int32 typeId)
at Tangosol.IO.Pof.PofStreamReader.ReadObject(Int32 index)
at Tangosol.IO.Pof.ConfigurablePofContext.Deserialize(DataReader reader)
at Tangosol.Net.Impl.RemoteNamedCache.ConverterFromBinary.Convert(Object o)
at Tangosol.Util.ConverterCollections.ConvertArray(Object[] ao, IConverter conv)
at Tangosol.Util.ConverterCollections.ConverterCollection.CopyTo(Array array, Int32 index)
at Tangosol.Util.ConverterCollections.ConverterQueryCache.GetValues(IFilter filter)
at Tangosol.Util.ConverterCollections.ConverterNamedCache.GetValues(IFilter filter)
at Tangosol.Net.Impl.RemoteNamedCache.GetValues(IFilter filter)
at Tangosol.Net.Impl.SafeNamedCache.GetValues(IFilter filter)
at HyperRig.CachingService.Adapter.OracleCoherence.OracleCoherenceCachingLayer.ReadMultipleBySubjectName(String SubjectName, List`1& ReceivedMessageRecords, Object TransactionObject) in D:\Hyper Rig\HyperRig.CachingService.Adapter\HyperRig.CachingService.Adapter.OracleCoherence\OracleCoherenceCachingLayer.cs:line 444
at HyperRig.CachingService.Adapter.OracleCoherence.OracleCoherenceCachingLayer.ReadMultipleBySubjectName(String SubjectName, List`1& ReceivedMessageRecords) in D:\Hyper Rig\HyperRig.CachingService.Adapter\HyperRig.CachingService.Adapter.OracleCoherence\OracleCoherenceCachingLayer.cs:line 461
at HyperRig.DataManager.ETLEngine.DataCacheExtractor.Extract(Object transaction, DataTable& resultingDataTable)
InnerException:
I am using Oracle Coherence 3.5.3
Regards
Nitin JainHi Luk,
Here is the server side config:
<?xml version="1.0"?>
<!--
| Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved.
|
| Oracle is a registered trademarks of Oracle Corporation and/or its affiliates.
|
| This software is the confidential and proprietary information of
| Oracle Corporation. You shall not disclose such confidential and
| proprietary information and shall use it only in accordance with the
| terms of the license agreement you entered into with Oracle.
|
| This notice may not be removed or altered.
-->
<!DOCTYPE cache-config SYSTEM "cache-config.dtd">
<cache-config>
<caching-scheme-mapping>
<cache-mapping>
<cache-name>ACCOUNT</cache-name>
<scheme-name>dist-default</scheme-name>
</cache-mapping>
</caching-scheme-mapping>
<caching-schemes>
<distributed-scheme>
<scheme-name>dist-default</scheme-name>
<serializer>
<class-name>com.tangosol.io.pof.ConfigurablePofContext</class-name>
<init-params>
<init-param>
<param-type>string</param-type>
<param-value>custom-types-pof-config.xml</param-value>
</init-param>
</init-params>
</serializer>
<backing-map-scheme>
<local-scheme/>
</backing-map-scheme>
<autostart>true</autostart>
</distributed-scheme>
<proxy-scheme>
<service-name>ExtendTcpProxyService</service-name>
<thread-count>5</thread-count>
<acceptor-config>
<tcp-acceptor>
<local-address>
<address>localhost</address>
<port>9099</port>
</local-address>
</tcp-acceptor>
<serializer>
<class-name>com.tangosol.io.pof.ConfigurablePofContext</class-name>
<init-params>
<init-param>
<param-type>string</param-type>
<param-value>custom-types-pof-config.xml</param-value>
</init-param>
</init-params>
</serializer>
</acceptor-config>
<autostart>true</autostart>
</proxy-scheme>
</caching-schemes>
</cache-config>
and client side config is:
<?xml version="1.0"?>
<!--
| Copyright (c) 2000, 2009, Oracle and/or its affiliates. All rights reserved.
|
| Oracle is a registered trademarks of Oracle Corporation and/or its affiliates.
|
| This software is the confidential and proprietary information of
| Oracle Corporation. You shall not disclose such confidential and
| proprietary information and shall use it only in accordance with the
| terms of the license agreement you entered into with Oracle.
|
| This notice may not be removed or altered.
-->
<cache-config xmlns="http://schemas.tangosol.com/cache">
<caching-scheme-mapping>
<cache-mapping>
<cache-name>ACCOUNT</cache-name>
<scheme-name>extend-direct</scheme-name>
</cache-mapping>
</caching-scheme-mapping>
<caching-schemes>
<remote-cache-scheme>
<scheme-name>extend-direct</scheme-name>
<service-name>ExtendTcpProxyService</service-name>
<initiator-config>
<tcp-initiator>
<remote-addresses>
<socket-address>
<address>localhost</address>
<port>9099</port>
</socket-address>
</remote-addresses>
</tcp-initiator>
<outgoing-message-handler>
<request-timeout>30s</request-timeout>
</outgoing-message-handler>
<serializer>
<class-name>Tangosol.IO.Pof.ConfigurablePofContext, Coherence</class-name>
<init-params>
<init-param>
<param-type>string</param-type>
<param-value>Config\pof-config.xml</param-value>
</init-param>
</init-params>
</serializer>
</initiator-config>
</remote-cache-scheme>
</caching-schemes>
</cache-config>
Regards
Nitin Jain -
Error while reading data from SharePoint List - using object model
Any idea what could be reason for this error:-
Microsoft.SharePoint.Library.SPRequestInternalClass.GetListItemDataWithCallback2(IListItemSqlClient pSqlClient, String bstrUrl, String bstrListName, String bstrViewName, String bstrViewXml, SAFEARRAYFLAGS fSafeArrayFlags, ISP2DSafeArrayWriter pSACallback,
ISPDataCallback pPagingCallback, ISPDataCallback pPagingPrevCallback, ISPDataCallback pFilterLinkCallback, ISPDataCallback pSchemaCallback, ISPDataCallback pRowCountCallback, Boolean& pbMaximalView)
at Microsoft.SharePoint.Library.SPRequest.GetListItemDataWithCallback2(IListItemSqlClient pSqlClient, String bstrUrl, String bstrListName, String bstrViewName, String bstrViewXml, SAFEARRAYFLAGS fSafeArrayFlags, ISP2DSafeArrayWriter pSACallback,
ISPDataCallback pPagingCallback, ISPDataCallback pPagingPrevCallback, ISPDataCallback pFilterLinkCallback, ISPDataCallback pSchemaCallback, ISPDataCallback pRowCountCallback, Boolean& pbMaximalView)
at Microsoft.SharePoint.SPListItemCollection.EnsureListItemsData()
at Microsoft.SharePoint.SPListItemCollection.GetDataTableCore(Boolean isJsGrid)
at HRCompetencyGuide.SPHelper.<>c__DisplayClass2.<getDataTableFromList>b__0()
at Microsoft.SharePoint.SPSecurity.<>c__DisplayClass4.<RunWithElevatedPrivileges>b__2()
at Microsoft.SharePoint.Utilities.SecurityContext.RunAsProcess(CodeToRunElevated secureCode)
at Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(WaitCallback secureCode, Object param)
at Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(CodeToRunElevated secureCode
Mark ANSWER if this reply resolves your query, If helpful then VOTE HELPFUL
INSQLSERVER.COM
Mohammad NizamuddinIt is a simple code:- below is the part of the code taken from the method
SPSecurity.RunWithElevatedPrivileges(delegate()
using (SPSite site = new SPSite(siteURL))
if (site != null)
using (SPWeb web = site.OpenWeb())
SPList list = web.Lists.TryGetList(listName);
if (whereQuery == null)
collection = list.GetItems().GetDataTable();
else
collection = list.GetItems(whereQuery).GetDataTable();
Mark ANSWER if this reply resolves your query, If helpful then VOTE HELPFUL
INSQLSERVER.COM
Mohammad Nizamuddin -
Error while retrieving data from sql using jdbc adapter
hi all,
i m working on one scenario where i m sending data using HTTP and receiver is jdbc adapter which is retrieving me data from sql server.
i have checked the structure both for req and res.
i m getting this error
<SAP:Error>
<SAP:Category>Application</SAP:Category>
<SAP:Code>MAPPING.EXCEPTION_DURING_EXECUTE</SAP:Code>
<SAP:P1>com/sap/xi/tf/_INF57285_DB_HR_RES_</SAP:P1>
<SAP:P2>com.sap.aii.utilxi.misc.api.BaseRuntimeException</SAP:P2>
<SAP:P3>RuntimeException in Message-Mapping transformatio~</SAP:P3>
<SAP:Stack>During the application mapping com/sap/xi/tf/_INF57285_DB_HR_RES_ a com.sap.aii.utilxi.misc.api.BaseRuntimeException was thrown: RuntimeException in Message-Mapping transformatio~</SAP:Stack>
</SAP:Error>
can somebody help me with this.
Thanks & Regards
Arunathnks bhavesh i think i made it that way
JDBC REQ
<ns:INF57285_DB_Request xmlns:ns="http://www.infosys.com/xi/training/hyd/57285">
<Employee>
<EmpDetails action="SELECT">
<table>EmpDetails</table>
<access>
<Name />
<EmpId />
<Band />
<Salary />
</access>
<Key>
<EmpId>57285</EmpId>
</Key>
</EmpDetails>
</Employee>
</ns:INF57285_DB_Request>
JDBC RES
<ns:INF57285_DB_Request_response xmlns:ns="http://www.infosys.com/xi/training/hyd/57285">
<Employee_response>
<row>
<Name>aruna</Name>
<EmpId>57285</EmpId>
<Band>A</Band>
<Salary>4675776</Salary>
</row>
</Employee_response>
</ns:INF57285_DB_Request_response>
my hr req is which i mapped with DB req
<ns:INF57285_HR_Req xmlns:ns="http://www.infosys.com/xi/training/hyd/57285">
<REQUEST>
<EmpNo>57285</EmpNo>
</REQUEST>
</ns:INF57285_HR_Req>
my hr res is which i mapped with DB res
<ns:INF57285_HR_Res xmlns:ns="http://www.infosys.com/xi/training/hyd/57285">
<response>
<row>
<Name>aruna</Name>
<Empld>57285</Empld>
<Salary>4675776</Salary>
</row>
</response>
</ns:INF57285_HR_Res>
and interestingly i am not getting any error in sxmb_moni
it's not showing any error
plz suggest me something wht to do ....
thnks & regards
Aruna -
Message failing in SXMB_moni----Error while reading from the secure store
Hi,
The scenario is as below
A file is picked up from a folder and processed to enrich it.This enriched file is then written back in a different folder.
The message is failing in sxmb_moni while trying to write the file in the folder.
The PI system is a system copy of another system and few of the configuration objects are transported through a tpz file to this PI system.The file receiver channel used to write this file is also transported through this tpz file.
Below is the error seen in moni.:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?><!-- Call Adapter --> <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1"><SAP:Category>XIServer</SAP:Category><SAP:Code area="INTERNAL">AE_DETAILS_GET_ERROR</SAP:Code><SAP:P1/><SAP:P2/><SAP:P3/><SAP:P4/><SAP:AdditionalText>Error while reading from the secure store: ERROR_U: No service user password found for Adapter Engine</SAP:AdditionalText><SAP:Stack>Error while reading access data (URL, user, password) for the Adapter Engine
</SAP:Stack><SAP:Retry>M</SAP:Retry></SAP:Error>
Below is Trace log:
<Trace level="1" type="B" name="PLSRV_CALL_ADAPTER"></Trace><!-- ************************************ -->
<Trace level="1" type="B" name="CL_XMS_MAIN-CALL_PLSRV"></Trace><!-- ************************************ -->
<Trace level="1" type="B" name="CL_XMS_MAIN-CALL_PLSRV_LOCAL"></Trace><!-- ************************************ -->
<Trace level="1" type="B" name="CL_XMS_PLSRV_IE_ADAPTER-ENTER_PLSRV">
<Trace level="1" type="B" name="CL_XMS_PLSRV_CALL_XMB-CALL_XMS_HTTP"></Trace><!-- ************************************ -->
<Trace level="1" type="T">error reading secstore:Error while reading from the secure store: ERROR_UNKNOWN: System-dependent data for entry changed: / (SECSTORE,031) </Trace>
<Trace level="1" type="System_Error">Error while reading access data (URL, user, password) for the Adapter Engine </Trace>
</Trace>
</Trace>
<Trace level="1" type="System_Error">Error exception return from pipeline processing! </Trace>
<Trace level="1" type="B" name="CL_XMS_MAIN-WRITE_MESSAGE_TO_PERSIST"></Trace><!-- ************************************ -->
Is this because PI system is a system copy of another system ?
Regards,
SnehaError while reading access data (URL, user, password) for the Adapter Engine
Check out Michal's reply:
Re: URL for Central Adapter Engine
As you said there was a system copy it may be the case that some things were not configured properly
Maybe you are looking for
-
Recently unable to open Pages or any documents therein. It seems to be stuck in the Cloud. Although I can open a list of the documents I can not open any of the documents.
-
I accidentally left my ipad 3 charging overnight (8.5 hrs) when it was already 50% charged. Is my battery ruined??
-
Hello, I'm trying to make a mirror for my c drive on which my Windows server 2008 is installed and running. When I try to convert it into a dynamic disk, it shows some warning that the operating systems installed on it might not work properly. What s
-
I need to buy a license for Flex Builder 2.0 as I do?
I need to buy a license for Flex Builder 2.0 as I do?
-
Problems with Contribute3/Dreamweaver8 & PDF files
Does anyone know of problems downloading PDF files that have been uploaded with either Contribute 3 or Dreamweaver 8 to a server. I seem to be able to read these files in FireFox but not IE6 - don't know what I am doing wrong - HELP !!