Diagnostics Profiling JDBC usage and leak problem

Hi:
Currently, I running diagnostics profiling JDBC usage and leak on my four Managed servers. It is collecting data for few hours, then it stop collecting data. Do anyone know why? How can I get it back to collecting data? Thank You

Hello,
Sorry you're having trouble...could you provide a bit more information as to your configuration, and how you are enabling JDBC profiling?
Specifically:
- What version of the server are you using?
- Are you using the JDBC profiling hooks, or do you mean that you are using WLDF JDBC Instrumentation Monitors?
- Are you saying that you're experiencing leaks because of this issue, or that you are using the profiling functionality to debug a potential leak?
If you have WLDF configured, can you post your WLDF System Resource descriptor? It's located in <domain-dir>/config/diagnostics.
Thanks,
Mike

Similar Messages

  • Broadband Usage and speed problems.

    Hi.
    I have question about broadband usage.
    Its 11 days and bt website says I used more then 20GB!
    Its nearly 1.8 GB per day! I used Internet for browsing website and receive one email pre day, I download twice large amount (about 1-1,5GB) and nothing more!
    I just wonder what going on? I try monitor my usage day by day from 5 days ago and its worst and worst!!!
    I nothing download but my usage going very fast.
    Its looks like I will be download about 3 movies per day that means I will have now more then 30 movies! Its must be something wrong!
    I used before VM and my average Internet usage was about 15-20GB per Month with solid 10MB speed.
    Now my speed is **bleep** from 8mb to 1mb and sometimes less then 512kb!!! And usage is higher !!!
    How can I see details about my usage?
    And q2
    About speed - in my area BT Infinity will be available from 31.12.2010
    Its mean still BT have same works, it might be cause my slow broadband?
    And from 25.11 till now is same problem with broadband, in three days I must reset BT Hub because there is no Internet. On BT Hub anything looks fine, Is IP address etc... But is no Internet telephone and no Internet as well.
    I check by used ping bbc.co.uk

    Andy_N wrote:
    Hi.
    I hope you don't mind me asking a few questions, this may help to determine why your usage is as high as you're seeing.
    Do you have more than one computer connected ? Do you use iPlayer, or watch lots of youtube stuff ? Do you have any games machines such as XBox connected to the Internet ?
    Are you uploading lots of things ? uploads count as well as downloads.
    Are you up to date with all security and anti-virus packages, and have you run any scans recently ? (sometimes viruses and trojans can cause a usage problem).
    Your inherent speed problem could be due to various reasons, for example worsening line conditions due to weather and general wear and tear. Strangely viruses can cause a noticeable slow down, but mainly due to the computer being infected rather than the line being slow.
    Can you posssibly post the hub stats ?
    If you're using a PC, download something like Networx usage monitor and see if that can help. Of course it needs to be on each PC, but can't see the usage of games machines or Internet TV (or iPhone use etc).
    I used only 2 machines. Desktop PC and laptop. Laptop very light, just 1-2 hours per day only websurfing (3-5 websites with no movie or high quality images, 90% is just plain text)
    I not download lots of stuff, Like I just say, in VM my average monthly usage was 15-20 GB and I download few movie and lots of music.
    In December I just download one movie other traffic is just webserfing email.
    Youtube - yes I watch, but its not new staff for me, like just say my usage is not deferent then was in VM!
    Now usage monitor on BT web site say I used more then 20GB! in 11 days!!! if one movie will be 0.7GB its means I download about 30 movies!
    Its massive! I never download 30 movies in 2-3 months )
    This start about 5 days ago, when my strip goes to orange. My average Internet usage is 1.8GB !!! Even I for 2 days used Internet very little.
    I nothing upload.
    It is not possible, to anny worm or viruses used so big bandusuage if any software used Internet connection in background (like systems) its just kilobits not gigabits!
    If I will be use very hardly Internet I will be no rise alarm. But I now what I used. I have Internet for more then 7 years and now how far I go.
    And now is very strange - I less used inherent I have more GB used!
    In my calculation if my average usage per day will be 1.8GB I will used 55GB!!! I never used more 20 - max 30GB! It must be something wrong on BT site.
    I get BT Broadband option 2 be cause, I now I used about 15-20GB per months and BT Broadband option 1 is not for me, but 20GB in 11 days!
    We not talk abut 100MB! or 500MB per day we talk about nearly 2GB per day! Its massive!
    Is any chance to get detail Internet usage?
    Q2
    I loose Internet connection 3 times per week, so I need push reset button on hub.
    I left once Hub with no reset but in 5 hours it will still no Internet.
    Its looking very strange, because anything looks OK except I loos Internet phone (no blue telephone light)
    In hub stats is IP, is Downstream etc... but when I ping bbc.co.uk it say: host unavailable or similar.
    After reset working well. My be my Hub is faulty?
    Many Thanks for reply!
    Hub Stats
    Line state
    Connected
    Connection time
    1 day, 3:31:03
    Downstream
    10,124 Kbps
    Upstream
    1,022 Kbps
    ADSL settings
    VPI/VCI
    0/38
    Type
    PPPoA
    Modulation
    ITU-T G.992.5
    Latency type
    Interleaved
    Noise margin (Down/Up)
    8.8 dB / 4.9 dB
    Line attenuation (Down/Up)
    31.0 dB / 15.5 dB
    Output power (Down/Up)
    20.9 dBm / 12.4 dBm
    Loss of Framing (Local)
    0
    Loss of Signal (Local)
    0
    Loss of Power (Local)
    0
    FEC Errors (Down/Up)
    139453 / 426
    CRC Errors (Down/Up)
    24 / 2147480000
    HEC Errors (Down/Up)
    nil / 61462
    Error Seconds (Local)
    16

  • JDBC Connector and pooling problems.  Should be ConnectionPoolDataSource ?

    Ciao all,
    I am testing the JDBC Connector by Sun.
    As you know, such JDBC connector is a JCA connector which can be used to
    wrap a JDBC Driver or a JDBC Data Source or a JDBC
    ConnectionPoolDataSource into a JCA connector.
    Such JDBC Connector exposes to the client component the usual DataSource
    interface, so that an application that was developed using a DataSource
    can be easily migrated to a JCA enabled application: the application in fact will use the JDBC connector as if it was a DataSource, without
    knowing that actually it is a JCA connector.
    Here is my problem: the JCA architecture provides a pool. Therefore, I'd like the JDBC Connector to appear to the client as a
    ConnectionPoolDataSource rather than a simple DataSource.
    In fact, I have an application that performs a JNDI lookup to retrieve a JDBC data source. Then, if the obtained data source is instance of ConnectionPoolDataSource then the applications will use the SQL Connection and will closes it to release it back to the pool.
    But if the data source is instance of DataSource, then the application
    will retrieve a SQL connection, will use it, and will keep it in its own pool in order to reuse the SQL connection for better performance.
    Now, if such application works with either a DataSource or a ConnectionPoolDataSource everything works properly, but when it works
    with the JDBC Connector it fails: the JDBC Connector in fact appears as
    a simple DataSource without pooling, so the application keeps the
    obtained SQL connections in its own pool. But actually, the JDBC
    Connector is a JCA connector which has a pool too, so the SQL connection
    is kept in two pools and as a consequence, the JDBC Connector pool invalidates or destroy the connection in its pool, and the application, which is unaware, keeps in its pool a reference to an invalid connection, which leads to a SQLException at runtime.
    So my question is: don't you think that the JDBC Connector should implement ConnectionPoolDataSource rather then DataSource, since it is a
    JCA connector that offers pool services ?
    And if so, is there a way to submit this question to someone working for Sun ?
    Thank you for your time.
    Gian Maria Romanato.

    You can send your comments and feedbacks to [email protected]

  • Problem with memory usage and CPU usage

    Hello,
    i have a problem with the memory usage and cpu usage in my project!
    My application must run for more than 24 hrs. The problem is that the longer it runs the bigger is the memory and cpu usage!
    It starts with ~15% CPU usage and ~70 MBytes memory usage. After ~ 24hrs the CPU usage is ~60% and the memory usage is ~170 MBytes!
    After  3 days the CPU usage is almost about 70% and the memory usage is about 360 MBytes!
    What can I do to reduce this huge recource usage?
    Thank you!

    Hi Pahe,
       I think the issue is memory usage, since CPU usage can increase due to greater memory requirements.
       Anyway, it's difficult to debug without seeing your code, can you post it (possibly for LV 7.1 compatibility)?  Or just post a JPEG of the piece of code that can give problems...
       I guess you're appending data to an array instead of replace data elements, but I can't be sure...
       Have a nice day!
    graziano

  • HT4314 hello i have an ipod touch 4 5.1.1 and i can't post status updates or have a profil picture what is the problem and my sister has it and we have the same itunes account in game center

    hello i have an ipod touch 4 5.1.1 and i can't post status updates or have a profil picture what is the problem and my sister has it and we have the same itunes account in game center

    And the answer is: 
    williamfromlongueuil wrote:
    we have the same itunes account in game center
    You need to have your own account...  DUH....

  • JDBC, JMS and EJB transactions - possible problem?

    Hello,
              I am using Oracle 9, Weblogic 8.1 SP 4, MyEclipse and
              XDoclet.
              In my current project I have the following piece of code
              in one of my message driven beans (code cited as pseudocode
              without unnecessary details):
              * @ejb.bean name="MyMessageProcessor"
              * display-name="Display name for a MyMessageProcessor"
              * jndi-name="ejb/MyMessageProcessor"
              * description="Bean MyMessageProcessor"
              * destination-type="javax.jms.Queue"
              * transaction-type="Container"
              * acknowledge-mode="Auto-acknowledge"
              * subscription-durability="Durable"
              * generate="false"
              * @ejb.transaction type="Required"
              public class MyMessageProcessor implements MessageDrivenBean, MessageListener {
              public void onMessage(Message msg) {
                   try {
                        //obtaining connections to two different databases via JNDi
                        java.sql.Connection connOne =
                        ((DataSource)ctx.lookup("DataSourceOne")).getConnection();          
                        java.sql.Connection connTwo =
                             ((DataSource)ctx.lookup("DataSourceTwo")).getConnection();
                        // performing some UPDATEs and INSERTs on connOne and connTwo
                        // calling some other methods of this bean
                        //creating the reply JMS message and sending it to another JMS queue
                        Message msgTwo = this.createReplyMessage(msg)
                        this.queueSender.send(msgTwo);
                        //commiting everything
                        this.queueSession.commit();          
                   } catch (Exception ex) {
                   try {
                        if (this.queueSession!=null) this.queueSession.rollback();
                   } catch (JMSException JMSEx) {};     
                   this.context.setRollbackOnly();
              Some days ago (before the final remarks from my client) there used to be only one DataSource configurated on the basis of the
              connection pool with non-XA jdbc driver. Everything worked fine
              including the transactions (if anything wrong happend not only wasn't the replymessage sent, but also no changes were written
              to database and the incomming message was thrown back to the my bean's
              queue).
              When I deployed the second DataSource I was informed by an error message, that only one non-transactional resource may
              participate in a global transaction. When I changed both datasources
              to depend on underlying datasources with transatcional (XA) jdbc drivers, everything stopped working. Even if
              EJB transaction was theoretically successfully rolledbacked, the changed were written to the database
              and the JMS message wasn't resent to the JMS queue.
              So here are my questions:
                   1. How to configure connection pools to work in such situations? What JDBC drivers should I choose?
                   Are there any global server configurations, which may influence this situation?
                   2. Which jdbc drivers should I choose so that the container was able to rollback the database transactions
                   (of course, if necessary)?
                   3. Are there any JMS Queue settings, which would disable the container to send message back to the
                   queue in case of setRollbackOnly()? How should be the Queue configurated?
              As I am new to the topic and the deadline for the project seems to be too close I would be grateful
              for any help.
              This message was sent to EJB list and JDBC list.
              Sincerely yours,
              Marcin Zakidalski

    Hi,
              I found these information extremely useful and helpful.
              The seperate transaction for sending messages was, of course, unintentional. Thanks a lot.
              Anyway, I still have some problems. I have made some changes to the
              code cited in my previous mail. These changes included changing QueueSessions
              to non-transactional. I also set the "Honorate global transactions" to true.
              I am using XA JDBC driver. After setting "Enable local transactions" to false
              (I did it, because I assume that JDBC transactions should be part on the global
              EJB transaction) I got the following error:
              java.sql.SQLException: SQL operations are not allowed with no global transaction by default for XA drivers. If the XA
              driver supports performing SQL operations with no global transaction, explicitly allow it by setting
              "SupportsLocalTransaction" JDBC connection pool property to true. In this case, also remember to complete the local
              transaction before using the connection again for global transaction, else a XAER_OUTSIDE XAException may result. To
              complete a local transaction, you can either set auto commit to true or call Connection.commit() or Connection.rollback().
              I have also inspected the calls of methods of bean inside of onMessage() method just to check, whether
              the transactions are correctly initialized (using the weblogic.transaction.Transaction class).
              My questions are as follows:
              1. Any suggestions how to solve it? I have gone through the google answers on that problem and only
              thing I managed to realize that JDBC must start its own transaction. Is there any way to prohibit it
              from doing that? Can using setAutocommit(true/false) change the situation for better?
              2. How to encourage the JDBC driver to be a part of EJB transaction?
              3. As I have noticed each of ejb method has its own transactions (transactions have different
              Xid). Each method of the bean has "required" transaction attribute. Shouldn't it work in such
              way that if already started transaction exists it is used by the called method?
              4. The DataSources are obtained in my application via JNDI and in the destination environment I will have slight
              impact on the configuration of WebLogic. What is least problematic and most common WebLogic configuration which would
              enable JDBC driver to participate in the EJB transaction? Is it the WebLogic configuration problem or can it be
              solved programmically?
              Currently my module works quite fine when "enable local transactions" for DataSources is set to true, but this way
              I am loosing the ability to perform all actions in one transaction.
              Any suggestions / hints are more than welcomed. This message was posted to jdbc list and ejb list.
              Marcin

  • I created a new profile to fix a crashing problem and now I can't get my bookmarks.

    Creating the new profile has fixed my crashing problem and I copied the recommended files and folders from my old profile to my new one but I still can't get my bookmarks. What am I doing wrong?

    These can't get your data back, but will help in the future.
    These add-ons can be a great help by backing up and restoring Firefox
    '''[https://addons.mozilla.org/en-US/firefox/addon/febe/ FEBE (Firefox Environment Backup Extension)]''' {web link}
    FEBE allows you to quickly and easily backup your
    Firefox extensions, history, passwords, and more.
    In fact, it goes beyond just backing up -- It will actually rebuild
    your saved files individually into installable .xpi files.
    It will also make backup of files that you choose.
    '''[https://addons.mozilla.org/en-US/firefox/addon/opie/ OPIE]''' {web link}
    Import/Export extension preferences

  • Memory leak problems with loading videos over and over.

    I'm having memory leak problems with loading videos into a VideoPlayer aswell as FLVPlayback.
    What the flash should do:
    - Should be running for 7 days without having to restart the projector.
    - Interface that shows people around a 360 3D model with 5 different parts and at the stops it makes during the rotation you can click to zoom in on a location which plays a movie for that aswell.
    - Shows a video out of 5 parts for a 360 rotation in 3D in mp4 video (added each time and cleaned up, see code below).
    - Still images are used when the video clips are done playing (MovieClip in stage).
    - Should run automatically when there is no user interaction for X minutes.
    What the problem is:
    - The flash (as a exe and swf i guess) starts to consume memory over time (say 10 hours) until the projector crashes. This usually at around 1.75 GB of memory.
    I cannot see why the Flash cannot garbage collect this and free up the memory. Mabye there is something I don't understand about the garbage collection in flash?
    Here is some code from the video loading and playing:
    var fVideo:VideoPlayer;
    VideoCreate();
    function VideoReady(pEvent:VideoEvent):void
    trace("VideoReady()");
         // start playing video
    fVideo.play();
    function VideoLoad(pUrl:String):void
         trace("VideoLoad(" + pUrl +
         VideoCreate();
         if (pUrl != "")
              if (fVideoFolder + pUrl == fVideo.source)
                   fVideo.seek(0);
    VideoReady(null);
              } else {
    trace(fVideo.state);
                   if (fVideo.state !=
    VideoState.DISCONNECTED) fVideo.stop();
    fVideo.close();                                
    fVideo.load(fVideoFolder + pUrl);
         } else {
    // error no url
    function VideoCreate():void
         trace("VideoCreate()");
         // remove old one
         if (getChildAt(0) == fVideo)
              removeChildAt(0);
         fVideo = new
    VideoPlayer(1024, 768);
         addChildAt(fVideo, 0);
         fVideo.autoRewind = false;
    fVideo.addEventListener(VideoEvent.COMPLETE, VideoDonePlaying);
    fVideo.addEventListener(VideoEvent.READY, VideoReady);

    Hmm. It's in connection with Dropbox. Så apparantly you can only use one of the two at the same time if you want the programs integrated in Finder.

  • Performance and Memory Problems on OSX

    Firefox seems to have some sort of memory leak. Even once I remove all the add-ons, and no matter which web pages, after about a day, Firefox is slow and I have to restart the browser. When using the diagnostics within Mac OSX, Firefox is consuming twice as much memory as Safari and is consistently the biggest CPU consumer. It would be nice if someone profiled the code and actually made sure it was optimized.

    We are with the same problem. We read a lot about the vm in the RHAS 3.0. The vm was improved but, with bugs. We found a lot of inactive pages that, after the clean state, does'nt deallocate properly. This makes the thread kernel "kswapd" works a lot, taking all the cpu in the io process.
    There is a known bug related to "kswapd" thread in the RHAS 3.0 kernel. The RedHat promess to solve the problem in the nexts releases (I really doubt it, because there was already 3 releases after its announces).
    We have checked some strange behaviors too... The machines with Linux RH AS 3.0 + Oracle products (OracleDB and OracleIAS) are freezing randomically. We think that the shared memory are allocating kernel space pages, but we didn't found any evidences yet.
    The workarounds (not tested yet):
    - Upgrade to the latest kernel.
    or
    - Use the hugemem kernel (even when using less than 16GB of RAM, some guys reported that this solve the problem)
    or
    - Compiling a clean kernel directly from kernel.org. In this case, we don't have support from Oracle, but maybe the problem could be resolved until RH publish some bugless vm code with your kernel.

  • Is memory leak Problem Solved in this new FW 4.08...

    Hi frnds,This is my very first post. Im happy to be a member of N Series Family by owing a brand New N73 ME One Week Before (July 2008). The phone really Fascinated me with its features, Since my Previous Phone was Nokia 6630. Now let me Come to my problem.
    A "Memory Full. Close some application" Error is encountering me twice or thrice a day. if i knowledge is correct, its Low RAM error & i found my RAM in the range of 18-20MB just after startup & along with usage of applications & closing, it maintain a range b/w 4-8MB. In this time wen i open a picture in inbuilt PicEditor this Memory full Error occurs(And sometimes while zooming a picture in gallery also). Will updating to the new FW according to my product code 0543843 is 4.0812.4.2.1 will solve the Memory leak problem ? i have gone through all the post regarding the issues on latest firmware updates Good & Bad. So im a bit confused that shud i update or not. Coz i have only this memory problem. Everything else is fine.
    Please help me.
    N73 ME
    v 4.0736.3.2.1
    04-09-2007
    RM-133
    Code:0543843
    INDIA

    I have 4.0812.4.2.1 and I have the same problem..I think that in 4.0736 is best memory usage than other firmwares,but I can't downgrade firmware

  • Since the itunes 10.4.1 update  I have memory leaks problems.

    Since the itunes 10.4.1 update  I have memory leaks problems, Itunes used memory start at about 100 megs as usual but when it play the ram usage climb about 4 kb per second ( one time I had itunes using 690 megs !). I had to periodically close and restart Itunes to clear the memory.
    Someone has suggestion to resolve this problem?

    Same issue, Running Windows 7 x64 with 6 Gigs of RAM and have iTunes 10.4.1 32bit version.
    I wanted to break in some headphones over the weekend, so left it playing a loop of songs. Came back on Monday to see my machine using a huge amount of RAM and iTunes just froze.
    Here is a shot of my Task Manager showing iTunes was using 1.5gigs of Memory.

  • JDBC Drviers and Linux

    What driver should I use for O8.1.6 using RedHat 6.2 Linux
    Thanks
    P.S. Please respond to [email protected]

    the jdbc driver readme file:
    Oracle JDBC Drivers release 8.1.7 README
    ========================================
    What Is New In This Release?
    These are the major new features/enhancements in this release:
    - Statement Caching
    * Implicit Statement Caching
    * Explicit Statement Caching
    - Full XA Support
    * Including XA Recover and Forget
    * OracleXid independent implementation for 8.1.7 servers and above
    - Connection Caching
    * New Scheme (FIXED_WAIT_SCHEME)
    * Statement Caching coupling
    - PLSQL Tables Support for Scalar types (for OCI driver only)
    - User-Defined Datatypes Performance Enhancement
    - Object Types Extensions
    * Serializable Type Descriptors
    * Accessing collection elements in Java primitive types
    * Buffering and indexing collection elements
    * Creating empty Lobs
    - Support for 56-bit encryption algorithms for connection using
    the Thin JDBC driver.
    These are the major bug fixes:
    - BUG-903011
    The JDBC Thin driver could not be used with usernames that
    contained Latin-1 characters when the server used UTF8 character
    set. This problem has been fixed in release 8.1.7.
    - BUG-1052489
    There was a problem with PreparedStatements being executed
    multiple times and the length of one of the bind variables (bound
    with setBinaryStream or setCharacterStream) increased. This
    problem has been fixed in release 8.1.7.
    - BUG-1069768
    There was a problem with insertion of ADTs with an image bigger
    than 4K with the JDBC Thin driver. This problem has been fixed
    in release 8.1.7.
    - BUG-1247015
    When using ResultSet::getObject() to access CHAR or VARCHAR columns
    in scrollable result sets, ResultSet::getObject() returned null.
    - BUG-1349713
    getString() of scrollable result sets returns incorrect values if
    the column data contains multibyte characters.
    Driver Versions
    These are the driver versions in the 8.1.7 release:
    - JDBC OCI Driver 8.1.7
    Client-side JDBC for use on a machine where OCI 8.1.7 is installed.
    - JDBC Thin Driver 8.1.7
    100% Java client-side JDBC for use in applets and applications.
    - JDBC Thin Server-side Driver 8.1.7
    JDBC for use by Java Stored Procedures or by Java CORBA objects
    running in Oracle 8.1.7. This driver is typically used in a middle
    tier server.
    - JDBC Server-side Internal Driver 8.1.7
    Server-side JDBC for use by Java Stored procedures or by Java CORBA
    objects running in Oracle 8.1.7. This driver used to be called the
    "JDBC Kprb Driver".
    For complete documentation, please refer to "JDBC Developer's Guide
    and Reference".
    Contents Of This Release
    The [ORACLE_HOME]/jdbc/lib directory contains:
    - classes111.zip
    Classes for use with JDK 1.1.x. It contains the JDBC driver
    classes except classes necessary for NLS support in Object and
    Collection types.
    - nls_charset11.zip
    NLS classes for use with JDK 1.1.x. It contains classes necessary
    for NLS support in Object and Collection types.
    - classes111_g.zip
    Same as classes111.zip, except that classes were compiled with
    "javac -g".
    - classes12.zip
    Classes for use with JDK 1.2.x. It contains the JDBC driver
    classes except classes necessary for NLS support in Object and
    Collection types.
    - nls_charset12.zip
    NLS classes for use with JDK 1.2.x. It contains classes necessary
    for NLS support in Object and Collection types.
    - classes12_g.zip
    Same as classes12.zip, except that classes were compiled with
    "javac -g".
    Note that the packaging of the JDBC classes to support NLS was
    changed in 8i. The classes pertaining to specific character sets
    support in Object and Collection types have been separated from the
    basic zip files. These NLS classes are now packaged into the
    extension zip files. This allows the user to include the NLS
    classes only if necessary. Please refer to the "NLS Extension Zip
    Files (for client-side only)" for further details.
    [ORACLE_HOME]/lib directory contains libocijdbc8.so and
    libocijdbc8_g.so (on Solaris), which are the shared libraries used by
    the JDBC OCI driver.
    [ORACLE_HOME]/jdbc/doc/javadoc.tar contains the JDBC Javadoc. This
    release contains a beta release of the Javadoc files for the public
    API of the public classes of Oracle JDBC.
    [ORACLE_HOME]/jdbc/demo/demo.tar contains sample JDBC programs.
    Demo programs written for JDK 1.1 must be modified to run in JDK 1.2.
    Please refer to the "Support For JDK 1.2" for porting details.
    NLS Extension Zip Files (for client-side only)
    The JDBC Server-side Internal Driver provides complete NLS support.
    It does not require any NLS extension zip files, nls_charset*.zip.
    Discussions in this section do not apply to the JDBC Server-side
    Internal Driver. You can skip this section if you only use the
    Server-side Internal Driver.
    The basic zip files, classes111.zip and classes12.zip, contain all the
    necessary classes to provide complete NLS support for:
    - Oracle Character sets for CHAR/VARCHAR/LONGVARCHAR/CLOB type data
    that is not retrieved or inserted as a data member of an Oracle 8
    Object or Collection type.
    - NLS support for CHAR/VARCHAR data members of Objects and
    Collections for a few commonly used character sets. These
    character sets are: US7ASCII, WE8DEC, WE8ISO8859P1 and UTF8.
    Users must include the appropriate extension zip in their CLASSPATH
    if utilization of other character sets in CHAR/VARCHAR data members
    of Objects/Collections is desired. It is important to note that
    extension zip files are large in size due to the requirement of
    supporting a large number of character sets. Users may choose to
    include only the necessary classes from the extension zip file.
    To do so, users can first unzip the extension zip file, and then put
    only the necessary classes in the CLASSPATH. The character set
    extension class files are named in the following format:
    CharacterConverter<OracleCharacterSetId>.class
    where <OracleCharacterSetId> is the hexidecimal representation of the
    Oracle character set id of the corresponding character set.
    Installation
    Please do not try to put multiple versions of the Oracle JDBC drivers
    in your CLASSPATH. The Oracle installer installs the JDBC Drivers in
    the [ORACLE_HOME]/jdbc directory.
    Setting Up Your Environment
    On Win95/Win98/NT:
    - Add [ORACLE_HOME]\jdbc\lib\classes111.zip and
    [ORACLE_HOME]\jdbc\lib\nls_charset11.zip to your CLASSPATH.
    (Add classes12.zip and nls_charset12.zip if JDK 1.2.x is used.)
    - Add [ORACLE_HOME]\jdbc\lib to your PATH.
    On Solaris/Digital Unix:
    - Add [ORACLE_HOME]/jdbc/lib/classes111.zip and
    [ORACLE_HOME]/jdbc/lib/nls_charset11.zip to your CLASSPATH.
    (Add classes12.zip and nls_charset12.zip if JDK 1.2.x is used.)
    - Add [ORACLE_HOME]/jdbc/lib to your LD_LIBRARY_PATH.
    On HP/UX:
    - Add [ORACLE_HOME]/jdbc/lib/classes111.zip and
    [ORACLE_HOME]/jdbc/lib/nls_charset11.zip to your CLASSPATH.
    (Add classes12.zip and nls_charset12.zip if JDK 1.2.x is used.)
    - Add [ORACLE_HOME]/jdbc/lib to your SHLIB_PATH and LD_LIBRARY_PATH.
    On AIX:
    - Add [ORACLE_HOME]/jdbc/lib/classes111.zip and
    [ORACLE_HOME]/jdbc/lib/nls_charset11.zip to your CLASSPATH.
    (Add classes12.zip and nls_charset12.zip if JDK 1.2.x is used.)
    - Add [ORACLE_HOME]/jdbc/lib to your LIBPATH and LD_LIBRARY_PATH.
    Some Useful Hints In Using the JDBC Drivers
    Please refer to "JDBC Developer's Guide and Reference" for details
    regarding usage of Oracle's JDBC Drivers. This section only offers
    useful hints. These hints are not meant to be exhaustive.
    These are a few simple things that you should do in your JDBC program:
    1. Import the necessary JDBC classes in your programs that use JDBC.
    For example:
    import java.sql.*;
    import java.math.*;
    2. Register the Oracle driver before before calling other JDBC APIs.
    (This is not needed if you are using the JDBC Server-side Internal
    Driver because registration is done automatically in the server.)
    To register the Oracle driver, make sure the following statement
    is executed at least once in your Java session:
    DriverManager.registerDriver(
    new oracle.jdbc.driver.OracleDriver());
    3. Open a connection to the database with the getConnection call.
    Different connection URLs should be used for different JDBC
    drivers. The following examples demonstrate the different URLs.
    For the JDBC OCI8 Driver:
    Connection conn = DriverManager.getConnection(
    "jdbc:oracle:oci8:@<database>",
    "scott", "tiger");
    where <database> is either an entry in tnsnames.ora or a SQL*net
    name-value pair.
    For the JDBC Thin Driver, or Server-side Thin Driver:
    Connection conn = DriverManager.getConnection(
    "jdbc:oracle:thin:@<database>",
    "scott", "tiger");
    where <database> is either a string of the form
    <host>:<port>:<sid> or a SQL*net name-value pair.
    For the JDBC Server-side Internal Driver:
    Connection conn = DriverManager.getConnection(
    "jdbc:oracle:kprb:");
    Note that the trailing ':' character is necessary. When you use
    the Server-side Internal Driver, you always connect to the
    database you are executing in. You can also do this:
    Connection conn
    = new oracle.jdbc.driver.OracleDriver().defaultConnection();
    Java Stored Procedures
    Please note that examples for callins and instance methods using Oracle
    8 Object Types are provided in:
    [ORACLE_HOME]/javavm/demo/demo.zip
    Once unzipped, the directory containing the examples is:
    [ORACLE_HOME]/javavm/demo/examples/jsp
    Known Problems/Limitations In This Release
    The following is a list of known problems/limitations:
    1. There is a limitation regarding the use of stream input for LOB
    types. Stream input for LOB types can only be used for 8.1.7
    JDBC OCI driver connecting to an 8.1.7 Oracle server. The use of
    stream input for LOB types in all other configurations may result
    in data corruption. PreparedStatement stream input APIs include:
    setBinaryStream(), setAsciiStream(), setUnicodeStream(),
    setCharacterStream() and setObject().
    2. BUG-1018797
    Extra characters may be appended to the end of a CLOB value
    mistakenly under the following conditions:
    - setCharacterStream() is used to insert a CLOB value, and
    - The Oracle server uses multi-byte character set.
    (See 1 for limitation of stream input for LOB type.)
    3. Programs can fail to open 16 or more connections using our
    client-side drivers at any one time. This is not a limitation
    caused by the JDBC drivers. It is most likely that the limit of
    per-process file descriptors is exceeded. The solution is to
    increase the limit.
    4. The Server-side Internal Driver has the following limitation:
    - Data access for LONG and LONG RAW types is limited to 32K of
    data.
    - Inserts of Object Types (Oracle 8 Objects, Collections and
    References) will not work when the database compatibility mode
    is set to 8.0. This limitation does not apply when the
    compatibility mode is set to 8.1.
    - Statement.cancel() is not implemented.
    - In a chain of SQLExceptions, only the first one in the chain
    will have a getSQLState value.
    5. The JDBC OCI driver on an SSL connection hangs when the Java
    Virtual Machine is running in green threads mode. A work-around
    is to run the Java Virtual Machine in native threads mode.
    6. Date-time format, currency symbol and decimal symbols are always
    presented in American convention.
    7. When using OracleStatement.defineColumnType(), it is not necessary
    to define the column type to be the same as the column type
    declared in the database. If the types are different, the
    retrieved values are converted to the type specified in
    defineColumnType.
    Note: Most reasonable conversions work, but not all. If you find
    a conversion that you think is reasonable, but that does not wo rk,
    please submit a TAR to Oracle Support.
    8. The utility dbms_java.set_output or dbms_java.set_stream that is
    used for redirecting the System.out.println() in JSPs to stdout
    SHOULD NOT be used when JDBC tracing is turned on. This is
    because the current implementation of dbms_java.set_output and
    set_stream uses JDBC to write the output to stdout. The result
    would be an infinite loop.
    9. The JDBC OCI and Thin drivers do not read CHAR data via binary
    streams correctly. In other word, using getBinaryStream() to
    retrieve CHAR data may yield incorrect results. A work-around is
    to use either getCHAR() or getAsciiStream() instead. The other
    alternative is to use getUnicodeStream() although the method is
    deprecated.
    10. BUG-899078 (since 8.1.6 SDK):
    The JDBC Server-side Internal driver has extra space padding with
    PL/SQL CHAR OUT (2 to 3 space depending on character set).
    Problem occurs in most of the multibyte database character set
    except UTF8.
    11. There is a limitation for Triggers implemented in Java and Object
    Types. It only affects the IN argument types of triggers
    implemented using Java on the client-side. The restriction does
    not apply to JDBC programs running inside the server. Triggers
    implemented as Java methods cannot have IN arguments of Oracle 8
    Object or Collection type. This means the Java methods used to
    implement triggers cannot have arguments of the following types:
    - java.sql.Struct
    - java.sql.Array
    - oracle.sql.STRUCT
    - oracle.sql.ARRAY
    - oracle.jdbc2.Struct
    - oracle.jdbc2.Array
    - any class implementing oracle.jdbc2.SQLData or
    oracle.sql.CustomDatum
    12. The scrollable result set implementation has the following
    limitation:
    - setFetchDirection() on ScrollableResultSet is not supported.
    - refreshRow() on ScrollableResultSet does not support all
    combinations of sensitivity and concurrency. The following
    table depicts the supported combinations.
    Support Type Concurrency
    no TYPE_FORWARD_ONLY CONCUR_READ_ONLY
    no TYPE_FORWARD_ONLY CONCUR_UPDATABLE
    no TYPE_SCROLL_INSENSITIVE CONCUR_READ_ONLY
    yes TYPE_SCROLL_INSENSITIVE CONCUR_UPDATABLE
    yes TYPE_SCROLL_SENSITIVE CONCUR_READ_ONLY
    yes TYPE_SCROLL_SENSITIVE CONCUR_UPDATABLE
    13. BUG-1324918
    Repeatedly updating a clob with jdbc-oci, prepared statement,
    and setCharacterStream consumes the temporary tablespace. If
    you repeatedly update the clob, either the temp tablespace will
    continue to grow, or you may get a Exception in thread "main"
    java.sql.SQLException: ORA-01652: unable to extend segment if
    you have a limit on the tablespace size. The work-around is to
    use oracle.sql.CLOB::setCharacterOutputStream() instead.

  • No data in Usage and Standby?

    Hi,
    I have recently exchanged my white 16GB iphone at the local retail store, but have just noticed that since I exchanged it there does not seem to be any Usage figures in the general settings.
    By that I mean the "usage" and "standby" are blank, above the message "usage times will be shown after iphone is fully charged".
    To try and correct it, I reset the phone yesterday and it was on charge from 10pm last night to 7am this morning so I would have thought would be fully charged. (the battery meter appears to be fully charged)
    Is anyone else experiencing this problem or has any advice on how to correct it?
    Thanks for your help.

    When adding/creating an email account, the following presets are available.
    Exchange
    MobileMe
    Gmail
    Yahoo Mail
    AOL
    If you selected the Yahoo Mail account preset when adding/creating the account, the account was created as an IMAP account with Push access available for received messages along with an option to enable or disable Push access for the account.
    The data required to connect with the incoming mail server for an email account to check the incoming mail server for new messages is minute. More battery will be used the more often an account is checked for new messages, but this alone is not a significant battery drain and especially with a single email account. All server stored mailboxes with an IMAP account are not synchronized with the server when the account is checked for new messages. For example, the account's server stored Sent mailbox is not synchronized with the server until the account's Sent mailbox is selected.
    Push is not a constant fetch process. With an account that supports Push access for received messages, a new message received at the incoming mail server is "pushed" to the iPhone without the account having to be checked for new messages. In theory, Push access should use less battery compared to automatically checking the account for new messages, which isn't always the case and this also depends on the time interval set for automatically checking for new messages. You can have the account automatically checked for new messages every hour.
    Depending on how much data is accessed compared to the number and length of phone calls when roaming internationally, data access can be much more expensive.

  • Data usage and battery drain has skyrocketed with iOS 8.1.2 (maybe earlier)

    3 weeks ago my wife got a text message on her iPhone 5 from AT&T that she had used 90% of her data for the month.  30 seconds later, she got another one saying that she had used 100%.  Granted, her data plan is small, 200 MB.  But, for the last two years she has used as little as 17 MB in a month and her largest prior to this latest month was 49 mb.  This month she got to 380 mb before we were able to shut off her cell data.  Otherwise, a second chunk of 200 MB and another $15 would have been added to the month.
    We had noticed that her battery had been draining rather rapidly in standby mode with no background apps running when she didn't have access to WiFi.  We have now correlated the two results, High Cell data usage, Quick battery drain and very warm phone.  In case anyone is wondering about her iPhone 5 being one in the recall, it is.  I took it in and had it tested.  Apple says the battery is fine.  It does hold a charge well.  When all network communications are shut down on her phone and it is in standby mode, there is no noticeable loss of charge in 24 hours (our longest test).
    Since I have a grandfathered Unlimited Data Plan with AT&T, I have been doing some testing on my iPhone 5s.  Sure enough, I've seen similar results.  With nearly everything turned off except Cell Data, I've seen 483 MB used in 24 hours.  Of that total, 479 MB was used for Documents & Sync.  I even have everything turned off in my iCloud account, Location services are turned off, no push notifications etc...
    The best I can figure, this has been a problem since we installed 8.1.2 and yesterday I installed 8.1.3 resulting in no positive effect on this issue.
    At this rate of data usage and no access to WiFi, my wife would have to have a 15 Gb data plan to keep from exceeding her limit.  I don't think AT&T even offers one that big anymore.  I might have to switch to Sprint or T-Mobile if this doesn't get resolved.
    Any ideas would be greatly appreciated.  Thanks in advance for your shared insights.

    Hey this is Brian, bjmcmurry, under a different user ID.  If I logged in as bmcmurry, original post, I was just getting a server error and couldn't get to this discussion nor post a comment anywhere.
    Anyway, let me be as brief as I can.  After an extensive analysis of replicating the problem on another phone to eliminate it being a hardware specific issue and that the test phone has an unlimited data plan, I was able to stop the excessive data usage and consequential battery drain.  I believe I have a reasonable explanation of the problem, an iOS logic bug.
    I had everything under my control clamped down on the test phone to minimize data usage.  Also, I was forcing all data usage to use the cell towers.  I determined that I was burning at least 11 to 13 Mb per hour doing nothing important.  I literally had everything turned off except 'Settings' was allowed to use Cell data providing a avenue to log into the Apple ID. 
    The two phones had 2 things in common, they were using the same Apple ID and the same version of the OS.  One was a iPhone 5 and the other was a 5s.
    Here is a synopsis of my experience via my written evaluation of the Apple support system (Apple Rep name's have been removed):
    After a couple of hours on the phone with an Apple Care Senior support Analyst, it was suggested that I go to the Apple Store to 1) get my battery replace in the iPhone 5 since it qualified for the replacement program and 2) see if the Genius could provide me with any insight in the data usage issue and battery drain.
    I'm certainly glad I had multiple reasons to visit the closest Apple store, a 45 min drive.  I got the battery replaced, thanks for that. 
    Regarding the important issue to me that brought me to the Genius Bar, excessive Cell data usage, I thought the Genius did a wonderful job listening and documenting the problem we were experiencing.  Unfortunately, educating us on the use of the product or replacing our phone was not going to solve the problem.  He eventually figured it out, this was not a user error or broken hardware.  We surmised that the reason I was sent to him was to verify and document that there was a problem.  I clearly had a problem.  After writing copious notes on the issue, The Genius smartly referred me back the the AppleCare Senior Advisor.  So, back to AppleCare Senior Analyst I went. She, knowing this was not a simple problem to solve i.e. beyond her level of expertise, got an Apple Software engineer involved.
    My primary frustration is that this should have been escalated to software engineering right away.  My trip to see the Genius was, I believe, a waste of time for both me and Apple regarding this issue.  Diagnosis of this type of problem is well beyond the Genius’ knowledge and job.  The Genius did a very good job doing what he could within the scope of his job.  He just couldn’t solve this problem and had no one within Apple to which he had access for help.
    However, that initial consult with the engineer was a bit feeble.  Not only could I not talk to him/her directly, his/her focus was still working with the ‘Black Box' approach.  Having Analyst ask me to do stuff like restore the Phone was more like trying to find a 'work around' than 'identifying the real problem.'  Maybe restoring the phone was going to fix some corrupted data on the phone sidesteping the real problem, the handling of this condition.  The engineer did listen to the fact that I had restored the test phone, the 5s, and only added the use of my Apple ID.  Duh, been there!!!
    Having been an previous owner of a software development company that I started in 1980 and retired in 2001, I can tell you that using the 'Black Box' method of debugging is extremely inefficient.  Instead, having access to an ‘Activity Manager’ type app to identify in real time what process was blowing up the data flow would have saved me a lost afternoon at the Apple store and hours on the phone with tech support.
    Ironically, I may have stumbled onto a "work around" solution short of turning off Cell Data that stopped the excessive Cell Data usage and consequential battery drain.  Just prior to leaving the Apple Store, I used one of their Macs to log in my Apple ID on the id.apple.com website to ‘Manage my Apple ID’, I was forced to upgrade the security level of my password.  Afterward, my cell data usage seemed to drop dramatically.
    I told the AppleCare Senior Analyst that I may have stumbled onto a workaround and I suggested that I give it a couple of days of monitoring.  We'd talk then and I would have results to report.  She agreed. 
    Sure enough, my Document & Sync usage was back to normal, about 1/2 Mb per day.  Am I happy that the excessive Cell Data usage has stopped?  You bet!  But, there was no intuitive reason that an end user would know to log in on the ID website to unknowingly solve this problem.  As I use to say to my employees, that is not the ‘Macintosh Way.’  And, rebooting the the 'Microsoft Way.'
    When I reported my findings to the Analyst, we both concluded that data usage was back to normal.  She did report to me that the engineer did provide a laundry list of suggested activities to help solve the problem.  Remarkably, they were everything that I had already done and were pretty much what the Analyst and the Genius tried to do.  All reasonable tasks.  But clearly, the engineer hadn't even ready the notes on the case before responding.  And, none of the things suggested would have uncovered the real problem, likely a logic bug in iOS.
    My advice now is to have the software engineering team rule out that there was an unresolvable state that a background process was fiercely trying to handle.  The iOS does not seem to know how to intervene and prompt the user with a requirement to upgrade their password.  If this does end up being the case, I would call it a logic bug, a perpetual exception that is not being handled properly.
    Anyway, I hope this helps you.

  • How do I report a major memory leak problem with Firefox 3.6.10 in WinXP?

    After I installed Firefox 3.6.9 on a WinXP desktop, I occasionally had minor memory leak problems, reflected by getting "out of virtual memory" messages. I upgraded to 3.6.10 when notified that it was available and that it supposedly fixed stability problems. Ever since then, whenever I use Firefox, it starts out quick as a flash, but very rapidly slows down to a crawl, and has twice brought my system to a halt. IE does not cause this, nor any other program I use, but the execution speed of all programs slows as badly as Firefox. If I knew where to get older versions, I would back up to 3.6.9 or earlier. The situation now prevents me from using Firefox much at all.

    Im running windows 7, Firefox 3.6.10 and before i updated to 3.6.10 my CPU never went above 10% with Firefox open. Now it can spike well above 50% and i have nothing different from when i had 3.6.9 to now when i have 3.6.10.
    There is no evidence for me to suggest one of the additions i have is causing it, its all pointing to Firefox itself and the last update.

Maybe you are looking for