Dr.Watson problems solved.

DR.WATSON PROBLEMS SOLVED:
System:
WLS 5.1 with SP11 running on NT4 Using OCI817_8.
Oracle 7.3.4 running on NT4.
Problems:
Dr.Watson exceptions in native code...
# An EXCEPTION_ACCESS_VIOLATION exception has been detected in native code outside
the VM.
# Program counter=0x60239689
When asking BEA and Oracle:
"Use the latest OCI available. It is backward compatible !"
What have been done to solve the problem:
Going through all SQL code (and doing some rewriting), configuring connection
pools (TestOnReserve / TestOnRelease, refresh, etc) and several other configurations...
At last, we tried to change to the OCI version matching the Oracla versions we
were connecting to (from OCI817_8 to OCI734_7).
Voila ! NO MORE DR.WATSON EXCEPTIONS !
Our conclusion:
If possible, use the OCI version that matches the Oracle version you are running
on.

Hi Abhijit
Couple of pointers which could resolve the issue:
1. Since you are using the JDBC-ODBC bridge what occurs internally is that your JDBC API through the Virtual Machine make calls into the ODBC API on your Windows system. So the Watson error that you are getting is probably an illegal access by one of the methods in the ODBC API - this is for the Diagnosis part.
2. The Solution part -
a. Should I change my JDBC-ODBC driver? Not necessarily because the problems could be with the ODBC interface implementation and changing the driver might not help.
b. Should I change my programming style? This is one thing which could really help. The problem with creating connections each time is that it takes a lot of resources to do it, So there is a performance degradation. What you could do inyour code is use a Java Bean to create the required Connection. You can also think of using a prepared statement appropriately encapsulate it since you are invoking a particular query repeatedly. In your JSP page you can retrive(create) this bean through the jsp:useBean tag with the session as the scope attribute. The <jsp:setProperty methods could also be used to set the DSN name and the driver.
Once this bean is successfully created you have an open connection.
Now for the part you have pasted - replace the create connections with getting a new Statement object which would hold your Query. At the end of the JSP just close the Statement object.
Once you are done updating the page you may transfer the control to a different JSP - Let that transfer trigger the connection close in the Java bean.
This should solve the Dr.Watson problem.
Good Luck!
Eshwar Rao
Developer Technical Support
Sun microsystems inc
http://www.sun.com/developers/support

