Some JDBC query takes over 5 minutes after installing Weblogic 7 SP4

After upgrading from weblogic 7 SP1 to SP4, there is one particular database query
that does not return for somewhere between 5 to 7 minutes. We have turned on
database trace and see that the query is done. This query returns about 3000
rows, 15 columns
Downgrading back to SP1 on the same machine fixes the problem.
Server is not hung while this is going. The datasource and connection pool is
available as well.
Thread dump while it is waiting shows the following for the thread that is waiting
for this query:
ExecuteThread: '13' for queue: 'default'" daemon prio=5 tid=0x2ac3b520 nid=0x9f
runnable [0x2bd6e000..0x2bd6fdb8]
at java.net.SocketInputStream.socketRead(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:85)
at oracle.net.ns.Packet.receive(Unknown Source)
at oracle.net.ns.DataPacket.receive(Unknown Source)
at oracle.net.ns.NetInputStream.getNextPacket(Unknown Source)
at oracle.net.ns.NetInputStream.read(Unknown Source)
at oracle.net.ns.NetInputStream.read(Unknown Source)
at oracle.net.ns.NetInputStream.read(Unknown Source)
at oracle.jdbc.ttc7.MAREngine.unmarshalUB1(MAREngine.java:931)
at oracle.jdbc.ttc7.MAREngine.unmarshalSB1(MAREngine.java:893)
at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:375)
at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1892)
at oracle.jdbc.ttc7.TTC7Protocol.fetch(TTC7Protocol.java:1198)
at oracle.jdbc.driver.OracleStatement.doExecuteQuery(OracleStatement.jav
:2504)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStateme
t.java:2832)
at oracle.jdbc.driver.OraclePreparedStatement.doScrollPstmtExecuteUpdate
OraclePreparedStatement.java:4187)
at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePrepar
dStatement.java:642)
at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePrepare
Statement.java:536)
at weblogic.jdbc.jts.Statement.executeQuery(Statement.java:213)

Getting the latest driver worked. Thanks a lot.
Joe Weinstein <[email protected]> wrote:
Hi. The best thing to do first is to download and install oracle's very
latest version of theit thin driver, and add it to your PRE_CLASSPATH
so you know the server will use the very latest driver they have. Let's
see if that makes a difference.
Joe
Vina Wang wrote:
After upgrading from weblogic 7 SP1 to SP4, there is one particulardatabase query
that does not return for somewhere between 5 to 7 minutes. We haveturned on
database trace and see that the query is done. This query returnsabout 3000
rows, 15 columns
Downgrading back to SP1 on the same machine fixes the problem.
Server is not hung while this is going. The datasource and connectionpool is
available as well.
Thread dump while it is waiting shows the following for the threadthat is waiting
for this query:
ExecuteThread: '13' for queue: 'default'" daemon prio=5 tid=0x2ac3b520nid=0x9f
runnable [0x2bd6e000..0x2bd6fdb8]
at java.net.SocketInputStream.socketRead(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:85)
at oracle.net.ns.Packet.receive(Unknown Source)
at oracle.net.ns.DataPacket.receive(Unknown Source)
at oracle.net.ns.NetInputStream.getNextPacket(Unknown Source)
at oracle.net.ns.NetInputStream.read(Unknown Source)
at oracle.net.ns.NetInputStream.read(Unknown Source)
at oracle.net.ns.NetInputStream.read(Unknown Source)
at oracle.jdbc.ttc7.MAREngine.unmarshalUB1(MAREngine.java:931)
at oracle.jdbc.ttc7.MAREngine.unmarshalSB1(MAREngine.java:893)
at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:375)
at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1892)
at oracle.jdbc.ttc7.TTC7Protocol.fetch(TTC7Protocol.java:1198)
at oracle.jdbc.driver.OracleStatement.doExecuteQuery(OracleStatement.jav
:2504)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStateme
t.java:2832)
at oracle.jdbc.driver.OraclePreparedStatement.doScrollPstmtExecuteUpdate
OraclePreparedStatement.java:4187)
at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePrepar
dStatement.java:642)
at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePrepare
Statement.java:536)
at weblogic.jdbc.jts.Statement.executeQuery(Statement.java:213)

