Regarding RESETLOG and NORESETLOG option while creating a control file
Hi,
I dont understand the need for resetlogs option while creating a controlfile for a db in NOARCHIVELOGMODE. I assume that reset logs clears all the redo log contents.
While taking a cold backup what I did was:
1. Shutdown instance
2. Copy all the files
3. Startup
Now I tried recovering the same database on a new machine (with different path btw.) coz of which i had to create a new control file. My question is: while restoring the database, do I need to create the control file with NORESETLOG or RESETLOG option?
When I tried using the NORESETLOG (NOARCHIVELOG) option I was able to recover the instance without any hassles.
ie
1. STARTUP NOMOUNT
2. CREATE NEW CONTROL FILE USING NORESETLOG (NOARCHIVELOG)
3. RECOVER DATABASE
4. ALTER DATABASE OPEN;
While the same thing with NORESETLOG (NOARCHIVELOG) option:
1. STARTUP NOMOUNT
2. CREATE NEW CONTROL FILE USING RESETLOG (NOARCHIVELOG)
3. RECOVER DATABASE USING BACKUP CONTROLFILE
This step asked me for some archivelogs which were not generated since the db is in NOARCHIVELOG mode.
I wonder why we require the RESETLOG OPTION SINCE A NORMAL SHUTDOWN PERFORMED BEFORE COLD BACKUP would have ensured that there is no redo information left in the redo logs.
Please let me know if I am thinking the incorrect way.
Regards and Thanx in Advance,
Raj
If you had a db running in noarchivelog mode and had to clone the db and rename it, the create controlfile stmt:
create controlfile reuse <db_name> needs to be changed to: create controlfile SET <db_name>, in which case the db can only be opened with resetlogs. Hope this answers your question
Similar Messages
-
Error, while creating a control file
Hi All,
DB Version :- SQL*Plus: Release 10.2.0.3.0
I am in process of carrying out full db refresh from cold backup. I came across with following, while creating a contrl file. strange to see two dbf's has same file_id. Please help me to solve this issue.
==
SQL> @a.sql
CREATE CONTROLFILE SET DATABASE LNRATU2 RESETLOGS NOARCHIVELOG
ERROR at line 1:
ORA-01503: CREATE CONTROLFILE failed
ORA-01167: two files are the same file/group number or the same file
ORA-01110: data file 6: '/data/oracle/LNRATU2/data02/LNRATU2_audits.dbf'
ORA-01110: data file 6: '/data/oracle/LNRATU2/data01/LNRATU2_audits_01.dbf'
===
hare krishnaThanks.. Find below the a.sql contents.
CREATE CONTROLFILE SET DATABASE LNRATU2 RESETLOGS NOARCHIVELOG
MAXLOGFILES 5
MAXLOGMEMBERS 3
MAXDATAFILES 300
MAXINSTANCES 1
MAXLOGHISTORY 58720
LOGFILE
GROUP 2 (
'/data/oracle/LNRATU2/redo01/LNRATU2_redo02a.dbf',
'/data/oracle/LNRATU2/redo02/LNRATU2_redo02b.dbf'
) SIZE 500M,
GROUP 3 (
'/data/oracle/LNRATU2/redo01/LNRATU2_redo03a.dbf',
'/data/oracle/LNRATU2/redo02/LNRATU2_redo03b.dbf'
) SIZE 500M
DATAFILE
'/data/oracle/LNRATU2/data01/LNRATU2_audits_01.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_DATA01_01.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_DATA01_02.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_DATA01_03.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_DATA01_04.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_DATA01_05.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_DATA01_06.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_DATA01_07.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_DATA01_08.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_DATA01_09.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_DATA01_10.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_DATA01_11.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_DATA01_12.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_DATA01_13.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_DATA01_14.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_DATA01_15.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_DATA01_16.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_DATA01_17.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_DATA01_18.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_DATA01_19.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_DATA01_20.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_DATA01_21.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_DATA01_22.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_DATA01_23.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_DATA01_24.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_DATA01_25.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_DATA01_26.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_DATA01_27.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_DATA01_28.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_DATA01_29.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_DATA01_30.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_INDX01_01.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_INDX01_02.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_INDX01_03.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_INDX01_04.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_INDX01_05.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_INDX01_06.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_INDX01_07.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_INDX01_08.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_INDX01_09.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_INDX01_10.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_INDX01_11.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_INDX01_12.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_INDX01_13.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_INDX01_14.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_INDX01_15.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_INDX01_16.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_INDX01_19.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_MCINFO_DATA01_01.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_MCINFO_INDX01_01.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_MCINFO_LOB01_01.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_quest_01.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_RATEOD_LOB01_01.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_RMS_DATA01_01.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_RMS_DATA01_02.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_RMS_INDX01_01.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_RMS_INDX01_02.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_RMS_INDX01_03.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_RMS_LOB01_01.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_sysaux_01.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_system01.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_tools_01.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_UNDOTBS101.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_users_01.dbf',
'/data/oracle/LNRATU2/data02/LNRATU2_audits.dbf',
'/data/oracle/LNRATU2/data02/LNRATU2_DATA01_31.dbf',
'/data/oracle/LNRATU2/data02/LNRATU2_DATA01_32.dbf',
'/data/oracle/LNRATU2/data02/LNRATU2_DATA01_33.dbf',
'/data/oracle/LNRATU2/data02/LNRATU2_DATA01_34.dbf',
'/data/oracle/LNRATU2/data02/LNRATU2_DATA01_35.dbf',
'/data/oracle/LNRATU2/data02/LNRATU2_DATA01_36.dbf',
'/data/oracle/LNRATU2/data02/LNRATU2_DATA01_37.dbf',
'/data/oracle/LNRATU2/data02/LNRATU2_DATA01_38.dbf',
'/data/oracle/LNRATU2/data02/LNRATU2_DATA01_39.dbf',
'/data/oracle/LNRATU2/data02/LNRATU2_DATA01_40.dbf',
'/data/oracle/LNRATU2/data02/LNRATU2_DATA01_41.dbf',
'/data/oracle/LNRATU2/data02/LNRATU2_INDX01_17.dbf',
'/data/oracle/LNRATU2/data02/LNRATU2_INDX01_18.dbf',
'/data/oracle/LNRATU2/data02/LNRATU2_INDX01_20.dbf',
'/data/oracle/LNRATU2/data02/LNRATU2_INDX01_21.dbf',
'/data/oracle/LNRATU2/data02/LNRATU2_INDX01_22.dbf',
'/data/oracle/LNRATU2/data02/LNRATU2_INDX01_23.dbf',
'/data/oracle/LNRATU2/data02/LNRATU2_INDX01_24.dbf',
'/data/oracle/LNRATU2/data02/LNRATU2_INDX01_25.dbf',
'/data/oracle/LNRATU2/data02/LNRATU2_INDX01_26.dbf',
'/data/oracle/LNRATU2/data02/LNRATU2_INDX01_27.dbf',
'/data/oracle/LNRATU2/data02/LNRATU2_INDX01_28.dbf',
'/data/oracle/LNRATU2/data02/LNRATU2_INDX01_29.dbf',
'/data/oracle/LNRATU2/data02/LNRATU2_INDX01_30.dbf',
'/data/oracle/LNRATU2/data02/LNRATU2_INDX01_31.dbf',
'/data/oracle/LNRATU2/data02/LNRATU2_INDX01_32.dbf',
'/data/oracle/LNRATU2/data02/LNRATU2_INDX01_33.dbf',
'/data/oracle/LNRATU2/data02/LNRATU2_INDX01_34.dbf',
'/data/oracle/LNRATU2/data02/LNRATU2_INDX01_35.dbf',
'/data/oracle/LNRATU2/data02/LNRATU2_INDX01_36.dbf',
'/data/oracle/LNRATU2/data02/LNRATU2_INDX01_37.dbf',
'/data/oracle/LNRATU2/data02/LNRATU2_INDX01_38.dbf',
'/data/oracle/LNRATU2/data02/LNRATU2_quest_01.dbf',
'/data/oracle/LNRATU2/data02/LNRATU2_RATEOD_LOB01_02.dbf',
'/data/oracle/LNRATU2/data02/LNRATU2_RMS_DATA01_03.dbf',
'/data/oracle/LNRATU2/data02/LNRATU2_RMS_DATA01_04.dbf',
'/data/oracle/LNRATU2/data02/LNRATU2_RMS_DATA01_05.dbf',
'/data/oracle/LNRATU2/data02/LNRATU2_RMS_INDX01_04.dbf',
'/data/oracle/LNRATU2/data02/LNRATU2_RMS_INDX01_05.dbf',
'/data/oracle/LNRATU2/data02/LNRATU2_RMS_INDX01_06.dbf',
'/data/oracle/LNRATU2/data02/LNRATU2_RMS_INDX01_07.dbf',
'/data/oracle/LNRATU2/data02/LNRATU2_statpack_01.dbf',
'/data/oracle/LNRATU2/data02/LNRATU2_sysaux_01.dbf',
'/data/oracle/LNRATU2/data02/LNRATU2_system01.dbf',
'/data/oracle/LNRATU2/data02/LNRATU2_tools_01.dbf',
'/data/oracle/LNRATU2/data02/LNRATU2_UNDOTBS1_02.dbf',
'/data/oracle/LNRATU2/data02/LNRATU2_users_01.dbf'
CHARACTER SET WE8ISO8859P1
hare krishna -
Hi all, i'm new to Mac book & Xcode. I'm learning and facing problems while creating a new file for Xcode. Before i upgrade the software, i have no issue to create simple steps in apps. After upgrade Xcode to 4.6 version, i'm facing lot's of issue eg.
1) "the identity "iphone developer" doesn't match any valid certificate/ private key pair",
2) can't select the box "with XIB for user interface" if the subclass is "UIViewController"..
Appreciate for any help rendered.Mikko777 wrote:So what is the best?
I wouldn't judge. I've been to Arch for a week, you know? But as said, it's VERY close to it.
What I dislike after a week is makepkg not handling dependencies automatically (which would be overhead, so probably not appropriate).
Mikko777 wrote:Also theres KDEmod for modular kde, dunno if its for 64 bits tho.
Don't actually need that as said ... I see no real benefit of having that other than not beeing a KDE user or having Gentoos useflags.
Mikko777 wrote:PS:You produce a lot of text and welcome smile
Yeah. Wonder why I'm still employed? So do I ... -
ORA-01589: must use RESETLOGS or NORESETLOGS option for database open
Hello,
Yesterday i did a clean install of XE on my Windows 7 64bit laptop. The installation went well. Today when i tried to connect to the database i got ORA-01033 initialization or shutdown in progress.
So i started sqlplus as sysdba and executed
SQL> shutdown abort
ORACLE instance shut down.
SQL> startup
ORACLE instance started.
Total System Global Area 1071333376 bytes
Fixed Size 1388352 bytes
Variable Size 620757184 bytes
Database Buffers 444596224 bytes
Redo Buffers 4591616 bytes
Database mounted.
ORA-01589: must use RESETLOGS or NORESETLOGS option for database open
The alert log is showing the following output
Starting ORACLE instance (normal)
LICENSE_MAX_SESSION = 0
LICENSE_SESSIONS_WARNING = 0
Picked latch-free SCN scheme 2
Using LOG_ARCHIVE_DEST_1 parameter default value as USE_DB_RECOVERY_FILE_DEST
Autotune of undo retention is turned on.
IMODE=BR
ILAT =19
LICENSE_MAX_USERS = 0
SYS auditing is disabled
Starting up:
Oracle Database 11g Express Edition Release 11.2.0.2.0 - Production.
Using parameter settings in server-side pfile C:\ORACLE\APP\ORACLE\PRODUCT\11.2.0\SERVER\DATABASE\INITXE.ORA
System parameters with non-default values:
sessions = 176
spfile = "C:\ORACLE\APP\ORACLE\PRODUCT\11.2.0\SERVER\DBS\SPFILEXE.ORA"
memory_target = 1G
control_files = "C:\ORACLE\APP\ORACLE\ORADATA\XE\CONTROL.DBF"
compatible = "11.2.0.0.0"
db_recovery_file_dest = "C:\oracle\app\oracle\fast_recovery_area"
db_recovery_file_dest_size= 10G
undo_management = "AUTO"
undo_tablespace = "UNDOTBS1"
remote_login_passwordfile= "EXCLUSIVE"
dispatchers = "(PROTOCOL=TCP) (SERVICE=XEXDB)"
shared_servers = 4
job_queue_processes = 4
audit_file_dest = "C:\ORACLE\APP\ORACLE\ADMIN\XE\ADUMP"
db_name = "XE"
open_cursors = 300
diagnostic_dest = "C:\ORACLE\APP\ORACLE"
Wed Sep 07 09:26:50 2011
PMON started with pid=2, OS id=4936
Wed Sep 07 09:26:50 2011
PSP0 started with pid=3, OS id=4756
OER 7451 in Load Indicator : Error Code = OSD-04500: illegal option specified !
Wed Sep 07 09:26:51 2011
VKTM started with pid=4, OS id=5772 at elevated priority
VKTM running at (10)millisec precision with DBRM quantum (100)ms
Wed Sep 07 09:26:51 2011
GEN0 started with pid=5, OS id=5424
Wed Sep 07 09:26:51 2011
DIAG started with pid=6, OS id=5928
Wed Sep 07 09:26:51 2011
DBRM started with pid=7, OS id=4000
Wed Sep 07 09:26:51 2011
DIA0 started with pid=8, OS id=3876
Wed Sep 07 09:26:51 2011
MMAN started with pid=9, OS id=6004
Wed Sep 07 09:26:51 2011
DBW0 started with pid=10, OS id=5252
Wed Sep 07 09:26:51 2011
LGWR started with pid=11, OS id=848
Wed Sep 07 09:26:51 2011
CKPT started with pid=12, OS id=2420
Wed Sep 07 09:26:51 2011
SMON started with pid=13, OS id=2424
Wed Sep 07 09:26:51 2011
RECO started with pid=14, OS id=2396
Wed Sep 07 09:26:51 2011
starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
Wed Sep 07 09:26:51 2011
MMON started with pid=15, OS id=2388
starting up 4 shared server(s) ...
ORACLE_BASE from environment = C:\oracle\app\oracle
Wed Sep 07 09:26:51 2011
ALTER DATABASE MOUNT
Wed Sep 07 09:26:51 2011
MMNL started with pid=16, OS id=1288
Successful mount of redo thread 1, with mount id 2642331547
Database mounted in Exclusive Mode
Lost write protection disabled
Completed: ALTER DATABASE MOUNT
Wed Sep 07 09:26:56 2011
ALTER DATABASE OPEN
Errors in file C:\ORACLE\APP\ORACLE\diag\rdbms\xe\xe\trace\xe_ora_2212.trc:
ORA-01589: must use RESETLOGS or NORESETLOGS option for database open
ORA-1589 signalled during: ALTER DATABASE OPEN...
Wed Sep 07 09:41:54 2011
db_recovery_file_dest_size of 10240 MB is 0.98% used. This is a
user-specified limit on the amount of space that will be used by this
database for recovery-related files, and does not reflect the amount of
space available in the underlying filesystem or ASM diskgroup.
Can anybody tell me what to do to solve this problem?
Kind Regards,
D.DennisV wrote:
Starting ORACLE instance (normal)What do you have in the alert.log above that line?
OER 7451 in Load Indicator : Error Code = OSD-04500: illegal option specified !This is one of the symptoms reported earlier when running on unsupported platform (x64) and maybe there's some connection with your issue.
See {thread:id=2278170}.
Errors in file C:\ORACLE\APP\ORACLE\diag\rdbms\xe\xe\trace\xe_ora_2212.trc:What errors does trace file reveal? -
Not able to see the Oracle JRF option while creating a domain.
Hi
I am new to OSM development. I am trying to create a Oracle JRF domain using Fusion Middleware. In the select source template for the domain creation screen I am not getting the Oracle JRF option. I am using Weblogic 11gR1. May I know the reason why I am not getting this option?
Rgds
SamThanks.
I downloaded the latest patch from OTN. But when I tried to install it, it threw an error - INST-07010 : Validation of Oracle Home location failed. The location specified does not exist.
The weblogic version is 10.3.3.
The error is thrown since in the middleware folder there is no folder called oracle_common. To see what happens if I created this folder (oracle_common) manually, the pack installer returned an message stating that the s/w is upto date and no upgrade is needed. I am still not seeing the template source - Oracle JRF.
Questions:
1. How is the folder oracle_common created?
2. If the s/w is upto date then why I am not seeing the Oracle JRF option while creating the domain?
Rgds
Sam
Edited by: 827861 on Jan 13, 2011 11:58 PM -
HT2534 i am not getting "none" option while creating an apple id without using credit card.
i am not getting "none" option while creating an apple id without using credit card.
To get the none option, sign out of anything apple you're signed into. Go to the app store and try to download a free app, any free app. Instead of signing in, take the option to to make a new apple ID. Then go through the steps to make the ID and you'll see the 'none' option.
-
i m not getting the none option while creating apple id without credit card...i m using iphone 4s
( Use a computer and pay Particular Attention to Step 3...)
Create a New Apple ID without a Credit Card... http://support.apple.com/kb/ht2534 -
Resrtict - copy from option while creating Production order
Dear all,
I want to know how to Block the "copy from" option while creating Production order(CO01).
Regs.
S.RDear Ramesh,
You can do this Via SHD0
Just check the below link
[Regarding Backflushing(MFBF) fields making display;
Regards
kumar -
Changes in date format while creating/downloading the file
Hi All,
Can any one let me know how does the system determines which date format should it apply while creating/downloading the file.
Issue :
When I create/download the file generated by report RTXWCF02 using unix level acess the Date format of a field in file is DD.MM.YYYY where as in user profile i can see its in MM/DD/YYYY.
I dont understand how system determines the date format and How we can change it. Please suggest.
Regards,
Ravi KasnaleI would suggest you to use ALV_XXL_CALL if your want to keep your data formats intact.
like this - CALL FUNCTION 'ALV_XXL_CALL'
EXPORTING
i_tabname = 'T_GRID' " Name of your internal table
it_fieldcat = t_fcatk[] "Your LAV grids catalog.
TABLES
it_outtab = t_grid "Internal table itself
EXCEPTIONS
fatal_error = 1
no_display_possible = 2
OTHERS = 3.
IF sy-subrc <> 0.
MESSAGE e806(bk).
ENDIF.
hope it helps. -
Logminer error while creating a dictionary file
Hi ,
I am working on logminer.
i got the following error while creating a dictionary file :--
please help me out.
SQL> show parameter utl_
NAME TYPE VALUE
utl_file_dir string $ORACLE_BASE/utl_file/cecms
SQL> execute dbms_logmnr_d.build(dictionary_filename => 'dictionary.ora',dictionary_location => '/u00/oracle/utl_file/cecms');
BEGIN dbms_logmnr_d.build(dictionary_filename => 'dictionary.ora',dictionary_location => '/u00/oracle/utl_file/cecms'); END;
ERROR at line 1:
ORA-01336: specified dictionary file cannot be opened
ORA-29280: invalid directory path
ORA-06512: at "SYS.DBMS_LOGMNR_D", line 928
ORA-06512: at "SYS.DBMS_LOGMNR_D", line 2052
ORA-06512: at line 1
AsifORA-01336: specified dictionary file cannot be opened
Cause: The dictionary file or directory does not exist or is inaccessible.
Action: Make sure that the dictionary file and directory exist and are accessible.
Probably an issue with the rights on the directories.
To confirm the same, try writing a sample procedure with UTL_FILE to create a file at this location and capture the error. It will give you more details about the problem. -
Error while creating an EAR file in 7.1 version
Hi All,
While developing an Adapter module in PI 7.1 version, facing a problem while creating an EAR file.
Using NWDS 7.1 version
1) Have developed the code compatible to 7.1 version changes which is not throwing any error while compilation
2) Have given the jndi info in ejb-j2ee-engine.xml
3) Also entered info in ejb-jar.xml like
<?xml version="1.0" encoding="UTF-8"?>
<ejb-jar xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="ejb-jar_ID"
version="2.1" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/ejb-jar_2_1.xsd">
<description>EJB JAR description</description>
<display-name>EJB JAR</display-name>
<enterprise-beans>
<session>
<ejb-name>EncryptModParam</ejb-name>
<home>com.sap.aii.af.lib.mp.module.ModuleHome</home>
<remote>com.sap.aii.af.lib.mp.module.ModuleRemote</remote>
<local-home> com.sap.aii.af.lib.mp.module.ModuleLocalHome</local-home>
<local>com.sap.aii.af.lib.mp.module.ModuleLocal</local>
<ejb-class>com.abc.encryption.EncryptModParam</ejb-class>
<session-type>Stateless</session-type>
<transaction-type>Container</transaction-type>
</session>
</enterprise-beans>
</ejb-jar>
Then have clicked on Build project. Its throwing the following error
Bean Interfaces: Stateless Bean "Encryption" should have atleast one of the following interface pairs: "local" and "localhome", "home" and "remote" or service endpoint interface
Bean Interfaces: The home interface "com.sap.aii.af.lib.mp.module.ModuleHome" cannot be found in the search path
Bean Interfaces: The local home interface "com.sap.aii.af.lib.mp.module.ModuleLocalHome" cannot be found in the search path
Bean Interfaces: The local interface "com.sap.aii.af.lib.mp.module.ModuleLocal" cannot be found in the search path
Bean Interfaces: The remote interface "com.sap.aii.af.lib.mp.module.ModuleRemote" cannot be found in the search path
Also I have included the below code in the class file
@ejbHome <{com.sap.aii.af.lib.mp.module.ModuleHome}>
@ejbLocal <{com.sap.aii.af.lib.mp.module.ModuleLocal}>
@ejbLocalHome <{com.sap.aii.af.lib.mp.module.ModuleLocalHome}>
@ejbRemote <{com.sap.aii.af.lib.mp.module.ModuleRemote}>
@stateless
Request to give suggestions to resolve the above problem.
Thanks in advance.
GaneshThis is what I was looking for: http://maveninjdeveloper.blogspot.com/2012/04/handle-adf-application-maven-ant.html
It further references:
- http://docs.oracle.com/cd/E24382_01/user.1112/e17455/deploying_apps.htm#BACIIDEJ
- http://javaosdev.blogspot.in/2011/12/ojdeploy-documentation-for-tool.html
The only issue now is that Oracle JDeveloper release 11.1.2.2.0 (version being used) does NOT seem to support Ant while release 11.1.2.1.0 does. This necessitates a further kluge to make things work. The amount of difference between versions of JDeveloper is quite amazing. -
Exception while creating a excel file in BPM 10g
Hi,
We are facing following issue while creating an excel file from BPM.
java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at fuegoblock.net.web.NewJspAjaxController.processMethodInvocation(NewJspAjaxController.java:264) at fuegoblock.net.web.NewJspAjaxController.service(NewJspAjaxController.java:46) at fuego.web.execution.servlet.ServletRedirector$ControllerRedirector.forward(ServletRedirector.java:197) at fuego.web.execution.servlet.ServletRedirector.redirect(ServletRedirector.java:58) at fuego.web.papi.TaskExecutor.processRedirect(TaskExecutor.java:224) at fuego.web.papi.TaskExecutor.execute(TaskExecutor.java:104) at fuego.workspace.servlet.ExecutorServlet.doAction(ExecutorServlet.java:117) at fuego.workspace.servlet.BaseServlet.doPost(BaseServlet.java:229) at fuego.workspace.servlet.BaseServlet.doGet(BaseServlet.java:220) at javax.servlet.http.HttpServlet.service(HttpServlet.java:707) at fuego.workspace.servlet.AuthenticatedServlet.service(AuthenticatedServlet.java:138) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227) at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292) at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at fuego.web.filter.SingleThreadPerSessionFilter.doFilter(SingleThreadPerSessionFilter.java:64) at fuego.web.filter.BaseFilter.doFilter(BaseFilter.java:63) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at fuego.web.filter.CharsetFilter.doFilter(CharsetFilter.java:48) at fuego.web.filter.BaseFilter.doFilter(BaseFilter.java:63) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3592) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121) at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202) at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108) at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201) at weblogic.work.ExecuteThread.run(ExecuteThread.java:173) Caused by: java.lang.NoClassDefFoundError: org/apache/poi/ss/usermodel/Workbook at xobject.Views.ReportingView.exportToExcel(ReportingView.xcdl:9) ... 35 more Caused by: java.lang.ClassNotFoundException: org.apache.poi.ss.usermodel.Workbook at java.net.URLClassLoader$1.run(URLClassLoader.java:202) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at java.lang.ClassLoader.loadClass(ClassLoader.java:248) ... 36 more
There is a JSP file which invokes the method of BPM, which inturn creates a excel file.
In JSP we are calling the method in the following way:
function exportSelectedItemsToExcel(){
var url="<f:invokeUrl var='reportingView' methodName='exportToExcel'/>";
url = url + "&bpmRespContentType=application/vnd.ms-excel";
var windowHandle = window.open(url,'windowName','width=800, height=600, resizable=1, menubar=1');
POI jars are used to create the excel.
Also we recently did the migration and applied a patchset of 10.3.3 on 10.3.2. In the previous verison(10.3.2) it was working perfectly fine. When i am trying to test it on localstudio, it is generating the excel file properly.
Have any one faced any such issues while migration or any other time?Manifests are saved with the .mf file extension. Rename your manifest mainfest.mf.
-
Video Furnace: Failed while creating player controls...
I need some help figuring out how to get Video Furnace to work on my computer. It had run very easily before; I was on campus, and I clicked on the icon, it came up, and played smoothly, but I can't get it to work any longer. It keeps saying: The Audio device is unavailable or busy. Playback will continue without audio. After that message, Another error message pops up saying: Error, Failed while creating player controls. Then the Instream quits.
I used my roommate's computer to access the video I was supposed to watch and ir worked fine on hers; she has the same exact computer as me, and I was in the same room, only a couple of feet away. I was thinking maybe I messed up my audio settings or soemthing? I don't know what to do. Anyone have any suggestions?
Thanks.Kumar
Instead of creating a player and a processor from one datasource you can use javax.media.control.FrameGrabbingControl to grab frames from the video stream. To do this you need the following code
* grabs a frame's buffer from the web cam / device
* @returns A frames buffer
public Buffer grabFrameBuffer ( )
if ( player != null )
FrameGrabbingControl fgc = (FrameGrabbingControl)player.getControl ( "javax.media.control.FrameGrabbingControl" );
if ( fgc != null )
return ( fgc.grabFrame() );
else
System.err.println ("Error : FrameGrabbingControl is null");
return ( null );
else
System.err.println ("Error : Player is null");
return ( null );
* grabs a frame's buffer, as an image, from the web cam / device
* @returns A frames buffer as an image
public Image grabFrameImage ( )
Buffer buffer = grabFrameBuffer();
if ( buffer != null )
// Convert it to an image
BufferToImage btoi = new BufferToImage ( (VideoFormat)buffer.getFormat() );
if ( btoi != null )
Image image = btoi.createImage ( buffer );
if ( image != null )
return ( image );
else
System.err.println ("Error : BufferToImage cannot convert buffer");
return ( null );
else
System.err.println ("Error : cannot create BufferToImage instance");
return ( null );
else
System.out.println ("Error : Buffer grabbed is null");
return ( null );
The first method takes frame grabbing control of your player which you have already created from the datasource of the camera and it grabs a frame, returns it as a buffer, then calls the second methos which converts the buffer to an image.
It is very straight forward and I was kicking myself when I figured you could do it this way - I had been weeks playing around with the player and processor from one datasource.
hope this helps! -
Installed Mac OS X v.10.6.7, and now we cannot create a PDF file
Installed Mac OS X v.10.6.7, and now we cannot create a PDF file using Adobe Acrobat Professional. This has been done on two computers, one an iMac and the other a MacBook Pro. Assistance greatly appreciated.
Yes, Adobe Acrobat X Pro is the same thing as Acrobat X Pro.
Print to PDF is probably the most reliable way to create a PDF file.
File > Create > PDF from File
is shaky. It works with some file types but not with others.
Another issue is creating a multi-page PDF from a scanner. If you neglect to check the box "Prompt for scanning more pages" and, instead, simply try to add a second page, the application crashes. -
I have a question about creating another control file. If I want to create another control file, do I need to put the values/paths of the current control files in the CREATE CONTROLFILE statement?
996403 wrote:
If I am wanting to create a new control file, do you recommend:
1. Use the Create Control file statementWhen to Create New Control Files:
All control files for the database have been permanently damaged/missing and you do not have a control file backup.
You want to change one of the permanent database parameter settings originally specified in the CREATE DATABASE statement.
These settings include the database name and the following parameters: MAXLOGFILES, MAXLOGMEMBERS, MAXLOGHISTORY, MAXDATAFILES, and MAXINSTANCES.
For example, you would change a database name if it conflicted with another database name in a distributed environment,
or you would change the value of MAXLOGFILES if the original setting is too low.
2. Copy an existing control file and then edit the parameter file?i will recommend 2nd (if you have healthy control file) if you want multiplex control files.
Maybe you are looking for
-
SSAS TechNet Guru News: October Winners Announced
All the votes are in! And below are the results for the TechNet Guru Awards, October 2014 !!!! For a full list of winners, see the full blog post, as runners up had to be removed from this post to fit the forum max length restrictions. BizTalk Tech
-
I am having trouble with scaling strokes in Illustrator CC 2014.
I have a barcode I need to scale and I have ste the preferences to "Scale strokes and effects" but it is messing with the barcode? I tried it in the previous version and it works fine.
-
How to declare a field in the selection screen as single value, ranges or multiple values
-
Hi, we are currently running our QA and DEV systems one one host and one sql server 2000.the systems version is 4.6c.we are going to upgrade our systems to ecc6.I would like to know if this configuration (two systems on one host and one DB - <u>not m
-
Parallax with easing from anchor and mouse wheel
Can anyone please point me into a tutorial on how to add mouse wheel easing with a parallax effect? An effect similar to www.boy-coy.com where easing is everywhere - in anchor links, in scrubbing the scrollbar, and even when using the mouse wheel. An