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,
NJ
Hi,
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
Similar Messages
-
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. -
XI: Sender JDBC Communication Channel is not getting picked the records
Hi All,
Here I 'm facing an Issue with my sender JDBC communication Channel. Previously it was working fine but It is not Picking the records from the JDBC table.
Communication Channel is in active mode only.
I have checked in RWB communication Channel monitoring there i didn't get any error or success messages but channel is showing healthy status only(Green)
But i had created the new communication channel..with the same parameters which are in the older communication channel.. and sender agreement level also i had changed.. so now new channel is working fine.... I didn't understand what is the problem with previous communication channel.
ThanksHi yadav,
do you have TWO CCs polling at the same time via JDBC?
This could be the problem --> a conflict between both CCs.
Switch off ONE CC:
Regards Mario -
Error in Receiver JDBC communication channel
Hi friends,
I am getting an error in communication channel while inserting xml data into ORACLE database. Error is like
"Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: Error processing request in sax parser: Error when executing statement for table/stored proc. 'SUB_ORDER_HEADER' (structure 'STATEMENT_SUB_ORDER_HEADER'): java.sql.SQLException: ORA-00936: missing expression ".
In the above error 'SUB_ORDER_HEADER' is table and 'STATEMENT_SUB_ORDER_HEADER' is a statement tag of XML SQL.
Please help me to solve the issue.
Regards,
SanthoshHi,
Since oracle database has all fields in Caps, and also it is case sensitive. So check whether you have the database table name and the field name specified in the datatype are concurrent with the fields and the table name in oracle table.
Regards,
Nithiyanandam -
Sender RFC and JDBC communication channels required to be activated
Hello Guys,
Whenever we have a Oracle restart after the server is shut down for maintainence . The sender JDBC communication channel does not poll and we have to activate the channel again in the Integration Directory to make it work, is there any way to make it work automatically.
Similar is tha case with the sender RFC communication channel.
Allthough the component monitoring shows green button for the JDBC, RFC communication channel.
In case of the JMS channel (sender) the channels are in red.
Thanks for your help.HI
There is no automatic ways to restart channel that you have to manually start.
You need to stop the channels first before getting oracle server down for maintenance. This will save from errors. Maximum what you can do is to start stop channel using a program externally but that require development.
Start/Stop using RWB
Starting / Stopping of Communication Channel from RWB
Start/Stop without using RWB
Control Communication Channels Externally without using RWB
Thanks
Gaurav -
Sender JDBC Communication Update SQL Command Problem!
Hi all,
I am trying to do a SENDER JDBC Scenario in XI.
I fetch the Records from the table Once per day based on the Current Date.
I do not have any Update Credentials in the table.
I can only perform Select Querry.
But when i am trying to configure the SENDER JDBC Channel its asking me to enter value for Update SQL Command in Sender JDBC communication channel Process Parameters.
Its not accepting BLANK or ' * ' Values.
But i have only Select Querry credentials in the table. I can only pick the values cant Update the tables but.
In the Above scenario how can i configure the Sender JDBC CC without Updating the Table after fetching the value?
Please Advice
Regards,
Senthilprakash.Hi,
Specify the Update SQL Statement value as .
http://help.sap.com/saphelp_nw04/helpdata/en/14/80243b4a66ae0ce10000000a11402f/frameset.htm
Thanks
SaNv...
Edited by: Sãnthosh Kûmãr V on Oct 8, 2008 10:44 AM
Edited by: Sãnthosh Kûmãr V on Oct 8, 2008 10:45 AM -
Issue on file sender adapter communication channel
Hi All,
I have an issue on some of the file sender adapter communication channels .The channels are failing with the error :
(u201CAttempt to process file failed with com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.xi.swift.ParserException: com.sap.xi.swift.ParserException: Message does not start with character '0x1f'u201D).
Please let me know the procedure to get this message processed.
Thanks & Rgards
VishnuHi Vishu,
Find out in what encoding the file is in. for that download Notepad++ and open the file with in.
In Encoding tab you will see the encoding format.
1. If its not UTF-8 or ANSI then you should set the correct encoding in Sender File channel.
2. Check for BOM characters which will not be visible directoly.
3. Use Notepad++ to convert the content to HEX and check for hidden values. i bet there will be some Encoding BOM in the file which is creating problem while picking the file.
Since you are using SWIFT module: try to validate the XML file using Altova XML and check weather is correct.
also ref to this thread:http://scn.sap.com/thread/2134946
Regards,
Senthilprakash -
Finding a System Error Message (reflected in communication channel)
Hi,
I am working on release 3.0. I have found a System Error Message reflected in JDBC communication channel due to a data problem. I assume that this message is old and I can not find the message. It seems that I need the exact date and time when the message was created in order to find this message. I would like to find the payload to view the data and cancel the message.
Does anyone have any tips on how to find this sort of message?
Thanks,
Leanneuse the standalone Logviewer to read the log files. Works great.
"If you have an SAP Web Application Server Java 6.20 or below you may also get a standalone_logviewer.zip file at the SAP Service Marketplace at service.sap.com/download u2192 SAP NetWeaver u2192 Release 04. In this case JDK version 1.3 or higher must be installed on the system. The java version must be same on the server and the client.
In the SAP Web AS Java 6.30 installation a folder named logviewer_standalone can be found under: <path Of J2EE installation>/<SysID>/JC<nr>/j2ee/admin/logviewer_standalone. Verify that the batch file logviewer.bat is installed in the directory logviewer-standalone.
(source -> http://help.sap.com/saphelp_nw04/helpdata/en/e4/540c404a435509e10000000a1550b0/frameset.htm)
procedure is ..
1.open Visual Administrator
2.click Log Configurator
3.Runtime->Destinations you can find out which destination is for defaultTrace.X.trx.
4.change the formatter from "com.sap.tc.logging.ListFormatter" to "com.sap.tc.logging.TraceFormatter"
if change couldn't take effect,reboot j2ee.
regards
chandra -
How to set errorDelay parameter in sender JMS Communication Channel?
Dear XI/PI Experts,
Do you happen to have a documentation on how to implement the errorDelay parameter and other general parameters in the sender Sender JMS communication Channel? Do you happen to have a step by step guide or pdf that I can use?
I look forward to hearing from you.
Thanks a lot in advance.
Kind regards,
GraceHi Thanks for your replies.
What I need to do is to implement this bullet point:
¡ errorDelay
The default value for this parameter is 0.
This parameter determines how long the system waits before processing further messages if an error occurs. In transactional processing, it can make sense to specify a certain time period, for example, because messages with errors remain in the queue following a ROLLBACK.
In which part of the Sender JMS Comm Channel will I implement this?
Should I put this under tab /Parameters/Processing/Error Handling Settings or should this be under /Parameters/Advanced/Additional Paremeters? -
Sender FTP communication channel
Hi experts,
We have had the following problem twice with two different comm channels:
A sender FTP communication channel stops polling for no apparent reason. There were no errors and the status remained green. After I stopped and started the communication channel in the runtime workbench the adapter picked up all the remaining files and processing finished ok.
Anyone had this problem before? Any ideas for a solution?
Thx,
PhilipHi
look Similar thread
File (FTP) Adapter: stops polling
File Adapter stops working -
Sender JDBC Commn channel problem - Channel is not reading any data.
Hi,
I am referring to the following blog as i have exactly the same problem:
[Blog|Sender JDBC Commn channel problem;
I communication channel monitoring i am getting the following logs -
6/21/10 7:19:07 PM Processing started
6/21/10 7:19:07 PM Retry interval started. Length: 86400.0 seconds
Here in the channel the poling interval is 86400 seconds.
Now according to this blog the solution to my issue is "Check whether anything is locked in "Locking adapter" in VA? If there is then just release the lock and restart the comm channel. Note: In "locking adapter" the name will be something like $XIDBAD.JDBC2XI."
Mine is a PI7.1 system and i am not able to find any thing like this in NWA.
Can some one please help me on this?
Thanks & Regards,
Anshultry;
Goto NWA -> Availability and Performance Management -> Resource Monitoring -> Locks -
Error in HTTP_AAE receiver communication channel, PI 7.4 dual stack
Dear Experts,
I am facing the below certificate error in HTTP_AAE receiver communication channel while using the third party (bank) private key. Third party bank server is HTTPS enabled, moreover they have generated the public and private keys on their server, and they shared the corresponding private keys in .p12 format to us. Our scenario in SAP PI is synchronous ABAP Proxy to HTTP_AAE, when I see the message in SXMB_MONI after testing, we get he below certificate error, though we have provided the correct path from keystorage view and keystorage entry in HTTP_AAE receiver communication channel
“com.sap.aii.adapter.http.api.HttpAdapterException: ERROR_SENDING_HTTP_REQUEST, sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target”
We have imported the private key provided by bank in Netweaver admin key storage, by following the below steps.
NWA -> Certificates -> Key Storage -> TrustedCA->Import Entry->Entry Type->PKCS#12 Key Pair->select the .p12 file->import.
Please see the attached doc for related screenshots.
Please experts help me experts as this is on high priority from client, also suggest me if I am doing anything wrong here.
Thanks,
FarhanHi Farhaan,
do you have only one certificate or multiple certificate? HTTPS can have 2 or 3 certificates (Root, Intermediate [optional, if any 3rd party person is there in the middle then we can get this certificate] and system certificates).
The issue is with the certificate and it can be because All the certificate is not present or path is not correct.
Please refer the below wiki in which solution is given for this peroblem.
Troubleshooting 7.1 - End-User Experience Monitoring - SCN Wiki
The similar issue is resolved by applying SP level patch, please refer the below discussion
SAP PI 7. 3 HTTP_AAE Receiver with SSL
Please check the below blog -
Configure the HTTP_AAE receiver communication channel with SSL
please also check the below discussion
Where to Import Clients SSL certificate for HTTP_AAE
regards,
Harish -
HOW TO CREATE SERVICE FOR SENDER SOAP COMMUNICATION CHANNEL FOR ECC PROXY
Hi Experts,
I need generate the service for sender soap communication channel for target url to receive the inbound proxy.
my scenario is like SOAP to proxy. while using receiver proxy also we are planing using AAE method .
i am using SOAP sender and SOAp receiver communication channel .i need to provide the target url for this communication channel.
how to generate the url for this and what is the transaction code .
Please help us.
Regards
Ravinder.SHi Ravinder,
Q.my scenario is like SOAP to proxy. while using receiver proxy also we are planing using AAE method.
SOAP to Poxy in this case.
For sender SOAP system, we can generate the WSDL link in ID part.
for Reveiver proxy give the integration engine URL.
http://IP:PORT/sap/xi/engine?type=entry
how to generate the url for this and what is the transaction code
There is no transaction code for generating the URL.
i hope this will help.
Regards,
Kesava. -
Query in JDBC Communication channel
Hi,
I want to pass the database connection details dynamically to the JDBC communication channel during runtime from file. How is this possible?
What is the purpose of 'Java Library' in Processing Sequence?
Regards,
VenkateshHi,
>database connection details dynamically to the JDBC communication channel
To my Knowledge it is not possible as of now.
Regards
Agasthuri Doss -
Sender File Communication Channel Configuration
Hi guys,
We are trying to develop a file-to-Idoc scenario and we are facing some problems in the configuration of the sender file communication channel as far as the file format is concerned. The file, which is a material master file has the following structure:
00.00 FileHeader
30.00 Material n° 1
30.01 Material n° 1
30.00 Material n° 2
30.01 Material n° 2
30.00 Material n° n
30.01 Material n° n
99.00 FileFooter
Initially, I developed 4 datatypes, FileHeader, Record1, Record2 and FileFooter, and 1 datatype to incorporate all of these, but I faced trouble in 'Recordset Structure' attribute in communication channel, where "FileHeader,1,Record1,,Record2,,FileFooter,1" did not work.
After that I thought of creating one more datatype, called Record, with 0..* cardinality, that incorporates Record1 and Record2 with 1 cardinality.
Although I have declared them correctly as "FileHeader,1,Record,*,FileFooter,1" in 'Recordset Structure', I face trouble in the table with the attributes. What shall I use: I have Record1.fieldNames and Record2.fieldNames and fieldFixedLengths, but XI requires Record...
What you suggest?
EvaggelosHi,
I understand your problem....
I actually didn't look at the key fields...properly..
You have said that when you had tried taking Record1 and Record2 in your structure you had problems...
I think the second way which you are trying would not work..!
Can you try this..I am not sure if it will work..
Have your structure as
MT
+Record
++Header
++Record1
++Record2
++Trailer
So your Recordset name would be :Record
RecordsetStructure would be Header,1,Record1,,Record2,,Trailer,1
and then all the other parameters like fieldNames,fixedFieldLength,keyFieldValue...for Header,Record1,Record2,Trailer
U might just try out with this
Regards,
Manjusha.
Maybe you are looking for
-
How to change the background of a Jpanel
All I want to do is change the background color of my JPanel. I have looked at some of the java tutorials, and I am still having a really hard time figuring it out. Is there a simple way to just change the background color, without messing with overr
-
G530 (4446-22G) unknown devices after Win7 installation
Hi, I recently installed windows 7 ultimate 64-bit on my father's Lenovo G530 (4446-22G) laptop. In device manager I see 2 "base system devices" in yellow that are not recognized. Does anyone have any idea what those devices might be? I attach screen
-
Setting sga_max_size and memory_target
what happens when i set sga_max_size = 4500 memory_target = 5000M memory_max_target=5000M sga_target=0 can / will oracle use more than 4.5GB for sga ? can pga grow more than 500M ? startup; ORACLE instance started. Total System Global Area 4710043648
-
I have created an account and posted an album, but when my father tries to open the photocast on his account he gets the message: Photocast can not be found on .mac server. He has an Imac G5 with Iphoto 6. Any suggestions??? G5 Powermac Mac OS X (1
-
Can you please stop changing my default search engine every time you update Firefox?
I would like for the developers of Firefox to respect my settings. I have taken the time to set them and do not appreciate my default search engine changed by Mozilla when updates are automatically applied. Somewhere along the lines, Mozilla hopped i