JDBC Receiver/Sender Adapter Error - HowTo?!
Hi guys,
i have scenario JDBC2IDoc and back
Well i have to connect to SQLServer 2000. Therefore i downloaded and deployed following drivers:
sqljdbc.jar (for UNIX)
msbase.jar
mssqlserver.jar
msutil.jar
ojdbc14.jar
Deployment worked fine so i configured Sender CC as follows:
JDBC-Driver: com.microsoft.jdbc.sqlserver.SQLServerDriver
Connection: jdbc:microsoft:sqlserver://10.94.22.99:1433;DatabaseName=COS
User etc should be right
But i am getting following error:
<i>...'com.microsoft.jdbc.sqlserver.SQLServerDriver': 'com.sap.aii.adapter.jdbc.sql.DriverManagerException: Cannot establish connection to URL 'jdbc:microsoft:sqlserver://10.94.22.15:1433;DatabaseName=COSCOM': ClassNotFoundException: com.microsoft.jdbc.sqlserver.SQLServerDriver'</i>
What might be the problem?
br
Ok well i have a new problem.
1. there is no folder com.sap.aii.af.jmsproviderlib not even before deployment
2. deployment throws error saying that the jar's are not in the sda
but they are! here is my provider XML:
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE provider-descriptor SYSTEM "library.provider.dtd">
<provider-descriptor>
<display-name>com.sap.aii.af.jmsproviderlib</display-name>
<component-name>com.sap.aii.af.jmsproviderlib</component-name>
<major-version>7</major-version>
<minor-version>0</minor-version>
<micro-version>6</micro-version>
<provider-name>sap.com</provider-name>
<references>
<reference type="library" strength="weak">jms</reference>
</references>
<jars>
<jar-name>sqljdbc.jar</jar-name>
<jar-name>msbase.jar</jar-name>
<jar-name>mssqlserver.jar</jar-name>
<jar-name>msutil.jar</jar-name>
<jar-name>ojdbc14.jar</jar-name>
</jars>
</provider-descriptor>
No idea why SDM doesn't recognize the jars. The sda structure is:
/META-INF
/server
msbase.jar
mssqlserver.jar
msutil.jar
ojdbc.jar
sqljdbc.jar (even if i dont need it)
whats wrong?!
br
Similar Messages
-
Hi
In my scenario,we are sending plain request to web service using receiver sender adapter and PI will receive response as excel attachment. What are standard module required to achieve this and sequence? or checking Keep attachment box will help us to achieve this?
is it possible to receive excel sheet as attachment from receiver soap adapter ?
Thanks in AdvanceHi,
This issue might be due to the invalid .pem certificate file.
Make sure to include the beginning and end tags on each certificate.
The result should look like this:
-----BEGIN CERTIFICATE-----
(Your Primary SSL certificate: your_domain_name.crt)
-----END CERTIFICATE-----
-----BEGIN CERTIFICATE-----
(Your Intermediate certificate: DigiCertCA.crt)
-----END CERTIFICATE-----
For more detailed information, you could refer to:
https://www.digicert.com/ssl-support/pem-ssl-creation.htm
Regards -
HI Friends,
I have configured the JDBC Sender Adapter with parameters as
Driver : oracle.jdbc.driver.OracleDriver
Connection : jdbc:oracle:thin:system:netweaver:@172.25.4.221:1521
But Iam getting an error in Componenet Monitoring:
<b>History:
- 2006-05-30 04:55:36 UTC: Error: Stopped unexpectedly - reconfigure and activate to continue processing. Error: java.lang.NullPointerException
- 2006-05-30 04:55:36 UTC: Processing started</b>
How to resolve this??
Regards,
RajuHi
Thanks for the reply.
I tried with <b>jdbc:oracle:thin:@172.25.4.221:1521:netweaver</b> and
<b>jdbc:oracle:thin:@172.25.4.221:1521:system</b>
Now Iam getting another error.
<b>Sender Adapter v2108 for Party '', Service 'TBIT40_XI_LEGACY_BS_04':
Configured at 2006-05-30 05:12:30 UTC
History:
- 2006-05-30 05:13:00 UTC: Retry interval started. Length: 20.000 s
- 2006-05-30 05:13:00 UTC: Error: Accessing database connection 'jdbc:oracle:thin:@172.25.4.221:1521:system' failed: DriverManagerException: Cannot establish connection to URL 'jdbc:oracle:thin:@172.25.4.221:1521:system': SQLException: Io exception: Connection refused(DESCRIPTION=(TMP=)(VSNNUM=153093376)(ERR=12505)(ERROR_STACK=(ERROR=(CODE=12505)(EMFI=4))))
- 2006-05-30 05:13:00 UTC: Processing started</b>
Can U please solve it..
regards,
Raju -
Regarding the JDBC Receiver Communication Channel error
Hi All,
While executing Jdbc to Jdbc interface, i am getting error in jdbc receiver communication channel. please see below message for error description..
Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: Channel 'JDBC_AccntStatements_Receiver', Service 'BS_BusinessSystem', Party '': JDBC Adapter configuration not activated
Note: the channel status is active and activated(not in change mode).
Any idea on this error.
thanks,
Madhusudhan.Hi
According to your Error Message,
Saying that JDBC Configuration is not Active.
Once again cross check all the config is Activated & also Test your Config Using Config Test Tool in ID
And also check in RWB-Adapter Engine-Adapter monitoring ---select the option instaled & Started. whether the JDBC Adapter is working fine or not -
JDBC Receiver Communication channel Error
Hi Friends,
I am facing below error in JDBC Receiver Communication chnnel.
Please shared your views.
Message processing failed. Cause: com.sap.engine.interfaces.messaging.api.exception.MessagingException: Error processing request in sax parser: Error when executing statement for table/stored proc. 'KRSAPJOB' (structure 'Statements'): java.sql.SQLException: [SQL0204] KRSAPJOB in KRONOSMF type *FILE not found.
thanks
MohitHi Mohit,
I received a smiliar error with the receiving JDBC Communication channel. Please talk with your database Admin regarding the stored procedure.
Either one of the fileds in the database is Mandatory and you are not sending that field valiue OR
the data type for one of the fields definied is not matching the one in the database and the stored procedure is failing and throwing an exception.
Teresa -
J2SE File Sender Adapter Error
Hi Experts,
I am doing a scenario on J2SE. Like this: J2SE File Sender -> XI -> J2SE File Receiver.
On File Sender adapter, it has an error, like this "ERROR: Finished sending to Integration Engine with error u201Cjava.io.IOException: invalid content type for SOAP: TEXT/HTML; HTTP 404 Not Foundu201D. Skip confirmation and quit this loop"
And this is the full log:
D:\Thach\Input\xi_test.xml
16:51:45 (4052): Start processing u201CTXTu201D file u201CD:\Thach\Input\xi_test.xmlu201D size 190 in u201CEO mode
16:51:45 (4058): Start converting to XML format
16:51:45 (4061): Converted complete file content to XML format
16:51:45 (4062): Sending text message u201Ce1ffc9e0-71e5-11de-8306-0019d12044f1u2033 type u201Capplication/xmlu201D to Integration Engineu2026 (message size: 633 bytes, URL: u201Chttp://host:50200/sap/xi/engine?type=entryu201D)
16:51:45 (4076): ERROR: Finished sending to Integration Engine with error u201Cjava.io.IOException: invalid content type for SOAP: TEXT/HTML; HTTP 404 Not Foundu201D. Skip confirmation and quit this loop
16:51:45 (4077): Retry mode - wait 10 sec, 0 msec interval before retry
And this the content of xi_test.xml:
<?xml version="1.0" encoding="UTF-8"?>
<ns0:MT_Material_toPPS xmlns:ns0="http://gml.com/xi/XI/Tutorials">
<Material>
<Text>Test</Text>
</Material>
</ns0:MT_Material_toPPS>
And this the configuration of J2SE File Sender:
mode=FILE2XMBWITHROWCONVERSION
XI.TargetURL=http://host:50200/sap/xi/engine?type=entry
XI.User=PISUPER
XI.Password=*********
XI.QualityOfService=EO
XI.SenderParty=
XI.SenderService=BS_PlainJ2SE_Sender
XI.ReceiverParty=
XI.ReceiverService=BS_FileRecv
XI.Interface=MI_Material_toPPS_OB
XI.InterfaceNamespace=http://gml.com/xi/XI/Tutorials
file.type = xml
file.sourceDir=D:
Thach
Input
file.sourceFilename=xi_test.xlm
file.processingMode=test
file.pollInterval=10
#Content conversion parameters in PlainJ2SE Adapter
xml.documentName = MT_Material_toPPS
xml.documentNamespace = http://gml.com/xi/XI/Tutorials
xml.structureTitle = Material
xml.processFieldNames = fromConfiguration
xml.fieldNames = Text
Please help to solve the issue.
Thanks so much,
vn thachThe URL of the Integration Server is wrong or you cannot access the server from the host, where the J2SE adapter is running:
XI.TargetURL=http://host:50200/sap/xi/engine?type=entry
If the Client of the Integration Server is not 000, then you have also to add that line:
XI.Client=XXX -
Hi All,
I have configured the Receiver XI Adapter which i will use to send the
data to the J2SE adapter.
The XI adapter configuration is :-->
Transport Protocol-- HTTPS
Message Protocol- Xi3.0
Adapter Engine- Intergration Server
Addressing type-- URL Address
Target Host- host Name
Service number- Port i.e 8202
Path -- /file/if216at3
The J2SE Adapter receiver configuration:-->
File adapter java class
classname=com.sap.aii.messaging.adapter.ModuleXMB2File
version=30
mode=XMB2FILE
##Adress for XMB endpoint
XI.httpPort=8212
XI.httpService=/file/if216at3
##File Adapter specific parameters
file.createDir=1
file.targetDir=C:/XI/Inbox
file.targetFilename=IF216AT3*.txt
file.writeMode=new
#file.writeMode=overwrite
file.writeMode=addTimeStamp
file.counterMode=immediately
#file.counterMode=afterFirst
file.counterSeparator=_
file.counterFormat=00000
file.counterStep=1
I am getting the error :--
<?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="">
<SAP:Category>XIServer</SAP:Category>
<SAP:Code area="INTERNAL">HTTP_RESP_STATUS_CODE_NOT_OK</SAP:Code>
<SAP:P1>404</SAP:P1>
<SAP:P2>Not Found</SAP:P2>
<SAP:P3 />
<SAP:P4 />
<SAP:AdditionalText />
<SAP:ApplicationFaultMessage namespace="" />
<SAP:Stack>HTTP response contains status code 404 with the description Not Found Error when sending by HTTP (error code: 404, error text: Not Found)</SAP:Stack>
<SAP:Retry>M</SAP:Retry>
</SAP:Error>Some more checks
file.targetFilename=IF216AT3*.txt -> can we use wild charcter to define a file name ?
fi
le.writeMode=new ->>????? i dun think we have this parameter *new
(#file.writeMode=overwrite / file.writeMode=addTimeStamp / ) ---> use one
(#file.counterMode=afterFirst, file.counterSeparator=_ ,file.counterFormat=00000
file.counterStep=1)
You are using write mode = overwrite then why is File.counterMode set here >?
File.countMode should only be set if you have file.writeMode=addCounter
for further reference go through these
http://help.sap.com/saphelp_nw04/helpdata/en/6f/246b3de666930fe10000000a114084/frameset.htm
<b>Cheers,
*RAJ*
*REWARD POINTS IF FOUND USEFULL*</b> -
Hi All,
I am getting this response error message in my receiver SOAP Adapter while invoking a synchronous webservice.
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <!--
Request Message Mapping
-->
- <ProcessMessageResponse xmlns="http://Sleek.Integrator.Messaging" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ProcessMessageResult>Value cannot be null. Parameter name: Request string is a null reference.</ProcessMessageResult>
</ProcessMessageResponse>
Thx in advance
RavijeetHi All,
I am still getting the same error value is null. I am not able to track what could be the cause of the error. If I am taking the message from SXMB_MONI and using it in a client tool it is successfully calling the webservice.
Do we need to explicitly mention in some configuration that content type is soap/xml. SOAP header is omitting the content type or is not specifying "soap/xml" as the content type.
I am interacting with a WAF websevice, is there any compatibilty issue with Windows Webservice and SAP XI?
Also what should I pick as the SOAP Action from this wsdl file definition
<wsdl:portType name="IMessageProcessor">
<wsdl:operation name="ProcessMessage">
<wsdl:input message="tns:IMessageProcessor_ProcessMessage_InputMessage" wsaw:Action="XXX.Messaging/ProcessMessage"/>
<wsdl:output message="tns:IMessageProcessor_ProcessMessage_OutputMessage" wsaw:Action="XXX.Messaging/ProcessMessageResponse"/>
</wsdl:operation>
</wsdl:portType>
<wsdl:service name="MessageProcessor">
<wsdl:port name="BasicHttpBinding_IMessageProcessor" binding="i0:BasicHttpBinding_IMessageProcessor">
<soap:address location="http://XXX.com/cardax/provisioningservice"/>
</wsdl:port>
Thx in advance
Ravijeet -
Hi all,
I am trying to convert the XML to Plain file in receiver file adapter. I am using module - StrictXml2PlainBean
My target structure is -
<MT_Name>
<records>
<Header>
</Header>
<Item>
</Item>
</records>
</MT_Name>
<Header> and <Item> are at same level.
When I use --
1. Header.fieldSeparator = ,
2. Item.fieldSeparator = ,
3. recordTypes = Header,Item
Then I get this error -
Message processing failed. Cause: com.sap.aii.af.app.modules.conversion.xml2plain.ConversionException: Invalid structure name encountered during conversion: records at XML element MT_Name,records
When I use --
1. records.fieldSeparator = ,
2. singleRecordType = records
Then I get this error -
Message processing failed. Cause: com.sap.aii.af.app.modules.conversion.xml2plain.ConversionException: The element nesting level for the structure MT_Name is too deep (reference: 3 levels, found: 4 levels) at XML element MT_Name,records,Header,Item
To add more details to the scenario, multiple records can be generated but one record will have only one Header, with multiple Items.
Any help in this regard will be highly appreciated.
Thanks,
AbhiHi Abhi,
Here you go....
For your target structure as:
<MT_Name>
<records>
<Header>
</Header>
<Item>
</Item>
</records>
</MT_Name>
Where I have assumed that <Header> and <Item> are at same level.
DO NOT use any Module just simply configure the receiver channel as below:
In the file Receiver Channel
Recordset Structure = Header,Item
Name Value
Header.fieldSeparator ,
Item.fieldSeparator ,
I have tried this and it works.
Let me know if you are facing any issues.
Cheers
Dhwani -
Receiver file adapter error for special char.
I am using MTB in my receiver file adapter. I am getting a special character from source system at end of the string. How to resolve this type of error u2013 please advice.
This error is not coming for every message.
Error message:
Column value xxxx  too long - must stop, probably configuration error in file adapter
Thanks
VickHi,
Itu2019s basically IDOC to file scenario.
This error is coming for name field.
What I am thinking at this stage to do changes in MTB by define parameters like (NameA.enclosureConversion) -
HI All
i am doing a scenario SFTP to mail adapter, i am sending a file to SFTP ADAPTER and Mail adapter send the mail to clint, i am using java mapping , i have checked the message in RWB mesage is fail in mail adapte,
ERROR : Message processing failed. Cause: java.lang.Exception: java.io.IOException: server does not support PLAIN or LOGIN authentication
anyone suggest me soloution?Hi Pankaj,
Remove your mail server user id and password and keep authentication mode as Plain and try in mail adapter configuration.
You can try accessing ID from within IR via menu options or via a direct URL.
Thanks, -
Hi All,
I hav a simple file to IDoc scenario. recently we had upgraded to SP19. And now when i changed the FTP Sender Adapter parameters (FTP and the User), i'm getting the following error.
<b>Message</b> : Channel FTP_Out_TransferStockCount: Sending file failed with com.sap.engine.services.ejb.exceptions.BaseEJBException: Exception in method process. - continue processing
<b>Category:</b> /Applications/ExchangeInfrastructure/AdapterFramework/Services/ADAPTER/ADMIN/File
<b>Location:</b> com.sap.aii.adapter.file.File2XI.processFtpList()
<b>Application:</b> n/a
<b>User:</b> J2EE_GUEST
<b>Host:</b> sapqas08
<b>Node:</b> Server 0 8_35292
I had searched the forum earlier and i found this to be a common problem. but none of the threads were answered. Can anyone please help me out in resolving this issue?
Thnx in Adv.
AnilHI Anil,
Whether this issue got resolved? If yes, then please provide me the solution. Last day our server was restarted and aftre that we are facing this issue. As I checked the channel monitoring log, it seems like this:
Success MP: Entering module processor
Success MP: Processing local module localejbs/CallSapAdapter
Error MP: Exception caught with cause com.sap.engine.services.ejb.exceptions.BaseEJBException: Exception in method process.
Error Attempt to process file failed with com.sap.engine.services.ejb.exceptions.BaseEJBException: Exception in method process.
Success Channel CC_File_Sender: Entire file content converted to XML format
It looks after CallSapAdapter module some issue arised. So, kindly help me to resolve it.
As I checked and found some notes such as 1083488.
PI 7.0 SP13 ADAPTER FRAMEWORK CORE 7.0
Support Package 13, Patch Level 3 (SAPXIAFC13P_3.SCA) is present. So. please suggest.
Regards,
Nutan -
HI All
I am facing a error in sender SFTP adapter
Error: Current transaction is marked for rollback: Trace of setRollbackOnly() invocation. (Software version: 3.0.17)For the Roll back error plz chk the below points.
1. Check the module parameters.
2. Make sure the sender agreement doesnt have any * 's.
Ex: The SA should not be like : | BS | SI_test_oa | * | *
SA should be like BS | SI_test_oa | |
3. If the input file has special chanracters , use the encoding .
If the above doesnt work, try to create a new communication channel and test it.
We also faced this error toomany times in the sender CC for sFTP advatco adapter.
Thanks,
Soumya. -
I am trying to configure a receiver mail adapter..
Our system is using microsoft exchange server and i specified the following,
URL: Microsoft Exchange Server
and I get the following exception in Adapter monitoring,
Mail: error occured: com.sap.aii.af.mp.module.ModuleException
Has anybody encountered this error and if so how should this be resolved?Hi
<i>>>Our system is using microsoft exchange server</i>
Ok ur company is using Microsoft Exchange Server, then r u sure the name of ur server is also Microsoft Exchange Server becoz in our company we hav a specific name of our Microsoft Exchange Server.
<i>>>URL: Microsoft Exchange Server</i>
The URL shd b something like this
<b>URL</b>: smtp://<b>name of Microsoft Exchange Server</b>
Hope it helps.
Regards
Arpit Seth -
File send adapter error : java.lang.NullPointerException
Hi All,
I have an issue on some of the file sender adapter communication channels .The channels are failing with the error :
Error :"Attempt to process file failed with java.lang.NullPointerException"
This issue is happening for couple of file sender channels.When I try to stop and start the channels couple of times the failed messages are getting processed.And after the processing of the failed file, the new files are successfully polling as usual.
Please share your experiences as on why this issue is happening and what is the permanent fix for the issue ?
Thanks in Advance !
Thanks & Regards,
RoniHi Roni,
Try with a J2EE restart of the PI server. Hope that will solve your problem.
Thanks,
Anudeep
Maybe you are looking for
-
I've looked at many threads and tried suggestions from this site with no success. Neither printer (HP 1010 and Epson Artisan 810) are Airprint supported. in checking the printers via the imac in System Preferences the printer 'kind' is listed as
-
I have embedded QT movies in web pages for years, using both EMBED and OBJECT. Now there is a problem with IE. The EMBED tag doesn't work in it, it requires use of the ActiveX Control (Object). But now in IE7, ActiveX Objects will not play by default
-
''dupe of https://support.mozilla.org/en-US/questions/934696 - locking'' The Sync doesn't recognize my Recovery Key ("Wrong Recovery Key") even if I generate a new one. What to do?
-
Different sender address and automatic, configurable signature per address?
Hello, I use Mail.app 4.0 on Snow Leopard (10.6) and I have a problem to configure it. How can I define different Signatures per sender address. I know how I can define more than one sender address, and i know how can i define more signatures. But I
-
USB printer make it on the computer a serial printer
Dear all, I have a wincor TH230+ recept printer it works on USB port, but I have POS system work with serial recept printer. I need to let the POS software send data to serial port and my USB printer TH230+ response ? can you help Pls.? If any person