Why JDBC getConnection null? what is the problem?

i have been using one class as thus clause:
public java.sql.Connection getConnection(){
String url = "jdbc:oracle:thin:@192.168.0.142:1521:test8152";
java.sql.Connection con =null;
java.sql.Statement stmt =null;
try {
Class.forName("oracle.jdbc.driver.OracleDriver");
con = java.sql.DriverManager.getConnection(url,"conn","connection");
} catch(Exception ex) { }
return con;
this method has been used normal in several instance for a long time, the oracle is all 816 enterprise, both for nt or linux or solaris.
however, while i install a new oracle for linux on redhat6.2 which purchased recently, 816ee, i can not connect to it from other computers by this class, although i can connect to it by net8.sqlplus from other . nevertheless, i can connect to it in local computer by the same class with the same driver as classes12.zip; even if i use the drivers, which containd in the $ORACLE_home/jdbc/, the one is classes111.zip, the results is the same.
the error message is the object do not exist, once i add the global service name, such as test8152.my_domain, the new message is 'refused connection'.
thanks for your tips.
null

I had the same problem on this. The Linux Version of Oracle 8i seems have bugs on jdbc driver classes111.zip and classes12.zip ???
I faced the same situation !!
Do you find any other solution? It seems Oracle 8i oci/jdbc driver only support jdk 1.1.X . I am looking for oci/jdbc driver for 1.2. BUT I can not find it inside Oracle website ?!
Do you find any ?
Tommy Yang ( [email protected] )

Similar Messages

  • My MacBook Pro turns on but not all the way, it gives me an icon of a grey folder with a question mark in the middle, and won't go further that that. Anyone knows why, or what's the problem?

    My MacBook Pro turns on but not all the way, it gives me an icon of a grey folder with a question mark in the middle, and won't go further that that. Anyone knows why, or what's the problem?

    If these do not resolve the issue or if you are not comfortable with proceeding through these steps then take your Mac to an Apple store or an Apple Authorized Service Provider.  An Apple store will perform these initial steps, diagnose the problem, and give an estimate for repairs (if needed).  If the Mac is less than one year old or is covered by AppleCare any repairs would be free.
              Genius reservation http://www.apple.com/retail/geniusbar/ .
              or find an Apple Authorized Service Provider https://locate.apple.com/country

  • HT204053 When i try to sign in iCloud from my pc, i get a error message telling that "you can't sign in because of a server error". Why is it so? what is the problem?

    When i try to sign in iCloud from my pc, i get a error message telling that "you can't sign in because of a server error". Why is it so? what is the problem?

    Hi spillgar,
    If you are having issues signing in to iCloud from your Windows machine, you may find the following articles helpful:
    iCloud: Account troubleshooting
    http://support.apple.com/kb/ts3988
    iCloud: If you can’t sign in to iCloud.com
    http://support.apple.com/kb/ph2611
    Regards,
    - Brenden

  • Why is my Apple ID working on the Apple Website on the computer but not restoring my ipad... What is the problem with it????

    Why is my Apple ID working on the Apple Website on the computer but not restoring my ipad... What is the problem with it????

    LeesaHeeley wrote:
    When I go to settings/iTunes App Store my Apple ID is not there. When I enter my ID and password it does not save or link to account.
    When fist setting up your new iphone you will be asked to log in with an apple id and password. If this did not happen you can then do as you suggested going to settings to itunes and app store and add your apple id login. This apple id login must have already been created for the iphone to accept it. If this apple id is already created but is not being accepted by your iphone you then should shut down your iphone and restart the device.
    Good luck.

  • Hi ... i want to ask why i can't download (whatsapp,skype,faceboo)on my iphone ???? and why always appear message my password error when i want doing download ??? if my password error i can't sign in here !!!! what's the problem???

    hi ... i want to ask why i can't download (whatsapp,skype,faceboo)on my iphone ???? and why always appear message my password error when i want doing download ??? if my password error i can't sign in here !!!! what's the problem???

    Errors 3000-3999 (3004, 3013, 3014, 3018, 3164, 3194, and so on): Error codes in the 3000 range generally mean that iTunes cannot contact the update server (gs.apple.com) on ports 80 or 443.
    Update to the latest version of iTunes.
    Verify the computer's date and time are accurate.
    Check that your security or firewall software is not interfering with ports 80 or 443, or with the server gs.apple.com.
    Follow Troubleshooting security software. Often, uninstalling third-party security software will resolve these errors.
    An entry in your hosts file may be redirecting requests to gs.apple.com (see "Unable to contact the iOS software update server gs.apple.com" above).
    Internet proxy settings can cause this issue. If you are using a proxy, try without using one.
    Test restoring while connected to a known-good network.

  • I have a mac 15" non retina and i didn't upgrade it to mavericks .. when i run photoshop my pc becomes very slow and i don't know why!! the performance on photoshop is up to 70% so i think is good .. what is the problem?

    i have a mac 15" non retina and i didn't upgrade it to mavericks .. when i run photoshop my pc becomes very slow and i don't know why!! the performance on photoshop is up to 70% so i think is good .. what is the problem?

    All I can suggest is that you open that file on the MBA and save it as a new file, then see if you can open the new one on the iMac.

  • Why is printing from FF not func. What is the problem. No Reply from u!

    I am not able to print anything while using Firefox. I know that other people have had this problem. I can not print from any any web site while using firefox. What is the problem. My family has tried this method of communicating in the pass unsuccessfully. Why is there know response from Firefox support. What good is Firefox if you can not answer and solve major problems such as this. I can not even print air travel ticket info for airline web sites while using Firefox. You not to fix this problem and notify your users of what they need to do. AGAIN- WHY IS IT THAT USERS OF FIREFOX ARE NOT ABLE TO PRINT ANY PAGES OR INFORMATION WHILE USING FIREFOX.

    See http://kb.mozillazine.org/Problems_printing_web_pages and [[Printing a web page]]

  • What is the problem? Why MBeanConnector server can not start?

    I try to start a Coherence server and use MBeanConnector to access Mbean. But get a error message.
    What is the problem?
    C:\Documents and Settings\jimq>java -Dtangosol.coherence.management=all -cp coherence.jar com.tangosol.net.management.MB
    eanConnector -rmi
    Exception in thread "main" java.lang.NoClassDefFoundError: com/tangosol/net/management/MBeanConnector
    Caused by: java.lang.ClassNotFoundException: com.tangosol.net.management.MBeanConnector
            at java.net.URLClassLoader$1.run(Unknown Source)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.net.URLClassLoader.findClass(Unknown Source)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            at java.lang.ClassLoader.loadClassInternal(Unknown Source)
    Could not find the main class: com.tangosol.net.management.MBeanConnector.  Program will exit.

    Hi,
    sounds like a class path issue - are you sure coherence.jar is in the current directory., i.e. C:\Documents and Settings\jimq? What is the result of jar tvf coherence.jar | grep MBeanConnector or windows equivalent?? Here is the result of me running the same cmd line:
    hraja@hraja-lnx:/stuff/jlib/coherence/3.5.2/java/lib$ java -Dtangosol.coherence.management=all -cp coherence.jar com.tangosol.net.management.MBeanConnector -rmi
    2009-11-13 14:03:33.924/1.556 Oracle Coherence 3.5.2/463p1 <Info> (thread=Main Thread, member=n/a): Loaded operational configuration from resource "jar:file:/stuff/jlib/coherence/3.5.2/java/lib/coherence.jar!/tangosol-coherence.xml"
    2009-11-13 14:03:33.936/1.567 Oracle Coherence 3.5.2/463p1 <Info> (thread=Main Thread, member=n/a): Loaded operational overrides from resource "jar:file:/stuff/jlib/coherence/3.5.2/java/lib/coherence.jar!/tangosol-coherence-override-dev.xml"
    2009-11-13 14:03:33.936/1.567 Oracle Coherence 3.5.2/463p1 <D5> (thread=Main Thread, member=n/a): Optional configuration override "/tangosol-coherence-override.xml" is not specified
    2009-11-13 14:03:33.940/1.571 Oracle Coherence 3.5.2/463p1 <D5> (thread=Main Thread, member=n/a): Optional configuration override "/custom-mbeans.xml" is not specified
    Oracle Coherence Version 3.5.2/463p1
    Grid Edition: Development mode
    Copyright (c) 2000, 2009, Oracle and/or its affiliates. All rights reserved.
    2009-11-13 14:03:35.533/3.164 Oracle Coherence GE 3.5.2/463p1 <Info> (thread=Main Thread, member=n/a): Loaded cache configuration from "jar:file:/stuff/jlib/coherence/3.5.2/java/lib/coherence.jar!/reports/report-group.xml"
    2009-11-13 14:03:36.716/4.347 Oracle Coherence GE 3.5.2/463p1 <D5> (thread=Cluster, member=n/a): Service Cluster joined the cluster with senior service member n/a
    2009-11-13 14:03:39.952/7.583 Oracle Coherence GE 3.5.2/463p1 <Info> (thread=Cluster, member=n/a): Created a new cluster "cluster:0xD1CB" with Member(Id=1, Timestamp=2009-11-13 14:03:36.484, Address=192.168.159.1:8088, MachineId=63233, Location=site:local,machine:hraja-lnx,process:15775, Edition=Grid Edition, Mode=Development, CpuCount=2, SocketCount=1) UID=0xC0A89F0100000124EDDB34A4F7011F98
    2009-11-13 14:03:40.238/7.869 Oracle Coherence GE 3.5.2/463p1 <D5> (thread=Invocation:Management, member=1): Service Management joined the cluster with senior service member 1
    Starting RMI Connector...
    RMI Connector started--harvey                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • HT1657 When I try to rent a movie from iTunes on my Apple TV it says the purchase could not be completed. My password is correct as well as my location and other information. What is the problem?

    When I try to rent a movie on my Apple TV it states that the purchase could not be completed. My password is correct and location, user id, and other settings are correct. What is the problem?

    If you are also getting a message to contact iTunes Support then you can do so via this link and ask them why the message is appearing (we are fellow users here on these user-to-user forums, we won't know why) : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then Purchases, Billing & Redemption

  • My Mac produces a sort of like beeping noise.... What's the problem and how do fix it?

    iTunes, Safari and Twitter for Mac were the only applications running when it started to beep. I panicked and I immediately closed all the applications and shut the thing down. I started it up again and the sound was gone. What's the problem? Why did it beep? Do I need to take it to the PowerMac store? Thank you!

    Does the iPod connect to other networks?
    Does the iPod see the network?
    Any error messages?
    Do other devices now connect?
    Did the iPod connect before?
    Try the following to rule out a software problem:                 
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Power off and then back on the router
    - Reset network settings: Settings>General>Reset>Reset Network Settings
    - iOS: Troubleshooting Wi-Fi networks and connections
    - iOS: Recommended settings for Wi-Fi routers and access points
    - Restore from backup. See:
    iOS: How to back up
    - Restore to factory settings/new iOS device.
    If still problem make an appointment at the Genius Bar of an Apple store since it appears you have a hardware problem.
    Apple Retail Store - Genius Bar

  • What are the problems associated with Minecraft game and Apple computers

    What are the problems with Minecraft game and Apple computers.  I've read that the two are incompatible.

    You have a very limited amount of time before night falls and the monsters might come out. You have to HOLD DOWN the mouse button to hit things to change them. Hit the earth to dig a cave. Hit a tree repeatedly to get wood.
    A two button mouse is superior, because a lot of actions require a left click. <-- OH That is why they say it is not compatible!
    It is compatible, you just need to left click sometimes!

  • What is the problem with Itunes 11.0.1.12 and adding music to the Library?

    What is the problem with Itunes 11.0.1.12 and adding music to the Library?  I had no problems when I updated, just had to get used to the new format and appearance.  Added a few albums here and there, and then today I can't get anything in the Library.  I've always just dragged and dropped my music with no problems.  I've had an Ipod for the last six years and never encountered any big problems with Itunes or my various Ipods.

    Why is this Itunes such a pile of junk?  If I restart my computer I can sometimes find the recently added music in my Itunes Library. 
    It would be nice to know if other people are having the same problems.

  • I purchased Lightroom 5, loaded it on my Mac, and updated to version 5.6. I then tried importing photos from my Sony DSC-RX100iii. Unfortunately it only imports JPEG files but no RAW files. What is the problem and how do I fix it?

    I purchased Lightroom 5, loaded it on my Mac, and updated to version 5.6. I then tried importing photos from my Sony DSC-RX100iii. Unfortunately it only imports JPEG files but no RAW files. What is the problem and how do I fix it?

    Than LR should have brought in the RAW files as well. ACR is the RAW
    processing engine used by LR under the covers so anything not supported by
    ACR would not be supported by Lightroom.
    Are you shooting RAW plus JPEG? By default, Lightroom will stack then
    unless you tell it not to. Check to see if there is a small badge on the
    preview that looks like two sheets of paper with a number. That is how
    Lightroom indicates a stack. You can unstack them by clicking on the badge.
    There is also a menu item to stack/unstack photos. Otherwise, I would have
    to research but not sure why Lightroom would ignore the RAW photos but
    still import the JPEGS.

  • HT201412 i have tried to update my apps but it says i don;t have enough money in my account which i find unusual concidering the apps are free what is the problem

    i don;t understand why  safari is not taking my updates one of them is free the other i purchased and yet i have tried to download free apps but it just goes to my account and says i  don;t have enough money in account the thing is its a free app what has that to do with my account and i do have enough money so what is the problem i am over this

    You can keep both, just enter the one you want to use on your phone by going to Settings>Store>Apple ID, tap the ID shown, sign out, sign back in with the other ID.  Otherwise you'll have to keep using the ID tied to your credit card.  You can contact iTunes store support here: http://www.apple.com/emea/support/itunes/contact.html to ask them what minimum balance is required to download free apps.

  • Suddenly I can't burn any tunes to disc.  I receive an error report - 4280.  What's the problem?  It all worked fine last week.

    Suddenly I can't burn any turnes to disc.  I receive an error report - 4280.  What's the problem?  It was all fine last week.

    Additional information: 
    -also ran "Repair" with new download of iTunes
    -am using the same spindle of CDs that worked perfectly a month ago.  Tried another brand also to be safe.  None worked.
    -ran CD/DVD diagnostics within iTunes with Apple Care - no issues apparent
    -also tried write-speed 20X on advice of Apple Care (don't know why they thought 20X would be the magic number after the other 3 I tried didn't work)
    -tried running itunes in another user account on the computer - same problem, same error code
    -Apple suggested it was a copyright issue.  I can't even burn music that I created/recorded myself, so that doesn't make sense.
    -They thought maybe Quicktime wasn't installed properly, so we checked a film in Windows Media - it played, meaning Quicktime was fine apparently. 
    Solution:
    Unclicked CD text option & Sound Check, ran burn from the File drop down menu (max speed) on a Philips CD-R and it worked!  Had been right clicking the playlist name and selecting Burn option from there.  That being said, it did not work on 2 other brands prior, with same settings.  Not sure why.  Just happy it's working again. Is it a brand issue?

Maybe you are looking for

  • How to retrieve the values from a table if they differ in Unit of Measure

    How to retrieve the values from a table if they differ in Unit of Measure?

  • Automatic settlement of delivery costs MRDC for service PO

    Hi, We configured a custom condition type ZCOM (Commission). This condition was assigned to pricing procedure RM0000. This condition is defined as a delivery cost condition with accrual. PO for non-inventory material: - Free text item for 10 EA @ $10

  • XI server configuration

    Dear Experts do i need to do any customisation as the XI consultant after the basis guy installed XI server.After installing XI what are the basic things I need to go for with XI server.

  • Edit to Tape... intermitant error with start T/C

    Having a problem using assemble & insert edit.. when outputting using Edit to Tape with a start T/C at 01:00:00:00, the first frame often starts at 00:59:59:24 (PAL so that's one frame early).. doesn't happen all the time, but enough to be really ann

  • This field name is not known. on the server

    I have an issue using RPT file to generate a report using my .NET web app on the server, locally the report is generated fine, but on the server it's giving me the error "The field name is not known": [COMException (0x80041019): This field name is no