Procedure failed to raise tar -cvzf command
hi,
I am using the below specified procedure to raise the linux command from PL/SQL Environment. the procedure working fine for all the commands but when I am raising
the command 'tar -cvzf /home/oracle/sach.tar.gz *.csv' to archive all csv files from a directory then
its creating an Invalid (unextractable) archive file and even the dbms_lob is not recognizing this file and the same command is working fine from OS console and creating a valid archive.
please let me know what's wrong is happening and what i need to do to create valid archive file from the PL/SQL.
--configuration
BANNER
Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bi
PL/SQL Release 10.2.0.3.0 - Production
CORE 10.2.0.3.0 Production
TNS for Linux: Version 10.2.0.3.0 - Production
NLSRTL Version 10.2.0.3.0 - Production
--the grants i have:
EXEC Dbms_Java.Grant_Permission('SACH.', 'java.io.FilePermission', '<<ALL FILES>>', 'read ,write, execute, delete');
EXEC Dbms_Java.Grant_Permission('SACH', 'SYS:java.lang.RuntimePermission', 'writeFileDescriptor', '');
EXEC Dbms_Java.Grant_Permission('SACH', 'SYS:java.lang.RuntimePermission', 'readFileDescriptor', '');
GRANT CREATE external job to SACH;
--java source
CREATE OR REPLACE AND RESOLVE JAVA SOURCE NAMED "OSCommand" AS
import java.io.*;
import java.lang.*;
public class OSCommand{
public static String Run(String Command){
Runtime rt = Runtime.getRuntime();
int rc = -1;
try{
Process p = rt.exec( Command );
int bufSize = 32000;
int len = 0;
byte buffer[] = new byte[bufSize];
String s = null;
BufferedInputStream bis = new BufferedInputStream( p.getInputStream(), bufSize );
len = bis.read( buffer, 0, bufSize );
rc = p.waitFor();
if ( len != -1 ){
s = new String( buffer, 0, len );
return( s );
return( rc+"" );
catch (Exception e){
e.printStackTrace();
return( "-1\ncommand[" + Command + "]\n" + e.getMessage() );
FUNCTION OSexec( cCommand IN STRING ) RETURN VARCHAR2 IS
language JAVA
name 'OSCommand.Run(java.lang.String) return java.lang.String';
Select eap_dgsc_schedule_pkg.OSexec('tar -cvzf /home/oracle/sach.tar.gz *.csv') from dual;
Have you tried running the same command by passing a filename explicitly and check whether it is creating a valid archive.
Assuming if it does then my guess will be "*" is a wildcharacter which gets substituted by the Korn shell or C shell in linux/unix
before the tar command gets executed whereas in this scenario (execution from java) I believe it is trying to find for a file "*.csv".
$ tar -cvf test.tar.gz *.csv
a ire.csv 280 blocks
a jam.csv 66 blocks
a hello.csv 409 blocks
a abc.csv 98959 blocks
$ ls -ltr test.tar.gz
-rw-r--r-- 1 home home 51056640 Apr 30 17:02 test.tar.gz
$ tar -tvf test.tar.gz
rw-r----- 1006/1006 143228 Mar 20 15:48 2008 ire.csv
rw-r----- 1006/1006 33321 Mar 20 15:48 2008 jam.csv
rw-r----- 1006/1006 209098 Apr 9 14:28 2008 hello.csv
rw-r----- 1006/1006 50666720 Apr 7 12:06 2008 abc.csv
$ tar -cvf test.tar.gz "*.csv"
tar: cannot stat *.csv. Not dumped.
-rw-r--r-- 1 home home 10240 Apr 30 17:02 test.tar.gzP.S : I have not tested your code (i.e) by using the routine you have given.
Just a thought
Regards
Raj
Message was edited by:
s.rajaram
Similar Messages
-
Dbms_scheduler job finihed succesfull when underlying procedure fails
I have a job created with dbms_scheduler which finishes succesfully even when the underlying plsql procedure raises a oracle error.
Is there any way to stop the running job with a failure when the plsql procedure fails and show the oracle error in the all_scheduler_job_run_details.error# column?
Example:
procedure test is
begin raise no_data_found;
end;
dbms_scheduler.create_job(job_name =>'MY_JOB', 'test');
dbms_scheduler.run_job;
when querying all_scheduler_job_run_details I want to see the no_data_found error which occurs in procedure.user4260036 wrote:
I have a job created with dbms_scheduler which finishes succesfully even when the underlying plsql procedure raises a oracle error.
Is there any way to stop the running job with a failure when the plsql procedure fails and show the oracle error in the all_scheduler_job_run_details.error# column?
what exactly does "stop the running job" mean?
when querying all_scheduler_job_run_details I want to see the no_data_found error which occurs in procedure.in which column do you expect/desire this information to reside?
SQL> desc all_scheduler_job_run_details
Name Null? Type
LOG_ID NUMBER
LOG_DATE TIMESTAMP(6) WITH TIME ZONE
OWNER VARCHAR2(30)
JOB_NAME VARCHAR2(65)
JOB_SUBNAME VARCHAR2(65)
STATUS VARCHAR2(30)
ERROR# NUMBER
REQ_START_DATE TIMESTAMP(6) WITH TIME ZONE
ACTUAL_START_DATE TIMESTAMP(6) WITH TIME ZONE
RUN_DURATION INTERVAL DAY(3) TO SECOND(0)
INSTANCE_ID NUMBER
SESSION_ID VARCHAR2(30)
SLAVE_PID VARCHAR2(30)
CPU_USED INTERVAL DAY(3) TO SECOND(2)
CREDENTIAL_OWNER VARCHAR2(65)
CREDENTIAL_NAME VARCHAR2(65)
DESTINATION_OWNER VARCHAR2(128)
DESTINATION VARCHAR2(128)
ADDITIONAL_INFO VARCHAR2(4000) -
We have the SharePoint Server 2010 with SP1 environment on which the custom SP2010 designer pages were working as expected before the
August 13, 2013 CU has installed. But, getting the below exception while trying to add the new item after the CU has installed.
Error while executing web part: System.NullReferenceException: Object reference not set to an instance of an object. at Microsoft.SharePoint.WebControls.SPDataSourceView.ExecuteInsert(IDictionary values) at
System.Web.UI.DataSourceView.Insert(IDictionary values, DataSourceViewOperationCallback callback) 3b64c3a0-48f3-4d4a-af54-d0a2fc4553cc
06/19/2014 16:49:37.65 w3wp.exe (0x1240) 0x1300 SharePoint Foundation
Runtime tkau Unexpected Microsoft.SharePoint.WebPartPages.DataFormWebPartException: The data source control
failed to execute the insert command. 3b64c3a0-48f3-4d4a-af54-d0a2fc4553cc at Microsoft.SharePoint.WebPartPages.DataFormWebPart.InsertCallback(Int32 affectedRecords, Exception ex) at System.Web.UI.DataSourceView.Insert(IDictionary
values, DataSourceViewOperationCallback callback) at Microsoft.SharePoint.WebPartPages.DataFormWebPart.FlatCommit() at Microsoft.SharePoint.WebPartPages.DataFormWebPart.HandleOnSave(Object sender, EventArgs e)
at Microsoft.SharePoint.WebPartPages.DataFormWebPart.RaisePostBackEvent(String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) at System.Web.UI.Page.ProcessRequestMain(Boolean
inclu... 3b64c3a0-48f3-4d4a-af54-d0a2fc4553cc
06/19/2014 16:49:37.65* w3wp.exe (0x1240) 0x1300 SharePoint Foundation
Runtime tkau Unexpected ...deStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) 3b64c3a0-48f3-4d4a-af54-d0a2fc4553cc
I have tried changing the "DataSourceMode" as below, now the insert command is working, but update command is not working.
<SharePoint:SPDataSource runat="server" DataSourceMode="ListItem" />
Also, the lookup dropdown fields are displaying the value as "<a href="Daughterhttp://cpsp10/sites/Employees/_layouts/listform.aspx?PageType=4&ListId={8F62F444-FB6A-4F03-9522-C4696B45DCD1}&ID=10&RootFolder=*">Daughter</a>"
instead of only "Daughter".
Please provide the solution to get rid of this issue.
Thanks
RamasubbuTry below:
http://social.technet.microsoft.com/Forums/en-US/ae910269-3a0c-4506-844b-e8bc89d95b71/data-source-control-failed-to-execute-the-insert-command
http://blog.jussipalo.com/2012/01/sharepoint-2010-data-source-control.html
While there can be many causes for this generic error message, in my case the first parameter or ddwrt:DataBind function inside the SharePoint:FormFields element was
'i' and I was working with an Edit Form. Changing it to
'u' as it was with every other FormField fixed the issue.
<SharePoint:FormField runat="server" id="ff1{$Pos}" ControlMode="Edit" FieldName="Esittaja" __designer:bind="{ddwrt:DataBind('u',concat('ff1',$Pos),'Value','ValueChanged','ID',ddwrt:EscapeDelims(string(@ID)),'@Esittaja')}"
/>
Explanation:
DataBind operation type parameters (the first parameter) are listed below:
'i' stands for INSERT,
'u' stands for UPDATE,
'd' stands for DELETE.
http://webcache.googleusercontent.com/search?q=cache:d9HHY4I7omgJ:thearkfloats.blogspot.com/2014/03/sharepoint-2010-data-source-control.html+&cd=4&hl=en&ct=clnk&gl=in
If this helped you resolve your issue, please mark it Answered -
Fatal Error Acrobat failed to send a DDE command
Hello all. I have a fillable form I developed using word 2010. I am trying to convert it to a PDF form. I open acrobat and select star from wizard from the Forms menu. I browse to find the word document and open it. I save the PDF document and everything looks good. I get a progress bar that says "Please wait, reading Adobe PDF". This is very slow progress and then I get the Fatal Error message "Acrobat Failed to send a DDE command". I click ok and the progress bar continues still very slowly. I get the same message again. I click ok and the progress bar continues. The progress bar gets to the end and just stays there. Nothing happens. I waited for an hour and then cancelled it. When clicked cancel, the PDF document opens with my form but without any fillable fields or drop down menus. I tried to do it again a few times and I get the same error message. I am using Adobe Acrobat 9 pro version 9.4.2. Thank you in advance for your help.
Gonzalo
AA 9 will not work for anything but the print function from WORD 2010. The only version of Acrobat that is compatible with OFFICE 2010 for PDF Maker is AA X. Thus, open WORD and print to the Adobe PDF printer. Then open the pdf in Acrobat. Go to FORMS>Add or Edit fields. Since you have no fields at present, Acrobat will ask if you would like to detect form fields. Answer yes and you will get a first cut at the form fields. Yes, you will likely have to add some more and change the ones that Acrobat estimates, but you are on your way.
The other two options you have is to go back to WORD 2007 or earlier or upgrade to AA X (or find someone with AA X and WORD 2010). These methods are pretty much your options with the software combination that you have. -
Acrobat X Pro does not open, gives fatal error - "Acrobat failed to send a DDE command"
Acrobat X Pro does not open and gives fatal error - "Acrobat failed to send a DDE command"
It either does the above or the application starts and is listed in the system processes but never physically opens on the desktop for viewing.AA 9 will not work for anything but the print function from WORD 2010. The only version of Acrobat that is compatible with OFFICE 2010 for PDF Maker is AA X. Thus, open WORD and print to the Adobe PDF printer. Then open the pdf in Acrobat. Go to FORMS>Add or Edit fields. Since you have no fields at present, Acrobat will ask if you would like to detect form fields. Answer yes and you will get a first cut at the form fields. Yes, you will likely have to add some more and change the ones that Acrobat estimates, but you are on your way.
The other two options you have is to go back to WORD 2007 or earlier or upgrade to AA X (or find someone with AA X and WORD 2010). These methods are pretty much your options with the software combination that you have. -
Hi All,
I am facing problem while calling PL/SQL procedure from ODI procedure:
ODI Console show below error code on failure of procedure:
=======================================================================
ODI-1228: Task PR_RETRIVE_DATA (Procedure) fails on the target ORACLE connection SES_DW.
Caused By: java.sql.SQLException: ORA-06550: line 1, column 30:
PLS-00103: Encountered the symbol "," when expecting one of the following:
( ) - + case mod new not null <an identifier>
<a double-quoted delimited-identifier> <a bind variable>
table continue avg count current exists max min prior sql
stddev sum variance execute multiset the both leading
trailing forall merge year month day hour minute second
timezone_hour timezone_minute timezone_region timezone_abbr
time timestamp interval date
<a string literal with character set specification>
================================================
Thanks,
DharmarajHi,
it seems there are compilation errors in your PL/SQL, leading to the ORA-06550 error. Check your PL/SQL code and try to execute it directly in the database to see if the issue is related to ODI.
Regards,
Alex -
When I try to open my Adobe Acrobat X Pro I get a message that it failed to send a DDE command. It was working fine until yesterday.
When I try to open my Adobe Acrobat X Pro I get a message that it failed to send a DDE command. It was working fine until yesterday.
-
The data source control failed to execute the insert command
Hi,
We have installed SharePoint 2010 on Windows Server 2008 Enterprise Edition. We've started using the "Employee Training Scheduling and Materials" template that is available at
http://www.microsoft.com/government/en-us/campaigns/Pages/SharePoint-Templates.aspx. Till last friday (17th Oct,2013) everything was working fine, but after that we are getting an error "The data source failed to execute the insert command"
when I click on the "Save" button available on the Registrations.aspx. Could any one help me resolve this issue?
Kinldy revert if you need more details.
Though I see many posts regarding this, most of them are associated with Windows Server 2008 R2. So, most of the hot fixes mentioned there could not help me.
Your help me is greatly appreciated. Thanks for taking time to go through this post.
Thanks and Regards
Praveen.
Thanks and Regards Praveen.I have the exact same problem. I updated the 2007 Employee training template to the 2010 version and then 2 months ago, presumably when our Sharepoint had the July 10th patch 14.0.7102.5004 applied, it all broke. An attempt to register for a class always
comes back with "Failure to execute insert command".
I tried changing the DateSourceMode from "ListItem" to "List" that gets rid of the error but does NOT update the registrations list.
Anyone have any success fixing this? -
Failed to execute the insert command
I have a sign up training calendar that runs on sharepoint 2010, over the weekend i went to install the latest cumulative update http://support.microsoft.com/kb/2817552 and it seems to have broken the signup process. Whenever some goes to sign up for an
event they see the following error what can i do to fix this?
Error
The data source control failed to execute the insert command. d8b915be-5355-4d63-97bb-c9cf3aacad75
Web Parts Maintenance Page: If you have permission, you can use this page to temporarily close Web Parts or remove personal settings. For more information, contact your site administrator.
Troubleshoot issues with Microsoft SharePoint Foundation.
Correlation ID: d8b915be-5355-4d63-97bb-c9cf3aacad75
the error occurs when someone tries to add an event in the calendar & this issues seems to be across the entire sharepoint 2010 foundation farm. How can i resolve this without rebuilding the farm?Hi, We are having the same issue. Did anyone get a solution for this? I tried following solution.
open
the page with SPD and update this value.
OLD: <SharePoint:SPDataSource
runat="server" DataSourceMode="List"
NEW: <SharePoint:SPDataSource
runat="server" DataSourceMode="ListItem"
That gives me "Access Denied" error.
User has contribute permission
for the list.
Any solution??? -
ODI-1228: Task PRD-create-populate-table (Procedure) fails on the target
I get this error when trying to run PRD-create-populate-table from Oracle by example ODI
ODI-1228: Task PRD-create-populate-table (Procedure) fails on the target ORACLE connection ODI_DATA_SERVER.
Caused By: java.sql.SQLSyntaxErrorException: ORA-02264: name already used by an existing constraint
ODI-1228: Task PRD-create-populate-table (Procedure) fails on the target ORACLE connection ODI_DATA_SERVER.
Caused By: java.sql.SQLSyntaxErrorException: ORA-02264: name already used by an existing constraint
at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:91)
at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:133)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:206)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:455)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:413)
at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:1035)
at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:194)
at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:953)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1224)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3386)
at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3467)
at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeUpdate(OraclePreparedStatementWrapper.java:1350)
at com.sunopsis.sql.SnpsQuery.executeUpdate(SnpsQuery.java:665)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.executeUpdate(SnpSessTaskSql.java:3218)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execStdOrders(SnpSessTaskSql.java:1785)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java:2805)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java:2515)
at com.sunopsis.dwg.dbobj.SnpSessStep.treatAttachedTasks(SnpSessStep.java:534)
at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:449)
at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:1954)
at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$2.doAction(StartSessRequestProcessor.java:322)
at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:224)
at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:246)
at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$0(StartSessRequestProcessor.java:237)
at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$StartSessTask.doExecute(StartSessRequestProcessor.java:794)
at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:114)
at oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$2.run(DefaultAgentTaskExecutor.java:82)
at java.lang.Thread.run(Thread.java:662)the specified constraints name is still used. Please check if you are having the order correctly ie drop table , create and insert and check if the table is dropped , if still the constraints is there then drop it from database
-
Encountered an error in repository runtime extension;Create LLang procedure failed
Hi Guys
I am implementing Apriori algorithm through graphical way. My model is validated but while activating this i am getting the error' Encountered an error in repository runtime extension;Create LLang procedure failed' Here i am attaching the model which i have created.
Regards
KarunaHi Folks,
I resolved this issue by setting schema as _SYS_AFL... Thanks for your help.
Regards
Karuna -
How to roll back when procedure fails
Hi All,
In my process using procedures i am droping the temp tables and creating temp tables ,if any procedures fails how should roll back all the process
Procedure1(droping tables)----->procedure2(creating table1)--------->procedure3(creating table2)------->procedure4(Validaating accounts in table2 and creating seperate table)
Any suggestion please
Thanks in AdvanceLet's say in your package you have your 4 procedures (Proc1, Proc2, Proc3, Proc4).
Also create 3 additional procedures:
RollBack1 -> Does the opposite to Proc1 (i.e. if Proc1 drops a table, then Rollback1 will create it)
RollBack2 -> Does the opposite to Proc2
RollBack3 -> Does the opposite to Proc3
Your logic will be:
If Proc1 is successful, then execute Proc2.
If Proc1 is unsuccessful, then end.
If Proc2 is successful, then execute Proc3.
If Proc2 is unsuccessful, then use an on failure path (red line) to execute RollBack1.
If Proc3 is successful, then execute Proc4.
If Proc3 is unsuccessful, then use an on failure path (red line) to execute RollBack2, followed by RollBack1.
If Proc4 is successful, then end.
If Proc4 is unsuccessful, then use an on failure path (red line) to execute RollBack3, followed by RollBack2, followed by RollBack1.
It mightn't be necessary to undo everything - but you'll know your own business needs to make a decision on that. -
Dehydration failed with error: Use introspectWLS12 command to introspect domains
Hello Experts,
I am trying to Introspect my Oracle weblogic server Locally to configure appliances on my assembly in Virtual Assembly Builder using command
# ./abctl introspectWLS -wlsHome /home/punit/Oracle/Infra/wlserver -domainRoot /home/punit/Oracle/Infra/user_projects/domains/base_domain -adminUser weblogic
but it is getting failed with error:
Use introspectWLS12 command to introspect domains based on WLS 12.1.2 and younger..
Error: OAB-7105: Introspection failed.
Caused by: Dehydrate job failed.
Caused by: OAB-50008: Use introspectWLS12 command to introspect domains based on WLS 12.1.2 and younger.
later I replaced introspectWLS with introspectWLS12 but its throwing Usage error: Command not found: introspectWLS12.
Can somebody help me in finding the exact command for version 12.1.2 to by-pass this..
FYI: I am using fmw_Infra_121200_OVAB.jar binnary bundled with JRF & FM Components on my OEL-6.0 platform
Thanks in Advance
PunitHi,
Thanks for your reply.
This icon you provided means "the DHCP server connected but current user does not have the administrative credentials to manage the server."
That's why "0x80070005. Access is denied" is received.
DHCP console icons reference
http://technet.microsoft.com/en-us/library/cc784812(WS.10).aspx
So, you need to make sure the current user have the administrative credentials to configure DHCP server. Usually members of the DHCP Administrators
group can view and modify any data at the DHCP server. DHCP Administrators can create and delete scopes, add reservations, change option values, create superscopes, or perform any other activity needed to administer the DHCP server, including export or import
of the DHCP server configuration and database. DHCP Administrators perform these tasks using the Netsh commands for DHCP or the DHCP console. For more information, see
DHCP tools.
DHCP groups
http://technet.microsoft.com/en-us/library/cc737716(WS.10).aspx
Hope this helps.
Thanks,
Robbin Meng
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked
post does not actually answer your question. This can be beneficial to other community members reading the thread. -
Data source control failed to execute the insert command
I have a sign up training calendar that runs on sharepoint 2010, over the weekend i went to install the latest cumulative update http://support.microsoft.com/kb/2817552 and it seems to have broken the signup process. Whenever some goes to sign up for an
event they see the following error what can i do to fix this?
Error
The data source control failed to execute the insert command. d8b915be-5355-4d63-97bb-c9cf3aacad75
Web Parts Maintenance Page: If you have permission, you can use this page to temporarily close Web Parts or remove personal settings. For more information, contact your site administrator.
Troubleshoot issues with Microsoft SharePoint Foundation.
Correlation ID: d8b915be-5355-4d63-97bb-c9cf3aacad75
Date and Time: 7/31/2013 9:51:25 PM0
Vote
Thanks!!!
It worked for me too -
Fusion Middleware Provisioning Deployment Procedure - Failing
Hi,
I have been trying to run the Fusion Middleware Provisioning (version 4.1) deployment procedure by choosing the existing installation as Fusion Middleware Home.
Going through the logs, the perl script (applyclone.pl) is unable to create the destination directory. However, I am unable to find the cause for it. Also, the directive "Create FMW Clone Archive" generates the following log - with error "Oracle home is not cloneable".
Any help would be highly appreciated. Thanks.
Below are details :
OEM version 11g installed on Linux box.
Source Machine - Windows, Agent version 11g
Target Machine - Windows, Agent version 11g
- Dinu
Logs -
Job Log -
Run privilege of the step is : Normal
This is Provisioning Executor Script(Windows)
Input PropertyFilePath is D:\Agent11g\agent11g\EMStage\PAF\Job_931f3d44a76852aae040b40a7f161fef\properties
Input directiveScriptFilePath is D:\Agent11g\agent11g\EMStage\PAF\Job_931f3d44a76852aae040b40a7f161fef\applyClone.pl
Input directiveTypeProperty is NAME_Executor
Input componentPath is null
Input directivePath is Directive
Input componentFilename is null
Directive Type is SUB_Perl
Dir to CD is D:\Agent11g\agent11g\EMStage\PAF\Job_931f3d44a76852aae040b40a7f161fef
Final command line to execute is %PERL_HOME%\perl "D:\Agent11g\agent11g\EMStage\PAF\Job_931f3d44a76852aae040b40a7f161fef\applyClone.pl" -java_home "D:\Agent11g\agent11g/jdk" -cloning_jar "cloningclient.jar" -archive "D:\wkd//20101102061046/wls_prov/archive.jar" -mwhome "D:\fmwtest" -log_dir "D:\wkd//20101102061046" -work_dir "D:\wkd//20101102061046"
The output of the directive is:
Unable to create directory at D:\Agent11g\agent11g\EMStage\PAF\Job_931f3d44a76852aae040b40a7f161fef\applyClone.pl line 38.
Creating directory: D:\wkd//20101102061046/wls_prov/
Creating MW directory:
OMS Log (For brevity's sake, only mentioning from the point it says 'Failed')
INFO: _receiving event StatusChangedEvent [ instance = 918CBF4A67A4FADDE040B40A7F161FDE , state = 931F3D44A76752AAE040B40A7F161FEF , data = null , reason = Job Failed]
Nov 2, 2010 6:20:29 PM oracle.sysman.pp.paf.engine.impl.BaseStateImpl log
CONFIG: ProcedureStateImpl [ Inst Name: Fusion Middleware Provisioning_2010-11-02_06-10-46PM GUID: 918CBF4A67A5FADDE040B40A7F161FDE ]: Received Event: StatusChangedEvent [ instance = 918CBF4A67A4FADDE040B40A7F161FDE , state = 931F3D44A76752AAE040B40A7F161FEF , data = null , reason = Job Failed]
Nov 2, 2010 6:20:29 PM oracle.sysman.pp.paf.engine.impl.BaseStateImpl log
CONFIG: ProcedureStateImpl [ Inst Name: Fusion Middleware Provisioning_2010-11-02_06-10-46PM GUID: 918CBF4A67A5FADDE040B40A7F161FDE ]: Received Event: StatusChangedEvent [ instance = 918CBF4A67A4FADDE040B40A7F161FDE , state = 931F3D44A76752AAE040B40A7F161FEF , data = null , reason = Job Failed]
Nov 2, 2010 6:20:29 PM oracle.sysman.pp.paf.engine.impl.BaseStateImpl log
CONFIG: ParallelStateImpl [ Phase Name: FMWPROV_TRS_CLONE_ARC_TO_MWH_NAME GUID: 931F3D44A75E52AAE040B40A7F161FEF ]: Event recd: StatusChangedEvent [ instance = 918CBF4A67A4FADDE040B40A7F161FDE , state = 931F3D44A76752AAE040B40A7F161FEF , data = null , reason = Job Failed]
Nov 2, 2010 6:20:29 PM oracle.sysman.pp.paf.engine.impl.BaseStateImpl log
CONFIG: ParallelStateImpl [ Phase Name: FMWPROV_TRS_CLONE_ARC_TO_MWH_NAME GUID: 931F3D44A75E52AAE040B40A7F161FEF ]: Broadcasting event to all child states
Nov 2, 2010 6:20:29 PM oracle.sysman.pp.paf.engine.impl.BaseStateImpl log
CONFIG: ParallelStateImpl [ Phase Name: FMWPROV_TRS_CLONE_ARC_TO_MWH_NAME GUID: 931F3D44A75E52AAE040B40A7F161FEF ]: Firing event StatusChangedEvent [ instance = 918CBF4A67A4FADDE040B40A7F161FDE , state = 931F3D44A76752AAE040B40A7F161FEF , data = null , reason = Job Failed] to tgtState TargetStateImpl [ TargetName: IFLMUD5HP0645.i-flex.com TargetType: host GUID: 931F3D44A75F52AAE040B40A7F161FEF ]
Nov 2, 2010 6:20:29 PM oracle.sysman.pp.paf.engine.impl.BaseStateImpl log
CONFIG: TargetStateImpl [ TargetName: IFLMUD5HP0645.i-flex.com TargetType: host GUID: 931F3D44A75F52AAE040B40A7F161FEF ]: Received Event: StatusChangedEvent [ instance = 918CBF4A67A4FADDE040B40A7F161FDE , state = 931F3D44A76752AAE040B40A7F161FEF , data = null , reason = Job Failed]
Nov 2, 2010 6:20:29 PM oracle.sysman.pp.paf.engine.impl.BaseStateImpl log
CONFIG: JobProducerStateImpl [ Step Name: FMWPROV_APPLY_CLONE_TRG_NAME GUID: 931F3D44A76752AAE040B40A7F161FEF ]: Receive Event: StatusChangedEvent [ instance = 918CBF4A67A4FADDE040B40A7F161FDE , state = 931F3D44A76752AAE040B40A7F161FEF , data = null , reason = Job Failed]
Nov 2, 2010 6:20:29 PM oracle.sysman.pp.paf.engine.impl.BaseStateImpl log
CONFIG: JobProducerStateImpl [ Step Name: FMWPROV_APPLY_CLONE_TRG_NAME GUID: 931F3D44A76752AAE040B40A7F161FEF ]: Updating job status: 4 of this state and saving to repository
Nov 2, 2010 6:20:29 PM oracle.sysman.pp.paf.engine.impl.BaseStateImpl log
CONFIG: JobProducerStateImpl [ Step Name: FMWPROV_APPLY_CLONE_TRG_NAME GUID: 931F3D44A76752AAE040B40A7F161FEF ]: Step failed, firing status update event
Nov 2, 2010 6:20:29 PM oracle.sysman.pp.paf.engine.impl.BaseStateImpl log
INFO: JobProducerStateImpl [ Step Name: FMWPROV_APPLY_CLONE_TRG_NAME GUID: 931F3D44A76752AAE040B40A7F161FEF ]: [Updating status: STEPGUID = 918CBF4A5F83FADDE040B40A7F161FDE STATEGUID = 931F3D44A76752AAE040B40A7F161FEF STEPNAME = FMWPROV_APPLY_CLONE_TRG_NAME OLDSTATUS = Running NEWSTATUS = Failed ]
Nov 2, 2010 6:20:32 PM oracle.sysman.pp.paf.engine.impl.BaseStateImpl log
CONFIG: JobProducerStateImpl [ Step Name: FMWPROV_APPLY_CLONE_TRG_NAME GUID: 931F3D44A76752AAE040B40A7F161FEF ]: error mode stop on error.
Nov 2, 2010 6:20:32 PM oracle.sysman.pp.paf.engine.impl.BaseStateImpl log
CONFIG: JobProducerStateImpl [ Step Name: FMWPROV_APPLY_CLONE_TRG_NAME GUID: 931F3D44A76752AAE040B40A7F161FEF ]: Processing event StatusUpdateEvent [ instance = 918CBF4A67A4FADDE040B40A7F161FDE , state = 931F3D44A76752AAE040B40A7F161FEF , reason = Job Failed , status = Failed]
Nov 2, 2010 6:20:32 PM oracle.sysman.pp.paf.engine.impl.BaseStateImpl log
CONFIG: JobProducerStateImpl [ Step Name: FMWPROV_APPLY_CLONE_TRG_NAME GUID: 931F3D44A76752AAE040B40A7F161FEF ]: Updating job status: 4 of this state and saving to repository
Nov 2, 2010 6:20:32 PM oracle.sysman.pp.paf.engine.impl.BaseStateImpl log
CONFIG: TargetStateImpl [ TargetName: IFLMUD5HP0645.i-flex.com TargetType: host GUID: 931F3D44A75F52AAE040B40A7F161FEF ]: Processing event StatusUpdateEvent [ instance = 918CBF4A67A4FADDE040B40A7F161FDE , state = 931F3D44A76752AAE040B40A7F161FEF , reason = Job Failed , status = Failed]
Nov 2, 2010 6:20:32 PM oracle.sysman.pp.paf.engine.impl.BaseStateImpl log
CONFIG: TargetStateImpl [ TargetName: IFLMUD5HP0645.i-flex.com TargetType: host GUID: 931F3D44A75F52AAE040B40A7F161FEF ]: Setting status to : Failed
Nov 2, 2010 6:20:32 PM oracle.sysman.pp.paf.engine.impl.BaseStateImpl log
INFO: TargetStateImpl [ TargetName: IFLMUD5HP0645.i-flex.com TargetType: host GUID: 931F3D44A75F52AAE040B40A7F161FEF ]: [Updating status: STEPGUID = 918CBF4A5F80FADDE040B40A7F161FDE STATEGUID = 931F3D44A75F52AAE040B40A7F161FEF STEPNAME = FMWPROV_TRS_CLONE_ARC_TO_MWH_NAME OLDSTATUS = Running NEWSTATUS = Failed ]
Nov 2, 2010 6:20:32 PM oracle.sysman.pp.paf.engine.impl.BaseStateImpl log
CONFIG: TargetStateImpl [ TargetName: IFLMUD5HP0645.i-flex.com TargetType: host GUID: 931F3D44A75F52AAE040B40A7F161FEF ]: Firing status update event to parent.
Nov 2, 2010 6:20:32 PM oracle.sysman.pp.paf.engine.impl.BaseStateImpl log
CONFIG: TargetStateImpl [ TargetName: IFLMUD5HP0645.i-flex.com TargetType: host GUID: 931F3D44A75F52AAE040B40A7F161FEF ]: Processing event StatusUpdateEvent [ instance = 918CBF4A67A4FADDE040B40A7F161FDE , state = 931F3D44A75F52AAE040B40A7F161FEF , reason = Job Failed , status = Failed]
Nov 2, 2010 6:20:32 PM oracle.sysman.pp.paf.engine.impl.BaseStateImpl log
CONFIG: ParallelStateImpl [ Phase Name: FMWPROV_TRS_CLONE_ARC_TO_MWH_NAME GUID: 931F3D44A75E52AAE040B40A7F161FEF ]: processing event StatusUpdateEvent [ instance = 918CBF4A67A4FADDE040B40A7F161FDE , state = 931F3D44A75F52AAE040B40A7F161FEF , reason = Job Failed , status = Failed]
Nov 2, 2010 6:20:32 PM oracle.sysman.pp.paf.engine.impl.BaseStateImpl log
CONFIG: ParallelStateImpl [ Phase Name: FMWPROV_TRS_CLONE_ARC_TO_MWH_NAME GUID: 931F3D44A75E52AAE040B40A7F161FEF ]: Setting status to : Failed
Nov 2, 2010 6:20:32 PM oracle.sysman.pp.paf.engine.impl.BaseStateImpl log
INFO: ParallelStateImpl [ Phase Name: FMWPROV_TRS_CLONE_ARC_TO_MWH_NAME GUID: 931F3D44A75E52AAE040B40A7F161FEF ]: [Updating status: STEPGUID = 918CBF4A5F80FADDE040B40A7F161FDE STATEGUID = 931F3D44A75E52AAE040B40A7F161FEF STEPNAME = FMWPROV_TRS_CLONE_ARC_TO_MWH_NAME OLDSTATUS = Running NEWSTATUS = Failed ]
Nov 2, 2010 6:20:32 PM oracle.sysman.pp.paf.engine.impl.BaseStateImpl log
CONFIG: ParallelStateImpl [ Phase Name: FMWPROV_TRS_CLONE_ARC_TO_MWH_NAME GUID: 931F3D44A75E52AAE040B40A7F161FEF ]: Firing status update event to parent. ParallelStateImpl [ Phase Name: FMWPROV_TRS_CLONE_ARC_TO_MWH_NAME GUID: 931F3D44A75E52AAE040B40A7F161FEF ]
Nov 2, 2010 6:20:32 PM oracle.sysman.pp.paf.engine.impl.BaseStateImpl log
CONFIG: ParallelStateImpl [ Phase Name: FMWPROV_TRS_CLONE_ARC_TO_MWH_NAME GUID: 931F3D44A75E52AAE040B40A7F161FEF ]: Processing event StatusUpdateEvent [ instance = 918CBF4A67A4FADDE040B40A7F161FDE , state = 931F3D44A75E52AAE040B40A7F161FEF , reason = Job Failed , status = Failed]
Nov 2, 2010 6:20:32 PM oracle.sysman.pp.paf.engine.impl.BaseStateImpl log
CONFIG: ProcedureStateImpl [ Inst Name: Fusion Middleware Provisioning_2010-11-02_06-10-46PM GUID: 918CBF4A67A5FADDE040B40A7F161FDE ]: Processing event StatusUpdateEvent [ instance = 918CBF4A67A4FADDE040B40A7F161FDE , state = 931F3D44A75E52AAE040B40A7F161FEF , reason = Job Failed , status = Failed]
Nov 2, 2010 6:20:32 PM oracle.sysman.pp.paf.engine.impl.BaseStateImpl log
CONFIG: ProcedureStateImpl [ Inst Name: Fusion Middleware Provisioning_2010-11-02_06-10-46PM GUID: 918CBF4A67A5FADDE040B40A7F161FDE ]: Setting status to : Failed
Nov 2, 2010 6:20:32 PM oracle.sysman.pp.paf.engine.impl.BaseStateImpl log
INFO: ProcedureStateImpl [ Inst Name: Fusion Middleware Provisioning_2010-11-02_06-10-46PM GUID: 918CBF4A67A5FADDE040B40A7F161FDE ]: [Updating status: STEPGUID = 918CBF4A5FBAFADDE040B40A7F161FDE STATEGUID = 918CBF4A67A5FADDE040B40A7F161FDE OLDSTATUS = Running NEWSTATUS = Failed ]
Nov 2, 2010 6:20:32 PM oracle.sysman.pp.paf.engine.impl.BaseStateImpl log
CONFIG: ProcedureStateImpl [ Inst Name: Fusion Middleware Provisioning_2010-11-02_06-10-46PM GUID: 918CBF4A67A5FADDE040B40A7F161FDE ]: Firing status update event to parent.
Nov 2, 2010 6:20:32 PM oracle.sysman.pp.paf.engine.impl.BaseStateImpl log
CONFIG: ProcedureStateImpl [ Inst Name: Fusion Middleware Provisioning_2010-11-02_06-10-46PM GUID: 918CBF4A67A5FADDE040B40A7F161FDE ]: Processing event StatusUpdateEvent [ instance = 918CBF4A67A4FADDE040B40A7F161FDE , state = 918CBF4A67A5FADDE040B40A7F161FDE , reason = Job Failed , status = Failed]
Nov 2, 2010 6:20:32 PM oracle.sysman.pp.paf.engine.impl.BaseStateImpl log
CONFIG: ProcedureStateImpl [ Inst Name: Fusion Middleware Provisioning_2010-11-02_06-10-46PM GUID: 918CBF4A67A5FADDE040B40A7F161FDE ]: Discarding event: StatusUpdateEvent [ instance = 918CBF4A67A4FADDE040B40A7F161FDE , state = 918CBF4A67A5FADDE040B40A7F161FDE , reason = Job Failed , status = Failed]
Logs for "Create FMW Clone Archive" Job -
Run privilege of the step is : Normal
This is Provisioning Executor Script(Windows)
Input PropertyFilePath is D:\Agent11g\agent11g\EMStage\PAF\Job_931f3d44a75952aae040b40a7f161fef\properties
Input directiveScriptFilePath is D:\Agent11g\agent11g\EMStage\PAF\Job_931f3d44a75952aae040b40a7f161fef\createClone.pl
Input directiveTypeProperty is NAME_Executor
Input componentPath is null
Input directivePath is Directive
Input componentFilename is null
Directive Type is SUB_Perl
Dir to CD is D:\Agent11g\agent11g\EMStage\PAF\Job_931f3d44a75952aae040b40a7f161fef
Final command line to execute is %PERL_HOME%\perl "D:\Agent11g\agent11g\EMStage\PAF\Job_931f3d44a75952aae040b40a7f161fef\createClone.pl" -cloning_jar "cloningclient.jar" -archive "D:\wkd//20101102061046/archive.jar" -mwhome "C:\oracle\Middleware" -exp "*.xxx" -soh "n/a" -log_dir "D:\wkd"
The output of the directive is:
Creating directory: D:\wkd//20101102061046/
created.
found WLS Home:C:\oracle\Middleware\wlserver_10.3
got C:\oracle\Middleware\wlserver_10.3
Reading properties from C:\oracle\Middleware\wlserver_10.3\.product.properties
JAVA_HOME=C:\Oracle\Middleware\jdk160_14_R27.6.5-32
C:\Oracle\Middleware\jdk160_14_R27.6.5-32\bin\java.exe
D:\wkd//20101102061046/archive.jar
Executing: C:\Oracle\Middleware\jdk160_14_R27.6.5-32\bin\java.exe -jar "C:\oracle\Middleware\oracle_common\jlib\cloningclient.jar" createclone -al "D:\wkd//20101102061046/archive.jar" -smw "C:\oracle\Middleware" -silent true -ldl D:\wkd
Log File : "D:\wkd\CLONE2010-11-02_06-12-27PM.log" .
Error File : "D:\wkd\CLONE2010-11-02_06-12-27PM.error" .
2010-11-02_06-12-28PM : INFO : CLONE-21130 The component Dummy Top Component under Oracle home C:\oracle\Middleware\oracle_common is not cloneable.
2010-11-02_06-12-28PM : INFO : CLONE-21130 The component Bogus under Oracle home C:\oracle\Middleware\oracle_common is not cloneable.
2010-11-02_06-12-28PM : ERROR : CLONE-20280 Oracle home is not cloneable.
2010-11-02_06-12-28PM : CAUSE : CLONE-20280 Some component(s) under the Oracle home C:\oracle\Middleware\oracle_common were not cloneable.
2010-11-02_06-12-28PM : ACTION : CLONE-20280 Make sure that all components in the Oracle home are cloneable.
2010-11-02_06-12-28PM : INFO : CLONE-21009 The list of Middleware home that will be included in the archive is =
C:\oracle\Middleware .
2010-11-02_06-12-28PM : INFO : CLONE-21013 Primary validation prior to clone operation is successful for C:\oracle\Middleware.
2010-11-02_06-12-28PM : INFO : CLONE-21154 Checking free space availability for createClone operation.
2010-11-02_06-12-30PM : INFO : CLONE-21155 Required free space is available for createClone operation.
2010-11-02_06-12-32PM : INFO : CLONE-21095 Create archive for C:\oracle\Middleware started .... at 2010-11-02_06-12-32PM.
2010-11-02_06-12-32PM : INFO : CLONE-21166 Addition of the Middleware home C:\oracle\Middleware to the archive started....
2010-11-02_06-12-34PM : INFO : CLONE-21167 Creating archive of Middleware home C:\oracle\Middleware ....
2010-11-02_06-15-35PM : INFO : CLONE-21168 Creating archive of Middleware home C:\oracle\Middleware finished .
2010-11-02_06-15-35PM : INFO : CLONE-21169 Adding archive of Middleware home C:\oracle\Middleware to the main jar file started.....
2010-11-02_06-15-35PM : INFO : CLONE-21053 Total size of the file(s) , to be included in the main jar from source location D:\wkd = 0.421 GB .
2010-11-02_06-16-49PM : INFO : CLONE-21055 100% completed in "73" seconds, and "0" more seconds required.
2010-11-02_06-16-49PM : INFO : CLONE-21170 Adding archive of Middleware home C:\oracle\Middleware to the main jar file finished .
2010-11-02_06-16-49PM : INFO : CLONE-21096 Time taken for this process =257015 milli sec.
2010-11-02_06-16-49PM : INFO : CLONE-21030 Adding "C:\oracle\Middleware" to the archive is successful.
2010-11-02_06-16-53PM : INFO : CLONE-21031 Time taken to add all the cloners to archive ="262,266" milli seconds .
2010-11-02_06-16-53PM : INFO : CLONE-21032 Archive created successfully at D:\wkd\20101102061046\archive.jar.
2010-11-02_06-16-53PM : INFO : CLONE-21006 Total time taken by cloningclient ="265" seconds .
2010-11-02_06-16-53PM : INFO : CLONE-21007 Cloning operation completed successfully.
Executing: C:\Oracle\Middleware\jdk160_14_R27.6.5-32\bin\jar.exe uf D:\wkd//20101102061046/archive.jar -C C:\oracle\Middleware\oracle_common\jlib cloningclient.jar
found WLS Home:C:\oracle\Middleware\wlserver_10.3
got C:\oracle\Middleware\wlserver_10.3
Reading properties from C:\oracle\Middleware\wlserver_10.3\.product.properties
JAVA_HOME=C:\Oracle\Middleware\jdk160_14_R27.6.5-32
MW_HOME=C\:\\Oracle\\Middleware
Java Home is installed outside of FMW Home - Agent JDK will be bound to this WLS installation
JavaExternal=true
Executing: C:\Oracle\Middleware\jdk160_14_R27.6.5-32\bin\jar.exe uf D:\wkd//20101102061046/archive.jar -C D:\wkd\20101102061046 extra.info
Cloning Successful
Cleaning up files after successful run...
unlink D:\Agent11g\agent11g\EMStage\PAF\Job_931f3d44a75952aae040b40a7f161fef\createClone.pl
unlink D:\Agent11g\agent11g\EMStage\PAF\Job_931f3d44a75952aae040b40a7f161fef\invoke.pl
unlink D:\Agent11g\agent11g\EMStage\PAF\Job_931f3d44a75952aae040b40a7f161fef\invoke.sh
unlink D:\Agent11g\agent11g\EMStage\PAF\Job_931f3d44a75952aae040b40a7f161fef\properties
unlink D:\Agent11g\agent11g\EMStage\PAF\Job_931f3d44a75952aae040b40a7f161fef\provisioningUtil.pl
rmdir D:/Agent11g/agent11g/EMStage/PAF/Job_931f3d44a75952aae040b40a7f161fef
Successfully deleted all leftover files and directories.
Edited by: user13299429 on Nov 2, 2010 11:15 PMCHeck this thread:
BINDING.JCA-12510 JCA Resource Adapter location error in SOA 11g Suite
Did you have set the correct parameters to the DBAdpater; it look lik it can not bind the parameters (BINDING JCA-12563).
Marc
Maybe you are looking for
-
Hide command box in portal transaction iview sap GUI for HTML
I have tried &~NOHEADEROKCODE = 1 and ~NOHEADEROKCODE = 1 in the applications parameters with no luck. Can this be done from the ivew?
-
JDBC Driver for Personal Oracle 7.0
I have Personal Oracle 7.0 setup on my PC. I need to install JDBC driver for it. Where Can I get it? Thanks.
-
I have discovered what many before me already know, that Designer (including 8i) does not support Spatial objects. This seems to be related to it not supporting VARRAYS with more than 6 characters worth of precision. Does anybody know when this might
-
Using Labview with an ALR-9800 RFID reader
I am a student at Cal Poly, SLO and I am currently working on a Labview program to characterize RFID tags using a positioner and an Alien Technology ALR-9800 RFID reader. This is my first time programming with Labview and also my first time interfaci
-
Backup Oracle 9 with CommVault Galaxy & RMAN
We have recently upgraded our database from 8.1.7 to 9.2.0.4 and also installed a new backup system CommVault Galaxy. We have installed the filesystem and oracle agents, and CommVault talks happily to our Oracle instance (able to view tablespaces etc