Configuring JDBC Adapter
Hi
Following is my scenorio, we need to do posting in SAP from Java Application.
For example create Material master in SAP from Java application.
Can we make it synchonous, since i need to send the response back to Java application from SAP
Pls let me know, step by step procedue for the same.
Regards
MD
Java Proxoies are used to allows your java Applications ( j2ee, j2se applications )to interact directly to the Integration Server of XI without any special adapters.
All documents are available on SDN itself .
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/7d4db211-0d01-0010-1e8e-9b07fc2113ab - How To Work with XI 3.0 Java Proxies
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/a068cf2f-0401-0010-2aa9-f5ae4b2096f9- Java Proxies and SAP XI - The Inside Story, Part 1
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f272165e-0401-0010-b4a1-e7eb8903501d - Java Proxies and SAP XI - The Inside Story, Part 2
Proxies help you achieve non-standard functionality for which the out of box XI adapters do not suffice. Just to give you an example, consider a system with which XI has to integrate , the only interface the system offers is a TCP / IP socket based interface. You could write a Java proxy which would interact over sockets with your target system, which is not possible with other standard adapters which are shipped with your XI installation
You can refer demo on SDN TV, on this link
https://www.sdn.sap.com/irj/sdn?rid=/webcontent/uuid/110ff05d-0501-0010-a19d-958247c9f798
Similar Messages
-
How to configure JDBC Adapter(Sender & Receiver)
How to configure JDBC Adapter(Sender & Receiver)
Rgds
RuchithaHi ruchitha thakur ,
These r the following web-sites which give u detailed information about configuring of JDBC Adapter(Sender & Receiver)
JDBC is a technical Adapter provided by SAP.
Configuring the Sender JDBC Adapter
http://help.sap.com/saphelp_nw04/helpdata/en/7e/5df96381ec72468a00815dd80f8b63/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/1d/756b3c0d592c7fe10000000a11405a/content.htm
Configuring the Receiver JDBC Adapter
http://help.sap.com/saphelp_nw2004s/helpdata/en/b0/676b3c255b1475e10000000a114084/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/64/ce4e886334ec4ea7c2712e11cc567c/content.htm
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/6d36d51d-0b01-0010-b3aa-9cb313b63cf4
SAP XI Utilize SAP Adapters to connect to heterogenous systems
https://wwwn.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3fc4bd90-0201-0010-68bd-ab931b06f9c2
cheers!
gyanaraj
***Pls reward points if u find this useful -
Error in configuring JDBC Adapter
Hi All,
I have configured a sender JDBC Adapter with the following parameters.
JDBC Drivers: com.microsoft.jdbc.sqlserver.SQLServerDriver
Connection: jdbc:microsoft:sqlserver://MIS-SERVER\MIS_DEV_SVR;DatabaseName=SEPG_NEWDB
But in Runtime, I am getting error as follows...
Error during database connection to the database URL 'jdbc:microsoft:sqlserver://MIS-SERVER\MIS_DEV_SVR;DatabaseName=SEPG_NEWDB' using the JDBC driver 'com.microsoft.jdbc.sqlserver.SQLServerDriver': 'com.sap.aii.adapter.jdbc.sql.DriverManagerException: Cannot establish connection to URL 'jdbc:microsoft:sqlserver://MIS-SERVER\MIS_DEV_SVR;DatabaseName=SEPG_NEWDB': SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]The requested instance is either invalid or not running.'
It has been confirmed that JDBC Drivers are properly deployed.
Any suggestions to resolve this issue?
Regards
PavanHi Pavan,
I think Port is missing and also it should be look like this. (microsoft not required for SQL SERVER 2000).
Make sure msbase.jar, msutil.jar, mssqlserver.jar are the driver files and deployment.
Connection: jdbc:sqlserver://MIS-SERVER\MIS_DEV_SVR<b>:PORT</b>;DatabaseName=SEPG_NEWDB
Regards,
Sarvesh -
JDBC Adapter Stored Procedure Query
Hi All,
I hav a scenario where i hav to call a Stored procedure. The stored procedure returns 3 result set objects (in other words, has 3 select statements). I had configured a JDBC Sender adapter which contains the Execute statement of the Stored Procedure. When i run this scenario, i'm not getting anything displayed on the SXMB_MONI. the adapter is in green color in the Adapter monitor.Can any one help me out in this regard?
Thnx in Adv
AnilAnil,
Did you check your Data Type is created correctly ?
And check the link, I have provided.
And first try to retrieve the 1 resultset. And check is it coming to XI.
Also check in the RWB->Message Monitoring->Select the Criteria->Audit Log.... You can check is there any error..
Just look into this also-DataType definition for when using JDBC sender adapter
configuring jdbc adapter with multiple tables
Hope this helps,
Regards,
Moorthy -
Is it possible to fetch the data from 5 different database tables using a sngle CC where JDBC is configured on sender side.if yes how?
points will be rewarded for correct answers immediately....
regards
chandrakanthHello ,
You either use a select query with join or a stored procedure which will contain the logic to extract the data from multiple tables. But, the limitation in case of stored procedure is u can hv only one selct query in it.
JDBC adapter will be able to holdany select query irrespective of how long it is.
Sample code
SELECT <Table_2>.EID, <Table_2>.FName, <Table_2>.LName, <Table_1>.REC_DAT, <Table_1>.DESCRP
FROM <Table_1> INNER JOIN <Table_2> on
<Table_1>.CARDNO = <Table_2>.CARD
where REC_DAT = <condition>
union
SELECT <Table_2>.EID, <Table_2>.FName, <Table_2>.LName, <Table_1>.REC_DAT, <Table_1>.DESCRP
FROM <Table_1> INNER JOIN <Table_2> on
<Table_1>.CARDNO = <Table_2>.CARD
where REC_DAT = <condition>
Check these two threads...
configuring jdbc adapter with multiple tables
Two selects in one communication channel?
***********Reward points,if found useful -
Add JDBC-Adapter to Monitor?!
Hi,
we configured JDBC-Adapter and are using it. But unfortunately it is not listed in Monitoring of ABAP-Stack, just in CC-Monitoring i can see if messages are processed.
How to add these informations to the ABAP-Part in SXMB_MONI?!
brIf I am not wrong then your question like "NO JDBC adapter status in MONI"???
You cannot chek the trace of JDBC adpater in ABAP stack as it reside in Java Stack. so you have to look it on RWB-Component Monitoring--> Adapter Engine->Communication Channel Monitoring.
Thanks
Farooq.
*Rewards Points if you find it useful* -
Required jar files for using jdbc adapter
Hi all,
I have an XI scenario in which i need to send a msg from XI to Oracle 8.0 server.
For this i am using the JDBC adapter.
Can anybody pls tell me which are the jar files needed for doing so.
Thanks in advance.
Regards
NeetuNeetu,
You will need to deploy the classes.zip file using the SDM. More details on how to configure the JDBC adapter can be found at
How to Install and Configure JDBC adapter
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/3867a582-0401-0010-6cbf-9644e49f1a10 -
JDBC Adapter configuration not initialized:null
i
we have a synchronous scenario with the following adapters , RFC <> XI <> JDBC.
1.JDBC Driver installation is done
2.RFC Destination type t is done in sap(sender) system.
3.checking the jdbc in VA is done
while running it is giving the following error.
com.sap.aii.af.ra.ms.api.RecoverableException: JDBC Adapter configuration not initialized: null
where we have to initialize JDBC Adapter configuration
Thanks in advance
Prasad Nemalikantihi prasad
There are 2 jar files that may be missing from your SQL JDBC driver --> msbase.jar and msutil.jar, I think once you add these to the driver it might work.
also check the driver string for the SQL driver 2 parameters
i.e 'com.microsoft.jdbc.sqlserver.SQLServerDriver' now becomes
'com.microsoft.sqlserver.jdbc.SQLServerDriver'
This will solve your problem
follow this link
Re: MS SQL Server jdbc Driver installation on XI .
XI JDBC Adapter using stored procedures
thanks
sandeep
Reward points if helpful -
JDBC Adapter configuration not initialized Error
Hi,
I am doing a RFC to JDBC scenario in PI 7.1. I am getting the following error:
com.sap.engine.interfaces.messaging.api.exception.MessagingException: JDBC Adapter configuration not initialized: null
In communication channel monitoring, it shows the following,
Error when attempting to get processing resources: com.sap.aii.af.lib.util.concurrent.ResourcePoolException: Unable to create new pooled resource: DriverManagerException: Cannot establish connection to URL '<URL>': SAPClassNotFoundException: com.ibm.as400.access.AS400JDBCDriver
The JDBC parameters for driver & connection are correct only.
Is the problem related to deployment of JDBC driver or something else? How can i ensure that the JDBC driver deployment is succesful in PI 7.1?
Edited by: senthil nathan on Mar 25, 2009 10:57 AMHi Senthil,
Your drivers are not installed properly. Please re-deploy them through SDM.
Regards
joel -
JDBC Adapter configuration not initialized
Hi,
I have tested one scenario for WebService to JDBC. Integration engine shows success message.But i got some error in Adapter engine. It shows "JDBC Adapter configuration not initialized".
So, plz anyone give the solution for this problem.
Regards
VijayHi,
1.Check whether the JDBCAdapter is Activated.
2.Check if any firewalls are there frm client side and open
3.Check the password used to connect the Database is correct one.
If all these are fine..do the complete cache refresh once.
Please award marks if found useful.
Thanks
Hamja -
Synchronus file to jdbc Adapter configuration.
Hi ,
I want to configure for Synchronus File to Jdbc Adapter.
Can anyone tell me how to do it.
hemantHi,
In this case you would definitely need one file sender and one jdbc receiver adapter.
Create data taype and message type for file sender ,then create message interface for this message type.
Then create datatype for receiver i.e. jdbc.
For jdbc receiver there is one standard format as below:
<root>
<StatementName1>
<dbTableName action=UPDATE | UPDATE_INSERT>
<table>realDbTableName</table>
<access>
<col1>val1</col1>
<col2>val2new</col2>
</access>
<key1>
<col2>val2old</col2>
<col4>val4</col4>
</key1>
</dbTableName>
</StatementName1>
Then create message type and message interface for this message type.This interface will be inbound and synchronous.
Map your file message to jdbc receiver message.
Then map interfaces.
In ID create configuration scenario,assign file sending and jdbc receiver business system to this scenario.
Then create file sender and jdbc receiver communication channel.Create receiver determination,sender agreement and receiver agreement.
But if you want file synchronous scenario then,you need to use BPM for this.
Thanks. -
RFC to JDBC JDBC Adapter configuration not initialized: null
Hi Experts,
My scenario is Proxy to JDBC scenario. I got this problem when executing the interface I got this problem all of a sudden where previously it was working fine.
there is no problem with the User id or password.
com.sap.aii.af.ra.ms.api.RecoverableException: JDBC Adapter configuration not initialized: null
let me know how to solve this.
Thanks,
Prem.I got this problem when executing the interface I got this problem all of a sudden where previously it was working fine.
there is no problem with the User id or password.
com.sap.aii.af.ra.ms.api.RecoverableException: JDBC Adapter configuration not initialized: null
Can you ensure that Drivers are properly installed and no problem with them?
Also proper connection parameters are maintained in the JDBC receiver Channel.
Regards,
Abhishek. -
Dynamic query configuration in sender jdbc adapter
Hi,
According my undertsnading in XI.3.0 dynamic query in sender JDBC adapter is not possible.
could any one confirms the possibility of this feature in XI 7.0 .
Thanks,
venuHi VJ,
sorry for late responding to your answer.
One of our requirements is the query statement that we write in sender communication channel should be changed dynamically, for example in where condition the condition parameters values required to change.
Thanks,
venu -
Error in JDBC Adapter Configuration....
Hi,
My scenario is like this FTP->XI->Oracle Database.
The problem is that the files are not getting posted to the database though it is running well.
In XI receiver comm channel in JDBC adapter, I have provided the Connection path as jdbc:oracle:thin:@esealmw275.al.sw.ericsson.se:1521:S14. Whereas in channel monitoring it is taking jdbc:oracle:THIN:@esealmw275.al.sw.ericsson.se:1521:S14. Please note it is taking THIN as in caps.
Can anybody suggest me is this the proposed error for that, if it is so, then pls provide me the suitable solution for that.
BR
SoumyaHi Soumya,
Have a look at ths blog...
<a href="/people/sap.user72/blog/2005/06/01/file-to-jdbc-adapter-using-sap-xi-30 to JDBC Adapter using SAP XI 3.0</a> by Anirban Ghatak
Also have a look at this wiki
https://wiki.sdn.sap.com/wiki/display/XI/JDBCTOJDBC
Regards
Santi
<a href="Remember to set the thread to solved when you have received a solution to set the thread to solved when you have received a solution</a>
Where There is a <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/weblogs?blog=/weblogs/topic/16">blog</a> there is a Way. -
Hello,
In JDBC Adapter, is there any other way to fetch the data other than select query?
Our Scenario is like Transferring Project Information (PS Module) from Primavera to SAP. We fetch data from Primavera Through JDBC adapter with writing a select query. And we also give poll interval so after every pollinterval JDBC adapter again run the query and send it to integration Engine.
But our requirement is once the project query executed next time only updated record transfer to SAP. IS XI gives this kind of feature?
Regards,
Gaurav JainHi Giridhar,
Check out this
http://help.sap.com/saphelp_nw04/helpdata/en/64/ce4e886334ec4ea7c2712e11cc567c/content.htm
also check this interesting blog by Bhavesh
/people/bhavesh.kantilal/blog/2006/07/03/jdbc-receiver-adapter--synchronous-select-150-step-by-step
/people/saravanakumar.kuppusamy2/blog/2005/01/19/rdbms-system-integration-using-xi-30-jdbc-senderreceiver-adapter
Thanks,
Prakash
Message was edited by: Prakash Arunachalam
Maybe you are looking for
-
Game Center crashes after ios 7.1 update
I just updated to ios 7.1 last night. I click on Game Center and I can see my profile but if I click on "Friends", "Games", "Challenges", etc on the bottom menu my screen goes white. I stay on the screen for a long time but it does not load or resolv
-
How to make a form not running offline
Hi, I've built my own form, which need to be submitted to a java servlet. Is there a way to avoid that a user saves the pdf form and submit it when he shouldn't? I've tryed with "preSave" event, but it cannot be canceled. Any suggestions? Thank you.
-
Image in a post element text : urgent
hello. I am simulating a lov popup field (display description, return key..) because I am building the popup page manually... All works fine, I have a text field witch receive the key and display a description, I am concatening an image (in the post
-
How can I add my iCloud calendar to Outlook and when I syn my iPod have it syn to my iCloud calendar as well as my personal Outlook calendar on my computer?
-
Hello Experts, I have a requirement to include 8 queries in a Workbook and do necessary formatting changes which additionally contains 13 sheets .While executing it is taking quite long time.Can anyone help me in improving performance in BI Analyser