How to create online log in standby instance?
Oracle say that:
Step 3 Create an Online Redo Log on the Standby Database
Although this step is optional, Oracle recommends that an online redo log be created
when a standby database is created. By following this best practice, a standby database
will be ready to quickly transition to the primary database role.
The size and number of redo log groups in the online redo log of a standby database
should be chosen so that the standby database performs well if it transitions to the
primary role.
But when I execute "ALTER DATABASE ADD LOGFILE ('/opt/oracle/oradata/orcl/redo01.log') SIZE 50M;" in standby instance,I get the follow message:
ORA-01275: Operation ADD LOGFILE is not allowed if standby file management is automatic.
How could I do?
Hello xyz_hh ;
Your post is just a little vague so I'm guessing you are referring to "3.2.6 Start the Physical Standby Database" in "Data Guard Concepts and Administration"
If this is correct, this is part of "Step-by-Step Instructions for Creating a Physical Standby Database"
Assuming I right so far you are try to "Create an Online Redo Log on the Standby Database".
Can you confirm along with you OS, and Oracle version?
If you are trying to create redo on the standby after the fact you will need to make this change before you proceed.
STANDBY_FILE_MANAGEMENT=MANUALIf this is your issue check this link out:
http://kb.dbatoolz.com/tp/2692.avoid_ora-19527_set_dummy_log_file_name_convert.html
Best Regards
mseberg
Edited by: mseberg on Aug 12, 2011 5:35 AM
Similar Messages
-
How to create different log files for each of web applications deployed in OC4J
Hi All,
I am using OC4J(from Oracle) v1.0.2.2 and Windows2000. Now I want to know
1. how to create different log files for each of my deployed web applications ?
2. what are the advantages in running multiple instances of oc4j and in what case we should run
multiple instances of OC4J ?
3. how to run OC4J as Windows2000 Service rather than Windows2000 Application ?
Thanks and Regards,
Kumar.Hi Avi,
First of all I have given a first reading to log4j and I think there will some more easy way of logging debugging messages than log4j (If you could provide me a detailed explanation of a servlet,jsp,java bean that uses log4j and how to use log4j then it will be very helpful for me). The other easy ways (if I am not using log4j) to my problem i.e creating different log files for each of web applications deployed in oc4j are
I have created multiple instances of OC4J that are configured to run on different ports and so on each instance I have deployed a single web application . And I started the 2 oc4j instances by transferring thier error/log messages to a file. And the other way is ..
I have download from jakarta site a package called servhelper . This servhelper is a thread that is started in a startup servlet and stopped in the destroy method of that startup servlet. So this thread will automatically capture all the system.out.println's and will print those to a file. I believe that this thread program is synchronized. So in this method I need not run multiple instances of OC4J instead each deployed web application on single instance of oc4j uses the same thread program (ofcourse a copy of thread program is put in each of the deployed web applications directories) to log messages on to different log files.
Can you comment on my above 2 approached to logging debugging messages and a compartive explanation to LOG4J and how to use LOG4J using a simple servlet, simple jsp is appreciated ...
Thanks and Regards,
Ravi. -
Cloning of database to same host give error, unable to re-create online log
clone the database to same host
oracle version: 9.2.0.5
os HP
target db: tardb
catlog catlog
auxiliary: auxbr
After running this script, I am getting error unable to re-create online log.
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 06/08/2009 23:17:38
RMAN-03015: error occurred in stored script Memory Script
RMAN-06136: ORACLE error from auxiliary database: ORA-00344: unable to re-create online log '/db/app/oracle/product/9.2.0.5/dbs/ /db
/redolog.001/catalog1/catalog1_log1.rdo'
ORA-27040: skgfrcre: create error, unable to create file
HP-UX Error: 2: No such file or directory
I tried to shutdown, and mount, recover with backup contorlfile until cancel. and open with reset logs ,
I am not able to make the copy of the database on same host.
Help is appreciated.
complete error log
oracle@dimondz{auxbr}/db/app/oracle/dba/sql> sqlplus '/as sysdba'
SQL*Plus: Release 9.2.0.5.0 - Production on Mon Jun 8 23:11:23 2009
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
Connected to an idle instance.
SQL> startup nomount pfile='/db/app/oracle/admin/catlog/pfile/initauxbr.ora';
ORACLE instance started.
Total System Global Area 219115512 bytes
Fixed Size 737272 bytes
Variable Size 83886080 bytes
Database Buffers 134217728 bytes
Redo Buffers 274432 bytes
SQL> create spfile from pfile='/db/app/oracle/admin/catlog/pfile/initauxbr.ora';
File created.
SQL> exit
Disconnected from Oracle9i Enterprise Edition Release 9.2.0.5.0 - 64bit Production
With the Partitioning option
JServer Release 9.2.0.5.0 - Production
oracle@dimondz{auxbr}/db/app/oracle/dba/sql>
oracle@dimondz{auxbr}/db/app/oracle/dba/sql> rman
Recovery Manager: Release 9.2.0.5.0 - 64bit Production
Copyright (c) 1995, 2002, Oracle Corporation. All rights reserved.
RMAN> connect catalog rman/rman@catlog
connected to recovery catalog database
RMAN> connect target sys/dimondz@tardb
connected to target database: tardb (DBID=3063303886)
RMAN> connect auxiliary sys/dimondz@auxbr
connected to auxiliary database: auxbr (not mounted)
RMAN>
RMAN> RUN
2> {
3> SET NEWNAME FOR DATAFILE 1 TO '/db/catalog1.001/oradata/system01.dbf';
4>
5> SET NEWNAME FOR DATAFILE 2 TO '/db/catalog1.001/oradata/undotbs01.dbf';
6>
SET NEWNAME FOR DATAFILE 3 TO '/db/catalog1.001/oradata/ptest01.dbf';
7> 8>
9> SET NEWNAME FOR DATAFILE 4 TO '/db/catalog1.001/oradata/users_01.dbf';
10>
11> SET NEWNAME FOR DATAFILE 5 TO '/db/catalog1.001/oradata/drsys_01.dbf';
12>
13> SET NEWNAME FOR DATAFILE 6 TO '/db/catalog1.001/oradata/qms_dat_01.dbf';
14>
15> SET NEWNAME FOR DATAFILE 7 TO '/db/catalog1.001/oradata/ultradat_01.dbf';
16>
17> SET NEWNAME FOR DATAFILE 11 TO '/db/catalog1.001/oradata/xmltbs_01.dbf';
18>
19> DUPLICATE TARGET DATABASE TO auxbr
20>
21> pfile=/db/app/oracle/admin/catlog/pfile/initauxbr.ora
22> logfile
23> ' /db/redolog.001/catalog1/catalog1_log1.rdo' size 5m,
24> ' /db/redolog.003/catalog1/catalog1_log2.rdo' size 5m,
25> ' /db/redolog.002/catalog1/catalog1_log3.rdo' size 5m;
26> }
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
Starting Duplicate Db at 08-JUN-09
allocated channel: ORA_AUX_DISK_1
channel ORA_AUX_DISK_1: sid=11 devtype=DISK
printing stored script: Memory Script
set until scn 229907626;
set newname for datafile 1 to
"/db/catalog1.001/oradata/system01.dbf";
set newname for datafile 2 to
"/db/catalog1.001/oradata/undotbs01.dbf";
set newname for datafile 3 to
"/db/catalog1.001/oradata/ptest01.dbf";
set newname for datafile 4 to
"/db/catalog1.001/oradata/users_01.dbf";
set newname for datafile 5 to
"/db/catalog1.001/oradata/drsys_01.dbf";
set newname for datafile 6 to
"/db/catalog1.001/oradata/qms_dat_01.dbf";
set newname for datafile 7 to
"/db/catalog1.001/oradata/ultradat_01.dbf";
set newname for datafile 11 to
"/db/catalog1.001/oradata/xmltbs_01.dbf";
restore
check readonly
clone database
executing script: Memory Script
executing command: SET until clause
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
Starting restore at 08-JUN-09
using channel ORA_AUX_DISK_1
channel ORA_AUX_DISK_1: starting datafile backupset restore
channel ORA_AUX_DISK_1: specifying datafile(s) to restore from backup set
restoring datafile 00001 to /db/catalog1.001/oradata/system01.dbf
restoring datafile 00002 to /db/catalog1.001/oradata/undotbs01.dbf
restoring datafile 00003 to /db/catalog1.001/oradata/ptest01.dbf
restoring datafile 00004 to /db/catalog1.001/oradata/users_01.dbf
restoring datafile 00005 to /db/catalog1.001/oradata/drsys_01.dbf
restoring datafile 00006 to /db/catalog1.001/oradata/qms_dat_01.dbf
restoring datafile 00007 to /db/catalog1.001/oradata/ultradat_01.dbf
restoring datafile 00011 to /db/catalog1.001/oradata/xmltbs_01.dbf
channel ORA_AUX_DISK_1: restored backup piece 1
piece handle=/dump/DBA/RMAN/tardb_bkup/db_tardb_f_04kgt77h tag=WHOLE_DATABASE_tardb params=NULL
channel ORA_AUX_DISK_1: restore complete
Finished restore at 08-JUN-09
sql statement: CREATE CONTROLFILE REUSE SET DATABASE "auxbr" RESETLOGS ARCHIVELOG
MAXLOGFILES 5
MAXLOGMEMBERS 5
MAXDATAFILES 100
MAXINSTANCES 1
MAXLOGHISTORY 907
LOGFILE
GROUP 1 ' /db/redolog.001/catalog1/catalog1_log1.rdo' SIZE 5242880 ,
GROUP 2 ' /db/redolog.003/catalog1/catalog1_log2.rdo' SIZE 5242880 ,
GROUP 3 ' /db/redolog.002/catalog1/catalog1_log3.rdo' SIZE 5242880
DATAFILE
'/db/catalog1.001/oradata/system01.dbf'
CHARACTER SET UTF8
printing stored script: Memory Script
switch clone datafile all;
executing script: Memory Script
datafile 2 switched to datafile copy
input datafilecopy recid=1 stamp=689037446 filename=/db/catalog1.001/oradata/undotbs01.dbf
datafile 3 switched to datafile copy
input datafilecopy recid=2 stamp=689037446 filename=/db/catalog1.001/oradata/ptest01.dbf
datafile 4 switched to datafile copy
input datafilecopy recid=3 stamp=689037446 filename=/db/catalog1.001/oradata/users_01.dbf
datafile 5 switched to datafile copy
input datafilecopy recid=4 stamp=689037446 filename=/db/catalog1.001/oradata/drsys_01.dbf
datafile 6 switched to datafile copy
input datafilecopy recid=5 stamp=689037446 filename=/db/catalog1.001/oradata/qms_dat_01.dbf
datafile 7 switched to datafile copy
input datafilecopy recid=6 stamp=689037446 filename=/db/catalog1.001/oradata/ultradat_01.dbf
datafile 11 switched to datafile copy
input datafilecopy recid=7 stamp=689037446 filename=/db/catalog1.001/oradata/xmltbs_01.dbf
printing stored script: Memory Script
set until scn 229907626;
recover
clone database
delete archivelog
executing script: Memory Script
executing command: SET until clause
Starting recover at 08-JUN-09
using channel ORA_AUX_DISK_1
starting media recovery
channel ORA_AUX_DISK_1: starting archive log restore to default destination
channel ORA_AUX_DISK_1: restoring archive log
archive log thread=1 sequence=3
channel ORA_AUX_DISK_1: restoring archive log
archive log thread=1 sequence=4
channel ORA_AUX_DISK_1: restored backup piece 1
piece handle=/dump/DBA/RMAN/tardb_bkup/db_arch_tardb_f_06kgt7ih tag=ARCHIVE_LOG_tardb_BACKUP params=NULL
channel ORA_AUX_DISK_1: restore complete
archive log filename=/oradump/oradata/catlog/arch/catlog-1231663410_1_3.arc thread=1 sequence=3
channel clone_default: deleting archive log(s)
archive log filename=/oradump/oradata/catlog/arch/catlog-1231663410_1_3.arc recid=1 stamp=689037447
archive log filename=/oradump/oradata/catlog/arch/catlog-1231663410_1_4.arc thread=1 sequence=4
channel clone_default: deleting archive log(s)
archive log filename=/oradump/oradata/catlog/arch/catlog-1231663410_1_4.arc recid=2 stamp=689037447
media recovery complete
Finished recover at 08-JUN-09
printing stored script: Memory Script
shutdown clone;
startup clone nomount pfile= '/db/app/oracle/admin/catlog/pfile/initauxbr.ora';
executing script: Memory Script
database dismounted
Oracle instance shut down
connected to auxiliary database (not started)
Oracle instance started
Total System Global Area 219115512 bytes
Fixed Size 737272 bytes
Variable Size 83886080 bytes
Database Buffers 134217728 bytes
Redo Buffers 274432 bytes
sql statement: CREATE CONTROLFILE REUSE SET DATABASE "auxbr" RESETLOGS ARCHIVELOG
MAXLOGFILES 5
MAXLOGMEMBERS 5
MAXDATAFILES 100
MAXINSTANCES 1
MAXLOGHISTORY 907
LOGFILE
GROUP 1 ' /db/redolog.001/catalog1/catalog1_log1.rdo' SIZE 5242880 ,
GROUP 2 ' /db/redolog.003/catalog1/catalog1_log2.rdo' SIZE 5242880 ,
GROUP 3 ' /db/redolog.002/catalog1/catalog1_log3.rdo' SIZE 5242880
DATAFILE
'/db/catalog1.001/oradata/system01.dbf'
CHARACTER SET UTF8
printing stored script: Memory Script
catalog clone datafilecopy "/db/catalog1.001/oradata/undotbs01.dbf";
catalog clone datafilecopy "/db/catalog1.001/oradata/ptest01.dbf";
catalog clone datafilecopy "/db/catalog1.001/oradata/users_01.dbf";
catalog clone datafilecopy "/db/catalog1.001/oradata/drsys_01.dbf";
catalog clone datafilecopy "/db/catalog1.001/oradata/qms_dat_01.dbf";
catalog clone datafilecopy "/db/catalog1.001/oradata/ultradat_01.dbf";
catalog clone datafilecopy "/db/catalog1.001/oradata/xmltbs_01.dbf";
switch clone datafile all;
executing script: Memory Script
cataloged datafile copy
datafile copy filename=/db/catalog1.001/oradata/undotbs01.dbf recid=1 stamp=689037456
cataloged datafile copy
datafile copy filename=/db/catalog1.001/oradata/ptest01.dbf recid=2 stamp=689037456
cataloged datafile copy
datafile copy filename=/db/catalog1.001/oradata/users_01.dbf recid=3 stamp=689037456
cataloged datafile copy
datafile copy filename=/db/catalog1.001/oradata/drsys_01.dbf recid=4 stamp=689037457
cataloged datafile copy
datafile copy filename=/db/catalog1.001/oradata/qms_dat_01.dbf recid=5 stamp=689037457
cataloged datafile copy
datafile copy filename=/db/catalog1.001/oradata/ultradat_01.dbf recid=6 stamp=689037457
cataloged datafile copy
datafile copy filename=/db/catalog1.001/oradata/xmltbs_01.dbf recid=7 stamp=689037457
datafile 2 switched to datafile copy
input datafilecopy recid=1 stamp=689037456 filename=/db/catalog1.001/oradata/undotbs01.dbf
datafile 3 switched to datafile copy
input datafilecopy recid=2 stamp=689037456 filename=/db/catalog1.001/oradata/ptest01.dbf
datafile 4 switched to datafile copy
input datafilecopy recid=3 stamp=689037456 filename=/db/catalog1.001/oradata/users_01.dbf
datafile 5 switched to datafile copy
input datafilecopy recid=4 stamp=689037457 filename=/db/catalog1.001/oradata/drsys_01.dbf
datafile 6 switched to datafile copy
input datafilecopy recid=5 stamp=689037457 filename=/db/catalog1.001/oradata/qms_dat_01.dbf
datafile 7 switched to datafile copy
input datafilecopy recid=6 stamp=689037457 filename=/db/catalog1.001/oradata/ultradat_01.dbf
datafile 11 switched to datafile copy
input datafilecopy recid=7 stamp=689037457 filename=/db/catalog1.001/oradata/xmltbs_01.dbf
printing stored script: Memory Script
Alter clone database open resetlogs;
executing script: Memory Script
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 06/08/2009 23:17:38
RMAN-03015: error occurred in stored script Memory Script
RMAN-06136: ORACLE error from auxiliary database: ORA-00344: unable to re-create online log '/db/app/oracle/product/9.2.0.5/dbs/ /db
/redolog.001/catalog1/catalog1_log1.rdo'
ORA-27040: skgfrcre: create error, unable to create file
HP-UX Error: 2: No such file or directory
RMAN>
I tried to shutdown and open with resetlogs , it still error
oracle@dimondz{auxbr}/db/app/oracle/dba/sql> sqlplus '/as sysdba'
SQL*Plus: Release 9.2.0.5.0 - Production on Mon Jun 8 23:27:05 2009
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
Connected to:
Oracle9i Enterprise Edition Release 9.2.0.5.0 - 64bit Production
With the Partitioning option
JServer Release 9.2.0.5.0 - Production
SQL> shutdown immediate;
ORA-01109: database not open
Database dismounted.
ORACLE instance shut down.
SQL> startup mount;
ORACLE instance started.
Total System Global Area 219115512 bytes
Fixed Size 737272 bytes
Variable Size 83886080 bytes
Database Buffers 134217728 bytes
Redo Buffers 274432 bytes
Database mounted.
SQL> recover database until cancel using backup controlfile;
ORA-00279: change 229907626 generated at 06/06/2009 11:58:09 needed for thread
1
ORA-00289: suggestion : /oradump/oradata/catlog/arch/catlog-1814470384_1_5.arc
ORA-00280: change 229907626 for thread 1 is in sequence #5
Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
CANCEL
Media recovery cancelled.
SQL> alter database open resetlogs;
alter database open resetlogs
ERROR at line 1:
ORA-00344: unable to re-create online log '/db/app/oracle/product/9.2.0.5/dbs/
/db/redolog.001/catalog1/catalog1_log1.rdo'
ORA-27040: skgfrcre: create error, unable to create file
HP-UX Error: 2: No such file or directory
SQL>
Thanks, Your help and guide will appreciated very much.Hello,
The directory for the creation of the logfiles does not exist, from the error:
RMAN-06136: ORACLE error from auxiliary database: ORA-00344: unable to re-create online log '/db/app/oracle/product/9.2.0.5/dbs/ /db
/redolog.001/catalog1/catalog1_log1.rdo'
ORA-27040: skgfrcre: create error, unable to create file
HP-UX Error: 2: No such file or directoryI.e., there is no such directory as *'/db/app/oracle/product/9.2.0.5/dbs/ /db/redolog.001/catalog1/catalog1_log1.rdo'*
Your db_recovery_file_dest parameter may be set here, therefore change this:
'/db/redolog.001/catalog1/catalog1_log1.rdo' size 5m,
' /db/redolog.003/catalog1/catalog1_log2.rdo' size 5m,
' /db/redolog.002/catalog1/catalog1_log3.rdo' size 5m;To this:
'catalog1_log1.rdo' size 5m,
'catalog1_log2.rdo' size 5m,
'catalog1_log3.rdo' size 5m;And try again. -
Error is in example "How to Create Online and Offline Forms in Web Dynpro"
Hi,
I am developing " How to Create Online and Offline Forms in Web Dynpro " in nwds 7.0. This is standard example which is available at sdn. but when i run it gives me error like "
Failed to process request. Please contact your system administrator.
[Hide]
Error Summary
While processing the current request, an exception occured which could not be handled by the application or the framework.
If the information contained on this page doesn't help you to find and correct the cause of the problem, please contact your system administrator. To facilitate analysis of the problem, keep a copy of this error page. Hint: Most browsers allow to select all content, copy it and then paste it into an empty document (e.g. email or simple text file).
Root Cause
The initial exception that caused the request to fail, was:
java.lang.NullPointerException
at com.travelrequestapp.TravelRequestComView.wdDoInit(TravelRequestComView.java:97)
at com.travelrequestapp.wdp.InternalTravelRequestComView.wdDoInit(InternalTravelRequestComView.java:133)
at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.doInit(DelegatingView.java:61)
at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:215)
at com.sap.tc.webdynpro.progmodel.view.View.initController(View.java:445)
... 34 more
See full exception chain for details.
System Environment
Client
Web Dynpro Client Type HTML Client
User agent Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)
Version null
DOM version null
Client Type msie6
Client Type Profile ie6
ActiveX enabled
Cookies enabled
Frames enabled
Java Applets enabled
JavaScript enabled
Tables enabled
VB Script enabled
Server
Web Dynpro Runtime Vendor: SAP, build ID: 7.0009.20060804145649.0000 (release=645_VAL_REL, buildtime=2006-08-26:14:41:58[UTC], changelist=413534, host=pwdfm101), build date: Thu Feb 15 10:23:57 IST 2007
J2EE Engine 7.00 patchlevel
Java VM Java HotSpot(TM) Server VM, version:1.4.2_13-b06, vendor: Sun Microsystems Inc.
Operating system Windows 2003, version: 5.2, architecture: x86
Session & Other
Session Locale en_US
Time of Failure Mon Oct 29 12:13:24 IST 2007 (Java Time: 1193640204484)
Web Dynpro Code Generation Infos
local/TravelRequest
SapDictionaryGenerationCore 7.0006.20051128142640.0000 (release=645_VAL_REL, buildtime=2006-01-14:14:59:42[UTC], changelist=378068, host=PWDFM101.wdf.sap.corp)
SapDictionaryGenerationTemplates (unknown)
SapGenerationFrameworkCore 7.0006.20050713144242.0000 (release=645_VAL_REL, buildtime=2006-01-14:14:48:59[UTC], changelist=357697, host=PWDFM101.wdf.sap.corp)
SapIdeWebDynproCheckLayer 7.0006.20051128151834.0000 (release=645_VAL_REL, buildtime=2006-01-14:15:05:10[UTC], changelist=378108, host=PWDFM101.wdf.sap.corp)
SapMetamodelCommon 7.0006.20050929162929.0000 (release=645_VAL_REL, buildtime=2006-01-14:14:49:45[UTC], changelist=369752, host=PWDFM101.wdf.sap.corp)
SapMetamodelCore 7.0006.20050929162929.0000 (release=645_VAL_REL, buildtime=2006-01-14:14:49:38[UTC], changelist=369752, host=PWDFM101.wdf.sap.corp)
SapMetamodelDictionary 7.0006.20051128142655.0000 (release=645_VAL_REL, buildtime=2006-01-14:14:57:39[UTC], changelist=378069, host=PWDFM101.wdf.sap.corp)
SapMetamodelWebDynpro 7.0006.20051128151854.0000 (release=645_VAL_REL, buildtime=2006-01-14:15:02:09[UTC], changelist=378109, host=PWDFM101.wdf.sap.corp)
SapWebDynproGenerationCTemplates 7.0006.20060111154644.0000 (release=645_VAL_REL, buildtime=2006-01-14:15:18:33[UTC], changelist=384368, host=pwdfm101)
SapWebDynproGenerationCore 7.0006.20051128151834.0000 (release=645_VAL_REL, buildtime=2006-01-14:15:05:21[UTC], changelist=378108, host=PWDFM101.wdf.sap.corp)
SapWebDynproGenerationTemplates 7.0006.20060111154644.0000 (release=645_VAL_REL, buildtime=2006-01-14:15:18:33[UTC], changelist=384368, host=pwdfm101)
sap.com/tcwddispwda
No information available null
sap.com/tcwdcorecomp
No information available null
Detailed Error Information
Detailed Exception Chain
java.lang.NullPointerException
at com.travelrequestapp.TravelRequestComView.wdDoInit(TravelRequestComView.java:97)
at com.travelrequestapp.wdp.InternalTravelRequestComView.wdDoInit(InternalTravelRequestComView.java:133)
at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.doInit(DelegatingView.java:61)
at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:215)
at com.sap.tc.webdynpro.progmodel.view.View.initController(View.java:445)
at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:709)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.bindRoot(ViewManager.java:579)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.makeVisible(ViewManager.java:793)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.performNavigation(ViewManager.java:296)
at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.navigate(ClientApplication.java:767)
at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.navigate(ClientComponent.java:873)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doNavigation(WindowPhaseModel.java:498)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:144)
at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)
at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)
at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:299)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:711)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:665)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:232)
at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:152)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:53)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
So please help me to correct this error .....
Help will be rewarded.
Regards,
Gurprit BhatiaHi Gurprit,
A null value is being passed at runtime. Make sure that you enter values when filling in the form.
Also check for the cardinality of the nodes being used. You can also initiliaze your value attributes as follows:
In wdDoInit() method:
wdContext.currentNodeAElement.setValueA("");
Context is as follows:
RootNode
|____NodeA
|_____ValueA
Hope it helps. -
How to create the log file in remote system using log4j.
Hi,
How to create the log file in remote system using log4j. please give me a sample code or related links.The below example i used for create the log file in remote system but it return the below exception.Is there any authandication parameter for accessing the remote path? Please help.
public class Logging
Logger log=null;
FileAppender fileapp=null;
public Logging(String classname)
try
log = Logger.getLogger(classname);
String path=" [\\192.168.0.14\\c$\\LOG\\d9\\May_08_2008_log.txt|file://\\192.168.0.14\\c$\\LOG\\d9\\May_08_2008_log.txt]";
fileapp = new FileAppender(new PatternLayout("%r [%t] %-5p %c %x - %m%n"),path, true);
log.addAppender(fileapp);
log.info("Logger initilized");
}catch(Exception ex)
ex.printStackTrace();
java.io.FileNotFoundException: \\192.168.0.14\c$\LOG\d9\May_08_2008_log.txt (The network path was not found)
at java.io.FileOutputStream.openAppend(Native Method)
at java.io.FileOutputStream.<init>(Unknown Source)
at java.io.FileOutputStream.<init>(Unknown Source)
at org.apache.log4j.FileAppender.setFile(FileAppender.java:290)
at org.apache.log4j.FileAppender.<init>(FileAppender.java:109)
at annwyn.logger.BioCapLogger.<init>(Logging.java:23)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Please help.
Thanks in advance.
Saravanan.KSorry path is missing for the above request.
path="\\192.168.0.14\c$\LOG\d9\May_08_2008_log.txt ";
please help.
Saravanan.K -
How to delete archive log on standby site
hi
i configured dataguard on 10g. could anyone suggest how to delete archived log on standby site..Hi,
There is no automatic feature out-of-the-box but you have the following views:
1) Shows archive logs transfered:
select sequence#, first_time, next_time from v$archived_log order by sequence#;
2) Shows archive logs applied:
select sequence#, archived, applied from v$archived_log order by sequence#;
If you see your archivelogs applied you can safely remove archive log files from your disk. It is your decision if you keep or delete them completely. -
How to create application log in SAP
According to my reqirement,I need to display messages in the application log whenever some updation is done.
How to do create application log and display messages in the application log.Hello Smriti
If you have interface IF_RECA_MESSAGE_LIST available on your system then I highly recommend to use as message collector.
When you create an instance of the interface (CF_RECA_MESSAGE_LIST=>CREATE) you can provide an application log object.
The collected messages can easily be saved as log.
For an example have a look at my Wiki posting [Message Handling - Finding the Needle in the Haystack|https://wiki.sdn.sap.com/wiki/display/profile/2007/07/09/MessageHandling-FindingtheNeedleintheHaystack]
Regards
Uwe -
How to create different log files for different users in log4j
I want to create different logs for different users, using different appenders for each user so that logs are created in his file only.
Confusion:How to direct them to different files in my logger classHi Avi,
First of all I have given a first reading to log4j and I think there will some more easy way of logging debugging messages than log4j (If you could provide me a detailed explanation of a servlet,jsp,java bean that uses log4j and how to use log4j then it will be very helpful for me). The other easy ways (if I am not using log4j) to my problem i.e creating different log files for each of web applications deployed in oc4j are
I have created multiple instances of OC4J that are configured to run on different ports and so on each instance I have deployed a single web application . And I started the 2 oc4j instances by transferring thier error/log messages to a file. And the other way is ..
I have download from jakarta site a package called servhelper . This servhelper is a thread that is started in a startup servlet and stopped in the destroy method of that startup servlet. So this thread will automatically capture all the system.out.println's and will print those to a file. I believe that this thread program is synchronized. So in this method I need not run multiple instances of OC4J instead each deployed web application on single instance of oc4j uses the same thread program (ofcourse a copy of thread program is put in each of the deployed web applications directories) to log messages on to different log files.
Can you comment on my above 2 approached to logging debugging messages and a compartive explanation to LOG4J and how to use LOG4J using a simple servlet, simple jsp is appreciated ...
Thanks and Regards,
Ravi. -
How to create db refresh using standby
Hi all,
Please any one tell me how to create clone using standby database .We have a stand by in some other state say x. The test instance which running in stand by place (i.e x) should create with stand by. Usually we copying the PROD backup to stand by server . so it takes some long time. So we would like to create refresh from standby database.So please provide how to do.
Regards
Gobinath.RWelcome to Forum
When ever you post your question mention your database version number
Why don't you search simply in Google for this
http://www.lmgtfy.com/?q=clone+the+database+using+standby+database
Anyhow here i give some sites for you
http://gavinsoorma.com/2012/04/performing-a-database-clone-using-a-data-guard-physical-standby-database/ -
How to create separate log files for each deployed web application in oc4j
Hi All,
I am using Windows2000, Oracle9iAS(OC4J). Say I have deployed 3 web applications onto this oc4j server. Then how to create 3 different log files so that I can see the log messages(System.out.println's) of each of these web appliations in a different log file.
Thanks and Regards,
Ravi.Where do the messages printed via ServletContext.log() go? Is this configurable separately by web application? If so, you could at least replace your System.out.println() with sc.log() statements. For exceptions, you could trap them and log them since the log() method takes a throwable as well as a String.
John H. -
How to create a log file for bapi return structure
Hi ppl,
I am using BAPI_PO_CHANGE to mark the delivery of POs as complete after many validations through a classic report now my concern is i have been asked to create a log file which details the errors in the POs which is in the bapi return structure.
I don't know how to do can any one help at the earliest.
Regards,
Bharathy.hi
pls see this thread...
it may help you...
/people/kamalkumar.ramakrishnan/blog/2007/01/10/a-primer-on-using-and-creating-sap-application-log
thx
pavan
*pls mark for helpful answers -
How to create a Log Out on website
I have a secure site created in iweb. How do Icreate the log out, so there not always signed in?
Visitors can do this themselves by resetting their browser and/or deleting cookies.
Delete this one and you'll find yourself signed out of this forum... -
How to create a Log file on Client machine
Hi All,
I am trying to create a log file on my local machine using TEXT_IO.FILE_TYPE in a stored procedure but it is throwing a compiler error as Error(5,10): PLS-00201: identifier 'TEXT_IO.FILE_TYPE' must be declared. I seem it is occuring because of WebUtil and I am using Oracle SQL Developer on my machine.
Is there any way to create log file on local machine.Can anyone help me out, Since three day I am struging to get out from this.
With regards
R e h a nHi,
TEXT_IO.FILE_TYPE Package is used in Oracle Forms. Please Post in the relevant Forum for Questions for these.
Forms
You can Use the UTL_FILE in PL/SQL to create Log Files on the database server directory and Share the directory.
Thanks,
Shankar. -
How to create a LOG IN Account???
Hello friends
I am using Mac Client 10.3.9 and Mac Server 10.3.9
I installed client and want to create 2 accounts:
1 account will login to the server and the second will be administrator
I could not create login account. Could someone show me how to create the LOGIN account?? ThanksDid you install the Client and Server versions on separate partitions or the same partition? I hope not the latter - won't work.
Accessing the server machine is done by using the Finder's Go menu and selecting Connect to Server. Enter the server's afp:// IP address or click on Browse to find it on the network.
To create an admin account on the client shouldn't be necessary since one is created when you install the client. However, use the Accounts preference pane (System Preferences) to create/delete/modify accounts. -
How to create outside Logging file in osb 11g using log4j.jar?
Hi all,
Currently, i am using osb 11g to develop a system. In the system we need to create a log file using log4j.jar library. This sub-program is working in the osb 10g base but fail to work in the osb 11g base. Can anyone give me some advice about this matter? Have anyone created one like this in 11g? Is it successful?Sorry path is missing for the above request.
path="\\192.168.0.14\c$\LOG\d9\May_08_2008_log.txt ";
please help.
Saravanan.K
Maybe you are looking for
-
Photoshop CS5 crashes whenever I try to save a file
Recently, my graphics card stopped working, so I've been forced to use an onboard GPU until I can get the money to buy a new one. The problem though, is that the onboard GPU is VERY old (approximately 6 or so years), and every time I try to save some
-
Audigy 2 ZS Distortion Issues With Vista - See if this solution works for you guys
First of All Creative - It's sad, really sad that you really haven't supported your customers. As such a big maker of excellent products, I'm disappointed to know that you have barely provided driver support to your customers. I've been buying Creati
-
How to see available space in a blank dvd when adding files in finder? It no longer displays at the bottom of the finder window.
-
Hi community I might have stumbled on some issue with a corrupt Photo store. Last week, I ran a scripted update to the client's AD where I updated the thumbnailPhoto and some custom attributes. The result has been HR have been inundated with reque
-
Afaik region function in pixel bender does not work in flash. I use a pixel bender on a masked clip and instead of calculating only the masked area pixel bender renders also invisible / masked areas. Which becomes a problem because I have to mark a s