JGeoRaster.load

When I try to use the JGeoRaster.load function,
I get the following error:
java.lang.NoSuchMethodError: oracle.jdbc.internal.OracleConnection.getProtocolType()Ljava/lang/String;
at oracle.xdb.XMLType.getConnType(XMLType.java:2308)
at oracle.xdb.XMLType.initConn(XMLType.java:2290)
at oracle.xdb.XMLType.<init>(XMLType.java:945)
at oracle.xdb.XMLType.createXML(XMLType.java:525)
at oracle.spatial.georaster.JGeoRaster.load(JGeoRaster.java:2060)
at ess.sis.server.GeoRasterSourceBean.initializeGeoRaster(GeoRasterSourceBean.java:235)
Does the Connection that I use to extract the STRUCT have to be of a certain type ?
Do I have some incorrect libraries in my ClassPath ?
Thanks,
Ronan

hi Ronan. I have a prablem whith jGeoRaster.load:
STRUCT st = (oracle.sql.STRUCT) RS.getObject(1);
JGeoRaster raster = JGeoRaster.load(st);
Error:
java.lang.NoSuchMethodError: javax.xml.namespace.QName.<init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
at oracle.xml.util.QxName.<init>(QxName.java:65)
at oracle.xml.util.QxNameHash.add(QxNameHash.java:116)
at oracle.xml.util.QxNameHash.create(QxNameHash.java:72)
at oracle.xml.parser.v2.XMLEntity.<init>(XMLEntity.java:136)
at oracle.xml.parser.v2.XMLEntity.<init>(XMLEntity.java:156)
at oracle.xml.parser.v2.DTD.<clinit>(DTD.java:1031)
at oracle.xml.parser.v2.NonValidatingParser.<init>(NonValidatingParser.java:155)
at oracle.xml.parser.v2.XMLParser.<init>(XMLParser.java:150)
at oracle.xml.parser.v2.DOMParser.<init>(DOMParser.java:84)
at oracle.spatial.georaster.JGeoRasterMeta.parseMetadata(JGeoRasterMeta.java:466)
at oracle.spatial.georaster.JGeoRasterMeta.<init>(JGeoRasterMeta.java:140)
at oracle.spatial.georaster.JGeoRaster.<init>(JGeoRaster.java:204)
at oracle.spatial.georaster.JGeoRaster.load(JGeoRaster.java:2066)

