RoutingEngineException

Hi,
We have populated PARTITION table… We have only 301 records in NODE_PART table. So we used procedure as
exec SDO_ROUTER_PARTITION.partition_router('NODE_PART', 20);
result of the above is
SQL> exec SDO_ROUTER_PARTITION.partition_router('NODE_PART', 10);
Node Part count : 301
3 Node Part count : 301
31 Node Part count : 301
4 Node Part count : 301
2. Node Part count : 301
2. Node Part count : 301
PL/SQL procedure successfully completed.
But its creating only one partition in PARTTION table.
While we are trying to query with
Simple Route Requests using un-geocoded addresses
a) using edge_id from 4 to edge_id =10 we get the error message as
<?xml version="1.0" encoding="UTF-8" ?>
<RoutingEngineException>[REE-0121: Could not find blob corresponding to partition 26]</RoutingEngineException>
b)     Using starting street name as =”Bridge 10 “ and end street as “Johnston” we get error message as
<?xml version="1.0" encoding="UTF-8" ?>
<RouteServerException>[RSE-0206: Unexpected output format from Geocoder!!!]</RouteServerException>
Can you suggest what could be the errors due to
Thanks and Regards
Aravindan

Hi Siva / Cfreiwal,
The function class used in Edge table is 2.
Secondly, the result for the sql queries is as under.
SQL> select count(*) from node_part;
COUNT(*)
301
SQL> select unique(p_id) from node_part;
P_ID
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
32 rows selected.
SQL> select count(*) from edge_part;
COUNT(*)
399
SQL> select unique(SOURCE_P_ID) from edge_part;
SOURCE_P_ID
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
32 rows selected.
Looking forward for a quick response..
Thanks and Regards
Ashish Dhawan

