Error in Reciever JDBC Channel
Hello Friends ,
Am getting the following error in Message Monitoring while sending data from PROXY --> JDBC scenario .
message is passing in ABAP stack and it is failing in java stack.
MP: exception caught with cause java.lang.NullPointerException: while trying to invoke the method com.sap.aii.adapter.jdbc.AdminAdapter.getAdapterReceiver(java.lang.String) of a null object loaded from static field com.sap.aii.adapter.jdbc.SapAdapterServiceFrameImpl.adminAdapter
Exception caught by adapter framework: while trying to invoke the method com.sap.aii.adapter.jdbc.AdminAdapter.getAdapterReceiver(java.lang.String) of a null object loaded from static field com.sap.aii.adapter.jdbc.SapAdapterServiceFrameImpl.adminAdapter
Delivery of the message to the application using connection JDBC_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.lang.NullPointerException: while trying to invoke the method com.sap.aii.adapter.jdbc.AdminAdapter.getAdapterReceiver(java.lang.String) of a null object loaded from static field com.sap.aii.adapter.jdbc.SapAdapterServiceFrameImpl.adminAdapter
requesting you to throw some Input on this ...
thanks in advance
raja
Hi Raja -
try restarting the service XPI adapter : JDBC in NWA and see if that helps..
Path :
http://host:port/nwa/start-stop - Java services - XPI Adapter: JDBC
Also the note -
1283145 - JDBC message fails after Messaging System restarts.
Similar Messages
-
Error in receiver JDBC channel
Hi,
I have a receiver JDBC scenario, which must execute a stored procedure.
Output message seems correct:
<ns0:MT_SQL xmlns:ns0="http://www.xxxx">
<STATEMENT1>
<DIRECC ACTION="EXECUTE">
<TABLE>biz_mag_clientes_direcciones</TABLE>
<idcliente type="VARCHAR">0001000692</idcliente>
<idtipodir type="VARCHAR">1</idtipodir>
<iddireccion type="VARCHAR">0210054466</iddireccion>
<idtipovia type="INTEGER">1</idtipovia>
<idciclovida type="VARCHAR" />
<idmaestro type="VARCHAR" />
<idtiporeplicacion type="VARCHAR" />
<cp type="VARCHAR">08188</cp>
<callenum type="VARCHAR">UR CAN SALA XIC APDO. CORREOS 507,</callenum>
<telefono type="VARCHAR">9999999</telefono>
<observacion type="VARCHAR" />
<grupocnae type="VARCHAR">55</grupocnae>
<subgrupocnae type="VARCHAR">5541</subgrupocnae>
</DIRECC>
</STATEMENT1>
</ns0:MT_SQL>
But there is an error in receiver CC:
Unable to execute statement for table or stored procedure. 'biz_mag_clientes_direcciones' due to java.lang.NumberFormatException: For input string: "1 "
I think this problem it's due to idtipovia field (INTEGER type), but i don't know how to solve it.
Any input, please ? Thanks
Carme.Yuki, if i defined this field as CHAR, cc returned this error:
JDBC message processing failed; reason Error processing request in sax parser: Error when executing statement for table/stored proc. 'biz_mag_clientes_direcciones' ): com.microsoft.sqlserver.jdbc.SQLServerException: Error converting data type nvarchar to int.
Because this field is INTEGER type in target stored procedure .
Ravi, This field is defined as xsd:integer in data type.
Thanks,
Carme. -
Error in reciever JDBC adapter
My interface is Proxy to JDBC, in my JDBC adapter while checking with adapter monitoring ---> communication monitoring it is showing green light and saying fuctioning for log
but inthe case of message monitoring it is showing system error, but i am not able to see what is the error , will any one help meMessage Data
Attribute Value
Engine All
Status System Error
Repeatable Yes
Cancelable Yes
Start 29.12.2008 13:02:01
End 29.12.2008 13:17:03
Sender Party
Sender Service DK2
Sender Interface urn:sXX:message
MI_PROXY_TO_CCD_SOURCE
Receiver Party
Receiver Service XXX_oracle
Receiver Interface urn:xxx:message
MI_PROXY_TO_CCD_DBMS
Quality of Service Exactly Once
Error Category
Error Code
Message 4958509E2CEB26D6E10000000A0A0125
Reference
this is what i am getting nothing else i am getting -
Error in reciever JDBC Adapater
I have a select query as
SELECT * FROM ULIDTA2.F5631505 where QSINTF ='Y'
update query is
Update ULIDTA2.F5631505 set QSINTF='Y' where QSINTF ='N'
if there are no rows to update , i am getting a error. wht could be the issue .Hi Amit,
A JDBC sender adapter has 2 essential fields,
1. SQL Statement
2. Update Statement
Your SQL statement will contain your SELECT statement and once your SQL statement is executed, UPDATE statement is executed. This is done so that records that have been selected by the SQL statement should not be selected again as the JDBC sender adapter will poll over the database for every poll interval.
If you want to SELECT something from your Database, then you will have to go for a JDBC sender adapter.
But, if you want to insert/update your Database, then you can go for a JDBC receiver adapter.
Multiple insertions are possible for a JDBC receiver, but multiple Selection queries (different select queries) are not possible for a single JDBC sender adapter.
Just check these links to understand how JDBC adapters work,
If you wanna do update/insert you will have to follow the
<a href="http://help.sap.com/saphelp_nw04/helpdata/en/2e/96fd3f2d14e869e10000000a155106/content.htm">Document Formats for the Receiver JDBC Adapter</a>
For Configuring the Receiver JDBC Adapter refer:
<a href="http://help.sap.com/saphelp_nw04/helpdata/en/64/ce4e886334ec4ea7c2712e11cc567c/content.htm">Configuring the Receiver JDBC Adapter</a>
For Configuring the Sender JDBC Adapter refer:
<a href="http://help.sap.com/saphelp_nw04/helpdata/en/7e/5df96381ec72468a00815dd80f8b63/content.htm">Configuring the Sender JDBC Adapter</a>
Regards,
Abhy -
Error in Sender JDBC communication channel
Dear All,
We have an interface in which we are fetching data from SQL database through sender JDBC communication channel.
Last week SQL server was upgraded from 2000 to 2008 and the communication channel has stopped working and is giving the following error:
Database-level error reported by JDBC driver while executing statement 'SELECT * FROM mstemp_tbl WHERE Active='0''. The JDBC driver returned the following error message: 'java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]The incoming tabular data stream (TDS) remote procedure call (RPC) protocol stream is incorrect. Parameter 1 (""): Data type 0x38 is unknown.'. For details, contact your database server vendor.
Please let me know if any JDBC drivers are to be installed for SQL 2008 or how can we resolve this.
Thanks,
NJHi,
You may need to update your JDBC driver to 1.2 or 2.0. Kindly see supportability matrix on this link (question #2):
http://msdn.microsoft.com/en-us/sqlserver/cc325721
Regards,
Jenny -
JDBC : error in receiver communication channel?
Hi Experts ,
I am doing a JDBC to JDBC scenario. The following error comes in my receiver communication channel monitoring.
Error while parsing or executing XML-SQL document: Error processing request in sax parser: Error when executing statement for table/stored proc. 'VIN_STG_STORER_RMS' (structure 'Statement'): java.sql.SQLException: FATAL ERROR document format in structure 'Statement': expected 'access' tag(s) not found
My receiver data type has got the 'access' tag. What other reason can cause this error?
Receiver table name : VIN_STG_STORER_RMS
Regards,
ShamlyHi Ranjit,
My moni shows processed successfully. but the error is in communication channel.
I have pasted below the target xml structure. Any suggestions?
Thank you.
Shamly.
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://mg.adityabirla.com/mg/wms/store_supps" targetNamespace="http://mg.adityabirla.com/mg/wms/store_supps">
<xsd:element name="MT_WMS_Store_Supps" type="DT_WMS_Store_Supps" />
<xsd:complexType name="DT_WMS_Store_Supps">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">
1f3cf480f98411dcb83a0003ba0adbbd
</xsd:appinfo>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="Statement">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">
33dd8ee0ef5c11dcb812001d7df81104
</xsd:appinfo>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element name="VIN_STG_STORER_RMS">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">
33dd8ee1ef5c11dca724001d7df81104
</xsd:appinfo>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element name="access" minOccurs="0" maxOccurs="unbounded">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">
a31a45f0ef5c11dca305001d7df81104
</xsd:appinfo>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element name="STORERKEY" minOccurs="0">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">
a31a45f1ef5c11dcb3c3001d7df81104
</xsd:appinfo>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:minLength value="0" />
<xsd:maxLength value="15" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="TYPE" minOccurs="0">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">
a31a45f2ef5c11dcc33e001d7df81104
</xsd:appinfo>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:minLength value="0" />
<xsd:maxLength value="30" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="WHSEID" minOccurs="0">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">
a31a45f3ef5c11dcabb7001d7df81104
</xsd:appinfo>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:minLength value="0" />
<xsd:maxLength value="30" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
...and so on for many other fields.
Edited by: Shamly MM on Mar 24, 2008 10:27 AM -
Error at sender JDBC communication channel
Dear All,
While executing JDBC(MS-Access)-PI-RFC interface, we are getting error in sender JDBC communication channel. The error is as following:
Error during database connection to the database URL 'jdbc:odbc:Driver={Microsoft Access Driver (*.mdb)};DBQ=
sappidev\Datatran\Database.mdb' using the JDBC driver 'jdbc.odbc.JdbcOdbcDriver': 'com.sap.aii.adapter.jdbc.sql.DriverManagerException: Can not establish connection:: SQLException: [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified'.
I have checked various posts on forums and as per those no drivers installation is required to access MS-Access database and I am not able to find any post which could solve my problem.
Kindly guide me on what might be the problem and how this can be resolved.
Regards,
NJHi Nishu,
That error ALWAYS means your DSN name is incorrect or can't be accessed for some reason (permission). The ODBC part says that the bridge is working.
But that DSN is 100% wrong or cannot be seen by the user account that the server is running as. Make sure you have a system DSN and not a user one.
You can refer these....
http://bytes.com/topic/java/answers/625400-java-sql-sqlexception-microsoft-odbc-driver-manager-data-source-name-not-found
http://www.daniweb.com/forums/thread13092.html#
Hope this will help you....
Regds,
Pinangshuk. -
Error in AS2 reciever Communication channel
Hi all,
We are working on Idoc to AS2 scenario using SAP PI 7.1. we have installed the certificates provided by the AS2 partner on the PI system and used them in the Reciever agreement. When trying to test this interface, we are getting the following error in AS2 communication channel:
Message-Verarbeitung fehlgeschlagen. Grund: javax.resource.ResourceException: Fatal exception: javax.resource.ResourceException: SEEBURGER AS2: AS2 Adapter failure # java.lang.Exception: AS2 message composition failed: com.seeburger.ediint.edi.EDIMessageException: EDI message composing failed: signature generation failed: signature generation failed: java.security.NoSuchProviderException: provider BC not found., SEEBURGER AS2: AS2 Adapter failure # java.lang.Exception: AS2 message composition failed: com.seeburger.ediint.edi.EDIMessageException: EDI message composing failed: signature generation failed: signature generation failed: java.security.NoSuchProviderException: provider BC not found.
Can anyone please help us in resolving this?
Regards
JagruthiHi Jagruti,
I am also looking for the same scenarios with Receiver AS2 adapter on PI 7.1
I have noticed that in my AS2 receiver adaper i am not getting AS2 server details instead the conf is different from previous AS2 adapter.
I am getting below options
channel attribute for RTP
Scurity attribute for RTP etc.
can u pls help me whether anything is missing in deployment why I am not getting other optins.
can u also share any conf doc which u hav
chirag -
Error in reciever file adapter , where i am getting file name dynamically
hi all,
error in reciever file adapter , where i am getting file name dynamically, please help me in this isssue , i am trying for a long time
MP: Exception caught with cause com.sap.aii.af.ra.ms.api.RecoverableException: Exception in XML Parser (format problem?):'java.lang.Exception: Message processing failed in XML parser: 'Conversion configuration error: Unknown structure 'ns0:MT_eINVOICE_RECV' found in document', probably configuration error in file adapter (XML parser error)': java.lang.Exception: Exception in XML Parser (format problem?):'java.lang.Exception: Message processing failed in XML parser: 'Conversion configuration error: Unknown structure 'ns0:MT_eINVOICE_RECV' found in document', probably configuration error in file adapter (XML parser error)'i am getting new error
MP: Exception caught with cause com.sap.aii.af.ra.ms.api.RecoverableException: Channel has not been correctly initialized and cannot process messages
this is my strcuture
and i have changed my structure
<HEADER>
<ADDRESS1/>
<ADDRESS2/>
<ADDRESS3/>
<ADDRESS4/>
</HEADER>
<HEADER_GST>
<TAX1/>
<TAX2/>
<TAX3/>
</HEADER_GST>
<LINE>
<QTY/>
<UOM/>
<UNIT_AMT/>
<CHARGE_TO_DT/>
</LINE>
<FILENAME>
<FILENAME/>
</FILENAME>
i have given the recordset structure as
HEADER,HEADER_GST,LINE,FILE -
Error in reciever JMS adapter (SENARIO FILE - XI- JMS )
HI everyone,
My previous error is solved (Error in getting initialcontext). I have deployed the required jar files on server.
Thanks to you'll.
Now I am getting the following error in JMS adapter monitoring RECIEVER CHANNEL . NO DETAIL INFORMTION SET.
i AM USING IBM websphere MQ series for recieving JMS messages from XI.
I have made Queue manager,
Queue,
reciever channel.
and have also provided the following details in my communication channel in XI
QueueConnection FactoryJavaClass : com.ibm.mq.jms.MQQueueConnectionFactory
QueueJavaClass : com.ibm.mq.jms.MQQueue
Ip address or server name : <my ip address> since i have installed IBM JMS server on my system.
server port :1415
QueueManagerName :QM_apple
channel name : reciever_channel
jms Queue: Q1
character set id (ccsid): This I have not given , Idont know what to give here
Transport protocol :tcp/ip
Please guide me to go further , I am stucked at the error , No reciever details set. What should i do?Hi Deepak ,
Please refer this forum post .. if this helps.
Reg:Receiver Mail Adapter
Regards,
srinivas -
Hi,
I got the following error in sender communication channel monitoring.
Error during database connection to the database URL 'jdbc:odbc:Driver = (Microsoft Access Driver (.mdb)); DBQ = //db/TestDB.mdb using the JDBC driver 'sun.jdbc.odbc.JdbcOdbcDriver': 'com.sap.aii.adapter.jdbc.sql.DriverManagerException: Cannot establish connection to URL 'jdbc:odbc:Driver = (Microsoft Access Driver (.mdb)); DBQ = //172.19.61.54/jdbc/T': java.lang.NullPointerException'
Pleae help me to solve this error.
Thanks,
Sreediviahi
check whether MS Access drivers deployed correctly or not
check with the basis team
also check this blog
Connecting to MS Access using receiver JDBC Adapter
Connecting to MS Access using receiver JDBC Adapter (Without DSN)
regards
kummari -
Problem in the receiver JDBC channel
hi,
I am facing some problem with the receiver JDBC channel which is trying to insert some data in ORACLE DB. My sample input XML file is,
<root>
<statement>
<table>EBILL_CUST_STATE_AGE_HDR2</table>
<CUST_CODE>BA001</CUST_CODE>
<CUST_ADDR>Rental Customer Name 1+Name 2street01+TEL: 0331694100
FAX:0331694103</CUST_ADDR>
<CRD_LMT>1000000.00</CRD_LMT>
<BG_AMT>1000000.00</BG_AMT>
</statement>
</root>
Error stack is,
Exception caught when executing statement for table/stored proc. 'EBILL_CUST_STATE_AGE_HDR2' (structure 'Statement_CUST_STATE_AGE_HDR2'):
java.sql.SQLException: ORA-00917: missing comma
Please help me in solving the issue ASAP.
Thanks,
SooryaHi,
It works like this
<ROOT>
<STATEMENT>
<TABLENAME ACTION="INSERT">
<TABLE>EBILL_CUST_STATE_AGE_HDR2</TABLE>
<ACCESS>
<CUST_CODE>BA001</CUST_CODE>
<CUST_ADDR>Rental Customer Name 1+Name 2street01+TEL: 0331694100
FAX:0331694103</CUST_ADDR>
<CRD_LMT>1000000.00</CRD_LMT>
<BG_AMT>1000000.00</BG_AMT>
</ACCESS>
</TABLENAME>
</STATEMENT>
</ROOT>
Please refer the link.
http://help.sap.com/erp2005_ehp_04/helpdata/EN/ae/d03341771b4c0de10000000a1550b0/frameset.htm
Abid Mazhar -
Database-level error reported by JDBC driver
Hi everyone,
I get an error in my Sender JDBC adapter. I am executing a stored procedure every minute. In total I have 34 JDBC senders for every different database. The error is like below. The problem is in Alert Inbox I cant see the rest of the message. This error occures just once every hour (average). I dont know why and I dont know what the rest of the error is saying.
Any ideas how i can see the rest of the message? And where the error might be?
Note: In communication channel monitoring everything is green.
Database-level error reported by JDBC driver while executing statement 'EXEC [TBHi,
obviously there are concurring accesses to the table your stored procedure is accessing. This is nothing serious, because SAP XI will retry the execution of the stored procedure according to the settings of the communication channels (3times all 5 minutes is the default). Additionally you can set the repeats in case of SQL errors in the extended tab of the communication channel configuration.
Tuning the transaction isolation levels might help to avoid the error but can decrease the consistency of the data as well. Default isolation level is always the highest available in a database (in case of SQL Server it should be SERIALIZABLE), so locks might easily occur. I would suggest to have a look at other applications accessing the tables and determine their isolation level.
All in all, I guess there shouldn't be real problems, because of the repeated execution of you stored procedure, but it's worth to have a look at the isolation level.
Regards Sven -
Errrror in sender JDBC channel in rwb
hi forum,
in a JDBC to XI scenario,
the sender JDBC channel, in rwb, shows error:
Status: RED
Short Log: Adapter has not provided any information for this channel
Error information: Exception: Channel with status unknown or Not Registered
pls help, its in production systemRAJ,
these channels were always active an working fine,
let me explain the problem in detail,
we have three cluster nodes for XI system,
so, in rwb, communiation channel monitoring, we can see the status of a channel corresponding to the 3 nodes seperately,
here i can see that, for 2 nodes the channel is GREEN and working, but for one of the node, it gave the already mention error -
I have just set up the developer edition coldfusion and a standard SQL Server. When trying to set up a datasource i recieve the following error: [Macromedia][SQLServer JDBC Driver]No more data available to read. I have no clue what this means. I have tried to find some documentation on this but with now luck. Can anyone help?
Here are some details:
SQL SERVER CONNECTION MANAGER:
Trying to connect to a localhost sql server
I have TCP/IP Enabled
Dynamic Ports is set to 0 under IP ALL
127.0.0.1 is enabled and the port is set to 1433
COLDFUSION ADMIN:
server: 127.0.0.1
port 1433
username/password set to null (using windows authentication)
Has anyone ran in to this issue?
Thanks for helping.You can use domain credentials with CF. To do so you've got to create the datasource in Windows. Then, in ColdFusion you select ODBC mapping and point it to the Windows DS.
If I recall correctly, there's a switch in SQL 2005 that you've got to flip to allow SA rights to log in from the network. I could be way off base on that one though.
You may want to consider creating a new SQL account with its own password and assigning it to your target database (usually, I grant data reader and writer - your app may vary) and use those new credentials in your JDBC mapping in CF.
Maybe you are looking for
-
Source System in Transformation
Hi Experts, Here is my scenario. We have number of BW Systems (RBW1 to RBW5 ) for each continental regions. All these should load data to one Global BW System ( GBW ). RBWs have ODSR1 to ODSR5 and all of it will be connected to DSOG1 in global syst
-
My IPod 5 shut down and wont turn back on. people say to hold down home and lock button but my home button doesn't work. what do I do?
-
How to update something on different JFrame...?
Hi! How can you update a component on a JFrame different from the one where the action is performed? I ve tried passing a reference of that frame and invalidating anything possible... but did not work! I desperatly need help! Do you have any example?
-
Metadata - now you see it now you don't
Is there any way to use Bridge/ Bridge Raw in order to simultaneously apply templates to multiple images? I can do individual jpgs opened in PS CS4, but not batched in Bridge. Am I applying DNG templates that are stripped once they go into .psd or .j
-
Can I use Time Capsule off a Netgear Router? Can it work with a hub?
Hi, I have a Sling Box set up with a modem and a Netgear router and a bridge. The sling box does not support an Airport base station. I also have a Time Capsule which works off a modem and I can not get to work off my Netgear router. How do I avoid h