Similar Messages

  • Please help whith JGeoRaster.load

    Hi all.
    RS=Stmt.executeQuery("select georaster from georaster_table");
    RS.next();
    STRUCT st = (oracle.sql.STRUCT) RS.getObject(1);
    JGeoRaster raster = JGeoRaster.load(st);
    Error:
    java.lang.NoSuchMethodError: javax.xml.namespace.QName.<init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
    at oracle.xml.util.QxName.<init>(QxName.java:65)
    at oracle.xml.util.QxNameHash.add(QxNameHash.java:116)
    at oracle.xml.util.QxNameHash.create(QxNameHash.java:72)
    at oracle.xml.parser.v2.XMLEntity.<init>(XMLEntity.java:136)
    at oracle.xml.parser.v2.XMLEntity.<init>(XMLEntity.java:156)
    at oracle.xml.parser.v2.DTD.<clinit>(DTD.java:1031)
    at oracle.xml.parser.v2.NonValidatingParser.<init>(NonValidatingParser.java:155)
    at oracle.xml.parser.v2.XMLParser.<init>(XMLParser.java:150)
    at oracle.xml.parser.v2.DOMParser.<init>(DOMParser.java:84)
    at oracle.spatial.georaster.JGeoRasterMeta.parseMetadata(JGeoRasterMeta.java:466)
    at oracle.spatial.georaster.JGeoRasterMeta.<init>(JGeoRasterMeta.java:140)
    at oracle.spatial.georaster.JGeoRaster.<init>(JGeoRaster.java:204)
    at oracle.spatial.georaster.JGeoRaster.load(JGeoRaster.java:2066)
    at com.bp.SpatialMap.SpatialMapPanel.actionPerformed(SpatialMapPanel.java:266)
    at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1786)
    at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1839)
    at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
    at javax.swing.JToggleButton$ToggleButtonModel.setPressed(JToggleButton.java:273)
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:245)
    at java.awt.Component.processMouseEvent(Component.java:5100)
    at java.awt.Component.processEvent(Component.java:4897)
    at java.awt.Container.processEvent(Container.java:1569)
    at java.awt.Component.dispatchEventImpl(Component.java:3615)
    at java.awt.Container.dispatchEventImpl(Container.java:1627)
    at java.awt.Component.dispatchEvent(Component.java:3477)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3198)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)
    at java.awt.Container.dispatchEventImpl(Container.java:1613)
    at java.awt.Window.dispatchEventImpl(Window.java:1606)
    at java.awt.Component.dispatchEvent(Component.java:3477)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
    where my mistake?
    thank you

    replying to duecer
    The iTunes folder can not be found or created, and is required. The default location for this folder is inside the MyMusic folder."
    the best place to start with that one is with the following document:
    iTunes for Windows: "Disk is locked" or "iTunes folder cannot be found" when installing or opening iTunes
    ... but if you run into the complication where "My Music" doesn't appear as an option in TweakUI, perhaps try the alternate technique from the following Nigel Carpenter post. (heads up: that thread may take some time to load. leave it for a few minutes until it loads fully, otherwise you might not see the correct post by Nigel.)
    Nigel Carpenter: re: Itunes problem

  • Color (RGB)

    Hi,
    I'm struggling to get the color of my JPEG image right.
    I'm using JGeoRaster.setDefaultRed/Green/Blue(int) before I create the RenderedImage to set the layers, but nothing changes.
    Code sample:
    JGeoRaster jgeor = JGeoRaster.load(mySTRUCT);
    jgeor.setDefaultBlue(myblue);
    jgeor.setDefaultGreen(mygreen);
    jgeor.setDefaultRed(myred);
    RenderedImage ri = jgeor.getRasterImage_mergeblocks(conn,pyramidLevel,x,y,width,height);
    if(ri!=null) {
    Graphics2D graphics2d = (Graphics2D)myCanvas.getGraphics();
    graphics2d.clearRect(myCanvas.x, myCanvas.y, myCanvas.width, myCanvas.height);
    AffineTransform at = AffineTransform.getTranslateInstance(0,0);
    graphics2d.drawRenderedImage(ri, at);
    What am I missing here?
    Thanks
    Cobus

    Hi Cobus,
    Have you tried using getRasterImage(...) instead of getRasterImage_mergeblocks(...)?
    As a general note, we consider the GeoRaster Java functions to be internal, which means that they can be changed, renamed, or removed at any time. For this reason, we do not recommend that users invoke the Java functions directly. In fact, this is exactly the case with getRasterImage_mergeblocks, which has been replaced in use by getRasterImage.
    Instead, we highly recommend that you use the PL/SQL GeoRaster functions defined in the PL/SQL SDO_GEOR package. In particular, the following functions may be of interest to you:
    SDO_GEOR.setDefaultBlue
    SDO_GEOR.setDefaultRed
    SDO_GEOR.setDefaultGreen
    SDO_GEOR.getRasterSubset
    SDO_GEOR.exportTo
    These and all other external GeoRaster features are described in detail in the GeoRaster Documentation at
    http://download-west.oracle.com/docs/cd/B14117_01/appdev.101/b10827/toc.htm
    If you have a strong need to implement your application in Java, then you can use the JDBC (java.sql) and ODBC (oracle.sql) Java API's to invoke the PL/SQL functions from within Java.
    Hope this helps,
    Sophia

  • Open project cancelled or unable to load database...

    I have been running version 9 sucessfully and moving projects around with no errors.  Today, I cannot load any of my projects.
    I have been through the threads and deleted the .cpj, moved the project to the root of my hard drive, etc.
    Something else is going on. 
    I did see some information on files being blocked by the virus scanner.  I'll pursue that with my help desk.
    Any other ideas would be appreciated.
    Thanks!

    The only file that is MS Access based is the CPD file and it does not matter which version of Access you have on your machine, indeed you don't have to have Access installed.
    If you have the same problems with the supplied sample projects, then maybe something has gone wrong with your installation of RoboHelp. Click Open on the RoboHelp Starter page and then click Samples in the ribbon on the left.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • OBIEE Pre-Builts Loading one year at a time

    Hi,
    We are in a situation where we need to load one year at a time into the BAW (warehouse). I have seen this done before where the initial load was a full load and only went forward one year. Each subsequent load was for a complete year until we were current. After that, it was simply incremental loads with the standard prune days of 30.
    Does anyone have any detail as to how to do this?
    Regards

    Is the issue a performance issue (ETLs running for too long)? The problem is that if you do Year by year..and you want to do a "incremental" load for each year, that would be even more of a load..since you are not allowing for BULK load (where the tables get truncated). Either you can truncate and do BULK or incrmental..which may be an even heavier load. I think you are assuming that this approach will somehow help you from a hardware limitation standpoint..do you know for sure that it will?
    If you really do want to do it, as I mentioned, you can edit the INITIAL and END parameters. It would help if you clarify the Hardware limitation...I think there are better ways to handle this than to do what you are doing.

  • Adobe cloud tries to load addon which I have deleted in Extension manager

    when Adobe Cloud starts it tries to load an application (Edge FX lite) that I have deleted in Adobe Extension Manager cc. I get the error message ' unable to install the addon EdgeFX lite  error 603. How do I stop this?
    Also in Adobe Exchange in 'My Stuff'  there are showing addons which I have removed in Adobe extension Manager cc which I would like to be removed from this listing as I will never use them, but if I right click to uninstall I fail to get rid of them.

    Apologies, without making the assumption that you are signed in
    1) Go to https://creative.adobe.com/addons/
    2) In the top right hand corner select sign in and enter your Adobe ID and password
    3) Once logged in, on the center of the screen at the left hand side, select the link 'All your purchases and shared items'
    4) You will then be taken to a page that is the equivalent of your My Stuff panel.
    5) You can then install individual add-ons/extensions.
    Kind regards,
    Lea

  • ADOBE CLOUD ON MY DESKTOP WILL NOT WORK. IT LOADS UP BUT NOTHING FILLS THE WINDOW

    ADOBE CLOUD ON MY DESKTOP WILL NOT WORK. IT LOADS UP BUT NOTHING FILLS THE WINDOW

    BLANK Cloud Screen http://forums.adobe.com/message/5484303 may help
    -and step by step http://forums.adobe.com/thread/1440508?tstart=0
    -and http://helpx.adobe.com/creative-cloud/kb/blank-white-screen-ccp.html

  • Load Times

    I am installing Adobe Creative Cloud enterprise in a virtual lab environment.  This lab basically reverts back to a pre-defined state during reboot - all user profiles are deleted.  When a user logs in and starts Photoshop for the first time, it takes up to 30 seconds to load. If the user opens photoshop again while still logged in, it opens in about 2 seconds.  How can I speed photoshop up so it loads quickly the first time when a user launches it?  Are there settings in the user profile that I can copy to other users?  Is there something I can disable on the first load?  etc.  I tried copying some of the profile settings to the default profile, but that only reduces the launch time to about 10 seconds.  InDesign is another example.  Using Windows 7 x64, 8GB RAM machines.  No other special software installed except office 2013.  Thanks.

    Probably nothing you can do. It's likely not PS itself, its the licensing stuff and the updaters, which naturally will have a hard time in a VM that prevents them from accessing certain things. Or in short: You are forcing them into quirks mode and it may take forever until they have established their port connections after a million failed attempts.
    Mylenium

  • Loading error

    Hi,
    I'm trying to load data it is given an error,
    WRT_8025 Error in BW Target. [Number of fields in Target do not Match
    Repository fields = 15 BW fields = 18]
    WRITER_1_*_1> Wed Oct 19 15:07:55 2007
    WRITER_1_*_1> WRT_8025 Error in BW Target. [===> Compare Targets for InfoSource Failed.
    SAP system exception raised.
    key = RFC_ERROR_SYSTEM_FAILURE
    message = See RFC trace file or SAP system log for more details
    Please help me to find out the problem.
    Thanks,

    rob,
    could you give the BW version also and what data you are trying to load and where ?
    Ideally try replicating the datasource once again... and check your source system connection.
    Arun

  • How do I use edge commons composition loader to load multiple compositions with a next and back button?

    I am working on an interactive book and have set up each page as a separate composition in edge.
    I am using  the edge commons JS library to load multiple compositions into a main composition.
    You can see how this works here: Edge Commons - Extension Library for Edge Animate and Edge Reflow | EdgeDocks.com
    The way the edge commons tutorial is set up requires a button for each composition i want to load. I am interested in loading multiple compositions with a "next" and "back" button, and a "swipe left, "swipe right" gesture on the content symbol that each composition is loaded into. I also need the swipe features on the content symbol not to interfere with the interactive elements on the loaded composition.
    Please suggest a solution that will work without adding additional scripts beyond edge commons and jquery.

    Sort of. I'm using this code inside an action for a button symbol. But it doesn't work perfectly. Trying to debug it.
    Let me know if you have any luck.
    //Check to see if pageCounter already exists
    if (typeof EC.pageCounter === 'undefined') {
      // it doesn't exist so initialize it to first page
        EC.pageCounter = 2;
    //check if the page is only 1 digit -- patch for single digit
    if (EC.pageCounter < 9) {
       // it is, so we need to pad a 0 on the front.
      EC.pageCounterString = "0" + EC.pageCounter;
      //e.g.  01 ...09,11,12,13....115,222352,,....
    else {
      EC.pageCounterString = EC.pageCounter;
    EC.loadComposition(EC.pageCounterString + "/publish/web/" + EC.pageCounterString + ".html", sym.$("container"));
    EC.pageCounter = EC.pageCounter + 1;
    //TODO for back  -1

  • Data loading

    Requirement is that enhanced the extractor by adding fields mapped the fields in bw in DSO,added in dimension in cube and also mapped in multiprovider ,on multiprovider report is build.
    Now for testing need to reflect the data in report.
    How can it achieve ,need to load the data from infoobjects DSO to cube is it the right approach.
    Please suggest how to achieve it starting from loading infoobject then to DSO and then to cube and finally to reflect the data in report.

    Hi there,
    I guess you've said it all.
    You enhance a datasource with new fields, and you've also added those new fields in the DSO and also mapped from the datasource to the DSO these new fields. You've also add the fields in the cube and mapp the fields from the DSO to the cube. You've also add the fileds in the MultiProvider and have identified the fields there. You've also changed the query with the new fields
    So for loading the data, you should load the attributes and/or texts for the new InfoObjects first.
    After that activate the master data for those new fields.
    After that load the data from the datasource to the DSO and activate the DSO
    After that load the data from the DSO to the InfoCube and after that you can check the report with the contents of this new data (with the new fields).
    Hope this helps,
    Regards,
    Diogo.

  • Loading

    Hi ,
    Need to load 2 newly added field in DSO and then in cube (fields where added in extractor),need to run just transactional load or need to load master data first

    Hi
    Have you also added those new fields to DSO and cubes??
    if no please add them there and update respective transformations as well.
    if yes its always good idea to load master data first and then transaction data.
    specially before loading to cube or to DSO with SIds activated.
    Hope this helps
    Regards
    Sudeep

  • How to add fields to already loaded cube or dso and how to fill records in

    how to add fields to already loaded cube or dso and how to fill  it.can any one tell me the critical issues in data loading process..?

    This is sensitive task with regards to large volumes of data in infoproviders.
    The issue is to reload of data in case of adjusted structures of infoproviders.
    Indeed there are some tricks. See following:
    http://weblogs.sdn.sap.com/cs/blank/view/wlg/19300
    https://service.sap.com/sap/support/notes/1287382

  • When i login to a website, it loads then gives me a blank page ?

    I can view a page regularly, like everything is normal until i go to log in. I get a blank page as soon as the page loads, and this happens to many websites. Ive tried searching in safemode, editing my firewall settings, removing cookies, disabling plug-ins, clearing history/cache, but i've had no luck so far. Anyone have any solutions ?
    I notice that every page i load includes ".php" in the URL bar.
    Thanks in advance

    Hello,
    The Reset Firefox feature can fix many issues by restoring Firefox to its factory default state while saving your essential information.
    Note: ''This will cause you to lose any Extensions, Open websites, and some Preferences.''
    To Reset Firefox do the following:
    #Go to Firefox > Help > Troubleshooting Information.
    #Click the "Reset Firefox" button.
    #Firefox will close and reset. After Firefox is done, it will show a window with the information that is imported. Click Finish.
    #Firefox will open with all factory defaults applied.
    Further information can be found in the [[Reset Firefox – easily fix most problems]] article.
    Did this fix your problems? Please report back to us!
    Thank you.

  • Loading sound clips in my swing application

    I have searched all the forums, din't find what i want.
    I have many small sound files to be played in my application. Even on mouse Pressed, Drage etc etc....
    Now I was looking for a better way of Loading the Sound files in memory as the application starts.....
    If I use the Clip Interface of javax.sound and initilize them and open a stream, invoke the open() method, and store it in hashmap. So that when ever i need that file i will lookup for that clip and trigger the start() method which actually plays the sound. IS the approach the right approach, will not the Cip object keep the IO handle open, I have nearly 40 Clips to be loaded.
    Can any one suggest me the better way of implementing this.
    TIA
    Zoha

    As far as I know,there is no facility for detecting mouse scrolling wheel in JDK 1.3.
    Check it in the later releases of JDK.

Maybe you are looking for