Tomcat 4.0 and Oracle 10g takes 100% CPU and grinds to a halt

Hi, I have a system to support that is currently running on Tomcat 4.0 on a Windows Server 2003 R2 SP2 machine with 3.06Ghz, 4Gb Memory, 2Gb Page file connecting to an Oracle 8.1.6 database on a Windows NT 4 virtual server with 3.2Ghz, 1152Mb Memory, 1536Mb Page file.
I have another Windows virtual server 2003 R2 SP2 machine with 2Gb of memory and a 4Gb page. This server has Tomcat 4.0 and an Oracle 10.2.0.3.0 database. I have made sure that the Oracle 10g classes12.jar file is used.
I am trying to run the application on the new server. In some tests I had users logging on one by one for the first 5 users - performance was great and the application ran faster than the current live system. When I then got another 10 - 15 people logging on the CPU stuck at 100% on the server, even exploring the server was almost impossible, and the application slowed down to unworkable.
We dont know if the problem lies with the very fact that we are trying to connect to a 10g database which is cost based and the application was written using rule based Oracle 8. Or is it the virtual server? Or is it the fact that we have both the application and the database on the same server.
I dont know if it is possible to have another Tomcat4.0 server running on our live server but connecting to the 10g database - what would happen with classes12.zip and classes12.jar? would there be a conflict?
I would really appreciate some help here. You should know though that I am not a hardened java programmer - I can dabble, but am an Oracle Forms, Reports, Discoverer, SQL person by trade. I am also a trainee DBA, so again am not an expert by any means.
Thanks in advance for your help
Lizzie

lizzie8 wrote:
Hi, I have a system to support that is currently running on Tomcat 4.0 on a Windows Server 2003 R2 SP2 machine with 3.06Ghz, 4Gb Memory, 2Gb Page file connecting to an Oracle 8.1.6 database on a Windows NT 4 virtual server with 3.2Ghz, 1152Mb Memory, 1536Mb Page file.Tomcat 4? We're up to Tomcat 6. The important difference is the JDK supported. What JDK are you using for Tomcat?
>
I have another Windows virtual server 2003 R2 SP2 machine with 2Gb of memory and a 4Gb page. This server has Tomcat 4.0 and an Oracle 10.2.0.3.0 database. I have made sure that the Oracle 10g classes12.jar file is used.classes12.jar is pretty old technology. The JAR should match your JDK and version of Oracle.
I am trying to run the application on the new server. In some tests I had users logging on one by one for the first 5 users - performance was great and the application ran faster than the current live system. When I then got another 10 - 15 people logging on the CPU stuck at 100% on the server, even exploring the server was almost impossible, and the application slowed down to unworkable.You don't say anything about the whether or not you're using a connection pool or what's happening to the open connections and cursors. If you find that those are drifting up over time, it's likely that the code isn't closing resources properly.
We dont know if the problem lies with the very fact that we are trying to connect to a 10g database which is cost based and the application was written using rule based Oracle 8. Or is it the virtual server? Or is it the fact that we have both the application and the database on the same server.Database and app server should be separated, IMO.
I dont know if it is possible to have another Tomcat4.0 server running on our live server but connecting to the 10g database - what would happen with classes12.zip and classes12.jar? would there be a conflict?
I would really appreciate some help here. You should know though that I am not a hardened java programmer - I can dabble, but am an Oracle Forms, Reports, Discoverer, SQL person by trade. I am also a trainee DBA, so again am not an expert by any means.You need more data. Get some tools to see where the time is being spent. Start monitoring your Oracle connections and cursors to see what's going on. Install some filters to get raw timings on your Java calls. Without data, you're guessing in the dark.
%

