Cannot get InputStream from XMLType

Hello,
I am using java to execute a query that return an xml document and I experience a problem while trying to get the content as an InputStream.
The received XMLType object is correct, I can get the xml as a String using the XMLType.getStringVal() method, but when I try to get the InputStream I an getting the following error:
java.lang.UnsatisfiedLinkError: oracle/xdb/XMLType.getInputStreamNative(JJJ)J
     at oracle.xdb.XMLType.getInputStream(XMLType.java:1217)
Any idea about what can cause this error?
I am using Oracle XMLDB 10.2.
I am accessing it using OCI driver.
Thank you.

I just saw your posting - I'm trying to access XML DB from JUnit tests, on a windows machine, within Weblogic Workshop. Do you have any advice for getting this working?
The error I'm getting is:
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:3171)
     at oracle.jdbc.driver.T2CConnection.loadNativeLibrary(T2CConnection.java:3167)
     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 java.sql.DriverManager.getConnection(DriverManager.java:582)
     at java.sql.DriverManager.getConnection(DriverManager.java:207)
ocijdbc11.dll IS in the Oracle product install (unlike the last time I saw this with orageneric11 being looked for, but orageneric10 having been installed), the BIN directory IS in my path, and I'm pretty much at a loss for how to deal with this. Any advice will be appreciated...
Thanks,
-=Alan

