SQLException...table or view does not exist.

Hi... experts...
I am trying to insert values from jsp page to my oracle database. I am using oracle 11g on linux operating system.
now on clicking the apply changes button i am getting following error...
SQLException caught: ORA-00942: table or view does not exist.
Awaiting for response.
Thanks.

"Table or view doesn't exist" - it just doesn't get any more clear than that. Possible reasons:
1 you have a typo in the table name
2 your database user cannot see the table (rights problem)
3 you are connecting to the wrong database/schema!
Whatever the case, its a booboo you made; Java is not lying to you and you are not going to pin this on a bug somewhere that is not under your control. Find your incredibly simple mistake and correct it.
And believe me, plenty of people did #3.

Similar Messages

  • Java.sql.SQLException: ORA-00942: table or view does not exist

    Hi all,
    I have an Oracle table called: USER_APP_VERSION with the fields (all String): (username, application_name, version).
    I use PreparedStatement to insert rows into table:
    String psInsertRpt = "INSERT INTO USER_APP_VERSION (username, application_name, version) VALUES (?, ?, ?)";
    rptPS = conn.prepareStatement(psInsertRpt);
    rptPS.setString(1, username);
    rptPS.setString(2, source);
    rptPS.setString(3, version);
    rptPS.executeUpdate(); At executeUpdate() line, I get the following error:
    java.sql.SQLException: ORA-00942: table or view does not exist
    The table does exist, I can use the "INSERT INTO USER_APP_VERSION (username, application_name, version) VALUES ("name", "source", "version")";
    to insert rows into db at sql command line, however, when run the same query as part of my Java code, get the SQLException.
    Any idea? Any help is greatly appreciated.

    Thanks for the raply. I can connect to the db using a username and password, and run the query with no problem. I use the same username and password to make a jdbc connection from Java code. Since username and password are the same, does "permission" is still an issue? If yes, how can I solve it?

  • 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

  • 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.

  • 10gLiteR3 publishing ORA-00942: table or view does not exist error

    Hi All,
    I am encountering table or view does not exist error while publishing using the api.
    Below is the code:
    try {
    consolidatorManager.openConnection("MOBILEADMIN","PASSWORD", ADMIN_JDBC_URL);
    mobileResourceManager = new MobileResourceManager("MOBILEADMIN","PASSWORD",ADMIN_JDBC_URL);
    consolidatorManager.createPublicationItem(EXT_CONN, "RMT_TEST_TABLE" , "MOBILEADMIN","RMT_TEST_TABLE", "F", "SELECT * FROM MOBILEADMIN.RMT_TEST_TABLE", null, null);
    consolidatorManager.addPublicationItem(mobileResourceManager.getPublication("/mobileApp"),"RMT_TEST_TABLE",null, null, "S", null, null);
    } catch (Exception e) {
    e.printStackTrace();
    When I execute the above code it does not throw any exceptions but I see the below error in err.log. I,U,D triggers are getting created on the remote table, CMP, CFM, CVR,CLG tables are also created, I also see primary key for this table in VPKS. Publishing seems to be fine but I see the below error in err.log.
    java.sql.SQLException: ORA-00942: table or view does not exist
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:180)
         at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:208)
         at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:543)
         at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1451)
         at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteDescribe(TTC7Protocol.java:651)
         at oracle.jdbc.driver.OracleStatement.doExecuteQuery(OracleStatement.java:2117)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2331)
         at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:422)
         at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:366)
         at oracle.lite.sync.Subscription.getVirtualTablePrimaryKey(Subscription.java:7522)
         at oracle.lite.sync.Subscription.getTablePrimaryKey(Subscription.java:7365)
         at oracle.lite.sync.Subscription.CreatePublicationItem(Subscription.java:2334)
         at oracle.lite.sync.Subscription.CreatePublicationItem(Subscription.java:2157)
         at oracle.lite.sync.Subscription.CreatePublicationItem(Subscription.java:2129)
         at oracle.lite.sync.Subscription.CreatePublicationItem(Subscription.java:2108)
         at oracle.lite.sync.Subscription.CreatePublicationItem(Subscription.java:2093)
         at oracle.lite.sync.Subscription.CreatePublicationItem(Subscription.java:2079)
         at oracle.lite.sync.ConsolidatorManager.createPublicationItem(ConsolidatorManager.java:1253)
    I am not able to figure out what table it is looking for. Any ideas why this is happening?

    check the MGP compose process, is it also showing the error?
    If it is them at some point in 10.2 Oracle introduced a 'feature' (ie: bug) that causes problems to the housekeeping routines when new versions of publication items are published
    In 10.0 and early 10.2 when making changes to publication items VIEWS called CPV$.. were created to log the column list for each version of a publication item, and check if you are making changes when you publish. In the case of old versions, once all clients have synchronised and been moved to the latest version it tries to delete this view.
    at some point the publish started creating TABLES instead of views (but using the same naming convention ie: CPV$..). This works fine as far as the logging of changes and old column lists, but the housekeeping called at the end of the publish and GP process still trieds to do a DROP VIEW and this causes the error.
    The only way of clearing this i have found is to look at the log file to get the name of the object that it is trying to drop, set up a view script to create a dummy view with the list of columns in the table, drop the table and then create the view. It then gets dropped on the next MGP cycle and the error goes away
    If the error is not showing up in the MGP process, only in the publish, and your changes appear to be publishing OK, then the problem is likely to be with a snapshot definition AFTER the change you have made - real pain to identify on re-publish - possibly missing schema name in the snapshot definition

  • Backup report function returns: ORA-00942: table or view does not exist

    Hello All,
    I recently switched over from control file RMAN to recovery catalog. I logged into the 11g database control, executed a full backup and all went well. However, I just noticed that after I click on 'Backup Report' in database control (enterprise manager) I get the following error message: " java.sql.SQLException: ORA-00942: table or view does not exist"
    I was able to view backup reports prior to switching over to recover catalog. What am I missing or what is missing, sort to speak?
    Thanks all !
    -Ron

    Thanks for the reply Werner. I did try it as 'SYS' but no luck. Strange...This was a new enterprise manager - DB control and the backup reprt function was working prior to using the recover catalog. Anthing in the recovery catalog database that may be missing?
    Rob..

  • Error: table or view does not exist

    Hi,
    I created a procedure where it inserts records from other table (different machine/database). when I execute it, the error was Table or View does not exist+. It seems that it cannot access the table from the other machine/database.
    here is my code..
    insert into <%=odiRef.getSchemaName("*LGL_TGT_DWH_MAIN*", "D")%>.TEMPX_ACCOUNT
         ACCOUNT_NUMBER     ,
         TELEPHONE     ,
         ADDRESS
    select     
    TBL_ACCNT.ACCOUNT_NUMBER ,
    TBL_EMP.TELEPHONE ,
    TBL_EMP.ADDRESS
    from     
    <%=odiRef.getSchemaName("*LGL_TGT_DWH_OTH*", "D")%>.TBL_EMP TBL_EMP ,
    ( select *
    from <%=odiRef.getSchemaName("*LGL_TGT_DWH_MAIN*", "D")%>.TBL_ACCNT
    where PHONE_NUMBER > 0
    ) TBL_ACCNT
    where TBL_ACCNT.PHONE_NUMBER = TBL_EMP.TELEPHONE
    Do I need to create a grant or something to access the table from the other machine?
    Help me please...
    TIA.. :)

    hi,
    the code I posted above was from the procedure I created in Designer. here is the code in the Operator after I run it..
    insert into OBI_DEV.TEMPX_ACCOUNT
    ACCOUNT_NUMBER ,
    TELEPHONE ,
    ADDRESS
    select
    TBL_ACCNT.ACCOUNT_NUMBER ,
    TBL_EMP.TELEPHONE ,
    TBL_EMP.ADDRESS
    from
    DB1_DEV.TBL_EMP TBL_EMP ,
    ( select *
    from OBI_DEV.TBL_ACCNT
    where PHONE_NUMBER > 0
    ) TBL_ACCNT
    where TBL_ACCNT.PHONE_NUMBER = TBL_EMP.TELEPHONE
    here is the error/message in Execution Tab in Operator
    942 : 42000 : java.sql.SQLException: ORA-00942: table or view does not exist
    java.sql.SQLException: ORA-00942: table or view does not exist
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:125)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:316)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:282)
         at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:639)
         at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:185)
         at oracle.jdbc.driver.T4CPreparedStatement.execute_for_rows(T4CPreparedStatement.java:633)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1086)
         at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:2984)
         at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3057)
         at com.sunopsis.sql.SnpsQuery.executeUpdate(SnpsQuery.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execStdOrders(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSqlS.treatTaskTrt(SnpSessTaskSqlS.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java)
         at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java)
         at com.sunopsis.dwg.cmd.DwgCommandSession.treatCommand(DwgCommandSession.java)
         at com.sunopsis.dwg.cmd.DwgCommandBase.execute(DwgCommandBase.java)
         at com.sunopsis.dwg.cmd.e.i(e.java)
         at com.sunopsis.dwg.cmd.h.y(h.java)
         at com.sunopsis.dwg.cmd.e.run(e.java)
         at java.lang.Thread.run(Thread.java:534)
    thanks :)

  • Table or view does not exist when using in PL/SQL block

    I hav something strange...
    When i execute a query it works just fine... When i use the exact same query in a function i want to create, i get the error 'table or view does not exist'
    I create the function with the same user then when i'm executing the query.
    For example:
    select name,userid from portal.WWLOG_ACTIVITY_LOGS
    if i execute this... it works fine. I get my results.
    However when i create a function:
    CREATE OR REPLACE FUNCTION EBUSINESS.GET_USER_CREATOR (p_userid IN Varchar2) return VARCHAR2
    as
    /*CURSOR c_user_creator IS
    select distinct name,userid from portal.WWLOG_ACTIVITY_LOGS
    where sub_domain = 'user' and action = 'create'
    and name = p_userid;*/
    v_creator varchar2(500);
    v_ret_val VARCHAR2(500) := 'NOT_FOUND';
    BEGIN
    select userid into v_ret_val from portal.WWLOG_ACTIVITY_LOGS
    where sub_domain = 'user' and action = 'create'
    and name = p_userid;
    --v_ret_val := x.userid;
    --end loop;
    -- Is the user in the group or not?
    /*OPEN c_user_creator;
    FETCH c_user_creator INTO v_creator;
    IF c_user_creator%FOUND THEN
    v_ret_val := v_creator;
    ELSE
    v_ret_val := 'NOT FOUND';
    END IF;
    CLOSE c_user_creator;*/
    Return v_ret_val;
    END;
    The table or view does not exist...
    I tryed with cursor, select into, for x in (select....)
    Nothing works.
    A select grant is a select grant right? Are there different grant you should use so you can select it into a function or just do a normal select?
    I also tryed to create a view that just sais select * from WWLOG_ACTIVITY_LOGS but that doesn't work...

    Are there different grant you should use so you can
    select it into a function or just do a normal select? Yes. Grants on objects used in functions/procedures must be given directly to the user, and not through a role.

  • Table or view does not exist - Data Dictionary Import Wizard(Data Modeler)

    Hi All,
    In Data Modeler, Data Dictionary Import Wizard, I'm able to connect to database.But while going to the second stage (Select Schema/Database), I'm getting an error "ORA-00942: table or view does not exist".
    I am able to select the table with select * from all_tables and I can open many tables as well.
    Could anyone tell me, whether I'm missing any privilege, that causing this error.
    Thanks in advance for you support.
    Thanks.

    Hi,
    Thanks for your response, sorry for my late reply as I was away from my place.
    Yes, it is showing "Connection established successfully".
    log file as below-
    2012-08-02 10:37:26,471 [main] INFO ApplicationView - Oracle SQL Developer Data Modeler 3.1.1.703
    2012-08-02 10:39:42,889 [AWT-EventQueue-0] ERROR AbstractDBMExtractionWizardImpl - java.sql.SQLSyntaxErrorException: ORA-00942: table or view does not exist
    Pls see oracle version details-
    Oracle Database 11g Enterprise Edition
    11.1.0.6.0
    64bit Production
    Thanks again and waiting for reply.

  • Error in pakcage table or view does not exist but on sql prompt query works

    Hi
    Can any one help me to understand the error of ORA-00942: table or view does not exist while compiling the package on Oracle 9.2.0.4.0
    The below package compiled in system user and trying to query on view v$session_wait however getting below error.
    PACKAGE BODY SYSTEM.PK_DB_ALERT
    On line: 212
    PL/SQL: ORA-00942: table or view does not exist
    I can execute same query mentioned below from sql prompt from system user and it works fine however it doesn't like from package, Please advice, thank you in advance.
    SELECT SID, seq#, event, wait_time
    FROM v$session_wait
    WHERE event NOT LIKE 'SQL*Net%' AND wait_time <> 0
    ORDER BY 2

    SDD wrote:
    Hi
    Can any one help me to understand the error of ORA-00942: table or view does not exist while compiling the package on Oracle 9.2.0.4.0Which means package owner is granted select on view not directly but via roles. However, roles are ignored by definer rights packages/stored procedures/stored functions/triggers... You need to grant package owner select on view directly.
    SY.
    Edited by: Solomon Yakobson on Jan 21, 2010 4:06 AM

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

    Hello,
    As my first APEX task I am attempting the upload/download demo on http://download.oracle.com/docs/cd/B32472_01/doc/appdev.300/b32469/up_dn_files.htm
    The ultimate goal is to store PDF files in the database.
    In order to complete step 1: To create an application using the Create Application Wizard:
    - I first created a user from SYSTEM called 'myapp'
    - Next I logged into 'myapp' to continue the exercise. (I am wondering if that is where I am going wrong... If so, please clarify)
    - Knowing that I would want to save the upload to a table I created a table with a BLOB
    I did the steps for the upload and ran the application - no errors to there.
    Next I needed to "To create a report on APEX_APPLICATION_FILES:".
    I started the wizard as instructed. When I pasted the SELECT ... FROM APEX_APPLICATION_FILES, I got the table or view does not exist. A quick review of the TABLES tab shows only the tables that I created. Not any of the system tables or views.
    I logged back in as SYSTEM and reviewed the 'rights' given the user 'myapp'. All were checked.
    I knew nothing of Oracle when I installed XE, so I took defaults or whatever the install doc said to do. Is that part of the problem? It is clear that I do not have rights to see that table, but I also do not see the table when logged in as SYSTEM.
    Any insight appreciated,
    Rick

    Thanks for the reply.
    Version is:
    Oracle Database 10g Express Edition Release 10.2.0.1.0 - Product
    PL/SQL Release 10.2.0.1.0 - Production
    CORE 10.2.0.1.0 Production
    TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
    NLSRTL Version 10.2.0.1.0 - Production
    Database      
    NAME     XE
    CREATED     10/13/2006 08:04:21 PM
    RESETLOGS_TIME     10/13/2006 08:04:25 PM
    Install Version 10.2.1015
    Regarding the code links, this one looks like what I need:
    DECLARE
    l_bfile BFILE;
    l_blob BLOB;
    BEGIN
    INSERT INTO tab1 (col1)
    VALUES (empty_blob())
    RETURN col1 INTO l_blob;
    l_bfile := BFILENAME('IMAGES', 'MyImage.gif');
    DBMS_LOB.fileopen(l_bfile, Dbms_Lob.File_Readonly);
    DBMS_LOB.loadfromfile(l_blob, l_bfile, DBMS_LOB.getlength(l_bfile));
    DBMS_LOB.fileclose(l_bfile);
    COMMIT;
    END;
    Is the 'BFILENAME' function that causes the 'get a filename' dialog box of Windows to open for the user to find which file to upload?
    I'm going off to look for a newer version of APEX, thanks.

  • ORA-00942: table or view does not exist

    select
                        nvl(appr.APPROVER_NAME, org.APPROVER_NAME) as APPROVER_NAME,
                        nvl(appr.APPROVER, org.APPROVER) as APPROVER,
                        nvl(appr.APPROVER_TYPE, org.APPROVER_TYPE) as APPROVER_TYPE,
                        nvl(appr.ASSIGNED_DATE, org.ASSIGNED_DATE) as ASSIGNED_DATE,
                        nvl(appr.APPROVAL_DATE, '-') as APPROVAL_DATE,
                        nvl(appr.STATE, org.STATE) as STATE,
                                    org.SEQ as numberoftimesmodified,
                        nvl(appr.PROCESS, org.PROCESS) as PROCESS,
                        appr.seq2
                        from (
                             select a.seq,
                             b.usr_display_name as APPROVER_NAME,
                             b.usr_login as APPROVER,
                             'User' as APPROVER_TYPE,
                             '-' as ASSIGNED_DATE,
                             '-' as STATE,
                             a.seq as numberoftimesmodified,
                             '-' as PROCESS
                             from(
                                  SELECT 1 as seq, USR_UDF_MANAGER_LOGIN as GID, '' as approver_name, 'user' as approver_type FROM DEVT_OIM.USR WHERE USR_LOGIN =:BENEFICIARY_GID AND :APPLICATION = 'Oracle 11i On demand'
                                  UNION
                                  select rownum as seq, regexp_substr(:APPROVERPAYLOAD,'[^,]+', 1, level) as gid, '' as approver_name, 'user' as approver_type from dual
                                  where :APPLICATION != 'Oracle 11i On demand'
                                  connect by regexp_substr(:APPROVERPAYLOAD, '[^,]+', 1, level) is not null
                             ) a
                             inner join DEVT_OIM.usr b on a.gid = b.usr_login
                        ) org
                        left join(
                             select b.numberoftimesmodified as seq, rownum as seq2, a.*
                             from
                                  select
                                  LEAD(a.ASSIGNEES) OVER(ORDER BY a.numberoftimesmodified) as prev_gid,
                                  LEAD(a.pushbacksequence) OVER(ORDER BY a.numberoftimesmodified) as prev_pushbacksequence,
                                  a.ASSIGNEES as current_gid,
                                  nvl(retrieveGidName(a.ASSIGNEES), '-') as APPROVER_NAME, 
                                  (DEVT_OIM.TOKNEW(REPLACE(a.ASSIGNEES, ',', ':'))) as APPROVER,
                                  'User' as APPROVER_TYPE,
                                  a.pushbacksequence,
                                  TO_CHAR(a.assigneddate,'DD-Mon-YYYY HH:MI:SS AM') as ASSIGNED_DATE,
                                  case when a.state = 'WITHDRAWN' then TO_CHAR(a.updateddate,'DD-Mon-YYYY HH:MI:SS AM') else TO_CHAR(d.updateddate,'DD-Mon-YYYY HH:MI:SS AM') end as APPROVAL_DATE,
                                  a.numberoftimesmodified,
                                  case when a.state = 'EXPIRED' then 'Expired' when a.approvalduration is null then 'Pending' when  a.outcome = 'REJECT' then 'Rejected' else 'Approved' end as PROCESS,
                                  d.state as process2,
                                  case when d.substate = 'REASSIGNED' then 'Reassigned' when d.state = 'INFO_REQUESTED' then 'Request Info' when a.state = 'EXPIRED' then 'Expired'
                                       when  a.outcome = 'REJECT' then 'Rejected' when d.substate = 'INFO_SUBMITTED' then 'Submitted' when a.state = 'WITHDRAWN' then 'Withdrawn' when e.state is null then 'Pending' else 'Approved' end as state,
                                  e.ASSIGNEES, d.substate
                                  from WFTASKHISTORY a
                                  left join WFTASKHISTORY d on d.IDENTIFICATIONKEY = a.IDENTIFICATIONKEY and d.numberoftimesmodified = (a.numberoftimesmodified+1)
                                  left join WFTASKHISTORY e on e.IDENTIFICATIONKEY = a.IDENTIFICATIONKEY and e.numberoftimesmodified = (a.numberoftimesmodified-1) and e.ASSIGNEES = a.ASSIGNEES
                                  where a.IDENTIFICATIONKEY = :IDENTIFICATIONKEY and a.state is not null
                                  order by a.numberoftimesmodified
                             ) a
                             inner join (select rownum as numberoftimesmodified, pushbacksequence from (select distinct pushbacksequence from WFTASKHISTORY a where a.IDENTIFICATIONKEY = :IDENTIFICATIONKEY order by pushbacksequence)) b
                             on b.pushbacksequence = a.pushbacksequence
                             where a.prev_gid != a.current_gid or prev_gid is null
                             order by a.numberoftimesmodified
                        ) appr on org.seq = appr.seqORA-00942: table or view does not exist
    00942. 00000 - "table or view does not exist"
    *Cause:   
    *Action:
    Error at Line: 55 Column: 172

    Hi User,
    The ORA - 00942 indicates that the Underlying object is not present in the Database.
    Just Check whether the Table you are used in the Select statement exists in the user/Schema.
    To check this..
    SELECT *
      FROM USER_TABLES
    WHERE TABLE_NAME = 'YOUR_TABLE_NAME';Or
    Simply,
    SELECT *
      FROM TAB;If you are using the Table from other Schema, Just give the table name like this..
    SELECT *
      FROM SCHEMA_USER.table_name;Thanks,
    Shankar

  • PL/SQL: ORA-00942: table or view does not exist

    Hi
    i have logged into my schema and trying to access the database "DAD" which has the table name "SCHOOL"
    i wrote a function which should give me new_sno when i give it the old_sno
    and i have this errors , pls help
    CREATE OR REPLACE FUNCTION ORIG_SN(OSNO in Number,OTN in Number)
    RETURN Number IS
    NEW_SNO Number:=0;
    BEGIN
    SELECT new_sno AS NEW_SNO
    FROM DAD.SCHOOL
    WHERE ORIG_SNO = OSNO AND ORIG_TN = OTN;
    RETURN NEW_SNO;
    END ORIG_SN;
    Warning: Function created with compilation errors.
    Errors for FUNCTION ORIG_SN:
    LINE/COL ERROR
    5/1 PL/SQL: SQL Statement ignored
    6/15 PL/SQL: ORA-00942: table or view does not exist
    Thanks in advance ..

    Try this,
    CREATE VIEW SCHOOL_VIEW AS SELECT * FROM DAD.SCHOOL;and then change your function like
    CREATE OR REPLACE FUNCTION ORIG_SN(OSNO in Number,OTN in Number)
    RETURN Number IS
    my_new_sno Number:=0;
    BEGIN
    SELECT new_sno INTO my_new_sno FROM SCHOOL_VIEW WHERE ORIG_SNO = OSNO AND ORIG_TN = OTN;
    RETURN my_new_sno;
    END ORIG_SN;and see if it is getting created without any errors.
    -Arun
    Edited by: Arunkumar Ramamoorthy on Aug 15, 2009 1:56 AM

  • Problem creating a view in Administrator: 942: table or view does not exist

    Hi and thank you for reading,
    I am working with the Administration tool and would like to create a view in the physical layer. However I am getting the following error messages when I try to view the Date in the view:
    [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occured.
    [nQSError: 43093] An error occured while processing the EXECUTE PHYSICAL satement.
    *[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.
    [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occured.
    [nQSError: 43093] An error occured while processing the EXECUTE PHYSICAL satement.
    *[nQSError: 17001] Oracle Error code: 936, message: ORA-00936: missing expression at OCI call OCIStmtExecute.*
    [nQSError: 17010] SQL statement preparation failed.
    I proceed as following:
    Right click on a physical schema (this schema is already created and works in Answers) -> new Physical Schema ->Table Type: Select -> Select * from Table_A where name='name' (Table_A is in the physical schema) -> OK -> Save -> Deploy -> Update Row count (works) -> View Data -> Error
    Any Idea what I am doing wrong. I have started with an easy select statement to test how to create a view in Oracle Administrator.
    Thanks a lot for any help
    Evgeny

    Do you see Table_A, and in which database schema?
    Try to put alias (database user) before table name.
    Select * from user.Table_A where name='name'
    Where user is database user.
    If you have Table_A in another user and connection pool is set to different user, then grant select from Table_A owner to connection pool user (make synonym for Table_A):
    Example (I'm using connection pool from userB and have tables from userA and userB).
    create or replace public synonym xx for userA.xx
    and
    grant select on xx to userB
    Hope this helps.
    Regards,
    Goran
    http://108obiee.blogspot.com

Maybe you are looking for

  • Adding form pagination without the wizard

    Hello, I'm trying to add a form pagination feature into an existing page. When I'm trying to use the Create Form Pagination Wizard I'm getting the following error: "The Create Form Pagination Wizard uses the onChange JavaScript event to alert users w

  • Essbase ASO Cube query performance from OBI EE

    Hi all I have serious problems of performance when I query an ASO cube from OBI EE. The problem born when I implement a filter in some dimension of model in the Business Model and Mapping layer. This filter is to level-0 of the dimension, the values

  • Using acrobat9 un batch file

    how can i use "document/decrease file size" using a batch file to decrease a PDF file size ?

  • Setting up a Connection between Devices

    I was wondering how to set up a connection between 2 or more Devices in Flash Lite and getting the IP addresses of these devices. Can anyone help me with this please?

  • 3.1.3 Update causes signal loss on 3g

    Since I upgraded to 3.1.3 I have no signal at home, before my signal was ok. Has this happened to anyone else and is there anyway to downgrade back to 3.1.2 or fix it? Both my network provider and apple dont really know how to help. Signal is fine ev