Similar Messages

  • Getting Error while running SDO_ROUTER_PARTITION in Release 10.2.0.1.0

    Hi
    We are building the road network for Bangalore data with Oracle Routing server. we are using Oracle Release 10.2.0.1.0. I haven’t run the script loadrouter.sql which is shipped with Oracle Routing server
    When I try to create the PARTITION table using the procedure
    exec SDO_ROUTER_PARTITION.partition_router('NODE_PART', 4000);
    we are getting the error as
    ERROR at line 1:
    ORA-29531: no method partition_router in class
    oracle/spatial/router/partitioning/ElocationPartition
    ORA-06512: at "MDSYS.SDO_ROUTER_PARTITION", line 99
    ORA-06512: at "MDSYS.SDO_ROUTER_PARTITION", line 663
    ORA-06512: at line 1
    Even later I tried to run loadrouter.sql script, its giving error as package already exists.
    But I copied the entire tables into dump file and put it in Oracle Release 10.1.0.4.0 its working fine because already I run the loadrouter.sql script there.
    Then I configured the Routing Server for this Data, its working fine.
    But when I make the return_driving_directions=”true” its giving error as
    <?xml version="1.0" encoding="UTF-8" ?>
    <RoutingEngineException>[REE-0108: SQLException caught while trying to call SDO_ROUTER_PARTITION.get_edge_info: [ORA-00942: table or view does not exist ORA-06512: at "MDSYS.SDO_ROUTER_PARTITION", line 1606 ORA-06512: at line 1 ]]</RoutingEngineException>
    How to solve these problems?

    hi,
    do you have atg search installed in your environment? if so configure it properly
    Edited by: Raghuram A on Mar 14, 2013 11:33 PM

  • Oracle Routing NEW_PARTITION object

    Hi forum,
    executing sdo_router_partition.partition_router(); throws the following exception:
    ORA-04043: Objekt NEW_PARTITION ist nicht vorhanden
    ORA-06512: in "MDSYS.SDO_ROUTER_PARTITION", Zeile 909
    ORA-06512: in Zeile 1
    04043. 00000 - "object %s does not exist"
    *Cause:    An object name was specified that was not recognized by the system.
    There are several possible causes:
    - An invalid name for a table, view, sequence, procedure, function,
    package, or package body was entered. Since the system could not
    recognize the invalid name, it responded with the message that the
    named object does not exist.
    - An attempt was made to rename an index or a cluster, or some
    other object that cannot be renamed.
    *Action:   Check the spelling of the named object and rerun the code. (Valid
    names of tables, views, functions, etc. can be listed by querying
    the data dictionary.)
    I found no information about the new_partition object in the routeserver documentation? What is the problem?
    Arnd.

    OK, step by step.
    exec sdo_router_partition.partition_router('NODE_PART',16); works. It#s only a small network for test issues. The new partition table is created, two partitions are created, the partition_id attribute in the edge and node table is updated.
    No errors in the log file:
    ******* Beginning SDO Router partitioning
    Do Nov 12 13:52:11 2009
    INFO: create and load node_part table
    Do Nov 12 13:52:11 2009
    INFO: cleanup partitioning temporary tables
    Do Nov 12 13:52:11 2009
    INFO: begin partitioning of NODE_PART partition level: 0 min(partition id): 0 max(partition id): 0
    INFO: generating 2 partitions from level:0 to level: 0 ...
    Do Nov 12 13:52:12 2009
    INFO: partitioning NODE_PART level: 0 partition id: 1
    INFO: partitioning level: 0 with 2 partitions took .017 min.
    Do Nov 12 13:52:12 2009
    INFO: completed partitioning of NODE_PART
    Do Nov 12 13:52:12 2009
    INFO: create index np_v_idx on node_part
    Do Nov 12 13:52:12 2009
    INFO: create and load edge_part
    Do Nov 12 13:52:12 2009
    INFO: create index edge_part_s_idx on edge_part
    Do Nov 12 13:52:12 2009
    INFO: create index edge_part_t_idx on edge_part
    Do Nov 12 13:52:12 2009
    INFO: create index edge_part_st_p_idx on edge_part
    Do Nov 12 13:52:12 2009
    INFO: create and load outedge and inedge columns in node_part table
    Do Nov 12 13:52:13 2009
    INFO: create index node_part_p_idx on node_part
    Do Nov 12 13:52:13 2009
    INFO: recreating node table with partitioning information
    Do Nov 12 13:52:13 2009
    INFO: updating edge table with partitioning information
    Do Nov 12 13:52:13 2009
    INFO: creating and loading super_node_ids table
    Do Nov 12 13:52:13 2009
    INFO: creating and loading super_edge_ids table
    Do Nov 12 13:52:13 2009
    INFO: Create and load the restricted_nodes table
    Do Nov 12 13:52:13 2009
    INFO: Create and load the restricted_edges table
    Thu Nov 12 13:52:13 CET 2009
    INFO: Starting turn restriction generation...
    Thu Nov 12 13:52:13 CET 2009
    INFO: Turn restriction generation done... 0.0 seconds.
    Thu Nov 12 13:52:13 CET 2009
    INFO: Starting generation of 2 database partition blobs
    Thu Nov 12 13:52:13 CET 2009
    INFO: 0Super Nodes read in 0.016 seconds
    Thu Nov 12 13:52:13 CET 2009
    INFO: SQL String: CREATE TABLE new_partition
    ( partition_id number,
    subnetwork BLOB ,
    num_nodes NUMBER,
    num_non_boundary_edges NUMBER,
    num_outgoing_boundary_edges NUMBER,
    num_incoming_boundary_edges NUMBER )
    lob(subnetwork) store as
    ( storage ( initial 512K next 128K maxextents unlimited)
    chunk 32768
    nocache nologging )
    Thu Nov 12 13:52:13 CET 2009
    INFO: Continuing from partition id: 1
    Thu Nov 12 13:52:13 CET 2009
    INFO: Partition: 1 has 0 Highway Nodes...
    Thu Nov 12 13:52:13 CET 2009
    INFO: Partition 1 read: 8 nodes: 18 non-boundary edges: 2 boundary out edges: 2 boundary in edges
    Thu Nov 12 13:52:13 CET 2009
    INFO: generating node information for partition 1
    Thu Nov 12 13:52:13 CET 2009
    INFO: generating non-boundary edge information for partition 1
    Thu Nov 12 13:52:13 CET 2009
    INFO: generating out edge information for partition 1
    Thu Nov 12 13:52:13 CET 2009
    INFO: generating in edge information for partition 1
    Thu Nov 12 13:52:14 CET 2009
    INFO: Blob creation for partition: 1 completed in 0.781 seconds
    Thu Nov 12 13:52:14 CET 2009
    INFO: Partition: 2 has 0 Highway Nodes...
    Thu Nov 12 13:52:14 CET 2009
    INFO: Partition 2 read: 8 nodes: 14 non-boundary edges: 2 boundary out edges: 2 boundary in edges
    Thu Nov 12 13:52:14 CET 2009
    INFO: generating node information for partition 2
    Thu Nov 12 13:52:14 CET 2009
    INFO: generating non-boundary edge information for partition 2
    Thu Nov 12 13:52:14 CET 2009
    INFO: generating out edge information for partition 2
    Thu Nov 12 13:52:14 CET 2009
    INFO: generating in edge information for partition 2
    Thu Nov 12 13:52:14 CET 2009
    INFO: Blob creation for partition: 2 completed in 0.031 seconds
    Thu Nov 12 13:52:14 CET 2009
    INFO: Completed generation of database partition blobs in 0.828 seconds
    Thu Nov 12 13:52:14 CET 2009
    INFO: Begin processing 0 super nodes.
    Thu Nov 12 13:52:14 CET 2009
    INFO: Read Super Nodes in 0.016 seconds.
    Thu Nov 12 13:52:14 CET 2009
    INFO: Begin processing 0 super edges.
    Thu Nov 12 13:52:14 CET 2009
    INFO: Read Super Edges in 0.0 seconds.
    Thu Nov 12 13:52:14 CET 2009
    ERROR: **** Exception thrown: See stack trace in the trace files.
    Thu Nov 12 13:52:14 CET 2009
    INFO: Write partitions completed in 0.015 seconds.
    Do Nov 12 13:52:14 2009
    INFO: creating the final partition table
    Do Nov 12 13:52:14 2009
    INFO: create index partition_p_idx on partition table
    Do Nov 12 13:52:14 2009
    ******* Completed SDO Router partitioning
    The next error occures during startup the routeserver engine:
    [oracle.spatial.router.server.RouteServerImplementation, Thu Nov 12 13:55:51 CET 2009,#OC4J Launcher, FATAL] oracle.spatial.router.engine.RoutingEngineException: [REE-0121: Could not find blob corresponding to partition 0]
         at oracle.spatial.router.engine.PartitionCache.loadPartitionFromDatabase(PartitionCache.java:294)
         at oracle.spatial.router.engine.PartitionCache.obtainPartitionReference(PartitionCache.java:248)
         at oracle.spatial.router.engine.Network.<init>(Network.java:77)
         at oracle.spatial.router.server.RouteServerImplementation.<init>(RouteServerImplementation.java:145)
         at oracle.spatial.router.server.RouteServerServlet.init(RouteServerServlet.java:319)
         at com.evermind.server.http.HttpApplication.loadServlet(HttpApplication.java:2361)
         at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4810)
         at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4734)
         at com.evermind.server.http.HttpApplication.initPreloadServlets(HttpApplication.java:4922)
         at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:1134)
         at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:738)
         at com.evermind.server.ApplicationStateRunning.getHttpApplication(ApplicationStateRunning.java:414)
         at com.evermind.server.Application.getHttpApplication(Application.java:545)
         at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.createHttpApplicationFromReference(HttpSite.java:1990)
         at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.<init>(HttpSite.java:1909)
         at com.evermind.server.http.HttpSite.initApplications(HttpSite.java:645)
         at com.evermind.server.http.HttpSite.setConfig(HttpSite.java:290)
         at com.evermind.server.http.HttpServer.setSites(HttpServer.java:270)
         at com.evermind.server.http.HttpServer.setConfig(HttpServer.java:177)
         at com.evermind.server.ApplicationServer.initializeHttp(ApplicationServer.java:2450)
         at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:998)
         at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:131)
         at java.lang.Thread.run(Thread.java:595)
    So again, what#s wrong??

  • Exception caught while trying to initialize Oracle RouteServer

    Hi,
    While starting my application server, i am facing this error.
    05/09/02 14:32:53 Exception caught while trying to initialize Oracle RouteServer
    05/09/02 14:32:53 oracle.spatial.router.engine.RoutingEngineException: [REE-0126: Node reference for start  node 42788087 of
    edge -23202655 is missing in partition 0]
    05/09/02 14:32:53 at oracle.spatial.router.engine.Partition.fillNonBoundaryEdgesWithNodeReferences(Partition.java:183)
    05/09/02 14:32:53 at oracle.spatial.router.engine.Partition.readPartition(Partition.java:110)
    05/09/02 14:32:53 at oracle.spatial.router.engine.PartitionCache.loadPartitionFromDatabase(PartitionCache.java:276)
    05/09/02 14:32:53 at oracle.spatial.router.engine.PartitionCache.obtainPartitionReference(PartitionCache.java:234)
    05/09/02 14:32:53 at oracle.spatial.router.engine.Network.<init>(Network.java:62)
    05/09/02 14:32:53 at oracle.spatial.router.server.RouteServerImplementation.<init>(RouteServerImplementation.java:128)
    05/09/02 14:32:53 at oracle.spatial.router.server.RouteServerServlet.init(RouteServerServlet.java:191)
    05/09/02 14:32:53 at com.evermind.server.http.HttpApplication.loadServlet(HttpApplication.java:2094)
    05/09/02 14:32:53 at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4523)
    05/09/02 14:32:53 at com.evermind.server.http.HttpApplication.initPreloadServlets(HttpApplication.java:4617)
    05/09/02 14:32:53 at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:765)
    05/09/02 14:32:53 at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:497)
    05/09/02 14:32:53 at com.evermind.server.Application.getHttpApplication(Application.java:886)
    05/09/02 14:32:53 at com.evermind.server.http.HttpServer.getHttpApplication(HttpServer.java:688)
    05/09/02 14:32:53 at com.evermind.server.http.HttpSite.initApplications(HttpSite.java:570)
    05/09/02 14:32:53 at com.evermind.server.http.HttpSite.setConfig(HttpSite.java:263)
    05/09/02 14:32:53 at com.evermind.server.http.HttpServer.setSites(HttpServer.java:259)
    05/09/02 14:32:53 at com.evermind.server.http.HttpServer.setConfig(HttpServer.java:160)
    05/09/02 14:32:53 at com.evermind.server.ApplicationServer.initializeHttp(ApplicationServer.java:2325)
    05/09/02 14:32:53 at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:1498)
    05/09/02 14:32:53 at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:93)
    05/09/02 14:32:53 at java.lang.Thread.run(Thread.java:534)
    Can you suggest something on this..!
    Thanks and Regards
    Ashish Dhawan

    Hi,
    Please refer to the answers for your questions:
    Q) I assume you imported this data, what tables did you import? Was it non-Router schema data that was massaged into the Routers schema? Was is it limited data from another Router schema (NODE, EDGE and SIGN_POST tables)? How was the data exported/imported? Could you run the following query and post the result?
    Ans:) The data had been downloaded from the
    http://www.adci.com/products/navteq/index.html.
    This was a sample oracle 10g data of "pinellas-county"
    Import statments used were:
    1. Create User that will "house" the Spatial data. Should be the same name as the user being exported.
         CREATE USER ADCI PROFILE "DEFAULT"
         IDENTIFIED BY "ADCI" DEFAULT TABLESPACE "USERS"
         TEMPORARY TABLESPACE "TEMP"
         ACCOUNT UNLOCK;
         GRANT "CONNECT" TO "ADCI";
    GRANT imp_full_database, create table, create sequence TO ADCI;
    2. Create directory for import (The directory will be the location of the dump file)
         CREATE DIRECTORY adci_dump_dir AS '<location of dump file>';
         GRANT READ, WRITE ON DIRECTORY adci_dump_dir TO adci;
         ALTER USER adci QUOTA UNLIMITED ON USERS;
    3. Import Tablespace by running the following command. (Modify the datafile location)
         ** Note - You may need to convert the endian format before importing the datafile.
         (The source datafile is from platform id #10 - See below)
         impdp adci@<database alias> DIRECTORY=adci_dump_dir DUMPFILE=tts.dmp TRANSPORT_DATAFILES='<directory location>\adci_data.ora'
         ** Ignore ORA-31684 Errors on MDSYS objects
         Oracle10g Release 1 note:
         Oracle 10g Release 1 may report several errors when importing the transportable tables. These errors can be safely ignored. There are two types of errors:
         ORA-31684: Object type TYPE:"MDSYS"."XXXXX" already exists
         ORA-39083: Object type TYPE failed to create with error:
         ORA-02311: cannot alter with COMPILE option a valid type with type or table dependents
         Failing sql is:
         ALTER TYPE "MDSYS"."XXXXX" COMPILE SPECIFICATION
         and:
         ORA-31684: Object type TYPE_BODY:"MDSYS"."SDO_GEOMETRY" already exists
         At the end of the import, the message will be:
         Job "MAPPER"."SYS_IMPORT_TRANSPORTABLE_01" completed with 11 error(s)
    4. Alter tablespace to be in read write mode.
         ALTER TABLESPACE ADCI_DATA READ WRITE;
    5. Grant unlimited quota on transportable tablespace to user created in step 1
         ALTER USER ADCI QUOTA UNLIMITED ON ADCI_DATA;
    6. Initialize Spatial Indexes as owner of all spatial indexes
         EXEC SDO_UTIL.INITIALIZE_INDEXES_FOR_TTS
    7. Run the following script to build indexes, add metadata
         CONNECT ADCI@<ALIAS NAME>
         INSERT INTO USER_SDO_MAPS SELECT * FROM SDO_MAPS;
         INSERT INTO USER_SDO_THEMES SELECT * FROM SDO_THEMES;
         INSERT INTO USER_SDO_STYLES SELECT * FROM SDO_STYLES;     
         COMMIT;
    8. Collect Schema statistics
         Run following command while connected as a priviledged user.
         exec dbms_stats.gather_schema_stats(ownname=>'ADCI',cascade=>TRUE,estimate_percent=>15);
    Q) select index_name from USER_INDEXES where table_name='EDGE';
    Ans:)
    INDEX_NAME
    EDGE_NAME_IDX
    START_NODE_ID_IDX
    END_NODE_ID_IDX
    EDGE_ID_IDX
    EDGE_SIN
    SYS_IL0000095839C00014$$
    SYS_IL0000095839C00015$$
    Step>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>Drop tables:
    drop table EDGE_PART; Table Dropped
    drop table NODE_PART; Table Dropped
    drop table PARTITION; Table Dropped
    drop table NEW_PARTITION; Table doesnot exist
    Step>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> If the delete works, great. If the delete doesn't work drop all of the Router shema tables, reimport the data and try the above delete command again.
    Processing object type TRANSPORTABLE_EXPORT/PLUGTS_BLK
    Processing object type TRANSPORTABLE_EXPORT/TYPE/TYPE_SPEC
    ORA-31684: Object type TYPE:"MDSYS"."NUM_ARRAY" already exists
    ORA-31684: Object type TYPE:"MDSYS"."SDO_ORDINATE_ARRAY" already exists
    ORA-39083: Object type TYPE failed to create with error:
    ORA-02311: cannot alter with COMPILE option a valid type with type or table dependents
    Failing sql is:
    ALTER TYPE "MDSYS"."SDO_ORDINATE_ARRAY" COMPILE SPECIFICATION PLSQL_OPTIMIZE_LEVEL= 2 PLSQ
    L_CODE_TYPE= INTERPRETED PLSQL_DEBUG= FALSE
    ORA-31684: Object type TYPE:"MDSYS"."SDO_ELEM_INFO_ARRAY" already exists
    ORA-39083: Object type TYPE failed to create with error:
    ORA-02311: cannot alter with COMPILE option a valid type with type or table dependents
    Failing sql is:
    ALTER TYPE "MDSYS"."SDO_ELEM_INFO_ARRAY" COMPILE SPECIFICATION PLSQL_OPTIMIZE_LEVEL= 2 PLS
    QL_CODE_TYPE= INTERPRETED PLSQL_DEBUG= FALSE
    ORA-31684: Object type TYPE:"MDSYS"."SDO_POINT_TYPE" already exists
    ORA-39083: Object type TYPE failed to create with error:
    ORA-02311: cannot alter with COMPILE option a valid type with type or table dependents
    Failing sql is:
    ALTER TYPE "MDSYS"."SDO_POINT_TYPE" COMPILE SPECIFICATION PLSQL_OPTIMIZE_LEVEL= 2 PLSQL_CO
    DE_TYPE= INTERPRETED PLSQL_DEBUG= FALSE
    ORA-31684: Object type TYPE:"MDSYS"."SDO_KEYWORDARRAY" already exists
    ORA-31684: Object type TYPE:"MDSYS"."SDO_GEOMETRY" already exists
    ORA-39083: Object type TYPE failed to create with error:
    ORA-02311: cannot alter with COMPILE option a valid type with type or table dependents
    Failing sql is:
    ALTER TYPE "MDSYS"."SDO_GEOMETRY" COMPILE SPECIFICATION PLSQL_OPTIMIZE_LEVEL= 2 PLSQL_CODE
    TYPE=  INTERPRETED    PLSQLDEBUG= FALSE
    Processing object type TRANSPORTABLE_EXPORT/TYPE/GRANT/OBJECT_GRANT
    Processing object type TRANSPORTABLE_EXPORT/TYPE/TYPE_BODY
    ORA-31684: Object type TYPE_BODY:"MDSYS"."SDO_GEOMETRY" already exists
    Processing object type TRANSPORTABLE_EXPORT/TABLE
    Processing object type TRANSPORTABLE_EXPORT/INDEX
    Processing object type TRANSPORTABLE_EXPORT/INDEX_STATISTICS
    Processing object type TRANSPORTABLE_EXPORT/TABLE_STATISTICS
    Processing object type TRANSPORTABLE_EXPORT/DOMAIN_INDEX/TABLE
    Processing object type TRANSPORTABLE_EXPORT/DOMAIN_INDEX/INDEX
    Processing object type TRANSPORTABLE_EXPORT/TTE_POSTINST/PLUGTS_BLK
    Job "ADCI"."SYS_IMPORT_TRANSPORTABLE_01" completed with 11 error(s) at 12:11
    As the data already exists in MDSYS user for the same data, thus these errors have started cropping up. What do you suggest..Now i think the data has crashed completely. What do you suggest...??
    Thanks and Regards
    Ashish Dhawan

  • Oracle routeserver initialization exception

    Hi forum,
    I'm trying to use different routeserver demos. Now I use the pro oracle spatial 11 dataset. Everything is imported into the database, metadata were inserted and sdo_router_partition.partition_router is done.
    Configuration is done in the web.xml file.
    The startup throws the following excception:
    [oracle.spatial.router.server.RouteServerImplementation, Thu Nov 05 19:43:53 CET 2009,#OC4J Launcher, FATAL] oracle.spatial.router.engine.RoutingEngineException: [REE-0126: Node reference for start  node 4841079272520679426 of edge 108501659 is missing in partition 0]
         at oracle.spatial.router.engine.Partition.fillNonBoundaryEdgesWithNodeReferences(Partition.java:188)
         at oracle.spatial.router.engine.Partition.readPartition(Partition.java:114)
         at oracle.spatial.router.engine.PartitionCache.loadPartitionFromDatabase(PartitionCache.java:290)
         at oracle.spatial.router.engine.PartitionCache.obtainPartitionReference(PartitionCache.java:248)
         at oracle.spatial.router.engine.Network.<init>(Network.java:77)
         at oracle.spatial.router.server.RouteServerImplementation.<init>(RouteServerImplementation.java:145)
         at oracle.spatial.router.server.RouteServerServlet.init(RouteServerServlet.java:319)
         at com.evermind.server.http.HttpApplication.loadServlet(HttpApplication.java:2361)
         at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4810)
         at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4734)
         at com.evermind.server.http.HttpApplication.initPreloadServlets(HttpApplication.java:4922)
         at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:1134)
         at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:738)
         at com.evermind.server.ApplicationStateRunning.getHttpApplication(ApplicationStateRunning.java:414)
         at com.evermind.server.Application.getHttpApplication(Application.java:545)
         at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.createHttpApplicationFromReference(HttpSite.java:1990)
         at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.<init>(HttpSite.java:1909)
         at com.evermind.server.http.HttpSite.initApplications(HttpSite.java:645)
         at com.evermind.server.http.HttpSite.setConfig(HttpSite.java:290)
         at com.evermind.server.http.HttpServer.setSites(HttpServer.java:270)
         at com.evermind.server.http.HttpServer.setConfig(HttpServer.java:177)
         at com.evermind.server.ApplicationServer.initializeHttp(ApplicationServer.java:2450)
         at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:998)
         at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:131)
         at java.lang.Thread.run(Thread.java:619)
    A datarow for partition 0 is in the partition table.
    So, where ist the problem? I'm running oracle 11.1.0.7 on Win2003 with quickstartkit mv11r1_qs and deployed routeserver from ORA_HOME/md/jlib folder (routeserver.ear).
    Arnd

    The first problem is solved, it seems to be a data issue. Use the nacteq_sd dataset for the demo, not the adci dataset.
    Here is my next problem: The routeserver samples doesn't work, I get a java IO exception (using pre geocoded demo, no geocoder access!!):
    <?xml version="1.0" encoding="UTF-8" ?>
    <generic_error>Error: Message:Error in sending request to elocation server. Nested exception is: java.io.FileNotFoundException: http://localhost:8888/servlets/lbs java.io.FileNotFoundException: http://localhost:8888/servlets/lbs at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1151) at oracle.spatial.geocoder.client.HttpClientGeocoder.sendRequest(HttpClientGeocoder.java:224) at oracle.spatial.geocoder.client.HttpClientGeocoder.batchGeocode(HttpClientGeocoder.java:146) at oracle.spatial.router.server.RouteServerServlet.processBatchRouteRequest(RouteServerServlet.java:736) at oracle.spatial.router.server.RouteServerServlet.takeXMLRequestAndReturnResponse(RouteServerServlet.java:562) at oracle.spatial.router.server.RouteServerServlet.doPost(RouteServerServlet.java:419) at javax.servlet.http.HttpServlet.service(HttpServlet.java:763) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:711) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368) at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866) at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448) at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110) at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260) at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303) at java.lang.Thread.run(Thread.java:595)</generic_error>
    My route server is deployed in http://localhost:8888/routeserver/
    The URL http://localhost:8888/servlets/lbs returns 404 - file not found. What is the correct value for the setting?
    <servlet-mapping>
    <servlet-name>RouteServerServlet</servlet-name>
    <url-pattern>/servlet/RouteServerServlet</url-pattern>
    </servlet-mapping>

  • NegativeArraySizeException- readNode- RouteServerImplementation constructor

    Hi people,
    I started oc4j after to create tables (node, egde and sign_post tables) and running SQL> exec sdo_router_partition.partition_router('NODE_PART', xxx);
    The things mean ok. There are data in node, egde and partition tables. There are 530 lines in edge, 501 in node and x lines in PARTITION table. I think this is ok...
    When I have 5 lines in PARTITION table, the NegativeArraySizeException is showed. But, if I change the second parameter of exec sdo_router_partition.partition_router to generate 3 lines in PARTITION table, the IOException is showed.
    The two logs are presented here:
    A) 5 lines in PARTITION table:
    09/01/25 12:59:01 Loading partition 0 from database: Exception caught in RouteServerImplementation constructor
    09/01/25 12:59:01 [oracle.spatial.router.server.RouteServerImplementation, Mon Jan 25 11:50:44 BRST 2009,#OC4J Launcher, FATAL] java.lang.NegativeArraySizeException
    at oracle.spatial.router.engine.Node.readNode(Node.java:87)
    at oracle.spatial.router.engine.Partition.readPartition(Partition.java:86)
    at oracle.spatial.router.engine.PartitionCache.loadPartitionFromDatabase(PartitionCache.java:286)
    at oracle.spatial.router.engine.PartitionCache.obtainPartitionReference(PartitionCache.java:244)
    at oracle.spatial.router.engine.Network.<init>(Network.java:77)
    at oracle.spatial.router.server.RouteServerImplementation.<init>(RouteServerImplementation.java:136)
    at oracle.spatial.router.server.RouteServerServlet.init(RouteServerServlet.java:299)
    at com.evermind.server.http.HttpApplication.loadServlet(HttpApplication.java:2379)
    at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4830)
    at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4754)
    at com.evermind.server.http.HttpApplication.initPreloadServlets(HttpApplication.java:4942)
    at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:1144)
    at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:741)
    at com.evermind.server.ApplicationStateRunning.getHttpApplication(ApplicationStateRunning.java:431)
    at com.evermind.server.Application.getHttpApplication(Application.java:586)
    at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.createHttpApplicationFromReference(HttpSite.java:1987)
    at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.<init>(HttpSite.java:1906)
    at com.evermind.server.http.HttpSite.initApplications(HttpSite.java:643)
    at com.evermind.server.http.HttpSite.setConfig(HttpSite.java:290)
    at com.evermind.server.http.HttpServer.setSites(HttpServer.java:270)
    at com.evermind.server.http.HttpServer.setConfig(HttpServer.java:177)
    at com.evermind.server.ApplicationServer.initializeHttp(ApplicationServer.java:2493)
    at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:1042)
    at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:131)
    at java.lang.Thread.run(Thread.java:595)
    09/01/25 12:59:01 Exception caught while trying to initialize Oracle RouteServer
    09/01/25 12:59:01 java.lang.NegativeArraySizeException
    09/01/25 12:59:01 at oracle.spatial.router.engine.Node.readNode(Node.java:87)
    09/01/25 12:59:01 at oracle.spatial.router.engine.Partition.readPartition(Partition.java:86)
    09/01/25 12:59:01 at oracle.spatial.router.engine.PartitionCache.loadPartitionFromDatabase(PartitionCache.java:286)
    09/01/25 12:59:01 at oracle.spatial.router.engine.PartitionCache.obtainPartitionReference(PartitionCache.java:244)
    09/01/25 12:59:01 at oracle.spatial.router.engine.Network.<init>(Network.java:77)
    09/01/25 12:59:01 at oracle.spatial.router.server.RouteServerImplementation.<init>(RouteServerImplementation.java:136)
    09/01/25 12:59:01 at oracle.spatial.router.server.RouteServerServlet.init(RouteServerServlet.java:299)
    09/01/25 12:59:01 at com.evermind.server.http.HttpApplication.loadServlet(HttpApplication.java:2379)
    09/01/25 12:59:01 at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4830)
    09/01/25 12:59:01 at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4754)
    09/01/25 12:59:01 at com.evermind.server.http.HttpApplication.initPreloadServlets(HttpApplication.java:4942)
    09/01/25 12:59:01 at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:1144)
    09/01/25 12:59:01 at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:741)
    09/01/25 12:59:01 at com.evermind.server.ApplicationStateRunning.getHttpApplication(ApplicationStateRunning.java:431)
    09/01/25 12:59:01 at com.evermind.server.Application.getHttpApplication(Application.java:586)
    09/01/25 12:59:01 at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.createHttpApplicationFromReference(HttpSite.java:1987)
    09/01/25 12:59:01 at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.<init>(HttpSite.java:1906)
    09/01/25 12:59:01 at com.evermind.server.http.HttpSite.initApplications(HttpSite.java:643)
    09/01/25 12:59:01 at com.evermind.server.http.HttpSite.setConfig(HttpSite.java:290)
    09/01/25 12:59:01 at com.evermind.server.http.HttpServer.setSites(HttpServer.java:270)
    09/01/25 12:59:01 at com.evermind.server.http.HttpServer.setConfig(HttpServer.java:177)
    09/01/25 12:59:01 at com.evermind.server.ApplicationServer.initializeHttp(ApplicationServer.java:2493)
    09/01/25 12:59:01 at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:1042)
    09/01/25 12:59:01 at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:131)
    09/01/25 12:59:01 at java.lang.Thread.run(Thread.java:595)
    09/01/25 12:59:01 Oracle Containers for J2EE 10g (10.1.3.4.0) initialized
    B) 3 lines in PARTITION table:
    09/01/27 18:08:10 Loading partition 0 from database: Exception caught in RouteServerImplementation constructor
    09/01/27 18:08:11 [oracle.spatial.router.server.RouteServerImplementation, Tue Jan 27 18:08:11 BRST 2009,#OC4J Launcher, FATAL] oracle.spatial.router.engine.Rou
    tingEngineException: [REE-0123: IOException caught while trying to read Partition 0 from the database: [null]]
    at oracle.spatial.router.engine.PartitionCache.loadPartitionFromDatabase(PartitionCache.java:303)
    at oracle.spatial.router.engine.PartitionCache.obtainPartitionReference(PartitionCache.java:244)
    at oracle.spatial.router.engine.Network.<init>(Network.java:77)
    at oracle.spatial.router.server.RouteServerImplementation.<init>(RouteServerImplementation.java:136)
    at oracle.spatial.router.server.RouteServerServlet.init(RouteServerServlet.java:299)
    at com.evermind.server.http.HttpApplication.loadServlet(HttpApplication.java:2379)
    at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4830)
    at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4754)
    at com.evermind.server.http.HttpApplication.initPreloadServlets(HttpApplication.java:4942)
    at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:1144)
    at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:741)
    at com.evermind.server.ApplicationStateRunning.getHttpApplication(ApplicationStateRunning.java:431)
    at com.evermind.server.Application.getHttpApplication(Application.java:586)
    at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.createHttpApplicationFromReference(HttpSite.java:1987)
    at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.<init>(HttpSite.java:1906)
    at com.evermind.server.http.HttpSite.initApplications(HttpSite.java:643)
    at com.evermind.server.http.HttpSite.setConfig(HttpSite.java:290)
    at com.evermind.server.http.HttpServer.setSites(HttpServer.java:270)
    at com.evermind.server.http.HttpServer.setConfig(HttpServer.java:177)
    at com.evermind.server.ApplicationServer.initializeHttp(ApplicationServer.java:2493)
    at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:1042)
    at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:131)
    at java.lang.Thread.run(Thread.java:595)
    09/01/27 18:08:11 Exception caught while trying to initialize Oracle RouteServer
    09/01/27 18:08:11 oracle.spatial.router.engine.RoutingEngineException: [REE-0123: IOException caught while trying to read Partition 0 from the database: [null]]
    09/01/27 18:08:11 at oracle.spatial.router.engine.PartitionCache.loadPartitionFromDatabase(PartitionCache.java:303)
    09/01/27 18:08:11 at oracle.spatial.router.engine.PartitionCache.obtainPartitionReference(PartitionCache.java:244)
    09/01/27 18:08:11 at oracle.spatial.router.engine.Network.<init>(Network.java:77)
    09/01/27 18:08:11 at oracle.spatial.router.server.RouteServerImplementation.<init>(RouteServerImplementation.java:136)
    09/01/27 18:08:11 at oracle.spatial.router.server.RouteServerServlet.init(RouteServerServlet.java:299)
    09/01/27 18:08:11 at com.evermind.server.http.HttpApplication.loadServlet(HttpApplication.java:2379)
    09/01/27 18:08:11 at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4830)
    09/01/27 18:08:11 at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4754)
    09/01/27 18:08:11 at com.evermind.server.http.HttpApplication.initPreloadServlets(HttpApplication.java:4942)
    09/01/27 18:08:11 at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:1144)
    09/01/27 18:08:11 at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:741)
    09/01/27 18:08:11 at com.evermind.server.ApplicationStateRunning.getHttpApplication(ApplicationStateRunning.java:431)
    09/01/27 18:08:11 at com.evermind.server.Application.getHttpApplication(Application.java:586)
    09/01/27 18:08:11 at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.createHttpApplicationFromReference(HttpSite.java:1987)
    09/01/27 18:08:11 at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.<init>(HttpSite.java:1906)
    09/01/27 18:08:11 at com.evermind.server.http.HttpSite.initApplications(HttpSite.java:643)
    09/01/27 18:08:11 at com.evermind.server.http.HttpSite.setConfig(HttpSite.java:290)
    09/01/27 18:08:11 at com.evermind.server.http.HttpServer.setSites(HttpServer.java:270)
    09/01/27 18:08:11 at com.evermind.server.http.HttpServer.setConfig(HttpServer.java:177)
    09/01/27 18:08:11 at com.evermind.server.ApplicationServer.initializeHttp(ApplicationServer.java:2493)
    09/01/27 18:08:11 at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:1042)
    09/01/27 18:08:11 at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:131)
    09/01/27 18:08:11 at java.lang.Thread.run(Thread.java:595)
    09/01/27 18:08:11 Oracle Containers for J2EE 10g (10.1.3.4.0) initialized
    Could you help me please?
    Thank you very much,
    user10862608

    a
    Edited by: user10788592 on 03/02/2009 09:38

  • ROUTING: return driving directions defaults to true

    Hi.
    We use Oracle Spatial 10gR2 for routing Europe.
    We solely use tables EDGE, NODE, PARTITION and neglect table SIGN_POST. When sending a request with return_driving_directions = "true" or the attribute not even set, I get the following exception:
    <RoutingEngineException>
    [REE-0108: SQLException caught while trying to call SDO_ROUTER_PARTITION.get_edge_info: [ORA-00904: "FROM_EDGE_ID":
    ung&#65533;ltiger Bezeichner
    ORA-06512: in "MDSYS.SDO_ROUTER_PARTITION", Zeile 1649
    ORA-06512: in Zeile 1
    </RoutingEngineException>
    This obviously has to do with the empty SIGN_POST table. A simple return_driving_directions="false" in the request helps. Maybe ORACLE could change the default to be "false" in a later release???
    Cheers
    Sebastian

    Database is good for handle large amount of data with fairly simple queries.
    But SQL is not deigned to handle iterative/recursive analysis like network or graph analysis. These types of analyses usually are computation expensive. NDM java API is designed to conduct network analysis in the middle or client tiers in a generic way for network applications.
    The NDM LOD(load-on-demand) Java API is the core API for network analysis. It contains many modeling features and analysis functions to make customization easier.
    It provides network constraints to guide analysis w.r.t. business/application logic. It also supports user-defined cost calculators that models analysis preference/penalty. Application attributes can be defined as user data and associated with network elements (nodes/links) in network constraints or cost calculators. Most common network analysis functions are supported in the API so users can focus on their business logic/rules.
    There is a PL/SQL API which is a set of java stored procedures based on NDM java in-memory API (to be deprecated). The PL/SQL API is limited (scalability and performance) by the JVM in Oracle database.
    jack

Maybe you are looking for

  • Business  system for idoc reciver communication channel.

    hi gurus, iam doing one file to idoc scenerio. for defining reciver idoc adapter ,which type of businees system i required that is configured in SLD. pls guide me . warm regards.

  • Hard Wire Xbox 360 to MacBook

    My Macbook is connected to my home wireless network via integrated Airport Extreme. Is it possible to transfer that connection to my Xbox 360 by connecting an ethernet cable? If so, what settings should I have to ensure it works? Any help is much app

  • How to sync iPhone music from 2nd Mac? (don't read this if you own 1 Mac)

    If you don't own two Macs, please don't try answering this post with guesses. I need to find someone with real world experience to solve this problem: My contacts and Calendar are on my laptop. My music and videos are on a Mac Pro. I have disabled au

  • CALL FUNCTION 'SELECT_OPTIONS_RESTRICT'

    Hi guys , I would like to restrict a select options. When I push the botton "multiple selection" in my select options I would like that I can see only 2 tabs 'Exclude individual values' and 'Exclude intervals'. I tried with the FM 'SELECT_OPTIONS_RES

  • Order for job work

    Sap Guru I want to know is there any report to display order where customer has given that order for job work.