MapCache - table or view don´t exist

Hi,
I´m trying to use Oracle Map Cache using mvdemo data. I just uncommented the <map_cache_server> in mapViewerCinfog.xml.
When I restart the mapviewer, appears some ORA-00942 ERROR, indicating that a table or view don´t exists.
In the HTML page, using Mozilla, appears a gray box, not a map.
Some suggestion?
Xks,
Miguel

Hi,
execute the script mcsdefinition.sql under
\\{mv_home}\oc4j\j2ee\home\applications\mapviewer\web\WEB-INF\admin\
as system
Each database user (schema) so has quasi its 'own' USER_SDO_CACHED_MAPS view (8-12 mapviewer_11ea1_ug.pdf)
--> so you can use <map_cache_server> in mapViewerConfig.xml.
regards, Andreas

Similar Messages

  • ERROR ORA-00942: table or view does not exist

    Hi:
    I created a .sql file and a loader file. Running the .sql file with sql * plus Worksheet:
    declare
    gr sdo_georaster;
    begin
    select image into gr from gis.RasterImages where geoid=1 for update;
    sdo_geor.generatePyramid(gr,'resampling=NN');
    update gis.RasterImages set image=gr where geoid=1;
    commit;
    end;
    I trying to create a pyramid,but the error appeared:
    ERROR at line 1:
    ORA-29400: DATA CONTROL ERROR ORA-00942: table or view does not exist
    ORA-06512: &#22312; "MDSYS.SDO_GEOR_INT", line 162
    ORA-06512: &#22312; "MDSYS.SDO_GEOR", line 826
    ORA-06512: &#22312; line 5
    I don't know why?
    Anyone can help me?
    Thanks.

    Hi,
    I think you are executing the select statement for schema X and the table is in the schema srnr.
    And schema X is not having select privilege on the table 'students' present in schema srnr.
    Goto schema srnr.
    Execute the following statement:
    grant select on students to X;
    This will give schema X the privilege to query the table students present in srnr.
    Regards,
    Anupama

  • ORA-00942: table or view does not exist show in defaultTrace. n .trc

    When i checked my portal backend trace file today, i saw lots of below error trace:
    #1.5 #0003BA78185F00400000004400001DE90004464D1AF14829#1203196885279#com.sap.sql.jdbc.direct.DirectPreparedStatement#sap.com/irj#com.sap.sql.jdbc.direct.DirectPreparedStatement#PETER#42062##epprd_EPP_6267450#PETER#20a289a0dcd511dca39f0003ba78185f#SAPEngine_Application_Thread[impl:3]_39##0#0#Error#1#/System/Database/sql/jdbc/direct#Java#com.sap.sql_0003##SQL error occurred on connection epprd:EPP:SAPSR3DB: code=942, state="42000", message="ORA-00942: table or view does not exist
    SQL statement is "INSERT INTO "SAPEPPDB"."NAV_HASHEDURLS" ("HASHEDVALUE","URL") VALUES (?,?)".
    [EXCEPTION]
    #6#942#42000#ORA-00942: table or view does not exist
    #epprd:EPP:SAPSR3DB#INSERT INTO "SAPEPPDB"."NAV_HASHEDURLS" ("HASHEDVALUE","URL") VALUES (?,?)#java.sql.SQLException: ORA-00942: table or view does not exist
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:331)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:288)
         at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:743)
         at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:216)
         at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:955)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1168)
         at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3315)
         at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3399)
         at com.sap.sql.jdbc.basic.BasicPreparedStatement.executeUpdate(BasicPreparedStatement.java:103)
         at com.sap.sql.jdbc.direct.DirectPreparedStatement.executeUpdate(DirectPreparedStatement.java:325)
         at com.sap.sql.jdbc.common.CommonPreparedStatement.executeUpdate(CommonPreparedStatement.java:252)
         at com.sapportals.portal.navigation.HashingServicesDBHandler.insertHashedValue(HashingServicesDBHandler.java:258)
         at com.sapportals.portal.navigation.HashingServices._addHashedValueToDB(HashingServices.java:242)
         at com.sapportals.portal.navigation.HashingServices.getHashedValue(HashingServices.java:77)
         at com.sapportals.portal.navigation.NavigationService.getNavigationNodeHashedName(NavigationService.java:1814)
         at com.sapportals.portal.navigation.NavigationNode.getHashedName(NavigationNode.java:347)
         at com.sapportals.portal.navigation.DetailedNavigationTree.addNavigationNodeToTree(DetailedNavigationTree.java:926)
         at com.sapportals.portal.navigation.DetailedNavigationTree.addNavigationNodesToTree(DetailedNavigationTree.java:909)
         at com.sapportals.portal.navigation.DetailedNavigationTree.addNavNodeChildrenToTree(DetailedNavigationTree.java:863)
         at com.sapportals.portal.navigation.DetailedNavigationTree.doOnNodeReady(DetailedNavigationTree.java:369)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.handleEvent(AbstractPortalComponent.java:388)
         at com.sapportals.portal.prt.pom.ComponentNode.handleEvent(ComponentNode.java:252)
         at com.sapportals.portal.prt.pom.PortalNode.fireEventOnNode(PortalNode.java:368)
         at com.sapportals.portal.prt.pom.AbstractNode.addChildNode(AbstractNode.java:340)
         at com.sapportals.portal.pb.PageBuilder.createAndAddEmbeddediView(PageBuilder.java:177)
         at com.sapportals.portal.pb.PageBuilder.createiView(PageBuilder.java:410)
         at com.sapportals.portal.pb.PageBuilder.createAndAddiViews(PageBuilder.java:233)
         at com.sapportals.portal.pb.PageBuilder.doOnNodeReady(PageBuilder.java:635)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.handleEvent(AbstractPortalComponent.java:388)
         at com.sapportals.portal.pb.PageBuilder.handleEvent(PageBuilder.java:815)
         at com.sapportals.portal.prt.component.CachablePortalComponent.handleEvent(CachablePortalComponent.java:703)
         at com.sapportals.portal.prt.pom.ComponentNode.handleEvent(ComponentNode.java:252)
         at com.sapportals.portal.prt.pom.PortalNode.fireEventOnNode(PortalNode.java:368)
         at com.sapportals.portal.prt.pom.AbstractNode.addChildNode(AbstractNode.java:340)
         at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:642)
         at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
         at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:524)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:407)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
    #1.5 #0003BA78185F00400000004500001DE90004464D1AF14ECE#1203196885290#System.err#sap.com/irj#System.err#PETER#42062##epprd_EPP_6267450#PETER#20a289a0dcd511dca39f0003ba78185f#SAPEngine_Application_Thread[impl:3]_39##0#0#Error##Plain###java.sql.SQLException: ORA-00942: table or view does not exist
    #1.5 #0003BA78185F00400000004600001DE90004464D1AF15015#1203196885290#System.err#sap.com/irj#System.err#PETER#42062##epprd_EPP_6267450#PETER#20a289a0dcd511dca39f0003ba78185f#SAPEngine_Application_Thread[impl:3]_39##0#0#Error##Plain###     at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)#
    #1.5 #0003BA78185F00400000004700001DE90004464D1AF15123#1203196885291#System.err#sap.com/irj#System.err#PETER#42062##epprd_EPP_6267450#PETER#20a289a0dcd511dca39f0003ba78185f#SAPEngine_Application_Thread[impl:3]_39##0#0#Error##Plain###     at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:331)#
    #1.5 #0003BA78185F00400000004800001DE90004464D1AF15225#1203196885291#System.err#sap.com/irj#System.err#PETER#42062##epprd_EPP_6267450#PETER#20a289a0dcd511dca39f0003ba78185f#SAPEngine_Application_Thread[impl:3]_39##0#0#Error##Plain###     at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:288)#
    #1.5 #0003BA78185F00400000004900001DE90004464D1AF153BD#1203196885291#System.err#sap.com/irj#System.err#PETER#42062##epprd_EPP_6267450#PETER#20a289a0dcd511dca39f0003ba78185f#SAPEngine_Application_Thread[impl:3]_39##0#0#Error##Plain###     at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:743)#
    #1.5 #0003BA78185F00400000004A00001DE90004464D1AF154C8#1203196885292#System.err#sap.com/irj#System.err#PETER#42062##epprd_EPP_6267450#PETER#20a289a0dcd511dca39f0003ba78185f#SAPEngine_Application_Thread[impl:3]_39##0#0#Error##Plain###     at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:216)#
    #1.5 #0003BA78185F00400000004B00001DE90004464D1AF155D2#1203196885292#System.err#sap.com/irj#System.err#PETER#42062##epprd_EPP_6267450#PETER#20a289a0dcd511dca39f0003ba78185f#SAPEngine_Application_Thread[impl:3]_39##0#0#Error##Plain###     at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:955)#
    #1.5 #0003BA78185F00400000004C00001DE90004464D1AF156DC#1203196885292#System.err#sap.com/irj#System.err#PETER#42062##epprd_EPP_6267450#PETER#20a289a0dcd511dca39f0003ba78185f#SAPEngine_Application_Thread[impl:3]_39##0#0#Error##Plain###     at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1168)#
    #1.5 #0003BA78185F00400000004D00001DE90004464D1AF157E5#1203196885293#System.err#sap.com/irj#System.err#PETER#42062##epprd_EPP_6267450#PETER#20a289a0dcd511dca39f0003ba78185f#SAPEngine_Application_Thread[impl:3]_39##0#0#Error##Plain###     at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3315)#
    #1.5 #0003BA78185F00400000004E00001DE90004464D1AF1590A#1203196885293#System.err#sap.com/irj#System.err#PETER#42062##epprd_EPP_6267450#PETER#20a289a0dcd511dca39f0003ba78185f#SAPEngine_Application_Thread[impl:3]_39##0#0#Error##Plain###     at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3399)#
    #1.5 #0003BA78185F00400000004F00001DE90004464D1AF15A0F#1203196885293#System.err#sap.com/irj#System.err#PETER#42062##epprd_EPP_6267450#PETER#20a289a0dcd511dca39f0003ba78185f#SAPEngine_Application_Thread[impl:3]_39##0#0#Error##Plain###     at com.sap.sql.jdbc.basic.BasicPreparedStatement.executeUpdate(BasicPreparedStatement.java:103)#
    #1.5 #0003BA78185F00400000005000001DE90004464D1AF15B33#1203196885293#System.err#sap.com/irj#System.err#PETER#42062##epprd_EPP_6267450#PETER#20a289a0dcd511dca39f0003ba78185f#SAPEngine_Application_Thread[impl:3]_39##0#0#Error##Plain###     at com.sap.sql.jdbc.direct.DirectPreparedStatement.executeUpdate(DirectPreparedStatement.java:325)#
    #1.5 #0003BA78185F00400000005100001DE90004464D1AF15C3C#1203196885294#System.err#sap.com/irj#System.err#PETER#42062##epprd_EPP_6267450#PETER#20a289a0dcd511dca39f0003ba78185f#SAPEngine_Application_Thread[impl:3]_39##0#0#Error##Plain###     at com.sap.sql.jdbc.common.CommonPreparedStatement.executeUpdate(CommonPreparedStatement.java:252)#
    #1.5 #0003BA78185F00400000005200001DE90004464D1AF15D46#1203196885294#System.err#sap.com/irj#System.err#PETER#42062##epprd_EPP_6267450#PETER#20a289a0dcd511dca39f0003ba78185f#SAPEngine_Application_Thread[impl:3]_39##0#0#Error##Plain###     at com.sapportals.portal.navigation.HashingServicesDBHandler.insertHashedValue(HashingServicesDBHandler.java:258)#
    #1.5 #0003BA78185F00400000005300001DE90004464D1AF15E4F#1203196885294#System.err#sap.com/irj#System.err#PETER#42062##epprd_EPP_6267450#PETER#20a289a0dcd511dca39f0003ba78185f#SAPEngine_Application_Thread[impl:3]_39##0#0#Error##Plain###     at com.sapportals.portal.navigation.HashingServices._addHashedValueToDB(HashingServices.java:242)#
    #1.5 #0003BA78185F00400000005400001DE90004464D1AF15F55#1203196885294#System.err#sap.com/irj#System.err#PETER#42062##epprd_EPP_6267450#PETER#20a289a0dcd511dca39f0003ba78185f#SAPEngine_Application_Thread[impl:3]_39##0#0#Error##Plain###     at com.sapportals.portal.navigation.HashingServices.getHashedValue(HashingServices.java:77)#
    #1.5 #0003BA78185F00400000005500001DE90004464D1AF1605C#1203196885295#System.err#sap.com/irj#System.err#PETER#42062##epprd_EPP_6267450#PETER#20a289a0dcd511dca39f0003ba78185f#SAPEngine_Application_Thread[impl:3]_39##0#0#Error##Plain###     at com.sapportals.portal.navigation.NavigationService.getNavigationNodeHashedName(NavigationService.java:1814)#
    #1.5 #0003BA78185F00400000005600001DE90004464D1AF16167#1203196885295#System.err#sap.com/irj#System.err#PETER#42062##epprd_EPP_6267450#PETER#20a289a0dcd511dca39f0003ba78185f#SAPEngine_Application_Thread[impl:3]_39##0#0#Error##Plain###     at com.sapportals.portal.navigation.NavigationNode.getHashedName(NavigationNode.java:347)#
    #1.5 #0003BA78185F00400000005700001DE90004464D1AF16275#1203196885295#System.err#sap.com/irj#System.err#PETER#42062##epprd_EPP_6267450#PETER#20a289a0dcd511dca39f0003ba78185f#SAPEngine_Application_Thread[impl:3]_39##0#0#Error##Plain###     at com.sapportals.portal.navigation.DetailedNavigationTree.addNavigationNodeToTree(DetailedNavigationTree.java:926)#
    #1.5 #0003BA78185F00400000005800001DE90004464D1AF16381#1203196885295#System.err#sap.com/irj#System.err#PETER#42062##epprd_EPP_6267450#PETER#20a289a0dcd511dca39f0003ba78185f#SAPEngine_Application_Thread[impl:3]_39##0#0#Error##Plain###     at com.sapportals.portal.navigation.DetailedNavigationTree.addNavigationNodesToTree(DetailedNavigationTree.java:909)#
    #1.5 #0003BA78185F00400000005900001DE90004464D1AF1648E#1203196885296#System.err#sap.com/irj#System.err#PETER#42062##epprd_EPP_6267450#PETER#20a289a0dcd511dca39f0003ba78185f#SAPEngine_Application_Thread[impl:3]_39##0#0#Error##Plain###     at com.sapportals.portal.navigation.DetailedNavigationTree.addNavNodeChildrenToTree(DetailedNavigationTree.java:863)#
    #1.5 #0003BA78185F00400000005A00001DE90004464D1AF16597#1203196885296#System.err#sap.com/irj#System.err#PETER#42062##epprd_EPP_6267450#PETER#20a289a0dcd511dca39f0003ba78185f#SAPEngine_Application_Thread[impl:3]_39##0#0#Error##Plain###     at com.sapportals.portal.navigation.DetailedNavigationTree.doOnNodeReady(DetailedNavigationTree.java:369)#
    #1.5 #0003BA78185F00400000005B00001DE90004464D1AF1669E#1203196885296#System.err#sap.com/irj#System.err#PETER#42062##epprd_EPP_6267450#PETER#20a289a0dcd511dca39f0003ba78185f#SAPEngine_Application_Thread[impl:3]_39##0#0#Error##Plain###     at com.sapportals.portal.prt.component.AbstractPortalComponent.handleEvent(AbstractPortalComponent.java:388)#
    #1.5 #0003BA78185F00400000005C00001DE90004464D1AF167A7#1203196885297#System.err#sap.com/irj#System.err#PETER#42062##epprd_EPP_6267450#PETER#20a289a0dcd511dca39f0003ba78185f#SAPEngine_Application_Thread[impl:3]_39##0#0#Error##Plain###     at com.sapportals.portal.prt.pom.ComponentNode.handleEvent(ComponentNode.java:252)#
    #1.5 #0003BA78185F00400000005D00001DE90004464D1AF168AB#1203196885297#System.err#sap.com/irj#System.err#PETER#42062##epprd_EPP_6267450#PETER#20a289a0dcd511dca39f0003ba78185f#SAPEngine_Application_Thread[impl:3]_39##0#0#Error##Plain###     at com.sapportals.portal.prt.pom.PortalNode.fireEventOnNode(PortalNode.java:368)#
    #1.5 #0003BA78185F00400000005E00001DE90004464D1AF169AF#1203196885297#System.err#sap.com/irj#System.err#PETER#42062##epprd_EPP_6267450#PETER#20a289a0dcd511dca39f0003ba78185f#SAPEngine_Application_Thread[impl:3]_39##0#0#Error##Plain###     at com.sapportals.portal.prt.pom.AbstractNode.addChildNode(AbstractNode.java:340)#
    #1.5 #0003BA78185F00400000005F00001DE90004464D1AF16AB3#1203196885297#System.err#sap.com/irj#System.err#PETER#42062##epprd_EPP_6267450#PETER#20a289a0dcd511dca39f0003ba78185f#SAPEngine_Application_Thread[impl:3]_39##0#0#Error##Plain###     at com.sapportals.portal.pb.PageBuilder.createAndAddEmbeddediView(PageBuilder.java:177)#
    #1.5 #0003BA78185F00400000006000001DE90004464D1AF16BB8#1203196885298#System.err#sap.com/irj#System.err#PETER#42062##epprd_EPP_6267450#PETER#20a289a0dcd511dca39f0003ba78185f#SAPEngine_Application_Thread[impl:3]_39##0#0#Error##Plain###     at com.sapportals.portal.pb.PageBuilder.createiView(PageBuilder.java:410)#
    #1.5 #0003BA78185F00400000006100001DE90004464D1AF16CBB#1203196885298#System.err#sap.com/irj#System.err#PETER#42062##epprd_EPP_6267450#PETER#20a289a0dcd511dca39f0003ba78185f#SAPEngine_Application_Thread[impl:3]_39##0#0#Error##Plain###     at com.sapportals.portal.pb.PageBuilder.createAndAddiViews(PageBuilder.java:233)#
    #1.5 #0003BA78185F00400000006200001DE90004464D1AF16E30#1203196885298#System.err#sap.com/irj#System.err#PETER#42062##epprd_EPP_6267450#PETER#20a289a0dcd511dca39f0003ba78185f#SAPEngine_Application_Thread[impl:3]_39##0#0#Error##Plain###     at com.sapportals.portal.pb.PageBuilder.doOnNodeReady(PageBuilder.java:635)#
    #1.5 #0003BA78185F00400000006300001DE90004464D1AF16F39#1203196885298#System.err#sap.com/irj#System.err#PETER#42062##epprd_EPP_6267450#PETER#20a289a0dcd511dca39f0003ba78185f#SAPEngine_Application_Thread[impl:3]_39##0#0#Error##Plain###     at com.sapportals.portal.prt.component.AbstractPortalComponent.handleEvent(AbstractPortalComponent.java:388)#
    #1.5 #0003BA78185F00400000006400001DE90004464D1AF17043#1203196885299#System.err#sap.com/irj#System.err#PETER#42062##epprd_EPP_6267450#PETER#20a289a0dcd511dca39f0003ba78185f#SAPEngine_Application_Thread[impl:3]_39##0#0#Error##Plain###     at com.sapportals.portal.pb.PageBuilder.handleEvent(PageBuilder.java:815)#
    #1.5 #0003BA78185F00400000006500001DE90004464D1AF17148#1203196885299#System.err#sap.com/irj#System.err#PETER#42062##epprd_EPP_6267450#PETER#20a289a0dcd511dca39f0003ba78185f#SAPEngine_Application_Thread[impl:3]_39##0#0#Error##Plain###     at com.sapportals.portal.prt.component.CachablePortalComponent.handleEvent(CachablePortalComponent.java:703)#
    #1.5 #0003BA78185F00400000006600001DE90004464D1AF1724F#1203196885299#System.err#sap.com/irj#System.err#PETER#42062##epprd_EPP_6267450#PETER#20a289a0dcd511dca39f0003ba78185f#SAPEngine_Application_Thread[impl:3]_39##0#0#Error##Plain###     at com.sapportals.portal.prt.pom.ComponentNode.handleEvent(ComponentNode.java:252)#
    #1.5 #0003BA78185F00400000006700001DE90004464D1AF173B2#1203196885300#System.err#sap.com/irj#System.err#PETER#42062##epprd_EPP_6267450#PETER#20a289a0dcd511dca39f0003ba78185f#SAPEngine_Application_Thread[impl:3]_39##0#0#Error##Plain###     at com.sapportals.portal.prt.pom.PortalNode.fireEventOnNode(PortalNode.java:368)#
    #1.5 #0003BA78185F00400000006800001DE90004464D1AF1762B#1203196885300#System.err#sap.com/irj#System.err#PETER#42062##epprd_EPP_6267450#PETER#20a289a0dcd511dca39f0003ba78185f#SAPEngine_Application_Thread[impl:3]_39##0#0#Error##Plain###     at com.sapportals.portal.prt.pom.AbstractNode.addChildNode(AbstractNode.java:340)#
    #1.5 #0003BA78185F00400000006900001DE90004464D1AF17754#1203196885301#System.err#sap.com/irj#System.err#PETER#42062##epprd_EPP_6267450#PETER#20a289a0dcd511dca39f0003ba78185f#SAPEngine_Application_Thread[impl:3]_39##0#0#Error##Plain###     at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:642)#
    #1.5 #0003BA78185F00400000006A00001DE90004464D1AF17868#1203196885301#System.err#sap.com/irj#System.err#PETER#42062##epprd_EPP_6267450#PETER#20a289a0dcd511dca39f0003ba78185f#SAPEngine_Application_Thread[impl:3]_39##0#0#Error##Plain###     at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)#
    #1.5 #0003BA78185F00400000006B00001DE90004464D1AF17976#1203196885301#System.err#sap.com/irj#System.err#PETER#42062##epprd_EPP_6267450#PETER#20a289a0dcd511dca39f0003ba78185f#SAPEngine_Application_Thread[impl:3]_39##0#0#Error##Plain###     at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:524)#
    #1.5 #0003BA78185F00400000006C00001DE90004464D1AF17A78#1203196885301#System.err#sap.com/irj#System.err#PETER#42062##epprd_EPP_6267450#PETER#20a289a0dcd511dca39f0003ba78185f#SAPEngine_Application_Thread[impl:3]_39##0#0#Error##Plain###     at java.security.AccessController.doPrivileged(Native Method)#
    #1.5 #0003BA78185F00400000006D00001DE90004464D1AF17B7D#1203196885302#System.err#sap.com/irj#System.err#PETER#42062##epprd_EPP_6267450#PETER#20a289a0dcd511dca39f0003ba78185f#SAPEngine_Application_Thread[impl:3]_39##0#0#Error##Plain###     at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:407)#
    #1.5 #0003BA78185F00400000006E00001DE90004464D1AF17C81#1203196885302#System.err#sap.com/irj#System.err#PETER#42062##epprd_EPP_6267450#PETER#20a289a0dcd511dca39f0003ba78185f#SAPEngine_Application_Thread[impl:3]_39##0#0#Error##Plain###     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)#
    #1.5 #0003BA78185F00400000006F00001DE90004464D1AF17D85#1203196885302#System.err#sap.com/irj#System.err#PETER#42062##epprd_EPP_6267450#PETER#20a289a0dcd511dca39f0003ba78185f#SAPEngine_Application_Thread[impl:3]_39##0#0#Error##Plain###     at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)#
    #1.5 #0003BA78185F00400000007000001DE90004464D1AF17E8F#1203196885302#System.err#sap.com/irj#System.err#PETER#42062##epprd_EPP_6267450#PETER#20a289a0dcd511dca39f0003ba78185f#SAPEngine_Application_Thread[impl:3]_39##0#0#Error##Plain###     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)#
    #1.5 #0003BA78185F00400000007100001DE90004464D1AF17F92#1203196885303#System.err#sap.com/irj#System.err#PETER#42062##epprd_EPP_6267450#PETER#20a289a0dcd511dca39f0003ba78185f#SAPEngine_Application_Thread[impl:3]_39##0#0#Error##Plain###     at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)#
    #1.5 #0003BA78185F00400000007200001DE90004464D1AF1809A#1203196885303#System.err#sap.com/irj#System.err#PETER#42062##epprd_EPP_6267450#PETER#20a289a0dcd511dca39f0003ba78185f#SAPEngine_Application_Thread[impl:3]_39##0#0#Error##Plain###     at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)#
    #1.5 #0003BA78185F00400000007300001DE90004464D1AF181A4#1203196885303#System.err#sap.com/irj#System.err#PETER#42062##epprd_EPP_6267450#PETER#20a289a0dcd511dca39f0003ba78185f#SAPEngine_Application_Thread[impl:3]_39##0#0#Error##Plain###     at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)#
    #1.5 #0003BA78185F00400000007400001DE90004464D1AF182AD#1203196885303#System.err#sap.com/irj#System.err#PETER#42062##epprd_EPP_6267450#PETER#20a289a0dcd511dca39f0003ba78185f#SAPEngine_Application_Thread[impl:3]_39##0#0#Error##Plain###     at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)#
    #1.5 #0003BA78185F00400000007500001DE90004464D1AF183B3#1203196885304#System.err#sap.com/irj#System.err#PETER#42062##epprd_EPP_6267450#PETER#20a289a0dcd511dca39f0003ba78185f#SAPEngine_Application_Thread[impl:3]_39##0#0#Error##Plain###     at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)#
    #1.5 #0003BA78185F00400000007600001DE90004464D1AF184BB#1203196885304#System.err#sap.com/irj#System.err#PETER#42062##epprd_EPP_6267450#PETER#20a289a0dcd511dca39f0003ba78185f#SAPEngine_Application_Thread[impl:3]_39##0#0#Error##Plain###     at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)#
    #1.5 #0003BA78185F00400000007700001DE90004464D1AF185C1#1203196885304#System.err#sap.com/irj#System.err#PETER#42062##epprd_EPP_6267450#PETER#20a289a0dcd511dca39f0003ba78185f#SAPEngine_Application_Thread[impl:3]_39##0#0#Error##Plain###     at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)#
    #1.5 #0003BA78185F00400000007800001DE90004464D1AF186C6#1203196885305#System.err#sap.com/irj#System.err#PETER#42062##epprd_EPP_6267450#PETER#20a289a0dcd511dca39f0003ba78185f#SAPEngine_Application_Thread[impl:3]_39##0#0#Error##Plain###     at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)#
    #1.5 #0003BA78185F00400000007900001DE90004464D1AF187CE#1203196885305#System.err#sap.com/irj#System.err#PETER#42062##epprd_EPP_6267450#PETER#20a289a0dcd511dca39f0003ba78185f#SAPEngine_Application_Thread[impl:3]_39##0#0#Error##Plain###     at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)#
    #1.5 #0003BA78185F00400000007A00001DE90004464D1AF188DE#1203196885305#System.err#sap.com/irj#System.err#PETER#42062##epprd_EPP_6267450#PETER#20a289a0dcd511dca39f0003ba78185f#SAPEngine_Application_Thread[impl:3]_39##0#0#Error##Plain###     at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)#
    #1.5 #0003BA78185F00400000007B00001DE90004464D1AF18AAC#1203196885305#System.err#sap.com/irj#System.err#PETER#42062##epprd_EPP_6267450#PETER#20a289a0dcd511dca39f0003ba78185f#SAPEngine_Application_Thread[impl:3]_39##0#0#Error##Plain###     at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)#
    #1.5 #0003BA78185F00400000007C00001DE90004464D1AF18BB4#1203196885306#System.err#sap.com/irj#System.err#PETER#42062##epprd_EPP_6267450#PETER#20a289a0dcd511dca39f0003ba78185f#SAPEngine_Application_Thread[impl:3]_39##0#0#Error##Plain###     at java.security.AccessController.doPrivileged(Native Method)#
    #1.5 #0003BA78185F00400000007D00001DE90004464D1AF18CB7#1203196885306#System.err#sap.com/irj#System.err#PETER#42062##epprd_EPP_6267450#PETER#20a289a0dcd511dca39f0003ba78185f#SAPEngine_Application_Thread[impl:3]_39##0#0#Error##Plain###     at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)#
    #1.5 #0003BA78185F00400000007E00001DE90004464D1AF18DBB#1203196885306#System.err#sap.com/irj#System.err#PETER#42062##epprd_EPP_6267450#PETER#20a289a0dcd511dca39f0003ba78185f#SAPEngine_Application_Thread[impl:3]_39##0#0#Error##Plain###     at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)#
    It seems system try to insert record into table NAV_HASHEDURLS, this table belong to scheme SAPSR3DB, not SAPEPPDB, i don't know why this happens, any experts know how to change it and where it come from. I have another EP, don't have above error.
    Thanks

    This is a bug, see note Note 1140239 - Navigation short Urls aren't seen in short urls monitor

  • A newbie problem - Why 'ORA-00942: table or view does not exist'

    Hi,
    I am a newbie having a very basic problem.
    I have just created a table by reading in a CSV file.
    However when I try to SELECT from it, I get an error message saying :-
    ORA-00942: table or view does not exist
    How can this be when I can see the table name ?
    I have tried a couple of things that I found in the Discussion Forum, like 'ALTER SCHEMA' and 'GRANT SELECT'.
    Neither seemed sensible because I have just created a table, and sure enough, neither helped.
    It's disappointing that something so basic can go wrong.
    I will be very grateful for any advice.
    Barry

    This tool and forum is awesome. I'm a developer that was never touched HTMLDB and now with in a month I'm developing applications quickly and when I have a question I have this active forum to ask my sometimes stupid and othertimes valid questions! This is great! I don't know where you all find the time to help out so much!
    It is a little addicting though... I find myself sitting down Saturday morning just to spend a couple of minutes reading the posts and next thing I know hours have gone by as I use what I read because I can't wait until Monday...
    Thank you all for everything!!!! HTMLDB, APEX, Javascript and now in another post I'm learning about "Fine Grained Access Control" or "Virtual Private Database".
    Enjoy, BillC :>)

  • Scheduling error causing - ORA-00942: table or view does not exist

    Hello
    I have the following problem, I created an scenario that its supposed to run every 1 hour, it has an interface that moves an amount of records from one table to another (the amount of records is not fixed it changes). The problem arises when the amount of data to move is so big that the hour between executions is not enough and the scenario is still running when a second execution of the same scenario starts to run (as scheduled), so in the interface when the second process is trying to run the loading step it fails and I got the error ODI-1228 Caused By: java.sql.BatchUpdateException: ORA-00942: table or view does not exists. So the scenario fails and it logs this error. I think the error is due to the table in stage being locked by the first execution of the scenario.
    I don't want to change the amount of time between executions because it is usually enough, I just want to avoid the execution of a scenario when there is another execution of the same scenario still running, is there any way to do this?.
    Thanks
    LJ

    Hello
    Thanks for your answer, I already have the "Interval between repetitions" property set to 1 hour, but when one execution takes more than one hour the scheduler starts another and I have 2 processes accessing the same table and it is when I have a concurrence error on the staging table.
    How can I ensure that I wont have two or more executions of the same scenario running at the same time?.
    Thanks,
    LJ

  • Error(20,22): PL/SQL: ORA-00942: table or view does not exist

    I am getting currently getting an error when I try and insert into a table from a different schema from my Stored Procedure:
    Error(20,22): PL/SQL: ORA-00942: table or view does not exist
    I am explicitly calling the table with the schema name infront i.e.
    INSERT INTO SAPSR3.ZTREC_NAME_TYPE
    MASTER_ID,
    NAME_TYPE,
    FAMILY_NAME,
    FIRST_NAME,
    MIDDLE_NAME,
    TITLE
    VALUES
    In_MasterID,
    In_NameType,
    In_FamilyName,
    In_FirstName,
    In_MiddleName,
    In_Title
    I only get this error when I try and compile my stored procedure. If I try this insert not within a stored procedure (i.e. a blank script) it works perfectly.
    Can anyone tell me what Im doing wrong?
    Thanks.

    Hi,
    It sounds like you (the procedure owner) have privileges on that table only through a role.
    Roles don't count in stored procedures created with AUTHID OWNER (which is the default).
    Either
    (1) Have user SAPSR3 grant the necessary privileges directly to you (or to PUBLIC), or
    (2) change the procedure so that it runs with the caller's privileges, by adding AUTHID CURRENT_USER after the argument list but before the keyword IS (os AS) like this:
    CREATE OR REPLACE PROCEDURE     foo
    (     x     IN     NUMBER
    AUTHID CURRENT_USER
    IS ...

  • Error while deploy mapping ora-06550 table or view does not exist

    Hi everyone,
    i have a target source 'U_BCK' that cointains some Oracle table.
    I have also created a target schema 'BCK_OWNER' where i create some dimensions and cubes with mappings.
    My mappings connect some table from U_BCK with dimension or cube from BCK_OWNER.
    My repository owner is called 'rep_owner' and i used this user to create every metadata.
    Now i'm trying to deploy, and i don't have any problem until deploying mappings. When i try to deploy mappings i get some errors like ora-06550,ora-00942 table or view does not exist and statement ignored.
    Please help me and sorry for my english...
    Thanks,
    Alex.

    The mapping, that drives the data from one table to another is deployed to the database as a PL/SQL package. When deploying your mapping fails, it most often means that the resulting PL/SQL package doesn't compile in the database.
    Using Oracle SQL Developer (or Toad, SQL Navigator or any other tool) connect to the schema on the database where you have deployed the mapping. Open the pl/sql package and compile it. That should show you the place where the compilation fails, and give you an idea as to what table it can not find. Otherwise, in SQLPLUS, you can simply give the following command:
    ALTER PACKAGE THE_PACKAGE_NAME_GOES_HERE compile body;
    show errors;
    As the database user who owns the source tables, make sure to issue a GRANT command for each of the source tables, granting SELECT access to the database user who owns the mapping:
    grant select on TABLENAME to TARGETSCHEMA.
    hope this helps
    Borkur

  • Can't get Sequencing working (table or view does not exist...)

    Hello,
    I'm running JDeveloper 10.1.2 on a Oracle 9i database.
    All my mappings are correct, i mean, i can query the database using the Toplink API and list all the objects on teh database. What it's not working is inserting new objects due to this sequencing problem.
    This is what i'm doing:
    myClass newObject = (myClass) uow.newInstance(myClass.class);
    uow.assignSequenceNumber(newObject);
    But this is generating this Exception:
    Local Exception Stack: Exception [TOPLINK-4002] (OracleAS TopLink - 10g (9.0.4.5) (Build 040930)): oracle.toplink.exceptions.DatabaseExceptionException Description: java.sql.SQLException: ORA-00942: table or view does not exist
    Internal Exception: java.sql.SQLException: ORA-00942: table or view does not exist
    Error Code: 942
    I figured this could be a problem with the sequencing configuration and all that stuff (I don't have a sequence table). So i checked my configurations...
    'Toplink Mappings' is setup to 'Use Native Sequencing', as per Notes on http://www.boku.ac.at/oradoc/ias/10g(9.0.4)/web.904/b10313/dataaccs.htm. This page also states this:
    "When using native sequencing with Oracle, specify the name of the sequence object (the object that generates the sequence numbers) for each descriptor. The sequence preallocation size must also match the increment on the sequence object" (...) "Use preallocation and native sequencing for Oracle databases.
    And this is exactly what i'm doing. On myClass mappings, the 'Use Sequencing' checkbox is checked, the correct sequence name is typed correctly, once this is the same sequence i've been using for years prior to Toplink, the selected table is the correct one, just as the id field on the table.
    Another thing is that the 'Preallocation Size' on Toplink Mappings match the increment value on the database sequence.
    I must be missing something...
    Can anybody shed some light on this?
    Thanks a lot to all.

    Hello
    The method accessing check box tells TopLink to use the get/set methods on your object to set its attributes - If it is unselected, TopLink will set the attribute directly. Great if you have business logic in your get/set methods that you don't want TopLink to hit each time it creates an object after a read from the database (or registers, etc).
    The problem you are encountering seems like you have sequencing set to "Use Default Sequencing Table". This option is on the "TopLink Mappings" page on the "Database info" tab just below where you would have set which connection to use. You will need to ensure you have the "use Native sequencing" selected. If you set this information instead through code, be sure you do it on the database login before you login to the session.
    If this doesn't help, try turning on TopLink logging to see the SQL statement that causes the problem. The knowing the table name and SQL being used might help figure out where it is being set.
    Best Regards,
    Chris

  • WF Configuration assistant Error (Table or view does not exist)

    Hi
    I'm trying to configure a fresh owf_mgr schema on my new 11gr2 database using configuration assistant 2.6.4.0.0.
    The assistant connects but is not able to continue. The error is: java.sql.SQLException: ORA-00942: table or view does not exist.
    I don't find anything useful in the log file though.
    I previously did the same thing on a 11gr2 db and it went all nice and good.
    Any ideas what table or view does the wizard mean?
    Thank you in advance.

    Hi
    I'm trying to configure a fresh owf_mgr schema on my new 11gr2 database using configuration assistant 2.6.4.0.0.
    The assistant connects but is not able to continue. The error is: java.sql.SQLException: ORA-00942: table or view does not exist.
    I don't find anything useful in the log file though.
    I previously did the same thing on a 11gr2 db and it went all nice and good.
    Any ideas what table or view does the wizard mean?
    Thank you in advance.

  • Informatica 9.0.1:- Table or view does not exist, error occured at recurive

    Hello every one,
    I am new to this field, I am getting error when I run my workflow in other folder, It is giving table or view does not exist, And I understood that the target table is not present,
    Actual table present is ws_twfs_olb_project_ds but in the session log it is showing wc_twfs_olb_project_ds1. I don't know why in the session log it is showing like that.
    Might be the problem occured during the importing session. If so, Can you please provide me how to resolve this issue.
    Thanks in advance!

    wc_twfs_olb_project_ds1 is an alias table and used in Informatica mapping to do self join(specifically in order to query different column multiple times).
    Ideally you sholud be checking the wc_twfs_olb_project_ds in the OLAP schema.Try connecting to OLAP scheam by toad or SQL*PLUS and let me know if you are able to view this table or not?..
    Regards,
    Veeresh Rayan

  • Why Table or View does not exist???

    Hi to all. I have an issue with my Business Objects. I have a relationship between two entities with the following cardinality:
    EntityA 1......* Entity B, the relation is a composition and the IDs for them are DB Sequence.
    I have created the corresponding views and the view link and they all work fine in the Application Module. Also, in the View Object for the EntityA ( ViewObjectA ), I have created a View Criteria, a nested one, with two attributes: the first one is an att from the*ViewObjectA* and use a value from a bind variable (Integer), and the second one is an attribute from the Entity B son and it's value is static (1). I tested with the query button and says OK. When I run the AppModule for test the ViewCriteria, I got this error: ORA-00942: table or view does not exist . And for my sorprise, I checked the query resultant and it's wrong!! Please see an example below:
    SELECT Att1,Att2 FROM EntityA WHERE ( ( ( (EntityA.att1 = :id ) AND (EXISTS(SELECT 1 FROM EntityBNQ1 EntityBNQ1 WHERE ( (*EntityBDNQ1.att1 = :id*) ) AND ( EntityA.att1 = EntityBDNQ1.att1 ))) ) ) ) AND (EntityA.att1 = EntityBDNQ1.Att1))) ) ) )
    As can be seen, the name of the tabla for the EntityB has NQ1 attached, and I don't know why. The view link works perfectly, as also the create operation for both ViewsObjects.
    Please can anyone tell me what I'm doing wrong, if I have a mistake? What should I do??
    Thanks in advance.
    PS: In a new application, I created a Business Components from DataBase, and it works my WiewCriteria. I just can't believe that I should start all over again.
    Thanks in advance again.

    Hi and thanks for the answers. Apologize for my forgetfulness of the version. It's 11.1.1.5.0 and ADF Business Components 11.1.1.60.13
    I created a new Application and I made a Business Components From Table with only the two Entities mentioned before. Once configured (Put the ID as a DBSequence), created the views an the View Criteria and it's just all fine.
    Hear is fragment of the XML from my EntityA (the god one). The first part it's the key attribute, the second one its the key.
    This is the god working version
    <Entity
      xmlns="http://xmlns.oracle.com/bc4j"
      Name="Person"
      Version="11.1.1.61.92"
      DBObjectType="table"
      DBObjectName="EntityA"
      AliasName="Person"
      BindingStyle="OracleName"
      UseGlueCode="false">
      <DesignTime>
        <Attr Name="_codeGenFlag2" Value="Access"/>
        <AttrArray Name="_publishEvents"/>
      </DesignTime>
      <Attribute
        Name="EntityId"
        ColumnName="EntityA_ID"
        SQLType="NUMERIC"
        Type="oracle.jbo.domain.DBSequence"
        ColumnType="NUMBER"
        TableName="EntityA"
        PrimaryKey="true"
        IsUpdateable="while_insert"
        Domain="oracle.jbo.domain.DBSequence" //Different
        RetrievedOnInsert="true">
        <DesignTime>
          <Attr Name="_DisplaySize" Value="39"/> //Different, but don't think it's important
          <Attr Name="_SequenceStart" Value="1"/>
          <Attr Name="_SequenceName" Value="EntitiA_SEQ"/>
        </DesignTime>
      </Attribute>
    ...This is the bad working version
    <Entity
      xmlns="http://xmlns.oracle.com/bc4j"
      Name="EntityA"
      Version="11.1.1.60.13"
      DBObjectType="table"
      DBObjectName="EntityA"
      AliasName="EntityA"
      BindingStyle="OracleName"
      UseGlueCode="false"
      RowClass="criminal.model.entities.filiative.EntityAImpl">
      <DesignTime>
        <AttrArray Name="_publishEvents"/>
        <Attr Name="_codeGenFlag2" Value="Access"/>
        <Attr Name="_isCodegen" Value="true"/>
      </DesignTime>
      <Attribute
        Name="Entity_ID"
        IsUpdateable="while_insert"
        DefaultValue="@0"    //Different
        ColumnName="EntityA_ID"
        SQLType="NUMERIC"
        Type="oracle.jbo.domain.DBSequence"
        ColumnType="NUMBER"
        TableName="EntityA"
        PrimaryKey="true"
        RetrievedOnInsert="true">
        <DesignTime>
          <Attr Name="_SequenceStart" Value="1"/>
          <Attr Name="_SequenceName" Value="EntityA_SEQ"/>
        </DesignTime>
      </Attribute>
    ... Hear is the constrain (the god one) related to the key att:
    <Key
        Name="EntityAEntityAIdCheck10">
        <DesignTime>
          <Attr Name="_DBObjectName" Value="EntityA_EntitAy_ID_CHECK_10"/>
          <Attr Name="_checkCondition" Value='"EntityA_ID" IS NOT NULL'/>
          <Attr Name="_isCheck" Value="true"/>
        </DesignTime>
        <AttrArray Name="Attributes"/>
      </Key>
    ...Hear is the constrain (the bad one) related to the key att:
      <Key
        Name="EntityAEntityAIdCheck10">
        <DesignTime>
          <Attr Name="_isNotNull" Value="true"/>
          <Attr Name="_DBObjectName" Value="EntityA_EntityA_ID_CHECK_10"/>
          <Attr Name="_checkCondition" Value='"EntityA_ID" IS NOT NULL'/>
          <Attr Name="_isCheck" Value="true"/>
        </DesignTime>
        <AttrArray Name="Attributes">
          <Item Value="model.EntityA.EntityA_ID"/>
        </AttrArray>
      </Key>
    ...Hear is the XML of the EntityB The differences are the same that in EntityA
    the key att:
    <Entity
      xmlns="http://xmlns.oracle.com/bc4j"
      Name="EntityB"
      Version="11.1.1.61.92"
      DBObjectType="table"
      DBObjectName="EntityB"
      AliasName="EntityB"
      BindingStyle="OracleName"
      UseGlueCode="false">
      <DesignTime>
        <Attr Name="_codeGenFlag2" Value="Access"/>
        <AttrArray Name="_publishEvents"/>
      </DesignTime>
      <Attribute
        Name="EntityBId"
        ColumnName="EntityB_ID"
        SQLType="NUMERIC"
        Type="oracle.jbo.domain.DBSequence"
        ColumnType="NUMBER"
        TableName="EntityB"
        PrimaryKey="true"
        IsUpdateable="while_insert"
        Domain="oracle.jbo.domain.DBSequence"
        RetrievedOnInsert="true">
        <DesignTime>
          <Attr Name="_DisplaySize" Value="39"/>
          <Attr Name="_SequenceStart" Value="1"/>
          <Attr Name="_SequenceName" Value="EntityB_SEQ"/>
        </DesignTime>
      </Attribute>
    ...this is the bad one
    <Entity
      xmlns="http://xmlns.oracle.com/bc4j"
      Name="EntityB"
      Version="11.1.1.60.13"
      DBObjectType="table"
      DBObjectName="EntityB"
      AliasName="EntityB"
      BindingStyle="OracleName"
      UseGlueCode="false"
      RowClass="model.EntityBImpl">
      <DesignTime>
        <Attr Name="_codeGenFlag2" Value="Access"/>
        <AttrArray Name="_publishEvents"/>
        <Attr Name="_isCodegen" Value="true"/>
      </DesignTime>
      <Attribute
        Name="EntityB_ID"
        IsUpdateable="while_insert"
        ColumnName="EntityB_ID"
        SQLType="NUMERIC"
        Type="oracle.jbo.domain.DBSequence"
        ColumnType="NUMBER"
        TableName="EntityB"
        PrimaryKey="true"
        RetrievedOnInsert="true">
        <DesignTime>
          <Attr Name="_SequenceStart" Value="1"/>
          <Attr Name="_SequenceName" Value="EntityB_SEQ"/>
        </DesignTime>
      </Attribute>
    ...the key (the god one)
    <Key
        Name="FkEntityB">
        <DesignTime>
          <Attr Name="_isCascadeDelete" Value="true"/>
          <Attr Name="_referencedKey" Value="EntityA_PRIMARY_KEY_10"/>
          <Attr Name="_isForeign" Value="true"/>
          <Attr Name="_DBObjectName" Value="FK_EntityB"/>
        </DesignTime>
        <AttrArray Name="Attributes">
          <Item Value="project1.EntityB.EntityBEntityBId"/>
        </AttrArray>
      </Key>
    ...the bad one
    <Key
        Name="FkEntityB">
        <DesignTime>
          <Attr Name="_isCascadeDelete" Value="true"/>
          <Attr Name="_referencedKey" Value="EntityA_PRIMARY_KEY_10"/>
          <Attr Name="_isForeign" Value="true"/>
          <Attr Name="_DBObjectName" Value="FK_EntityB"/>
        </DesignTime>
        <AttrArray Name="Attributes">
          <Item Value="project1.EntityB.EntityBEntityBId"/>
        </AttrArray>
      </Key>
    ...Sorry if is too long.
    What might be wrong? It's that enough to determine the error?
    Thanks again.
    PS: I did try look for NQ1 as kdario said and nothing was found. I had already done regenerate the association as 969750 said and still habe the same error.

  • ORA-00942: the table or view does not exist

    Hello!!!!
    I have tree simple mappings each one with only one dimention and sometimes external or normal tables. One of them is ok but I can´t deploy the others.
    In Controle Center I have this messege: the table or view does not exist.
    I genereted both queries and run in SQL navigator with the same message.
    I realized that I can set the schema properties for external tables but I couldn´t do the same for Dimension (or I don´t know where I can do this).
    I believe that I have to set this propertie for dimension to have my mapping running ok, but I realized that the only one mapping that is ok does not have this propertie set.
    Where is the problem?!!?!?!?
    I validated these mapping and they have warnnings about column length, no errors.
    In the previous OWB version I used to set this propertie, but in 10.2 I don´t know if is realy necessary.

    Try to open the package body with a tool like TOAD and try to compile it. When you use TOAD the process stops where the error is. Then you know which table or view doesn't exist for the OWB. If the table or view does exist then it is almost certainly a missing privilege that prevents you from succesfully deploying your mapping. If the table or view does not exist then you've got to deploy the underlying (bound) table.
    Regards,
    Jörg

  • Table or views does not exists on create package body

    Hi folks.....
    I',m having a problem....
    I am trying to create the pakage body, but i can't because i'm get the error ORA-000942 TABLE OR VIEWS DOES NOT EXIST, i don't understand !!!!
    When i create de procedure, it's suscessful
    I did GRANT ALL ON GEMCO.CAD_FILIAL TO USR_MLADMIN;
    But the error persisits
    Someone has any idea ?
    Tanks Spaulonci

    Is USR_MLADMIN a role or a schema?
    You need to grant the privileges directly to the schema and not through a role

  • YTD, QTD and Year grain metrics = ORA-00942: table or view does not exist

    Hi everyone,
    I'm having a weird issue. I've got some GL data that I want to report on in three different grains: Quarter To Date, Year To Date and Entire Year. For the first two measures, I've setup a time dimension and I'm using the ToDate function. Works perfectly. For the third measure, I select the SUM aggregation and then in the Levels Tab, I go to my time dimension and set the logical level to "Year".
    Each measure reports correctly by itself, however, when I join in the three in one report, the who thing blows up on me and gives me an ORA message:
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 17001] Oracle Error code: 942, message: ORA-00942: table or view does not exist at OCI call OCIStmtExecute. [nQSError: 17010] SQL statement preparation failed. (HY000)
    When I only do two of the measures (any two), the report works fine. But it's when I add that third measure in, I get myself in trouble. Additionally, I checked the log file and the report never gets to the point where it generates a physical query. It's only creating a logical query and then it doesn't save the physical query anywhere.
    Can anyone explain what the problem is? Why don't these three measures behave well together? What can I do to force them to co-operate?
    It seems that the real culprit is the entire year measure. It only behaves well with 1 other measure, but once you get two additional measures, it causes the report to get the ORA error.
    Thanks for any help you can give!
    -Joe

    It turns out I was incorrect that there were no physical queries being generated. They were there in the log files, they had so many SAWITH<number> clauses that I thought they were the logical query (i.e. saw_0, saw_1, etc).
    Once I found the physical query, I ran it by hand and also got the table did not exist error. I added in WITH clause by with clause until I got the error to occur. After about an hour of digging, it turned out that a query using a full outer join (about 16 queries in) caused the table does not exist error. I'm not sure what it is about the full outer join that makes Oracle not see the table. When I get some free time I'll dig deeper into that issue.
    But once I realized what was going on, I went into the DB connections and disabled FULL OUTER JOINs. No problem now.
    Like I said, if I find what caused the original problem (i.e. what syntactically was incorrect about the FULL OUTER JOIN), I'll update this post.
    -Joe

  • How to handle ORA-00942: table or view does not exist

    Hii All,
    I'm trying to drop a table dynamically irrespective of its existence in a procedure. Its working fine when table exists but when table doesn't exist I'm facing following error
    ORA-00942: table or view does not existI made use of pragma exception_init and modified my code as below
    Create or replace Procedure sp_FSASA_FEEDUPLOAD_process
               p_test_dir               in     varchar2,
               p_feed_file_name     in     varchar2
    is
              l_exttable_str varchar2(32000) ;
              l_log_file constant varchar2(200) := 'logfile_rgh.log';
              l_table_doesnt_exist Exception;
              pragma exception_init(l_table_doesnt_exist,-00492);
    Begin
              Begin
                   execute immediate 'drop table FSASA_FEEDUPLOAD_EXT purge' ;
              Exception
                        when l_table_doesnt_exist then
                             null;
              End;
              l_exttable_str := 'Create table FSASA_FEEDUPLOAD_EXT ';
              l_exttable_str := l_exttable_str||' ( ';
              l_exttable_str := l_exttable_str||' Category_No                    varchar2(1), ';
              l_exttable_str := l_exttable_str||' Financial_Category          varchar2(300), ';
              l_exttable_str := l_exttable_str||' GFCID                         number, ';
              l_exttable_str := l_exttable_str||' Balance                         number(34,14), ';
              l_exttable_str := l_exttable_str||' Refernce_no                    varchar2(20), ';
              l_exttable_str := l_exttable_str||' Account_no                    varchar2(20), ';
              l_exttable_str := l_exttable_str||' ce_trans_id                    varchar2(20) ';
              l_exttable_str := l_exttable_str||' ) ';
              l_exttable_str := l_exttable_str||' Organization external ';
              l_exttable_str := l_exttable_str||' ( ';
              l_exttable_str := l_exttable_str||' type                    oracle_loader ';
              l_exttable_str := l_exttable_str||' default directory      '||p_test_dir;
              l_exttable_str := l_exttable_str||' Access parameters ';
              l_exttable_str := l_exttable_str||' ( ';
              l_exttable_str := l_exttable_str||'  records delimited by newline ';
              l_exttable_str := l_exttable_str||'BADFILE '||q'[']'||p_test_dir||q'[']'||':'||q'[']'||'feed.bad '||q'[']' ;
              l_exttable_str := l_exttable_str||'LOGFILE '||q'[']'||p_test_dir||q'[']'||':'||q'[']'||':feed.log '||q'[']' ;
              l_exttable_str := l_exttable_str||q'[FIELDS TERMINATED BY X'09']';
              l_exttable_str := l_exttable_str||' missing field values are null ';
              l_exttable_str := l_exttable_str||')location('||q'[']'||p_feed_file_name||q'[']';
              l_exttable_str := l_exttable_str||')' ;
              l_exttable_str := l_exttable_str||' )Reject limit unlimited ';
              dbg_print(l_log_file,'l_exttable_str : '||l_exttable_str);
              execute immediate l_exttable_str;
    End;But still I'm unable to get rid of it. Pls help me.
    1)I need to drop it as I need to immediately create table with different file name and from different path.
    2)The last thing I don't like to do is to check the table name in USER_OBJECTS and then drop.
    3)Also suggest me whether creating an external table dynamically is correct approach or not.
    4)Till now we were using utl_file for reading feed file but I'm much interested in using EXTERNAL TABLE concept.
    5)As the filename and path gets changed I need to create my external table at runtime.
    please suggest me whether I can alter my filename and path at runtime

    You will need to use WHEN OTHERS EXCEPTION handler which is not a good idea to do so if you dont handle the same approprialtly then the exception would go un-noticed:
    SQL> ed
    Wrote file afiedt.buf
      1  begin
      2  execute immediate 'drop table my_Test';
      3  exception
      4  when others then
      5  dbms_output.put_line(SQLCODE||SQLERRM);
      6* end;
    SQL> /
    -942ORA-00942: table or view does not exist
    PL/SQL procedure successfully completed.
    SQL>

Maybe you are looking for