Similar Messages

  • I can not write in Hebrew And create effects It shows all distorted  When This problem solved?

    I can not write in Hebrew
    And create effects
    It shows all distorted
    When This problem solved?

    roeisarusi wrote:
    When This problem solved?
    Nobody knows.  iWorks apps have always had bugs that make them unsuitable for Hebrew/Arabic for most people.  Tell Apple here:
    http://www.apple.com/feedback/keynote.html

  • How to problem solve adf issue in the mx340 model

    how to problem solve adf issue in the mx340 model

    Alex,
    the missing thing in your example is the fact, that if only one value is selected, the parameter has exact this value like BOSTON. If you choose more than one value, the parameter includes the *'*, so that it looks like *'BOSTON','NEW YORK'*. So you need to check in the package, if there's a *,* in the parameter or not. If yes there's more than one value, if not it's only one value or it's null.
    So change your package to (you need to expand your variables)
    create or replace package bip_departments_2_parameters
    as
    p_dep_2_param varchar2(1000);
    p_loc_1_param varchar2(1000);
    p_where_clause varchar2(1000);
    function beforereporttrigger
    return boolean;
    end bip_departments_2_parameters;
    create or replace package body bip_departments_2_parameters
    as
    function beforereporttrigger
    return boolean
    is
    l_return boolean := true;
    begin
    p_where_clause := ' ';
    if p_dep_2_param is not null then
    if instr(p_dep_2_param,',')>0 then
    p_where_clause := 'WHERE DNAME in ('||p_dep_2_param||')';
    else
    p_where_clause := 'WHERE DNAME = '''||p_dep_2_param||'''';
    end if;
    if p_loc_1_param is not null then
    if instr(p_loc_1_param,',')>0 then
    p_where_clause := p_where_clause || ' AND LOC IN ('||p_loc_1_param||')';
    else
    p_where_clause := p_where_clause || ' AND LOC = '''||p_loc_1_param||'''';
    end if;
    end if;
    else
    if p_loc_1_param is not null then
    if instr(p_loc_1_param,',')>0 then
    p_where_clause := p_where_clause || 'WHERE LOC in ('||p_loc_1_param||')';
    else
    p_where_clause := p_where_clause || 'WHERE LOC = '''||p_loc_1_param||'''';
    end if;
    end if;
    end if;
    return (l_return);
    end beforereporttrigger;
    end bip_departments_2_parameters;
    I've written a similar example at http://www.oracle.com/global/de/community/bip/tipps/Dynamische_Queries/index.html ... but it's in german.
    Regards
    Rainer

  • WiFi connection problem solved

    My intel iMac and MBA had no problem but iPods 3g and 5g did.  I had an old Netgear router connected and sitting next to my Airport Express.  On a hunch I diconnected the Netgear and created a guest network to replace the one on the Netgear.  PROBLEM SOLVED! 
    Evidently our iPods and boarder's iPhone had problems sorting out the signals and finding the right addresses.  Moving the AE to a higher and slightly more central position also helped.
    Jim

    Same here on a Vodafone PocketWiFi 2.
    Tried NetworkManager, wicd, wifi-menu but all have the same issue.
    I recently installed Aptosid on another machine and it has the same problem... It also has kernel version 3.9.
    All the live CDs I've tried work, even an Arch CD from May works, though a current install does not.
    I have no problems connecting to another (wpa2 enterprise) network yet can't on this 3G modem.
    I'm hoping this isn't a permanent issue and perhaps an update very soon will fix this.
    It seems the only way to fix this for now is to use an old version of Linux. I'm currently running a virtual machine only for the purpose of Internet sharing, very annoying.

  • Bug fix for Mac book wireless - problem solved!

    Aparantly there is a rather large number of folks out there who've discovered this dillema with wireless not working very well at this point on the Macbook.
    Well, I can attest there is one very good solution out there for this issue. This application called Sonar Theater from www.sunray.tv includes a bug fix for the wireless connection issues with Macbook in their latest 1.5 release of Sonar Theater.
    I downloaded it, put it into my start up folder and waalaa! problem solved. I've haven't any more issues with dropped wireless since - it's been running constantly for over 2 weeks now.
    I haven't even attempted to touch my router configuration - don't need to.

    Welcome to the better life of Macs. I am using Sonar Theater too and it's been working very well for me. In fact, I'm getting hooked on just texting a message to my Mac book to fire up user sessions now. I think if you give the Mac Book some time however, you'll find that there really is no comparison to PC's. Your life overall is going to just keep getting better as you dig in to the resources available to new Mac users.
    I'm sure it seems confusing to PC users at first, but here's how to set up any application as part of your startup sequence. It really is extremely easy and simple compared to the PC world. Oh and by the way, in reality, Mac users refer to this as your login sequence. So, at login time, you can do a multitude of different things for each user account you might want to set up. Naturally, you can choose to share or not share applications and data between these user accounts on your Mac too....
    Mac OS X 10.3 or later
    1. Log in as the user who wishes to have a login item or as an admin user.
    2. Choose System Preferences from the Apple menu.
    3. Choose Accounts from the View menu.
    4. Click the name of the user.
    5. Click the Startup Items button
    6. Click the "Add {+}" button.
    The item you selected will automatically open the next time you log in.
    there are several ways to get good info from the apple community on tips and tricks as well. you should just try the apple os x web site...here,
    http://www.apple.com/macosx/resources/
    happy mac-ing!

  • Mediawiki, mysql, php? problems [SOLVED]

    On Sunday my Arch install that is hosted by Slicehost became unresponsive to them so they had to do an emergency reboot. After it came back up my install of mediawiki was (and still is) only returning a blank page (at least in Firefox). After some digging I found out that part of the problem was that mysqld wasn't starting so I managed to get that fixed by commenting out the lines relating to innodb and putting in skip-innodb into my.cnf. But I'm still getting a blank page.
    According to Mediawiki's manual, "A blank white page indicates a PHP error which isn't being printed to the screen." They give two lines to put into LocalSettings.php to force error messages but after doing that I'm still getting a blank page. Changing display_errors in php.ini to ON didn't have any effect.  When I load the wiki in Safari I get the following error: "Got java.io.EOFException (Server closed connection while sending the HTTP header.): http://some_url.com/mediawiki/index.php/Main_Page". I have no idea what this error means and googling java.io.EOFException doesn't bring up anything very helpful. My PHP Test Page indicates that PHP is up and running.
    Any ideas on fixes or where I can find more clues?
    [EDIT]
    Mysql was definitely the root of the problems with Mediawiki. I tried nearly every suggestion listed in the forums for fixing a mysql install that wouldn't start but nothing worked. I even completely uninstalled mysql and reinstalled it but it still refused to start. I switched over to postgresql and switched mediawiki to run with that. Problem solved.
    Last edited by k_odoma (2009-05-23 01:48:35)

    There are some other things that must be done to connect to
    the database
    (such as passing the usernamee, password, and host info to
    mysql_connect()
    and storing the connection resource), and those might be in
    the include
    files. I generally place all of the connection parameters in
    a separate file
    that is located in a folder that can't be accessed by a
    browser, for
    security purposes.
    Paul Swanson
    Portland, Oregon, USA
    "Amy Blankenship *AdobeCommunityExpert*"
    <[email protected]>
    wrote in message news:edk6ui$69c$[email protected]..
    > What's in the include(s)?
    >
    > "83Dons" <[email protected]> wrote in
    message
    > news:edk5s5$4uk$[email protected]..
    > > Here is the php code for the 'read' and 'write'
    parts:
    > >
    > >
    > >
    > > <?php
    > > include '......';
    > > mysql_select_db('clinskills') or die("UNABLE TO
    CONNECT TO
    DATABASE");
    > > $sql = "select A1Answer from authorware where id =
    '13'";
    > > $result = mysql_query($sql);
    > > $answer1 = mysql_result($result,0,"A1Answer");
    > > print $answer1;
    > > ?>
    > >
    > > <?php
    > > include '............';
    > > mysql_select_db('clinskills') or die("UNABLE TO
    CONNECT TO
    DATABASE");
    > > $newdata = $_GET['data'];
    > > mysql_query("insert into authorware (A1Answer)
    values('$newdata')")
    or
    > > die(mysql_error());
    > > mysql_close(); ?>
    > >
    >
    >

  • Acrobat printing problems (solved)

    Hi Folk
    I'm getting on well with Arch apart from one problem, I can not print from Acrobat reader, it accepts the command and does precisely nothing, the jobs are appearing in cups but not being printed, I can print from Open Office and test print from cups but no cooperation with acrobat,  anyone have any ideas? thanks
    Pete
    Last edited by pete051 (2009-09-29 19:14:12)

    I don't know what DE are you using. In my case, I use xfce and when acroread starts with his stupidity I just change the print command to 'xfprint'. That forces acroread to redirect the print job to xfce's printing frontend, and problem solved.
    Now, if you're using kde, I guess there is something named 'kdeprint', 'kprint' or similar. For gnome, I've no idea.
    I hope this helps.
    p.s. Sometimes, cups takes his time to print. When its taking too long I purge cups' temp files and restart the daemon.
    Last edited by kjon (2009-09-25 00:32:23)

  • Stuck with grub problem (SOLVED)

    Today i tried to upgrade my Arch Linux, it downloaded everything that should be downloaded, it was installing upgrades but at the installing grub it stucks as like this
    "Copying /boot/grub/grub.cfg.pacsave to /boot/grub/grub.cfg"
    I've waited it for about 15 minutes, it didn't move on. So i did ctrl+z to break. Then i tried to update again. But it gives an error which is:
    error: failed to commit transaction (conflicting files)
    python: /usr/bin/2to3 exists in filesystem
    Error occured, no packages were upgraded.
    Please help me guys!
    Last edited by bilgee0629 (2011-03-21 10:36:28)

    Problem solved by moving 2to3 to other directory.

  • Am I able to find my iTunes serial number? I need it for the problem solving as my problem is solely bad on my iTunes.

    For the Apple problem solving section I need a serial number, my issue is that my problem regards missing contents within my iTunes. Do I have an iTunes serial number? And if so, where can I locate it? If there is not a serial number for iTunes, advice on what to do next is much appreciated.

    iTunes has no serial number. If you are trying to get to Apple phone support, that is linked to the purchase of Apple hardware, so you need to enter in the serial number of an Apple device. Otherwise, for assistance with problems with iTunes itself you would need to call Apple Support and they would almost certainly charge for the call. I would instead suggest you post the issue you're trying to address here in detail. Someone here can probably offer suggestions.
    If your issue is with the iTunes Store, not the iTunes application, go here:
    http://www.apple.com/support/itunes/contact/
    and follow the instructions to report your issue to the iTunes Store.
    Regards.

  • Aperture to export photos either TIFF or JPEG files, highlight and shadow transition has obvious faults, this problem solved!?

    Aperture to export photos either TIFF or JPEG files, highlight and shadow transition has obvious faults, this problem solved!?

    What problem?
    You will have to be _a lot_ more specific if you'd like responsible feedback.
    I export thousands of TIFF and JPG files a week with no obvious faults.
    (Sent from my magic glass.) 

  • HOTSYNC PROBLEM SOLVED -between Palm TX using desktop version 6.2 & Windows 7 64 bit

    I to struggled with performing hotsynch between my Palm TX and my new Windows 7 64 bit computer.  After 2.5 hours of palm tech support on my pc they gave up and deemed the task not solvable.  I spent hours trying various options-nothing worked until this.
    I performed a google search for Toshiba bluetooth x64 drivers.  This took me to the following link:
    http://aps2.toshiba-tro.de/Bluetooth/?page=download
    I downloaded PC Bluetooth Stack version 7.00.10 for Windows 7 x 64.  After downloading this suddenly the palm syncing software on my pc gave me the option to connect via bluetooth and I was on my way.  My bluetooth dongle (cirago BTA-3210) was not a toshiba, but did use the toshiba driver stack.  The driver that came with the bluetooth was not up to date- even though it was just purchased at newegg.  The driver update that my pc found was also not 64 bit compatible.  The only fix was to download the driver from Europe- hooray!!!!!  PROBLEM SOLVED
    Post relates to: Palm TX
    Post relates to: Palm TX

    Thanks for reporting your success! 
    WyreNut
    I am a Volunteer here, not employed by HP.
    You too can become an HP Expert! Details HERE!
    If my post has helped you, click the Kudos Thumbs up!
    If it solved your issue, Click the "Accept as Solution" button so others can benefit from the question you asked!

  • PROBLEM SOLVED--CS5 WIN7 X64 INSTALL ERROR DEPENDENCY FAILURE

    PROBLEM SOLVED!!!!!!!!!!!!
    I just spent 9  hours straight on this, but will was stronger than "its". Now I have  both cs4 and cs5, but hopefully it will work if you just have cs5 as  well. I also did not try runnning cs5 installer first after implementing  the fix, maybe that will work too..And when getting the cs5 error, I  went to re-install cs4 but got an error as well so that is why I took  the steps I did. On 7x64 do the followin
    First  run the cs5 cleanup tool and reboot.
    Second,  go into c:\program file(x86)\common files\adobe\installers . Delete  everything in it
    Then go into you registry  (start, run, then type regedit) and expand to this registry key:  HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\ Components  ...(if this isnt there, try an install again, then go to the folder  that you deleted the files from a moment ago and extract the log from  the zip file and open it and go to the end. where it says error 1402  will be followed by a unknown\components\(a bunch of numebers right  here)\(more numbers)  ...
    Copy the numbers  directly after the components\ and go back into registry and click edit  then "find" paste those numbers into the box and hit find..when you get  to the key, scroll ALL the way back up to components again. Right click  components and hit permissions.. Go to advanced and then the ownership  tab up top.. click edit, hightlight administrator(s), check the box to  "replace subcontainers" and click apply. respond yes to everything and  close that and hit apply again if asked. then click the add button above  the advanced button you just clicked. when the new box appears, click  advanced and then click find now. Highlight Administrators and SYSTEM  and hit OK. Then give both of them full rights and hit apply. Then click  advanced again and in the first window check the box that says "replace  all child objects...." and hit apply. accept the prompts and hit okay.
    Now  go into c:\windows and on the system32 folder, right click and go to  properties. Go to the security tab. Click advanced and then "owner" and  click edit. highlght administrators and check the box "replace all child  object....." again and hit apply.... 
    Now give  Administrators, SYSTEM, AND TrustedInstaller full rights by clicking  edit above the advanced tab in the first properties box.. Then click  advanced again and in the first window click replace all child  object....." again and hit apply.... 
    Now  do the same for the winsxs folder and (for good measure i did syswow64  but not sure if its necessary)... 
    Now you should  be able to install both versions..(as i said, I installed cs4 first,  maybe it was not necessary)... 
    If you dont  like the idea of just blindly giving administrators full rights to all  system folders, you can spend MANY MANY hours running the installs over  and over and getting the faulty registry value that caused it to fail  and create specific permissions for that and then go on to the next  value that fails......what a pain 
    Message was edited  by: DarkMatter78

    Thank you for this.
    I have been trying to install CS5 MC now for weeks. I first got it to install everything except After Effects and Premiere Pro. Then trying to follow all the suggestions on this forum I wound up not being able to install any part of it at all. Now..
    Well...following your kind suggestions as much to the letter as I could I have now been able to install everything...except Affter Effects and Premiere Pro. Sigh.
    At least I can get back to work on everything that doesn't require AE and PPro.  I still need to get them installed and working.

  • Problem solving expertise appreciated. What does a MacPro do in its initial booting phase?

    My MacPro 3.1 (2008) with 20 Gb Ram does no longer want to boot. I checked the harddrive (startup disc), it is OK (my MacBook) boots from it. I checked the ram, it appears to be OK. When I push the power button the fan begins to work, red lights appear shortly on the RAM circuit boards and they go out again but then nothing happens. Monitor does not wake up, there is no start up chime, machine appear unresposive to any keyboard commands.
    Anyone can tell what may be wrong, what the cause is why the MacPro does no longer want to boot and what could possibly be done about it?
    So some Problem solving expertise and advice is higlhly appreciated. I really like to know what exactly does a MacPro do in its initial booting phase? Information that could bring life b to my well respected grand-old lady.

    Conventional wisdom is that you get nowhere until you get the chime.
    For that reason, the approved method is to remove everything that could possible be dragging down power and test the absolute minimum configuration, hoping to get the chime. Once it chimes, you slowly build it back up. adding one part at a time until you find something faulty or it "comes clean".
    Disconnect AC power and remove:
    graphics card
    All other PCIe cards
    All Hard drives
    All Optical drives
    All RAM -- then check for the power light blinking
    next step is to restore one pair of DIMMs and try for the chime.
    Then more DIMMs
    Then graphics card, etc.

  • Cannot open PDF in Firefox- Problem Solved

    Hello,
    I cannot open or download PDFs in Firefox. Word Documents and Powerpoints are fine.
    I had the Firefox issue where I photos were saving as Preview Documents and I tried to fix that.
    Now I cannot open or download PDFs.
    Please help. Thank you.
    Problem Solved!

    anything here ?
    I cannot open pdf files on the internet...(firefox)

  • Everyones Oracle Linux Problem solved!!!

    Everyones Oracle Linux Problem solved!!!
    Here's something Linux people should relate to: Use what works!
    what works?
    NT works! NT works great with 8i AND OAS.
    No hassles at all!
    Up and running within one day!!!!
    Guaranteed!
    U don't see a NT forum here with people having ridiculous install problems like Linux people?
    Perhaps Oracle should moderate this newsgroup and even give an authorative answer or two?
    null

    I have switched our development and soon production databases to Linux because it runs like a charm. Fast and efficient, no problems. The installer has been a problem no doubt because Oracle put less of an emphasis on debugging their Linux installer than their idiot-proof NT installer.
    By the way, I was able to circumvent installer problems by just linking svrmgrl to svrmgrlO; this avoided the dreaded segmentation fault and kicked everything open just fine.
    BTW, about NT; what makes an OS is not how well everything works when everything is going well, but how bad it gets when something goes bad. For instance, the segmentation faults on Linux weren't a problem because I just picked up and continued; on NT you'd have to restart the whole system...not a pleasant feature.
    null

Maybe you are looking for

  • IPhoto 6 RAW help!

    What's going on with my files? I save edited RAW files in Photoshop back to iPhoto, but it's not there when I go into iPhoto, only the original shows up. The file is there inside the very convuluded folder though. Older versions would read the edited

  • Interest charges should be calculated on the original invoice value

    Interest should be charged monthly . Invoice issued to customer stating 'interest for late payment of invoicesu2026'. Subsequent interest charges should be calculated on the original invoice value

  • Freezing in import dialog when selecting "Import Preset" FIXED IN LR3.2

    Hi all, I have just installed Lightroom 3 and Photoshop CS5 on my Vista Ultimate 32-bit system. When in the import dialog if i change any settings and click "Save Current Settings as Import Preset", Lightroom 3 freezes and after a minute displays the

  • Windows 7 No sound after resume from sleep p-105

    Toshiba p- 105 s6227:  No sound after computer wakes from sleep. If I do a complete reboot it works again.  I had a similar problem with Vista and ended up not using the HD drivers.  The AC'97 drivers worked fine. NOW: I've upgraded to WIndows 7 64-b

  • Can my computer handle OS X 8?

    Hi, I recently discovered that I need to upgrade  Aperture to support images for a new camera I bought.  That also requires an upgrade in the OS.  I currently run 10.6.8. My system is iMac 27", Intel Core Duo, 3.06hz, currently with 12GB of ram (of a