ORA-48108/ORA-48140/ORA-48187 - Oracle 12c
Hello Experts,
An error occurred while processing option SAP NetWeaver 7.4 Support Release 2 > Oracle > SAP Systems > Application Server ABAP > Standard System > Standard System( Last error reported by the step:
SQL statement or script failed. DIAGNOSIS: Error message: ORA-48108: invalid value given for the diagnostic_dest init.ora parameter
ORA-48140: the specified ADR Base directory does not exist []
ORA-48187: specified directory does not exist OSD-00002: additional error information O/S-Error: (OS 5) Access is denied. Disconnected.
We are getting this issue while we install Oracle 12C and currently we are in 13of41 phase " Create/Check tablespaces".
Please help us to resolve this issue and to proceed further.
Thanks in advance.
Regards,
Arun K Murugesan
Hello,
By referring this note 1915302 - Database Software 12.1.0.2 Installation on Windows, I can start the database now.
Read/Modify access has been given to the Oracle folders for the Oracle user(It should not be an admin user and it should not be same as the Installation user), which is clearly explained in the above said note.
But now am facing another issue which is shown below,
SAPINST ORACLE start logging for
STARTUP;
exit;
Output of SQL executing program:
SQL*Plus: Release 12.1.0.2.0 Production on Sat Apr 4 20:23:35 2015
Copyright (c) 1982, 2014, Oracle. All rights reserved.
Connected to an idle instance.
ORACLE instance started.
Total System Global Area 2634022912 bytes
Fixed Size 3835496 bytes
Variable Size 1325402520 bytes
Database Buffers 1291845632 bytes
Redo Buffers 12939264 bytes
ORA-00205: error in identifying control file, check alert log for more info
Disconnected from Oracle Database 12c Enterprise Edition Release 12.1.0.2.0 - 64bit Production
With the Partitioning, OLAP, Advanced Analytics and Real Application Testing options.
Please advice.
Thanks
Arun K Murugesan.
Similar Messages
-
I'm in initial stages of testing Oracle 12c (12.1.0.1) on Windows, 64-bit with an application I develop.
I had two working instances on the system. After an unscheduled power cycle, the instances refuse to start.
The error I get is:
C:\Users\b>sqlplus SQL*Plus: Release 12.1.0.1.0 Production on Thu Oct 17 13:54:27 2013
Copyright (c) 1982, 2013, Oracle. All rights reserved.
Enter user-name: / as sysdba
Connected to an idle instance.
SQL> startup
ORA-48146: missing read, write, or exec permission on directory during ADR initialization [d:\oracle\diag\rdbms\cldb12c] [0]
ORA-48187: specified directory does not exist
OSD-00002: additional error information O/S-Error: (OS 5) Access is denied.
The directory exists, but appears to be read-only. I've changed that (just to check), and there's no change except that the permissions are set back to read-only after the attempt. Ideas?Is it Vista or 2008, by default in these severs only files have a read only attribute Any changes to the folder's read-only box will only affect the files inside the folder, then the read-only box will default back to blue when you check it again.
Because the attribute is set on the file level, then unchecking the folder box doesn't remove the Read-Only attribute, Check his note for more understanding and solution.
Directory Permission Problems While Creating Database On Windows Vista and Windows Server 2008 (Doc ID 838547.1) -
Running JSP on TOMCAT 7.0.50 cannot Oracle 12c on Windows 8.1 returns ORA-12505
I have installed and configured and using JSP, Tomcat 7.0.50 , Oracle 12c running Windows 8.1
Oracle driver - ojdbc7.jar
I am running a basic JSP test which is failing with
Basic Test SQLException: Listener refused the connection with the following error: ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
This is weird because I can connect using sqlplus
SQL> conn dreamhome/dreamhome@pdborcl
Connected.
I can also connect using system to ORCL (as system). Howver PDBORCL is still failing through TOMCAT
JSP Connection call
<%@ page import="java.sql.*" %>
Basic Test
<%
Connection conn = null;
try
Class.forName("oracle.jdbc.driver.OracleDriver");
conn = DriverManager.getConnection( "jdbc:oracle:thin:@localhost:1521:pdborcl", "dreamhome", "dreamhome");
Statement stmt = conn.createStatement();
ResultSet rs = stmt.executeQuery("SELECT * FROM dreamhome_users");
//Print start of table and column headers out.println("");
out.println("");
out.println(" "); //Loop through results of query.
while(rs.next())
out.println("");
out.println("LOGIN_ID USERNAME PASSWORD" + rs.getString("LOGIN_ID") + " " + rs.getString("USERNAME") + " " + rs.getString("PASSWORD") + "");
TNSPING
..\product\12.1.0\dbhome_1\NETWORK\ADMIN>tnsping pdborcl
TNS Ping Utility for 64-bit Windows: Version 12.1.0.1.0 - Production on 16-JAN-2
014 05:41:15
Copyright (c) 1997, 2013, Oracle. All rights reserved.
Used parameter files:
..\product\12.1.0\dbhome_1\network\admin\sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = pdborcl)))
OK (10 msec)
..\product\12.1.0\dbhome_1\NETWORK\ADMIN>
TNSNAMES.ORA (extract)
ORCL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl)
PDBORCL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = pdborcl)
Database queries
SQL> select PDB from v$services;
PDB
PDBORCL
CDB$ROOT
CDB$ROOT
CDB$ROOT
CDB$ROOT
SQLPLUS example
SQL> conn dreamhome/dreamhome@pdborcl
Connected.
A working example
<%
Connection conn = null;
try
Class.forName("oracle.jdbc.driver.OracleDriver");
conn = DriverManager.getConnection( "jdbc:oracle:thin:@localhost:1521:orcl", "system", "password");
Statement stmt = conn.createStatement();
ResultSet rs = stmt.executeQuery("SELECT * FROM dreamhome_users");
//Print start of table and column headers out.println("");
out.println("");
out.println(" "); //Loop through results of query.
while(rs.next())
Basic Test SQLException: ORA-00942: table or view does not exist
Failing example
<%
Connection conn = null;
try
Class.forName("oracle.jdbc.driver.OracleDriver");
conn = DriverManager.getConnection( "jdbc:oracle:thin:@localhost:1521:pdborcl", "system", "password");
Statement stmt = conn.createStatement();
ResultSet rs = stmt.executeQuery("SELECT * FROM dreamhome_users");
//Print start of table and column headers out.println("");
out.println("");
out.println(" "); //Loop through results of query.
while(rs.next())
out.println("");
out.println("LOGIN_ID USERNAME PASSWORD" + rs.getString("LOGIN_ID") + " " + rs.getString("USERNAME") + " " + rs.getString("PASSWORD") + "");
Basic Test SQLException: Listener refused the connection with the following error: ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
TOMCAT config files
server.xml extract
<Resource name="jdbc/Oracle12C"
auth="Container"
type="oracle.jdbc.pool.OracleDataSource"
driverClassName="oracle.jdbc.driver.OracleDriver"
factory="oracle.jdbc.pool.OracleDataSourceFactory"
url="jdbc:oracle:thin:@localhost:1521:pdborcl"
user="dreamhome"
password="dreamhome"
maxActive="20"
maxIdle="10"
maxWait="-1" />
Any suggestions?I have installed and configured and using JSP, Tomcat 7.0.50 , Oracle 12c running Windows 8.1
Oracle driver - ojdbc7.jar
I am running a basic JSP test which is failing with
Basic Test SQLException: Listener refused the connection with the following error: ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
This is weird because I can connect using sqlplus
SQL> conn dreamhome/dreamhome@pdborcl
Connected.
I can also connect using system to ORCL (as system). Howver PDBORCL is still failing through TOMCAT
JSP Connection call
<%@ page import="java.sql.*" %>
Basic Test
<%
Connection conn = null;
try
Class.forName("oracle.jdbc.driver.OracleDriver");
conn = DriverManager.getConnection( "jdbc:oracle:thin:@localhost:1521:pdborcl", "dreamhome", "dreamhome");
Statement stmt = conn.createStatement();
ResultSet rs = stmt.executeQuery("SELECT * FROM dreamhome_users");
//Print start of table and column headers out.println("");
out.println("");
out.println(" "); //Loop through results of query.
while(rs.next())
out.println("");
out.println("LOGIN_ID USERNAME PASSWORD" + rs.getString("LOGIN_ID") + " " + rs.getString("USERNAME") + " " + rs.getString("PASSWORD") + "");
TNSPING
..\product\12.1.0\dbhome_1\NETWORK\ADMIN>tnsping pdborcl
TNS Ping Utility for 64-bit Windows: Version 12.1.0.1.0 - Production on 16-JAN-2
014 05:41:15
Copyright (c) 1997, 2013, Oracle. All rights reserved.
Used parameter files:
..\product\12.1.0\dbhome_1\network\admin\sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = pdborcl)))
OK (10 msec)
..\product\12.1.0\dbhome_1\NETWORK\ADMIN>
TNSNAMES.ORA (extract)
ORCL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl)
PDBORCL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = pdborcl)
Database queries
SQL> select PDB from v$services;
PDB
PDBORCL
CDB$ROOT
CDB$ROOT
CDB$ROOT
CDB$ROOT
SQLPLUS example
SQL> conn dreamhome/dreamhome@pdborcl
Connected.
A working example
<%
Connection conn = null;
try
Class.forName("oracle.jdbc.driver.OracleDriver");
conn = DriverManager.getConnection( "jdbc:oracle:thin:@localhost:1521:orcl", "system", "password");
Statement stmt = conn.createStatement();
ResultSet rs = stmt.executeQuery("SELECT * FROM dreamhome_users");
//Print start of table and column headers out.println("");
out.println("");
out.println(" "); //Loop through results of query.
while(rs.next())
Basic Test SQLException: ORA-00942: table or view does not exist
Failing example
<%
Connection conn = null;
try
Class.forName("oracle.jdbc.driver.OracleDriver");
conn = DriverManager.getConnection( "jdbc:oracle:thin:@localhost:1521:pdborcl", "system", "password");
Statement stmt = conn.createStatement();
ResultSet rs = stmt.executeQuery("SELECT * FROM dreamhome_users");
//Print start of table and column headers out.println("");
out.println("");
out.println(" "); //Loop through results of query.
while(rs.next())
out.println("");
out.println("LOGIN_ID USERNAME PASSWORD" + rs.getString("LOGIN_ID") + " " + rs.getString("USERNAME") + " " + rs.getString("PASSWORD") + "");
Basic Test SQLException: Listener refused the connection with the following error: ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
TOMCAT config files
server.xml extract
<Resource name="jdbc/Oracle12C"
auth="Container"
type="oracle.jdbc.pool.OracleDataSource"
driverClassName="oracle.jdbc.driver.OracleDriver"
factory="oracle.jdbc.pool.OracleDataSourceFactory"
url="jdbc:oracle:thin:@localhost:1521:pdborcl"
user="dreamhome"
password="dreamhome"
maxActive="20"
maxIdle="10"
maxWait="-1" />
Any suggestions? -
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? -
We have a SQL Server 2005 64bit box that needs a linked server created to Oracle 11g 64bit box. I have all the Oracle client software installed and can successfully connect to the Oracle database using SQL+ on the SQL Server 2005 64bit box. When I create
the linked server and select the OraOledb.Oracle provider, I get the TNSNames error. The Oracle server does not use tnsnames.ora it uses OLAP.ora to resolve. How do I get Linked server to stop trying to connect via TNSNames and use the OLAP.ora file instead?
I can't find any articles for this specific issues. All Oracle examples tell you to use TNSNAMES. The Oracle server is not under my companies control so I can not force the vendor to use tnsnames instead of OLAP.Hi,
Have you got a resolution?
Thank you. -
ORA-31619: invalid dump file "D:\oracle-export\mitest-19-05-2009.dmp"
HI
I have took logical backup (export) on linux and import (windows 2003 server).
export command:
$expdp miqa/miqa schemas=miqa directory=backup_dir CONTENT=all dumpfile=miqa-`date +%d-%m-%Y`.dmp CONTENT=all logfile=miqa-`date +%d-%m-%Y`.log'
when i import on windows 2003 server i am getting the following error
grant create any directory to rnddb;
create or replace directory backup_dir as 'd:\export';
GRANT READ, WRITE ON DIRECTORY backup_dir TO rnddb;
c:\>impdp rnddb/rnddb directory=backup_dir dumpfile=mitest-19-05-2009.dmp SCHEMAS=mitest REMAP_SCHEMA=mitest:rnddb CONTENT=all logfile=mitest-19-05-2009.log
I am getting the following error.
Import: Release 10.1.0.2.0 - Production on Wednesday, 17 June, 2009 14:45
Copyright (c) 2003, Oracle. All rights reserved.
Connected to: Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Produ
tion
With the Partitioning, OLAP and Data Mining options
ORA-39001: invalid argument value
ORA-39000: bad dump file specification
ORA-31619: invalid dump file "D:\oracle-export\mitest-19-05-2009.dmp"
pls could you help me where i done mistake.
Thanks
Settu GopalORA-31619: invalid dump file "string"
Cause: Either the file was not generated by Export or it was corrupted.
Action: If the file was indeed generated by Export, report this as an Import bug and submit the export file to Oracle Customer Support.
How was the dump file transferred between Linux and Windows server? -
ORA - 12560 TNS: protocol adapter error Oracle 9i
I have installed Oracle Developer suite 9i and n personal 9i database on the same machine.( Using instructions located at :
http://www.course.com/cdkit/installinstructionsguideto9i.cfm)
SQL, iSQL, and developer is connecting to database and displaying result but when I run my form from developer forms it give me the following error
ORA-12560 TNS:protocol adaper error
my operating system is winXP professional.
After much research/ trial & error -- the solution was quite simple :
1. C:\OraHome92\network\admin\tnsnames.ora
2. C:\Oracle\Oradev\network\admin\tnsnames.ora
The first one is your Oracle PE database directory and
the second one is the Developer directory in case you
installed with different names.
Both ORA files are text format can be opened with
NotePad if they have different contents
First rename
C:\Oracle\Oradev\network\admin\tnsnames.ora
to C:\Oracle\Oradev\network\admin\tnsnamessave.ora
Copy the C:\OraHome92\network\admin\tnsnames.ora
to C:\Oracle\Oradev\network\admin\tnsnames.ora.
Try to run Froms again.
If it still does not work; stop all Oracle processes
(go to systems "manage" function by right-clicking
"my computer").
Than deinstall Oracle PE and reinstall it by followingthe instructions at:
http://www.course.com/cdkit/installinstructionsguideto9i.cfm
Please let me know if this solution works for you as well.Hi,
Here are the output
SQL> select * from v$version;
BANNER
Oracle8i Enterprise Edition Release 8.1.7.0.0 - Production
PL/SQL Release 8.1.7.0.0 - Production
CORE 8.1.7.0.0 Production
TNS for 32-bit Windows: Version 8.1.7.0.0 - Production
NLSRTL Version 3.4.1.0.0 - Production
SQL> select version from v$instance;
select version from v$instance
ERROR at line 1:
ORA-00942: table or view does not exist
SQL> select comp_id,version,status from dba_registry;
select comp_id,version,status from dba_registry
ERROR at line 1:
ORA-00942: table or view does not exist
Thanks,
Anjela -
RMAN> register database;
database registered in recovery catalog
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03008: error while performing automatic resync of recovery catalog
ORA-00206: error in writing (block 29824, # blocks 64) of control file
ORA-00202: control file: '/u01/app/oracle/product/11.2.0.2/db_1/dbs/snapcf_bibp1.f'
ORA-27072: File I/O error
Additional information: 4
Additional information: 29824
Additional information: 200704
I have created catalog server and want to configure on both node.its RAC env. bibp1 and bibp2
when am trying to register the database when give me above error.In 11.2.0.2, the Snapshot Control file must be on a Clustered File System or ASM. It cannot be on a local filesystem.
See Oracle Support Notes
RMAN Snapshot Controlfile Must Reside on Shared Device for RAC database in 11G [ID 1263621.1]
In RAC environment from 11.2 onwards Backup Or Snapshot controlfile needs to be in shared location [ID 1472171.1]
You need to :
CONFIGURE SNAPSHOT CONTROLFILE NAME TO <shared_location_file>;Hemant K Chitale -
Hi everyone,
has anyone else had this error which has been driving me round the bend during the last three days?
I have an interactive report which used to work fine.
Now it happens (when the page loads/a filter is en- or disabled) that - from time to time, but unpredictable - I receive
ORA-20001: get_dbms_sql_cursor error ORA-00904: : invalid identifier
The report is based on a table function.
I will try to set up a testcase and post the link here, but so far I haven't managed to force the error to occur.
But maybe someone else has already bumped into this kind of error? I would be grateful for any hints!
Best regards,
Sabine
Application Express 4.1.0.00.32
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit ProductionHi Jari,
I changed the type definition (the return type of the table function) and extended the select list in the source of the IR.
I do not use 'select *' but reference every column explicitly. So APEX easked me whether to add the new column.
I also tried deleting in recreating the region, but no luck.
Any more ideas?
Best regards,
Sabine -
Hi,
I am having a wft program, which checks a function activity and depending on the value returned sends difference notifications.
The package body completed successfully from backend and while running the workflow program it sends a notification also. But while opening the notification it gives the following error,
ORA-20006: ORA-01722: invalid number ORA-06512: at "APPS.WF_NOTIFICATION", line 5328 ORA-06512: at line 5
I have 3 procedures in my package body and all the 3 procedures have exceptions defined as follows, if they are using any workflow activities.
==========================================================
EXCEPTION
WHEN OTHERS THEN
WF_CORE.context (
'WFCustCheck',
'MisCustDataFromTableDoc',
document_id,
display_type,
document,
document_type,
SQLERRM
RAISE_APPLICATION_ERROR (-20006, SQLERRM);
==========================================================
But I am not able to figure out what is causing this error. What does this "line 5328 ORA-06512: at line 5" in the error message indicate?. My package body has only 600 lines. And why is the error message not displaying the procedure name? though I have defined the procedure name in the exception.
What is the best way to get the procedure name in the error message? So that it becomes easier for identifying which procedure is causing the erro?
Please let me know.
ThanksHi,
Instead of the RAISE_APPLICATION_ERROR command, just replace that with RAISE;
The error is coming out of the package that is sending the notification (WF_NOTIFICATION), which is invoked when you open the notification. I'm guessing that line 5 is the line in your code though.
Are you using documents to send the notification, or are they purely defined in the .wft file?
Matt
Alpha review chapters from my book "Developing With Oracle Workflow" are available on my website:
http://www.workflowfaq.com
http://forum.workflowfaq.com
NEW! - WorkflowFAQ Blog at http://thoughts.workflowfaq.com -
Hi All,
I had created a IR report based on a table and it was working with no issues. But after few days, when I try searching using the IR search bar it shows "ORA-20001: get_dbms_sql_cursor error ORA-00936: missing expression" error message. I don't see any debug messages or errors in the debug window. The Finder drop down is empty too, there are no columns displayed to filter.
When I recreate the IR report(new page) based on the same table, It works fine and there are no issues with the search. But the old IR report search doesnt work. I have not modified the any thing in the old report after initial creation. Report uses Primary key based on a sequence.
What might have caused this issue?
Is there a way to intercept the search query from IR report?
Apex version - 4.2.3.00.08.
Any help on this appreciated.
Thanks,
JaganHi MK, as I had mentioned in my post, I don't see any logs in the debug window, query tab.
Can you please guide me how to check the query logs on search?
Thanks,
Jagan -
Why APEX 4.1 Error handling function does not trap the error of missing table?
Say, I create simple application with single IR report page and I also assign standard simple error handling function.
Function works perfectly, except but this case:
If I just drop a table used by report page and then refresh the page I am getting usual APEX error message:
ORA-20001: get_dbms_sql_cursor error ORA-00942: table or view does not exist
and error handling function is not invoked at all.
Is this a feature or a bug?Hi,
Check the corrections given in the note 990764:
Reason and Prerequisites
Up to now, using a characteristic with its own master data read class as the InfoProvider was not supported. This is now released but it is not available for all modelings. Using the attributes in the query is not supported for characteristics that have their own master data read class. Using the attributes in the query causes a termination. The following errors may occur in this case:
ORA-00942: table or view does not exist
Fehler in CL_SQL_RESULT_SET Include NEXT_PACKAGE
RAISE_READ_ERROR in CL_RSDRV_VPROV_BASE
Solution
SAP NetWeaver 2004s BI
Import Support Package 11 for SAP NetWeaver 2004s BI (BI Patch 11 or SAPKW70011) into your BI system. The Support Package is available once Note 0914305 "SAPBINews BI 7.0 Support Package 11", which describes this Support Package in more detail, has been released for customers.
In urgent cases you can implement the correction instructions.
The correction instructions contain the tightened inspection for characteristics.
Regards,
Anil Kumar Sharma .P -
ORA-20001: error 29th ORA-24344 When creating a workspace
Hi,
I just installed APEX 4.0 on 10g (10.2.0.4).
When I tried to create a new workspace, at the last step (after clicking "Create Workspace" button), it fails with the following error.
ORA-20001: error 29th ORA-24344: success with compilation error
Error provisioning test.
I could not find any errors in PLSQL debug error, and in DBA_ERRORS table.
Could you help me to fix this problem? I ran utlrp.sql to make sure we don't have invalid objects. And I read the installation log and found no errors. XDB, OWA installed.
I have another APEX 4.0 instance on 11g R2, and it works fine.
Thanks
Jung
Edited by: jwryoo on Jul 15, 2010 8:37 AMthanks.
Yes, that's I already checked and confirmed that the privilege is granted.
DBA_ERRORS did not show any errors owned by APEX% users.
But I did see some errors owned by XDB.
PL/SQL: Item ignored
PLS-00201: identifier 'UTL_FILE' must be declared
PL/SQL: Statement ignored
PLS-00201: identifier 'DBMS_LOB' must be declared
It seems the DB has revoked some public access for security reasons.
So, I am trying to ask DBA to grant the privileges to XDB. -
ORA-06512 and/or ORA-00936 ... simple procedure problem probably
I'm passing in codes like the following to the stored procedure (below):
",IRE,UK,FR,SCOT,WALES" (a string of words seperated by a ',')
Problem is I get the following error:
ORA-00936: missing expression ORA-06512: at "APPNAME.PKG_TOOL", line 132 ORA-06512: at line 1
I googled the two ORA's but am still stumped. I'd appreciate any help at all as I'm still not overly familiar with SQL.
PROCEDURE sp_check_code_Exist(p_CodeList IN varchar, p_cursorSMB IN OUT cursorSMB) IS
thissql varchar(1000);
BEGIN
thissql := thissql || 'select * from codes_data c where ';
thissql := thissql || 'c.code in ('|| p_CodeList ||') ';
open p_cursor FOR thissql;
begin
Execute immediate thissql;
end;
END sp_check_code_Exist;I know this is digressing a bit from the thread heading but I'd like to know if I really will be screwed if I don't optimise.
The machine that this is being hosted on will be a top notch machine with a very fat line and will have probably only thousands of codes.
This is the code as it stands now
PROCEDURE sp_check_GenericCodes(p_GenericsList IN varchar, p_cursorSMB IN OUT cursorSMB) IS
thissql varchar(1000);
BEGIN
thissql := thissql || 'select distinct generic_code from emc_codes_data ed where ';
thissql := thissql || 'ed.generic_code in ('||p_GenericsList||')';
open p_cursorSMB FOR thissql;
END sp_check_GenericCodes;So all I'll be returning is a few thousand words which will then be sorted alphabetically and will be then compared to another string which will be sorted alphabetically, to see if there is any missing code, and if there are then those codes will be spit out to an admin who will realise he made a mistake and where the mistake is.
This is how its all called:
public string checkGenericCodesExist(string codesList)
OracleDataReader rdr = null;
DBConnect dbConnLocal = null;
OracleCommand cmd = null;
string sRetVal = null;
string CurrentFunction = "PPTEngine.clsPart.genericCodeExsists";
try
dbConnLocal = new DBConnect(CurrentFunction, "Pkg_SMBTool.sp_check_GenericCodes", m_Stream);
// Pass in parameters
dbConnLocal.addParam(new OracleParameter("p_cursorSMB", OracleType.Cursor));
dbConnLocal.setParamDirection("p_cursorSMB",ParameterDirection.Output);
dbConnLocal.addParam(new OracleParameter("p_GenericsList", OracleType.VarChar));
dbConnLocal.setParamValue("p_GenericsList", codesList);
// Execute
cmd = dbConnLocal.ExecuteProcedure();
rdr = (OracleDataReader)cmd.Parameters["p_cursorSMB"].Value;
// Loop
if (rdr.HasRows)
while (rdr.Read())
if (!rdr.IsDBNull(rdr.GetOrdinal("Generic_Code"))) m_GenericCode = rdr.GetString(rdr.GetOrdinal("Generic_Code"));
rdr.Close();
//remove the '
string[] PPTCodes = codesList.Replace( "'", null).Split("','".ToCharArray());
catch (Exception e)
Log.WriteToFile(CurrentFunction + " - " + e.Message, System.Diagnostics.TraceLevel.Error);
throw e;
finally
if (dbConnLocal!=null) dbConnLocal.Close();
return sRetVal;
}The above function is still a work in progress, but is almost there. -
I got an error, googled it and couldn't find a good answer. Joe Fuda helped me to fix the problem. Here is the answer for future google results.
Error:
ORA-20001: get_dbms_sql_cursor error ORA-01445: cannot select ROWID from, or sample, a join view without a key-preserved table
Query that triggered the error:
SELECT
p.rowid
, p.product_id
, p.product_type
, p.product_name
, p.product_description
FROM
product p
, link_release_product rp
WHERE
rp.release_id = 1
AND
p.product_id = rp.product_id
This is casued by the keyword "rowid".
The same error occurs if 'p.rowid' is replaced with 'p."ROWID"'.
You can replicate this error in SQL Command by adding wrapping the query with 'select * from ( [the query] )'
Fix:
Add an alias to 'p.rowid' so the query is now like:
SELECT
p.rowid product_rowid
, p.product_id
, p.product_type
Reason:
Unclear, it might have something to do with how APEX does pagination.ok, found the answer... it has to do with the single row view issue addressed in this thread... ORA-01446 on Interactive query
(sorry if there's a better way to link to other threads in this forum).
Maybe you are looking for
-
HOW TO CREATE A USER-EXIT FOR MB31 GOODS RECEIPT
Hy, <b>HOW TO CREATE A USER-EXIT FOR MB31</b> TO COMPARE ORDER QTY CONFIRMED AND GOODS RECEIPT QTY ( IF GR QTY GREATER THAN CONFIRMED QTY ERROR MESSAGE SHOULD COME AND NOT ALLOW TRANSCATION TO PROCEED). POINTS CONFIRMED. REGARDS, KARTIKEY.
-
Problem setting up handlers for Jetty web app
Hello, I am encountering a problem with setting up the handlers for my web application, what I want is : Having some requests handled by an HTTPServlet with doGet and doPost methods ( how can I load JSP pages from within these methods ? ) and also be
-
Read a excel file and split its sheets to seperate file ?
Dear all : How to split a excel file into several file, each have one sheet.my code is as below,thanks: import org.apache.poi.hssf.usermodel.*; import java.io.*; import java.util.*; import org.apache.poi.poifs.filesystem.*; public class Extractxls {
-
Make Vendor Classification characteristics mandatory
All, We have a vendor classification class and a characteristic. We have defined this characteristic as mandatory in transaction CT04. However when I create or change a vendor (transaction XK01/XK02) and go into classification I am still able to save
-
Using gdb in Linux Red Hat 4.0 Update 1
Hi, I am executing the following command jdb -connect sun.jvm.hotspot.jdi.SAPIDAttachingConnector:pid=22375 I called jps to determine the pid in the above command. I am using Linux apollo.us.oracle.com 2.6.9-42.0.2.EL #1 Thu Aug 17 17:36:53 EDT 2006