ORA-20001: Invalid parsing schema for current workspace ID
I recently upgraded Apex version from 4.0 to 4.2 successfully. Everything looks good except in one of the applications, I am running into
ORA-20001: Invalid parsing schema for current workspace ID ( see below for detailed debug info). It seems this page region code is still looking at
old apex scehma APEX_040000 instead of APEX_040200 somehow. Any ideas.
is_internal_error: true
apex_error_code: APEX.REGION.UNHANDLED_ERROR
ora_sqlcode: -20001
ora_sqlerrm: ORA-20001: Invalid parsing schema for current workspace ID
component.type: APEX_APPLICATION_PAGE_REGIONS
component.id: 21560330709310725
component.name: Calendar
error_backtrace:
ORA-06512: at "APEX_040000.WWV_FLOW_ASSERT", line 377
ORA-06512: at "APEX_040000.WWV_FLOW_ASSERT", line 386
ORA-06512: at "APEX_040000.WWV_RENDER_CALENDAR2", line 462
ORA-06512: at line 27
ORA-06512: at "SYS.DBMS_SYS_SQL", line 1926
ORA-06512: at "SYS.WWV_DBMS_SQL", line 1064
ORA-06512: at "APEX_040200.WWV_FLOW_DISP_PAGE_PLUGS", line 4613
ORA-06512: at "APEX_040200.WWV_FLOW_DISP_PAGE_PLUGS", line 3220
OK
Thanks Patrick. Just wanted to make you're referring to the below code. what package I would be using instead of 'wwv_render_calendar2.show'
wwv_render_calendar2.show (
p_query => q,
p_max_rows => '5',
p_heading_bgcolor => '#CCCC99',
p_table_bgcolor => 'WHITE',
p_monday_friday_only => 'NO',
p_non_curr_month_attr => 'bgcolor="#F7F7E7"',
p_month_font_face => 'Arial',
p_month_font_size => '+1',
p_month_font_color => 'BLUE',
p_day_font_face => 'Arial',
p_day_font_size => '+1',
p_day_font_color => 'BLACK',
p_cell_font_face => 'Arial',
p_cell_font_size => '-2',
p_cell_font_color => 'BLACK',
p_page_width => '95%',
p_show_month_above_tab => 'YES',
p_min_blank_cell_height => '45',
p_calendar_day_date_fmt => 'MM/DD/YYYY',
p_cur_local_date => '');
end;
Similar Messages
-
Error - Invalid parsing schema for current workspace id
Hello,
Users logging into an application occasionally get a strange error: ORA-20104: create_collection_from_query_b Error:ORA-20001: Invalid parsing schema for current workspace ID.
The error occurs during a post authentication process. Does anyone know what could cause these in general or why it might only occur during the first login of the day?
Regards,
Dan
http://danielmcghan.us/
http://sourceforge.net/projects/tapigen/Scott,
Today the error mentioned in the last post occurred 3 times - the highest number in a single day yet. Also, to add to the dilemma, a new one occurred:
ORA-20104: create_collection_from_query_b Error:ORA-20101: Application collection exists
Knowing that the create collection process is called from a post authentication process I don't see how that the collection could exist for that session... Any ideas?
Regards,
Dan
http://danielmcghan.us
http://sourceforge.net/projects/tapigen -
Invalid parsing schema for current workspace ID
I have an application that captures different SQL statements (they make use of DB links) and dynamically executes them on demand.
I use apex collections to get the result rows for the SQL and use them to both query on the UI as well as send out emails using the returned data. This is all OK and works fine.
I then added another feature to my application where I support the scheduling of the running the SQL / sending out of the emails. It uses the same logic as I use from within the application but it fails with the following error ...
Invalid parsing schema for current workspace ID
when the SQL is being used to populate the collection.
The scheduling is done using the apex plsql job scheduling package. It's as though the context that the job is running in is different from that of the application I created. The strange thing is that it can still see my tables that I created as the queries return data from my tables but for some reason seems to have an issue with the use of apex collections.
Any ideas or suggestions would be greatly appreciated.Scott,
Today the error mentioned in the last post occurred 3 times - the highest number in a single day yet. Also, to add to the dilemma, a new one occurred:
ORA-20104: create_collection_from_query_b Error:ORA-20101: Application collection exists
Knowing that the create collection process is called from a post authentication process I don't see how that the collection could exist for that session... Any ideas?
Regards,
Dan
http://danielmcghan.us
http://sourceforge.net/projects/tapigen -
How to change parsing schema for REST
Hi all,
I'm trying to test the new REST Webservice feature, but this leads to an error:
Using Apex 4.2.1.00.08, Listener 2.0.1.64.14.25 I set up a simple WebService (method: GET, format: JSON) which
querys a table.
When I try to test my webservice (using "Test" button) the following error is shown:
Request Path passes syntax validation
Mapping request to database pool: PoolMap [_poolName=apex, _regex=null, _workspaceIdentifier=null, _failed=false, _lastUpdate=-1, _template=null, _type=REGEX]
Applied database connection info
Attempting to process with PL/SQL Gateway
Not processed as PL/SQL Gateway request
Attempting to process as a RESTful Service
Determining if request can be dispatched as a Tenanted RESTful Service
Request path has one path segment, continuing processing
No Tenant Principal established yet, continuing processing
APEX_LISTENER pool exists, continuing processing
Matching tenant exists, continuing processing
modul/template/ matches: modul/template/ score: 0
Choosing: oracle.dbtools.rt.resource.templates.jdbc.JDBCResourceTemplateDispatcher as current candidate with score: Score [handle=JDBCURITemplate [scopeId=null, templateId=1019223475312614|5204902308237886, uriTemplate=modul/template/], score=0, scope=SecurityConfig [constraint=none, realm=NONE, logonConfig=LogonConfig [logonForm=null, logonFailed=null]], originsAllowed=[], corsEnabled=true]
Determining if request can be dispatched as a Tenanted RESTful Service
Request path has one path segment, continuing processing
Tenant Principal already established, cannot dispatch
Chose oracle.dbtools.rt.resource.templates.jdbc.JDBCResourceTemplateDispatcher as the final candidate with score: Score [handle=JDBCURITemplate [scopeId=null, templateId=1019223475312614|5204902308237886, uriTemplate=modul/template/], score=0, scope=SecurityConfig [constraint=none, realm=NONE, logonConfig=LogonConfig [logonForm=null, logonFailed=null]], originsAllowed=[], corsEnabled=true] for: GET modul/template/
Choosing: oracle.dbtools.rt.jdbc.entity.JDBCTenantDispatcher as current candidate with score: Score [handle=oracle.dbtools.rt.jdbc.entity.JDBCTenantDispatcher$TenantTarget@1537060, score=1, scope=SecurityConfig [constraint=none, realm=NONE, logonConfig=LogonConfig [logonForm=null, logonFailed=null]], originsAllowed=[], corsEnabled=true]
Chose oracle.dbtools.rt.jdbc.entity.JDBCTenantDispatcher as the final candidate with score: Score [handle=oracle.dbtools.rt.jdbc.entity.JDBCTenantDispatcher$TenantTarget@1537060, score=1, scope=SecurityConfig [constraint=none, realm=NONE, logonConfig=LogonConfig [logonForm=null, logonFailed=null]], originsAllowed=[], corsEnabled=true] for: GET prx/modul/template/
prx/modul/template/ is a public resource
modul/template/ is a public resource
Using generator: oracle.dbtools.rt.json.query.JSONQueryGenerator
Performing JDBC request as: POFFICE
Error during evaluation of resource template: ORA-00942: Tabelle oder View nicht vorhanden
I see what is going wrong: "Performing JDBC request as: POFFICE". JDBC is using a wrong schema ("POFFICE").
So, my question is, how to change the parsing schema for JDBC/WebService?
Thanks a lot,
Michaeljfle wrote:
Yes - this is the reason,
but is there a way to change or delete the first schema provisioned?See {message:id=3757162}
We have deleted the poffice assignment to the workspace, but the REST-service executes with poffice?Don't know could be a bug.
May be try exporting you restful webservice definition > Edit the export file in textpad/notepad and verify the parsing schema
You will see a block something like below, there just amend the p_parsing_schema to desired > and then import it back
wwv_flow_api.create_restful_module (
p_id => 7113266627142076447 + wwv_flow_api.g_id_offset
,p_name => 'oracle.example.vikram2'
,p_parsing_schema => 'APX'
,p_items_per_page => 25
,p_status => 'PUBLISHED'
); -
"ORA-20001: Invalid action CREATE on this object. (U)"
I have a page where data are inserted in my procedure.
<br>This procedure assign "PXX_ID" which is a key from that table.
After that I use "Automatic Row Processing (DML)" with check only on UPDATE", to fill other fields that are not filled in my INSERT procedure. This process is defined with "PXX_ID" which is reassigned (not as it was when page was submitted - before my insert).
<br>SAVE process, which is only calling this DML is working perfectly. My procedure is inserting new record also. But together they are not working. What I want is to use this process for changing data (SAVE button) and for INSERT part also.
<br>Now I get this error "ORA-20001: Invalid action CREATE on this object. (U)"...any help on this?
<br>If problem is that I'm reassigning value of "PXX_ID" then please let me give some hint how to make this if possible using DML processes...
<br>If the solution is to put all fields in INSERT part and use this DML only for changes, let me know. All I need is some hints to understand more this error!
<br>P.S.
<br>I have tried to recreate new process ... but no help.
<br>P.S. II
<br>I cannot sent app on WORKSPACE (too much work to do)...but I can send page export.
<br>THX!This is caused because you have only checked the UPDATE option in the Automatic Row Processing(DML). By unselected the other options you are basically saying they aren't allowed. In order to get around this you need to put a conditional clause on the process. I would use something like if rowid = null then use my insert process. If rowid is not null then use the Automatic Row Processing(DML).
-
ORA-48108: invalid value given for the diagnostic_dest init.ora parameter
Hi All,
I am trying to start my oracle 11g database on windows 7 PC and i am getting below exception
SQL> startup mount
ORA-48108: invalid value given for the diagnostic_dest init.ora parameter
ORA-48140: the specified ADR Base directory does not exist [d:\oracle\app\product\11.2.0\dbhome_1\database\<oracle_base>]
ORA-48187: specified directory does not exist
OSD-00002: additional error information
O/S-Error: (OS 123) The filename, directory name, or volume label syntax is incorrect.
SQL>
Earlier it was working fine. For learning purpose, i have created spfile using pfile and after that i got this issue.
Please help.
Regards,
Sunilsunil907 wrote:
Hi,
I have provided diagnostic_dest folder location (physical path). Now i am getting some different kind of error on startup.
SQL> startup
ORACLE instance started.
Total System Global Area 1068937216 bytes
Fixed Size 2182592 bytes
Variable Size 616563264 bytes
Database Buffers 444596224 bytes
Redo Buffers 5595136 bytes
ORA-00205: error in identifying control file, check alert log for more info
Please help
What does your own research of 'ORA-00205' indicate?
the text of the error message is pretty self explanatory .. it couldn't find the control file.
The control files are specified by the "control_files" initialilzation paramter. When you get this error, the instance has started but was unable to mount the control file. since the init file (spfile) was processed and the instance started you can easily see what it thinks are the control files.
oracle:fubar$ sqlplus / as sysdba
SQL*Plus: Release 11.2.0.1.0 Production on Tue Jul 16 12:51:37 2013
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Connected to an idle instance.
SQL> startup
ORACLE instance started.
Total System Global Area 835104768 bytes
Fixed Size 2217952 bytes
Variable Size 490735648 bytes
Database Buffers 339738624 bytes
Redo Buffers 2412544 bytes
ORA-00205: error in identifying control file, check alert log for more info
SQL> show parameter control
NAME TYPE VALUE
control_file_record_keep_time integer 7
control_files string /u01/app/oracle/oradata/FUBAR/
controlfile/o1_mf_8ybx4t7w_.ct
x, /u01/app/oracle/flash_recov
ery_area/FUBAR/controlfile/o1_
mf_8ybx4tom_.ctl
control_management_pack_access string NONE
SQL>
So what did you do in fixing your original problem that caused your control_files parameter to go south? -
Checkbox and ORA-20507: Invalid numeric value #:# for column
Hi All,
I'm facing problems Checkboxes in a form.
I created a form and report on a table. one of the fields on the form is a checkbox and when ever I want to create a new record or update with more than one value for the checkkbox I obtain the following error:
ORA-20507: Invalid numeric value #:# for column COLUMN_NAME Where by #:# is numbers
I think the error occurs at the processes of get_pk and process_row_of_......
how should I change the processes to accommodate the checkbox values.
Kind regards
MelHi Roel,
Colunm = number
LOV Definition
select product display, prod_num return from product_category_vw
where prod_num not in (select p.prod_num from product_user_tb p, user_tb u
where p.user_num = u.user_number
and u.user_name = :APP_USER)
ORDER BY 1column = number
LOV Definition
select school d, sch_id r from school_tbRegards
Mel -
Dashboard refresh - ORA-24373 invalid length specified for statement
Post Author: Reesy
CA Forum: Performance Management and Dashboards
I am getting the following error message in the log file "ORA-24373: invalid length specified for statement" when trying to refresh a metric via dashboard manager. The metric has been successfully refreshed previously. The only change that I am aware of is that more data has been added to the underlying database (Oracle 10g).
There are a number of different filters on the metric - some work ok - some give the above error.
Can anyone help?
CheersIWOULDFORMATMYCODESOITISREADABLEUSINGMIXEDCASESPACESANDNEWLINES.
ATABLEALIASWOULDPROBABLYHELPTOO. -
Invalid database schema for product hyperion reporting and analysis
I tried to re-configure the BI core service to a new database
But I get the message "invalid database schema for product hyperion reporting and analysis"
The database is a restore of a production backup on a different MSSQL2005 server.
I can not believe its really a sql schema matter.
Does anyone know whats wrong?You cannot restore a BI+ database from backup...It is somewehere in the doc. There a re lots of references to the old server and config in the BI+ tables and you d need to edit/remove some files on the file server too. There is a doc available to do that but its far from simple.
Best way is to export the content of your repository, configure a new DB and then reimport the content.
If you re really stuck, drop me an email and ill send you that doc. I think ive still got it.
Seb
www.taysols.com.au
[email protected] -
ORA-28232: invalid input length for obfuscation toolkit
hi,
i am facing this error when i enterd more then 8 charecter in the input string.
ORA-28232: invalid input length for obfuscation toolkit
why i cant user more then 8 charecter for password.?Rajnish Chauhan wrote:
hi,
i am facing this error when i enterd more then 8 charecter in the input string.
ORA-28232: invalid input length for obfuscation toolkit
why i cant user more then 8 charecter for password.?
28232, 0000, "invalid input length for obfuscation toolkit"
// *Cause: Length of data submitted for encryption or decryption is not a
// multiple of 8 bytes.
// *Action: Make sure that the length of the data to be encrypted or decrypted
// is a multiple of 8 bytes.since you did not share with us exactly what you did, we can say exactly what you did wrong.
How do I ask a question on the forums?
SQL and PL/SQL FAQ -
ORA-20001: INVALID USER: ACCESS DENIED!! - TIVOLI
version 10.2.0.2
SQL> connect tivoli
Enter password:
ERROR:
ORA-00604: error occurred at recursive SQL level 1
ORA-20001: INVALID USER: ACCESS DENIED!! - TIVOLI
ORA-06512: at line 77
Edited by: DBA2008 on Feb 12, 2010 11:59 AMDBA2008 wrote:
i disable the trigger messing up tivoli user,& i am able to login fine, wondering if i enable it back it will do the same?If you keep doing the same thing, you can expect the same results.
Perhaps you should analyze the trigger to figure out
1) what it was supposed to be doing that is not being done since you disabled it
2) why it was throwing the error . . . -
How to change parsing schema for using application in test environment?
Hi,
I set up a test environment, i.e. an other Oracle schema with identical tables, views etc. to the productive environment. I wanted to duplicate the APEX application so that there will be a test version using the test Oracle schema and productive version using the productive oracle schema.
Can some one please give me some tip how to do this? As far as I see i could change the parsing schema in the APEX Application install SQL in the following ways:
1. While exportin the application with APEX
2. In the result install f...sql file using search-replace
3. While importing the APEX application via APEX Development GUI.
I would prefere 1. or 3. but in both cases when I would like to change the schema name, the drop dowl list does not contain the test Oracle schema name. Do I have to grant something to the APEX worksspace schema for the test schema name to show up in the drop dowl list?
TamásOn that screen,
- click Create
- select "Existing" Schema, click Next
- select the Workspace, click Next
- select the Schema, click Next
- click Add Schema
And now you'll end up with two schema's attached for the same Workspace. -
ORA-01017: invalid username/password; for Oralce 12c OEM installation
Hi Experts,
Following error Oralce 12c OEM installation ,i have no clue sys user passowrd is correct in response/new_install.rsp file
[oracle@sdp12 OEM_Packages]$ ./runInstaller -silent -responseFile /oracle/oracle8/OEM_Packages/response/new_install.rsp
Starting Oracle Universal Installer...
Checking Temp space: must be greater than 400 MB. Actual 1222 MB Passed
Checking swap space: must be greater than 150 MB. Actual 4000 MB Passed
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2013-02-24_06-22-19PM. Please wait ...[oracle8@sdp38 OEM_Packages]$
ERROR: ERROR:Exception occurred while connecting to database. Check the connection details of the database you specified and retry.
ORA-01017: invalid username/password; logon denied
Unable to connect to the database and validate whether it is a supported database due to one of the following reasons:
(1) Incorrect credentials
(2) Listener may be down
(3) Database may be down
Check the credentials ,the status of the listener and the database and retry.
i am able to connect using same username password
[oracle8@sdp38 response]$ sqlplus sys/sys512@TET1
SQL*Plus: Release 11.2.0.1.0 Production on Sun Feb 24 18:29:15 2013
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL>
From response/new_install.rsp file
DATABASE_HOSTNAME=sdp12
LISTENER_PORT=1521
SERVICENAME_OR_SID=TET1
SYS_PASSWORD=sys512
SYSMAN_PASSWORD=sysman512
SYSMAN_CONFIRM_PASSWORD=sysman512
i have no clue here, any help greatly appropriated
thanksfew things you can check :
a) Is there a password file ? Is the password correct in it ?
b) SYSDBA remote login is disabled. remote_login_passwordfile is not set to EXCLUSIVE in the spfile or init.ora.
Set: remote_login_passwordfile= EXCLUSIVE
Create a password file:
Unix: $
orapwd file=$ORACLE_HOME/dbs/orapw$ORACLE_SID password=sys entries=5
Windows:
C:\> orapwd file=%ORACLE_HOME%\database\pwd%ORACLE_SID% password= sys entries=5
To synchronize the password for sys for normal connections and connections as sysdba connect as a sysdba user and reset the sys password:
$ sqlplus "/ as sysdba" SQL> ALTER USER SYS IDENTIFIED BY change_on_install; -
ORA-20001: in product initialization for MO
I get the error after I change the responsibility ,
ORA-20001: Oracle error -20001: ORA-20001: Error occurred during product initialization for MO when executing 'begin MO_GLOBAL.INIT; end;'.
What is MO ?Thanks Patrick. Just wanted to make you're referring to the below code. what package I would be using instead of 'wwv_render_calendar2.show'
wwv_render_calendar2.show (
p_query => q,
p_max_rows => '5',
p_heading_bgcolor => '#CCCC99',
p_table_bgcolor => 'WHITE',
p_monday_friday_only => 'NO',
p_non_curr_month_attr => 'bgcolor="#F7F7E7"',
p_month_font_face => 'Arial',
p_month_font_size => '+1',
p_month_font_color => 'BLUE',
p_day_font_face => 'Arial',
p_day_font_size => '+1',
p_day_font_color => 'BLACK',
p_cell_font_face => 'Arial',
p_cell_font_size => '-2',
p_cell_font_color => 'BLACK',
p_page_width => '95%',
p_show_month_above_tab => 'YES',
p_min_blank_cell_height => '45',
p_calendar_day_date_fmt => 'MM/DD/YYYY',
p_cur_local_date => '');
end; -
Multiple schema for a (workspace) user
If I use XE and create a database user from the homepage/admin as system I get ( compared to an HTMLDB2.0 instance in an SE/EE-environment) a user with its workspace (the admin for this workspace). This user has his own schema and if he is logged in he can create application-users (HTMLDB-Users in this workspace).
(1) But how can I add more than one schema to this workspace?
I create a user TEST as system. got user TEST with schema TEST.
I have a database schema (only database schema) DEMO and want assign this so that the (htmldb)User TEST can create applications based on the schema DEMO (thats possible in HMLDB2.0 with SE/EE).Thanks dietmar -
I believed thats an restriction - but want to get an official statment from development... -> SCOTT?
I know the basic workaround and then have to consider any changes in the mixed structure.
It makes sense to have data separated in different schemas and have only one workspace for bundling different applications, because of same securityInterface,
UserInterfaceDefaults... (easy delivering for departments, customers).
If the restriction exist (for newbies makes it easier to understand htmldb&oracle),
we have to accept.
Maybe you are looking for
-
hi team, I am runing ACS 5.3 version and i am getting error messages like below System Alarm [Database Purging] Mon Sep 09 04:00:00 Incremental Backup Not Configured System Alarm [Database Purging] Sun Sep 08 04:00:00 Purge Configuration Repository n
-
Qosmio F20-111and Windows Vista - cannot get sound and display driver to work
Dears I have just installed windows vista home premium 32 bit, but I faced 2 main problems which are: 1- The sound: 2- The graphics card GO 6600 128 MB I found the driver for them but it did not work so I need you help please. Regard
-
HT1918 Re set security questions
How do I re set my security questions for my Apple ID account as I cannot remember the answers
-
Proxy service in OSB is not getting invoked
Hi, I am very new to OSB platform. Here i have created one PS and one BS out of a wsdl. When i am invoking the PS, it is not working. I guess the input request is wrong. Please help me. Input request: <loc:notifySmsReception xmlns:loc="http://www.csa
-
Problems with https connection
Hi there. I use java1.4 and tomcat 4.0.I have trusted certificate. And my code is: try{ URL url = new URL("https://localhost:443/index.html"); URLConnection con = url.openConnection(); BufferedReader reader = new BufferedReader(new InputStreamReader(