Ojdbc and clustered environments - how to connect

Hello there, I am hoping someone can help me out with the problem I'm having getting netbens 5.5.1 and 6 to connect to our databases.
First of alI, I am not a DBA, but a developer. I am trying to establish a connection with any of our databases in netbeans via a jdbc call. Every time try to use the jdbc:oracle:oci:@<service name>
It crashes with this error:
java.lang.UnsatisfiedLinkError: no ocijdbc11 in java.library.path
     at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1682)
     at java.lang.Runtime.loadLibrary0(Runtime.java:823)
     at java.lang.System.loadLibrary(System.java:1030)
     at oracle.jdbc.driver.T2CConnection$1.run(T2CConnection.java:3152)
     at java.security.AccessController.doPrivileged(Native Method)
     at oracle.jdbc.driver.T2CConnection.loadNativeLibrary(T2CConnection.java:3148)
     at oracle.jdbc.driver.T2CConnection.logon(T2CConnection.java:233)
     at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:490)
     at oracle.jdbc.driver.T2CConnection.<init>(T2CConnection.java:133)
     at oracle.jdbc.driver.T2CDriverExtension.getConnection(T2CDriverExtension.java:53)
     at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:474)
     at org.netbeans.modules.db.explorer.DbDriverManager.getConnection(DbDriverManager.java:99)
     at org.netbeans.modules.db.explorer.DatabaseConnection$2.run(DatabaseConnection.java:500)
     at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:499)
[catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:932)
I have also tried jdbc:oracle:thin:@<host>:<port>:<SID> format and I get a different error:
I/O exception the adapter could not establish a connection to the server.
I will provide a sample of out tns entries:
SHDRD.#######.COM =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = #######)(PORT = 1603))
(ADDRESS = (PROTOCOL = TCP)(HOST = #######)(PORT = 1603))
(LOAD_BALANCE = yes)
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = SHDRD.######.com)
(failover_mode =
(type = select)
(method = basic)
(retries = 20)
(delay = 15)
As you can see our tns entries contain multiple host, which I believe are the root cause to my issue. I cant even get SQL DEVELOPER to connect to the database. Are there special considerations I have to take in order to get my application working with servers?
BTW, I have tried the ojdbc14 and ondbc5 jars without luck.
Thanks guys!

Hey, I dont know whether this issue is still open or someone has already found the solution.
However, I encountered this kind of problem and looking out for solutions.
--------------------------------- Log Snippet -------------------------------------------
_1/28/10 3:32:43:544 CST] 00000013 SystemErr R java.lang.UnsatisfiedLinkError: ocijdbc11 (Not found in java.library.path)_
[1/28/10 3:32:43:544 CST] 00000013 SystemErr R      at java.lang.ClassLoader.loadLibraryWithPath(ClassLoader.java:993)
[1/28/10 3:32:43:544 CST] 00000013 SystemErr R      at java.lang.ClassLoader.loadLibraryWithClassLoader(ClassLoader.java:962)
[1/28/10 3:32:43:544 CST] 00000013 SystemErr R      at java.lang.System.loadLibrary(System.java:465)
[1/28/10 3:32:43:544 CST] 00000013 SystemErr R      at oracle.jdbc.driver.T2CConnection$1.run(T2CConnection.java:3178)
[1/28/10 3:32:43:544 CST] 00000013 SystemErr R      at java.security.AccessController.doPrivileged(AccessController.java:202)
[1/28/10 3:32:43:544 CST] 00000013 SystemErr R      at oracle.jdbc.driver.T2CConnection.loadNativeLibrary(T2CConnection.java:3174)
[1/28/10 3:32:43:544 CST] 00000013 SystemErr R      at oracle.jdbc.driver.T2CConnection.logon(T2CConnection.java:233)
[1/28/10 3:32:43:544 CST] 00000013 SystemErr R      at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:508)
[1/28/10 3:32:43:544 CST] 00000013 SystemErr R      at oracle.jdbc.driver.T2CConnection.<init>(T2CConnection.java:133)
[1/28/10 3:32:43:544 CST] 00000013 SystemErr R      at oracle.jdbc.driver.T2CDriverExtension.getConnection(T2CDriverExtension.java:53)
[1/28/10 3:32:43:544 CST] 00000013 SystemErr R      at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:510)
[1/28/10 3:32:43:544 CST] 00000013 SystemErr R      at oracle.jdbc.pool.OracleDataSource.getPhysicalConnection(OracleDataSource.java:275)
[1/28/10 3:32:43:544 CST] 00000013 SystemErr R      at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:206)
[1/28/10 3:32:43:544 CST] 00000013 SystemErr R      at oracle.jdbc.pool.OracleConnectionPoolDataSource.getPhysicalConnection(OracleConnectionPoolDataSource.java:139)
[1/28/10 3:32:43:544 CST] 00000013 SystemErr R      at oracle.jdbc.pool.OracleConnectionPoolDataSource.getPooledConnection(OracleConnectionPoolDataSource.java:88)
[1/28/10 3:32:43:544 CST] 00000013 SystemErr R      at com.ibm.ws.rsadapter.DSConfigurationHelper$1.run(DSConfigurationHelper.java:1622)
[1/28/10 3:32:43:544 CST] 00000013 SystemErr R      at com.ibm.ws.security.auth.ContextManagerImpl.runAs(ContextManagerImpl.java:4475)
[1/28/10 3:32:43:544 CST] 00000013 SystemErr R      at com.ibm.ws.security.auth.ContextManagerImpl.runAsSystem(ContextManagerImpl.java:4653)
[1/28/10 3:32:43:544 CST] 00000013 SystemErr R      at com.ibm.ws.security.core.SecurityContext.runAsSystem(SecurityContext.java:255)
[1/28/10 3:32:43:545 CST] 00000013 SystemErr R      at com.ibm.ws.rsadapter.DSConfigurationHelper$2.run(DSConfigurationHelper.java:1638)
[1/28/10 3:32:43:545 CST] 00000013 SystemErr R      at com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java:118)
[1/28/10 3:32:43:545 CST] 00000013 SystemErr R      at com.ibm.ws.rsadapter.DSConfigurationHelper.getPooledConnection(DSConfigurationHelper.java:1650)
[1/28/10 3:32:43:545 CST] 00000013 SystemErr R      at com.ibm.ws.rsadapter.DSConfigurationHelper.getPooledConnection(DSConfigurationHelper.java:1545)
[1/28/10 3:32:43:545 CST] 00000013 SystemErr R      at com.ibm.ws.rsadapter.DSConfigurationHelper.getConnectionFromDSOrPooledDS(DSConfigurationHelper.java:3177)
[1/28/10 3:32:43:545 CST] 00000013 SystemErr R      at com.ibm.ws.rsadapter.DSConfigurationHelper.testConnectionForGUI(DSConfigurationHelper.java:3842)
[1/28/10 3:32:43:545 CST] 00000013 SystemErr R      at sun.reflect.GeneratedMethodAccessor117.invoke(Unknown Source)
------------------------------ End of Snippet ----------------------------------------------
* .profile (environment) details *
export ORACLE_HOME=/apps/oracle/product/11.1.0.7.CL
export TNS_ADMIN=/usr/local/tns
export JAVA_HOME=/opt/IBM/WebSphere/AppServer/java
export LD_LIBRARY_PATH=/usr/lib:$ORACLE_HOME/lib:/usr/dt/lib:/usr/openwin/bin:/usr/ucblib:JAVA_HOME/lib:/apps/oracle/product/11.1.0.7.CL/jdk/jre/lib:/apps/oracle/product/11.1.0.7.CL/jdbc/lib
PATH=$PATH:/bin:/usr/ccs/bin:/usr/bin:/usr/sbin:/usr/ucb:$ORACLE_HOME/bin:/etc:/usr/openwin/bin:/opt/cobol/bin:/usr/local/bin:/opt/oracle/bin:$JAVA_HOME/bin:$LD_LIBRARY_PATH:.
export LIBPATH=$ORACLE_HOME/lib
Pl. respond if anyone has found the solution... It would be appreciated.
Thanx...
Star Nirav
+91 974.212.7827