Similar Messages

  • I have installed Mountain Lion 10.8.2 but still cannot get email from my work exchange account. I'd appreciate any help.  Thank you.

    I have installed Mountain Lion 10.8.2 but still cannot get email from my work exchange account. I'd appreciate any help.  Thank you.

    You can go to the Apple online store and purcahse a copy of Mountain Lion.  This will give you a redemption code, which you can use to download Mountain Lion from the App Store.  Unfortuantely, I'm not aware of any other way to legally purchase it.  I have never seen Apple release Muontain Lion on DVD.
    In terms of Apple Service, they just need the serial number of the machine to check the purcahse date.  It is usually correct, to within a few weeks.  A quick Google search should give you the correct number to dial.
    I hope this helps.

  • I have installed Mountain Lion 10.8.1 but still cannot get email from my work exchange account. I'd appreciate any help.  Thank you.

    I have installed Mountain Lion 10.8.1 but still cannot get email from my work exchange account. I'd appreciate any help.  Thank you.

    I would delete the account and try to re-enter it. Also, you have to let your firm's IT department know that you want to sync work email on your personal devices before they actually work.

  • Open script cannot get connection from the brower helper after 15 seconds.

    Error:
    ===
    Open script cannot get connection from the brower helper after 15 seconds. Do you want to continue waiting for the browser to load?
    Please Note:
    ========
    1. I have tried this only on IE
    2. I am running OATS on a Remote desktop
    Situation:
    ======
    Trying to stop the recording
    Try to get xpath of an object using Inspect Path
    Setup details
    ========
    Windows XP 5.1 Service Pack 3, x86
    OpenScript 12.1.0.1.383
    Internet Explorer 8.0.6001.18702
    FireFox 13.0.1
    Mitigation steps done till now:
    ==================
    1. Disabled windows firewall
    2. Disable XSS filter setting
    3. Restarted the ATS services (3 of them)
    4. Run the Open Script Diagnosis Tool (PS: There are 3 errros even after running it. The 3 errros are listed in the workspace_log log file snippet below...)
    Error in worspace_log:
    =============
    To Change setting:
    Go to Tools > Internet Options and Choose Security Tab
    Select the Zone to modify and Press Custom level
    Find Enable XSS filter Setting - Select Disable and click Ok
    !ENTRY oracle.oats.scripting.diagnosisTool.api.DiagnosisExecutor 4 0 2012-07-09 17:08:52.594
    !MESSAGE Failure found when diagnosing Oracle EBS/Forms Load Testing Forms LT Diagnoser
    !ENTRY oracle.oats.scripting.diagnosisTool.api.DiagnosisExecutor 4 0 2012-07-09 17:08:52.594
    !MESSAGE Did not auto-fix the problem.
    !ENTRY oracle.oats.scripting.diagnosisTool.api.DiagnosisExecutor 4 0 2012-07-09 17:08:52.594
    !MESSAGE Suggestion for fixing: Please change your Java proxy setting to Use Browser Settings
    Aprreciate help on this.

    To resolve this, you need to reconfigure the "Oracle Application Testing Suite Helper Service" (OATSHelperSvr) to start as a user who has privledges to run open script tests rather than the default SYSTEM user.
    Reconfiguring the OATSHelperSvr Service:
    1. Open the services panel (Start > Run > services.msc)
    2. Find the Oracle Application Testing Suite Helper Service
    3. Right Click > Properties then select the Log On Tab
    4. Specify an interactive user that has rights to run OpenScript (test by logging in as that user and running tests):
    5. Click OK
    6. Restart the service after dialogs are closed by Right Click > Restart
    7. You should now repeat this process for the "Oracle Application Testing Suite Agent Service" (eLoadAgentMon) Service (Two services in
    total)
    You should now retry running the test in Oracle Test Manager

  • Light weight AP cannot Get IP from windows DHCP server

    Hi all :
    We user WISM ver.5.0.148.2 , All AP is 1230 Series and Use Windows 2003 DHCP server.All AP cannot get IP after upgraded Lightweight from Autonomous IOS.
    But I found the DHCP is work if i use my notebook connect the same switch port and my notebook can get IP from DHCP server.
    Anyone can tell me why MY Lightweight AP cannot get IP from DHCP server ???
    thx any idea .
    I confirm the AP DHCP setting enabled and the config as below :
    AP000d.bc41.4392#show ip inter bri
    Interface IP-Address OK? Method Status Protocol
    FastEthernet0 unassigned YES DHCP up up

    hi fella5:
    yes , it's done , the WLC already have the SSC Code and i verify the SCC code is correctly.
    the Switchport configured that vlan 99 access port and the Global Vlan ID set the IP helper to the DHCP already.I can ping to the DHCP , DNS and WLC.

  • I cannot get "Notes" from IPhone 5.0 to upload or sync with the ICloud

    I cannot get "Notes" from IPhone 5.0 to upload or sync with the ICloud?

    Hi there PGMiller,
    You may find the information in the article below helpful.
    iCloud: Notes overview
    http://support.apple.com/kb/PH12081
    iCloud Notes uses your @icloud.com email account to store your notes. If you don’t have an @icloud.com email address, you can create one by turning on Notes in iCloud preferences on your Mac or in iCloud settings on your iOS device.
    -Griff W. 

  • After upgrade to IOS 5, cannot get photos from camera roll to my computer, Why?

    Don't know why I cannot get photos from camera roll to my computer after upgrade to IOS 5.
    I could find an external driver to get photos before.
    and I cannot sync the website bookmarks to my computer.
    What can I do to solve this problem...??
    HELP pls!!
    Iphone 4

    Try disabling Norton and syning.  If that doesn't help try uninstalling iTunes and all of its components by following this guide: Windows XP or Windows Vista/7, then reinstall iTunes.  You must follow this guide exactly or it will not be successful.  Note: uninstalling iTunes will only remove the application; it will not touch your iTunes library or data.
    If you continue to have trouble you can use an app like PhotoSync to wirelessly transfer your photos to your computer while you continue to try to troubleshoot this.

  • I cannot get pages from iWork's to share.  Do I need a new version of pages for Mountain Lion?

    I cannot get pages from iworks to share on Mountain Lion.  Do I need a new version of pages for Mountain Lion instead of iworks?

    You need Pages 09 (Version 4) to take advantage of Mountain Lion's iCloud features. You don't say what version you have.
    Jerry

  • Author       "javax.sound.midi.InvalidMidiDataException: cannot get soundbank from stream" after java update

    Not sure where to post this issue.
    I am noticing this error since I did the Mac update. The Mac update included the java update. Right now the java version is 1.6.0_31. My Mac OS X version is 10.7.3. I am seeing the problem for all the soundfont files that I am trying to load. The error i get is.
    javax.sound.midi.InvalidMidiDataException: cannot get soundbank from stream
         at javax.sound.midi.MidiSystem.getSoundbank(MidiSystem.java:565)
         at myPackage.MyMusicApp.main(MyMusicApp.java:14)
    Below is a small program I built that shows the code.
    package myPackage;
    import java.io.File;
    import javax.sound.midi.*;
    public class MyMusicApp {
        public static void main(String[] args) {
            try {
                Synthesizer synth = MidiSystem.getSynthesizer(); synth.open();
                File f =  new File("/Users/poorav/eclipseGIT/myApp/soundbanks/1247_KitDRY.sf2");
                Soundbank soundbank = MidiSystem.getSoundbank( f);
                synth.loadAllInstruments(soundbank);
            } catch (Exception e)
                e.printStackTrace();
    I am not sure what the previous build of java I was on, but i know that it was a 1.6 version. Any ideas of what could have caused this?
    thanks

    No satisfactory progress!
    I submitted a bug for this using the Apple bug reporter on 9th April (#11208868) and despite asking for an update, it has been completely ignored (even now). I'm not impressed.
    I then issued a (paid for) Developer Technical Support issue which was credited back to my account a few days later with no explanation. When I asked why, I eventually got: "At this time DTS does not provide code-level support for Java"!
    So, Apple are assuming to responsibility for this problem. I realise that Oracle is mostly responsible for Java but Apple took this crippled version (how much testing did they do?) and updated our customers' machines with it. This has effectively disabled a key feature of our product and has cost us damage to our company's reputation. Still Apple don't care and they rely on the fact that we are too small to sue them. You can see I'm not happy! I naively thought Apple would make some attempt to assist their developers.

  • No Video/Cannot get video from the camera

    I'm in Phoenix on a business trip and I've connected to the hotels "high speed" internet access. I've launched ichat and have attemted to engage an video conference with some friends.
    I can connnect via text and audio but to no avail with video.
    The error "cannot get video from camera" I believe is the error message, keeps coming up. Why ? Is the Hotels network at fault since it is quite extensive. Firewalls in the hotels network ?
    Thanks

    Hello again,
    I have an ADSL connexion (free in France) with a Freebox (acting as a normal modem) then a netgear router/switch. Since the netgear is not uPnp, I configured the port forwarding to my mac (since forwarded everything above 4000 (TCP and UDP) to go to my mac (slight exageration, but worked).
    It worked before, so this setup is not the problem. Probably a software upgrade. I downgraded to Quicktime 7.01 but wasn't able to test it yet. Will do this week end.
    If that's the problem, frankly, Apple is very bad at communicating around iChatAV. It should be in the troubleshooting papers somewhere like "Quicktime 7.03 can be an issue for iChatAV". I also have all the developer tools installed and the latest Java 5. I can't see how that would be an issue though.
    Alex

  • I am running Win 8.1 on bootcamp and cannot get sound from internal speaker

    I am running Win 8.1 on bootcamp and cannot get sound from internal speaker

    Do you have any unknown devices in Device Manager with a yellow triangle and exclamation mark?
    Are the Bootcamp drivers installed?
    You should something similar to the following for Sound Devices, if the drivers are installed.

  • Had iPhone and now have droid..cannot get texts from other iPhone users?

    Had iPhone and now have droid..cannot get texts from other iPhone users?

    barbara, a friend of mine give me her old iphone 4 and she get the an android phone so when i typing a text message still shows me she have a iphone, she did turning off iMessage but after she contact her cellphone carrier and unlock the old iphone 4 her number get unlicked from IOS so, trying turning off iMessage is not the solution ebcause we tried and did not work , the best solution is go to ur cellphone carrier and do the request to unlock ur previews iphone then you will see the change it

  • I cannot get apps from the itunes store and there is a message that this apple id has not been used with the itunes store

    i cannot get apps from the itunes store and there is a message that this apple id has not been used with the itunes store

    I have the same problem and when I review my account and enter my cc info it tells me "Your request is temporarily unable to be processed. Please try again later." and this is day 5 of trying again later.  What the **** is the prob? It isn't the card bc it has plenty of $$$ on it.

  • I cannot get mail from my sister who was hacked

    I cannot get mail from my sister who was hacked

    If your sister's e-mail account was used to send large quantities of spam, and it has been blocked somewhere as a spammer - which may or may not be what happened - it may be difficult to tell where.  As I said, any e-mail server between you and your sister could be blocking her messages.  A reasonable place to start would be to check with your own e-mail provider and see if their servers are blocking her e-mail.  If that is not the problem, she will need to talk to her own e-mail provider about the problem, and they should be able to assist her.  Alternately, she could switch to a new e-mail address, which might not be a bad idea, since the after-effects of getting hacked and having her account sending out spam could linger for years.

  • I cannot get sound from the web, you tube, etc, however, my speakers are on, my itunes play sound?

    I cannot get sound from the web, you tube, etc, however, my speakers are on and my itunes play sound? What gives?

    Hi,
    Try the following.
    First, download the Flash uninstall utility on the link below and save it to your Desktop.
    Flash Player Uninstaller.
    When the download has completed, close all browser windows and run the uninstaller.  After this has completed, restart the notebook.
    Next, download and install Firefox and then using Firefox, download and install the latest version of Adobe Flash.
    Close all browser windows before running the Flash installer.
    Launch Firefox and see if Youtube videos etc play Ok - if they do, close Firefox, open IE and click on the same Adobe Flash link above to get a prompt to install the ActiveX component.  When done, restart IE.
    Regards,
    DP-K
    ****Click the White thumb to say thanks****
    ****Please mark Accept As Solution if it solves your problem****
    ****I don't work for HP****
    Microsoft MVP - Windows Experience

Maybe you are looking for

  • Transferring music from iphone 3gs to iphone 4s

    how do i transfer music from iphone 3gs to iphone 4s?

  • Problem to install a cube

    Hi Guys, I'm trying to install a Cube from the nbusiness content and the next error is raised : Higher-level of 0RPM_OLGUID__0SOURSYSTEM for infoobject 0RPM_OLGUID_0COORDER is not contained. Thanks, I.

  • Why no preferences?

    I'm setting up a new Mac Pro for video editing and find I am unable to access preferences in Garage Band 3.0.0 (72). I've tried the keyboard shortcut and menu. I've tried with two user accounts; one admin, one not. No response from GB. Also I have tw

  • Project System Problem

    Hi PS Gurus, I am handling Make-to-Order Customer Project Scenerio. When I create a Sales Order, automatically the Project should be created. I have defined std WBS, std networks, and created a Configurable Material and matained all the assignments.

  • Dashboards Problem after SCOM 2012 Inplace Upgrade- Missing Stored Procedures

    Dears,<o:p></o:p> After finishing SCOM 2012 in place Upgrade I face a problem on Performance and Service level dashboards, the Upgrade has been finished successfully as shown below But after I start Dashboards configuration I receive below errors Aft