JDBC Lookup in PI 7.1 - SELECT ? FROM DUAL and Connection timed out

Hi,
We have a scenarios (Idoc to JMS) with JDBC lookup. We have used graphical JDBC lookup functionality.
We are reading country names for a given country code from SAP in an external database table. The query is so simple. That  should not take much time
Now the actual issues is,
When we are executing the scenario, its taking quite a long time. Almost 6 minutes to excute a mapping. Which causing high performance issue in the Porduction.
We started the inviestigation about found some interesting stuff. Here we have used Willy Introscope for the investigation.
1. First few messages are taking quite a long time. LIke 6 minutes per messages. As i can see in the log i am getting below error in Willy,
I dont know why PI is executing below queury apart from real secelt query to fetch the country name. I am getting below error: Error Message: Backends|ABCD2 mydatabase01-1526 (Oracle DB)|SQL|Dynamic|Query|SELECT ? FROM DUAL: java.sql.SQLException: Io exception: Connection timed out
2. After couple of messages, interface works very normal. I mean rest of the messages works pretty fine.
Please let me know if you have any idea about this error. What could be the problem for the issue.
Thank you in advnace.
Best Regards,
Prasad.

Did you check how many SQL requests were executed per one message ? Do you have a log of these SQL requests ?
I assume that the country table is quite small, so that lookup should not be an issue.
About this:
>Message: Backends|ABCD2 mydatabase01-1526 (Oracle DB)|SQL|Dynamic|Query|SELECT ? FROM DUAL: >java.sql.SQLException: Io exception: Connection timed out
1. I only know SELECT * FROM DUAL, not SELECT ? FROM DUAL. Better use the former
2. the exception means that the database server can not be reached => check your network configuration
So I assume that there is a network (performance) problem between PI and this Oracle server. Or the Oracle Server is so overloaded that it has (sometimes) problems in processing new requests.
CSY
Edited by: Christian Sy on Mar 9, 2010 10:17 AM