Similar Messages

  • SSRS 2008 R2 is extremely slow. The query runs in less than a second in the dataset designer but if you try to view the report it takes over 10 minutes. I have read this is a bug in SSRS 2008 R2. We installed the most recent patches and service packs.

    SSRS 2008 R2 is extremely slow.  The query runs in less than a second in the dataset designer but if you try to view the report it takes over 10 minutes.  I have read this is a bug in SSRS 2008 R2.  We installed the most recent patches and
    service packs.  Nothing we've done so far has fixed it and I see that I'm not the only person with this problem.  However I don't see any answers either.

    Hi Kim Sharp,
    According to your description that when you view the report it is extremely slow in SSRS 2008 R2 but it is very fast when execute the query in dataset designer, right?
    I have tested on my local environment and can‘t reproduce the issue. Obviously, it is the performance issue, rendering performance can be affected by a combination of factors that include hardware, number of concurrent users accessing reports, the amount
    of data in a report, design of the report, and output format. If you have parameters in your report which contains many values in the list, the bad performance as you mentioned is an known issue on 2008 R2 and already have the hotfix:
    http://support.microsoft.com/kb/2276203
    Any issue after applying the update, I recommend you that submit a feedback at https://connect.microsoft.com/SQLServer/ 
    If you don’t have, you can do some action to improve the performance when designing the report. Because how you create and update reports affects how fast the report renders.
    Actually, the Report Server ExecutionLog2  view contains reports performance data. You could make use of below query to see where the report processing time is being spent:
    After you determine whether the delay time is in data retrieval, report processing, or report rendering:
    use ReportServer
    SELECT TOP 10 ReportPath,parameters,
    TimeDataRetrieval + TimeProcessing + TimeRendering as [total time],
    TimeDataRetrieval, TimeProcessing, TimeRendering,
    ByteCount, [RowCount],Source, AdditionalInfo
    FROM ExecutionLog2
    ORDER BY Timestart DESC
    Use below methods to help troubleshoot issues according to the above query result :
    Troubleshooting Reports: Report Performance
    Besides this, you could also follow these articles for more information about this issue:
    Report Server Catalog Best Practices
    Performance, Snapshots, Caching (Reporting Services)
    Similar thread for your reference:
    SSRS slow
    Any problem, please feel free to ask
    Regards
    Vicky Liu

  • After update, iTunes takes over 30 minutes to start up

    I updated iTunes to 10.6.3.25 a couple of days ago to the latest version, and now it takes over 30 minutes to load.  I click the iTunes icon on my desktop and get the mouse spinner for about 2 seconds, then it disappears.  During that time, I can see in task manager that iTunes.exe using the about 25% of my CPU (i3 550) and over 100,000k of my 8GB of RAM.  After it finally loads, I plug in my iPod and iTunes gives no indication that it sees it at all.  Windows sees it, but iTunes doesn't.  My question is, what can I do to fix this?  I've already went into programs & features and went to changes and hit repair on each of the apple programs I have on my computer and that changed nothing, and I also tried this.
    tl;dr iTunes takes forever to load and iPod doesn't show up in iTunes

    UPDATE: After having had my iPod plugged in for TWO HOURS, it has finally been detected by iTunes.

  • WebAccess takes over 5 minutes to start servicing

    Everytime the GW8 Linux server is reboot, WebAccess would take over 5 minutes to begin its service.
    Further examining the logs found this on /var/log/apache/error_log when the server starts running after a reboot:
    [Wed Jul 23 09:56:32 2014] [error] (111)Connection refused: proxy: AJP: attempt
    to connect to 127.0.0.1:8009 (localhost) failed
    [Wed Jul 23 09:56:32 2014] [error] ap_proxy_connect_backend disabling worker for
    (localhost)
    [Wed Jul 23 09:56:32 2014] [error] proxy: AJP: failed to make connection to back
    end: localhost
    [Wed Jul 23 09:56:33 2014] [error] proxy: AJP: disabled connection for (localhos
    t)
    The above pattern keeps repeating everytime a connection comes... and automagically disappears after a while... WebAccess then starts running...
    Any clues???

    In article <[email protected]>, Glio wrote:
    > Everytime the GW8 Linux server is reboot, WebAccess would take over 5
    > minutes to begin its service.
    > /var/log/apache/error_log ... after a reboot:
    > [Wed Jul 23 09:56:32 2014] [error] (111)Connection refused: proxy: AJP:
    > attempt to connect to 127.0.0.1:8009 (localhost) failed
    > [Wed Jul 23 09:56:32 2014] [error] ap_proxy_connect_backend disabling
    > worker for (localhost)
    This is an apache issue where part of it is looking for its proxy engine.
    What distro/version of distro are you running? Is this an OES box?
    Is anything else using that port? (Possible conflict)
    netstat --listen | grep 8009
    Andy of
    KonecnyConsulting.ca in Toronto
    Knowledge Partner
    http://forums.novell.com/member.php/75037-konecnya
    If you find a post helpful and are logged in the Web interface, please
    show your appreciation by clicking on the star below. Thanks!

  • Opening an Excel file takes over a minute

    Anyone else notice that it takes forever to open an Excel file? I know Numbers has to import it, but it takes over a minute on a Mac Pro?
    I really don't want to install Excel on my machine.

    Bryan,
    How large is the file? If you will be frequently opening and working with large Excel files, you may as well accept that you need Office or NeoOffice or OpenOffice on your Mac. Many of us came to Numbers to escape the grip of MS, but you have to do what makes the most sense. Remember that you can still use Numbers for non-collaborative work.
    Jerry

  • JDeveloper 11.1.1.7 takes over 45 minutes to start

    Hi,
    I have windows 7 64 bit with 64 bit JDK 1.7. My jDeveloper 11.1.1.7 takes over 45 minutes to start, even the previous versions took similar long time. I have McAfee running on my system and have 8 GB RAM and more than 100 GB HDD on my C drive. I tried playing with the tuning parameters as mentioned in few blogs, but nothing seems to help.
    Please help.
    Avinash
    Edited by: user773889 on 26-Apr-2013 00:58

    Indeed, McAfee caches what it has previously scanned. I've had different versions of McAfee where this has been, and hasen't been a problem.
    It's pretty easy to tell on Windows if McAfee is the culprit. Open the Task Manager and watch is McAfee active (consuming CPU) during the whole process of opening JDev.
    If so you're going to have to work with your IT department to get exemptions for JDev put in place if it is.
    CM.

  • Why It takes almost a minute after chime for apple logo to appear on my MBP

    Why does it take almost a minute after chime for apple logo to appear in my MBP

    Have you recently replaced your drive or RAM?  If so, try resetting your PRAM.  This is a common problem after replacement.  After I replaced my drive, when I first turned my machine on I thought I screwed up the drive replacment since the Apple logo didn't come up... thankfully it eventually came up.  After resetting the PRAM, it booted as quickly as it had previously.  I've had this happen on two machines:
    http://support.apple.com/kb/ht1379

  • IWeb takes over 10 minutes to load

    When I try to load iWeb it take over 10 minutes to load. Anyone else have this problem? Can I stop it from loading iPhoto along side >?

    Backup and launch iPhoto with the Command+Option keys depressed to rebuild the library. Select the last three options.
    Click to view full size
    Launch iWeb and see if you can add photos from iPhoto now. What iWeb uses to see the photos in iPhoto is the AlbumData.xml file that is created in the iPhoto Library package. If the above doesn't work try the following:
    1 - close iPhoto.
    2 - go to your Pictures folder, select your library package and open it as shown in this screenshot:
    Click to view full size
    3 - locate the AlbumData.xml and AlbumData2.xml file and move them to the desktop.
    4 - launch iPhoto which will recreate those files.
    5 - launch iWeb and try again.
    A last suggestion is to reapply the iLife Media Browser Update and the iLife Support 9.0.3 update.

  • I cant open some applications like preview or text edid after installing mavericks, im missing the Base.lproj files, can some one help?

    I cant open some applications like preview or text edit after installing mavericks, i found a post that said im missing the Base.lproj files, this fixed my calendar application but i need the file for preview, can some one help?

    Hi vampyro33,
    Thanks for visiting Apple Support Communities.
    If it seems like system files are missing and applications are quitting unexpectedly, I'd suggest reinstalling Mavericks:
    OS X Mavericks: Reinstall OS X
    http://support.apple.com/kb/PH13871
    Best Regards,
    Jeremy

  • Why does it take over 2 minutes to get a database connection from the DataSource?

    Hello,
    It is taking over 2 minutes for my application to get a connection from a registered DataSource in iAS 6.0 sp4 on Solaris. The proper results are returned it just takes 2 minutes to establish the connection. The DataSource is an Oracle 9i database. I have the 9i drivers in the classpath. I also have a registered datasource that is an Oracle 8 database and have no problems establishing a connection quickly to that database. As an aside I have setup this application on JBOSS and both datasource's return a connection very quickly. If anyone has any ideas about what might be going on please respond. This issue is holding up a production release.
    Here is the code:
    try {
    log.debug("getting a new initial context");
    ctx = new InitialContext();
    ds = (DataSource) ctx.lookup(bundle.getString("IW_DATASOURCE"));
    log.debug("after looking up datasource from initial context");
    } catch (NamingException e) {
    log.error(e);
    throw new FinstarException
    (bundle.getString("E-0001"));
    try {
    log.debug("about to get connection");
    conn = ds.getConnection();
    log.debug("after getting connection");
    Produces this in the logs:
    2002-05-29 08:55:12,859 DEBUG org.mitre.mii.project.finstar.FinancialSummary - about to get connection
    2002-05-29 08:57:24,963 DEBUG org.mitre.mii.project.finstar.FinancialSummary - after getting connection
    Here is the datasource registration file:
    <ias-resource>
    <resource>
    <jndi-name>jdbc/pdc/IWDataSource</jndi-name>
    <jdbc>
    <database-url>jdbc:oracle:thin:@xxx.xxx.org:1521:acisdb</database-url>
    <datasource>jdbc/pdc/IWDataSource</datasource>
    <username>XXXXX</username>
    <password>XXXXX</password>
    <driver-type>OracleThinDriver</driver-type>
    </jdbc>
    </resource>
    </ias-resource>

    Have you tried to eliminate everything extraneous. In other words, do you experience the same delays with a simple Java program (no lookups, JNDI) that loads the drivermanager and creates a connection.
    Do you have access to a traciong JVM or some program that captures run-time execution timing information? Even without the source, this will tell you the specific class::methos where time is spent so you can better determine where the delay is ocurring.

  • Mac takes over a minute to connect to Wifi

    Hi there,
    This has only just started happening over the past 2 weeks, on bootup it takes around a minute for it to search for any wifi networks and then eventually connects to it.
    I have an iMac 27 inch Mid 2010 with an SSD installed so bootup takes around 10-15 secs and then wait a minute for it to pick any wifi up.
    I have 10.9.2 installed, not sure if installing 10.9.2 has broke it somehow. Sure I seen a post somewhere about deleting a file but I cannot remember where :-(
    Hopefully someone will of had the same issue or can assist in some way!
    Thanks so much!

    Do any of these suggestions help?
    http://howtoapple.com/mavericks-wifi-issues-fix/

  • MAC OS 10.6.8 Firefox 6.0.2 Any new window opening takes over a minute to happen. Once open all is fine. New tabs open immediately. Only on new windows is there this delay. This only happens on FF, not on Sarari, Chrome, Opera. - stevehorn@websentia.us

    Opening FF for the first time and when any additional, new window is opened, it takes over 60 seconds for the window to appear. This happens after reboot and repair permissions in Disc Utilities on reboot (from installation disc). Once window appears, all works fine. New tabs appear instantly. New, added windows still take the 60+ seconds to appear even with current window remaining open. No other browsers or applications behave this way.

    Not sure if this is exactly the same as the other reported problems.
    But creating a new (via command N or via menu selection) window creates a long thin nearly zero width but full height window. Selecting the window via the window menu and zooming brings it up at full size.
    I tried turning off all add-ons and things seemed to work but then stopped working again (sorry can't find a consistent set of symptoms here).
    MacOSX 10.6.8 Firefox 6.0.2

  • Why does it take over ten minutes for email to get through for my request for a signature

    Why isn't this program faster? It's been over 20 minutes emailing a test form, to myself, to see how quick this is? Is this normal? Not what I was looking for in a software program

    Have you tried to eliminate everything extraneous. In other words, do you experience the same delays with a simple Java program (no lookups, JNDI) that loads the drivermanager and creates a connection.
    Do you have access to a traciong JVM or some program that captures run-time execution timing information? Even without the source, this will tell you the specific class::methos where time is spent so you can better determine where the delay is ocurring.

  • Photoshop Elements 10 - takes over 4 minutes to load - hangs on "Scanning for plug-ins..."

    Since mid-February 2014, having problems with both Photoshop Elements 10 and Photoshop CS4 extended (v 11.0.2) - both take around 4 minutes to load, when previously they loaded very quickly.
    In Photoshop CS4 there is no activity on-screen for 2 minutes, then it hangs on the start up screen for another two minutes on "Scanning for plug-ins." Similar issue with Elements 10.
    I am running on Windows 8.1, 64-bit. I also have Lightroom 5.4 installed.
    Any help gratefully received, as this is driving me mad!

    UPDATE: After having had my iPod plugged in for TWO HOURS, it has finally been detected by iTunes.

  • Retina MBP takes over a minute to start up

    Just received my rMBP over a week ago and started to notice slow boot up times of over a minute ehich seems too long for an rMBP with flash architecture.
    I've already tried the following:
    Removed all unwanted login items
    Chose correct drive in Startup Disc
    Reset PRAM and SMC
    Reinstalled ML(not a clean install)
    My shutdowns are quick(2-10sec range) but can't figure out what's causing the sloooow start up. After pressing the power button and get the gray screen and Apple logo, the spinning wheel shows up. I timed it at about 1min 5sec until the wallpaper and menus show up.
    What is causing this and is there a way to get the super quick start up times other people are getting without having to do a clean install of ML?

    No external devices connected to my rMBP.
    @Shooitst007: I ordered 16gb of RAM so it had to be custom made and sent to me from China. I don't really want to wait another 2-3 weeks to get a new rMBP. Plus I bought Apple Care just in case. My last option before turning it in to Apple would be to wipe the SSD and do a clean install of ML.

Maybe you are looking for