JDBC Sender Channel problem. Pls help
Hi,
In JDBC Sender Channel in Connectiion String I am giving value
jdbc:oracle:thin:@cscappnoi022.asiapac.globalcsc.net:1527:IS1
where cscappnoi022.asiapac.globalcsc.net---is where Oracle server is installed
1527 --- is my Port
IS1 is my system SID --- Pls let me what value should come here and how to find.
I am getting error
"Error during database connection to the database URL 'jdbc:oracle:thin:@cscappnoi022.asiapac.globalcsc.net:1527:IS1' using the JDBC driver 'oracle.jdbc.driver.OracleDriver': 'com.sap.aii.adapter.jdbc.sql.DriverManagerException: Cannot establish connection to URL 'jdbc:oracle:thin:@cscappnoi022.asiapac.globalcsc.net:1527:IS1': SQLException: Io exception: The Network Adapter could not establish the connection'"
Regards
hi,
Your connection should be :
jdbc:oracle:thin:hutting/[email protected]:1521:pnt
jdbc driver should be:
oracle.jdbc.driver.OracleDriver
Regards
joel.
I only hope that your other jdbc scenarios are working fine , this is just to rule out the possibility of driver related errors.
Similar Messages
-
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 -
Jdbc sender channel memory size issue
Hi Experts,
We are facing the below error in connect to jdbc sender channel from XI . Could anyone of you suggest me the right action to be taken in this regard.
Database-level error reported by JDBC driver while executing statement 'select * from*********where posted = '0''. The JDBC driver returned the following error message: 'com.microsoft.sqlserver.jdbc.SQLServerException: The system is out of memory. Use server side cursors for large result sets:Java heap space. Result set size:614,143,127. JVM total memory size:1,031,798,784.'. For details, contact your database server vendor.
Appreciate your quick help.
Thanks & Regards,
Ranganath.Regulate the number of records returned by Select statement for permanent fix.
Few more things....
a)If you want to select only some fields, then dont use Select * from table. Rather specify select a,b,c from tablename
b) specify some flag in the table so that read some records each time and in the update statement update the flag for those records already read. So that you will not reread the same records in the next message.
Hope you understand.
c) Increasing java heap size is temporary fix. -
JDBC sender channel running but not picking up the data from sp
Hi,
One of the jdbc sender channels in production is running at its schedule time but it is not picking up the data from the sql side, we have checked with the sp side and they are saying that sp is running fine. No changes have been done in its configuration. Last message coming in RWB is Retry interval started but that is of 1 day and its already been 3 days. I tried by starting and stopping the channel but of no use. The channel was re activated but that also didn't help.
Please help, what can be the reason for the same.
thanks.Hi,
The JDBCadapter ( The respective channel) is definitely locked in PI . Ideally for each polling interval a lock is being created and once the processing is over , the lock should be released/deleted automatically to allow further polling interval. If the lock is not released by the system automatically,further polling will not happen as expected. ( This may affect all sender JDBC adapters as well. I would recommend to do a check in all sender JDBC communication channels)
You can see/delete the locks in Visual admin.
Go to Server>Services->Locking adapter and click refresh
The entries for JDBC adapter ( with name $XIDBAD.JDBC2XI) should be deleted by selecting those particilar entries and click delete selected locks.
If you have more than one node, then same should be done in all server nodes.
The temprory solution would be creating/copy the existing channel in ID with same properties and assign it into particular sender agreement.
But, the lock may be created again which potentailly stops all your database interfaces. Hence i would suggest to use Disconnect From Database After processing of Each messages in Advanced tab in the sender JDBC adapter.
Hope this solves your issue.
PS: The same bahaviour would expected for all file adapter as well -
JDBC Sender Channel polling before polling interval is complete
Hi all,
On our Production Server, we have found that a few JDBC Sender Channels are polling multiple times within one polling interval.
Eg: Suppose for one channel, the polling interval is 7200 secs. It polls once and the polling interval starts. But it polls again 1 or 2 times more maybe just 5 secs later before its next scheduled poll in 7200 secs.
Unfortunately, our scenarios are such that when there are multiple polls within a short span of time, there are data anomolies, causing inconsistancies on Receiver side DB. Hence this is a serious uissue.
Please Help. FYI, all the affected channels run on the same schedule. I am not sure if that can be causing this abnormality.H Varun
I have not come across this behavior earlier. But if you are polling same data base using multiple channel at same time data inconsistency can be there. We always prefer to poll the same data base tables with different timings. Setting up poll timings always consider peak loads. Try to change the polls and see if the same behavior exists.
For performance and JDBC issues
Check https://service.sap.com/sap/support/notes/831162
Specially Q 14
Thanks
Gaurav -
JDBC Sender channel not processing the messages
Hello,
From yesterday onwards JDBC Sender channel not processing the messages. In CC monitoring it is showing in Green Led and status is functioning. Cahnnel is polling for messages to DB server as per polling interval. But it is not processing the msg's. Under Processing detials for cluster node it is showing only "Processing Started" for each polling interval.
I have done the check in DB server by executing the query in the channel, whether there are any records are exisitng or not. There are 1000+ records.
Previously the parameter "Disconnect from DB after processing each message" was not set. I have set the parameter and activated in Productiion. Still the messages are not processing by channel
What was the problem? How to rectify with this.
Cheers
VeeraCheck in the Visual Admin >Cluster> "LOCKING ADAPTER"
we get a option of Display Locks .Check for an entry with
NAME : $XIDBAD.JDBC2XI
reset the locks and restart the CC ,now it works fine.
Note 1083488 - XI FTP/JDBC sender channel stop polling indefinitely(04/04S) -
Urgent: Sessions problem pls help me
Hi all,
Its already late to post this problem.pls help me urgently.
I have a servlet & two jsp's. first i request servlet, it processes something and forwards request to my first jsp. In that jsp on a button click, i'm displaying a new popup by calling showModalDialog. this dialog gets data from the same servlet but it forwards to my second jsp.(second jsp can be seen in dialog)
Now if i submit form from my second(dialog) jsp, the servlet reports that session has expired. I tried a lot but invain. any one who helps me is appreciated well by all of our forum.
waiting 4 u r reply,It could be that you have cookies turned off and you're not using URL Rewriting.
In J2EE, the first time your browser makes a request to the server, the server responds and appends a SESSION_ID parameter to the request as well as storing a cookie with the SESSION_ID.
The second time your browser makes a request, the server checks for the cookie. If it doesn't exist it checks for the parameter. If neither exist the server assumes its the first time your browser has made a request and behaves as describe in the previous paragraph.
In your case when you submit the form if you have disabled cookies and the action attribute doesn't have the SESSION_ID paramter appended to the url, the browser will assume it's a first request. The user will not be logged in, hence your session has expired error.
To fix this you need to encode the URL in your JSP. You can use the struts html:rewrite tag or the HttpServletReponse.encodeURL method, or if you're using JSP 2.0 the JSTL c:url tag. -
Boot problem == pls HELP
I have use the utility disk and format the machintos drive , and use Extended (Journaled , Encrypted) , it ask me for a password (typed the password, confirmed the password - done) , after that i tried to install a fresh copy of Lion (i waited to be downloded from apple.com - done) after that it said that the fresh copy it will be installed and it will reboot by itself -> done ... from here the problem it's starting .... now my macbook air , it dosent start anymore it keep showming me, instaid of the apple sign from the start , a sign like the one from ghost busters (but without the ghost in it ) , i have tried to boot from cd , from usb , nothing dosent seams to be working.
If anyone know a solution to this problem, pls HELP! Thank you in advance...
p.s. before i had 2 hard drives that show up when i press the ALT button (machintos hd and utility drive, or something like that) now.. the only thing that it's showing me is : mac os base system , and if i try to use partition magic or something else, from a usb, it will tell me something about a bootguard , but i don't know how to insert the password.Glad your issue is fixed. Thanks for the update!
Click if you want to Thank someone. If Problem is resolved, so that others can make use of it. -
How to solve this problem, pls help when, I try to see remote camera system(spec dvr) from home. The Error I get is "Dual streaming is required for HTML viewing"
I had the same probelm and found that the problem lies with 64bit programs such as safari and microsoft internet explorer. I have resolved the issue on my PC based server by using a 32 bit ie and same on my mac by using the same running windows under parallels.
So far the problem with the 64 bit side of it is still to be resolved.
Hope this helps and gets you guys up and running until suchtime a 64 bit solution is found.
Craig -
Processing of large number of records using JDBC Sender Channel
Hi experts,
We have a JDBC-File scenario where in the tables contain about 500K records on an average.
I used multimapping to generate a flat file for every 10K. The problem is ..when I start the JDBC Sender CC, the memory goes up and the J2EE engine restarts. In the Sender CC, I gave the Disconnect from the database option too. The query is SELECT * from TABLE and the Update statement is <TEST>. Please help me out how to solve this.
Regards.Hi
Use the below query,
// Oracle
SELECT Statement : select colname from tblname where rownum<=1000 ;
// MSSQL
select top 1000 colname from tblname
Regards
Ramg -
JDBC drivers not found---Pls help
Hi All,
Pls help me out to solve this issue
I have XI 3.0 and R3 4.7 EE seperately . (Both are for education purpose)
While doing JDBC scenario, I got error <b>"JDBC drivers not found"</b> in Adapter Framework. When contacted I was told to install JDBC drivers according to R3 4.7 EE's Database version and not to disturb XI database. We have Oracle database for R3 4.7 EE.
My questions are
1. Is that correct that I should not disturb XI database ?
2. If I install JDBC drivers according to R3 4.7 EE's Database version , In future will I get any problem like the same and other when I do JDBC scenario ?
3. I have been searching but not getting the right place to download JDBC drivers.
Could you please give me the link where I can download JDBC drivers ?
Thanks in advance
ssHi,
you can find JDBC drivers here :
<a href="http://developers.sun.com/product/jdbc/drivers">http://developers.sun.com/product/jdbc/drivers</a> -
I am using a Receive Step to start a BPM with some DB Records, the Receive Step gets the resultset with some row elements but I notice that the message namespace is missing
<ns0:mt_avisoEst xmlns:ns0="urn:sap-dms:DMS_SAP_01">
</ns0:mt_avisoEst>
this is causing me problems with further mappings in the BPM, I am not using any message mapping for JDBC -> BPM. What am I doing wrong?
Thanks in advance.Dear Ruben,
In Integration Directory.
In JDBC Communciation channel .
Under the head of Processing parameters,
Give your namespace in <b>Document Namespace</b>
regards
Mahesh.M -
Hi..
I am doing File to JDBC scenario, for that i am using MicrosoftSqlServer.
Driver----com.microsoft.jdbc.sqlserver.SQLServerDriver
Connection------jdbc:microsoft:sqlserver://172.18.133.91:1433;DatabaseName=LMS
While executing, in the JDBC receiver channel it is showing the below error.
Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: Error when attempting to get processing resources: com.sap.aii.af.service.util.concurrent.ResourcePoolException: Unable to create new pooled resource: DriverManagerException: Cannot establish connection to URL 'jdbc:microsoft:sqlserver://172.18.133.91:1433;DatabaseName=LMS': ClassNotFoundException: com.microsoft.jdbc.sqlserver.SQLServerDriver
Could please tell where will be the problem.
Thanks in advance,
LeelaHi ,
Driver shoud be :
com.microsoft.sqlserver.jdbc.SQLSeverDriver
Connection:
jdbd:microsoft:sqlserver://<ip address>:port;databaseName=TNS
try with above config..make sure that they are case sensitive.
Regards,
Sreenivas. -
Hi Experts,
the scenario is as following:
i have a database, i want to delete some entries with 2 where conditions ...
why do i have to create a huge scenario with 2 async messages jdbc sender for polling and receiver for deleting...
with the sender i can use the update statement .. why cant i use him standalone .. like every 60 seconds delete the entries..
thanks for your helpHi,
> why isnt it possible to activate only the sender .. ?
I would say the aim of PI is to transfer messages from system A to system B.
In your scenario you only have system A and you don't want to transfer any message.
So maybe PI is the wrong tool for your requirement.
But if you still want to use it perhaps this blog helps a little bit:
How to send any data (even binary) through XI, without using the Integration Repository
Regards
Patrick -
Import problem,pls help!
Hi,there,
I'm new guy here,I'v got a problem about Import in table mode,I found I can import back all records successfully, but it just appends all records into the orignal table,not overwrite
it,for example, I made a export for a table with 2 records, after then I added some records into that table,
finally I made an import for that table, I found the
total of records is not recovered to 2,but just append
the records from export file,why can't I recover it to 2
record? pls help me,thanks!All that import does is to run a bunch of SQL statements based on the content of the export file. If you look at the export file in an editor (if its small), or through type (on Windoze) or more on *NIX you will see stuff like:
CREATE TABLE x STORAGE ( ...)
INSERT INTO x col12,col2, ...
VALUES (:b1,:b2, ...
If you give imp the paramter ignore=Y, then the error generated by the CREATE TABLE (table already exists) will be suppressed, but the ata will be inserted. Note that there are no DROP TABLE or TRUNCATE TABLE commands in the export file.
If you want to restore your database to a particular point in time using import, then you will need to manually drop or truncate the tables first. You can generate the required sql from the data dictionary. something like
SET lines 1000 pages 0 feedback off trimspool on;
SPOOL drop.sql;
SELECT 'DROP TABLE '||table_name||';'
FROM user_tables;
SPOOL OFF;
@drop.sqlHTH
John
Maybe you are looking for
-
Web gallery is not working anymore, all my galleries gone.
PLEASE LISTEN! The web gallery feature is simply not working anymore. Not in iPhoto, not in iMovie.
-
WD passport external hard drive won't mount
I just purchased a Western Digital Pasport 60GB USB portable hard drive - which stated was Mac compatible on the packaging - hooked it up and nada....won't mount! Doesn't show up on Disk Utility - can't find anything on the WD support site.... It doe
-
Continuous repeat of "restore from the backup..."
I have an iPhone 3GS. I updated it to iOS5 yesterday, and everything seemed to go fine. This evening, I come home from a (fabulous) concert, and want to save my pics and a video from the show. When I plug my iPhone in, I get a screen entitled "Set Up
-
Where can I find a case for MBP early 2008 model
I know the new MBP has nice cases to keep from scratching. I've searched everywhere and can't find a rubber case for the MBP duo 2 core, early 2008 model. Any suggestions. I checked Amazon and Ebay
-
I am trying to order a card made in iPhoto and it stalls at the upload process.
I am trying to order cards made in Iphoto on my MacBook Pro and it keeps stalling at the upload. My internet connection is working so I don't understand why it isn't working. Any suggestions>