Servlets can't access Oracle9i database - not sure why?

Hi there,
I got an error when it throws a SQLException in my Internet Explorer.
Error:
======
SQLException: Io exception: The Network Adapter could not establish the connection
Is it bcs i uses scott/tiger?
I places classes12.zip into c:\oraclejdbc
and place this in my classpath:
.;c:\oraclejdbc\classes12.zip;
*Note: I places classes12.jar (also can't work)
Then for a backup reason
I go to C:\Tomcat5\common\classes
and extract the classes12.zip in there
i can see javax and oracle folders
Then.. i make sure in my java codes (no compile error)
java:oracle:thin@wenching:1521:wenching
i was pointing to the right pc name and oracle server ID.
Then i call my servlets into my j2me phone...
it display all the necessary information.. on the data that should be extracted from the oracle 9i database.. display java.sql.SQLException...
There are something wrong?
Can you tell me what i left out? My servlets are working fine?
But i had 2 java files...
WebPage.java calls OracleConn.java
and in web.xml
i only point to WebPage.class and nothing to do with OracleConn (it is just connection classes).
Any help, please?
I also use lots of ways like placing classes12.zip or classes12.jar into many types of folders? Just not sure why cannot?
I did not use the build in Tomcat for Oracle, but the latest Tomcat 5 series. The servelts works fine but not oracle. Could it be this problem? Like allowing which oracle database to call which web server?
Thanks.

It works?
After i try this and that.
I just notice 1 thing...
The database is not connected physically.. even i can sql plus.. it!
So i go to Oracle Database Admnistrator for Windows NT..
and connect my servername WenChing..
and now it works.. servlets can connect to oracle...
Hooray!
I hope it stills work when i reboot my machine.. coz i had no idea what i did... :)
Sounds funny isn't it?
Regards.
Chua Wen Ching :p

