Skip to Main Content

ORDS, SODA & JSON in the Database

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

ords 18.2 ORA-00942: table or view does not exist accesing restful service

oscarjavier99Jul 28 2018 — edited Jul 30 2018

Hello,

I am facing a really strange issue, I installed ORDS18.2 on database 18c and apex 18.1, tomcat 8.  Everything works fine the first time but some days later it began to appear the error 500 internal server error when I try to access the restful services created. The log in tomcat shows the following:

Caused by: Error : 604, Position : 0, Sql = select nvl(h.items_per_page,m.items_per_page) items_per_page, t.etag_type, t.etag_query, h.source_type, cursor(select p.name, p.bind_variable_name, p.source_type,p.access_method, p.param_type from user_ords_parameters p where p.handler_id = h.id) parameters, h.source from user_ords_modules m, user_ords_templates t, user_ords_handlers h where m.status = 'PUBLISHED' and t.id = h.template_id and m.id = t.module_id and h.id = :1 , OriginalSql = select nvl(h.items_per_page,m.items_per_page) items_per_page, t.etag_type, t.etag_query, h.source_type, cursor(select p.name, p.bind_variable_name, p.source_type,p.access_method, p.param_type from user_ords_parameters p where p.handler_id = h.id) parameters, h.source from user_ords_modules m, user_ords_templates t, user_ords_handlers h where m.status = 'PUBLISHED' and t.id = h.template_id and m.id = t.module_id and h.id = ?, Error Msg = ORA-00604: error occurred at recursive SQL level 1

ORA-00942: table or view does not exist

I uninstall ords and install it again and works fine for some days but again the error appears (without any apparent reason)

If I run the query connected directly to the database as ords_public_user, apex_rest_public_user, apex_listener or apex_public_user the query run succesfully, returning 0 rows, but no errors on table or view does not exists, so I cant understand why this error is showing.

Which user does ORDS use to execute the query?

Connection to apex does work fine always, the problem is only accesing the restful services.

Any help or tip to pinpoint the error is appreciated.

This post has been answered by thatJeffSmith-Oracle on Jul 30 2018
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 27 2018
Added on Jul 28 2018
2 comments
1,688 views