Schedule service in oc4j?
Hi,
is there a scheduling service in oc4j?
Where can I find documentation about that?
Thanks
Guenther
Found this in the 10.1.3.1 release notes:
14.1.13 Warning Regarding Maximum Concurrent Timers
This release note provides background information and workarounds for warnings, such as the following examples, that occur when the number of concurrent timers exceeds the maximum.
WARNING J2EE OJR-10002
The number of concurrent Timers has reached the maximum limit
By default in 10.1.3.1 and 10.1.3.2, OC4J allows only eight concurrent timers. (A timer can be triggered through an EJB timer, the timer service, or the scheduler.) This limit is low by default because we expect each timer to be of short duration. When the number of timers is at the limit, such as if timers are running longer for any reason, timers are no longer executed; when a new timer occurs, you will see the warning messages. There are two OC4J flags you can use in this circumstance:
* timer.service.debug: Determines whether to output additional diagnostic information for the timer service, including information about the current number of running timers. For example: -Dtimer.service.debug=true
* executor.concurrent.tasks: Specifies the number of concurrent tasks for the Executor Service. Through this flag you can increase the maximum number of concurrent timers allowed by OC4J. For example: -Dexecutor.concurrent.tasks=12
Note: each timer executes in a separate thread. If the maximum is set too high, resulting in numerous timers executing, then many threads will be used. It is advisable to recycle threads once they finish executing.
Similar Messages
-
KM Scheduler Service Properties
Hello experts. I am trying to build a scheduler service in KM that runs an RFC, retrieves some data and stores it into KM once a day. To do this, I tried starting with JCA but that did not work so I ended up using the IConnectionFactory framework and it does work. However, in using that, I have to put the SAP system values and the User ID/Password in the connection properties. I do not want to put this in the code so I wanted to create properties exposed in the System Config -> Knowledge Management -> Content Management -> Global Services -> Scheduler Tasks -> My Scheduler Service. That way, I can maintain those properties there and use them in my code. However, since I do not have experience with the Scheduler Service, I do not know how to expose and read those properties. In a regular component, I would put it in portalapp.xml but it does not seem to work for this one. So, could someone guide me on where to put those properties and how as well as the Java code to read them in at runtime.
Would really appreciate any help.Hi
Did you find a solution fo this problem?
Florin -
Not able to deploy axis2 web service on oc4j 10g server
Not able to deploy axis2 web service on oc4j 10g server, getting internal server every time I click on services link....
Edited by: 974237 on Nov 30, 2012 4:17 AMNot able to deploy axis2 web service on oc4j 10g server, getting internal server every time I click on services link....
Edited by: 974237 on Nov 30, 2012 4:17 AM -
Scheduler services is not up in obiee 11g
Hi All,
When rested the OPMN service Scdhuler not comeing up all services working fine this is log file.
please help me what is issue before it is working fine.Database is running.
[OracleBISchedulerComponent] [NOTIFICATION:1] [] [] [ecid: 004rSLEMUx3AtH4pzSt1iW000119000000] [tid: 41020940] [16020] Metadata Database Type: Oracle 11g [[
Data Source Name: (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=10.2.116.7)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=Test)))
Data Source Type: Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64b
[OracleBISchedulerComponent] [ERROR:1] [] [] [ecid: 004rSLEMUx3AtH4pzSt1iW000119000000] [tid: 41020940] [nQSError: 46066] Operation cancelled. [[
PRIMARY_POOL RetrieveColumnInfo from table S_NQ_JOB Exchange
[OracleBISchedulerComponent] [ERROR:1] [] [] [ecid: 004rSLEMUx3AtH4pzSt1iW000119000000] [tid: 41020940] [nQSError: 46066] Operation cancelled. [[
PRIMARY_POOL RetrieveColumnInfo from table S_NQ_JOB_PARAM Exchange
[OracleBISchedulerComponent] [ERROR:1] [] [] [ecid: 004rSLEMUx3AtH4pzSt1iW000119000000] [tid: 41020940] [nQSError: 46066] Operation cancelled. [[
PRIMARY_POOL RetrieveColumnInfo from table S_NQ_INSTANCE Exchange
[OracleBISchedulerComponent] [ERROR:1] [] [] [ecid: 004rSLEMUx3AtH4pzSt1iW000119000000] [tid: 41020940] [nQSError: 46066] Operation cancelled. [[
PRIMARY_POOL RetrieveColumnInfo from table S_NQ_ERR_MSG Exchange
[OracleBISchedulerComponent] [NOTIFICATION:1] [] [] [ecid: 004rSLEMUx3AtH4pzSt1iW000119000000] [tid: 871b810] [68013] Scheduler service started.
[OracleBISchedulerComponent] [NOTIFICATION:1] [] [] [ecid: 004rSLEMUx3AtH4pzSt1iW000119000000] [tid: 871b810] Scheduler service started.
[OracleBISchedulerComponent] [NOTIFICATION:1] [] [] [ecid: 004rSLEMUx3AtH4pzSt1iW000119000000] [tid: 871b810] [71076] Oracle BI Scheduler crmtest6:9705 has been changed to an Inactive state.
[OracleBISchedulerComponent] [NOTIFICATION:1] [] [] [ecid: 004rSLEMUx3AtH4pzSt1iW000119000000] [tid: 41222940] [43071] A connection with Cluster Controller CRMTEST6:9706 was established.
[OracleBISchedulerComponent] [NOTIFICATION:1] [] [] [ecid: 004rSLEMUx3AtH4pzSt1iW000119000000] [tid: 41222940] [71075] Oracle BI Scheduler crmtest6:9705 has been changed to an Active state.
[OracleBISchedulerComponent] [WARNING:1] [] [] [ecid: 004rSLEMUx3AtH4pzSt1iW000119000000] [tid: 41222940] [43065]998365 wrote:
[OracleBISchedulerComponent] [NOTIFICATION:1] [] [] [ecid: 004rSLEMUx3AtH4pzSt1iW000119000000] [tid: 871b810] [68013] Scheduler service started.
[OracleBISchedulerComponent] [NOTIFICATION:1] [] [] [ecid: 004rSLEMUx3AtH4pzSt1iW000119000000] [tid: 871b810] Scheduler service started.
[OracleBISchedulerComponent] [NOTIFICATION:1] [] [] [ecid: 004rSLEMUx3AtH4pzSt1iW000119000000] [tid: 871b810] [71076] Oracle BI Scheduler crmtest6:9705 has been changed to an Inactive state.
[OracleBISchedulerComponent] [NOTIFICATION:1] [] [] [ecid: 004rSLEMUx3AtH4pzSt1iW000119000000] [tid: 41222940] [43071] A connection with Cluster Controller CRMTEST6:9706 was established.
[OracleBISchedulerComponent] [NOTIFICATION:1] [] [] [ecid: 004rSLEMUx3AtH4pzSt1iW000119000000] [tid: 41222940] [71075] Oracle BI Scheduler crmtest6:9705 has been changed to an Active state.*
[OracleBISchedulerComponent] [WARNING:1] [] [] [ecid: 004rSLEMUx3AtH4pzSt1iW000119000000] [tid: 41222940] [43065]from the log it looks like its started as it changed the state to active. are you able to connect to database using biplatform schema details? -
Creation of InitialContext fails when i hot-deploy scheduler-service.xml
Creation of InitialContext fails when i hot-deploy scheduler-service.xml
I configured scheduler-service as follows in Jboss 3.2:
scheduler-service.xml
<mbean code="org.jboss.varia.scheduler.Scheduler"
name=":service=Scheduler">
<attribute name="StartAtStartup">true</attribute>
<attribute name="SchedulableClass">com.beta.my.utils.FMScheduler</attribute>
<attribute name="SchedulableArguments">Schedulabe Test,12345</attribute>
<attribute name="SchedulableArgumentTypes">java.lang.String,int</attribute>
<attribute name="InitialStartDate">0</attribute>
<attribute name="SchedulePeriod">10000</attribute>
<attribute name="InitialRepetitions">-1</attribute>
</mbean>
Schedulable Class
package com.beta.my.utils;
import java.util.Date;
import org.jboss.varia.scheduler.Schedulable;
public static class FMScheduler
implements Schedulable
private String mName;
private int mValue;
public FMScheduler(String pName,int pValue)
mName = pName;
mValue = pValue;
public void perform(Date pTimeOfCall,long pRemainingRepetitions)
try {
Context context = new InitialContext();//properties taken from jndi.properties file
} catch (Exception e){
e.printStackTrace();
I started my jboss..,FMScheduler created successfully, perform method in FMScheduler called succesfully after SchedulePeriod(1000)
The problem occurs(NullPointerException) while i changed SchedulePeriod time and hot-deployed(just saved scheduler-service.xml).
The following Exception occures due to InitialContext creation fails*(Context context = new InitialContext();)* in FMScheduler.
17:46:27,361 ERROR [STDERR] java.lang.NullPointerException
17:46:27,361 ERROR [STDERR] at org.jboss.mx.loading.UnifiedClassLoader.findR
esources(UnifiedClassLoader.java:374)
17:46:27,361 ERROR [STDERR] at java.lang.ClassLoader.getResources(ClassLoade
r.java:825)
17:46:27,361 ERROR [STDERR] at com.sun.naming.internal.VersionHelper12$5.run
(VersionHelper12.java:145)
17:46:27,361 ERROR [STDERR] at java.security.AccessController.doPrivileged(N
ative Method)
17:46:27,377 ERROR [STDERR] at com.sun.naming.internal.VersionHelper12.getRe
sources(VersionHelper12.java:142)
17:46:27,377 ERROR [STDERR] at com.sun.naming.internal.ResourceManager.getAp
plicationResources(ResourceManager.java:468)
17:46:27,377 ERROR [STDERR] at com.sun.naming.internal.ResourceManager.getIn
itialEnvironment(ResourceManager.java:159)
17:46:27,377 ERROR [STDERR] at javax.naming.InitialContext.init(InitialConte
xt.java:215)
17:46:27,377 ERROR [STDERR] at javax.naming.InitialContext.<init>(InitialCon
text.java:195)
17:46:27,377 ERROR [STDERR] at com.beta.my.utils.FMScheduler.perform
(FMScheduler.java:42)
17:46:27,392 ERROR [STDERR] at org.jboss.varia.scheduler.Scheduler$Listener.
handleNotification(Scheduler.java:1263)
17:46:27,392 ERROR [STDERR] at org.jboss.mx.server.NotificationListenerProxy
.handleNotification(NotificationListenerProxy.java:69)
17:46:27,392 ERROR [STDERR] at javax.management.NotificationBroadcasterSuppo
rt.sendNotification(NotificationBroadcasterSupport.java:95)
17:46:27,392 ERROR [STDERR] at javax.management.timer.Timer.sendNotification
s(Timer.java:441)
17:46:27,392 ERROR [STDERR] at javax.management.timer.Timer.access$000(Timer
.java:31)
17:46:27,408 ERROR [STDERR] at javax.management.timer.Timer$RegisteredNotifi
cation.doRun(Timer.java:612)
17:46:27,408 ERROR [STDERR] at org.jboss.mx.util.SchedulableRunnable.run(Sch
edulableRunnable.java:164)
17:46:27,408 ERROR [STDERR] at org.jboss.mx.util.ThreadPool$Worker.run(Threa
dPool.java:225)
please help me if u have any idea,thanksHi Hamsa,
Did you also create and configure an "Execution Destination"?
You can test the Metadata destination configuration on Web Service Navigator.
On the web service navigator (http://hostname:portnumber/wsnavigator) search in the metatda destination you have created for the service you imported in web dynpro as a model. If you can find it there test it on the ws navigator.
Best regards,
Yasar -
Scheduler Service Status failed - XIMDD Upgrade to 9.1.0.2 BP09
Diagnostic Dashboard Test Result failed Scheduler Service Status
Details:
java.io.FileNotFoundException: http:/10.10.10.11:80/xlScheduler/ddstatus
at sun.nt.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1147)
I noticed that per documentation file <ORACLE_HOME>/j2ee/OAS_INSTANCE_NAME/application-deployments/XIMDD/orion-application.xml should be modified (<imported-shared-libraries></imported-shared-libraries> replaced with .....) But my original file does not have lines <imported-shared-libraries>
Could this be related to the patch level on Oracle Application Server?
I use 10.1.3.3 without additional patches
I would appreciate any feedbackDid anybody have the same error?
-
BI Scheduler Service is not getting started
BI scheduler service is not getting started and showing this error
Could not start the oracle BI Scheduler Service on local computer.
Error 1064:An Exception occured in the service when handling the control requestRefer to Oracle Business Intelligence Infrastructure Installation and Configuration Guide.
Chapter 10 discussed configuring Oracle BI Scheduler.
The steps include:
Create a scheduler schema.
Create tables in the scheduler schema using scripts.
Updating configuration options in Job Manager.
Updating the config files: instanceconfig.xml & credentialstore.xml.
Start the Oracle BI Scheduler.
If all goes well, the BI Scheduler should start. -
BI Scheduler service stuck in stopping state
Whenever I try to stop BI Scheduler service on my machine, it gets stuck in a 'stopping' state and I have to restart the box to get it to work again. When I look at the log, I see the following error.
[nQSError: 12002] Socket communication error at call=recv: (Number=10004) A blocking operation was interrupted by a call to WSACancelBlockingCall
The environment is Windows 2003. If anyone has anyone faced this issue before, can you please share your solution?hi,
No need to restart the box just Click on Task Manager-->Process-->NQScheduler.exe (search for this process) and click on End Process.Thats it and go back to services it will trun to Start mode...
thanks,
saichand.v -
Task scheduler service fails to run after windows update
OS: W2008R2x64
We noticed that our daily tasks are not running anymore since the last windows updates few days ago. When running the task scheduler mmc, we get the following:
Looking further, the service did not seems to be running. If we try to start the service we get the follow message:
"The Task Scheduler service on Local Computer started and then stopped. Some services stop automatically if they are not in use by other services or programs."
Now we noticed that did problem started after following updates, though not all machines are infected!!:
Cumulative Security Update for Internet Explorer 9 for Windows Server 2008 R2 x64 Edition (KB2925418)
Security Update for Windows Server 2008 R2 x64 Edition (KB2930275)
Windows Malicious Software Removal Tool x64 - March 2014 (KB890830)
Update for Windows Server 2008 R2 x64 Edition (KB2929733)Hi,
Here is a similar thread for your reference, please go through it and troubleshoot the issue:
http://answers.microsoft.com/en-us/windows/forum/windows_7-performance/task-scheduler-wont-start/11394a52-d7de-496b-880b-733123579b9b
Regards,
Yan Li
Regards, Yan Li -
How to Stop and Start Scheduler Service
Does anyone know how to stop and start the Scheduler service for Hyperion Financial Reporting in release 9.3.1?
please see the metalink note
How to Start/Stop MWA Services Using Control Scripts adstrtal.sh/adstpall.sh? [ID 731320.1]
This is how i startup and shutdown WMA
for stopping :
1) login to Applications tier
2) To see if the MWA (telnet) server is running use:
ps -ef|grep DPID
3) cd $MWA_TOP/bin
3) ./mwactl.sh -login sysadmin/xxxxx stop_force 10200;
4) check the wma process from OS level
ps -ef|grep mwa
for starting
1) login to Applications tier
2) cd $MWA_TOP/bin
3) ./mwactl.sh -login sysadmin/xxxxx start _force 10200;
4) check the wma process from OS level
ps -ef|grep mwa -
MS Services error 1064 when trying to start Oracle BI Scheduler service
I am trying to configure Oracle BI Scheduler. After working through the config routines the Oracle BI Scheduler Service needs to be re-started. The Microsoft error message I get in the Services dialog is both consistent and persistent: "Could not start the Oracle BI Scheduler on local computer. Error 1064: An exception occurred in the service when handling the control request." This error seems to be well-known among users of this product, but the solution - if there is one - is not at all well-known... at least to me. Any help?
Follow this article and make sure you defined all the steps. If any of these steps are wrong, the service throws the error.
http://oraclebizint.wordpress.com/2007/09/13/oracle-bi-ee-10133-configuring-delivers-ibots/
and also check is scheduler database is up and running.
- Madan -
Can Jdeveloper 10.1.3 deploy web service on OC4J 10.1.2?
Hi all,
Can I use jdeveloper 10.1.3 develop, and deploy web service on OC4J 10.1.2? My jdk version is 1.4.2. Thanks in advance.We don't have a direct connection from JDev 10.1.3 to OC4J 10.1.2 - we do have a connection to OAS 10.1.2.
If you want to deploy to a stand alone OC4J 10.1.2 then just create the WAR file in JDeveloper - and then use the OC4J admin interface to deploy the WAR. -
Error While Starting BI Scheduler Services
[68008] Scheduler Error: [nQSError: 67042] The Scheduler Configuration is incorrect.
[nQSError: 67004] Registry value for SchedulerScriptPath not set.
Any Suggestions?
let me know
Thanks
RaghuResolved The Issue. Ran Schconfig and Reset the Password (Administrator). Craeted Schema tables.
Scheduler Services has started now. -
Cannot start Oracle BI Scheduler service ---pls help.
Hi all,
I'm new in OBIEE.
I already installed and created some reports and dashboards in OBIEE. I found the problems that they are not updated data when new data loaded into DB.
I tried to start the Oracle BI Scheduler service but it has had the error like the message below;
"The description for Event ID ( 21 ) in Source ( Oracle BI Scheduler ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details.
The following information is part of the event: [68008] Scheduler Error: [nQSError: 67042] The Scheduler Configuration is incorrect.
[nQSError: 67004] Registry value for SchedulerScriptPath not set.."
Could anyone suggest me how would I be able to solve this error ?
Thank you in advance.
NNNhi
First I do thank you for your answer quickly.
For now, I have tried to follow your suggestion but I found a new error when I start bi scheduler service.
==========================================================================================
The description for Event ID ( 21 ) in Source ( Oracle BI Scheduler ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: [68008] Scheduler Error:
Current Table: S_NQ_JOB.
[nQSError: 17001] Oracle Error code: 942, message: ORA-00942: table or view does not exist
at OCI call OCIStmtExecute.
[nQSError: 17010] SQL statement preparation failed.
Current Table: S_NQ_JOB_PARAM.
[nQSError: 17001] Oracle Error code: 942, message: ORA-00942: table or view does not exist
at OCI call OCIStmtExecute.
[nQSError: 17010] SQL statement preparation failed.
Current Table: S_NQ_INSTANCE.
[nQSError: 17001] Oracle Error code: 942, message: ORA-00942: table or view does not exist
at OCI call OCIStmtExecute.
[nQSError: 17010] SQL statement preparation failed.
Current Table: S_NQ_ERR_MSG.
[nQSError: 17001] Oracle Error code: 942, message: ORA-00942: table or view does not exist
at OCI call OCIStmtExecute.
[nQSError: 17010] SQL statement preparation failed..
===================================================================
Any concern that I should know and how can I hanle this error ?
Thank you -
Oracle BI Scheduler service inactive
Hi all, when I try to save an Ibot, I get the following error:
Oracle BI Scheduler Error: [nQSError: 76012] The Scheduler client connection was closed.
Impactos del error
Códigos de error: GYFPI8RN
I have the Scheduler Service running and the Presentation services is also running. However, when I started the Scheduler Service, I got the following message in the log:
2010-02-24 12:38:30
[68013] Service started.
2010-02-24 12:38:30
Service started.
2010-02-24 12:38:30
[71076] Oracle BI Scheduler localhost:9705 has been changed to an Inactive state.
How can I change the state from Inactive to Active, if this is the problem?
Thanks in advance!hi elena, i am encountering same issue now but when i checked the instanceconfig.xml, there is no tag for PartOfCluster. May I know the format for this tag and where to put it in the instanceconfig.xml?
thanks a lot!
Maybe you are looking for
-
Help with script for "Import AD users from CSV with checks first"
Hi everyone. Can anyone tell me if i am on the right track here? I want to be able to provide a CSV with users and import into a new AD domain/forest. But i know there already are some AD accounts so i need to run some checks. For now i am checking o
-
refuses to play the voice over and the songs, doesnt even plays voiceovers which were allready placed its mute now HELP PLEASE
-
Problems after updating to 2.0
We have an original iPhone, purchased on 6/29/2007. We updated iTunes to 7.7 and then updated iPhone to 2.0 on Saturday afternoon. Ever since then the phone just turns itself off. We can usually get it turned back on but as soon as the screen goes to
-
Is there any tools in an Oracle database or by Oracle to encrypt data in the database in 8.05 database or earlier? In versions above 8.05 - 8i and above, is the PL/SQL Encryption Toolkit free with the database or is it an add on package. Thanks
-
SAP Delivered Content Variable (Help Docs) on Time Chars Variables
Hi, Is there any Helps docs available any where abt the functionality of Content Variables delvered by SAP (using SMOD) I am looking for a variable which selects Based on Fiscal Period/Year...that selects Last 12 Closed Period. Lets assume current p