A question about Job schdueling in cluster

hi all
I have a weblogic cluster and want to use the build-in commonj support to do some scheduling work.the pdf version document "Timer and Work Manager API (CommonJ) Programmer's Guide" has something like this on page 7,"The Timer Listener class must be pesent in the server system classpath" .does it mean that I should not put it in web-inf/classes?instead, I should jar it and put the jar somewhere inside wls_home/server/lib or ext ?
thanks a lot :-]

hi mchellap
here is another question about timers in the cluster,
1) I implemented a serializable timerlistener which I want to make it cluster aware
2) put the JNDI items "timer/MyTimer" in web.xml which is to commonj.timers.TimerManager
3) I created a datasource on cluster in console with the tables created in db
after the cluster is started,the job is to print out the "new Date()" in console every 40 second,and it worked very well
I am expecting something in the db table,but there is nothing,not even a exception ,anything wrong here?
thanks a lot

Similar Messages

  • A question about job

    Hi Expert,
    I have a question about the job count in the system. If I create a lot of jobs at the same time, for example, 10,000 or even more. What will happend? Is this possible? Does system have any limitation over the job count at the same time?
    Thanks in advance,
    Best Regards, Johnney.
    Edited by: Johnney Wu on Jun 8, 2009 4:08 PM

    hi ,
    please check this link...
    Max jobs
    hope it helps

  • A question about Job Creation

    Hi Expert,
    By JOB_OPEN, JOB_SUBMIT, JOB_CLOSE, we can schedule a job.
    When the first two FMs is executed, the job is still in 'scheduled' status. Only when the FM JOB_CLOSE is executed, the job will be in 'released' status.
    In my applicaiton, I need to check the job status. If the job is in 'scheduled' status, I think that the job creation is not successsful; Otherwise, the job creation is successful.
    But the issue is, if job is in 'scheduled' status, how can I know whether all three FMs is executed in the job creation or only JOB_OPEN and JOB_SUBMIT are executed while JOB_CLOSE still not starts?
    In the later case, the applicaiton should wait some time and check the job later.
    Thanks for your support
    Best Regards, Johnney.

    Hi,
    Suppose there two APIs.
    In API1, there are four steps:
    1. call FM JOB_OPEN
    2. call FM JOB_SUBMIT
    3. Save the Jobname and Jobcount in the DB
    4. CAll JOB_CLOSE
    in  API2, there are two steps:
    1. get the Jobname and Jobcount from the DB
    2. Call FM BP_JOBLIST_STATUS_GET to get the job status.
    API1 and API2 are executed asynchronically. Consider the following case:
    After STEP3 is executed(STEP4 has not yet been started), the API2 starts to run. Now the job status that API2 get is 'Scheduled'.
    This is not correct, because the job creation is still not finished. The API2 should wait some time and check later.
    So my question, is how API2 know that the job creation is not finished.
    Thanks & Best Regards, Johnney.

  • Questions about job scheduling

    i am a newbie in oracle, and i have several quesions about the scheduler.
    1 If I just have one job class, and there are many concurrent jobs inside. Then, how does oracle exactly schedule those jobs with the same priority?(Will they run for several time slices each time or be executed until completed one by one?)
    2 How does oracle exactly schedule those jobs with different priorities?
    3 If I have two job classes, how will oracle schedule those jobs in these two classes?(each of them is assigned some time slices based on the cpu allocation?)
    I have checked many turorials from oracle, but I have not got any detailed explanations or examples to show how oracle will exactly do it. I am currently doing some QoS management in an application based on oracle, so I am in great need of those information and details inside the scheduler.
    Thanks a lot.

    Hi,
    We have a situation here. We have a Info Warehouse, against which Batch Jobs are scheduled (around 200) using a 3rd party scheduling tool. The window for these jobs is 9pm-8am EST. All the batch jobs were completed withing the SLA window of 11 hours everyday until recently. The data has been growing in the database and the batch jobs have started taking longer time to complete and hence missing out on the SLA.
    We are thinking of using Database Resource Manager inorder to put the Batch Jobs in a Resource Group and bind it to Highest priotiy during the SLA window. Points to Ponder over are :
    Let's assume that we have put the Bacth Jobs in Hight Priority resource group with 80% CPU allocation and it comes into effect at 9pm everyday (that's when the jobs start executing). And, we have put all other users in a different resource group with Low priority (say 10%).
    The situation here is : - What if a user logs into the system at, say 8:45pm. and initiates execution of a huge reporting query against dataset. Assuming that the quesry takes about 60 minutes (during idle database condition), initially it would acquire all the CPU which it needs (as there is no load on the db at this time), and the jobs are scheduled to start at 9pm.
    Q: Will the priority for jobs set per the resource directives to the resource group for jobs take preceedence over the CPU already held by the low priority User?
    -- If Yes, what happens to the User session?
    -- If No, what are the possible scenarios?
    Q: Also, is it feasible to issue a KILL ALL SESSIONS just before the scheduled batch jobs, so that the jobs have a clear path for execution (taking into account that we have already prioritized the Jobs into High Priority Resouce group). So, that we are sure that there is no user connection right before the batch jobs start. and once they start, the resource allocation is going to be done based on the Resource Group priority and CPU assigned to respective group.?
    Q: Or, if it is more feasibile/beneficial to have all other user sessions switch to lower priority after a defined interval, so that it gives the CPU for the jobs.
    Q: Is there a difference between the Database Resource Manager in 9i/10g/11i.
    Any detailed explanation would be appreciated.
    Thanks
    Gaurav

  • Question about:Job Pricing & Basic Pay Range Restriction...

    Hi Experts,
    I did servral settings to acheive Basic Pay Range Restriction(Warning) which uses Job Pricing concept:
    1-Define Pay Grades And Levels
        In this step, I build a records to describe a payment range for  certain evaluation points
    2-Create a record of infotype 1050(Evaluation Results) for certain position(let it be 10000001), in which I evaluate this position as 20 points.
    3-Assign 10000001 to an employee
    But when I input 0008 baisc pay amount for this employee,  range check does not happen as expected. Is there any steps I missed?
    It's urgent.
    Thanks in adv.
    Br,Kee

    In-line to tht check the IT1005
    http://help.sap.com/saphelp_47x200/helpdata/en/66/9bb8923aff11d189370000e829fbbd/frameset.htm

  • Questions about job postings...

    Hi ALL:
               Do we have a unique job posting forum here?
    I require candidates for a CRM manager post....
    Where do I post this requirement?
    Any help would be appreciated.
    I am sorry if this mail is misplaced.
    Thanks and Regards,
    Hetal Shah

    sorry....you can send me the resumes at [email protected]
    thanks again..
    Hetal Shah

  • Question about job overview

    Hello Gurus,
             for RSM37, I found some job record with me as the user,  for example " SAP_CCMS_MONI_BATCH_DP", "BI_PROCESS_COMPRESS". but I did not do anything on this system , so I wonder why those jobs are sticking on me? , and what does this user column really refer to?
    Many thanks

    HI,
    Chk this help link, it will give some idea:
    http://help.sap.com/saphelp_nw04/helpdata/en/c3/0dec3b6e011341e10000000a114084/content.htm
    Hope this helps.
    thanks,
    rahul

  • Question about job offer

    Hi,
    Is it allowed here to put job offer?
    Regards,
    Daniel

    No, Daniel, that is discouraged.
    http://www.sun.com/termsofuse.jsp
    http://developers.sun.com/aboutsdn/index.html
    http://www.sun.com/privacy/index.html

  • What causes "Timed out server" in WL Cluster and a question about session in WL Cluster

              Hi.
              We are using Weblogic 5.1 with SP 8. We have been encountering a problem in our
              clustered environment. We setup our (clustered)environment to have 3 instances(WL1,
              WL2, WL3) of weblogic running in one box. When one instance, let say WL1, responds
              to a request(1st request for a session), the session is binded to that instance
              till the session is terminated/expired. Which means succeeding request for that
              session can only be served by WL1(we tried stopping WL1 but WL2 and WL3 wont accept
              the request--which only causes the page to time out). Shouldnt it behave in such
              a way that other instances can get serve the request(failover)?
              Also, occasionally we encounter "Time out server" in one of the instance of WL.
              When this happens, that instance no longer takes in requests. Would anyone know
              what causes "Time out server"? Does it only happen in clustered environment?
              Need some help ASAP.
              Tnx in adv.
              

              What do you have in front of WebLogic for Load Balancing?
              What are the IP addresses/hostnames of your three instances? What hostname are
              you using in your http requests? Is your DNS configured to do failover?
              Make sure that you have session replication turned on. See the edocs.bea.com.
              Mike Reiche
              "clstrproblem" <[email protected]> wrote:
              >
              >Hi.
              >
              >We are using Weblogic 5.1 with SP 8. We have been encountering a problem
              >in our
              >clustered environment. We setup our (clustered)environment to have 3
              >instances(WL1,
              >WL2, WL3) of weblogic running in one box. When one instance, let say
              >WL1, responds
              >to a request(1st request for a session), the session is binded to that
              >instance
              >till the session is terminated/expired. Which means succeeding request
              >for that
              >session can only be served by WL1(we tried stopping WL1 but WL2 and WL3
              >wont accept
              >the request--which only causes the page to time out). Shouldnt it behave
              >in such
              >a way that other instances can get serve the request(failover)?
              >
              >Also, occasionally we encounter "Time out server" in one of the instance
              >of WL.
              >When this happens, that instance no longer takes in requests. Would anyone
              >know
              >what causes "Time out server"? Does it only happen in clustered environment?
              >
              >
              >Need some help ASAP.
              >
              >Tnx in adv.
              >
              >
              >
              >
              >
              >
              >
              

  • A question about cluster

    Hi all,
    I have a question about the usage of cluster. I create a cluaster
    which includes three indicators on the front panel, but I can't use
    unbundle function on the diagram. If I change the indicator to control,
    it works. I didn't find on the manual that the unbundle function only
    accept cluster of control as input.
    Thanks for your help!
    Regards,
    Tao

    This is because of the way dataflow programming works. It probably didn't
    explicitly mention.
    Labview has data sources (controls, inputs) and data sinks (indicators,
    outputs). Unbundling accepts cluster as input and outputs the individual
    pieces of data. Similarly bundling accepts individual pieces of data as
    input and ouputs a cluster. So logically your cluster must be a control
    (input) for unbundling, and an indicator (output) for bundling.
    If I'm misunderstanding the question or oversimplifying the problem email me
    or post again.
    -joey
    "tsong" wrote in message news:b11154$qmq$[email protected]..
    > Hi all,
    >
    > I have a question about the usage of cluster. I create a cluaster
    > which includes three indicators on the front panel, but I can'
    t use
    > unbundle function on the diagram. If I change the indicator to control,
    > it works. I didn't find on the manual that the unbundle function only
    > accept cluster of control as input.
    >
    > Thanks for your help!
    >
    > Regards,
    >
    > Tao
    >
    >
    >

  • Question about adding an Extra Node to SOFS cluster

    Hi, I have a fully functioning SOFS cluster, with two nodes, it uses SAN FC storage, Not SAS JBODS. its running about 100VM's in production at the moment.
    Both my nodes currently sit on one blade chassis, but for resiliency, I want to add another node from a blade chassis in our secondary onsite smaller DC.
    I've done plenty of cluster node upgrades before on SQL and Hyper-V , but never with a SOFS cluster. 
    I have the third node fully prepaired, it can see the Disks the FC Luns, on the SAN (using powerpath, disk manager) and all the roles are installed.
    so in theory I can just add this node in the cluster manager and it should all be good, my question is has anyone else done this, and is there anything else I should be aware of, and what's the best way to check the new node will function , and be able
    to migrate the File role over without issues. I know I can run a validation when adding the node, I presume this is the best option ?
    cannot find much information on the web about expanding a SOFS cluster.
    any advice or information would be greatfully received !!
    cheers
    Mark

    Hi Mark,
    Sorry for the delay in reply.
    As you said there is no much information which related to add a node to a SOFS cluster.
    The only ones I could find is related to System Center (VMM):
    How to Add a Node to a Scale-Out File Server in VMM
    http://technet.microsoft.com/en-us/library/dn466530.aspx
    However adding a node to SOFS cluster should be simple as you just prepared. You can have a try and see the result. 
    If you have any feedback on our support, please send to [email protected]

  • Question about DBCA generate script o create RAC database 2 node cluster

    Question about creating two node RAC database 11g after installing and configuration 11g clusterware. I've used DBCA to generate script to create a rac database. I've set
    environment variable ORACLE_SID=RAC and the creating script creates instance of RAC1 and RAC2. My understanding is that each node will represent a node, however there should only be one database with a name of 'RAC'. Please advise

    You are getting your terminology mixed up.
    You only have one database. Take a look, there are one set of datafiles on shared storage.
    You have 2 instances which are accessing one database.
    Database name is RAC. Instance names are RAC1, RAC2, etc, etc.
    Also, if you look at the listener configuration and if your tnsnames is setup properly then connecting to RAC will connect you to either one of the instances wheras connecting to RAC1 will connect you to that instance.

  • Has anyone successfully sent a motion job to a cluster?

    I am trying to submit batch jobs to Compressor that have a motion element associated with them Whenever I submit jobs from the command line to Compressor via a cluster that do not contain Motion elements the jobs submit and render fine.
    When I try and submit a batch that requires Motion I get timeout errors with a "Service Down" message.
    I've filed the question under QMaster too (see here for thread: http://discussions.apple.com/thread.jspa?threadID=1984897&tstart=0) which details my setup.
    I am at a loss as to why Motion prevents jobs from being rendered once submitted to the cluster. The same problem occurs when I submit via Compressor - so it's not a command line only problem.
    Any suggestions would be very much appreciated.

    Hi Patrick,
    Thanks for the reply. I've been hammering away at this for two weeks solid now. I ended up having an almost 2 hour discussion with Apple on it Thursday. So here is what they told me...
    1. A "headless" installation is not supported (i.e. plug in a monitor to the server otherwise it isn't a supported setup).
    2. The graphics card I have in the server, although rated between two compatible devices, is not officially supported
    So basically I ended up with "it's not possible running it from OS X Server, with Motion in a headless setup".
    Well I'm a die-hard when it comes to being told "it can't" and so this is where I am at.
    I reinstalled Final Cut on the server. I then set up a cluster with services and as a controller. Next I checked my Motion files to make sure they were accessing assets over an NFS connection (even though they were on the local machine - and this might have been the problem all along). Started services. Setup QAdministrator to manage the instances and submitted the jobs.
    Success!! Loads of unprintable words were spewed with a few thanks to various beings in the universe. I basically had set up the cluster and it worked as advertised with Motion. I then installed the latest updates - boom. Everything stopped working. More expletives and back to square one.
    After uninstalling and reinstalling as per Apple's recommended route (see link in previous post), I now have an install working (without the latest updates) that renders properly. Here's the rub - and I think I might be pushing the envelope of feasibility here. When I submit a large number of jobs (say, 1000 - 4000) the render queue builds fine. The server renders multiple Motion jobs at once (in my test case 3 jobs at a time using 3 instances). After about 1000 jobs it craps out and dies. The only way to get it working again is to install the QMaster Service Node installer again. The jobs will pick up right where they left off, but now I'm babysitting renders...
    As far as I'm concerned I've still not finished solving this issue. I have to be able to farm out Motion jobs to a cluster (the sheer volume of render jobs to be done means I have no choice or the work just won't get done).
    What I need to do is figure out how to get a stable environment...
    So if anyone is following this. That's where I'm at. I'm still very much open to ideas, but I can definitely, without a doubt say that submitting motion jobs to a cluster IS possible and it works.
    So I'm closing this question.

  • Follow-up question about forms and SharePoint Online

    I asked a question about life after InfoPath earlier, and got a good answer:
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/fb23b3d9-8a09-4267-aab5-09929f6a3082/life-after-infopath-seeking-advice
    After looking at all of the limitations of SharePoint Online, I'm wondering how developers are dealing with the limitations. Lets say you are asked to develop something that has complex logic, including fetching data from external web services, dynamically
    displaying parts of a process to people depending on role, and ending up with a printable document. In our on-premises environment, InfoPath is well suited to this task, with some code behind for some things. Or, if not using InfoPath, we would use application
    pages and workflow.
    Neither of those are available in SharePoint Online, so what would you do?

    Some things, such as the conditional display of content, can be done via JavaScript. More advanced items, such as integrating external web services would likely require a SharePoint "app". A SharePoint app is essentially a link to a separate site
    that is running an asp.net web app (or PHP, or whatever). This asp.net site can do anything it needs with any web services, or conditional formatting, or anything. Because it's registered as a SharePoint app, it can also call back into the SharePoint site
    and work with data. So, a SharePoint App could present the user with a robust form that simply sends the data back to a SharePoint list. The SharePoint app can also be surfaced on the SharePoint site itself in an iframe, so the user won't know that the form
    is hosted by another server.
    By the way, the ideas behind the app model permeate the entire SharePoint environment: instead of having the SharePoint server itself run all kinds of custom business logic, that workload is handled by other servers, so the SharePoint servers can be focused
    on running the core bits of SharePoint. InfoPath puts a large load on the servers, so it's out.  XSLT list views also put a load on the server, so they're also out. SSRS is an amazingly fantastic tool, but is not supported in the cloud (and there's no
    alternative). Timer jobs, event handlers, workflow, and many other things have been re-architected to take the load off the SharePoint servers.
    Mike G.

  • Questions about mac mini iTunes server, streaming to macbook pro, ipads, etc.

    I'm thinking about getting a mac mini to work with my NAS as a iTunes server. I have a bunch of questions about this. I will have two iPhones, a few iPads, and a laptop that will be accessing the files. I have iTunes match. This is basically to keep an always on computer for hosting the music/movies. My questions are as follows . . .
    #1 Are there any good, comprehensive guides to show you how to do this?
    #2 Can the movies be accessed when not at home on the shared network?
    #3 Can the iPads or the macbook pro download the shared movies to be stored locally?
    #4 Back to #3, how will it work on my macbook pro with listening to music (I have iTunes match)? Say i go to library and I break out my macbook pro and I don't have internet. What happens if I download music while at home onto my macbook pro to listen to it when I go to the library? Will i start a new library on my macbook pro? How will that mesh with the home server when I come back.
    #5 Is there a way to mirror files or folders? So something that I have on my macbook pro will also mirror on the home server.
    Thanks for your help on this. I'll post any follow up questions.

    seanfenton wrote:
    1. I want to replace the Optical drive with a 2TB SATA. can I use this 2.5 inch?
    I do not know if it is the same model number, but this one will work in your MBP:
    http://eshop.macsales.com/item/SEAGATE%20OWC/ST2000LM003M/
    2. I want to replace the HD with a 128GB SSD 840. When I replace these drives, will my OS still be in tact? I have never done this job before.
    No. You will have to format the drives in Disk Utility>Erase to Mac OS Extended (Journaled) and then install the OSX by using the original install disks.
    3.) I want to replace the ram sticks to max capacity. This is 2 2GB sticks, Correct?
    No.  An early 17" 2008 MBP will accept 6GB RAM with the following specifications:  200-pin PC2-5300 (667MHz) DDR2 SO-DIMM.  The best sources of Mac compatible RAM are OWC and Crucial.
    4.) Most difficult...
    I want to extend the monitor wirelessly to a projector. I thought about using Apple TV and Airplay. However, support for airplay is for MacBooks 2011 and newer. I thought of using a PS3 and the media server, but I think this brings on a format compatibility issue. (my library is so large I could not afford to convert all my movies to MP4.) So, how would you recommend I put my extended monitor with VLC player onto a projector?
    Could I possibly connect the MBP to a Mac Mini as an extension? would this work natively? I would rather use a VGA cord than F with 3rd party app BS.
    Cannot help you there.
    5..) I want to Bypass iTunes this time around. I would prefer to use Finder and VLC to manage all of my music. I mostly play all my music on shuffle, so, could I create a playlist on VLC with all of my music and play it randomly? (im sure this is possible but i'd like to organize all my plans with confirmation.)
    You are not obligated to use iTunes.
    6.) Can i upgrade the keyboard to backlit? i've read that this is possible.
    All MBPs have back lighted keyboards.  Your either needs a NVRAM reset or a repair.
    Ciao.

