Cloning UnitOfWorkQueryValueHolder omitting instantiation
I am using toplink essential with weaving. I have a class
@Entity
class Target {
@Entity
class Source {
@ManyToOne
Target target;
@ManyToMany
Set<Target> targets;
Assume I load an instance of Source via an EntityManager em
Source s = em.find(Sourcre.class, ...);
Now I want to clone s without loading the instances of Target it refers to via s.target or s.targets
Since I am using weaving, this s will have an UnitOfWorkQueryValueHolder s._toplink_target taking care of lazy initialization of s.target. When cloning s, I have to "clone" this value holder either by using
sClone._toplink_target = new ValueHolder(s._toplink_target.getValue());
or may be by
cClone._toplink_target = s._toplink_target.clone();
I am not sure that the second method would be correct though. The first works. But both methods seem to enforce instantitaion of the original value holder - at least the instance t of Target being referred to by s is loaded into the EntityManager.
Is there a way to clone s without having to load t into the Entity Manager?
I have the same problem with the ManyToMany relation s.targets, which is represented by an IndirectSet. Is there a way to "clone" those indirect sets without having to load the elements referred by them into the EntityManager?
Thanks for any help coming forward, Thomas.
Creating the new ValueHolder() or a new ArraySet() with the old value is probably the best way to clone to a reference or a collection that is lazy. If you are making a deep clone then you may also clone the targets objects and would need to instantiate the relationship anyway.
If you really don't want to instantiate the relationship then it is more involved. Calling clone() on the value holder seems like it would work, what issue did you encounter? To clone an IndirectSet you could create a new IndirectSet(), and call setValueHolder() on the new set with a clone of the existing indirect set's value holder.
Another option would be to create your own ValueHolderWrapper which implements the ValueHolderInterface and takes another ValueHolderInterface and in its getValue() it would call the nested value holder's getValue(), setValue would set its local value.
Similar Messages
-
Error while cloning R12 instance
Hi,
I am trying to clone R12 Production instance to R12 development instance.
And i got the below error.
/d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/clone/jlib/java:/d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/clone/jlib/oui/OraInstaller.jar:/d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/clone/jlib/oui/ewt3.jar:/d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/clone/jlib/oui/share.jar:/d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/clone/jlib/oui/srvm.jar:/d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/clone/jlib/ojmisc.jar oracle.apps.ad.clone.ApplyDBTier -e /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/VIS4_blink4.xml -stage /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/clone -showProgress
APPS Password : Log file located at /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/log/VIS4_blink4/ApplyDBTier_11291440.log
/ 50% completed
RC-50004: Fatal: Error occurred in ApplyDBTier:
StackTrace -
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at oracle.apps.ad.clone.util.CloneProcessor.run(CloneProcessor.java:67)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NoSuchMethodError: oracle.apps.ad.autoconfig.InstantiateFile.writeReport(Ljava/util/Vector;Loracle/apps/ad/util/LogFile;I)V
at oracle.apps.ad.clone.ApplyDatabase.checkAutoConfigErr(ApplyDatabase.java:3034)
at oracle.apps.ad.clone.ApplyDatabase.runAutoConfig(ApplyDatabase.java:2839)
at oracle.apps.ad.clone.ApplyDatabase.doConf(ApplyDatabase.java:489)
at oracle.apps.ad.clone.ApplyDatabase.doApply(ApplyDatabase.java:443)
at oracle.apps.ad.clone.ApplyDatabase.<init>(ApplyDatabase.java:336)
at oracle.apps.ad.clone.ApplyDBTier.<init>(ApplyDBTier.java:101)
... 6 more
ERROR while running Apply...
Tue Nov 29 14:42:27 2011
ERROR: Failed to execute /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/clone/bin/adclone.pl
Please check logfile.
[oravis12@blink4 bin]$ ping blink3
PING blink3.blink.com (192.168.100.178) 56(84) bytes of data.
64 bytes from blink3.blink.com (192.168.100.178): icmp_seq=0 ttl=64 time=1.18 ms64 bytes from blink3.blink.com (192.168.100.178): icmp_seq=1 ttl=64 time=0.168 ms
--- blink3.blink.com ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1000ms
rtt min/avg/max/mdev = 0.168/0.675/1.182/0.507 ms, pipe 2
Can you please help me........
Thanks in advance
Regards,
NikunjThanks Kashif,
Below are the details from my log file. My log file size is very large so i m spiliting it's in 2 part.
Started ApplyDBTier at Tue Nov 29 18:00:08 GMT+05:30 2011
Version:
ApplyDBTier.java : 120.6
ApplyDBTier (prog) -1 true true true...
# Calling ApplyDBTechStack...
Executing runInstallDriver...
Started unzipping files...
Completed runInstallDriver.
Executing home registration for s_db_oh...
instantiate file:
source : /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/template/adouidb.pl
dest : /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/clone/ouicli.pl
backup : /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/clone/ouicli.pl to /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/out/ouicli0.pl
setting permissions: 700
setting ownership: oravis12:dba
instantiate file:
source : /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/template/config_ux.tmp
dest : /d01/oracle/VIS4/db/tech_st/10.2.0/rdbms/lib/config.c
backup : /d01/oracle/VIS4/db/tech_st/10.2.0/rdbms/lib/config.c to /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/out/config1.c
setting permissions: 700
setting ownership: oravis12:dba
instantiate file:
source : /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/template/adlnkoh.sh
dest : /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/clone/adlnkoh.sh
backup : /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/clone/adlnkoh.sh to /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/out/adlnkoh0.sh
setting permissions: 700
setting ownership: oravis12:dba
Executing script in InstantiateFile:
/d01/oracle/VIS4/db/tech_st/10.2.0/perl/bin/perl -I /d01/oracle/VIS4/db/tech_st/10.2.0/perl/lib/5.8.3 -I /d01/oracle/VIS4/db/tech_st/10.2.0/perl/lib/site_perl/5.8.3 -I /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/perl /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/clone/ouicli.pl
script returned:
Beginning OUI CLI cloning for s_db_ohTue Nov 29 18:00:10 2011
/d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/jre/bin/java -classpath /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/java:/d01/oracle/VIS4/db/tech_st/10.2.0/oui/jlib/OraInstaller.jar:/d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/java/xmlparserv2.jar oracle.apps.ad.clone.util.OracleHomeCloner -OUICLI -e /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/VIS4_blink4.xml -nolink -oaVar s_db_oh -homestub db -log /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/log/VIS4_blink4/ohclone.log
NON-COMPLIANT: /d01/oracle/VIS4/db/tech_st/10.2.0/oraInst.loc does not point to an inventory inside the current ORACLE_HOME
Rapid Clone only supports oraInst.loc at that location if its content points to an inventory inside the same ORACLE_HOME
Please make the necessary changes to the following file:
/d01/oracle/VIS4/db/tech_st/10.2.0/oraInst.loc
running OUI CLI home cloning:
/d01/oracle/VIS4/db/tech_st/10.2.0/oui/bin/runInstaller -clone -silent -force -nolink -waitForCompletion -invPtrLoc /d01/oracle/VIS4/db/tech_st/10.2.0/admin/oui/VIS4_blink4/oraInst.loc ORACLE_HOME=/d01/oracle/VIS4/db/tech_st/10.2.0 ORACLE_HOME_NAME=VIS4_DB__d01_oracle_VIS4_db_tech_st_10_2_0 -J-Doracle.installer.noLink=true
Finished OUI CLI cloning for s_db_oh with return code: 0Tue Nov 29 18:01:29 2011
.end std out.
.end err out.
Executing script in InstantiateFile:
/d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/clone/adlnkoh.sh
script returned:
adlnkoh.sh started at Tue Nov 29 18:01:29 IST 2011
Log file located at /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/log/VIS4_blink4/make_11291801.log
Using make file "ins_sysman.mk" for linking SYSMAN utilities...
Using make file "ins_emdb.mk" for linking COLLECTOR utility...
adlnkoh.sh completed sucessfully
.end std out.
.end err out.
instantiate file:
source : /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/template/adouidb.pl
dest : /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/clone/ouicli.pl
backup : /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/clone/ouicli.pl to /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/out/ouicli1.pl
setting permissions: 700
setting ownership: oravis12:dba
instantiate file:
source : /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/template/config_ux.tmp
dest : /d01/oracle/VIS4/db/tech_st/10.2.0/rdbms/lib/config.c
backup : /d01/oracle/VIS4/db/tech_st/10.2.0/rdbms/lib/config.c to /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/out/config2.c
setting permissions: 700
setting ownership: oravis12:dba
instantiate file:
source : /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/template/adlnkoh.sh
dest : /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/clone/adlnkoh.sh
backup : /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/clone/adlnkoh.sh to /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/out/adlnkoh1.sh
setting permissions: 700
setting ownership: oravis12:dba
Completed home registration for s_db_oh
Executing Technology Stack Configuration...
Executing runAutoConfig...
Deleting files of type INSTALL
Checking for file: /d01/oracle/VIS4/db/tech_st/10.2.0/network/admin/VIS4_blink4/sqlnet.ora
Processing driver file: /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/template/addbtmpl.drv
Checking for file: /d01/oracle/VIS4/db/tech_st/10.2.0/dbs/initVIS4.ora
Checking for file: /d01/oracle/VIS4/db/tech_st/10.2.0/network/admin/VIS4_blink4/listener.ora
Checking for file: /d01/oracle/VIS4/db/tech_st/10.2.0/network/admin/VIS4_blink4/tnsnames.ora
Starting CVM in INSTE8_SETUP mode
Using Context file : /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/VIS4_blink4.xml
Attempting to create a back up of the Context file
Created back up file of name :
/d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/out/VIS4_blink4/11291802/VIS4_blink4.xml
===========================================================================
Starting synchronization of file system Context file and its templates with those in the database
Database connection : Failed
OAM Context editing support feature: Unverified
OAM Customization support feature : Unverified
File system template : /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/template/adxdbctx.tmp
Checking for customizations to Context template
Warning: Unable to connect to Database.
If the system is OAM enabled, this may result in loss of customizations.
Looking for custom template at : /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/template/custom/adxdbctx.tmp
Custom template : Not available
Customizations found : None
File system Context file :/d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/VIS4_blink4.xml
Checking the Context file for possible updates from the Database
Warning: Unable to connect to Database.
If the system is OAM enabled, this may result in loss of customizations and the Context files in DataBase and in the file system may be unsynchronized
===========================================================================
Starting Updates of Context file Tue Nov 29 18:02:30 GMT+05:30 2011
found context version : 120.27.12000000.5
available update version : 120.27.12000000.5
No updates to apply
Ending Updates of Context file
===========================================================================
===========================================================================
Starting Context Value Management System at Tue Nov 29 18:02:30 GMT+05:30 2011
Using version 120.8.12000000.4
Options:
Force : no
Contextfile : /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/VIS4_blink4.xml
Templatefile : /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/template/adxdbctx.tmp
ValueUpdateFile : /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/template/adcvmdb.xml
Verifying value management system requirements:
ContextFile : VALID
Template File : VALID
ValueUpdateFile : VALID
Parsing the ValueUpdateFile
[ s_contextfile ]
Action : seed
Change reason : Setting the location to what has been specified by user
New value : /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/VIS4_blink4.xml
[ s_tools_oranls ]
Action : translate
WARNING : Variable missing - skipping
===========================================================================
[ Config tool : /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/bin/adgentns.pl ]
Command : /d01/oracle/VIS4/db/tech_st/10.2.0/perl/bin/perl -I /d01/oracle/VIS4/db/tech_st/10.2.0/perl/lib/5.8.3 -I /d01/oracle/VIS4/db/tech_st/10.2.0/perl/lib/site_perl/5.8.3 -I /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/perl /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/bin/adgentns.pl PASSWORD contextfile=/d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/VIS4_blink4.xml logdir=/d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/log/VIS4_blink4
Action : execute
SCRIPT RETURNED:
Generate Tns Names
Classpath : :/d01/oracle/VIS4/db/tech_st/10.2.0/jdbc/lib/ojdbc14.jar:/d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/java/xmlparserv2.jar:/d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/java:/d01/oracle/VIS4/db/tech_st/10.2.0/jlib/netcfg.jar:/d01/oracle/VIS4/db/tech_st/10.2.0/jlib/ldapjclnt10.jar
Loading ORACLE_HOME environment from /d01/oracle/VIS4/db/tech_st/10.2.0
Logfile: /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/log/VIS4_blink4/NetServiceHandler.log
Error generating tnsnames.ora from the database, temperory tnsnames.ora will be generated using templates
Instantiating templates
tnsnames.ora instantiated
listener.ora instantiated
adgentns.pl exiting with status 25600
ERRORCODE = 25600 ERRORCODE_END
.end std out.
.end err out.
Result : FAILED
===========================================================================
Ending Context Value Management System.
===========================================================================
===========================================================================
No uploading of Context file and its templates to database. Database conection failed
===========================================================================
Finished running CVM.....
Processing DriverFile = /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/template/addbtmpl.drv
AutoConfig Profile Phase
Running Instantiation Drivers for AppsUtil
instantiate file:
source : /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/template/ons_config_db.tmp
dest : /d01/oracle/VIS4/db/tech_st/10.2.0/opmn/conf/ons.config
backup : /d01/oracle/VIS4/db/tech_st/10.2.0/opmn/conf/ons.config to /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/out/VIS4_blink4/11291802/ons.config
setting permissions: 644
setting ownership: oravis12:dba
Creation of Directory - /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/scripts/VIS4_blink4 Succeeded.
instantiate file:
source : /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/template/adexecsql.pl
dest : /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/scripts/VIS4_blink4/adexecsql.pl
backup : /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/scripts/VIS4_blink4/adexecsql.pl to /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/out/VIS4_blink4/11291802/adexecsql.pl
setting permissions: 700
setting ownership: oravis12:dba
instantiate file:
source : /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/template/adstopdb.sql
dest : /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/scripts/VIS4_blink4/adstopdb.sql
backup : /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/scripts/VIS4_blink4/adstopdb.sql to /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/out/VIS4_blink4/11291802/adstopdb.sql
setting permissions: 600
setting ownership: oravis12:dba
instantiate file:
source : /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/template/adstrtdb.sql
dest : /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/scripts/VIS4_blink4/adstrtdb.sql
backup : /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/scripts/VIS4_blink4/adstrtdb.sql to /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/out/VIS4_blink4/11291802/adstrtdb.sql
setting permissions: 600
setting ownership: oravis12:dba
Creation of Directory - /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/install/VIS4_blink4 Succeeded.
instantiate file:
source : /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/template/addbccnv.sql
dest : /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/install/VIS4_blink4/addbccnv.sql
backup : /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/install/VIS4_blink4/addbccnv.sql to /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/out/VIS4_blink4/11291802/addbccnv.sql
setting permissions: 600
setting ownership: oravis12:dba
instantiate file:
source : /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/template/adcrobj.sql
dest : /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/install/VIS4_blink4/adcrobj.sql
backup : /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/install/VIS4_blink4/adcrobj.sql to /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/out/VIS4_blink4/11291802/adcrobj.sql
setting permissions: 700
setting ownership: oravis12:dba
instantiate file:
source : /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/template/adchknls.pl
dest : /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/scripts/VIS4_blink4/adchknls.pl
backup : /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/scripts/VIS4_blink4/adchknls.pl to /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/out/VIS4_blink4/11291802/adchknls.pl
setting permissions: 700
setting ownership: oravis12:dba
instantiate file:
source : /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/template/ad8idbux.env
dest : /d01/oracle/VIS4/db/tech_st/10.2.0/VIS4_blink4.env
backup : /d01/oracle/VIS4/db/tech_st/10.2.0/VIS4_blink4.env to /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/out/VIS4_blink4/11291802/VIS4_blink4.env
setting permissions: 644
setting ownership: oravis12:dba
instantiate file:
source : /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/template/adupdlib_ux.sql
dest : /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/install/VIS4_blink4/adupdlib.sql
backup : /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/install/VIS4_blink4/adupdlib.sql to /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/out/VIS4_blink4/11291802/adupdlib.sql
setting permissions: 600
setting ownership: oravis12:dba
instantiate file:
source : /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/template/adsvdb.sh
dest : /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/install/VIS4_blink4/adsvdb.sh
backup : /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/install/VIS4_blink4/adsvdb.sh to /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/out/VIS4_blink4/11291802/adsvdb.sh
setting permissions: 700
setting ownership: oravis12:dba
instantiate file:
source : /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/template/adsvdlsn.sh
dest : /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/install/VIS4_blink4/adsvdlsn.sh
backup : /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/install/VIS4_blink4/adsvdlsn.sh to /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/out/VIS4_blink4/11291802/adsvdlsn.sh
setting permissions: 700
setting ownership: oravis12:dba
instantiate file:
source : /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/template/adsvdcnv.sh
dest : /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/install/VIS4_blink4/adsvdcnv.sh
backup : /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/install/VIS4_blink4/adsvdcnv.sh to /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/out/VIS4_blink4/11291802/adsvdcnv.sh
setting permissions: 700
setting ownership: oravis12:dba
instantiate file:
source : /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/template/addbprf.sh
dest : /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/install/VIS4_blink4/addbprf.sh
backup : /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/install/VIS4_blink4/addbprf.sh to /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/out/VIS4_blink4/11291802/addbprf.sh
setting permissions: 700
setting ownership: oravis12:dba
instantiate file:
source : /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/template/addbprf.sql
dest : /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/install/VIS4_blink4/addbprf.sql
backup : /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/install/VIS4_blink4/addbprf.sql to /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/out/VIS4_blink4/11291802/addbprf.sql
setting permissions: 600
setting ownership: oravis12:dba
instantiate file:
source : /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/template/afdbprf.sh
dest : /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/install/VIS4_blink4/afdbprf.sh
backup : /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/install/VIS4_blink4/afdbprf.sh to /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/out/VIS4_blink4/11291802/afdbprf.sh
setting permissions: 700
setting ownership: oravis12:dba
instantiate file:
source : /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/template/afdbprf.sql
dest : /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/install/VIS4_blink4/afdbprf.sql
backup : /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/install/VIS4_blink4/afdbprf.sql to /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/out/VIS4_blink4/11291802/afdbprf.sql
setting permissions: 600
setting ownership: oravis12:dba
instantiate file:
source : /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/template/addbctl.sh
dest : /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/scripts/VIS4_blink4/addbctl.sh
backup : /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/scripts/VIS4_blink4/addbctl.sh to /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/out/VIS4_blink4/11291802/addbctl.sh
setting permissions: 700
setting ownership: oravis12:dba
instantiate file:
source : /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/template/addlnctl.sh
dest : /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/scripts/VIS4_blink4/addlnctl.sh
backup : /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/scripts/VIS4_blink4/addlnctl.sh to /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/out/VIS4_blink4/11291802/addlnctl.sh
setting permissions: 700
setting ownership: oravis12:dba
instantiate file:
source : /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/template/adlsnodes_ux.sh
dest : /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/scripts/VIS4_blink4/adlsnodes.sh
backup : /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/scripts/VIS4_blink4/adlsnodes.sh to /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/out/VIS4_blink4/11291802/adlsnodes.sh
setting permissions: 700
setting ownership: oravis12:dba
instantiate file:
source : /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/template/adcrobj.sh
dest : /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/install/VIS4_blink4/adcrobj.sh
backup : /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/install/VIS4_blink4/adcrobj.sh to /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/out/VIS4_blink4/11291802/adcrobj.sh
setting permissions: 700
setting ownership: oravis12:dba
instantiate file:
source : /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/template/txkConfigDbOcm.pl
dest : /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/install/VIS4_blink4/txkConfigDbOcm.pl
backup : /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/install/VIS4_blink4/txkConfigDbOcm.pl to /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/out/VIS4_blink4/11291802/txkConfigDbOcm.pl
setting permissions: 700
setting ownership: oravis12:dba
File /d01/oracle/VIS4/db/tech_st/10.2.0/dbs/initVIS4.ora of type INSTALL does not exist, will be instantiated in the current pass
instantiate file:
source : /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/template/afinit_db102.ora
dest : /d01/oracle/VIS4/db/tech_st/10.2.0/dbs/initVIS4.ora
backup : /d01/oracle/VIS4/db/tech_st/10.2.0/dbs/initVIS4.ora to /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/out/VIS4_blink4/11291802/initVIS4.ora
setting ownership: oravis12:dba
File /d01/oracle/VIS4/db/tech_st/10.2.0/network/admin/VIS4_blink4/listener.ora of type INSTALL already exists, this file will not be instantiated.
File /d01/oracle/VIS4/db/tech_st/10.2.0/network/admin/VIS4_blink4/tnsnames.ora of type INSTALL already exists, this file will not be instantiated.
instantiate file:
source : /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/template/config_ux.tmp
dest : /d01/oracle/VIS4/db/tech_st/10.2.0/rdbms/lib/config.c
backup : /d01/oracle/VIS4/db/tech_st/10.2.0/rdbms/lib/config.c to /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/out/VIS4_blink4/11291802/config.c
setting ownership: oravis12:dba
instantiate file:
source : /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/template/adautocfg_ux.sh
dest : /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/scripts/VIS4_blink4/adautocfg.sh
backup : /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/scripts/VIS4_blink4/adautocfg.sh to /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/out/VIS4_blink4/11291802/adautocfg.sh
setting permissions: 700
setting ownership: oravis12:dba
instantiate file:
source : /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/template/adlicnse.sql
dest : /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/install/VIS4_blink4/adlicnse.sql
backup : /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/install/VIS4_blink4/adlicnse.sql to /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/out/VIS4_blink4/11291802/adlicnse.sql
setting permissions: 600
setting ownership: oravis12:dba
instantiate file:
source : /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/template/adclobconv.sql
dest : /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/install/VIS4_blink4/adclobconv.sql
backup : /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/install/VIS4_blink4/adclobconv.sql to /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/out/VIS4_blink4/11291802/adclobconv.sql
setting permissions: 600
setting ownership: oravis12:dba
instantiate file:
source : /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/template/adclobtmp.sql
dest : /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/install/VIS4_blink4/adclobtmp.sql
backup : /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/install/VIS4_blink4/adclobtmp.sql to /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/out/VIS4_blink4/11291802/adclobtmp.sql
setting permissions: 600
setting ownership: oravis12:dba
instantiate file:
source : /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/template/adpreclone.pl
dest : /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/scripts/VIS4_blink4/adpreclone.pl
backup : /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/scripts/VIS4_blink4/adpreclone.pl to /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/out/VIS4_blink4/11291802/adpreclone.pl
setting permissions: 700
setting ownership: oravis12:dba
instantiate file:
source : /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/template/adcrdb.sh
dest : /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/install/VIS4_blink4/adcrdb.sh
backup : /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/install/VIS4_blink4/adcrdb.sh to /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/out/VIS4_blink4/11291802/adcrdb.sh
setting permissions: 700
setting ownership: oravis12:dba
instantiate file:
source : /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/template/addbupdgsm.sql
dest : /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/install/VIS4_blink4/addbupdgsm.sql
backup : /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/install/VIS4_blink4/addbupdgsm.sql to /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/out/VIS4_blink4/11291802/addbupdgsm.sql
setting permissions: 600
setting ownership: oravis12:dba
instantiate file:
source : /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/template/adlnkoh.sh
dest : /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/install/adlnkoh.sh
backup : /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/install/adlnkoh.sh to /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/out/VIS4_blink4/11291802/adlnkoh.sh
setting permissions: 700
setting ownership: oravis12:dba
instantiate file:
source : /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/template/adcrdbrdlg.sh
dest : /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/install/VIS4_blink4/adcrdbrdlg.sh
backup : /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/install/VIS4_blink4/adcrdbrdlg.sh to /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/out/VIS4_blink4/11291802/adcrdbrdlg.sh
setting permissions: 700
setting ownership: oravis12:dba
instantiate file:
source : /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/template/afmkinit.sh
dest : /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/install/VIS4_blink4/afmkinit.sh
backup : /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/install/VIS4_blink4/afmkinit.sh to /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/out/VIS4_blink4/11291802/afmkinit.sh
setting permissions: 700
setting ownership: oravis12:dba
instantiate file:
source : /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/template/adcmclean.sql
dest : /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/install/VIS4_blink4/adcmclean.sql
backup : /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/install/VIS4_blink4/adcmclean.sql to /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/out/VIS4_blink4/11291802/adcmclean.sql
setting permissions: 600
setting ownership: oravis12:dba
instantiate file:
source : /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/template/adcctclean.sql
dest : /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/install/VIS4_blink4/adcctclean.sql
backup : /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/install/VIS4_blink4/adcctclean.sql to /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/out/VIS4_blink4/11291802/adcctclean.sql
setting permissions: 600
setting ownership: oravis12:dba
AutoConfig Setup Phase
Running Setup Process 1 of 2 for AppsUtil
Executing script in InstantiateFile:
/d01/oracle/VIS4/db/tech_st/10.2.0/perl/bin/perl -I /d01/oracle/VIS4/db/tech_st/10.2.0/perl/lib/5.8.3 -I /d01/oracle/VIS4/db/tech_st/10.2.0/perl/lib/site_perl/5.8.3 -I /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/perl /d01/oracle/VIS4/db/tech_st/10.2.0/appsutil/scripts/VIS4_blink4/adchknls.pl -
Hi All,
I am cloning EBS R12 using rapid clone, but I hit error on the database part.
ADX Database Utility
getConnection() -->
sDbHost : apps1
sDbDomain : abc.priv.us
sDbPort : 1533
sDbSid : CLONE
sDbUser : apps
Trying to connect using SID...
getConnectionUsingSID() -->
JDBC URL: jdbc:oracle:thin:@apps1.abc.priv.us:1533:CLONE
Exception occurred: java.sql.SQLRecoverableException: ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux-x86_64 Error: 2: No such file or directory
Trying to connect using SID as ServiceName
getConnectionUsingServiceName() -->
JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=apps1.abc.priv.us)(PORT=1533))(CONNECT_DATA=(SERVICE_NAME=CLONE)))
Exception occurred: java.sql.SQLRecoverableException: ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux-x86_64 Error: 2: No such file or directory
Trying to connect using SID as ServiceName.DomainName
getConnectionUsingServiceName() -->
JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=apps1.abc.priv.us)(PORT=1533))(CONNECT_DATA=(SERVICE_NAME=CLONE.abc.priv.us)))
Exception occurred: java.sql.SQLException: Listener refused the connection with the following error:
ORA-12514, TNS:listener does not currently know of service requested in connect descriptor
Connection could not be obtained; returning null
-------------------ADX Database Utility Finished---------------Any idea what causes this please...
Thanks a lot,
zxyHi again hussein and all,
I can not execute anything command yet because nothing has been created. Not database and no listener.
What file against /etc/hosts server name should I compare it to? I understand cloning will get the /etc/hosts server name and update automatically the target clone files.
Theres no other error I can see here (complere logs):
Started ApplyDBTier at Thu Mar 14 12:06:16 PHT 2013
Version:
ApplyDBTier.java : 120.6.12010000.2
ApplyDBTier (prog) -1 true true true...
# Calling ApplyDBTechStack...
Executing runInstallDriver...
Started unzipping files...
Completed runInstallDriver.
Executing home registration for s_db_oh...
instantiate file:
source : /u01/oraclone/db/tech_st/11.1.0/appsutil/template/adouidb.pl
dest : /u01/oraclone/db/tech_st/11.1.0/appsutil/clone/ouicli.pl
backup : /u01/oraclone/db/tech_st/11.1.0/appsutil/clone/ouicli.pl to /u01/oraclone/db/tech_st/11.1.0/appsutil/out/ouicli4.pl
setting permissions: 700
setting ownership: oraclone:dba
instantiate file:
source : /u01/oraclone/db/tech_st/11.1.0/appsutil/template/config_ux.tmp
dest : /u01/oraclone/db/tech_st/11.1.0/rdbms/lib/config.c
backup : /u01/oraclone/db/tech_st/11.1.0/rdbms/lib/config.c to /u01/oraclone/db/tech_st/11.1.0/appsutil/out/config5.c
setting permissions: 700
setting ownership: oraclone:dba
instantiate file:
source : /u01/oraclone/db/tech_st/11.1.0/appsutil/template/adlnkoh.sh
dest : /u01/oraclone/db/tech_st/11.1.0/appsutil/clone/adlnkoh.sh
backup : /u01/oraclone/db/tech_st/11.1.0/appsutil/clone/adlnkoh.sh to /u01/oraclone/db/tech_st/11.1.0/appsutil/out/adlnkoh4.sh
setting permissions: 700
setting ownership: oraclone:dba
Executing script in InstantiateFile:
/u01/oraclone/db/tech_st/11.1.0/perl/bin/perl -I /u01/oraclone/db/tech_st/11.1.0/perl/lib/5.8.3 -I /u01/oraclone/db/tech_st/11.1.0/perl/lib/site_perl/5.8.3 -I /u01/oraclone/db/tech_st/11.1.0/appsutil/perl /u01/oraclone/db/tech_st/11.1.0/appsutil/clone/ouicli.pl
script returned:
Beginning OUI CLI cloning for s_db_ohThu Mar 14 12:06:18 2013
/u01/oraclone/db/tech_st/11.1.0/appsutil/jre/bin/java -classpath /u01/oraclone/db/tech_st/11.1.0/appsutil/java:/u01/oraclone/db/tech_st/11.1.0/oui/jlib/OraInstaller.jar:/u01/oraclone/db/tech_st/11.1.0/appsutil/java/xmlparserv2.jar oracle.apps.ad.clone.util.OracleHomeCloner -OUICLI -e /u01/oraclone/db/tech_st/11.1.0/appsutil/CLONE_apps1.xml -nolink -oaVar s_db_oh -homestub db -log /u01/oraclone/db/tech_st/11.1.0/appsutil/log/CLONE_apps1/ohclone.log
running OUI CLI home cloning:
/u01/oraclone/db/tech_st/11.1.0/oui/bin/runInstaller -clone -silent -force -nolink -waitForCompletion -invPtrLoc /u01/oraclone/db/tech_st/11.1.0/admin/oui/CLONE_apps1/oraInst.loc ORACLE_HOME=/u01/oraclone/db/tech_st/11.1.0 ORACLE_BASE=/u01/oraclone/db/tech_st/11.1.0 ORACLE_HOME_NAME=CLONE_DB__u01_oraclone_db_tech_st_11_1_0 -J-Doracle.installer.noLink=true
Finished OUI CLI cloning for s_db_oh with return code: 0Thu Mar 14 12:07:47 2013
.end std out.
.end err out.
Executing script in InstantiateFile:
/u01/oraclone/db/tech_st/11.1.0/appsutil/clone/adlnkoh.sh
script returned:
adlnkoh.sh started at Thu Mar 14 12:07:47 PHT 2013
Log file located at /u01/oraclone/db/tech_st/11.1.0/appsutil/log/CLONE_apps1/make_03141207.log
Using make file "ins_emagent.mk" for linking SYSMAN utilities...
adlnkoh.sh completed sucessfully
.end std out.
.end err out.
instantiate file:
source : /u01/oraclone/db/tech_st/11.1.0/appsutil/template/adouidb.pl
dest : /u01/oraclone/db/tech_st/11.1.0/appsutil/clone/ouicli.pl
backup : /u01/oraclone/db/tech_st/11.1.0/appsutil/clone/ouicli.pl to /u01/oraclone/db/tech_st/11.1.0/appsutil/out/ouicli5.pl
setting permissions: 700
setting ownership: oraclone:dba
instantiate file:
source : /u01/oraclone/db/tech_st/11.1.0/appsutil/template/config_ux.tmp
dest : /u01/oraclone/db/tech_st/11.1.0/rdbms/lib/config.c
backup : /u01/oraclone/db/tech_st/11.1.0/rdbms/lib/config.c to /u01/oraclone/db/tech_st/11.1.0/appsutil/out/config6.c
setting permissions: 700
setting ownership: oraclone:dba
instantiate file:
source : /u01/oraclone/db/tech_st/11.1.0/appsutil/template/adlnkoh.sh
dest : /u01/oraclone/db/tech_st/11.1.0/appsutil/clone/adlnkoh.sh
backup : /u01/oraclone/db/tech_st/11.1.0/appsutil/clone/adlnkoh.sh to /u01/oraclone/db/tech_st/11.1.0/appsutil/out/adlnkoh5.sh
setting permissions: 700
setting ownership: oraclone:dba
Completed home registration for s_db_oh
Executing Technology Stack Configuration...
Executing runAutoConfig...
Deleting files of type INSTALL
Checking for file: /u01/oraclone/db/tech_st/11.1.0/network/admin/CLONE_apps1/sqlnet.ora
Processing driver file: /u01/oraclone/db/tech_st/11.1.0/appsutil/template/addbtmpl.drv
Checking for file: /u01/oraclone/db/tech_st/11.1.0/appsutil/install/CLONE_apps1/txkConfigDbOcm.pl
Checking for file: /u01/oraclone/db/tech_st/11.1.0/dbs/initCLONE.ora
Checking for file: /u01/oraclone/db/tech_st/11.1.0/network/admin/CLONE_apps1/listener.ora
Checking for file: /u01/oraclone/db/tech_st/11.1.0/network/admin/CLONE_apps1/tnsnames.ora
Testing for RAC specific parameters before running autoconfig
No RAC specific parameters were found, running with CVM
Starting CVM in INSTE8_SETUP mode
Using Context file : /u01/oraclone/db/tech_st/11.1.0/appsutil/CLONE_apps1.xml
Attempting to create a back up of the Context file
Created back up file of name :
/u01/oraclone/db/tech_st/11.1.0/appsutil/out/CLONE_apps1/03141209/CLONE_apps1.xml
===========================================================================
Starting synchronization of file system Context file and its templates with those in the database
Database connection : Failed
OAM Context editing support feature: Unverified
OAM Customization support feature : Unverified
File system template : /u01/oraclone/db/tech_st/11.1.0/appsutil/template/adxdbctx.tmp
Checking for customizations to Context template
Warning: Unable to connect to Database.
If the system is OAM enabled, this may result in loss of customizations.
Looking for custom template at : /u01/oraclone/db/tech_st/11.1.0/appsutil/template/custom/adxdbctx.tmp
Custom template : Not available
Customizations found : None
File system Context file :/u01/oraclone/db/tech_st/11.1.0/appsutil/CLONE_apps1.xml
Checking the Context file for possible updates from the Database
Warning: Unable to connect to Database.
If the system is OAM enabled, this may result in loss of customizations and the Context files in DataBase and in the file system may be unsynchronized
===========================================================================
Starting Updates of Context file Thu Mar 14 12:09:22 PHT 2013
found context version : 120.34.12010000.2
available update version : 120.34.12010000.2
No updates to apply
Ending Updates of Context file
===========================================================================
===========================================================================
Starting Context Value Management System at Thu Mar 14 12:09:22 PHT 2013
Using version 120.13
Options:
Force : no
Contextfile : /u01/oraclone/db/tech_st/11.1.0/appsutil/CLONE_apps1.xml
Templatefile : /u01/oraclone/db/tech_st/11.1.0/appsutil/template/adxdbctx.tmp
ValueUpdateFile : /u01/oraclone/db/tech_st/11.1.0/appsutil/template/adcvmdb.xml
Verifying value management system requirements:
ContextFile : VALID
Template File : VALID
ValueUpdateFile : VALID
Parsing the ValueUpdateFile
[ s_contextfile ]
Action : seed
Change reason : Setting the location to what has been specified by user
New value : /u01/oraclone/db/tech_st/11.1.0/appsutil/CLONE_apps1.xml
[ s_tools_oranls ]
Action : translate
WARNING : Variable missing - skipping
[ s_cmanport ]
Action : translate
Change reason : Removing hardcoded value of s_cmanport to use s_dbport instead
Expected value : [1521]
Found value : 1533
New value : 1533
Check Condition : Unconditional
INFO : Customer has the new value already in place - skipping
===========================================================================
[ Config tool : /u01/oraclone/db/tech_st/11.1.0/appsutil/bin/adgentns.pl ]
Command : /u01/oraclone/db/tech_st/11.1.0/perl/bin/perl -I /u01/oraclone/db/tech_st/11.1.0/perl/lib/5.8.3 -I /u01/oraclone/db/tech_st/11.1.0/perl/lib/site_perl/5.8.3 -I /u01/oraclone/db/tech_st/11.1.0/appsutil/perl /u01/oraclone/db/tech_st/11.1.0/appsutil/bin/adgentns.pl PASSWORD contextfile=/u01/oraclone/db/tech_st/11.1.0/appsutil/CLONE_apps1.xml logdir=/u01/oraclone/db/tech_st/11.1.0/appsutil/log/CLONE_apps1
Action : execute
SCRIPT RETURNED:
Generate Tns Names
Classpath : :/u01/oraclone/db/tech_st/11.1.0/jdbc/lib/ojdbc6.jar:/u01/oraclone/db/tech_st/11.1.0/appsutil/java/xmlparserv2.jar:/u01/oraclone/db/tech_st/11.1.0/appsutil/java:/u01/oraclone/db/tech_st/11.1.0/jlib/netcfg.jar:/u01/oraclone/db/tech_st/11.1.0/jlib/ldapjclnt11.jar
Loading ORACLE_HOME environment from /u01/oraclone/db/tech_st/11.1.0
Logfile: /u01/oraclone/db/tech_st/11.1.0/appsutil/log/CLONE_apps1/NetServiceHandler.log
tnsnames.ora instantiated
listener.ora instantiated
adgentns.pl exiting with status 0
ERRORCODE = 0 ERRORCODE_END
.end std out.
.end err out.
Result : SUCCEEDED
===========================================================================
Ending Context Value Management System.
===========================================================================
===========================================================================
No uploading of Context file and its templates to database. Database conection failed
===========================================================================
Finished running CVM.....
Processing DriverFile = /u01/oraclone/db/tech_st/11.1.0/appsutil/template/addbtmpl.drv
AutoConfig Profile Phase
Running Instantiation Drivers for AppsUtil
Creation of Directory - /u01/oraclone/db/tech_st/11.1.0/appsutil/scripts/CLONE_apps1 Succeeded.
instantiate file:
source : /u01/oraclone/db/tech_st/11.1.0/appsutil/template/adexecsql.pl
dest : /u01/oraclone/db/tech_st/11.1.0/appsutil/scripts/CLONE_apps1/adexecsql.pl
backup : /u01/oraclone/db/tech_st/11.1.0/appsutil/scripts/CLONE_apps1/adexecsql.pl to /u01/oraclone/db/tech_st/11.1.0/appsutil/out/CLONE_apps1/03141209/adexecsql.pl
setting permissions: 700
setting ownership: oraclone:dba
instantiate file:
source : /u01/oraclone/db/tech_st/11.1.0/appsutil/template/adstopdb.sql
dest : /u01/oraclone/db/tech_st/11.1.0/appsutil/scripts/CLONE_apps1/adstopdb.sql
backup : /u01/oraclone/db/tech_st/11.1.0/appsutil/scripts/CLONE_apps1/adstopdb.sql to /u01/oraclone/db/tech_st/11.1.0/appsutil/out/CLONE_apps1/03141209/adstopdb.sql
setting permissions: 600
setting ownership: oraclone:dba
instantiate file:
source : /u01/oraclone/db/tech_st/11.1.0/appsutil/template/adstrtdb.sql
dest : /u01/oraclone/db/tech_st/11.1.0/appsutil/scripts/CLONE_apps1/adstrtdb.sql
backup : /u01/oraclone/db/tech_st/11.1.0/appsutil/scripts/CLONE_apps1/adstrtdb.sql to /u01/oraclone/db/tech_st/11.1.0/appsutil/out/CLONE_apps1/03141209/adstrtdb.sql
setting permissions: 600
setting ownership: oraclone:dba
Creation of Directory - /u01/oraclone/db/tech_st/11.1.0/appsutil/install/CLONE_apps1 Succeeded.
instantiate file:
source : /u01/oraclone/db/tech_st/11.1.0/appsutil/template/addbccnv.sql
dest : /u01/oraclone/db/tech_st/11.1.0/appsutil/install/CLONE_apps1/addbccnv.sql
backup : /u01/oraclone/db/tech_st/11.1.0/appsutil/install/CLONE_apps1/addbccnv.sql to /u01/oraclone/db/tech_st/11.1.0/appsutil/out/CLONE_apps1/03141209/addbccnv.sql
setting permissions: 600
setting ownership: oraclone:dba
b.sh -
Geeting autoconfig error while cloning
I am getting this eeror while cloning.Please suggest me
cinohdbd01sec:/prj2/apps/prj2appl/fnd/11.5.0/patch/115/bin $ tail -50 /prj2/output/log/txkSetSOHM_ac.log
[AutoConfig Error Report]
The following report lists errors AutoConfig encountered during each
phase of its execution. Errors are grouped by directory and phase.
The report format is:
<filename> <phase> <return code where appropriate>
[SETUP PHASE]
AutoConfig could not successfully execute the following scripts:
Directory: /prj2/apps/prj2comn/admin/install/prj2_cinohdbd01sec
adgendbc.sh INSTE8_SETUP 1
afcpnode.sh INSTE8_SETUP 1
afgcsreg.sh INSTE8_SETUP 1
[PROFILE PHASE]
AutoConfig could not successfully execute the following scripts:
Directory: /prj2/apps/prj2comn/admin/install/prj2_cinohdbd01sec
adadmprf.sh INSTE8_PRF 1
afadmprf.sh INSTE8_PRF 1
afcpctx.sh INSTE8_PRF 1
afcpgsm.sh INSTE8_PRF 1
ahladmprf.sh INSTE8_PRF 1
aradmprf.sh INSTE8_PRF 1
bisadmprf.sh INSTE8_PRF 1
bisdblrp.sh INSTE8_PRF 1
clnadmprf.sh INSTE8_PRF 1
cnadmprf.sh INSTE8_PRF 1
csdadmprf.sh INSTE8_PRF 1
cseadmprf.sh INSTE8_PRF 1
csfagprf.sh INSTE8_PRF 1
csiadmprf.sh INSTE8_PRF 1
eamadmprf.sh INSTE8_PRF 1
fteadmprf.sh INSTE8_PRF 1
gladmprf.sh INSTE8_PRF 1
jtfadmprf.sh INSTE8_PRF 1
okeadmprf.sh INSTE8_PRF 1
okladmprf.sh INSTE8_PRF 1
ontadmprf.sh INSTE8_PRF 1
paadmprf.sh INSTE8_PRF 1
wipadmprf.sh INSTE8_PRF 1
wshadmprf.sh INSTE8_PRF 1
[APPLY PHASE]
AutoConfig could not successfully execute the following scripts:
Directory: /prj2/apps/prj2ora/iAS/Apache/perl/bin/perl -I /prj2/apps/prj2ora/iAS/Apache/perl/lib/5.00503 -I /prj2/apps/prj2ora/iAS/Apache/perl/lib/site_perl/5.005 -I /prj2/apps/prj2appl/au/11.5.0/perl /prj2/apps/prj2comn/admin/install/prj2_cinohdbd01sec
adadmat.pl INSTE8_APPLY 256
txkGenExtSecConf.pl INSTE8_APPLY 1
AutoConfig is exiting with status 29
Thanks,
DaveAnd one more thing in log file showing this,Hsawwan plz suggest me
SCRIPT RETURNED:
Generate Tns Names
Logfile: /prj2/apps/prj2appl/admin/prj2_cinohappdi01sec/log/06010758/NetServiceHandler.log
Classpath : /usr/jdk1.5.0_12/jre/lib/rt.jar:/usr/jdk1.5.0_12/lib/dt.jar:/usr/jdk1.5.0_12/lib/tools.jar:/prj2/apps/prj2comn/java/appsborg2.zip:/prj2/apps/prj2comn/java
Updating s_tnsmode to 'generateTNS'
UpdateContext exited with status: 0
Error generating tnsnames.ora from the database, temperory tnsnames.ora will be generated using templates
Instantiating Tools tnsnames.ora
Tools tnsnames.ora instantiated
Web tnsnames.ora instantiated
adgentns.pl exiting with status 25600
ERRORCODE = 25600 ERRORCODE_END
.end std out.
.end err out.
Result : FAILED
===========================================================================
Ending Context Value Management System.
===========================================================================
===========================================================================
No uploading of Context file and its templates to database. Database conection failed
===========================================================================
Configuring templates from all of the product tops... -
Instantiating a class within a class
I've got a package with 2 classes. The first, we'll call it
C1, is being instantiated within the main body of code. In turn, it
instantiates another class, C2.
Problem is, the C2 instantiation is not happening. However,
if I instantiate the class within the main code body, the
instantiations within C1 work ok. A chopped down version of my
code:
// main.swf
import stuff.*;
var myC1:C1 = new C1();
var myC2:C2 = new C2(); // remove this line and the line
below stops functioning
// C1.as
class stuff.C1 {
public function C1() {
trace('C1 instantiated');
var anotherC2 = new C2(); // this line doesn't work unless
the line above is included
// C2.as
class stuff.C2 {
public function C2() {
trace('C2 instantiated');
So if I take the classes out of the package it works also, so
I'm guessing it has something to do with the way I'm importing the
files maybe? I dunno. Any thoughts?What Darcia wrote make me suppose that a class is totally created with the first line of a java file (i.e. public class PrivAndPublic{ )and initialized by the constructor (which, if omitted, comes by default with no arguments)...after all this, the class can be instantiated many times I want from inside the class itself.
(I was thinking the class needed to reach the matching close curly brace to be possible to instantiate it)
But as phyzome said I have to be careful to do not make the object call the method which I put the object in, otherwise I will cause an infinite loop...as I did try ;)
Thanx guys, see you. -
Instantiating a class within itself ?!
Hi guys,I just started playing around with Java, trying to understand the core base of this language.
I have created a simple class and just-for-try I instantiated this class from inside itself.
public class PrivAndPublic{
PrivAndPublic o = new PrivAndPublic();
}//end of class
It doesn't give me any compiling error!
Doesn't it sound strange?!
I cannot understand how is it possible and it really seems a bug to me.
Thanks for any help!What Darcia wrote make me suppose that a class is totally created with the first line of a java file (i.e. public class PrivAndPublic{ )and initialized by the constructor (which, if omitted, comes by default with no arguments)...after all this, the class can be instantiated many times I want from inside the class itself.
(I was thinking the class needed to reach the matching close curly brace to be possible to instantiate it)
But as phyzome said I have to be careful to do not make the object call the method which I put the object in, otherwise I will cause an infinite loop...as I did try ;)
Thanx guys, see you. -
Can any one tell me how can I move to a different folder pictures, that I've cloned, without them staying aggregated? They all come together to the other folder and I don't want that… thanks
There's more to it than that.
Folders in Aperture do not hold Images. They hold Projects and Albums. You cannot put an Image in a Folder without putting it in a Project or an Album inside that Folder.
The relationship between Projects and Images is special: every Image must in a Project, and can be in only one Project.
Images can be in as many Albums you want. Putting an Image in an Album does not move it from the Project that holds it.
You can make as many Versions from a Master as you want.
What you want to do may appear simple to you, but it still much adhere to how Aperture works. I still can't tell exactly what you are trying to do (specifically: Images don't live in Folders; moving an Image from a Folder is non-sensical).
It can be very confusing (and frustrating) to get going with Aperture -- but it does work, and can be enormously helpful. If you haven't, take a look at the video tutorials on Apple's Aperture support site.
I feel as though I haven't helped you much -- but we need to be using the same names for interface items in order to get anything done -- and my sense is that you still haven't learned the names of the parts. -
Hello all,
I ordered a CTO Mac Pro for heavy rendering and animating work, and I am planning on using bootcamp to install a windows partition (for 3DsMax). As I am now using a HP Elitebook 8770W that has several valuable files and projects on it, I have bought a Seagate 4Tb external Desktop Drive that uses USB 3.0 to use as a backup drive. Now, as I saw that Bootcamp Assistant only supports installing a x64 version of Windows 8, my question is:
Will a late 2013 Mac Pro using bootcamp assistant boot from an external USB drive with a cloned partition running x64 win7? Or do I really have to buy Windows 8 and install that to my internal SSD, and then use the migration assistant to copy over my projects?
Thanks!Posted? or found in new builds?
BCA should really just pull whatever the latest drivers are when run.
If it is with how it partitions and sets up nMP and its partition for Windows that is another matter and makes sense.
Some people want UEFI native booting in Windows, and my experieince with that on PCs has been that it boots faster and runs well, but has different partitions that it wants. For one thing, there is now a backup "system reserved" partition, just as Apple GUID has some volume information blocks and backup and areas that were once optional (and if format erase was not able to, it would not create one) are now mandatory.
Windows 8.1 is req'd, reason a backup should be a big must - is it might overwrite and use another OS's partition table entries. Especially when doing UEFI install.
There was something about which linux OS was safe and how they would each add entries in the table, but one would not place nice. That one had to be done first or not at all. -
Can not request reports after cloning process
hello All,
I am new in oracle please guide me.
I have tried to make the process of cloning from dev machine to test machine, but after that the applications in dev machine was not able to request another report.
With Status: No Manager and phase: Inactive
we use:
RDBMS : 10.2.0.2.0
Oracle Application: 12.0.2(HRMS)
os: AIX 5.3 (64 bit)
I previously tried the ways of my search results on the forums and internet
1. Truncate FND_CONCURRENT_PROCESSES...
truncate table FND_CONCURRENT_PROCESSES;
2. Update FND_CONCURRENT_REQUESTS as follows:
update fnd_concurrent_requests
set status_code='X', phase_code='C'
where status_code='T'
3. Update FND_CONCURRENT_QUEUES.RUNNING_PROCESSES to zero
update fnd_concurrent_queues
set running_processes = 0;
4. restart conccurent managers,and has not succeeded.
and then I tried another way of information that I got
1. Stop the Internal Concurrent Manager.
2. Connect to the database via SQL*Plus as the APPS user.
3. Execute the following to alter the FNDSM trigger on FND_NODES:
CREATE OR REPLACE TRIGGER fndsm
AFTER INSERT OR UPDATE ON FND_NODES <---- ( "OR UPDATE" I do additional)
FOR EACH ROW
BEGIN
if ( :new.NODE_NAME <> 'AUTHENTICATION' ) then
if ( (:new.SUPPORT_CP='Y')
or (:new.SUPPORT_FORMS='Y')
or (:new.SUPPORT_WEB='Y') ) then
fnd_cp_fndsm.register_fndsm_fcq(:new.NODE_NAME);
end if;
if (:new.SUPPORT_CP = 'Y') then
fnd_cp_fndsm.register_fndim_fcq(:new.NODE_NAME);
end if;
end if;
END;
4. Cleanup the FND_NODES table by executing the following:
SQL> exec FND_CONC_CLONE.SETUP_CLEAN;
5. Run AutoConfig on each node.
6. Restart the Concurrent Managers. and still does not work.
if something is missing or wrong from the way I do or there are other ways more appropriate for me to do?
Thanks,
Bataraearlier thanks for your concern and support for you all ,
I've run as shown in MOS Doc 134007.1 , but it still does not work, and the clone,
actually the clone that we do is still in trial and we have not too much concentration to the test instance as the target system, but the problem is that dev instance as the source system should not in fact the configuration changes become problematic,as not requesting another report.
and this is my next piece of the internal display manager log:
========================================================================
Starting DEV_1111@DEV Internal Concurrent Manager -- shell process ID 725148
logfile=/u01/oracle/DEV/inst/apps/DEV_hrmdev/logs/appl/conc/log/DEV_1111.mgr
PRINTER=noprint
mailto=devmgr
restart=N
diag=N
sleep=30 (default)
pmon=4 (default)
quesiz=1 (default)
Reviver is ENABLED
Application Object Library: Concurrent Processing version 11.5
Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
Internal Concurrent Manager started : 11-NOV-2009 11:43:06
Process monitor session started : 11-NOV-2009 11:43:06
Starting PODAMGR Concurrent Manager : 11-NOV-2009 11:43:07
Could not initialize the Service Manager FNDSM_HRMDEV_DEV. Verify that HRMDEV has been registered for concurrent processing.
Routine AFPEIM encountered an error while starting concurrent manager PODAMGR with library /u01/oracle/DEV/apps/apps_st/appl/po/12.0.0/bin/POXCON.
Check that your system has enough resources to start a concurrent manager process. Contact y : 11-NOV-2009 11:43:07
Starting INVTMRPM Concurrent Manager : 11-NOV-2009 11:43:07
Could not initialize the Service Manager FNDSM_HRMDEV_DEV. Verify that HRMDEV has been registered for concurrent processing.
Routine AFPEIM encountered an error while starting concurrent manager INVTMRPM with library /u01/oracle/DEV/apps/apps_st/appl/inv/12.0.0/bin/INCTM.
Check that your system has enough resources to start a concurrent manager process. Contact : 11-NOV-2009 11:43:07
Starting RCVOLTM Concurrent Manager : 11-NOV-2009 11:43:07
Could not initialize the Service Manager FNDSM_HRMDEV_DEV. Verify that HRMDEV has been registered for concurrent processing.
Routine AFPEIM encountered an error while starting concurrent manager RCVOLTM with library /u01/oracle/DEV/apps/apps_st/appl/po/12.0.0/bin/RCVOLTM.
Check that your system has enough resources to start a concurrent manager process. Contact : 11-NOV-2009 11:43:08
Starting FFTM Concurrent Manager : 11-NOV-2009 11:43:08
Could not initialize the Service Manager FNDSM_HRMDEV_DEV. Verify that HRMDEV has been registered for concurrent processing.
Routine AFPEIM encountered an error while starting concurrent manager FFTM with library /u01/oracle/DEV/apps/apps_st/appl/ff/12.0.0/bin/FFTM.
Check that your system has enough resources to start a concurrent manager process. Contact your s : 11-NOV-2009 11:43:08
Could not find service instance context for service instance number 804345408
Could not find service instance context for service instance number 804345408
Could not find service instance context for service instance number 804345408
Could not find service instance context for service instance number 804345408
Check that your system has enough resources to start a concurrent manager process. Contac : 11-NOV-2009 11:43:11
Starting STANDARD Concurrent Manager : 11-NOV-2009 11:43:11
Could not initialize the Service Manager FNDSM_HRMDEV_DEV. Verify that HRMDEV has been registered for concurrent processing.
Routine AFPEIM encountered an error while starting concurrent manager STANDARD with library /u01/oracle/DEV/apps/apps_st/appl/fnd/12.0.0/bin/FNDLIBR.
Check that your system has enough resources to start a concurrent manager process. Contac : 11-NOV-2009 11:43:11
Starting STANDARD Concurrent Manager : 11-NOV-2009 11:43:11
Could not initialize the Service Manager FNDSM_HRMDEV_DEV. Verify that HRMDEV has been registered for concurrent processing.
Routine AFPEIM encountered an error while starting concurrent manager STANDARD with library /u01/oracle/DEV/apps/apps_st/appl/fnd/12.0.0/bin/FNDLIBR.
Starting OAMCOLMGR Concurrent Manager : 11-NOV-2009 15:13:32
Could not initialize the Service Manager FNDSM_HRMDEV_DEV. Verify that HRMDEV has been registered for concurrent processing.
Routine AFPEIM encountered an error while starting concurrent manager OAMCOLMGR with library /u01/oracle/DEV/apps/apps_st/appl/fnd/12.0.0/bin/FNDLIBR.
Check that your system has enough resources to start a concurrent manager process. Conta : 11-NOV-2009 15:13:33
Starting INVMGR Concurrent Manager : 11-NOV-2009 15:13:33
Could not initialize the Service Manager FNDSM_HRMDEV_DEV. Verify that HRMDEV has been registered for concurrent processing.
Routine AFPEIM encountered an error while starting concurrent manager INVMGR with library /u01/oracle/DEV/apps/apps_st/appl/inv/12.0.0/bin/INVLIBR.
Check that your system has enough resources to start a concurrent manager process. Contact : 11-NOV-2009 15:13:33
Process monitor session ended : 11-NOV-2009 15:13:33
please help and guidance
Regards
Batara -
Can I use both newly cloned MBPR retina and old-MBP with same Time Machine
When my new-MBPR retina cloned from the old-MBP back up in Time Machine via migration assistance, will this newly-cloned MBPR continue thereon backing up with the same old-MBP back up in Time Machine? I.e. continuing same timeline?
And what happen to my old-MBP back up, if I continuing to use my old-MBP with the same Time Machine on? Will TM recognised 2 different MBP and thus creating 2 back ups? I seem to have problem to keep 2 MBP running with same TM. Programs not responding even force quitting them!
And what should I do to use both? Appreciate your help. Thank you.OK, but in general I can use this one device as both file storage and Time Machine.
I thought that (for some reason) once I set up the Time Capsule to act just as Time Machine storage I would be unable to access it as a plain file storage.
I have just tested it now, and it seems it can work as both - file storage and Time Machine. I can see the Time Machine backup file on it and folders where I can dump regular files.
The only thing I would need to occasionally do is delete some old backups to keep Time Machine segment below 1 TB just so I have plenty of space for regular files.
This thing is awesome. :) -
Photoshop cc 2014 suddenly trouble with cloning and healing tool
I just updated photoshop cc 2014. I use a wacom tablet. Suddenly, when I use the healing brush or cloning brush. The brush control panel pops up and the tool simply doesn't work. After repeated attempts, I do succeed in getting this to work. Sure slows me down though.
Sorry for the lack of the report it was my first time reporting an error for software... Never had an issue before.
I haven't experienced the crash via text tool since I posted the question, but the Photoshop is still constantly crashing at startup, but every time I try to enter the report I get the error: Please try again later.m5 -
Hi, I've seen a lot of discussion on this topic but nothing specific to my situation. I have two macs, a personal mac (macbook running Snow Leopard vers. 10.6) and a newer work macbook pro (late 2011 running Lion vers. 10.7.5). I want to use some of the applications at work (that is on the Macbook Pro) that are on my home macbook with Snow Leopard. I cloned the entire HD of my Macbook onto an external drive. The clone seems to have worked as I can use it as a boot disk for the macbook (from which it was cloned). However, if I try to boot the MacBook Pro running Lion, with this same clone on the external drive it won't work. I get a bit of text in the background and an overlay in dark grey saying (in several languages) restart the Mac by holding down the start key etc. I don't know if this has to do with the kernel panic problem or the Lion restore disk business. I don't see the point in trying to do an internal partition of the MacBook Pro hard drive and then add the cloned Snow Leopard, if I can't get the thing to boot externally as it is.
Does anyone have any fixes for what really should be a simple proceedure but is not?Make sure the mac you are cloning from has the combo 10.6.8 update applied to it. The late 2011 models need at least 10.6.7 and better with 10.6.8. So if your older mac is running anything lower than 10.6.7 it will not boot on the 2011 model.
-
Session scope managed bean is not instantiating?
We have the need to use a session bean (rather than pageFlowScope) in our application. But it looks like the session beans are not being instantiated at run time like other beans are. I created a simple test case to verify. One bean, named "MySessionBean", defined in the task flow as Session scope, then referenced in a view with an input text box, value: #{sessionScope.MySessionBean.value1}. When I run the application, I just get PropertyNotFoundException, Target Unreachable, 'MySessionBean' returned null.
If I simply change the bean to use pageFlowScope, everything works fine. I have debug code in the bean constructor, and it never gets called. Is there some other step I am missing to have ADF instantiate the session bean?No luck, I tried it in both adfc-config.xml, and faces-config.xml. I also tried moving the call to my view, from my bounded taskflow, into the adfc-config unbounded task flow, and then I ran that instead. Still got the same error. Here is my code from the the last round of tests with the view called in the main adfc-config.xml unbounded taskflow:
adfc-config.xml:
<?xml version="1.0" encoding="windows-1252" ?>
<adfc-config xmlns="http://xmlns.oracle.com/adf/controller" version="1.2">
<view id="testView">
<page>/testView.jspx</page>
</view>
<managed-bean id="__2">
<managed-bean-name id="__5">MySessionBean</managed-bean-name>
<managed-bean-class id="__4">test.MySessionBean</managed-bean-class>
<managed-bean-scope id="__3">session</managed-bean-scope>
</managed-bean>
</adfc-config>
testView.jspx:
<?xml version='1.0' encoding='UTF-8'?>
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
<jsp:directive.page contentType="text/html;charset=UTF-8"/>
<f:view>
<af:document id="d1">
<af:form id="f1">
<af:inputText label="Label 1" id="it1"
value="#{sessionScope.MySessionBean.value1}"/>
</af:form>
</af:document>
</f:view>
</jsp:root>
MySessionBean.java:
package test;
public class MySessionBean {
private String value1="Hello World";
public MySessionBean() {
super();
public void setValue1(String value1) {
this.value1 = value1;
public String getValue1() {
return value1; -
Hard drive keeps cloning itself in finder
This is the second time I saw this on a Mac, and never happened to me before (being working in a AASP for the last 9 years)
The disc fails, and won't boot, but you can see all the data starting up in Target or mounting the HD as an external device in a known good computer and system.
But, after a few minutes the disc mounts again as a new FW external drive, and kees doing it as long as its conected.
I was able (apparenty) to extract all the info, conning it with third party software, but, the surprise is that none of the cloned files worked.
Disk utilities repairs the volume, and restores permissions... but the disc fails again.
I've tryed disc warrior (wich is unable to fix the drive as it keeps mounting itself every few minutes) techtools, data rescue... all with the same result, the drive seems to be repaired but as it keeps clonning or mounting, eventually fails again, and no data can be copyed if the copy time tooks more time than the time the drive takes to cole itsef agai.
So, any idea what this could be?
any possible solutions or work arounds to extract the info?
Even GSX didn't know what that was, at least a few months ago...
I will appreciate any ideas.
(Mac OsX 10.7 installed on bad HDD, OsX 10.7, 10.8 & 10.9 tryed to solve this matter)
* One common error when trying to copy items is: The finder can't complete the operation because some data in ".DS_Store" can't be read or written. (Error code -36)
Picture shows three FW external units identical to each other.. (as it turns to be the same one replicating itself)Assume for second your drive has failed totally, and get another backup drive to backup your source.
Once backed up you can determine how bad the failure is with Disk Utility Repair Disk, or if not revealing Alsoft Disk Warrior. Always have at two known working copies of your data at all times. -
Instantiation of new objects - a beginners cry for help!!!
Hi - i am working through (on no not another bloody Bank Account) problem. It is the same problem posted in this topic - http://forum.java.sun.com/thread.jsp?forum=31&thread=308754
where the author was roundly slated for not even having a go.
I am not asking for someone to complete the program but would like to be kicked off again having ground to a halt.
I had decided to create a Parent Bank Account class and then create child classes for Current, Platinum and Student Accounts. I am very unsure as to how to then create the methods that will allow the user to, for instance, check the balance, deposit an amount etc. While I am generally comfortable with While/Do's and Else/If's, Im still very rusty with the terminology and instantiation of objects that users can manipulate (having never yet created a working program!).
Please read what I've done so far and then I would be msot grateful for pointers. Or if you want to slate me then at least make it funny!
public class bankAccount { //Declares superclass
private String name; //Account Holder Name
private int accNo; //Account Number
private String accType; //Type of Account
private int balance; //Balance
private int deposit; //Depost
private int withdrawal; //Withdrawal
private boolean overdrawn; // Overdrawn or in Credit?
public bankAccount() {} // Default constructor
public bankAccount(String n, int a) { //Constructor #1
name = n;
accNo = a;
deposit = false;
withdrawal = false;
public bankAccount(String n, int a, boolean d, boolean w) {//Constructor #2
name = n;
AccNo = a;
deposit = d;
withdrawal = w;
public String getName() { //get() and set () methods
return name;
public void setName(String n){
name = n;
public int getAccNo(){
return accNo;
public void setAccNo(int accNo){
accNo = a;
public String getAccType(){
return accType;
public void setAccType(String at){
accType = at}
public int getBalance(){
return balance;
public void setBalance(int b){
balance = b;
public int getDeposit(){
return deposit;
public void setDeposit(int d){
deposit = d;
public int getWithdrawal(){
return withdrawal;
public void setWithdrawal(int w){
withdrawal = w;
public boolean getOverdrawn(){
return overdrawn;
public void setOverdrawn(boolean o){
overdrawn = o;
public void printOut(){
System.out.println (name + accNo + accType + balance + deposit + withdrawal+
overdrawn);
} //end of bankAccount class
public class Current extends BankAccount {//Current Account class derived from Bank Account class
public current () {} //empty method for default constructor
public current (String n, int a, boolean a, boolean w){
setname(n);
setaccNo(a);
set deposit(false);
set withdrawal(false); //this is as far as I got before punching the computer!You've gotta give him credit though, he did try. apparently didn't work, must be caps sensitive.
And Barty1... remember to close your code brackets, otherwise it tends to chop off the last 2 lines or so.
Cheers,
Radish21
Maybe you are looking for
-
Hi Kodo gurus, I run into following problem: Since I start to use JDOQL queries, the system I am developing start to throw Exception saying: javax.jdo.JDODataStoreException: com.solarmetric.kodo.impl.jdbc.sql.SQLExceptionWrapper: [SQL=SELECT t0.JDOID
-
How to call the data from BW to R/3
HI everybody, I am having one /BIC/OHZSDS_QCAL in the BW which is created by the BW consultant, this /BIC/OHZSDS_QCAL consist of data in it now i have to call this R/3 and create a report to display. i am not getting any idea how to call this /BIC/OH
-
I keep getting invalid security code on a card that has been on my account for months. I've been making purchases often with no problems. Now I can't even download updates. I've tried removing the card, but this also has been proving very difficult t
-
TextEdit save as .txt?
Maybe I'm missing something, but is there any way to have TextEdit save a document as a .txt by default? It's rather annoying to have to rename the extension from .rtf to .txt every time.
-
Being that the new displays only work with the new generation MBP's (I think, right?) I found a great compromise. I'm now looking for a great t.v. that will serve two purposes. Being my television and main display for the MBP. I just need to know who