Executing a job request programatically
Hi,
i copy the documentation example 2.7 - Executing a job request and linked the relevant libraries to the Java project.
in the line asm = home.create i get the compilation error:
"The type javax.ejb.CreateException cannot be resolved. It is indirectly referenced from required .class files"
any idea of what library is missing?
Hagai
Thanks for the Don Walling's message. It gave me some hint.
For JBoss 4, jboss-j2ee.jar file is needed to be included in the classpath. This jar file can be found in the lib directory of the default server configuration.
Similar Messages
-
Error while executing the Job for Objects :null Batch Risk Analysis
Hi All,
We've recently upgraded Virsa to version 5.3_14 . I'm encountering a problem when executing the Batch Risk Analysis job for users, roles and profiles. The job does not complete for some objects and it seems to be sporadic and shows this error: -
Background Job History: job id=395, status=2, message=Error while executing the Job for Object(s) :ABROWN:null
I've attached the log for your review.
Thanks in advance for your help.
Linda Lewis
Feb 9, 2011 1:47:53 PM com.virsa.cc.xsys.meng.ObjAuthMatcher <init>
FINEST: ObjAuthMatcher constructed: 4ms, #singles=2141, #ranges=0, #super=0
Feb 9, 2011 1:47:54 PM com.virsa.cc.xsys.riskanalysis.AnalysisEngine riskAnalysis
WARNING: Job ID:395 : Failed to run Risk Analysis
java.lang.StringIndexOutOfBoundsException at java.lang.String.substring(String.java:1019)
at com.virsa.cc.xsys.util.RuleLoader.getPermRule(RuleLoader.java:573)
at com.virsa.cc.xsys.riskanalysis.AnalysisEngine.performActPermAnalysis(AnalysisEngine.java:1609)
at com.virsa.cc.xsys.riskanalysis.AnalysisEngine.riskAnalysis(AnalysisEngine.java:321)
at com.virsa.cc.xsys.bg.BatchRiskAnalysis.performBatchRiskAnalysis(BatchRiskAnalysis.java:1166)
at com.virsa.cc.xsys.bg.BatchRiskAnalysis.performBatchSyncAndAnalysis(BatchRiskAnalysis.java:1464)
at com.virsa.cc.xsys.bg.BgJob.runJob(BgJob.java:560)
at com.virsa.cc.xsys.bg.BgJob.run(BgJob.java:363)
at com.virsa.cc.xsys.riskanalysis.AnalysisDaemonBgJob.scheduleJob(AnalysisDaemonBgJob.java:375)
at com.virsa.cc.xsys.riskanalysis.AnalysisDaemonBgJob.start(AnalysisDaemonBgJob.java:92)
at com.virsa.cc.comp.BgJobInvokerView.wdDoModifyView(BgJobInvokerView.java:444)
at com.virsa.cc.comp.wdp.InternalBgJobInvokerView.wdDoModifyView(InternalBgJobInvokerView.java:1236)
at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.doModifyView(DelegatingView.java:78)
at com.sap.tc.webdynpro.progmodel.view.View.modifyView(View.java:337)
at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.doModifyView(ClientComponent.java:481)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doModifyView(WindowPhaseModel.java:551)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:148)
at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)
at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)
at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:332)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:741)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:694)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:253)
at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doGet(DispatcherServlet.java:46)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(AccessController.java:207)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)
Feb 9, 2011 1:47:54 PM com.virsa.cc.xsys.util.Lock lock
FINEST: Lock:1004
Feb 9, 2011 1:47:54 PM com.virsa.cc.xsys.util.Lock unlock
FINEST: Unlock:1004
Feb 9, 2011 1:47:54 PM com.virsa.cc.xsys.bg.BatchRiskAnalysis performBatchRiskAnalysis
WARNING: Error: while executing BatchRiskAnalysis for JobId=395 and object(s):ABROWN: Skipping error to continue with next object: null Feb 9, 2011 1:47:54 PM com.virsa.cc.xsys.bg.BgJob updateJobHistory
FINEST: --- @@@@@@@@@@@ Updating the Job History -
2@@Msg is Error while executing the Job for Object(s) :ABROWN:null
Feb 9, 2011 1:47:54 PM com.virsa.cc.xsys.bg.dao.BgJobHistoryDAO insert
INFO: -
Background Job History: job id=395, status=2, message=Error while executing the Job for Object(s) :ABROWN:null
Feb 9, 2011 1:47:54 PM com.virsa.cc.xsys.util.Lock lock
FINEST: Lock:1004
Feb 9, 2011 1:47:54 PM com.virsa.cc.xsys.util.Lock unlock
FINEST: Unlock:1004
Feb 9, 2011 1:47:54 PM com.virsa.cc.xsys.bg.BatchRiskAnalysis performBatchRiskAnalysis
INFO: --- BKG User Permission Analysis (System: P20:020) completed --- elapsed time: 4522 ms
Feb 9, 2011 1:47:54 PM com.virsa.cc.xsys.util.Lock lock
Edited by: Linda Lewis on Feb 9, 2011 9:08 PMHi,
Was a solution found for this error?
Thanks,
Glen -
[JOB] in Job Document - create "Detailed Job Request" instead Basic
Dear Ladies and Gentlemen,
We are establishing Job Scheduling Management, using Job Requests and Job Documentation.
For new jobs we plan to use the "Detailed Job Request".
However, when we have to modify an existing Job Documentation and perform the action "Create Job Request" from within the change or display mode of the Job Documentation we only reach the "Basic Job Request".
Q: How can it be achieved that instead the "Detailed Job Request" is triggered?
Many thanks,
Peter MüllerCALL FUNCTION 'JOB_OPEN'
EXPORTING
jobname = l_jobname
IMPORTING
jobcount = l_jobcount
EXCEPTIONS
cant_create_job = 01
invalid_job_data = 02
jobname_missing = 03.
<b>
LOOP AT itab_data INTO wa_data.</b>
why r u LOOPING here in itab_data. I believe ITAB has 2 entries in it. thts y it is getting executed f 2 times.
U can use
READ itab_data into wa_data with some key/Index 1.
If sy-subrc EQ 0.
SUBMIT zwm_ml_zwma_trigger user sy-uname
VIA JOB l_jobname NUMBER l_jobcount
WITH p_lgnum = wa_data-lgnum
WITH p_vbeln = wa_data-vbeln
WITH p_posnr = wa_data-posnr
AND RETURN.
CLEAR wa_data.
ENDif.
<b>ENDLOOP</b>.
f_job_trig = 'X'.
EXPORT f_job_trig TO MEMORY ID 'ZML_ZWMA'.
CLEAR f_job_trig.
*-- Close the job
CALL FUNCTION 'JOB_CLOSE'
EXPORTING
Hope this will help
Thanks
Ashwani -
Executing a job by another job using exec command
Hi All,
I have a requirement as follows,I am triggerring the jobs from one parent job,where triggered jobs should run in parallel.Below code waits for Job_Test_1 to complete and then triggers the Job_Test_2.But what I want is Job_Test_2 also should start when Job_Test_1 is running.How to achive this in SAP BODS.
[$G_JOB_NAME]=Job_Test_1;
print('The job is [$G_JOB_NAME] ');
exec('D:\Installation_folder\Data Services\log\[$G_JOB_NAME].bat','',1);
print('Failed job [$G_JOB_NAME] triggered');
[$G_JOB_NAME]=Job_Test_2;
print('Second job triggered ');
exec('D:\Installation_folder\Data Services\log\[$G_JOB_NAME].bat','',1);
print('The job second job triggered');
Thanks for your help in advance.
IndiraHi Indra,
Request you to go through the below link in which anoop has beautifully explained the various ways to schedule the jobs.
http://scn.sap.com/docs/DOC-34648
In particular, I would request you to go through "Scheduling using Web service" Part. In this part, Anoop has shown how to publish the jobs and in the subsequent steps showed us how to call the webservice in the Query transform.
In his example he took two query transforms to execute the job sequentially.
If you wann to execute the jobs parallel then just check by calling both the webservices in a single query transform. -
Post Author: rkolturu
CA Forum: Data Integration
I tried to execute a job which is compiled and error free but get the error below has any one of you any workaround for this problem
5308 4880 PAR-010102 12.12.2007 08:44:52 |SessionJOB_XYZ
5308 4880 PAR-010102 12.12.2007 08:44:52 Syntax error at line : 00297-182
5308 4880 PAR-010102 12.12.2007 08:44:52 0-189393172: near found expecting .
5308 4880 PAR-010102 12.12.2007 08:44:52 Syntax error at line : <>: near found .
5308 4880 PAR-010102 12.12.2007 08:44:52 2 error(s), 0 warning(s).
5308 4880 PAR-010102 12.12.2007 08:44:52 . Please check and fix the syntax and retry the operation.Hi,
If CI & DB are on different host this error normally occures.SAP return codes 236 means no connection to gateway, can you check it?
Also check whether TCP/IP RFC connection SAPXPG_DBDEST_* is working fine or not.If it is not working fine then please check whether you have mentioned below details
Program sapxpg
Target Host DB Host name
Gateway Host DB host/gateway host
Gateway service sapgw##
Also refer SAP Note 108777 - CCMS: Message 'SAPXPG failed for BRTOOLS' & Note 446172 - SXPG_COMMAND_EXECUTE (program_start_error) in DB13
Hope this helps.
Thanks,
Sushil -
Error on auto execute of job 1032656.. Where i can get the details?
ORA-12012: error on auto execute of job 1032656
ORA-04063: ORA-04063: package body "ORACLE_OCM.MGMT_DB_LL_METRICS" has errors
ORA-06508: PL/SQL: could not find program unit being called: "ORACLE_OCM.MGMT_DB_LL_METRICS"
ORA-06512: at line 1
ORA-1580 signalled during: alter database backup controlfile to 'backup_control_file.ctl'..
Hi All,
I am getting the above error in my alert log.
When i check in my dba_jobs there were only two jobs having job column 1 & 21.
Where i can see the job 1032656 and its details ?
Regards
ArunHi Arun,
This is due to invalid objects in ORACLE_OCM schema.
Please read metalink note id:
Invalid Objects After Revoking EXECUTE Privilege From PUBLIC [ID 797706.1]
Symptoms
OEM recommends that EXECUTE privilege being revoked from PUBLIC. After revoking the privilege, the following errors appeared in alert log:
ORA-12012: error on auto execute of job 66171
ORA-04063: package body "ORACLE_OCM.MGMT_DB_LL_METRICS" has errors
ORA-06508: PL/SQL: could not find program unit being called: ORACLE_OCM.MGMT_DB_LL_METRICS"
ORA-06512: at line 1 has errors .
Also, the below query returns invalid rows count (approximately 46 rows)
SQL> select object_name, owner, object_type, status from dba_objects where status = 'INVALID';
Owners of invalid objects are ORACLE_OCM and WMSYS
*Cause*
At the time of installation of the database, Oracle execute scripts that test to see if PUBLIC access is granted to all of the routines that ORACLE_OCM and WMSYS need access to. If PUBLIC access is NOT available, Oracle scripts grant specific access rights. However, If EXECUTE privilege is revoked from PUBLIC after installation, then those specific access rights needs to be granted manually.
*Solution*
You will need to grant execute on UTL_FILE and DBMS_SCHEDULER to ORACLE_OCM and WMSYS. The below action plan should solve the issue:
SQL> grant execute on UTL_FILE to oracle_ocm;
SQL> grant execute on DBMS_SCHEDULER to oracle_ocm;
SQL> grant execute on UTL_FILE to wmsys;
SQL> grant execute on DBMS_SCHEDULER to wmsys;
SQL> shutdown immediate;
SQL> startup restrict;
SQL> @utlrp.sql /* $ORACLE_HOME/rdbms/admin/@utlrp.sql */
SQL> shutdown immediate;
SQL> startup;
Regards
Rajesh -
Creating job documentation from Job request
Hello Esha,
depends. If you run EhP1 of SAP Solution Manager you can use transaction SLFJ instead of SLFN (prerequisite: multi-transaction type handling is setup). SLFJ comes with the correct action profile already assigned.
If you use SLFN or a custom copy of SLFN, please assign the Job Management action profile. See implementation guide (transaction SPRO) for more information in section "Integration with Service Desk".
I recommend to view the following tutorial:
http://service.sap.com/~sapidb/011000358700000332872009E/index.htm
BTW: Please use the Solution Manager forum.
Regards,
Martin
Please follow us on SDN:
http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/u/25168834 [original link is broken] [original link is broken]
/people/martin.lauer/blog
and SAP Service Marketplace:
http://service.sap.com/jsmThis was answers below, in the comment area by Volker.
How to configure SAP's standard Job Request form - Part 2
Hi Shahul,
the user triggers the Job Doc creation from within the Incident or Change Request in the JSM assignment block, but then the data from teh Job Request is automatically taken over for the Job Document.
So starting the creation and pushing the save button is manual work, but the filling out the Job Doc is done automatically.
Kind Regards
Volker
Regards
Shahul -
JSM - Creating Job Documentation from Job Request itself
Hi all,
I am still exploring JSM, and I know its possible to create Job Request (Job Req) from Job Documentation (Job Doc).
But is it possible to create the reverse (Job Doc from Job Req) ?
This will be great, if the user is creating Job Req from "Detailed" version (compared to "Basic"), which has similar entries and tabs, as Job Doc.
I did read somewhere that its possible, but I never find any documentation or SCN/blogs on this.
Thanks in advance
Regards
ShahulThis was answers below, in the comment area by Volker.
How to configure SAP's standard Job Request form - Part 2
Hi Shahul,
the user triggers the Job Doc creation from within the Incident or Change Request in the JSM assignment block, but then the data from teh Job Request is automatically taken over for the Job Document.
So starting the creation and pushing the save button is manual work, but the filling out the Job Doc is done automatically.
Kind Regards
Volker
Regards
Shahul -
Error while executing the Job:Cannot assign NULL to host variable 1
Hello!
I have the following issue:
Error while executing the Job:Cannot assign NULL to host variable 1. setNull() can only be used if the corresponding column is nullable. The statement is "INSERT INTO "VIRSA_... (see log for details)
Note 1362138 - Rule generation - null pointer exception virsa_cc_rtmap doesn't me. After uploading files of ZCC_DOWNLOAD_SAPOBJ and ZCC_DOWNLOAD_DESC I got the same problem during job running...
How can I find out where is the problem?Hi
That looks like your fields are disabled but they could still be causing the problem edited ( nah - talking rubbish as you've put dummy " " in there) edited - the 'null' error caused many background jobs to fail but, once we had the evidence to show the space (somebody had pressed enter instead of delete/backspace to clear the entry) it stopped the problem - just a bit of learning on the job which we all go through for the GRC chaps in KL.
A " " would be valid but a (I know you can't see it but it's there wouldn't be )
edited.When you did an edit/replace did it say it had replaced anything please?edited
The word doc option does sound good!
Cheers
David
Edited by: David Berry on Nov 4, 2010 7:33 PM -
Hi Friends,
I got this error when I submit a job request:
java.sql.SQLException: ORA-00917: missing comma
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:331)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:288)
at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:743)
at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:216)
at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:968)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1168)
at oracle.jdbc.driver.OracleStatement.executeUpdateInternal(OracleStatement.java:1614)
at oracle.jdbc.driver.OracleStatement.executeUpdate(OracleStatement.java:1579)
at xxseoapdownloadconfirm.jspService(_xxseoapdownloadconfirm.java:1474)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:416)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:478)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:401)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(ReleaseResFilter.java:26)
at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:318)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:610)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:359)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:870)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:451)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:299)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:187)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)
java.sql.SQLException: ORA-00917: missing comma
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:331)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:288)
at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:743)
at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:216)
at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:968)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1168)
at oracle.jdbc.driver.OracleStatement.executeUpdateInternal(OracleStatement.java:1614)
at oracle.jdbc.driver.OracleStatement.executeUpdate(OracleStatement.java:1579)
at xxseoapdownloadconfirm.jspService(_xxseoapdownloadconfirm.java:1474)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:416)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:478)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:401)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(ReleaseResFilter.java:26)
at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:318)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:610)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:359)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:870)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:451)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:299)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:187)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)
====================
Any ideas please....thanksIt's actually an accelerator request to download setup tool template :(
-
Hi,
we executed a Job and execution went fine for many Workflows and it got aborted in a dataflow with a strange error.
Please Find Below the error.
@SRV-210112, ERROR, 0, 0.000, 8671.266, 0.000, 0, SRV-210112: |Dataflow sample_SF_DF: Data flow failed to start with command <-PLocaleUTF16 -T14 -r1000 -RRepository -UDI_JOBS2 -h -P;754A3F83872043440243A68F16AD87D9EE4AB0293BA71C1FAEAE224EEC8E7AB25C4BB7D5C7D3499FCD4BBFDE51FEA19C -Ssample_server -LocaleGV -NOracle -Cn -m"sample_SF_DF:sample_SF_WF" -B"2009031521002053281920_1" -no_audit -nParentContext/JOB/WF/sample_SF_WF/sample_SF_DF@@a989125e-1d00-424e-872a-436c353301f5
-Ch45 -ServerGroup -ClusterLevelJOB -KdcP5328 -KdcIDU308 -KdcIDED:\Program Files\Business Objects\Data Integrator 11.7/log/dev_server/di_jobs2/error_03_15_2009_21_00_19_367__d8015647_b561_4d6f_8e57_16e8fcec4229.txt -KdcCp -KdcIDP
.\pipe\456c4d4c-921c-4769-8012-d5e38d930aee -KdcSsample_SF_DF_1_1 -Cjxxxx -Cp3500>.
Kindly Give me your thoughts on this
Thanks in Advance.
Saravanan
Edited by: saravanan v on Mar 16, 2009 10:03 AMHi,
loading a 37MB file shouldnt be a problem without splitting it. i´ve loaded GB size flatfiles without problems.
Did you checked the error.txt as stated in the message? Whats in there.
If you split the file and you can load it, you have enough space in your DB.
Please check the memory utilization of your server during executing the job with one file. Maybe the Server is too busy...what would be strange with a 37MB file.
Regards
-Seb. -
From Time to Time error while executing RMAN Job
Hi everybody,
i have a strange problem. From time to time i recieve following error when executing a Job from Grid Control (Enterprise Manager).
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-04004: Fehler aus Recovery-Katalog-Datenbank: ORA-12170: TNS: Connect Timeout aufgetreten
After that error the Job uses the Control File of the Database so the job runs. The strange thing for me is, that sometimes the jobs runs without problems and sometimes it gaves the error shown above.
For clarifying. Grid Control runs on a Unix (Sun Solaris) Machine and the target Database runs on a Windows Server in a DMZ. I tried to find out what the problem is but neither on the windows server nor on the firewall side there are any problems.
So can anybody help me finding out what the problem is?
Any help would be appreciated.
GreetingsHi sunny,
i have tried the tnsping several times. There is no problem with this. The tnsping works without problems and in an appropriate time.
When i issue the command on our unix machine it shows the following:
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = srvxyz)(PORT = 1521))) (CONNECT_DATA = (SID = db1) (SERVICE_NAME = db1)))
OK (10 msec)
And when issue it on the Windows Server the follwoing output is shown:
TNS Ping Utility for 64-bit Windows: Version 10.2.0.4.0 - Production on 26-APR-2011 10:35:45
Copyright (c) 1997, 2007, Oracle. All rights reserved.
Parameterdateien benutzt:
O:\ORACLE\product\10.2.0\network\admin\sqlnet.ora
Adapter TNSNAMES zur Auflösung des Alias benutzt
Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (COMMUNITY = tcp.world)(PROTOCOL = TCP)(Host = SRVXYZ)(Port = 1521))) (CONNECT_DATA = (SID = db1)))
OK (0 ms)
So any other ideas?? -
Executing a Job via Web Services using a Server Group?
When executing a job from Designer or from the Management Console you have the option to select a specific job server or a server group.
But when executing a job via Web Services it uses the first job server with which the repository was associated (i.e. the first job server listed in AL_MACHINE_INFO).
Is there a way to get the job to execute using a server group instead simply choosing the first job server in the list?
Note: We are using FIM to execute the jobs via web services and don't have access to additional parameters.Joe
Here is the where you can change the server group/job server.
- After you add the Batch/real Time job as a webservice.
- Go to the Webservice Batch Job Attribute and from the drop down choose the "Enable job Attributes" and hit apply.
- After this if you use the WSDL URL http://<Data Services Web Server>:<Web server Port>/DataServices/servlet/webservices?ver=2.0&wsdlxml
- You will see the job attributes that you can change based on the allowed parameters mentioned in the documentation.
The batch job or real time job is published without the job parameters by default. Once you enable the job attributes, remove and re publish the batch job as a web service. The application making the call to this webservice should be able to read the WSDL generated by Data services and pickup all the input and output parameters of the method.
Refer to the Data Services Integrator guide (Chapter 3 : pages 25 - 33 ) to get the exact parameter values permitted via Data Services jobs called via web services.
Hope this helps!
Thanks & Regards
Tiji -
Error while creating basic job request
Dear Experts,
I am getting below error when I submit a basic job request from solman 7.1. please suggest.
Thanks
SajinHello Sajin,
Run Ib52 tcode and check TR6 system also review notes 1935934 - Various problems when creating IBase components and objects 1933019 - Create Ibase Consistency Report (support only) 1858788 - CRM UI: Sort order in Actions not respected
BR,
K. -
Hii,
I am using Oracle 11g version 11.2.0.2.0
From last few days i am getting the error
ORA-12012: error on auto execute of job 179297
ORA-01403: no data found
ORA-06512: at line 1
in my alert log.
The trace file details are :
Trace file C:\APP\MANAGER\diag\rdbms\c2kprod\c2kprod\trace\c2kprod_j002_5552.trc
Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
Windows NT Version V5.2 Service Pack 2
CPU : 24 - type 8664, 2 Physical Cores
Process Affinity : 0x0x0000000000000000
Memory (Avail/Total): Ph:13735M/32756M, Ph+PgF:77877M/95801M
Instance name: c2kprod
Redo thread mounted by this instance: 1
Oracle process number: 30
Windows thread id: 5552, image: ORACLE.EXE (J002)
*** 2012-10-27 00:10:17.259
*** SESSION ID:(394.10451) 2012-10-27 00:10:17.259
*** CLIENT ID:() 2012-10-27 00:10:17.259
*** SERVICE NAME:(SYS$USERS) 2012-10-27 00:10:17.259
*** MODULE NAME:() 2012-10-27 00:10:17.259
*** ACTION NAME:() 2012-10-27 00:10:17.259
ORA-12012: error on auto execute of job 19030
ORA-01403: no data found
ORA-06512: at line 1
Trace file C:\APP\MANAGER\diag\rdbms\c2kprod\c2kprod\trace\c2kprod_j002_5552.trc
Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
Windows NT Version V5.2 Service Pack 2
CPU : 24 - type 8664, 2 Physical Cores
Process Affinity : 0x0x0000000000000000
Memory (Avail/Total): Ph:7765M/32756M, Ph+PgF:70412M/95801M
Instance name: c2kprod
Redo thread mounted by this instance: 1
Oracle process number: 260
Windows thread id: 5552, image: ORACLE.EXE (J002)
*** 2012-11-06 13:50:27.895
*** SESSION ID:(1282.5387) 2012-11-06 13:50:27.895
*** CLIENT ID:() 2012-11-06 13:50:27.895
*** SERVICE NAME:(SYS$USERS) 2012-11-06 13:50:27.895
*** MODULE NAME:() 2012-11-06 13:50:27.895
*** ACTION NAME:() 2012-11-06 13:50:27.895
ORA-12012: error on auto execute of job 68977
ORA-01403: no data found
ORA-06512: at line 1
Trace file C:\APP\MANAGER\diag\rdbms\c2kprod\c2kprod\trace\c2kprod_j002_5552.trc
Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
Windows NT Version V5.2 Service Pack 2
CPU : 24 - type 8664, 2 Physical Cores
Process Affinity : 0x0x0000000000000000
Memory (Avail/Total): Ph:13738M/32756M, Ph+PgF:77307M/95801M
Instance name: c2kprod
Redo thread mounted by this instance: 1
Oracle process number: 165
Windows thread id: 5552, image: ORACLE.EXE (J002)
*** 2012-12-03 11:23:33.693
*** SESSION ID:(1350.229) 2012-12-03 11:23:33.693
*** CLIENT ID:() 2012-12-03 11:23:33.693
*** SERVICE NAME:(SYS$USERS) 2012-12-03 11:23:33.693
*** MODULE NAME:() 2012-12-03 11:23:33.693
*** ACTION NAME:() 2012-12-03 11:23:33.693
ORA-12012: error on auto execute of job 179297
ORA-01403: no data found
ORA-06512: at line 1
Can anybody please tell what happened and what is solution for this.
ThanksI cann't help you. It is your DB you have to know what's your environment. What application/users are connected to DB.
You may find some glue in column log_user,priv_user, schema_user. From those column you could find DB schema under whitch job is created. then investigave if there is any PL/SQL code. If yes go to the code and look for dbms_job.submit procedure.
If no PL/SQL then you must found who is connecting under DB schema and ask then.
Or at last: may be you could audit access to sys.job$ table to find who is manipulating with data - but I don't recomend it before testing this on some test DB to be sure that there is no bad side effect of monitoring ORACLE data dictionary table.
This DB is production DB or test/development DB ?
Edited by: spajdy on Dec 5, 2012 12:14 PM
Maybe you are looking for
-
How can I create a continuous movie from multiple slideshows in IDVD6
I have created 5 seperate slideshows in IDVD because I wanted to fit the audio with specific pictures and then play them all as 1 show. I can't figure out how to continuously play the entire 5 chapters in sequence. If I start 1 chapter, it will bring
-
Reg : Archiving of Internal Order
Hai Friends I am working on Archiving of Control Orders(Internal Orders) using KO02. Archiving can be done only when deletion flag is set for Internal Order. My issue is I want to set deletion flag for the Internal Order without going into the TCode
-
Hi I am using oracle 8.1.6 on W2K. I was trying to convert a Word (MS Office 2000) document to html using ctxhx. I ran the command ctxhx test.doc test.htm Nothing happens. But I don't see the test.htm file. Am I missing something here? If so what? Th
-
Help in Bapi_document_change
I am using Bapi_document_change.Its not changing the document fields.How to proceed?
-
Error launching ifsmgr: ocijdbc8 not found
Hi, I have the following error when starting the ifsmgr : [u01/app/oracle/product/8.1.7/ifs1.1/bin]#ifsmgr [u01/app/oracle/product/8.1.7/ifs1.1/bin] #Exception occurred during event dispatching: java.lang.UnsatisfiedLinkError: no ocijdbc8 in shared l