Similar Messages

  • I have I-Photo version 9.1.5. Today,couldn't open. Message: App IPhoto can't be opened. Photo lib mgr has library there. But can't access it. Not sure how to get it back.

    I have I-Photo library which was working fine until a few hours ago. Now get pop up saying: "The application I-Photo can't be opened." with message number 600. Went to I Photo Library Manager. Everything is still there but don't know how/why I can no longer access library thru regular route.
    Thanks for anyone who may be able to help.
    Tom

    You are way behind in iPhoto 11. Run Software Update.

  • ITunes can no longer play CDs, not sure why

    Something very strange. For some reason iTunes no longer will play or import audio CDs. I have never had a problem before this playing or importing CDs - I just imported 3 CDs last weekend.
    If I insert a CD, iTunes never even mounts it. If I open the CD by double clicking on the drive, and double click the tracks, iTunes opens but doesn't play the songs: it just doesn't do anything.
    The CD drive is working fine. I changed the the default progams for .cda files first to real player then to windows media, and both played the songs on the CD without any problems at all. I then reassigned .cda files to iTunes, but it just won't play.
    I have tried repairing both iTunes and Quicktime via add/remove programs, and rebooted many times, but still iTunes will not play the songs from the cd or even show it in the sidebar.
    What is also strange is that even though iTunes doesn't show the CD as mounted in the side bar, I can still choose "Eject Disk" from the "Controls" menu and it ejects the CD, so it does appear that iTunes can interact with the CD drive, it just does not seem to read the audio files.
    It does not matter what CD I try - even older CDs without copy protection. When I run iTunes diagnostics CD/DVD Drive Tests, I get Green lights for "Audio CD found", "Driver correctly installed", and "Audio CD read successfully", but I get a Red light next to "Unable to access audio CD".
    I get the same result with the interal CD drive and my external usb2 CD/DVD burner.
    I'm out of ideas and would appreciate any advice or help.
    Thanks.

    Nevermind, I just did some more searching on the boards and found this topic from someone who had the exact same problem.
    http://discussions.apple.com/thread.jspa?threadID=1517728
    I stopped TruDirect and everything started working again.
    Sorry for the unnecessary post.

  • Can i access my database without jdbc

    Can i access my database without jdbc
    i don't want use a driver are there other methods for accessing database or is jdbc the only way for connecting a database

    I would sure like to know any one of the ways that you mention below
    Where would be a good place to start
    This is not a good place for that kind of research.
    If you have a problem that needs solving, come here.
    I could probably think up a couple of ways to access
    s a database from Java without using JDBC, but no
    sensible programmer would ever dream of trying to use
    them. So they would just make your research look
    stupid.

  • I received a text today while at work about iCloud keychain verification code. I have not signed up for it or anything that uses it. I work out of the city with limited internet access so not sure why I would be getting this. Is my info safe??

    I received a text today while at work about iCloud keychain verification code. I have not signed up for it or anything that uses it. I work out of the city with limited internet access so not sure why I would be getting this. I only got this number about a month ago. Apparently someone else had the number before because I get texts from his family members wondering whats going on. I got one yesterday and the person didn't seem to thrilled that the number was cutoff and today I got 2 texts about iCloud Keychain which I don't even know what it is. Seems suspicious to me. If the person who use to own the number is doing it he should know it is not his number anymore because he obviously didn't pay his bills.  I'm not too sure about iCloud Keychain so just want to know my info safe?? It says it can store credit card numbers which is what gets me worried. Frankly I think it's pretty stupid to save that kind if information with any kind of app. But I don't want some random person trying to access my personal information because they are bitter they lost their number.  Please let me know as soon as possible so I can change passwords or anything that is needed.
    thanks

    If it were me, I would go to my carrier and get a new number. Since you have only had it for a month, the inconvenience would be minimal.
    Barry

  • From some reason (i'm not sure why..) my whole iphoto library got deleted. I restored the whole library from my backup. The photos are blank but steel have the photo info. (date, res., size etc.) Do you know what's the prob.? why can't i see my pics.

    from some reason (i'm not sure why..) my whole iphoto library got deleted. I restored the whole library from my backup. Now all the photos are blank but steel have the photo info. (date, res., size etc.) Do you know what's the prob.? why can't i see my pics.

    It's says that file does not exist. How come? And why does it still show the image info.?
    Where can i find those files (i have a daily backup)
    The original image files are missing form your iPhoto library or iPhoto cannot find them, because the link to the originals has been broken. The image info is stored in the internal libraries, independent of the original files. That is, why you are still seeing them.
    I restored the whole library from my backup.
    Try restoring from an older backup, from before you first noticed the problem. 
    How large is the library, that you restored? Is the file size large enough to hold all your photos, or has the size been reduced?  If the library is still large, the photos may still be inside, even if iPhoto cannot find them.
    It's says that file does not exist. How come?
    What happened, before your iPhoto library got deleted? Which applications have you been running, or which new software have installed or upgraded?  Have you moved the library to a different disk or tried to use it from different user account or access it over the network?

  • Windows vista not recognizing my iphone4s when i open itunes, keep getting trust / dont trust message on phone and always press trust. Not sure why it's started doing it. Can not synch iphone at all or add new music....aaahhh

    windows vista not recognizing my iphone4s when i open itunes, keep getting trust / dont trust message on phone and always press trust. Not sure why it's started doing it. Can not synch iphone at all or add new music....as itunes does not pick up the phone I have connected anymore. My ipod synchs fine still and thats over 6 years old!

    Hi rubicon7,
    Welcome to the Support Communities!
    The article below may be able to help you with this.
    Click on the link to see more details and screenshots. 
    iOS: Device not recognized in iTunes for Windows
    http://support.apple.com/kb/TS1538
    If the issue is not resolved, you may need to uninstall iTunes and all of it's components, and reinstall the latest version as explained in this article:
    Issues installing iTunes or QuickTime for Windows
    http://support.apple.com/kb/HT1926
    I hope this information helps ....
    Have a great day!
    - Judy

  • I can no longer print any document in PDF format. Not sure why

    I can no longer print any document in PDF format. Not sure why? When I try to print, the document saves to my hard drive as a PDF and will not allow me to print? Never had this issue before. Any thoughts?

    Print to file is in the main print dialog (on Acrobat 9.x) as opposed to under Advanced

  • Can u access Oracle9i Reports objects from Java Code?

    Hi,
    How can you access Oracle9i Reports (Rel 2) objects like Body, DataSource, Groups etc from Java Code?
    What are the available APIs?
    I went thru the APIs at http://otn.oracle.com/products/reports/htdocs/getstart/docs/Javadocs/oracle/reports/plugin/definition/package-summary.html
    However various constructors stated in these APIs are using classes from "oracle.reports.definition" package which are difficult for me to locate.
    For eg. Report constructor is using oracle.reports.definition.RWReport and there is no API documentation available for RWReport class.
    Please suggest me the site for the above APIs or the method to get a reference to "Report" instance.
    Thanks
    Rakesh.

    Thanks Tugdual for your quick reply.
    Thats exactly what I am trying to do. I want to develop a utility which can have a subset of Report Developer's functionality.
    Currently using Reports Developer & Report Wizard, I can create a report by providing SQL statement and few parameters (like Report Style, Calculated Fields, Template file etc). I want to put all these parameters in a XML file and run my java utility (based on the APIs which I am looking for) which will use these XML parameter file and generate a '.rdf' file.
    Also, could you please suggest me the site for oracle.reports.definition package API or the way to get a reference to oracle.reports.plugin.definition.Report instance.
    Thanks,
    Rakesh

  • TS3074 Hello anyone with Windows 7, not sure why having followed instructions above, install of latest version of itunes won't work and can no longer open old version either.  anyone help with this?

    Hello anyone with Windows 7, not sure why having followed instructions above, install of latest version of itunes won't work and can no longer open old version either.  anyone help with this?

    Hi,
    thanks for your reply.
    Yes, except n°1 - empty Temp directory, I had tried/checked all of those.
    I emptied the local temp folder tonight, but it still won't work.
    Please note: the installation doesn't give me any problem. The program was working fine, until at one point *plouf* it stopped working. I can re-install it without any problem, it just crashes when opening.
    \\edit\\ I seem to have located the problem, it's in the library files. If I re-install iTunes without my library, it works fine (though there is no music in it, yet). As soon as I import my library, or replace the My Music\iTunes folder with the old one, it stops working.

  • Can't get ACD working not sure what's wrong

    First off can users with SNR or shared extensions work with ACD?  I'm following the guide but can't get anything to work.
    I made a basic ACD called 515 as the pilot number with all basic settings and put 2 of my extensions as members.  I then put on my autoattendant that pressing 1 goes to the ACD.
    If I call the auto attendant and press 1, it says connected, then just hangs up.
    I also don't know how to tell if I'm logged in to the ACD or how to log out.  It says in the help that you use the HLog key to log in and out, and I do have that key on my 7970 and 7960 but its grayed out on the 7970 and on both phones just says That key is not active here.  So not sure what's wrong, it seems like it's just not working in general based on it just hanging up when the AA transfers a call to it.  If I try to dial the pilot number I get a busy signal but I think it has to come from the AA from what the guide said.
    Not sure what's going on or how to troubleshoot this, any suggestions?

    Okay good to know because the help pages on setting up hunt groups say the extensions can't be shared ones so thought maybe that's why.  It seems to be something though because I made a new normal extension, removed the shared ones from the ACD members list and added just the normal one.  Now when I press HLog on the phone it logs in and out it says.
    However calling the ACD does the same thing, just hangs up.
    Is Shared extension not what I'm supposed to use if I want to have say extension 300 show on a physical phone and IP communicator?  Since normal only lets you add it to one device, I assume share is the right option?  Just seems like it causes issues with ACD.
    Not sure how to run that command you said above, I'm just following the built in help which seems straightforward just not sure why it won't work.

  • Can't update the flashplayer becasue it states I need to close firefox? Not sure why, I have an updated version of flashplayer but when I go in through firefox it tells me I need to update it, but won't because I am in firefox.

    Can't update the flashplayer becasue it states I need to close firefox? Not sure why, I have an updated version of flashplayer but when I go in through firefox it tells me I need to update it, but won't because I am in firefox. This seems to be a problem when I am in FB.

    You must close Firefox to install the update after it is saved to your hard drive. Follow the instructions below.
    There are 2 versions of Adobe Flash. Both must be installed and updated on Windows systems. In Firefox it would show as Shockwave Flash in your plug-ins, if you had it installed.
    *an ActiveX version for IE only
    *a plug-in version for Firefox and most other browsers
    #'''Install or Update the [[Managing the Flash plugin|Flash]] plugin''' to the latest version.
    #*Download and SAVE to your Desktop so you can find the installer later
    #*If you do not have the current version, click on the "Player Download Center" link on the "'''Download and information'''" or "'''Download Manual installers'''" below
    #*After download is complete, exit Firefox
    #*Click on the installer you just downloaded and install
    #**Windows 7 and Vista: may need to right-click the installer and choose "Run as Administrator"
    #*Start Firefox and check your version again or test the installation by going back to the download link below
    #*'''Download and information''': http://www.adobe.com/software/flash/about/
    #**Use Firefox to go to the above site to update the Firefox plugin (will also install plugin for most other browsers; except IE)
    #**Use IE to go to the above site to update the IE ActiveX
    #*'''Download Manual installers'''.
    #**http://kb2.adobe.com/cps/191/tn_19166.html#main_ManualInstaller
    #**Note separate links for:
    #***Plugin for Firefox and most other browsers
    #***ActiveX for IE

  • I can't access to  Database Home Page.

    I can't access to Database Home Page. the program run "http://127.0.0.1:8080/apex but it can't open the page

    It's a lot of threads in this Forum on same issue with solutions...
    Try with search...
    E.g.:
    http://forums.oracle.com/forums/search.jspa?threadID=&q=Database+Home+Page&objID=f251&dateRange=all&numResults=15
    HTH

  • How can I print Essbase database notes information in Financial reports?

    How can I print Essbase database notes information in Financial reports? As a requirements, I need to print certain database information in reports such as application refresh date/time and data source - from where my database is updated from.
    Edited by: 872346 on Jul 13, 2011 1:50 PM

    Unfortunately, none of those text functions are going to pull the database note. Hardly anything does other than the add-in.
    Maybe the OP could stick that information into an LRO? Then he could use CellText to get the info out.
    Regards,
    Cameron Lackpour

  • Need help " Can't find a valid editor for this file extension" not sure why I am getting and this or what to do.

    also say explorer not reading SWF files and I have to reload them? Not sure what that is either,
    Thanks
    Jim

    Hi Nancy
    Trying to update my site got to make some changes.  Do you work on sites via remote? I am on Cloud.
    : Nancy O. 
    Sent: Monday, September 01, 2014 3:47 PM
    To: James Neidner
    Subject:  Need help " Can't find a valid editor for this file extension" not sure why I am getting and this or what to do.
    Need help " Can't find a valid editor for this file extension" not sure why I am getting and this or what to do.
    created by Nancy O. <https://forums.adobe.com/people/Nancy+O.>  in Dreamweaver support forum - View the full discussion <https://forums.adobe.com/message/6692200#6692200>

Maybe you are looking for

  • CALL_FUNCTION_SINGLE_LOGIN_REJ- No authorization to log on as a Trusted System (L- RC=1 T-RC=1).

    Hi All, i have created a trusted connection(say system A_100 and B_100,---100 is a client) as per SAP note 128447 - Trusted/trusting systems I have all required authorisation i.e s_rfcacl,S_rfc ,s_rfc_tt. i am able to remote logon from system B_100 t

  • Received error 1920 service print spooler failed to start verify that you have sufficient privileges to start system services

    In installing Adobe XI Pro this error message was received "error 1920 service print spooler failed to start verify that you have sufficient privileges to start system services". What does this mean and how can I get this installed?

  • Apple tv: error 404

    Every two weeks my Apple TV is showing "encountered HTTP error 404" when I try to watch a movie on HBO or a cartoon on Disney Junior. The only way I know to fix this error is to reset the Apple TV. But it is too boring reseting my Apple TV every two

  • Adding new folder as a guest user

    I am logging on to a guest user account and going into Itunes so that i can have a separate library than my wife. Through the admin account i copy folders to the shared directory and have been able to add some folders into my guest Itunes account. Bu

  • Mac Pro for Logic Studio...advice?

    Hi Folks, I am contemplating the purchase of a Mac Pro specifically for running Logic Studio, and would like to know what significance multiple processors have on its performance. Money is tight so I am considering the single processor option, based