Similar Messages

  • I have Macbook pro A1286 and was wondering how to connect it to the tv and have audio?

    Like the title says, I have a 15 inch macbook pro A1286 (from mid 2009) and want to hook it up to a tv. I also know that my particular model of macbook pro doesn't support audio from the mini display.  I know that I will need a mini display to hdmi cable or converter and a hdmi cable if I decide to go for the converter for the video. I've seen both the cord (1 side is hdmi and the other is mini display just to clarify if I'm not using the right terminology) and converter online and any comments on which is better/preferred would be helpful. What kind of cable do I need to get sound to play through the tv? If you could suggest brands (unless all of them are about the same), I would be very grateful. It would be nice to know if the cords have to be specifically from apple just so I don't buy the wrong thing. If there's an easier way (less cords) to do this than hdmi feel free to say something Thanks for the help, I really appreciate it and am eternally grateful.

    connecting MacBook Pro (15-inch, Mid 2009) to Hisense TV with audio?!?!!?
    hello everyone.
    if anyone is familar with successfully getting the older macbook pros that dont support audio out to stream and preform digital audio on a TV or has any helpful information that will get me familiar with trying to successfully stream audio and visual. and can PLEASE HELP ME in any way to understand what they know and teach me how to solve my problem id really appreciate it.
    i want to connect my MacBook Pro (15-inch, Mid 2009) to my Hisense LED LCD TV, ModelNumber:40H3E  and getting digital audio sound from my TV as well as video, but have no clue on how or where to even start to successfully pairing the two and getting sound.
    I own a MacBook Pro (15-inch, Mid 2009) this MacBook model doesnt support an HDMI port. My MacBooks model has the Mini Displayport which supports video out but does not support audio out. Can someone help me by telling me exactly which Mini DisplayPort to HDMI adapter with audio will support my model MacBook Pro (15-inch, Mid 2009) and exactly what HDMI wire do i need to buy that will successfully preform digital audio and sadisfying quality visual through TV?
    i have NO expierence with the proccess have NO knowledge about any of this or these Mini DisplayPort to HDMI adapters with audio. i have no idea what kind of adapter and HDMI cord to buy that will give me sound from my tv for my type of macbook. '
    im not familar AT ALL with any of this so i hope me giving you my MacBook Pros make and model and my TV's model number will be enough information for someone to help me.
    just please give me anything you can on this topic
    thank you so much,

  • PG JTAPI and CM failure, how to connect with others?

    Hi All;
    The main site has UCCE side A (RGR-a,PG-a, HDS&ICM&Webview-a), CVP servers and VXML Servers, Gatekeeper, two Voice Gateways and Cluster of CUCM (publisher and 3 subscribers).
    Disaster Recovery site has UCCE side B (RGR-a, PG-a, HDS&ICM&Webview-a), CVP Servers and VXML Servers, Gatekeeper, two Voice Gateways and 3 CUCM all subscribers while the publisher in the main site, so the CUCM are clustered with main site.
    If the CUCM in the main site had a failure (the publisher and the 3 subscribers), what are the needed configuration need to be done in the main site at the UCCE side A to let it able to communicate with the CUCM subscribers in the Disaster Recovery? Is this failover possible to be autmatic or I have to do it manual?
    Your kindly advise is highly appreciated.
    Regards
    Bilal

    Hi Bilal,
    one PG can connect to only one CUCM CTI Manager. The redundancy is within the PG A and PG B.
    So, if the CTI Manager that the PG A connects fails, PG B JGW process will be become active and will communicate with CTI Manager that PG B connects.
    Now, that the connectivity of PG to CTI Manager. But the CTI RP's may register to different Subscriber depending on how the callmanager group is defined on device pool that is assigned to CTI RP.
    You should have the Callmanager group for the CTI RP such that it contains both main site and fail over site call managers.
    Here are some scenarios.
    lets say, you have
    sub1 and sub2 on main site
    sub3 and sub4 on recovery site
    PGA connect to sub1 CTI manager, and PGB connects to sub3 CTI manager. Callmanager group (sub1, sub2, sub3 and sub4 in order) for the CTI RP contains all the call managers
    Failure Scenario:
    1. If sub2 fails - JGW process on PG B will be active. But CTI RPs will be registered to sub2
    2. if sub1 fails, JGW process will reamin active on PG A. but RPs will be registered to sub2
    3. if both sub1 and sub2 fails, JGW process will be active on PG B and RPs will be registered on sub3
    Hope this helps.
    Thanks
    - abu

  • HT4759 good evening, I do indeed have an iphone 4s and would like to finally begin to learn how to link (and learn!) how to connect the famous icloud from my phone to my laptop, please!

    good afternoon, I'm a dummy!  is this where I begin to aask questions??

    Take a look at this link, http://www.apple.com/support/icloud/

  • How to connect my dv camera to my mac and make movies?

    i just got my new macbook and dont no how to connect my dv camera to it...i got a software disc for my dv cam but it doesnt run automatically and i dont no how to install it....it is usb connection...do i need fire wire?...help me plz help...getting frustrated ...is the any sites that help with macs ..cuz im use to pc...dont no anything bout macs...thanks so much!!!

    Hello,
    It would be helpful to know what camera you are trying to connect and what exactly you are trying to do with it.
    In regards to firewire vs usb i only really have experience with firewire so i can not help you there unfortunatetly.
    If you are just trying to get the video footage off the camera you could try and open up iMovie from within you applications folder. Attached the camera, my iMac is currently in for repairs so i can quite tell you the whole thing but look for options of attached cameras.
    The reason why the cd doesnt autorun is that it is probably window software, does the disk specifically state Mac OS X?. If you double click on the cd it should open up in a window. Have a look around for any Mac folders or any obvious applications that you can run.

  • How to connect Macbook to TV through Dvi to VGA adapter.

    I recently got s Macbook and was wondering how to connect it to my 32 inch sony tv. I have the dvi to vga adapter and recently bought an adapter that converts the VGA into RGA adapters + S video (all of which my tv has) When I connect the TV with these components nothing happens. I am curious to know what the next steps are to getting the Macbook to recognize the tv and how to produce an image on my TV. Any input would be helpful

    what plugs do you really have.. that was confusing? This is a Macbook (not pro)?
    First, it could be as simple as going to System Preferences|Displays| and choose to "Detect Display". It may not be recognizing you plugged something in.
    If you want to connect you should probably get the proper Apple mini-dvi adapters to match exactly what your TV has. I use the adapter from mini-DVI-to-DVI with my DVI-ready TV and it works great. They have one adapter for mini-DVI-to-VGA, and one from mini-DVI-to-Svideo. Note that multiple adapters assume you have 100% compatible input when often adapters "cheat" on the actual output side... data and signals are probably not getting thru... your Mac can't recognize the TV as connected.
    If you want to live dangerously, you might try using the mini-to-DVI adapter with a DVI-HDMI cable (single cable, no adapter) and see if that works (HDMI is a legit DVI spec so it should work, it works in reverse for my DVD player to TV connection)

  • How to connect old aiport express to my new Airport Extreme? My Ipad says "base station e5713b cannot be configured" and my AirPort tool on my PC will not permit me to add my new Airport Extreme network (no network names to choose from)

    How to connect old aiport express to my new Airport Extreme?
    I have a PC running with Win7 and just replaced my Jensen With a brand New Airport Extreme.
    I have set up the Airport Extreme to the internet, Iphones and Ipads and it work as it should.
    I have downloaded latest Version of Airport tool on my PC. In addition i have downloaded the airport tool for Ipad.
    I have reset one of my airport Express and it now shows up both on the Ipad and on the PC airport tool.
    My Ipad says "base station e5713b cannot be configured."
    I have wired the airport Express to my Ethernet to be able to "see it" on my Airport tool.
    My AirPort tool on the PC will not permit me to add the airport Express to my new Airport Extreme network (no network names on the drop-down list to choose from). I wished for an easy set-up, but nothing seems to be plug and play as the Commercial says.. can you please help me?
    Sigve

    Hi
    Thanks for Swift reply.
    Yep - I in fact have two A1088 and one A1264
    I actually bought the new router because the Jensen
    router always lost connection to the Airport Express after some hours or days. I
    always needed to restart my Jensen to play music and that was driving my wife
    mad. The hope was that the Extreme should fix this. Both A1088 have been set up
    to only stream music to two of my stereo amplifiers from my PC’s Itunes library.
    Are the A1088 now useless?
    The A1264 has been set up to feed internet into a Denon Reciever that needed Ethernet cable.
    Please advise
    Regards
    Sigve

  • My Ipod is disable and it tells me to connect to itunes to stop disabling it. What do  I do? How do I connect to Itunes?

    My Ipod is disable and it tells me to connect to itunes to stop disabling it. What do  I do? How do I connect to Itunes?

    Place the iOS device in Recovery Mode and then connect to your computer and restore via iTunes. The iPod will be erased.
    iOS: Wrong passcode results in red disabled screen        
    If recovery mode does not work try DFU mode.
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings

  • How do i use my iMac and the macs wired internet connection to share the internet with my iPod and iPhone

    How do i use my iMac and the macs wired internet connection to share the internet with my iPod and iPhone. For 6months I had set up a network that shared the internet through bluetooth to my iPod 5th gen but i messed it up when i tried to add my iPhone 5s and i can't remember how to do it.

    The following has instructions: OS X Mavericks: Share your Internet connection

  • How to connect my iPhone and iPad to Apple TV

    How to connect my iPhone and iPad to Apple TV

    Connect the iPad and Apple TV to the same WiFi network. Double Tab the home button on the iPad and then swipe your recently used apps from left to right until you see the mirroring icon which looks like a retangle with an up arrow. Tab that icon until you see the Apple TV. Tab Apple TV and slide the slider to the ON position. You should now see your iPad screen on the TV the Apple TV is connected to.

  • How to connect my ipod to itunes if my ipod is disabled and my top button is broken

    how to connect my ipod to itunes if my ipod is disabled and my top button is broken

    Place the iOS device in Recovery Mode and then connect to your computer and restore via iTunes. The iPod will be erased.
    iOS: Wrong passcode results in red disabled screen                          
    If recovery mode does not work try DFU mode.                         
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings         
    For how to restore:
    iTunes: Restoring iOS software
    To restore from backup see:
    iOS: How to back up
    If you restore from iCloud backup the apps will be automatically downloaded. If you restore from iTunes backup the apps and music have to be in the iTunes library since synced media like apps and music are not included in the backup of the iOS device that iTunes makes.
    You can redownload iTunes purchases by:
    Downloading past purchases from the App Store, iBookstore, and iTunes Store

  • How to connect my iphone to iTunes with my imac so i can mannage my songs and other documents on my phone

    how to connect my iphone to iTunes with my imac so i can mannage my songs and other documents on my phone

    Launch iTunes on your Mac, plug your phone in, select it in the sidebar, select what you want to sync under the various tabs, hit the sync button. If the sidebar is not visible, go up to the "View" menu & select "Show Sidebar".

  • How to connect my iPad, Brother printer, and AirPort Extreme?

    How to connect my iPad, Brother printer, and AirPort Extreme?

    I don't believe any of the Brother printers are AirPrint-enabled. Is your Brother printer network-ready? That is, does is support either/both a wired or wireless connection or just uses USB to connect?

  • How to connect my Mac Air 13" to my Philips display with DVI and VGA ports?

    How to connect my Mac Air 13" to my Philips display with DVI and VGA ports?

    Use a DVI to micro-DVI adapter if you're on an original MacBook Air, and a Mini DisplayPort adapter for a newer one.
    (119682)

  • How to connect my iPad and iPhone to my new apple tv ?

    how to connect my iPad and iPhone to my new apple tv ?

    Also, make sure that all devices are on the same Wi-Fi network (e.g. not on a "guest" connection), and verify the ATV settings to see that AirPlay (and HomeSharing while you're at it) are turned on.

Maybe you are looking for

  • IE8 error while downloading a report

    Hi, When I download a report to excel or any other format while working on internet explorer 8, following error referring to common.js comes though the report gets downloaded. Webpage error details User Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windo

  • How do I download Mountain Lion to a flash drive after hard drive failure?

    My hard drive failed and I have purchased Mountain Lion, but do not have a way to get back to the app store to download to a flash drive to install on my new hard drive.  How can I go about getting a copy?

  • ONLY SMALL IMAGE - in OS DVD PLAYER WINDOW

    Hi WHEN I USE THE OS dvd player sometimes it only is playing the dvd back as a small window with a big black boarder . If i check this by playing the dvd on my stand-alone dvd player/tv this does not happen. Could someone explain how i can change thi

  • When we talk about healthy

    When we talk about healthy fats those is a faster all structure and this engine or are they are just benign meeting their sources calories and don't cause hormonal chaos and atoll change our body's ability to responsive more calories in more calories

  • I am unable to Open Firefox,Even after Reinstalling it,It Crashes in seconds loading homepage

    I am Unable open any page,It crashes after Loading homepage in seconds,i tried Reinstalling several times. -Kindly help!!! == This happened == Every time Firefox opened == I started my Desktop