Similar Messages

  • I purchased a book from itunes and cannot figure out how to get it on my ipod nano 7.  I cannot find an answer that works.

    I purchased an audio book from itunes and cannot figure out how to get it on my nano 7.  I have tried everything. 

    Have you double checked to make sure these Audiobooks are configured to sync to your iPod from under the iPod's Books configuration tab in iTunes?  This is assuming that the audiobooks are already stored in your iTunes library and appear under the Books category.
    To access this configuration tab, plug in your iPod and select it from under the Devices section in the left hand pane of iTunes to bring yourself to the iPod's Summary tab. Now locate the Books tab across the top in the main iTunes window and select it. Here you can configure what and how audiobooks are synced to the device.
    If you make any changes to this tab, make sure to hit the Apply button on in the lower right hand corner. This will sync the updated changes to your device.
    B-rock

  • SQLException:Connection timed out- after upgrading from oracle9i to 10g

    Hi,
    Recently we upgraded from oracle 9i to 10g.
    We are using Oracle JDBC Driver version - 10.1.0.5.0 .
    In the application, when RMI server starts, the connectionpool (developed using stack) will be filled with 10 instances of fresh connections.
    After keeping the RMI server idle for some time ( >24 hours ) , the first transaction sent to the Database (using the connection instance popped out from stack(connectionpool) ) terminates with following exception and from the second transaction onwards everything works normally.
    Exception------
    java.sql.SQLException: Io exception: Connection timed out
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:125)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:162)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:274)
    at oracle.jdbc.driver.T4CStatement.execute_for_describe(T4CStatement.java:443)
    at oracle.jdbc.driver.OracleStatement.execute_maybe_describe(OracleStatement.java:942)
    at oracle.jdbc.driver.T4CStatement.execute_maybe_describe(T4CStatement.java:463)
    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1037)
    at oracle.jdbc.driver.OracleStatement.executeQuery(OracleStatement.java:1183)
    at util.DatabaseManager.fetchData(DatabaseManager.java:255)
    at util.TextRequestImpl.presentText(TextRequestImpl.java:105)
    at util.TextRequestServer.presentText(TextRequestServer.java:146)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261)
    at sun.rmi.transport.Transport$1.run(Transport.java:148)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.rmi.transport.Transport.serviceCall(Transport.java:144)
    at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
    at java.lang.Thread.run(Thread.java:534)
    Caused by: java.sql.SQLException: Io exception: Connection timed out
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:125)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:162)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:274)
    at oracle.jdbc.driver.T4CStatement.execute_for_describe(T4CStatement.java:443)
    at oracle.jdbc.driver.OracleStatement.execute_maybe_describe(OracleStatement.java:942)
    at oracle.jdbc.driver.T4CStatement.execute_maybe_describe(T4CStatement.java:463)
    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1037)
    at oracle.jdbc.driver.OracleStatement.executeQuery(OracleStatement.java:1183)
    at util.DatabaseManager.fetchData(DatabaseManager.java:255)
    ... 13 more
    If am connecting to oracle9i(with Oracle JDBC Driver version - 9.0.2.0.0) ,everything works fine.
    Can anyone help me out to solve this issue?

    I attempted several upgrades and we decided it was better to implement the content under 10g fresh rather than attempt an upgrade.
    After 3-5 attempts through patching non of them provided us with re-produceable steps and we had different errors each time - mind you this was a few months back after initial release of upgrade patches.

  • Getting error  connection timed out while invoking webservice from bpel.

    Hi,
    I am trying to call a secure webservice developed in .Net having extension .svc from the bpel service and in response i am getting error
    com.oracle.bpel.client.BPELFault: faultName: {{http://schemas.oracle.com/bpel/extension}remoteFault}
    messageType: {{http://schemas.oracle.com/bpel/extension}RuntimeFaultMessage}
    parts: {{summary=<summary>exception on JaxRpc invoke: HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: Connection timed out: connect</summary>
    I am able to call this web service from the java programme using HTTPClient by setting the username/password and soapaction in http Header but not from the BPEL process. This .Net service is synchronous in nature. I also set the proxy in opmn.xml but didn't got any success.
    Please reply me ASAP. Need urgent help.
    Thanks.

    Are you working on 11g ? if this is 11g
    How are you invoking the webservice ...does it have any authentication..
    If the webservice which you are invoking has basic http authentication...
    1. In the composite.xml file, right click on the reference and configure WS policies. In security tab, add a security policy named"oracle/wss_http_token_client_policy"
    2. Add two binding properties for the reference
    (i) oracle.webservices.auth.username
    (ii) oracle.webservices.auth.password
    and provide the username and password for those two properties...
    Just try this out...
    Thanks,
    N

  • When trying to connect to Airplay speakers I get error message "The  network connection timed out" although some sort of connection is made as the speaker is turned on.  Same thing with Apple TV.  Is the distance from my speaker/ TV the problem?

    When trying to connect from iTunes to Airplay speakers I get error message “The  network connection timed out” although some sort of connection is made as the speaker is turned on.  Same thing with Apple TV.  Is the distance between my PC and the speaker or the AppleTV the problem?

    Hi whitwick,
    If you are having issues with your network connection when attempting to use AirPlay, you may want to use the steps in this article to troubleshoot -
    iTunes: Troubleshooting AirPlay and AirPlay Mirroring
    http://support.apple.com/kb/TS5209
    Thanks for using Apple Support Communities.
    Best,
    Brett L

  • Trying to publish to my BC from Muse and it times out.

    I've been tryng to publish a simple page to BC from muse and it times out, the manage BC under file is greyed out. 
    Don't know what else to do???

    Can we reopen this issue please.
    I've been getting the same message. Applied the above instructions but still get same messaging.
    Here are the screenshots  (NOTE - T & C for Trial Software)
    I've also deleted Muse from the computer and reloaded it through my Creative Cloud account.
    Thanks for your help.

  • Im facing problem while trying to update my iphone 4 from version 4.3.1 to iOS 5. While processing the downloaded 774mb file, it comes with the statement that the network connection timed out. why???

    im facing problem while trying to update my iphone 4 from version 4.3.1 to iOS 5. While processing the downloaded 774mb file, it comes with the statement that the network connection timed out. why???

    i have been dealing with this same issue, tried to  turn off firewall and even turn of antivirud but still it gave me the same error.

  • JDBC connection timing out

    Hello all,
    The problem i am faced with is this. I am working on developing a program that lets me upload pictures as byte streams to a mysql database and then retrieves them in the form of a slide show. I have developed other programs that connect to mysql and update delete query etc. without any connection problems. When i go to test the code i have just written i am only able to test about 2-3 times before i get the following error. I then have to restart the mysql server and my testing pc also to regain another 2-3 testing connections. I am using InputStreams and ByteArrayOutputStreams and closing both when done with them. My other programs do not use prepared statements for queries and update but this one does(may prepared statement problem ??) but i am at a loss as it gets real old to have to reboot ever 15 minutes both pc's. Please any advice would be greatly appreciated
    com.mysql.jdbc.CommunicationsException: Communications link failure due to underlying exception:
    ** BEGIN NESTED EXCEPTION **
    java.net.SocketException
    MESSAGE: java.net.ConnectException: Connection timed out: connect
    STACKTRACE:
    java.net.SocketException: java.net.ConnectException: Connection timed out: connect
    at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:156)
    at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:284)
    at com.mysql.jdbc.Connection.createNewIO(Connection.java:2555)
    at com.mysql.jdbc.Connection.<init>(Connection.java:1485)
    at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:266)
    at java.sql.DriverManager.getConnection(DriverManager.java:525)
    at java.sql.DriverManager.getConnection(DriverManager.java:171)
    at databasePhoto.DatabaseUtility.login(DatabaseUtility.java:45)
    at databasePhoto.Test.<init>(Test.java:24)
    at databasePhoto.Test.main(Test.java:46)
    ** END NESTED EXCEPTION **
    Last packet sent to the server was 0 ms ago.
    at com.mysql.jdbc.Connection.createNewIO(Connection.java:2621)
    at com.mysql.jdbc.Connection.<init>(Connection.java:1485)
    at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:266)
    at java.sql.DriverManager.getConnection(DriverManager.java:525)
    at java.sql.DriverManager.getConnection(DriverManager.java:171)
    at databasePhoto.DatabaseUtility.login(DatabaseUtility.java:45)
    at databasePhoto.Test.<init>(Test.java:24)
    at databasePhoto.Test.main(Test.java:46)

    Disregard i have figured it out. For some reason using the ip address for the host causes me problems. I changed to the server name and it works great no probs

  • Connecting from Office and Connecting from Remote

    Hello
    Can anyone tell me what is the difference between "Connecting from Office" and "Connecting from Remote" in the connection wizard ?
    Thank you in advance

    Hi Naldoo,
    Into installation of SAP BPC you are specifying for application server 3 names:
    Application Server Name
    External Application Server Name
    Virtual Name
    The third one is used in case if you are using NLB.
    The first one is the one using by "Connecting from Office"
    The second one is used by "Connecting outside of office"
    For this reason External name must be FQDN )Fully qualify name)
    Application Server name can be short name
    I hope this will help.
    Regards
    Sorin Radulescu

  • Network Connection Timed Out when downloading from...

    I have only had BT broadband for a few months but am regretting it due to the huge number of dropouts I have - lose connection many times daily which is a big pain as I rely on this for my work.
    One specific problem that has reared its head recently is if I try to download latest iphone upgrade from Itunes then after about 30 seconds it fails with "Network Connection Timed Out' and the connection breaks. This happens every time I try.
    Also sometimes when I access sites I get TCP Network Error.
    I know these problems are to do with the BTHub Router because if I switch to using my old Netgear Router which is still running on another line in the house (I need the backup as BT fails so often) then all works fine.
    Can anybody help - or should I just throw it all away and try another provider?

    Hi can youplease do the following
    1 Bt quiet line test dial 17070 option 2 you should hear no noise any thing heard should be reported to Bt faults on 151 but do not mention broadband when you call once any noise is removed broadband should improve
    2 run a Bt speed test speedtester.bt.com andpost back here the results in full
    3 obtain your full hub stats byentering 192.168.1.254 into to your browser address bar and navigating to connection and post the full details back here then someone will be able to offer more help about your connection
    If you want to say thanks for a helpful answer,please click on the Ratings star on the left-hand side If the reply answers your question then please mark as ’Mark as Accepted Solution’

  • Can I prevent av AirPort Extreme from "discovering" and connecting other Airport devices on the same network ?

    Can I prevent an AirPort Extreme from "discovering " and connecting to other Airport devices on the same network ?

    Not sure I understand your question.
    What is the AirPort Extreme doing now that you don't want it to do? What does it "discover"?  How is it connecting other devices on the same network?

  • Apple TV 3 slow to download from iCloud and connected computer.

    Apple TV 3 slow to download from iCloud and connected computer. Wired via ethernet with very fast upload and download speeds. Can anyone help please? Accessing YouTube is even incredibly slow. Have reset, no joy. Have changed DNS to Google DNS, no joy.

    Resolved!  Disabled BT Home Hub as wireless. Removed Devolo wireless plugs from house. Removed TP link powerline adapters (Apple TV was connected to ethernet). Set Time Capsule as the only wireless point in the house. Interestingly, if you have more than 1 access point in the house, BT Home Hub can get a little confused - so removing its wireless capability via the admin function via advanced settings basically set Time Capsule as only access point in the house). Changed DNS on Windows 7 machine to Open DNS.....(FYI, outside of US & Canada, Google DNS is pretty much useless and won't speed up your download speeds on Apple TV).  Restored Apple TV to factory settings and started again. Downloads from iCloud almost instant; downloads from shared computer almost instant; streaming from YouTube and Netflix almost instant. Happy days....

  • "select * from table" and "select top 14260 from table" get nothing but select top 14259 get result successful

    select * from tablename                   ------always running,but get nothing
    select top 1 *  from tablename         -------get result quickly
    select top 2 *  from tablename         -------get result quickly
    select top 14259 * from tablename  --------get result quickly
    select top 14260 * from tablename  --------always running,but get nothing
    the thread is:
    java.net.SocketInputStream.socketRead0(Native Method)
    java.net.SocketInputStream.read(SocketInputStream.java:150)
    java.net.SocketInputStream.read(SocketInputStream.java:121)
    com.microsoft.sqlserver.jdbc.TDSChannel.read(IOBuffer.java:1782)
    com.microsoft.sqlserver.jdbc.TDSReader.readPacket(IOBuffer.java:4838)
       - 已锁定com.microsoft.sqlserver.jdbc.TDSReader@54269910
    com.microsoft.sqlserver.jdbc.TDSCommand.startResponse(IOBuffer.java:6150)
    com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement.doExecutePreparedStatement(SQLServerPreparedStatement.java:402)
    com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement$PrepStmtExecCmd.doExecute(SQLServerPreparedStatement.java:350)
    com.microsoft.sqlserver.jdbc.TDSCommand.execute(IOBuffer.java:5696)
    com.microsoft.sqlserver.jdbc.SQLServerConnection.executeCommand(SQLServerConnection.java:1715)
       - 已锁定java.lang.Object@320b1499
    com.microsoft.sqlserver.jdbc.SQLServerStatement.executeCommand(SQLServerStatement.java:180)
    com.microsoft.sqlserver.jdbc.SQLServerStatement.executeStatement(SQLServerStatement.java:155)
    com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement.execute(SQLServerPreparedStatement.java:332)

    when I run the below sql of Uri Dimant,I get many rows,I think you are right!
    Do you have some method to handle this problem?
    Or do you have some information for me to Learn?
    Thanks a lot.
    SELECT
    owt.session_id AS waiting_session_id,
        owt.blocking_session_id,
    DB_NAME(tls.resource_database_id) AS database_name,
        (SELECT SUBSTRING(est.[text], ers.statement_start_offset/2
    + 1,
    (CASE WHEN ers.statement_end_offset = -1
    THEN LEN(CONVERT(nvarchar(max), est.[text])) * 2
    ELSE ers.statement_end_offset
    END
    - ers.statement_start_offset
    ) / 2)
    FROM sys.dm_exec_sql_text(ers.[sql_handle]) AS est) AS waiting_query_text,
    CASE WHEN owt.blocking_session_id > 0 
    THEN (
    SELECT
    est.[text] FROM sys.sysprocesses AS sp
    CROSS APPLY sys.dm_exec_sql_text(sp.[sql_handle]) as est
    WHERE sp.spid = owt.blocking_session_id)
    ELSE
    NULL
    END AS blocking_query_text,
        (CASE tls.resource_type
    WHEN 'OBJECT' THEN OBJECT_NAME(tls.resource_associated_entity_id, tls.resource_database_id)
    WHEN 'DATABASE' THEN DB_NAME(tls.resource_database_id)
    ELSE (SELECT  OBJECT_NAME(pat.[object_id], tls.resource_database_id)
    FROM sys.partitions pat WHERE pat.hobt_id = tls.resource_associated_entity_id)
    END
    ) AS object_name,
    owt.wait_duration_ms,
    owt.waiting_task_address,
    owt.wait_type,
    tls.resource_associated_entity_id,
    tls.resource_description AS local_resource_description,
    tls.resource_type,
    tls.request_mode,
    tls.request_type,
    tls.request_session_id,
    owt.resource_description AS blocking_resource_description,
    qp.query_plan AS waiting_query_plan
    FROM sys.dm_tran_locks AS tls
    INNER JOIN sys.dm_os_waiting_tasks owt ON tls.lock_owner_address = owt.resource_address
    INNER JOIN sys.dm_exec_requests ers ON tls.request_request_id = ers.request_id
    AND owt.session_id = ers.session_id
    OUTER APPLY sys.dm_exec_query_plan(ers.[plan_handle]) AS qp
    GO

  • Select from dual  into a variable through db links

    HI,I need to select value of current_timestamp in to a variable d1 of a remote database inside function.
    function (db_lnk varchar2)return number
    as
    dbl varchar2(10);
    begin
    dbl:=db_lnk;
    select current_timestamp into d1 from dual@dbl;
    end;
    but getting error table or v iew does not exist.
    if i do
    select current_timestamp into d1 from dual@'||dbl||';
    then it says database link name expected.
    How to achieve this?
    Thanks

    Peter Gjelstrup wrote:
    Foreign languages, foreign languages :-){noformat}*grins*{noformat} I know - and your English is miles better than my Danish (I'm assuming - hopefully correctly?! - that that's your 1st language based on your location!) which I don't even know any words of! *{:-)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Suddenly, when I print a Selection from an email, it prints out about 10 blank pages and somewhere in there, the selection I wanted.

    I'm using Firefox 12 on Windows XP. Things worked fine until just this evening. Now when I choose Print/Selection in my email, it spits out multiple (like, maybe 10 or more) blank pages with just a header/footer on them. I've followed the instructions for reseting the Firefox printer setting AND Reseting all Firefox printer settings and it still does it. Everything prints fine in Internet Explorer. This printing issue is getting REALLY tedious. I don't want a complicated workaround, I just want to print a selection. NOW why isn't it working?

    Thanks, Cor-el, but that question addressed a problem I had with FF11 (that was only fixed when FF12 came out). FF12 worked fine for printing selections from emails perfectly up until yesterday afternoon. Reboot didn't help, even after reboot when I preview what I want to print (thank goodness for that option, or I'd be going through a lot of paper) it's still showing the page of text I actually want to print, then 6-8 blank pages afterward. This is not happening with every email, I have noticed ths morning. It now happens with email sent from (or to, as a reply) a yahoo account in Sweden and email sent from (or in reply to) a gmail account in Canada. These previously printed fine. Other emails will print maybe one extra page. There seems to be no rhyme or reason why it would suddenly start doing this. Should I look at the source code? What would I be looking for?

