PLS-00201 when executing insexcpr.sql starter
Receiving a PLS-00201 on wwutl_htp.scriptclose when executing @insexcpr.sql with the suggested schema in the May PDK of starter. Followed the prior instructions. Also tried granting execute on wwutl_htp to starter.
Thanks Maxim & Rakesh, that worked.
It does look like a bug. The return on it's own works with other functions e.g. ASCII etc. but not ORA_HASH.
The select from dual version is painfully slow (e.g. 25 x times) though so I think I'll use dbms_utility.get_hash_value instead for now. I was planning to use that version in 9i anyway as my app still needs to run on 9i - but I was trying to get the ORA_HASH working for 10g as it is incredibly fast.
Will definitely log it though.
Similar Messages
-
SQL error 3113 occurred when executing EXEC SQL.
Hi,
We are facing one typical problem, One background is failing regularly with
below dump. as we now got all notes giving information, if database restarted
taking backup, these type of failures occur, but our database is only down for backup once in a week, but it is failing with frequenly.
in this two servers are located in different place, in this job tries to connect
another server to get material statistics.
It is giving some error message in sm21 with
SQL error 3113 occurred when executing EXEC SQL.
work procees in reconnect mode.
all notes saying these types of dump occur when database restared, but this dump
even though database is up.
below is short dump, please can anyone help me from this problem.
ABAP runtime errors DBIF_DSQL2_SQL_ERROR
Occurred on 08.01.2007 at 00:30:28
>> Short dump has not been completely stored. It is too big.
SQL error 3113 occurred when executing EXEC SQL.
What happened?
The error occurred in the current database connection "AZ1".
What can you do?
Note the actions and input that caused the error.
Inform your SAP system administrator.
You can print out this message by choosing "Print". Transaction ST22
allows you to display and manage termination messages, including keeping
them beyond their normal deletion date.
Error analysis
How to correct the error
Database error text........: "ORA-03113: end-of-file on communication channel#"
Triggering SQL statement...: "select mara.groes, mara.brgew, mara.ntgew,
mara.gewei, mara.volum, mara.voleh, mara.mstae, mara.mstde, mara.prdha,
marc.matnr, marc.werks, marc.mmsta, marc.mmstd from sapr3.mara, sapr3.m
where sapr3.mara.mandt = sapr3.marc.mandt and sapr3.mara.matnr =
Internal call code.........: "[DBDS/NEW DSQL]"
Please check the entries in the system log (Transaction SM21).
If the error occurred in a non-modified SAP program, you may be
able to find a solution in the SAP note system.
If you have access to the note system yourself, use the following
search criteria:
"DBIF_DSQL2_SQL_ERROR"
"ZM2431216 " or "ZM2431216 "
"EXTRACT_GENERAL_DATA"
If you cannot solve the problem yourself, please send the
following documents to SAP:
1. A hard copy print describing the problem.
To obtain this, select the "Print" function on the current screen.
2. A suitable hardcopy prinout of the system log.
To obtain this, call the system log with Transaction SM21
and select the "Print" function to print out the relevant
part.
3. If the programs are your own programs or modified SAP programs,
supply the source code.
To do this, you can either use the "PRINT" command in th
print the programs using the report RSINCL00.
4. Details regarding the conditions under which the error o
or which actions and input led to the error.
System environment
SAP Release.............. "46C"
Application server....... "essceu3"
Network address.......... "172.19.119.198"
Operating system......... "AIX"
Release.................. "5.3"
Hardware type............ "00C7ADBD4C00"
Database server.......... "ukblx176"
Database type............ "ORACLE"
Database name............ "EU3"
Database owner........... "SAPR3"
Character set............ "es_ES.ISO8859-1"
SAP kernel............... "46D"
Created on............... "Jul 9 2006 20:26:33"
Created in............... "AIX 1 5 00447C4A4C00"
Database version......... "OCI_920__OCI_7_API "
Patch level.............. "2257"
Patch text............... " "
Supported environment....
Database................. "ORACLE 8.0.5.., ORACLE 8.0.6.., ORACLE
8.1.6.., ORACLE 8.1.7.., ORACLE 9.2.0.., ORACLE 10.2.0.."
SAP database version..... "46D"
Operating system......... "AIX 1 4, AIX 2 4, AIX 3 4, AIX 1 5, AIX 2 5, AIX 3
5, , System build information:, , LCHN :
841480"
User, transaction...
Client.............. 600
User................ "MPZMMES"
Language key........ "S"
Transaction......... " "
Program............. "ZM2431216 "
Screen.............. "SAPMSSY0 1000"
Screen line......... 6
Information on where termination occurred
The termination occurred in the ABAP/4 program "ZM2431216 " in
"EXTRACT_GENERAL_DATA".
The main program was "ZM2431216 ".
The termination occurred in line 980
of the source code of program "ZM2431216 " (when callin
The program "ZM2431216 " was started as a background jo
Source code extract
009500 mara.ntgew,
009510 mara.gewei,
009520 mara.volum,
009530 mara.voleh,
009540 mara.mstae,
009550 mara.mstde,
009560 mara.prdha,
009570 marc.matnr,
009580 marc.werks,
009590 marc.mmsta,
009600 marc.mmstd
009610 into :w_ops-groes,
009620 :w_ops-brgew,
009630 :w_ops-ntgew,
009640 :w_ops-gewei,
009650 :w_ops-volum,
009660 :w_ops-voleh,
009670 :w_ops-mstae,
009680 :w_ops-mstde,
009690 :w_ops-prdha,
009700 :w_ops-matnr,
009710 :w_ops-werks,
009720 :w_ops-mmsta,
009730 :w_ops-mmstd
009740 from sapr3.mara, sapr3.marc
009750 where sapr3.mara.mandt = sapr3.marc.mandt
009760 and sapr3.mara.matnr = sapr3.marc.matnr
009770 and sapr3.mara.mandt = :p_mandt
009780 and sapr3.mara.matnr = :w_ebs-matnr
009790 and sapr3.marc.werks = :p_owerks
> ENDEXEC.
009810 endform. " extract_general_data
009820 *&
009830 *& Form append_i_ops
009840 *&
009850 * Appends W_OPS to I_OPS
009860 *
009870 form append_i_ops.
009880 append w_ops to i_ops.
009890 endform. " append_i_ops
009900 *&
009910 *& Form extract_material_description
009920 *&
009930 * Extracts a Material Description from the remote database an
009940 * modifies the current record in I_OPS.
009950 *
009960 * >P_SPRAS Language Key
009970 *
009980 form extract_material_description using p_spras.
009990 EXEC sql performing set_langauge.
Contents of system fields
SY field contents..................... SY field contents............
SY-SUBRC 0 SY-INDEX 0
SY-TABIX 1 SY-DBCNT 1
SY-FDPOS 18 SY-LSIND 0
SY-PAGNO 0 SY-LINNO 1
SY-COLNO 1
Chosen variables
Name.......................... Contents.1........2........3....+..
W_EBS-PRAT4
2
0
W_OPS-GROES
22222222222222222222222222222222
00000000000000000000000000000000
W_OPS-BRGEW #######
0000000
000000C
W_OPS-NTGEW #######
0000000
000000C
regards,
krishnaiah.Hi,
This is usually a SERVER SIDE DATABASE PROBLEM or SQLNET LISTENER (server side) PROBLEM. The client side should initially be ignored and instead the server should be investigated. In rare cases, this can be caused by client
side memory or other resource problem, or a DLL version mismatch, but this is
unlikely.
Enlist the assistance of your DBA. Then reproduce the ORA-3113 error on your
client application. Ask your DBA to look at the database side Alert.log and
trace files and look for ANY activity. Any activity that coincides with your
ORA-3113 will be a clue.
REgards
Vinod -
PLS-00201 when running dbms_compression package
Hello,
I am trying to gather compression rate estimates in a 10g database before we upgrade to 11g. I have downloaded the dbms compression package from OTN: http://www.oracle.com/technetwork/database/options/compression/compression-advisor-095705.html
And installed this in my 10g db:
SQL> @dbmscomp.sql
Package created.
Synonym created.
Grant succeeded.
No errors.
SQL> @prvtcomp.plb
Package body created.
Synonym created.
Grant succeeded.
No errors.
When I try to run execute this package as shown in the README file, I get the following error:
SQL> exec dbms_compression.getratio ('SAPAPO','/SAPAPO/MATLOC','OLTP',10);
BEGIN dbms_compression.getratio ('SAPAPO','/SAPAPO/MATLOC','OLTP',10); END;
ERROR at line 1:
ORA-06550: line 1, column 7:
PLS-00201: identifier 'DBMS_COMPRESSION.GETRATIO' must be declared
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored
Please let me know if anyone has encountered this error before.
Thank youjhall wrote:
not sure why the readme referenced the dbms_compression package... guess I should have looked through the package creation script. Thanks for looking at this.I don't think it does -- it's stating that this does the same as DBMS_COMPRESSION, but of course they're just implementing partial functionality of one procedure of DBMS_COMPRESSION. They'd name it something different for that reason, and because it's presence might break an upgrade from 10g to 11g.
I'm not a huge fan of this package
1 The compress_type parameter makes no difference to the code execution, but you still have to supply a valid value.
2 The temporary tables that are created probably ought to be NOLOGGING.
3 The uncompressed table is created without any storage clause so a PCTFREE of 10 is used -- that might be appropriate for OLTP compression (I have no idea) but OLTP compression isn't available in 10g so the metrics would be out anyway. It should probably be hardcoded to a value of 0.
4 There's no error handling to remove the temporary tables in the event of a problem, or detect the pre-existence of the DBMS_COMPRESSION_TEMP_UNCMP or DBMS_COMPRESSION_TEMP_CMP tables. -
Security context issue when executing a SQL command in SQLCMD
Simplified core issue below:
I have myscript.sql that has:
SELECT name FROM Sys.Databases
GO
USE mydatabase
GO
EXEC mystoredprocedure 'myparameter'
GO
When I open cmd.exe and use:
SQLCMD -S localhost\myinstance -i script.sql
It executes fine.
When I open cmd.exe in C# using the Process class and execute the same command I get the following error:
name
master
tempdb
model
msdb
mydatabase
(5 rows affected)
Msg 916, Level 14, State 1, Server localhost\myinstance, Line 1
The server principal "NT AUTHORITY\SYSTEM" is not able to access the database "mydatabase" under the current security context.
Msg 2812, Level 16, State 62, Server localhost\myinstance, Line 1
Could not find stored procedure 'mystoredprocedure'.
And now the detailed explaination:
I created an MSI which installs my custom application.
During the bootstrap process, SQL Server 2012 Express is installed using the following parameters:
/INSTANCEID="SQLEXPRESS"
/ACTION="Install"
/FEATURES=SQLEngine,Replication
/HELP="False"
/INDICATEPROGRESS="False"
/Q="True"
/QS="False"
/ROLE="AllFeatures_WithDefaults"
/ENU="True"
/ERRORREPORTING="False"
/SQMREPORTING=0
/INSTANCENAME="SQLEXPRESS"
/AGTSVCACCOUNT="NT AUTHORITY\NETWORK SERVICE"
/AGTSVCSTARTUPTYPE="Disabled"
/ISSVCSTARTUPTYPE="Automatic"
/ISSVCACCOUNT="NT AUTHORITY\NetworkService"
/ASSVCSTARTUPTYPE="Automatic"
/ASCOLLATION="Latin1_General_CI_AS"
/ASDATADIR="Data"
/ASBACKUPDIR="Backup"
/ASTEMPDIR="Temp"
/ASCONFIGDIR="Config"
/ASPROVIDERMSOLAP="1"
/SQLSVCSTARTUPTYPE="Automatic"
/FILESTREAMLEVEL="0"
/ENABLERANU="True"
/SQLCOLLATION="SQL_Latin1_General_CP1_CI_AS"
/SQLSVCACCOUNT="NT Authority\Network Service"
/SECURITYMODE="SQL"
/ADDCURRENTUSERASSQLADMIN="True"
/RSSVCACCOUNT="NT AUTHORITY\NETWORK SERVICE"
/RSSVCSTARTUPTYPE="Automatic"
/RSINSTALLMODE="FilesOnlyMode"
/HIDECONSOLE
/IACCEPTSQLSERVERLICENSETERMS
/SAPWD="***************"
The MSI then executes an Installer class DLL written in C# which restores a database to the SqlExpress instance.
When the restore is completed, the Installer class then uses the Process class to launch CMD.exe and execute the SQL script using SQLCMD.
Process vProcess = new Process();
ProcessStartInfo vStartInfo = new ProcessStartInfo("cmd.exe");
vStartInfo.Arguments = "/c set path=%path%;" + Context.Parameters["TargetDir"] + "\\; && sqlcmd -S LocalHost\\myinstance -i myscript.sql";
vProcess.StartInfo = vStartInfo;
vProcess.Start();
vProcess.WaitForExit(30000);
This is where I get the error mentioned above.
However if I execute the same command manually by opening CMD.exe from the RUN command, it executes perfectly.
I can not use -U or -P to supply a user / password, I MUST use integrated security.
Additional info:
Previously SQL Server 2008 Express has been in use for the bootstrapper, and this issue did not occur.
The database the MSI restores is also built from SQL Server 2008. (Will be built from 2012 in the future.)
Installation is performed on an account with administrative rights.
Running the installer AS Administrator does not fix the issue.
Any help would be greatly appreciated, as well please let me know if additional info is required.
Thank youI'm having a similar issue where I'm using a batch file to execute commands to a group of servers. I can use the batch commands when updating MyDatabase but get the security context error when I try to update MyDatabase with a join to TheirDatabase except
on servers where I am sysadmin. Like I said, I can update MyDatabase as long as I don't join to TheirDatabase.
Update A
Set A.CCMCoderStaffSID = IsNull(B.StaffSID, -1)
From MyDatabase.[R_Encounter].[VejdPfcsLinkageDataF19610x5] A
Left Join ThierDatabase.Staff.Staff B on
A.Sta3n = B.Sta3n and A.[CCMCoderF200IEN]= B.StaffIEN
Error:
Msg 916, Level 14, State 1, Server R04PHIDWH58, Line 1
The server principal "MyDomain\ME" is not able to access the database "TheirDatabase" under the current security context.
Line from batch:
sqlcmd -S Server54 -d MyDatabase -i D:\ETLDevelopment\R04\Me\querytools\%RAWTablesScript% -o D:\ETLDevelopment\R04\Me\UpdateSIDV1.txt -
Raise Exception when Executing Native SQL
Hi ALL,
when i am executing native sql, it raises following exception:
CX_SY_NATIVE_SQL_ERROR
code as shown below:
REPORT ZABC2.
data:begin of ty_final occurs 0,
vkorg type vbrk-vkorg,
vtweg type vbrk-vtweg,
spart type vbrp-spart,
werks type vbrp-werks,
fkart type vbrk-fkart,
vbeln_invoice type vbrk-vbeln,
matnr type vbrp-matnr,
arktx type vbrp-arktx,
fkimg type vbrp-fkimg,
ntgew type vbrp-ntgew,
mwsbp type vbrp-mwsbp,
posnr type vbrp-posnr,
vbeln type likp-vbeln,
bldat type likp-bldat,
erdat type likp-erdat,
traid type likp-traid,
ernam type likp-ernam,
posnr_do type lips-posnr,
vbeln_so type vbak-vbeln,
audat_so type vbak-audat,
erdat_so type vbak-erdat,
ernam_so type vbak-ernam,
posnr_so type vbap-posnr,
vbeln_contract type vbak-vbeln,
audat_contract type vbak-audat,
erdat_contract type vbak-erdat,
ernam_contract type vbak-ernam,
vbtyp_contract type vbak-vbtyp,
posnr_contract type vbap-posnr,
end of ty_final.
TRY.
break-point.
EXEC SQL .
select
i1.inv_vkorg,
i1.inv_vtweg,
i1.inv_spart,
i1.inv_werks,
i1.inv_fkart,
i1.inv_vbeln,
i1.inv_matnr,
i1.inv_arktx,
i1.inv_fkimg,
i1.inv_ntgew,
i1.inv_mwsbp
i1.inv_posnr,
d.do_vbeln,
d.do_bldat,
d.do_erdat,
d.do_traid,
d.do_ernam,
d.do_posnr,
s.so_vbeln,
s.so_audat,
s.so_erdat,
s.so_ernam,
s.so_posnr,
c.co_vbeln,
c.co_audat,
c.co_erdat,
c.co_ernam,
c.co_vbtyp,
c.co_posnr
into :ty_final
from (SELECT
VBAK.VBELN co_vbeln,
VBAK.AUDAT co_audat,
VBAK.ERDAT co_erdat,
VBAK.ERNAM co_ernam,
VBAK.VBTYP co_vbtyp,
VBAP.POSNR CO_POSNR
FROM VBAK , VBAP
WHERE VBAK.VBELN=vbap.vbeln
and vbak.vbtyp='G') c,
(SELECT
vbak.vbeln so_vbeln,
vbak.audat so_audat,
vbak.erdat so_erdat,
vbak.ernam so_ernam,
vbap.posnr so_posnr
FROM VBAK ,VBAP
WHERE vbak.VBELN=vbap.vbeln
and vbak.vbtyp='C') s,
(SELECT
likp.vbeln do_vbeln,
likp.bldat do_bldat,
likp.erdat do_erdat,
likp.traid do_traid,
likp.ernam do_ernam,
lips.posnr do_posnr
FROM LIKP , LIPS
WHERE likp.VBELN=lips.vbeln
and likp.vbtyp='J'.
) d,
(SELECT
vbrk.vkorg inv_vkorg,
vbrk.vtweg inv_vtweg,
vbrp.spart inv_spart,
vbrp.werks inv_werks,
vbrk.fkart inv_fkart,
vbrk.vbeln inv_vbeln,
vbrp.matnr inv_matnr,
vbrp.arktx inv_arktx,
vbrp.fkimg inv_fkimg,
vbrp.ntgew inv_ntgew,
vbrp.mwsbp inv_mwsbp,
vbrp.posnr inv_posnr
FROM VBRK , VBRP
WHERE vbrk.VBELN=vbrp.vbeln
AND vbrk.VBTYP='M'
AND vbrk.FKART NOT IN ('S1','S2','S3')
AND vbrk.FKSTO<>'X') i1,
(SELECT
vbelv,
POSNV,
vbtyp_v,
vbeln,
POSNN,
vbtyp_n
FROM VBFA
where VBTYP_V='G'
AND VBTYP_N='C'
) f1,
(SELECT
vbelv,
POSNV,
vbtyp_v,
vbeln,
POSNN,
vbtyp_n
FROM VBFA
where VBTYP_V='C'
AND VBTYP_N='J'
) f2,
(SELECT
vbelv,
POSNV,
vbtyp_v,
vbeln,
POSNN,
vbtyp_n
FROM VBFA
where VBTYP_V='J'
AND VBTYP_N='M'
) f3
where c.vbeln=f1.vbelv(+)
and f1.vbeln=f2.vbelv(+)
and s.vbeln=f2.vbelv(+)
and f2.vbeln=f3.vbelv(+)
and d.vbeln=f3.vbelv(+)
and i1.vbeln=f3.vbeln(+)
ENDEXEC.
**and c.vbeln=f3.vbelv(+)
**and i1.vbeln=d.vbeln(+)
*if sy-subrc <> 0.
CATCH CX_SY_NATIVE_SQL_ERROR.
ENDTRY.
*ENDIF.
break-point.Hi,
Try using this ..
data ref1 type ref to CX_SY_NATIVE_SQL_EROR.
try.
exec sql.
endexec.
catch CX_SY_NATIVE_SQL_EROR.
write 'Error ', ref1->SQL_ERROR.
RAISE EXCEPTION myref.
endtry.
Edited by: Vasavi Kotha on Jan 6, 2009 11:26 AM -
PLS-00201 when deploying mapping after 9204 upgrade
We applied the 9204 patch to our owb environment on friday. we are now unable to deploy anything. the error message we are getting is:
PLS-00201-identifier 'WB_RT_MAPAUDIT' must be declared
anyone have any suggestions?Hi,
When you went through the installation of the patch, did you follow all post installation steps in order to migrate the runtime environment?
Did you install a new runtime repository? Have you made sure to update the runtime repository connection to connect to the new runtime repository connection? It sounds like it could be you are still looking at the old runtime repository, whereas all schemas (access schema and target schemas) have been relinked to the new runtime repository schema.
This would also explain the issue you have at execution time.
Hope this helps,
Mark. -
PLS-00201 when trying to call ORA_HASH from a function
SQL> select * from v$version;
BANNER
Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - Prod
PL/SQL Release 10.2.0.2.0 - Production
CORE 10.2.0.2.0 Production
TNS for Solaris: Version 10.2.0.2.0 - Production
NLSRTL Version 10.2.0.2.0 - Production
SQL> select ora_hash('GOOBERS') from dual;
ORA_HASH('GOOBERS')
1552467184
SQL> create or replace function my_hash(x in varchar2) return number is begin return ora_hash(x); end;
2 /
Warning: Function created with compilation errors.
SQL> show errors
Errors for FUNCTION MY_HASH:
LINE/COL ERROR
1/56 PL/SQL: Statement ignored
1/63 PLS-00201: identifier 'ORA_HASH' must be declared
If anyone has some ideas on this it would be great to hear from you. Thanks.Thanks Maxim & Rakesh, that worked.
It does look like a bug. The return on it's own works with other functions e.g. ASCII etc. but not ORA_HASH.
The select from dual version is painfully slow (e.g. 25 x times) though so I think I'll use dbms_utility.get_hash_value instead for now. I was planning to use that version in 9i anyway as my app still needs to run on 9i - but I was trying to get the ORA_HASH working for 10g as it is incredibly fast.
Will definitely log it though. -
Error in report when executing pl/sql function body returning sql query.
Hi,
I have used the pl/sql function body returning sql query for creating a report. I have created a datepicker(
P10_TASK_DATE) which can be submitted.The code is as below
DECLARE
v_sql varchar2(3000);
BEGIN
if :P10_TASK_DATE is not null THEN
v_sql:='select
* from tasks';
return v_sql;
else
v_sql:='select * from discovery';
return v_sql;
END IF;
END;if the date field is empty "select * from discovery" is executed and report is getting generated. But when we give a
date using date picker the page is submitted and i get "report error: ORA-01403: no data found" even
though the "tasks" table has data in it. Plz help
Thanks,
TJhi
Please try this
1. Create 2 region
1st region source=
select * from tasks'
go to the tab -> condition =
item NOT NULL
EXpression1 =:P10_TASK_DATE
this will run whenever the item have any date
2. open your 2 nd region source code= select * from discovery
put the condition
item is NULL
EXpression1 =:P10_TASK_DATE
thanks
Mark Wyatt -
Weblogic server is not responding when executing pl/sql procedure from jdev
Dear Sir,
i am using jdeveloper11g and oracle database with oracle spatial and i wrote procedure in database and executed perfect from sql plus
but same procedure when i am trying to execute from jdeveloper its like hanging and giving following error here i am posting my jdeveloper code
and error
public String cb1_action() {
// Add event code here...
String tbName = (String)FacesContext.getCurrentInstance().getApplication().createValueBinding("#{bindings.tb}").getValue(FacesContext.getCurrentInstance());
String colName = (String)FacesContext.getCurrentInstance().getApplication().createValueBinding("#{bindings.col}").getValue(FacesContext.getCurrentInstance());
try {
Context cnx = new InitialContext();
Class.forName("oracle.jdbc.OracleDriver");
RmiDataSource rds =
(RmiDataSource)cnx.lookup("java:comp/env/jdbc/db1DS");
//(RmiDataSource)cnx.lookup("env/jdbc/db1DS");
Connection cn = rds.getConnection();
System.out.println("table name " + tbName);
System.out.println("column name " + colName);
PreparedStatement delStmt = cn.prepareStatement("delete from geometry_errors");
delStmt.execute();
System.out.println("delStmt = " + delStmt);
cn.commit();
delStmt.close();
CallableStatement ps = cn.prepareCall("{call validate_geom(?,?)}");
ps.setString(1, tbName);
ps.setString(2, colName);
ps.execute();
ps.close();
cn.close();
cnx.close();
System.out.println("Done validating geom ....");
} catch (Exception sqle) {
sqle.printStackTrace();
BindingContainer bc = getBindings();
OperationBinding oper = bc.getOperationBinding("Execute");
oper.execute();
System.out.println("done.....");
return null;
Target URL -- http://127.0.0.1:7101/kabtest-ViewController1-context-root/faces/test1.jsp
table name JEDDAH_SECTORS_8307
column name GEOM
<Jul 29, 2010 1:22:49 PM AST> <Error> <WebLogicServer> <BEA-000337> <[STUCK] ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)' has been busy for "621" seconds working on the request "weblogic.servlet.internal.ServletRequestImpl@13a7ecf[
POST /kabtest-ViewController1-context-root/faces/test1.jsp?_adf.ctrl-state=xumczak86_4 HTTP/1.1
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Connection: keep-alive
Referer: http://127.0.0.1:7101/kabtest-ViewController1-context-root/faces/test1.jsp?_afrLoop=1305015256967&_afrWindowMode=0&_adf.ctrl-state=xumczak86_4
Cookie: JSESSIONID=7qmnMRTWld4BzJDnLB4BF1hvxgl0NYTJrg9lT3VnWNYJpCmzGYJm!-1863071826
Content-Type: application/x-www-form-urlencoded
Content-Length: 247
]", which is more than the configured time (StuckThreadMaxTime) of "600" seconds. Stack trace:
java.net.SocketInputStream.socketRead0(Native Method)
java.net.SocketInputStream.read(SocketInputStream.java:129)
oracle.net.ns.Packet.receive(Packet.java:293)
oracle.net.ns.DataPacket.receive(DataPacket.java:92)
oracle.net.ns.NetInputStream.getNextPacket(NetInputStream.java:174)
oracle.net.ns.NetInputStream.read(NetInputStream.java:119)
oracle.net.ns.NetInputStream.read(NetInputStream.java:94)
oracle.net.ns.NetInputStream.read(NetInputStream.java:79)
oracle.jdbc.driver.T4CSocketInputStreamWrapper.readNextPacket(T4CSocketInputStreamWrapper.java:122)
oracle.jdbc.driver.T4CSocketInputStreamWrapper.read(T4CSocketInputStreamWrapper.java:78)
oracle.jdbc.driver.T4CMAREngine.unmarshalUB1(T4CMAREngine.java:1040)
oracle.jdbc.driver.T4CMAREngine.unmarshalSB1(T4CMAREngine.java:1016)
oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:589)
oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:194)
oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:953)
oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1223)
oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3386)
oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3487)
oracle.jdbc.driver.OraclePreparedStatementWrapper.execute(OraclePreparedStatementWrapper.java:1374)
weblogic.jdbc.wrapper.PreparedStatement.execute(PreparedStatement.java:98)
view.backing.Test1.cb1_action(Test1.java:132)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:597)
com.sun.el.parser.AstValue.invoke(AstValue.java:157)
com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283)
org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:46)
com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)
javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475)
javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756)
oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:698)
oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:285)
oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:177)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:97)
org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:94)
java.security.AccessController.doPrivileged(Native Method)
oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:138)
oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:70)
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:326)
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3592)
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202)
weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108)
weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432)
weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
>
<Jul 29, 2010 1:22:49 PM AST> <Notice> <Diagnostics> <BEA-320068> <Watch 'StuckThread' with severity 'Notice' on server 'DefaultServer' has triggered at Jul 29, 2010 1:22:49 PM AST. Notification details:
WatchRuleType: Log
WatchRule: (SEVERITY = 'Error') AND (MSGID = 'BEA-000337')
WatchData: DATE = Jul 29, 2010 1:22:49 PM AST SERVER = DefaultServer MESSAGE = [STUCK] ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)' has been busy for "621" seconds working on the request "weblogic.servlet.internal.ServletRequestImpl@13a7ecf[
POST /kabtest-ViewController1-context-root/faces/test1.jsp?_adf.ctrl-state=xumczak86_4 HTTP/1.1
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Connection: keep-alive
Referer: http://127.0.0.1:7101/kabtest-ViewController1-context-root/faces/test1.jsp?_afrLoop=1305015256967&_afrWindowMode=0&_adf.ctrl-state=xumczak86_4
Cookie: JSESSIONID=7qmnMRTWld4BzJDnLB4BF1hvxgl0NYTJrg9lT3VnWNYJpCmzGYJm!-1863071826
Content-Type: application/x-www-form-urlencoded
Content-Length: 247
]", which is more than the configured time (StuckThreadMaxTime) of "600" seconds. Stack trace:
java.net.SocketInputStream.socketRead0(Native Method)
java.net.SocketInputStream.read(SocketInputStream.java:129)
oracle.net.ns.Packet.receive(Packet.java:293)
oracle.net.ns.DataPacket.receive(DataPacket.java:92)
oracle.net.ns.NetInputStream.getNextPacket(NetInputStream.java:174)
oracle.net.ns.NetInputStream.read(NetInputStream.java:119)
oracle.net.ns.NetInputStream.read(NetInputStream.java:94)
oracle.net.ns.NetInputStream.read(NetInputStream.java:79)
oracle.jdbc.driver.T4CSocketInputStreamWrapper.readNextPacket(T4CSocketInputStreamWrapper.java:122)
oracle.jdbc.driver.T4CSocketInputStreamWrapper.read(T4CSocketInputStreamWrapper.java:78)
oracle.jdbc.driver.T4CMAREngine.unmarshalUB1(T4CMAREngine.java:1040)
oracle.jdbc.driver.T4CMAREngine.unmarshalSB1(T4CMAREngine.java:1016)
oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:589)
oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:194)
oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:953)
oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1223)
oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3386)
oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3487)
oracle.jdbc.driver.OraclePreparedStatementWrapper.execute(OraclePreparedStatementWrapper.java:1374)
weblogic.jdbc.wrapper.PreparedStatement.execute(PreparedStatement.java:98)
view.backing.Test1.cb1_action(Test1.java:132)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:597)
com.sun.el.parser.AstValue.invoke(AstValue.java:157)
com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283)
org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:46)
com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)
javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475)
javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756)
oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:698)
oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:285)
oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:177)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:97)
org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:94)
java.security.AccessController.doPrivileged(Native Method)
oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:138)
oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:70)
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:326)
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3592)
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202)
weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108)
weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432)
weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
SUBSYSTEM = WebLogicServer USERID = <WLS Kernel> SEVERITY = Error THREAD = [ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)' MSGID = BEA-000337 MACHINE = lpt09-mkabeer TXID = CONTEXTID = TIMESTAMP = 1280398969203
WatchAlarmType: AutomaticReset
WatchAlarmResetPeriod: 600000
>
<JMXWatchNotificationListener><handleNotification> failure creating incident from WLDF notification
oracle.dfw.incident.IncidentCreationException: DFW-40116: failure creating incident
Cause: DFW-40112: There was an error executing adrci commands; the following errors have been found "DIA-48415: Syntax error found in string [create home base=C:\\Documents and Settings\\mkabeer\\Application] at column [65]
DIA-48447: The input path [C:\\Documents and Settings\\mkabeer\\Application Data\\JDeveloper\\system11.1.1.2.36.55.36\\DefaultDomain\\servers\\DefaultServer\\adr] does not contain any ADR homes
DIA-48447: The input path [diag\ofm\defaultdomain\defaultserver] does not contain any ADR homes
DIA-48494: ADR home is not set, the corresponding operation cannot be done
Action: Ensure that command line tool "adrci" can be executed from the command line.
at oracle.dfw.impl.incident.DiagnosticsDataExtractorImpl.createADRIncident(DiagnosticsDataExtractorImpl.java:708)
at oracle.dfw.impl.incident.DiagnosticsDataExtractorImpl.createIncident(DiagnosticsDataExtractorImpl.java:246)
at oracle.dfw.spi.weblogic.JMXWatchNotificationListener.handleNotification(JMXWatchNotificationListener.java:195)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor$ListenerWrapper.handleNotification(DefaultMBeanServerInterceptor.java:1732)
at javax.management.NotificationBroadcasterSupport.handleNotification(NotificationBroadcasterSupport.java:257)
at javax.management.NotificationBroadcasterSupport$SendNotifJob.run(NotificationBroadcasterSupport.java:322)
at javax.management.NotificationBroadcasterSupport$1.execute(NotificationBroadcasterSupport.java:307)
at javax.management.NotificationBroadcasterSupport.sendNotification(NotificationBroadcasterSupport.java:229)
at weblogic.management.jmx.modelmbean.WLSModelMBean.sendNotification(WLSModelMBean.java:824)
at weblogic.diagnostics.watch.JMXNotificationProducer.postJMXNotification(JMXNotificationProducer.java:79)
at weblogic.diagnostics.watch.JMXNotificationProducer.sendNotification(JMXNotificationProducer.java:104)
at com.bea.diagnostics.notifications.JMXNotificationService.send(JMXNotificationService.java:122)
at weblogic.diagnostics.watch.JMXNotificationListener.processWatchNotification(JMXNotificationListener.java:103)
at weblogic.diagnostics.watch.Watch.performNotifications(Watch.java:621)
at weblogic.diagnostics.watch.Watch.evaluateLogRuleWatch(Watch.java:546)
at weblogic.diagnostics.watch.WatchManager.evaluateLogEventRulesAsync(WatchManager.java:765)
at weblogic.diagnostics.watch.WatchManager.run(WatchManager.java:525)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
Caused by: oracle.dfw.common.DiagnosticsException: DFW-40112: failed to execute the adrci commands "create home base=C:\\Documents and Settings\\mkabeer\\Application Data\\JDeveloper\\system11.1.1.2.36.55.36\\DefaultDomain\\servers\\DefaultServer\\adr product_type=ofm product_id=defaultdomain instance_id=defaultserver
set base C:\\Documents and Settings\\mkabeer\\Application Data\\JDeveloper\\system11.1.1.2.36.55.36\\DefaultDomain\\servers\\DefaultServer\\adr
set homepath diag\ofm\defaultdomain\defaultserver
create incident problem_key="BEA-337 [WebLogicServer]" error_facility="BEA" error_number=337 error_message="null" create_time="2010-07-29 13:22:49.219 +03:00" ecid="0000IcTiSfuEKQWzLwbQ8A1CKL6r00000V"
Cause: There was an error executing adrci commands; the following errors have been found "DIA-48415: Syntax error found in string [create home base=C:\\Documents and Settings\\mkabeer\\Application] at column [65]
DIA-48447: The input path [C:\\Documents and Settings\\mkabeer\\Application Data\\JDeveloper\\system11.1.1.2.36.55.36\\DefaultDomain\\servers\\DefaultServer\\adr] does not contain any ADR homes
DIA-48447: The input path [diag\ofm\defaultdomain\defaultserver] does not contain any ADR homes
DIA-48494: ADR home is not set, the corresponding operation cannot be done
Action: Ensure that command line tool "adrci" can be executed from the command line.
at oracle.dfw.impl.incident.ADRHelper.invoke(ADRHelper.java:1052)
at oracle.dfw.impl.incident.ADRHelper.createIncident(ADRHelper.java:786)
at oracle.dfw.impl.incident.DiagnosticsDataExtractorImpl.createADRIncident(DiagnosticsDataExtractorImpl.java:688)
... 19 more
<Jul 29, 2010 1:23:49 PM AST> <Error> <WebLogicServer> <BEA-000337> <[STUCK] ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)' has been busy for "681" seconds working on the request "weblogic.servlet.internal.ServletRequestImpl@13a7ecf[
POST /kabtest-ViewController1-context-root/faces/test1.jsp?_adf.ctrl-state=xumczak86_4 HTTP/1.1
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Connection: keep-alive
Referer: http://127.0.0.1:7101/kabtest-ViewController1-context-root/faces/test1.jsp?_afrLoop=1305015256967&_afrWindowMode=0&_adf.ctrl-state=xumczak86_4
Cookie: JSESSIONID=7qmnMRTWld4BzJDnLB4BF1hvxgl0NYTJrg9lT3VnWNYJpCmzGYJm!-1863071826
Content-Type: application/x-www-form-urlencoded
Content-Length: 247
]", which is more than the configured time (StuckThreadMaxTime) of "600" seconds. Stack trace:
java.net.SocketInputStream.socketRead0(Native Method)
java.net.SocketInputStream.read(SocketInputStream.java:129)
oracle.net.ns.Packet.receive(Packet.java:293)
oracle.net.ns.DataPacket.receive(DataPacket.java:92)
oracle.net.ns.NetInputStream.getNextPacket(NetInputStream.java:174)
oracle.net.ns.NetInputStream.read(NetInputStream.java:119)
oracle.net.ns.NetInputStream.read(NetInputStream.java:94)
oracle.net.ns.NetInputStream.read(NetInputStream.java:79)
oracle.jdbc.driver.T4CSocketInputStreamWrapper.readNextPacket(T4CSocketInputStreamWrapper.java:122)
oracle.jdbc.driver.T4CSocketInputStreamWrapper.read(T4CSocketInputStreamWrapper.java:78)
oracle.jdbc.driver.T4CMAREngine.unmarshalUB1(T4CMAREngine.java:1040)
oracle.jdbc.driver.T4CMAREngine.unmarshalSB1(T4CMAREngine.java:1016)
oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:589)
oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:194)
oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:953)
oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1223)
oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3386)
oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3487)
oracle.jdbc.driver.OraclePreparedStatementWrapper.execute(OraclePreparedStatementWrapper.java:1374)
weblogic.jdbc.wrapper.PreparedStatement.execute(PreparedStatement.java:98)
view.backing.Test1.cb1_action(Test1.java:132)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:597)
com.sun.el.parser.AstValue.invoke(AstValue.java:157)
com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283)
org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:46)
com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)
javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475)
javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756)
oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:698)
oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:285)
oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:177)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:97)
org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:94)
java.security.AccessController.doPrivileged(Native Method)
oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:138)
oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:70)
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:326)
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3592)
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202)
weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108)
weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432)
weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
please some one help me to solve this problem either this problem from java code or weblogic server... because i am sure about oracle database is
not having any problem because the same procedure i executed through the sql plus and its give me results just in time
Thanks
KabeerHi, Nodex,
Avoid implicit conversions.
For example:
TO_CHAR(TRUNC(NEXT_DAY(ADD_MONTHS(substr(partition_name, -8, length(partition_name)), -3), 'MONDAY')-7), 'YYYYMMDD')ADD_MONTHS expects a DATE as its first argument.
SUBSTR returns a VARCHAR2, so you're calling ADD_MONTHS with a VARCHAR2 where it expects a DATE.
For good or ill, the system tries to avoid raising an error in this case by implicitly converting the VARCHAR2 to a DATE. Exactly how it does that depends on
(a) the tool you are using (SQL*Plus or Toad, for example),
(b) the version (Oracle 10 behaved quite different form Oracle 9),
(c) environmental settings (such as NLS_DATE_FORMAT), which in turn may depend on initialization parameneters, and
(d) who knows what else.
When you have to convert, do so explicitly.
You can convert a VARCHAR2 to a DATE using TO_DATE, like this:
TO_CHAR ( TRUNC ( NEXT_DAY ( ADD_MONTHS ( TO_DATE ( SUBSTR ( partition_name
, -8
, LENGTH (partition_name)
, 'YYYYMMDD' -- or whatever
, -3
, 'MONDAY'
- 7
, 'YYYYMMDD'
) -
Hi All,
I have a simple SSIS package that reads a flat file and copies it into a SQL Server table.
When the flat fiel is on the C drive I have no problem runnign this package from SQL Server Agent, but as soon as I update the path to a network location the package only works when I run it manually, but fails when is executed via the SQL Server agent job.
The error says "cannot open the datafile", while the datafile location is valid.
Is this a kind of limitation of a SQL Server Agent that only local files are allowed to be processed?
Thanks,
Andrei
SSIS questionHi All,
Thanks for your responses.
I configured the SQL agent service to use my domain account with which I have no porblems accessing the folder. However the issue persisted.
Thanks,
Andrei
SSIS question -
When execute native SQL....
I want to create a table using Report with native SQL
the code as blow:
===============================================
REPORT ZDF100001 .
EXEC SQL.
CREATE TABLE ZZDEF50 (
MANDT CHAR(3) NOT NULL,
ZZFDTYPE CHAR(1) NOT NULL,
ZZFLINENO CHAR(4) NOT NULL,
ZZFCOUNTER CHAR(3) NOT NULL,
ZZFSHKZG CHAR(1),
ZZFRACCT_F CHAR(10),
ZZFRACCT_T CHAR(10),
PRIMARY KEY (MANDT, ZZFDTYPE, ZZFLINENO, ZZFCOUNTER)
ENDEXEC.
=========================================
when I execute and create it. but I can't find it in Dictionary (SE11) . So I do it again .the Error shows that the object table has already exist....why I can't find it in SE11?
My requirement is to create a transaction table and insert some data at first time the porject running.
But I don't want to create it with SE11 manually.
Can anybody help me to solve the problem?
thanks a lot.That is the most harmful way you are misusing the native SQL feature. If you are aware of the SAP database concepts, you will know that it is a logical database layer that SAP works with. That is the only way SAP can make its database objects independent of the database platform chosen. When you install SAP and tell that you are going to use Oracle as the database, then the database layer will issue the native commands to create the whole database schema in Oracle. That is the reason why you have to create/change/delete/display data dictionary objects through SAP transactions.
When you create a table through SE11, the table is not only created in the underlying Oracle database, the metadata of the table is stored in other SAP tables (DD02L, DD03L are some examples where this metadata is stored). So when you access the same table, system will read the metadata first.
If you want to create the table programatically, use some function module like DDCREATETAB* -
Maintenance Cleanup Task fails when executed with SQL Agent but dont if executed manually
Hello,
I have a job that fails with the following error if exectued via the SQL Server Agent but not if executed manually.
The error is:
Error: 2014-03-31 21:30:14.89 Code: 0xC002F210 Source: Maintenance Cleanup Task Execute SQL Task Description: Executing the query "EXECUTE master.dbo.xp_delete_file 0,N'\\erpfiles\b..."
failed with the following error: "xp_delete_file() returned error 2, 'The system cannot find the file specified.'". Possible failure reasons: Problems with the query, "ResultSet" property not set correctly, parameters not set correctly,
or connection not established correctly. End Error
I have checked and the user configured to run the SQL Agent has all needed accesses to the folder \\erpfiles\b....
Have you an idea to help me go further in my troubleshooting ? Or have you an idea to solve my problem ?
Thanks in advanceI think reason for this is the service account having no permissions on the specified folder path. Thats when you get this error most of the times. The user logged in might have access but please keep in mind that sql agent job makes use of service account
to execute the job which would still need access to the pat to delete the files
What you can do is add a proxy account and give it access to folder path and use it to execute the job
http://www.databasejournal.com/features/mssql/article.php/3789881/Proxy-Accounts-in-SQL-Server.htm
Alternatively you can give the service account access to the folder path.
Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs -
This Query IS giving divide by zero error when executed in sql plus
UPDATE grn G
SET g.OPT_WA_FAIR_VAL_A = (SELECT
ROUND(SUM(NVL(ga.OPT_FAIR_VAL_A, 0) * NVL(gvs.GRN_VEST_OPT_Q, 0)) / SUM(NVL(gvs.GRN_VEST_OPT_Q, 0)), 6)
FROM
GRANT_VESTING_SCHEDULE gvs,
GRANT_ASSUMPTION ga
WHERE
gvs.ORG_GRP_I = ga.ORG_GRP_I AND
gvs.grn_n = ga.grn_n AND
ga.ORG_GRP_I = g.ORG_GRP_I AND
ga.GRN_N = g.GRN_N AND
NVL(ga.GRN_ASMPN_EFF_D, gvs.grn_vest_d) <= gvs.grn_vest_d AND
NVL(ga.GRN_ASMPN_END_D, gvs.grn_vest_d) >= gvs.grn_vest_d
WHERE G.ORG_GRP_I =5
Any suggestionshi
What should be result if divide by zero e.g
SQL> SELECT * FROM emp;
EMPNO ENAME JOB MGR HIREDATE SAL COMM DEPTNO
7901 SMITH CLERK 7902 17-DEC-80 0 0 20
7499 ALLEN SALESMAN 7698 20-FEB-81 2100 1800 30
7521 WARD SALESMAN 7698 22-FEB-81 2300 2000 30
7566 JONES MANAGER 7839 02-APR-81 1000 3000 20
7654 MARTIN SALESMAN 7698 28-SEP-81 3200 700 30
7698 BLAKE MANAGER 7839 01-MAY-81 1000 3000 30
7782 CLARK MANAGER 7839 09-JUN-81 1000 3000 10
7788 SCOTT ANALYST 7566 19-APR-87 1000 1900 20
7839 KING PRESIDENT 17-NOV-81 1000 1700 10
7844 TURNER SALESMAN 7698 08-SEP-81 1800 700 30
7876 ADAMS CLERK 7788 23-MAY-87 1000 1300 20
7900 JAMES MANAGER 7698 03-DEC-81 1000 3000 30
7902 FORD ANALYST 7566 03-DEC-81 1000 2000 20
13 rows selected.
SQL> SELECT sal/DECODE(comm,0,1,comm) FROM emp;
SAL/DECODE(COMM,0,1,COMM)
0
1.1666667
1.15
.33333333
4.5714286
.33333333
.33333333
.52631579
.58823529
2.5714286
.76923077
.33333333
.5
13 rows selected.Khurram -
FJS-00012 ERROR while executing script in start SAP system
Hi experts,
I am getting error in the Oracle preload actions while installing the SAP 4.7 using the ORacle 9.2.0.1..
FJS-00012 Error when executing script in start SAP system(post processing)
My comp configuration is as follows:
160 gb hard disk
RAM 1GB
OS: win 2003 server enterprise edition
oracle 8.1.7
During the Database Load (post processing) section of the
installation, i get an error and the installation fails.
I am giving all the logs here including the trace log and the
Sapview.log file ans sapinst.
D:\usr\sap\ESA\SYS\exe\run/R3load.exe: START OF LOG: 20070511002459
D:\usr\sap\ESA\SYS\exe\run/R3load.exe: sccsid @(#) $Id: //bas/620/src/R3ld/R3load/R3ldmain.c#5 $ SAP
D:\usr\sap\ESA\SYS\exe\run/R3load.exe: version R6.20/V1.2
D:\usr\sap\ESA\SYS\exe\run/R3load.exe -ctf I E:\db3\EXPORT3/DATA/SAPVIEW.STR C:\SAPinst ORACLE KERNEL/DDLORA.TPL C:\SAPinst ORACLE KERNEL/SAPVIEW.TSK ORA -l C:\SAPinst ORACLE KERNEL/SAPVIEW.log -o D
D:\usr\sap\ESA\SYS\exe\run/R3load.exe: job completed
D:\usr\sap\ESA\SYS\exe\run/R3load.exe: END OF LOG: 20070511002500
D:\usr\sap\ESA\SYS\exe\run/R3load.exe: START OF LOG: 20070511070423
D:\usr\sap\ESA\SYS\exe\run/R3load.exe: sccsid @(#) $Id: //bas/620/src/R3ld/R3load/R3ldmain.c#5 $ SAP
D:\usr\sap\ESA\SYS\exe\run/R3load.exe: version R6.20/V1.2
D:\usr\sap\ESA\SYS\exe\run/R3load.exe -dbcodepage 1100 -i C:\SAPinst ORACLE KERNEL/SAPVIEW.cmd -l C:\SAPinst ORACLE KERNEL/SAPVIEW.log -stop_on_error
DbSl Trace: Got ORACLE_HOME=D:\oracle\ora81 from environment
DbSl Trace: Client NLS settings: AMERICAN_AMERICA.WE8DEC
DbSl Trace: Logon as OPS$-user to get SAPESA's password
DbSl Trace: Connecting as /@ESA on connection 0 ...
DbSl Trace: Attaching to DB Server ESA (con_hdl=0,svchp=002BD418,svrhp=002BD224)
DbSl Trace: Starting user session (con_hdl=0,svchp=002BD418,srvhp=002BD224,usrhp=00304E94)
DbSl Trace: Now I'm connected to ORACLE
DbSl Trace: ORA-1403 when accessing table SAPUSER
DbSl Trace: Disconnecting from connection 0 ...
DbSl Trace: Closing user session (con_hdl=0,svchp=002BD418,usrhp=00304E94)
DbSl Trace: Now I'm disconnected from ORACLE
DbSl Trace: Try to connect with default password
DbSl Trace: Connecting as SAPESA/<pwd>@ESA on connection 0 ...
DbSl Trace: Starting user session (con_hdl=0,svchp=002BD418,srvhp=002BD224,usrhp=00304E94)
DbSl Trace: Now I'm connected to ORACLE
DbSl Trace: Database NLS settings: AMERICAN_AMERICA.WE8DEC
DbSl Trace: Database instance esa is running on MALTI with ORACLE version 8.1.7.4.1 since 20070511
(DB) INFO: connected to DB
(DB) INFO: /SAPTRX/A_CONDF4 created
(DB) INFO: /SAPTRX/VDASFEV created
(DB) INFO: /SAPTRX/VDASFPAR created
(DB) INFO: /SAPTRX/VD_AOMIL created
(DB) INFO: /SAPTRX/VD_AOPAC created
(DB) INFO: /SAPTRX/VD_AOPAE created
(DB) INFO: /SAPTRX/VD_AOPAI created
(DB) INFO: /SAPTRX/VD_AOPAR created
(DB) INFO: /SAPTRX/VD_AOTD1 created
(DB) INFO: /SAPTRX/VD_AOTD2 created
(DB) INFO: /SAPTRX/VD_AOTDD created
(DB) INFO: /SAPTRX/VD_AOTYP created
(DB) INFO: /SAPTRX/VD_ASPAR created
(DB) INFO: /SAPTRX/VD_CONDL created
(DB) INFO: /SAPTRX/V_AODD02 created
(DB) INFO: /SAPTRX/V_DD03 created
(DB) INFO: /SAPTRX/V_DD03X created
(DB) INFO: /SDF/SMODICOMP created
(DB) INFO: /SDF/SMODIDEVC created
(DB) INFO: /SDF/UMOD_COMP created
(DB) INFO: ACEPSOIT_UPD created
(DB) INFO: ADJV_TRANS_DIF created
(DB) INFO: AFFWV0 created
(DB) INFO: AFKO_LAUFN created
(DB) INFO: AFSPLIT created
(DB) INFO: AFVCP created
(DB) INFO: ALM_ME_T003O_IS created
(DB) INFO: ALM_ME_T350I created
(DB) INFO: ALM_ME_TQ80_T created
(DB) INFO: ANEKPV created
(DB) INFO: APOUPD created
(DB) INFO: APPL_DEVC created
(DB) INFO: APPL_DIAL created
(DB) INFO: APPL_DOMA created
(DB) INFO: APPL_DTEL created
(DB) INFO: APPL_ENQU created
(DB) INFO: APPL_FUGR created
(DB) INFO: APPL_FUGRG created
(DB) INFO: APPL_FUNC created
(DB) INFO: APPL_INDX created
(DB) INFO: APPL_MCOB created
(DB) INFO: APPL_MENU created
(DB) ERROR: DDL statement failed
(CREATE VIEW "APPL_MODS" ( "NAME" , "TYP" , "MEMBER" , "DEVCLASS" ) AS SELECT T0001."NAME", T0001."TYP", T0001."MEMBER", T0002."DEVCLASS" FROM "MODSAP" T0001, "MODSAPA" T0002 WHERE T0001."NAME" = T0002."NAME" AND T0002."MIGRATED" <> 'X')
DbSlExecute: rc = 103
(SQL error 942)
error message returned by DbSl:
ORA-00942: table or view does not exist
DbSl Trace: Disconnecting from connection 0 ...
DbSl Trace: Closing user session (con_hdl=0,svchp=002BD418,usrhp=00304E94)
DbSl Trace: Detaching from DB Server (con_hdl=0,svchp=002BD418,srvhp=002BD224)
DbSl Trace: Now I'm disconnected from ORACLE
(DB) INFO: disconnected from DB
D:\usr\sap\ESA\SYS\exe\run/R3load.exe: job finished with 1 error(s)
D:\usr\sap\ESA\SYS\exe\run/R3load.exe: END OF LOG: 20070511070433
SAPINST
INFO 2007-05-10 23:59:05
Processing of host operation t_HostInfo_SHARED succeeded.
INFO 2007-05-10 23:59:16
The 'saploc' share exists at directory 'D:\usr\sap'. Choosing drive D: as SAP System drive.
INFO 2007-05-10 23:59:21
Copying file E:/KERNEL/NT/COMMON/OraVolatileDatabaseParameters.xml to: OraVolatileDatabaseParameters.xml.
INFO 2007-05-10 23:59:21
Creating file C:\SAPinst ORACLE KERNEL\OraVolatileDatabaseParameters.xml.
INFO 2007-05-11 00:01:52
Copying file E:/db1/EXPORT1/DB/ORA/DBSIZE.XML to: DBSIZE.XML.
INFO 2007-05-11 00:01:52
Creating file C:\SAPinst ORACLE KERNEL\DBSIZE.XML.
INFO 2007-05-11 00:01:52
Copying file system node E:\db1\EXPORT1/DB/ORA/DBSIZE.XML with type NODE to DBSIZE.XML succeeded.
INFO 2007-05-11 00:01:52
Processing of all file system node operations of table tORA_filecopy succeeded.
INFO 2007-05-11 00:01:52
Copying file E:/db1/EXPORT1/DB/DDLORA.TPL to: DDLORA.TPL.
INFO 2007-05-11 00:01:52
Creating file C:\SAPinst ORACLE KERNEL\DDLORA.TPL.
INFO 2007-05-11 00:01:52
Copying file system node E:\db1\EXPORT1/DB/DDLORA.TPL with type NODE to DDLORA.TPL succeeded.
INFO 2007-05-11 00:01:52
Processing of all file system node operations of table tORA_filecopy succeeded.
INFO 2007-05-11 00:01:57
Moving file C:/SAPinst ORACLE KERNEL/DDLORA.TPL to: orig_ddl_ora_tmp.tpl.
INFO 2007-05-11 00:01:57
Moving file C:/SAPinst ORACLE KERNEL/changed_ddl_ora_tmp.tpl to: DDLORA.TPL.
INFO 2007-05-11 00:01:57
Removing file C:/SAPinst ORACLE KERNEL/orig_ddl_ora_tmp.tpl.
INFO 2007-05-11 00:03:00
Package table created
PHASE 2007-05-11 00:04:15
SAP R/3 Enterprise 4.70 for Oracle
PHASE 2007-05-11 00:04:15
SAP Web Application Server
PHASE 2007-05-11 00:04:15
Request common parameters of SAP System
PHASE 2007-05-11 00:04:15
Create operating system accounts
INFO 2007-05-11 00:04:15
Copying file C:/SAPinst ORACLE KERNEL/keydb.xml to: C:/SAPinst ORACLE KERNEL/keydb.1.xml.
INFO 2007-05-11 00:04:15
Creating file C:\SAPinst ORACLE KERNEL\keydb.1.xml.
INFO 2007-05-11 00:04:15
Copying file C:/SAPinst ORACLE KERNEL/OraVolatileDatabaseParameters.xml to: C:/SAPinst ORACLE KERNEL/OraVolatileDatabaseParameters.1.xml.
INFO 2007-05-11 00:04:15
Creating file C:\SAPinst ORACLE KERNEL\OraVolatileDatabaseParameters.1.xml.
INFO 2007-05-11 00:04:15
Copying file C:/SAPinst ORACLE KERNEL/DBSIZE.XML to: C:/SAPinst ORACLE KERNEL/DBSIZE.1.XML.
INFO 2007-05-11 00:04:15
Creating file C:\SAPinst ORACLE KERNEL\DBSIZE.1.XML.
INFO 2007-05-11 00:04:15
Changing account ACCOUNTID=S-1-5-21-1488183395-3813774055-1856681103-1004 ACCOUNTNAME=malti\SAP_LocalAdmin ACCOUNTTYPE=GROUP DESCRIPTION=SAP Local Administration Group MEMBERSHIPSEPARATOR=, OPMODE=CREATE succeeded.
INFO 2007-05-11 00:04:15
Changing account ACCOUNTID=S-1-5-21-1488183395-3813774055-1856681103-1005 ACCOUNTNAME=malti\SAP_ESA_LocalAdmin ACCOUNTTYPE=GROUP DESCRIPTION=SAP Local Administration Group MEMBERSHIPSEPARATOR=, OPMODE=CREATE succeeded.
INFO 2007-05-11 00:04:15
Changing account ACCOUNTID=S-1-5-21-1488183395-3813774055-1856681103-1006 ACCOUNTNAME=malti\SAP_ESA_GlobalAdmin ACCOUNTTYPE=GROUP DESCRIPTION=SAP Global Administration Group MEMBERSHIPSEPARATOR=, OPMODE=CREATE succeeded.
INFO 2007-05-11 00:04:15
Changing account ACCOUNTID=S-1-5-21-1488183395-3813774055-1856681103-1007 ACCOUNTNAME=ORA_ESA_DBA ACCOUNTTYPE=GROUP CONDITION=YES DESCRIPTION=Database Operator Group MEMBERSHIPSEPARATOR=, OPMODE=CREATE succeeded.
INFO 2007-05-11 00:04:15
Changing account ACCOUNTID=S-1-5-21-1488183395-3813774055-1856681103-1008 ACCOUNTNAME=ORA_ESA_OPER ACCOUNTTYPE=GROUP CONDITION=YES DESCRIPTION=Database Administration Group MEMBERSHIPSEPARATOR=, OPMODE=CREATE succeeded.
INFO 2007-05-11 00:04:15
Processing of all account operations of table t_SAPComponent_Accounts_Accounts_SHARED succeeded (operation CREATE).
INFO 2007-05-11 00:04:18
Changing account ACCOUNTID=S-1-5-21-1488183395-3813774055-1856681103-1009 ACCOUNTNAME=malti\esaadm ACCOUNTTYPE=USER DESCRIPTION=SAP System Administrator MEMBERSHIP=malti\SAP_ESA_GlobalAdmin,malti\Users,Administrators,ORA_ESA_DBA,ORA_ESA_OPER,malti\SAP_LocalAdmin,malti\SAP_ESA_LocalAdmin MEMBERSHIPSEPARATOR=, OPMODE=CREATE USERPASSWORD=*... succeeded.
INFO 2007-05-11 00:04:18
Changing account ACCOUNTID=S-1-5-21-1488183395-3813774055-1856681103-1010 ACCOUNTNAME=malti\SAPServiceESA ACCOUNTTYPE=USER CONDITION=YES DESCRIPTION=SAP System Service Administrator MEMBERSHIP=malti\SAP_ESA_GlobalAdmin,Administrators,ORA_ESA_DBA,ORA_ESA_OPER,malti\SAP_LocalAdmin,malti\SAP_ESA_LocalAdmin MEMBERSHIPSEPARATOR=, OPMODE=CREATE USERPASSWORD=*... succeeded.
INFO 2007-05-11 00:04:18
Processing of all account operations of table t_SAPComponent_Accounts_Accounts_SHARED succeeded (operation CREATE).
PHASE 2007-05-11 00:04:18
Request operating system user information
PHASE 2007-05-11 00:04:18
Request operating system user information
PHASE 2007-05-11 00:04:18
Request operating system user information
PHASE 2007-05-11 00:04:19
Request operating system user information
PHASE 2007-05-11 00:04:19
Request operating system user information
PHASE 2007-05-11 00:04:19
Request operating system user information
PHASE 2007-05-11 00:04:19
Request operating system user information
PHASE 2007-05-11 00:04:19
Request operating system user information
PHASE 2007-05-11 00:04:19
Request operating system user information
PHASE 2007-05-11 00:04:19
Request operating system user information
PHASE 2007-05-11 00:04:19
Request operating system user information
PHASE 2007-05-11 00:04:19
Request operating system user information
PHASE 2007-05-11 00:04:19
Request operating system user information
PHASE 2007-05-11 00:04:19
Request operating system user information
PHASE 2007-05-11 00:04:19
Request operating system user information
PHASE 2007-05-11 00:04:19
Request operating system user information
PHASE 2007-05-11 00:04:19
Request operating system user information
PHASE 2007-05-11 00:04:19
Request operating system user information
INFO 2007-05-11 00:04:20
Successfully added privileges 'SeTcbPrivilege SeAssignPrimaryTokenPrivilege SeIncreaseQuotaPrivilege' to account 'S-1-5-21-1488183395-3813774055-1856681103-500' on host 'malti'!
INFO 2007-05-11 00:04:20
Successfully added privileges 'SeTcbPrivilege SeAssignPrimaryTokenPrivilege SeIncreaseQuotaPrivilege' to account 'S-1-5-21-1488183395-3813774055-1856681103-500' on host 'malti'!
INFO 2007-05-11 00:04:20
Successfully added privileges 'SeTcbPrivilege SeAssignPrimaryTokenPrivilege SeIncreaseQuotaPrivilege' to account 'S-1-5-21-1488183395-3813774055-1856681103-500' on host 'malti'!
INFO 2007-05-11 00:04:20
Evaluating all 'tNT_RegistryEntries' table rows succeeded.
INFO 2007-05-11 00:04:21
Creating or updating all NT registry entries from the tNT_RegistryEntries table succeeded.
INFO 2007-05-11 00:04:22
Creating or updating all NT registry entries from the tNT_RegistryEntries table succeeded.
INFO 2007-05-11 00:05:39
Creating file system node D:\oracle\ESA/sapdata6\esa_16 with type DIRECTORY succeeded.
INFO 2007-05-11 00:05:39
Creating directory D:\oracle\ESA\sapdata1\esa620_1.
INFO 2007-05-11 00:05:39
Creating file system node D:\oracle\ESA/sapdata1\esa620_1 with type DIRECTORY succeeded.
INFO 2007-05-11 00:05:39
Creating directory D:\oracle\ESA\sapdata2\esa620_2.
INFO 2007-05-11 00:05:39
Creating file system node D:\oracle\ESA/sapdata2\esa620_2 with type DIRECTORY succeeded.
INFO 2007-05-11 00:05:39
Creating directory D:\oracle\ESA\sapdata3\esa620_3.
INFO 2007-05-11 00:05:39
Creating file system node D:\oracle\ESA/sapdata3\esa620_3 with type DIRECTORY succeeded.
INFO 2007-05-11 00:05:39
Creating directory D:\oracle\ESA\sapdata4\esa620_4.
INFO 2007-05-11 00:05:39
Creating file system node D:\oracle\ESA/sapdata4\esa620_4 with type DIRECTORY succeeded.
INFO 2007-05-11 00:05:39
Creating directory D:\oracle\ESA\sapdata4\esa620_5.
INFO 2007-05-11 00:05:39
Creating file system node D:\oracle\ESA/sapdata4\esa620_5 with type DIRECTORY succeeded.
INFO 2007-05-11 00:05:39
Creating directory D:\oracle\ESA\sapdata5\esa620_6.
INFO 2007-05-11 00:05:39
Creating file system node D:\oracle\ESA/sapdata5\esa620_6 with type DIRECTORY succeeded.
INFO 2007-05-11 00:05:39
Creating directory D:\oracle\ESA\sapdata5\esa620_7.
INFO 2007-05-11 00:05:39
Creating file system node D:\oracle\ESA/sapdata5\esa620_7 with type DIRECTORY succeeded.
INFO 2007-05-11 00:05:39
Creating directory D:\oracle\ESA\sapdata6\esa620_8.
INFO 2007-05-11 00:05:39
Creating file system node D:\oracle\ESA/sapdata6\esa620_8 with type DIRECTORY succeeded.
INFO 2007-05-11 00:05:39
Creating directory D:\oracle\ESA\sapdata6\esa620_9.
INFO 2007-05-11 00:05:39
Creating file system node D:\oracle\ESA/sapdata6\esa620_9 with type DIRECTORY succeeded.
INFO 2007-05-11 00:05:39
Creating directory D:\oracle\ESA\sapdata6\esausr_1.
INFO 2007-05-11 00:05:39
Creating file system node D:\oracle\ESA/sapdata6\esausr_1 with type DIRECTORY succeeded.
INFO 2007-05-11 00:05:39
Creating directory D:\oracle\ESA\sapdata2\roll_1.
INFO 2007-05-11 00:05:39
Creating file system node D:\oracle\ESA/sapdata2\roll_1 with type DIRECTORY succeeded.
INFO 2007-05-11 00:05:39
Creating directory D:\oracle\ESA\sapdata3\temp_1.
INFO 2007-05-11 00:05:39
Creating file system node D:\oracle\ESA/sapdata3\temp_1 with type DIRECTORY succeeded.
INFO 2007-05-11 00:05:39
Creating directory D:\oracle\ESA\sapdata1\system_1.
INFO 2007-05-11 00:05:39
Creating file system node D:\oracle\ESA/sapdata1\system_1 with type DIRECTORY succeeded.
INFO 2007-05-11 00:05:39
Processing of all file system node operations of table tORA_SapdataNodes succeeded.
INFO 2007-05-11 00:05:40
Processing of all file system node operations of table tORA_DatabaseServerNodes succeeded.
INFO 2007-05-11 00:05:40
Processing of all file system node operations of table tORA_SapdataNodes succeeded.
INFO 2007-05-11 00:05:41
Creating file D:\oracle\ora81\database\initESA.ora.
INFO 2007-05-11 00:05:42
Creating file D:\oracle\ora81\database\initESA.sap.
INFO 2007-05-11 00:05:43
Copying file E:/KERNEL/NT/COMMON/INSTALL/INITSID.DBA to: D:\oracle\ora81/database/initESA.dba.
INFO 2007-05-11 00:05:43
Creating file D:\oracle\ora81\database\initESA.dba.
INFO 2007-05-11 00:05:44
Changed working directory to C:\SAPinst ORACLE KERNEL.
INFO 2007-05-11 00:05:45
Moving file D:/oracle/ora81/database/initESA.ora to: orig_init_ora_tmp.txt.
INFO 2007-05-11 00:05:45
Moving file C:/SAPinst ORACLE KERNEL/changed_init_ora_tmp.txt to: D:\oracle\ora81\database\initESA.ora.
INFO 2007-05-11 00:05:45
Removing file C:/SAPinst ORACLE KERNEL/orig_init_ora_tmp.txt.
INFO 2007-05-11 00:05:46
Creating file C:\SAPinst ORACLE KERNEL\oradim.log.
INFO 2007-05-11 00:05:51
See 'D:\oracle\ora81/bin/oradim -new -sid ESA -STARTMODE auto' output in 'C:\SAPinst ORACLE KERNEL\oradim.log'.
INFO 2007-05-11 00:05:51
'D:\oracle\ora81/bin/oradim -new -sid ESA -STARTMODE auto' returned with '0'.
INFO 2007-05-11 00:05:52
Changed working directory to C:\SAPinst ORACLE KERNEL.
INFO 2007-05-11 00:05:57
Changed working directory to C:\SAPinst ORACLE KERNEL.
INFO 2007-05-11 00:06:02
Changed working directory to C:\SAPinst ORACLE KERNEL.
INFO 2007-05-11 00:06:27
Changed working directory to C:\SAPinst ORACLE KERNEL.
INFO 2007-05-11 00:06:29
Changed working directory to C:\SAPinst ORACLE KERNEL.
INFO 2007-05-11 00:06:51
Changed working directory to C:\SAPinst ORACLE KERNEL.
INFO 2007-05-11 00:06:54
Changed working directory to C:\SAPinst ORACLE KERNEL.
INFO 2007-05-11 00:07:21
Changed working directory to C:\SAPinst ORACLE KERNEL.
INFO 2007-05-11 00:07:24
Changed working directory to C:\SAPinst ORACLE KERNEL.
INFO 2007-05-11 00:07:27
Changed working directory to C:\SAPinst ORACLE KERNEL.
INFO 2007-05-11 00:07:29
Changed working directory to C:\SAPinst ORACLE KERNEL.
INFO 2007-05-11 00:07:31
Moving file D:/oracle/ora81/database/initESA.ora to: orig_init_ora_tmp.txt.
INFO 2007-05-11 00:07:31
Moving file C:/SAPinst ORACLE KERNEL/changed_init_ora_tmp.txt to: D:\oracle\ora81\database\initESA.ora.
INFO 2007-05-11 00:07:31
Removing file C:/SAPinst ORACLE KERNEL/orig_init_ora_tmp.txt.
INFO 2007-05-11 00:07:32
Changed working directory to C:\SAPinst ORACLE KERNEL.
INFO 2007-05-11 00:07:34
Changed working directory to C:\SAPinst ORACLE KERNEL.
INFO 2007-05-11 00:08:09
Changed working directory to C:\SAPinst ORACLE KERNEL.
INFO 2007-05-11 00:08:12
Changed working directory to C:\SAPinst ORACLE KERNEL.
INFO 2007-05-11 00:08:48
Changed working directory to C:\SAPinst ORACLE KERNEL.
INFO 2007-05-11 00:08:50
Changed working directory to C:\SAPinst ORACLE KERNEL.
INFO 2007-05-11 00:09:26
Changed working directory to C:\SAPinst ORACLE KERNEL.
INFO 2007-05-11 00:09:29
Changed working directory to C:\SAPinst ORACLE KERNEL.
INFO 2007-05-11 00:10:04
Changed working directory to C:\SAPinst ORACLE KERNEL.
INFO 2007-05-11 00:10:06
Changed working directory to C:\SAPinst ORACLE KERNEL.
INFO 2007-05-11 00:10:42
Changed working directory to C:\SAPinst ORACLE KERNEL.
INFO 2007-05-11 00:10:44
Changed working directory to C:\SAPinst ORACLE KERNEL.
INFO 2007-05-11 00:11:20
Changed working directory to C:\SAPinst ORACLE KERNEL.
INFO 2007-05-11 00:11:22
Changed working directory to C:\SAPinst ORACLE KERNEL.
INFO 2007-05-11 00:11:57
Changed working directory to C:\SAPinst ORACLE KERNEL.
INFO 2007-05-11 00:12:00
Changed working directory to C:\SAPinst ORACLE KERNEL.
INFO 2007-05-11 00:12:35
Changed working directory to C:\SAPinst ORACLE KERNEL.
INFO 2007-05-11 00:12:37
Changed working directory to C:\SAPinst ORACLE KERNEL.
INFO 2007-05-11 00:13:13
Changed working directory to C:\SAPinst ORACLE KERNEL.
INFO 2007-05-11 00:13:15
Changed working directory to C:\SAPinst ORACLE KERNEL.
INFO 2007-05-11 00:13:51
Changed working directory to C:\SAPinst ORACLE KERNEL.
INFO 2007-05-11 00:13:53
Changed working directory to C:\SAPinst ORACLE KERNEL.
INFO 2007-05-11 00:14:29
Changed working directory to C:\SAPinst ORACLE KERNEL.
INFO 2007-05-11 00:14:31
Changed working directory to C:\SAPinst ORACLE KERNEL.
INFO 2007-05-11 00:15:09
Changed working directory to C:\SAPinst ORACLE KERNEL.
INFO 2007-05-11 00:15:11
Changed working directory to C:\SAPinst ORACLE KERNEL.
INFO 2007-05-11 00:15:48
Changed working directory to C:\SAPinst ORACLE KERNEL.
INFO 2007-05-11 00:15:50
Changed working directory to C:\SAPinst ORACLE KERNEL.
INFO 2007-05-11 00:16:26
Changed working directory to C:\SAPinst ORACLE KERNEL.
INFO 2007-05-11 00:16:28
Changed working directory to C:\SAPinst ORACLE KERNEL.
INFO 2007-05-11 00:17:04
Changed working directory to C:\SAPinst ORACLE KERNEL.
INFO 2007-05-11 00:17:07
Changed working directory to C:\SAPinst ORACLE KERNEL.
INFO 2007-05-11 00:17:43
Changed working directory to C:\SAPinst ORACLE KERNEL.
INFO 2007-05-11 00:17:45
Changed working directory to C:\SAPinst ORACLE KERNEL.
INFO 2007-05-11 00:18:22
Changed working directory to C:\SAPinst ORACLE KERNEL.
INFO 2007-05-11 00:18:24
Changed working directory to C:\SAPinst ORACLE KERNEL.
INFO 2007-05-11 00:19:01
Changed working directory to C:\SAPinst ORACLE KERNEL.
INFO 2007-05-11 00:19:03
Changed working directory to C:\SAPinst ORACLE KERNEL.
INFO 2007-05-11 00:19:39
Changed working directory to C:\SAPinst ORACLE KERNEL.
INFO 2007-05-11 00:19:42
Changed working directory to C:\SAPinst ORACLE KERNEL.
INFO 2007-05-11 00:20:21
Changed working directory to C:\SAPinst ORACLE KERNEL.
INFO 2007-05-11 00:20:24
Changed working directory to C:\SAPinst ORACLE KERNEL.
INFO 2007-05-11 00:21:02
Changed working directory to C:\SAPinst ORACLE KERNEL.
INFO 2007-05-11 00:21:05
Changed working directory to C:\SAPinst ORACLE KERNEL.
INFO 2007-05-11 00:21:43
Changed working directory to C:\SAPinst ORACLE KERNEL.
INFO 2007-05-11 00:21:45
Changed working directory to C:\SAPinst ORACLE KERNEL.
INFO 2007-05-11 00:22:24
Changed working directory to C:\SAPinst ORACLE KERNEL.
INFO 2007-05-11 00:22:27
Changed working directory to C:\SAPinst ORACLE KERNEL.
INFO 2007-05-11 00:23:06
Changed working directory to C:\SAPinst ORACLE KERNEL.
INFO 2007-05-11 00:23:08
Changed working directory to C:\SAPinst ORACLE KERNEL.
INFO 2007-05-11 00:23:47
Changed working directory to C:\SAPinst ORACLE KERNEL.
INFO 2007-05-11 00:23:50
Changed working directory to C:\SAPinst ORACLE KERNEL.
INFO 2007-05-11 00:23:54
Changed working directory to C:\SAPinst ORACLE KERNEL.
INFO 2007-05-11 00:23:56
Changed working directory to C:\SAPinst ORACLE KERNEL.
INFO 2007-05-11 00:24:12
Changed working directory to C:\SAPinst ORACLE KERNEL.
INFO 2007-05-11 00:24:15
Changed working directory to C:\SAPinst ORACLE KERNEL.
INFO 2007-05-11 00:24:41
Changed working directory to C:\SAPinst ORACLE KERNEL.
INFO 2007-05-11 00:24:43
Changed working directory to C:\SAPinst ORACLE KERNEL.
INFO 2007-05-11 00:24:46
Moving file D:/oracle/ora81/database/initESA.ora to: orig_init_ora_tmp.txt.
INFO 2007-05-11 00:24:46
Moving file C:/SAPinst ORACLE KERNEL/changed_init_ora_tmp.txt to: D:\oracle\ora81\database\initESA.ora.
INFO 2007-05-11 00:24:46
Removing file C:/SAPinst ORACLE KERNEL/orig_init_ora_tmp.txt.
INFO 2007-05-11 00:24:46
Creating file C:\SAPinst ORACLE KERNEL\lsnrctl.log.
INFO 2007-05-11 00:24:47
See 'D:\oracle\ora81/bin/lsnrctl stat' output in 'C:\SAPinst ORACLE KERNEL\lsnrctl.log'.
INFO 2007-05-11 00:24:47
'D:\oracle\ora81/bin/lsnrctl stat' returned with '3'.
INFO 2007-05-11 00:24:47
Creating file C:\SAPinst ORACLE KERNEL\lsnrctl.log.
INFO 2007-05-11 00:24:48
See 'D:\oracle\ora81/bin/lsnrctl start' output in 'C:\SAPinst ORACLE KERNEL\lsnrctl.log'.
INFO 2007-05-11 00:24:48
'D:\oracle\ora81/bin/lsnrctl start' returned with '0'.
INFO 2007-05-11 00:24:49
Copying file E:/KERNEL/NT/COMMON/INSTALL/ORADBUSR.SQL to: ./oradbusr.sql.
INFO 2007-05-11 00:24:49
Creating file C:\SAPinst ORACLE KERNEL\oradbusr.sql.
INFO 2007-05-11 00:24:49
Changed working directory to C:\SAPinst ORACLE KERNEL.
INFO 2007-05-11 00:24:52
Changed working directory to C:\SAPinst ORACLE KERNEL.
PHASE 2007-05-11 00:24:54
Database Load
INFO 2007-05-11 00:24:56
Changed working directory to C:\SAPinst ORACLE KERNEL.
INFO 2007-05-11 00:24:57
Changed working directory to C:\SAPinst ORACLE KERNEL.
INFO 2007-05-11 00:24:57
Changed working directory to C:\SAPinst ORACLE KERNEL.
INFO 2007-05-11 00:24:58
Changed working directory to C:\SAPinst ORACLE KERNEL.
INFO 2007-05-11 00:24:58
Changed working directory to C:\SAPinst ORACLE KERNEL.
INFO 2007-05-11 00:24:59
Changed working directory to C:\SAPinst ORACLE KERNEL.
INFO 2007-05-11 00:24:59
Changed working directory to C:\SAPinst ORACLE KERNEL.
INFO 2007-05-11 00:24:59
Changed working directory to C:\SAPinst ORACLE KERNEL.
INFO 2007-05-11 00:24:59
Changed working directory to C:\SAPinst ORACLE KERNEL.
INFO 2007-05-11 00:24:59
Changed working directory to C:\SAPinst ORACLE KERNEL.
INFO 2007-05-11 00:24:59
Changed working directory to C:\SAPinst ORACLE KERNEL.
INFO 2007-05-11 00:24:59
Changed working directory to C:\SAPinst ORACLE KERNEL.
INFO 2007-05-11 00:24:59
Changed working directory to C:\SAPinst ORACLE KERNEL.
INFO 2007-05-11 00:24:59
Changed working directory to C:\SAPinst ORACLE KERNEL.
INFO 2007-05-11 00:24:59
Changed working directory to C:\SAPinst ORACLE KERNEL.
INFO 2007-05-11 00:24:59
Changed working directory to C:\SAPinst ORACLE KERNEL.
INFO 2007-05-11 00:25:00
Changed working directory to C:\SAPinst ORACLE KERNEL.
INFO 2007-05-11 00:25:00
Task files created
INFO 2007-05-11 00:25:00
Command files created
INFO 2007-05-11 00:25:01
Changed working directory to C:\SAPinst ORACLE KERNEL.
INFO 2007-05-11 00:25:01
Changed working directory to C:\SAPinst ORACLE KERNEL.
INFO 2007-05-11 00:25:01
Changed working directory to C:\SAPinst ORACLE KERNEL.
ERROR 2007-05-11 02:18:03
MSC-01015 Process finished with error(s), check log file C:\SAPinst ORACLE KERNEL/SAPAPPL1.log
INFO 2007-05-11 02:18:03
Changed working directory to C:\SAPinst ORACLE KERNEL.
ERROR 2007-05-11 02:44:07
MSC-01015 Process finished with error(s), check log file C:\SAPinst ORACLE KERNEL/SAPSSEX2.log
INFO 2007-05-11 02:44:07
Changed working directory to C:\SAPinst ORACLE KERNEL.
INFO 2007-05-11 03:55:07
Changed working directory to C:\SAPinst ORACLE KERNEL.
INFO 2007-05-11 04:25:07
Changed working directory to C:\SAPinst ORACLE KERNEL.
INFO 2007-05-11 04:42:08
Changed working directory to C:\SAPinst ORACLE KERNEL.
INFO 2007-05-11 04:47:08
Changed working directory to C:\SAPinst ORACLE KERNEL.
INFO 2007-05-11 04:55:22
Changed working directory to C:\SAPinst ORACLE KERNEL.
INFO 2007-05-11 04:57:22
Changed working directory to C:\SAPinst ORACLE KERNEL.
INFO 2007-05-11 04:59:22
Changed working directory to C:\SAPinst ORACLE KERNEL.
INFO 2007-05-11 05:01:22
Changed working directory to C:\SAPinst ORACLE KERNEL.
INFO 2007-05-11 05:03:22
Changed working directory to C:\SAPinst ORACLE KERNEL.
INFO 2007-05-11 05:04:23
Changed working directory to C:\SAPinst ORACLE KERNEL.
INFO 2007-05-11 05:05:23
Changed working directory to C:\SAPinst ORACLE KERNEL.
INFO 2007-05-11 07:04:33
Changed working directory to C:\SAPinst ORACLE KERNEL.
ERROR 2007-05-11 07:04:33
MSC-01015 Process finished with error(s), check log file C:\SAPinst ORACLE KERNEL/SAPVIEW.log
ERROR 2007-05-11 07:04:33
FJS-00012 Error when executing script.
THANKS ALLL IN ADVANCE,
Regards,
Maltino space left on devices...
==> "<b>MOS-01109 Needed space on mountpoint F:/ is 5.248e07 KB, but got only 4.26433e07 KB.</b>"
and others...
-> provide more space and restart
GreetZ, AH -
PLS-00201 error occurs when batching a stored procedure in SQL*Plus
I have a batch file to run a stored procedure and spool the results to file. When I enter the commands manually in sql*plus the output works fine and my results are spooled to the output file. But when I run the same commands in the batched script I get an error.
Any ideas?
Stored Procedure:
create or replace procedure MMP( p_cursor in out SYS_REFCURSOR)
as
begin
open p_cursorfor select name, id from table;
end;
batch file 1:
sqlplus -S user/pw@REPORTDV @sp_output_spooled.sql
script file sp_output_spooled.sql
Pasting these commands directly to the SQL*Plus command prompt spools the result set to file as expected.
set colsep '|'
set echo off
set feedback off
set termout off
set heading off
set linesize 9000
set pagesize 0
set trimspool on
set headsep off
spool output.TXT
var rc refcursor
execute MMP(:rc)
print rc
spool off
exit
The errors printed to output.TXT file after the batch is run and error occurs:
BEGIN MMP(:rc); END;
ERROR at line 1:
ORA-06550: line 1, column 8:
PLS-00201: identifier 'MMP' must be declared
ORA-06550: line 1, column 8:
PL/SQL: Statement ignored
ERROR:
ORA-24338: statement handle not executed
SP2-0625: Error printing variable "rc"Hi,
Your code worked fine for me.
Is MMP procedure owned by the same user that is running the batch file or does it have proper privileges and synonym?
vr,
Sudhakar
Maybe you are looking for
-
How do I select text in a PDF document?
I have a text-based PDF document, but I can only select text by restarting the reader. Once I select "Take a Snapshot" I can't select text anymore. How do I switch back to select text? I tried right-clicking on the document but I don't see any "selec
-
Macbook freezing when restarting to update
I'm trying to update my 2010 Macbook Pro to the newest OS + itunes versions, but it freezes when restarting (it's showing the space screen indefinitely). Anyone has a solution, I can try? Many thanks
-
Hello All, I have requirement in SAP script where I need to compare the system date and condition validity date and display the value if todays date lies in validity date. What is the best way to do this , I have tried using a perform statment but th
-
please can anybody help me with this line of code? i need to know eactly what the code is talking about.. its hard for me to know.. please i need explanation.. the code is displayed below: Private Shared Sub Main() Application.EnableVis
-
How long does the download take
i have been waiting for 2 hours and the download bar has not moved at all. why?