Similar Messages

  • Ora enterprise linux and oracle 10g take 3

    Hey;
    This one doesn't seem so easy to work around. The oracle installer seemed to run fine all the way through to the point where it was creating a new database. I got an error stating:
    ORA-19624: operation failed, retry possible
    ORA-19870: error reading backup piece.
    Ignoring it doesn't seem to do anything and aborting finally gets me out of the installer without a database created. I ran dbca and got the same error.
    This sounds like I might have a borked oracle 10g download... does that seem right? The version is 10.2.0.1 Maybe I'll try the non-64 bit version.
    thanks for any info supplied...
    Doug O'Leary

    Hey;
    Thanks for the suggestion. That concerns me as the 64 bit oracle 10g download cksum is the same as listed on the download page. I may have some other issue going on here other than a bad download then...
    Thanks.
    Doug O'Leary

  • Ora enterprise linux and oracle 10g take 2

    Hey;
    Ran into a snag and was hoping to get a tip from the experts. I installed oracle enterprise linux w/o issue and got everything configured per the installation directions. When I run the installer, I'm getting a library error:
    Exception in thread "main" java.lang.UnsatisfiedLinkError: /tmp/OraInstall2009-06-09_09-51-41AM/jre/1.4.2/lib/i386/libawt.so: libXp.so.6: cannot open shared object file: No such file or directory
    A google search result says that I'm missing the XFree86-libs which seems to be accurate as I don't see the rpm Oracle enterprise linux uses the xorg X11, not the xfree so I'm a little concerned about breaking something if I download and use that one.
    A search on otn here shows that I'm missing the xorg-x11-deprecated-libs which is also true. I don't see that rpm in the list of ones on the installation media. I then searched through all the rpms on the install dvd for libXp and found nothing.
    Should I find and download xorg-x11-deprecated-libs or is there something else that's not right? The verbiage says that oracle enterprise linux has everything I need so the apparent missing library probably means I screwed something up along the way.
    Thanks for any info/hints/tips.
    Doug O'Leary

    Hey;
    A little more searching later and I found most of the solution. It seems the libxp rpm didn't get installed. I installed that from the install media w/o issue. I'm still getting the same error though. I've confirmed that the library is now on the system and available in /usr/lib64 so I'm suspecting a library path issue.
    If anyone knows how to set that in linux off the top of their heads, I'd appreciate the tip.
    Thanks for putting up with me...
    Doug

  • Lightroom CC takes 98% cpu and 3,5gb memory when exporting

    Lightroom CC takes 100% cpu and 3,5gb memory when exporting
    My computer, which is not bad, becomes unuseable now when exporting
    Never had this issue with previous version(s).
    Also, I had pretty silly GUI lag, which seems to have gone away by turning OFF GPU-acceleration...
    Why is this happening??
    Everything is running on an SSD.
    Please advise.
    Laest Adobe CC
    My specs:
    Lightroom version:  CC 2015 [1014445]
    License: Creative Cloud
    Operating system: Windows 8.1 Home Premium Edition
    Version: 6.3 [9600]
    Application architecture: x64
    System architecture: x64
    Logical processor count: 4
    Processor speed: 3,3 GHz
    Built-in memory: 16325,8 MB
    Real memory available to Lightroom: 16325,8 MB
    Real memory used by Lightroom: 3379,2 MB (20,6%)
    Virtual memory used by Lightroom: 3690,6 MB
    Memory cache size: 2571,4 MB
    Maximum thread count used by Camera Raw: 4
    Camera Raw SIMD optimization: SSE2,AVX,AVX2
    System DPI setting: 96 DPI
    Desktop composition enabled: Yes
    Displays: 1) 1920x1080
    Input types: Multitouch: No, Integrated touch: No, Integrated pen: No, External touch: No, External pen: No, Keyboard: No
    Graphics Processor Info:
    AMD Radeon R9 200 Series
    Check OpenGL support: Passed
    Vendor: ATI Technologies Inc.
    Version: 3.3.13283 Core Profile Context 14.501.1003.0
    Renderer: AMD Radeon R9 200 Series
    LanguageVersion: 4.40
    Application folder: C:\Program Files\Adobe\Adobe Lightroom
    Library Path: C:\lr_catalog_current\2015\2015-2.lrcat
    Settings Folder: C:\Users\andreas\AppData\Roaming\Adobe\Lightroom
    Installed Plugins:
    1) Behance
    2) Canon Tether Plugin
    3) Facebook
    4) Flickr
    5) Leica Tether Plugin
    6) Nikon Tether Plugin
    Config.lua flags: None
    Adapter #1: Vendor : 1002
      Device : 67b0
      Subsystem : 46c1043
      Revision : 0
      Video Memory : 4071
    Adapter #2: Vendor : 1414
      Device : 8c
      Subsystem : 0
      Revision : 0
      Video Memory : 0
    AudioDeviceIOBlockSize: 1024
    AudioDeviceName: 1 - Philips 278C4 (AMD High Definition Audio Device)
    AudioDeviceNumberOfChannels: 2
    AudioDeviceSampleRate: 44100
    Build: Uninitialized
    Direct2DEnabled: false
    GPUDevice: not available
    OGLEnabled: true

    Hi there,
    thanks for the reply!
    GRAPHICS = NVIDIA GeForce GT 750M 2048 MB
    I tried that but it didn't work unfortunately, Mine was already set to the one you said, I tried the other but no change

  • Parallels takes high CPU and makes fan go 6000RPM when device connected

    I'm running Mac OS 10.5.5 on an Early 2008 white base Macbook, with Boot Camp and Parallels (which runs my Boot Camp partition) so I can use Windows XP, which I need for some XP applications I need that don't work in Crossover.
    I usually keep Parallels running, with XP paused (since I occasionally need it and don't want to wait for it to boot and drain my battery). If I plug in a USB device, such as my wireless mouse or external hard drive, Parallels asks me if I want to connect the device to the XP system, but since I'm usually using OS X, I keep Parallels hidden. So, I don't see the prompt. Parallels then takes 100% CPU and forces my fan to increase to 6000+RPM from the high temperatures it creates. Even though the system is paused, when I plug in a device, it takes 100% CPU simply for having the prompt dialog box open. Any way to fix this?
    I have a base Macbook (Early 2008) upgraded to 4GB RAM (so I could actually use Parallels without both the systems being really slow).
    On another note, is it more battery-consuming to keep XP paused, or to shut it down altogether and boot it up later?
    Thanks.
    Message was edited by: ltxenodite

    Make sure you've updated to the latest version Parallels, and you should probably consider posting your question in the Parallels forums:
    http://forums.parallels.com

  • Oracle 9i and Oracle 10g in same machine

    I have Oracle 9i in a machine. I wanted to install Oracle 10g in the same machine.
    I tried installed, and Oracle 10g worked ok.
    I have the following problems:
    1. Oracle 9i is not starting up. {Oracle 9i Intelligent Agent Failure on startup}
    2. I need to use Oracle 9i and Oracle 10g simultaneously.
    If any one have experianced this please help to resolve the issue.
    Thanks in advance.
    Srini

    You must use 2 different homes, and later you have to take care of your environment variables, and you must use only one listener in this case the highest version that is 10g.
    Tell us: did you install in the same ORACLE_HOME?
    Give us details.
    Pao.

  • Oracle Streams b/w MS-Access 2007 and Oracle 10g.

    Can we set up Oracle Streams between MS-Access 2007 and Oracle 10g? Ms-Access as source and Oracle 10g as destination database. If so, can any one please give me little heads up with supported doc's or any source of info.

    Help Help....!!!

  • Using Clob with TopLink 9.0.4.5 and Oracle 10g RAC

    I am trying to store an XML file in a Clob type field of a DB table using TopLink 9.0.4.5 and Oracle 10g RAC and need some guidance about how to do it. I got some directions to start it with the Tip "How-To: Map Large Objects (LOBs) to Oracle Databases with OracleAS TopLink" but still need some more helps.
    When using the Oracle JDBC OCI driver, the tip gives the code block for a Clob field:
    DirectToField scriptMapping = new DirectToField();
    scriptMapping.setAttributeName("script");
    scriptMapping.setFieldName("IMAGE.SCRIPT");
    descriptor.addMapping(scriptMapping);
    As I understand, TopLink creates instances of the Descriptor class at run time for each of the descriptor files and stores them in a database session, where is the proper place (in SessionEvent of TopLinkSessionEventHandler?) for me to get a reference to such an instance of my Descriptor class in Java code so that I can add the above mentioned additional Mapping? Are the above String values of "script" and "IMAGE.SCRIPT" predefined in TopLink API? Can I accomplish the same thing just using the TopLink Workbench tool instead? If yes, please advise the detailed steps to do so.
    The tip also states to call the following code in case of using Clob:
    DatabaseLogin login = session.getLogin();
    login.useStringBinding();
    Should the above 2 lines of code be called after the following lines of code?
    SessionManager sessionManager = SessionManager.getManager();
    Server serverSession = (Server)sessionManager.getSession("MY_SESSION_NAME");
    Besides the above extra coding for the Session and Descriptor Mapping, is there any special handling in between Data model and DB table mapping? Can I map a Java String type to a DB Clob field using the Direct-to-field mapping?
    Appreciate any help.

    Never mind ....... I had already figured it out .....

  • Integration b/w uccx7.0 and oracle 10g

    hi,
    currently i am doing integration b/w uccx7.0 and oracle 10g. i have installed the oracle client 10g . and i added the DSN in ODBC and also the test connection is succesful.. but when i mention the DSN in app admin page (Subsytem> Database). it is showing me error that some of the information is incorrect for the connection. and is not allowing me to add DSN in appadmin page of uccx 7.0.. even though i am using the same information in sqlplus to query the database from ipccx. Do i need to mention sth to make it work.
    Regards
    Nareh

    Hi there
    A few things you have to watch out for.
    Firstly if you have create the DSN and able to connect to it via the ODBC its more likely that the driver was not loaded correctly.
    - Remove the Driver and DNS
    - Install the driver again and create the DSN and test if it works
    - Reload the whole windows <----- was working on a case for 3 hours UCCX just wasn't loading the new 10g drivers reload fixed this
    Now create the database connection and test.
    Should this not work you can try the following:
    CSCtb80893

  • Help building an e-commerce site using DreamWeaver MX 2004 and Oracle 10G

    I'm new to using Oracle 10G. After reviewing several rdms's I've picked Oracle 10G as my rdms. I'm trying to build an ecommerce site using DreamWeaver MX 2004 and Oracle 10G. The website will be selling hardware and software products. I have a choice in DreamWeaver to go for a .asp or .jsp setup. I have several questions, here goes:
    1. Is there any book/tutorial/whitepaper out there that describes building an ecommerce site using Oracle 10G/9I/8I? Just some examples as how to make the datamodel regarding the shopping basket etc.
    2. I prefer DreamWeaver as it let's me make nice looking css style based pages without throttling too much through the code. Are there Oracle tools which allow me to make an advanced nice looking ecommerce site?
    I hope some of you can help me get started. Any effort is appreciated.
    Cheers

    I'm new to using Oracle 10G. After reviewing several rdms's I've picked Oracle 10G as my rdms. I'm trying to build an ecommerce site using DreamWeaver MX 2004 and Oracle 10G. The website will be selling hardware and software products. I have a choice in DreamWeaver to go for a .asp or .jsp setup. I have several questions, here goes:
    1. Is there any book/tutorial/whitepaper out there that describes building an ecommerce site using Oracle 10G/9I/8I? Just some examples as how to make the datamodel regarding the shopping basket etc.
    2. I prefer DreamWeaver as it let's me make nice looking css style based pages without throttling too much through the code. Are there Oracle tools which allow me to make an advanced nice looking ecommerce site?
    I hope some of you can help me get started. Any effort is appreciated.
    Cheers

  • Oracle.exe consuming 100% CPU on windows and database hang

    Hi all,
    every time my oracle database is hanging when the application run, the problem is the oracle.exe consum 100% CPU but not memory and the server hang and the dabase is going to inaccessible, we need to restart oracle instance service or server to bring the databas eback to normal but it's not permanent because the problem occurs once the application turn on.
    Checking the log file i found the below error every time:
    My database version is 9.2.0.7.0
    OS: Windows 2003 Server Standard Edition Service Pack 2
    RAM: 3,5Gb
    CPU: Inte Xeon 3.20 GHz
    ORA-00600: internal error code, arguments: [kghuclientasp_03], [0xBFEADCE0], [0], [0], [0], [], [], []
    ORA-29913: error in executing ODCIEXTTABLEFETCH callout
    ORA-29400: data cartridge error
    KUP-04050: error while attempting to allocate 163500 bytes of memory
    ORA-06512: at "SYS.ORACLE_LOADER", line 14
    ORA-06512: at line 1
    Fri Mar 05 05:35:15 2010
    Errors in file e:\oracle\admin\optprod\udump\optprod_ora_5876.trc:
    ORA-00603: ORACLE server session terminated by fatal error
    ORA-04030: out of process memory when trying to allocate 8389132 bytes (pga heap,redo read buffer)
    ORA-04030: out of process memory when trying to allocate 8389132 bytes (pga heap,redo read buffer)
    ORA-04030: out of process memory when trying to allocate 8180 bytes (callheap,kcbtmal allocation)
    Thank you
    Lucienot.

    Is this a new application on this database?
    Has it run well in the past?
    I have had this happen before on a 32bit Windows server. Our problem was a poorly written procedure that kept pegging the cpu to 100%. You should be able to figure out what SQL is being used that is causing this problem, it will be the Top Working SQL most likely.
    I also had this problem on a Logical Standby server which was trying to apply SQL to the SYS.AUD$ table. As soon as SQL Apply was started, the CPU went to 100%. Once I truncated that table, the cpu usage went back to normal. Not sure what you are using to monitor your database but if you can, try to find out what SQL is running when your CPU goes to 100%.

  • Difference between oracle 8i and oracle 10g

    Hi,
    i need to know the difference between oracle 8i and oracle 10g. Also, to know the depreciated and delimited features in oracle 10g, as compared to oracle 8i.
    Earlier response is appreciated.

    Differences between 9i and 10g are detailed here: http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14214/toc.htm
    Differences between 9i and 8i are detailed here:
    http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96531/toc.htm

  • Auditing in oracle 10g database and oracle 10g application server

    Dear friends,
    We have oracle 10g application server and oracle 10g database server in place.My criteria is to audit users connected using oracle application user credentials to the database.
    Can you please tell me how can i do it.
    Thanks & regards,

    Its the database connection you want to track. The session audit will show where it came from.
    Auditing is turned using this command:
    alter system set audit_trail = DB scope=spfile;
    Note: The use of spfile will require a DB bounce before audit starts
    To audit Sessions:
    audit create session;
    Query by Audit Type:
    SELECT A.USERNAME,
    OS_USERNAME,
    A.TIMESTAMP,
    A.RETURNCODE,
    TERMINAL,
    USERHOST
    FROM DBA_AUDIT_SESSION A
    WHERE USERHOST = <replace with iAS servername> ;
    By User
    SELECT USERNAME,OBJ_NAME,ACTION_NAME , TIMESTAMP
    FROM DBA_AUDIT_TRAIL WHERE USERNAME = 'SCOTT';
    Check for users sharing database accounts
    select count(distinct(terminal)),username
    from dba_audit_session
    having count(distinct(terminal))>1
    group by username;
    Attempts to access the database at unusual hours
    SELECT username, terminal, action_name, returncode,
    TO_CHAR (TIMESTAMP, 'DD-MON-YYYY HH24:MI:SS'),
    TO_CHAR (logoff_time, 'DD-MON-YYYY HH24:MI:SS')
    FROM dba_audit_session
    WHERE TO_DATE (TO_CHAR (TIMESTAMP, 'HH24:MI:SS'), 'HH24:MI:SS') <
    TO_DATE ('08:00:00', 'HH24:MI:SS')
    OR TO_DATE (TO_CHAR (TIMESTAMP, 'HH24:MI:SS'), 'HH24:MI:SS') >
    TO_DATE ('19:30:00', 'HH24:MI:SS');
    Attempts to access the database with non-existent users
    SELECT username, terminal, TO_CHAR (TIMESTAMP, 'DD-MON-YYYY HH24:MI:SS')
    FROM dba_audit_session
    WHERE returncode <> 0
    AND NOT EXISTS (SELECT 'x'
    FROM dba_users
    WHERE dba_users.username = dba_audit_session.username);
    Other audits you might consider:
    audit grant any object privilege;
    audit alter user;
    audit create user;
    audit drop user;
    audit drop tablespace;
    audit grant any role;
    audit grant any privilege;
    audit alter system;
    audit alter session;
    audit delete on AUD$ by access;
    audit insert on AUD$ by access;
    audit update on AUD$ by access;
    audit delete table;
    audit create tablespace;
    audit alter database;
    audit create role;
    audit create table;
    audit alter any procedure;
    audit create view;
    audit drop any procedure;
    audit drop profile;
    audit alter profile;
    audit alter any table;
    audit create public database link;
    Best Regards
    mseberg

  • Difference Between Oracle Database 10g And Oracle 10g Express Edition

    Can any body Tell me What is The Difference Between Oracle Database 10g And Oracle 10g Express Edition.

    http://www.oracle.com/database/product_editions.html
    This link might help you.

  • Is there any difference in Oracle 9i SQL Loader and Oracle 10g SQL Loader

    Hi
    Can anyone tell me whether is there any difference in Oracle 9i SQL Loader and Oracle 10g SQL Loader?
    I am upgrading the 9i db to 10g and wanted to run the 9i SQL Loader control files on upgraded 10g db. So please let me know is there any difference which I need to consider any modifications in the control files..
    Thank you in advance
    Adi

    answered

Maybe you are looking for

  • Creative Cloud FAQ clarity

    I'm looking for clarity about this FAQ: "Do I have to save my files to the storage space on Creative Cloud? No - just sync what you want. You can save every file to your desktop and choose which ones you sync to Creative Cloud." DOES this mean you ha

  • How to hide xmp thumbnail images?

    Is there a way to hide all of the xmp thumbnail images that appear next to the photo image thumbnails? It makes it harder to browse. Thanks!!

  • Ipad 1 charging issues

    When charger is plugged in it says charging not supported! Is it charger? Ipad1?

  • Itunessetup.exe not valid with Win 32 application

    Trying to install Itunes and it says C:\Documentsandsettings\Joe\temporaryinternetfiles\Conten.IES\ZMC5K011\iTunesSe tup.exe is not a valid WIN 32 Application. Need help

  • Query on loop in Integration process

    what condition do we give in loop. is it end condition or looping condition?