I get error message each time I try to retrieve image (BLOB) from Oracle

Can anyone help me?
I am working with Servlet and JDBC with Oracle database. I can insert an image (GIF file) in a Oracle
table in a BLOB field. But everytime I want to retrieve it
I got an error "AbstractMethodError". My retrieve program (only the main part) is as below:
String dbURL="jdbc:oracle:thin:@200.200.100.2:1521:tvm";
String db_username="PROJ1"; String db_password="PROJ1";
try{
Class.forName("oracle.jdbc.driver.OracleDriver");
}catch(ClassNotFoundException e1){ }
try{
Connection c=DriverManager.getConnection(dbURL,db_username,db_password);
// Retrieving image file from database
RandomAccessFile raf=new RandomAccessFile("//Davison/jakarta/webapps/examples/images/a10.gif","rw");
PreparedStatement pstmt2=c.prepareStatement("Select fname,photo From testtable1 where fname=?");
pstmt2.setString(1,"rere100");
ResultSet rs=pstmt2.executeQuery();
while(rs.next()){
Blob blobImage=rs.getBlob("photo");
int length=(int)blobImage.length();
byte[] blobArray=blobImage.getBytes1,length);
raf.write(blobArray);
raf.close();
Please help me soon, my email is: [email protected]
Bye , Rea

Probably a bit late, but I just got the same problem.
Oracle seems to instantiate a class which is not fully defined-
oracle.sql.BLOB. This class has abstract methods, and is therefore
an abstract class.
In short, Oracle are stupid fools. How they managed to instantiate
an abstract class in the first place should be of concern to the
Java gurus, however. Native code in the OCI driver perhaps?
If you still need help, you could try uning the Thin driver- or
a database with a JDBC driver which actually meets the spec. There
are third party Oracle drivers which might fit the bill- they
usually cost money, however.

Similar Messages

  • Trying to install iOS 7.0.4. get error message each time

    get error message each time i try to install new update

    If you are trying to update via wifi, don't.
    Turn wifi off and connect to computer, update with iTunes.  This will allow you to create a full backup to computer first, which is a VERY good idea.

  • Why do I get an error message each time I try to convert a doc?

    I just subscribed to Adobe Export PDF....each time I try to convert a PDF to WORD I get an error message.

    We don't know the error message.

  • I'm getting this error message each time I try to go to another webpage.. (Error message below)

    Each time I open up Firefox, I'll be able to go to my homepage, but as soon as I try to go to any other page, I get the message above.
    When I open up Safari, it doesn't happen. I'm able to go to any and all websites...
    Why does this happen on Firefox only??
    Please help..
    Jay Ortega
    [email protected]
    PS. Here is the error message I keep getting..
    XML Parsing Error: undefined entity
    Location: file:///Users/jayortega/Library/Application%20Support/Firefox/Profiles/cvkkzffg.default/extensions/[email protected]/chrome/content/netError.xhtml
    Line Number 527, Column 33:

    Disconnect it and restart your iMac and try again.

  • I just set up an Optus Cisco DPQ3925 wireless router to access higher speed internet I signed up for. I have a 4th gen airport extreme I want to put in another room and use as a wifi extender the wifi but I get an error message each time I try. Help?

    Hello all.
    I have just set up a new cisco DPQ3925 wireless router that Optus sent me to be able to access the higher speed internet I have signed up for.
    I have a 4th gen apple extreme that I want to use to extend the wifi but when I try to update the settings via the airport utility I get a message that says it cannot do so, and to check it is in range and the wifi is set up correctly. I'm not experienced with these things but I can't think what I have done wrong.
    Is anybody able to help me please.

    You cannot use the AE to extend wireless from a non apple router such as your cisco modem router.. they are not compatible..
    You need to tie to the two devices together either with ethernet or something like EOP adapters.. They are about $120 and you can price match in officeworks.

  • Getting an error message each time I try to upgrade to beta7, need help

    The message says "An error occurred while updating the application, try updating it again, if the problem persist contact the application author    Error #0
    I'm running windows 7., I also tried to uninstall the program and I got another error message "The feature you are trying to use is in a network resource that is unavailable
    I tried emailing you as well with the problems, please assist me with this.
    Thanks
    Not sure If I will buy this program if this is the type of support I can expect, I've been trying to resolve this problem for almost 30 days, and now I'm locked out of the program.
    Can someone direct me to where I can find the answers, I need?

    Connect the device to your computer. Open iTunes. Select your device in iTunes, then click on the Summary tab or sidebar entry. Click on the Update button.

  • TS3694 Attempted to update to ios7 on my 16gb iphone 4 - crashed the phone, now telling me to restore using i-tunes, i get an error message each time i try? Any help would be appreciated.

    Hello,
    I attempted to install ios7 and my iphone 4, has gone into hibernation, telling me to connect to itunes - i have tried this, but to no avail, when ive attempted to restore it has constantly given an error message - iphone server cannot be reached? - any ideas / suggestions or help would be appreciated.

    - disable security software
    - make sure itunes is up to date

  • "general installation error" message each time I try and install Flashplayer 13

    I cannot install the latest version of flashplayer. during the installation I keep getting a "general installation error" message.
    I have un-installed my old version of flashplayer and followed all the trouble shootong tips but to no avail.
    My system is a macintosh, operating with 10.8.5. Any help would be gratefully received......

    It should be 13.0.0.206.
    Download the following:
    Flash Player Plug-in (All other browsers) or http://download.macromedia.com/get/flashplayer/current/licensing/win/i nstall_flash_player_13_plugin.msi
    Flash Player Uninstaller
    Also, download these:
    Shockwave Player Uninstaller
    Shockwave Player 112 FULL installer (Other browsers)
    Save all the files and close your browser.
    Run the uninstallers first (both of them)
    Go to: C/Windows/System32
    Delete the Macromed folder.
    Go to: C/Windows/SysWOW64
    Delete the Macromed folder.
    Open your Registry Editor (Start>Run or press the Windows key + R and type 'regedit' [minus the quotes] and click OK)
    In the Registry Editor, go to:
    HKEY_LOCAL_MACHINE/SOFTWARE
    Delete the Macromedia folder (Right click and choose "Delete").
    Go to:
    HKEY_CURRENT_USER/Software and delete the Macromedia folder there too.
    Close the Registry Editor and empty your recycle bin.
    Run the Flash Player installer, and then the Shockwave FULL installer you downloaded.

  • Firefox.exe has encountered a problem and needs to close. We are sorry for the inconvenience. I have been using firefox for years. I installed the latest version of Firefox. It worked fine for several days. Now I get the above message each time I try to s

    firefox.exe has encountered a problem and needs to close. We are sorry for the inconvenience.
    I have been using firefox for years. I installed the latest version of Firefox. It worked fine for several days. Now I get the above message each time I try to start Firefox, even in safe mode. i have checked with latest antivirus softwere also.. i didn't find any thing suspicious.
    == This happened ==
    Every time Firefox opened
    == after loading firefox 3.6.6 ==
    == User Agent ==
    Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.99 Safari/533.4

    I was having this problem few days ago,and I have fixed.Try this steps-If you have AVG antivirus so go on firefox>Tools>Add On and Disable AVG safe search and AVG tool bars too.Then restart computer.

  • TS1369 since downloading updates for itunes I get MSVCR80.dll error message every time I try to access itunes?

    Since downloading updates for itunes I get MSVCR80.dll error message every time I try to start i-tunes. can anybody help please.

    Hello aristilus2,
    Thank you for the details of the issue you are experiencing with iTunes.  I suggest removing and reinstalling iTunes for the issue you described.  The following article has steps to do this, and I recommend removing iTunes and all related componenets as outlined in the article:
    Removing and reinstalling iTunes and other software components for Windows Vista, Windows 7, or Windows 8
    http://support.apple.com/kb/HT1923
    Thank you for using Apple Support Communities.
    Best,
    Sheila M.

  • I deleted my microsoft office:mac 2011 word from my toolbar. I have Mac OS X version 10.6.8.  I tried to reinstall but it won't work. I get an error message each time. Please help!!!!!!!!!!!!!!

    I deleted my microsoft office:mac 2011 word from my toolbar. I have Mac OS X version 10.6.8.  I tried to reinstall but it won't work. This has never happened before.  I get an error message each time. Please help!!!!!!!!!!!!!!  I don't have time machine. 

    By Toolbar, do you mean the Dock?  The Translucent bar normally at the bottom of the screen, but sometimes at the right or left side?
    If that's what you mean, the Dock is merely a shortcut to what is already inside the Applications folder's Microsoft Office 2011 folder.  If you have Word inside your Microsoft Office 2011 folder, you can drag it back to the Dock.
    If you deleted the Microsoft Office folder, or it is empty, you'll have to reinstall it. 
    If you don't have your registration code, you'll have to call Microsoft for a new one.

  • HT1645 whether i use a DL DVD or just a DVD R, it tells me there was an error during multiplexing.  I have tried changing every setting, best performance, professional quality, etc. and still get the same error message every time i try to burn to dvd.

    whether i use a DL DVD or just a DVD R, it tells me there was an error during multiplexing.  I have tried changing every setting, best performance, professional quality, etc. and still get the same error message every time i try to burn to dvd.

    Welcome to the forums.
    Looks like that error message does refer to encoding (see http://support.apple.com/kb/HT1645) but a problem could be that your video has to be reloaded into iDVD if you started the encoding process and then switched settings.  You could start a new iDVD project, or try deleting encoded assets.
    Let's start from the beginning -- what length of video are you trying to fit on the DVD? (this will indicate what encoding options you have).  Double layer DVDs can be finicky and are used for video more than 2 hrs long.
    Use good quality media -- Verbatim is often recommended around here, and I've used Sony DVD-R with good results.
    For a detailed treatise, see:  https://discussions.apple.com/thread/3926901?tstart=0
    John

  • HT201210 hi,am trying to restore my ipod but i am getting this message each time:the ipod could not be restored-an unknown error occured,what should i do?

    hi,am trying to restore my ipod but i am getting this message each time:the ipod could not be restored-an unknown error occured,what should i do?

    Was the complete wording of the error message? Usually an error number or other information is also provided

  • I am trying to install update 11.0.06 for my Adobe Acrobat XI Pro, but without success multiple times.Get error 1603 each time,

    I am trying to install update 11.0.06 for my Adobe Acrobat XI Pro, but without success multiple times.Get error 1603 each time. I have tried disabling my antivirus software without success. I have looked for solutions to error 1603, and have tried what it suggests (empty temp files in Windows, etc.), also without success.There is nothing that mentions Window 8 or 8.1 operating system, though. Is this the issue? Please help.

    Hi Dawn,
    We might want to have a look at the install logs to determine the cause.
    Please try the following basic steps :
    > Enable the hidden Admin Account on Windows 7 ( Ref :  http://www.howtogeek.com/howto/windows-vista/enable-the-hidden-administrator-account-on-wi ndows-vista/ )
    > Disable all Non-Microsoft Startup Services. (Ref : http://helpx.adobe.com/x-productkb/global/disable-startup-items-services-windows.html )
    > Disable all the Antivirus softwares like CA, Norton,Mc Afee etc. temporarily from the computer.
    Reboot and try installing in the new enabled Admin user account and check.
    Regards,
    Rave

  • HT1386 I keep getting error 4001 every time i try to put music from old ipod to iphone

    I keep getting error 4001 every time I try to put music from old ipod to new iphone.....what do I do ?

    The iTunes Match servers may be busy; see discussion here: https://discussions.apple.com/message/18525437#18525437%2318525437.

Maybe you are looking for