Maybe you are looking for

  • Problem while writing in a file

    Hi, i want to write some bytes in a file but it is producing an error error: ==== java.io.FileNotFoundException: C:\Documents and Settings\rrus\My Documents\data.pkcs7data (The system cannot find the path specified) code: ==== File obj_file = new Fil

  • SmartForms: Trigger NEXT page in a loop Not in MAIN Window?

    Thanks for all of your responses. I know understand that my list I am creating in my loop does not trigger to NEXT page because it is not in my MAIN Window. I am a little leary of moving this non MAIN window logic into my MAIN window, because I final

  • Form Results Confirmation

    Hi there, I've seen this effect on a website where when somebody submits a form, instead of taking them to a new page, it simply changes the text on the same page. I would greatly like to know how to do this. Where I have seen it can be found by visi

  • Solution for fingerprint scanner failure after ThinkVantage upgrade!

    Hi Everyone, I keep seeing a number of posts about problems with the fingerprint scanner after you let the ThinkVantage updater run and update the fingerprint software.  I found a solution last week and it has been working flawlessly since then.  I p

  • Stop sign on first boot (mac mini 2013)

    Hello, I've just turned on for the first time my Mac mini, and it seems something is wrong... apple sign appears for 30 secongs, and then stop sign shows and this is the end of boot... help people....