Maybe you are looking for

  • A part of DEVELOP screen at DESKTOP

    This is a problem on Lightroom v4.4 under Windows7 64bit : Please refer the attached image which is a screen shot of Windows7 Desktop after normal close of Lightroom v4.4. The part of DEVELOP screen is remaining. It will be lost by starting and closi

  • My safari keeps crashing because of webkit

    This community has been super helpful to me over the last 10 years but this is my first post. I have a mid 2009 macbook pro with Lion 10.7.4 and since I have upgraded to safari 6, it has been crashing with this log: Thanks for any help! Process:     

  • Why am I getting "Not Authorized" then when I sign in I get "This computer is already authorized"

    Hello, I migrated from Snow Leopard to Mountain Lion on my new iMac.  Why when I down load using iTunes 11.0.2  I get the following loop of windows:        I click Authorize        I enter my Apple ID and Password      I click OK Then then after a co

  • Mapping the hand tool to a mouse button

    I know you can use the tab key to switch between tools, but what I'd really like is to map the hand tool to the middle mouse button.  When I press the middle mouse button, I want the hand tool to pop up and grab the diagram so I can drag it around th

  • How is "most helpful" determined in App Store Reviews sort field?

    How is "most helpful" determined in each apps Reviews sort field In the App store?  I use this field to help make decisions. I like to see how buyers feel about their purchases. But, as a buyer, I've never been asked which review I consider most help