WL Time Service Questions
Hello -
A few questions about Weblogic Time Services:
1. What is BEA's policy on supporting this functionality for future
Weblogic releases?
2. Will BEA be supporting the JMX javax.management.timer functionality
as a replacement in future releases?
3. What happens if an EJB schedules a trigger and the application
containing the EJB is not deployed at the time of the trigger (or has
been redeployed in between)?
4. Any suggestions for persistence of scheduled triggers between
application deployments?
Can anyone suggest a J2EE-compliant alternative to these services?
Thanks
Peter
Peter Mularien wrote:
1. What is BEA's policy on supporting this functionality for future
Weblogic releases?I believe it will be deprecated in the next major release (although it
will remain around for at least 2 releases after deprecation).Do you all have anything planned yet to replace it?There is an internal proposal for "TimerDrivenBeans". I wish JavaSoft would
just define an appropriate J2EE API for this, and be done with it.
>
>
2. Will BEA be supporting the JMX javax.management.timer functionality
as a replacement in future releases?This is a possibility. In fact, it probably works today. There is
also the java.util.Timer API. I'm not too keen on it, as it spawns a
thread, rather than having an ability to use a thread pool.I note that JBoss is one app server which does support the
javax.management.timer functionality. But they seem to have embraced JMX
even more fully than Weblogic did in 6.x.Yes, I noticed that too.
>
>
>>>
3. What happens if an EJB schedules a trigger and the application
containing the EJB is not deployed at the time of the trigger (or
has been redeployed in between)?If the bean is not present, I suppose the timer will receive an
exception (and if it's not caught, I believe the timer will be
cancelled). If it's redeployed, it should just work, but I'm not 100%
sure.I suppose I'll try it out and report back here.
4. Any suggestions for persistence of scheduled triggers between
application deployments?You'd have to have your own persistence mechanism... we don't have a
solution for this. Except for using JMS messages with birth times.I noticed that JMS birth times was a new feature in 6.1. That is a
Weblogic-specific feature, though, and not covered in the JMS spec,
correct?Yes, WebLogic specific.
It wouldn't be terribly difficult for us to wrap the WL Time Service
functionality with a persistence layer, either.I think that would be a really nice feature.
>
Can anyone suggest a J2EE-compliant alternative to these services?Our JMS service has an ability to have a cron-like message which can
drive a MessageDrivenBean, or, I believe, a message that has a "birth
time" which will cause the message to be delivered at a particular time
in the future.I'll explore that option as well. Thanks for your detailed responses.
Peter
Similar Messages
-
Hi All,
I'm getting the below error in My SHarepoint 2013 search Administration page.
Crawler background activity - The search application 'Search Service Application 1' on server "" is not provisioned. Confirm that the Microsoft SharePoint Foundation Timer service and Central Administration service are running
on the server.
and when i click on Crawl Log and content source
it throws the below error
The search service is currently offline. Visit the Services on Server page in SharePoint Central Administration to verify whether
the service is enabled. This might also be because an indexer move is in progress
When i check the search status
Get-SPEnterpriseSearchServiceInstance, it shows all the components are online.
As of now search service application is online and search is working.But not sure why it throws the above error.
I have restarted timer service,search service in services.msc and cleared the sharepoint cache as well.
But no luck,This is happening in my prodcution environment.
Any help will be greatly appreciated.
There are the logs i have found
05/23/2014 13:03:22.71 w3wp.exe (0x46E70) 0x4CBA4 SharePoint Foundation Logging Correlation Data xmnv Medium Name=Request (GET:http://dca-app-617:90/_admin/search/listcontentsources.aspx?appid=e830c1b3%2Dc3e4%2D4097%2D85fd%2Daa5248346d2e) d4c6939c-b10d-4000-6d95-14caeefe67df
05/23/2014 13:03:22.71 w3wp.exe (0x46E70) 0x4CBA4 SharePoint Foundation Authentication Authorization agb9s Medium Non-OAuth request. IsAuthenticated=True, UserIdentityName=, ClaimsCount=0 d4c6939c-b10d-4000-6d95-14caeefe67df
05/23/2014 13:03:22.73 w3wp.exe (0x46E70) 0x4CBA4 SharePoint Foundation Logging Correlation Data xmnv Medium Site=/ d4c6939c-b10d-4000-6d95-14caeefe67df
05/23/2014 13:03:22.79 w3wp.exe (0x46E70) 0x4CBA4 SharePoint Server Search Administration djs2 High [Forced due to logging gap, cached @ 05/23/2014 13:03:22.76, Original Level: VerboseEx] {0} d4c6939c-b10d-4000-6d95-14caeefe67df
05/23/2014 13:03:22.79 w3wp.exe (0x46E70) 0x4CBA4 SharePoint Server Database 8acb High [Forced due to logging gap, Original Level: VerboseEx] Reverting to process identity d4c6939c-b10d-4000-6d95-14caeefe67df
05/23/2014 13:03:22.80 w3wp.exe (0x46E70) 0x4CBA4 SharePoint Server Search Administration djj1 High Unable to find application 'b9c8106c-c7ed-4eb3-96c9-ae1881ffb695' d4c6939c-b10d-4000-6d95-14caeefe67df
05/23/2014 13:03:22.82 w3wp.exe (0x46E70) 0x4CBA4 SharePoint Server Search Administration djj1 High Unable to find application 'b9c8106c-c7ed-4eb3-96c9-ae1881ffb695' d4c6939c-b10d-4000-6d95-14caeefe67df
05/23/2014 13:03:22.82 w3wp.exe (0x46E70) 0x4CBA4 SharePoint Foundation General 8nca Medium Application error when access /_admin/search/listcontentsources.aspx, Error=The search service is currently offline. Visit the Services
on Server page in SharePoint Central Administration to verify whether the service is enabled. This might also be because an indexer move is in progress. at Microsoft.Office.Server.Search.Internal.UI.SearchCentralAdminPageBase.ErrorHandler(Object
sender, EventArgs e) at Microsoft.Office.Server.Search.Internal.UI.SearchCentralAdminPageBase.OnError(EventArgs e) at System.Web.UI.Page.HandleError(Exception e) at System.Web.UI.Page.ProcessRequestMain(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest()
at System.Web.UI.Page.ProcessRequest(HttpContext context) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep
step, Boolean& completedSynchronously) d4c6939c-b10d-4000-6d95-14caeefe67df
05/23/2014 13:03:22.82 w3wp.exe (0x46E70) 0x4CBA4 SharePoint Foundation Runtime tkau Unexpected Microsoft.SharePoint.SPException: The search service is currently offline. Visit the Services on Server page in SharePoint Central
Administration to verify whether the service is enabled. This might also be because an indexer move is in progress. at Microsoft.Office.Server.Search.Internal.UI.SearchCentralAdminPageBase.ErrorHandler(Object sender, EventArgs e)
at Microsoft.Office.Server.Search.Internal.UI.SearchCentralAdminPageBase.OnError(EventArgs e) at System.Web.UI.Page.HandleError(Exception e) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint,
Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest()
at System.Web.UI.Page.ProcessRequest(HttpContext context) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep
step, Boolean& completedSynchronously) d4c6939c-b10d-4000-6d95-14caeefe67df
05/23/2014 13:03:22.82 w3wp.exe (0x46E70) 0x4CBA4 SharePoint Foundation General ajlz0 High Getting Error Message for Exception Microsoft.SharePoint.SPException: The search service is currently offline. Visit the Services on
Server page in SharePoint Central Administration to verify whether the service is enabled. This might also be because an indexer move is in progress. at Microsoft.Office.Server.Search.Internal.UI.SearchCentralAdminPageBase.ErrorHandler(Object
sender, EventArgs e) at Microsoft.Office.Server.Search.Internal.UI.SearchCentralAdminPageBase.OnError(EventArgs e) at System.Web.UI.Page.HandleError(Exception e) at System.Web.UI.Page.ProcessRequestMain(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest()
at System.Web.UI.Page.ProcessRequest(HttpContext context) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep
step, Boolean& completedSynchronously) d4c6939c-b10d-4000-6d95-14caeefe67df
05/23/2014 13:03:22.82 w3wp.exe (0x46E70) 0x4CBA4 SharePoint Foundation General aat87 Monitorable d4c6939c-b10d-4000-6d95-14caeefe67df
05/23/2014 13:03:22.82 w3wp.exe (0x46E70) 0x4CBA4 SharePoint Foundation DistributedCache ah24q Unexpected SPDistributedCachePointerWrapper::InitializeDataCacheFactory - No cache hosts are present in the farm. d4c6939c-b10d-4000-6d95-14caeefe67df
05/23/2014 13:03:22.82 w3wp.exe (0x46E70) 0x4CBA4 SharePoint Foundation DistributedCache ah24w Unexpected Unexpected Exception in SPDistributedCachePointerWrapper::InitializeDataCacheFactory for usage 'DistributedViewStateCache'
- Exception 'System.InvalidOperationException: SPDistributedCachePointerWrapper::InitializeDataCacheFactory - No cache hosts present in the farm. at Microsoft.SharePoint.DistributedCaching.SPDistributedCachePointerWrapper.InitializeDataCacheFactory()'. d4c6939c-b10d-4000-6d95-14caeefe67df
05/23/2014 13:03:22.82 w3wp.exe (0x46E70) 0x4CBA4 SharePoint Foundation General ajb4s Monitorable ViewStateLog: Failed to write to the velocity cache:
http://dca-app-617:90/_admin/search/listcontentsources.aspx?appid=e830c1b3-c3e4-4097-85fd-aa5248346d2e d4c6939c-b10d-4000-6d95-14caeefe67df
05/23/2014 13:03:22.82 w3wp.exe (0x46E70) 0x4CBA4 SharePoint Foundation Monitoring b4ly Medium Leaving Monitored Scope (Request (GET:http://dca-app-617:90/_admin/search/listcontentsources.aspx?appid=e830c1b3%2Dc3e4%2D4097%2D85fd%2Daa5248346d2e)).
Execution Time=109.695855199474 d4c6939c-b10d-4000-6d95-14caeefe67df
Anil LokaPlease try below mentioned steps:
1. Central Administration > Monitoring > Review job definitions > Look for following timer job "Application Server Administration Service Timer Job" > Disable
2. Then open windows administrative services (services.msc), stop SharePoint Timer Service
3. Clear SharePoint Timer configuration cache by following steps mentioned in below blog:
http://blogs.msdn.com/b/jamesway/archive/2011/05/23/sharepoint-2010-clearing-the-configuration-cache.aspx
4. Start SharePoint Timer Service and give it a few seconds so that the new XML files from the location you deleted then are re-populated.
5.Central Administration > Monitoring > Review job definitions > Look for following timer job "Application Server Administration Service" Timer Job > Enable
Please ensure that you mark a question as Answered once you receive a satisfactory response. -
Real time interview questions in XI
Hi guys,
Can anyone send me Real time interview questions in XI to my mail id [email protected] will be awarded.
Thanks in advanceHi , check some of the FAQS.
Some of them not answered.
. Which of the following are Components of XI
MDM, Adapter Framework, RWB, SLD, IS
-à
2. What is a XI Pipeline?
3. Source element occurs once whereas the target element it is mapped to is produced 3 times when the mapping is executed. Why does this happen?
4. A context object is used in place of what?
5. what is UDF? What are the mandatory functions that you use in a Java based UDF
a. Init() , Execute(), Destroy(), Run(), SetParameter()
6. ABAP mapping is implemented using what?
7. When you dont find the ABAP mapping option in IR what do u do?
8. Any of the of different Mapping types (Java, MM, XSLT, ABAP) can be called in any order for Interface mapping ? True of False
9. Is true case sensitive in case of a Boolean function and can 1 be interpreted a Boolean TRUE?
10. what is Context Changes ?
11. What are the protocols that the Mail adapter supports
12. Why is a SAP BC used?
13. WSDL representation of a Message Interface is used to generate what kind of proxies?
a. ABAP Proxies
b. Java Proxies
c. Neither ABAP nor Java
d. Both ABAP and Java proxies
14. Would you configure a Sender IDOC communication channel?
15. You are required to upload additional libraries for the JMS adapter. How would you do it?
16. QoS that a Sender JDBC communication channel supports
17. What are the transport protocols a JMS adapter supports?
18. Would you configure the Integration Server as a Logical system in a scenario where IDOCs are being sent from a SAP R/3 system to XI?
19. Why do we specify the Logical System name in the SLD?
20. The pre-requisites for sending IDOCs to an XI system
a. Connection parameters must be maintained in SWCV
b. User must have administration rights in XI
c. The IDOC metadata must be imported into IR
21. You need to post a transaction using a RFC. How would you accomplish this?
a. Use a async BAPI call with implicit Commit?
b. Use a async BAPI call with explicit Commit?
22. what is PCK? What is the necessity for a PCK?
23. In a company the Central Adapter Engine is installed close to the business partner site. Why do you this this is done?
24. The flow of a message entering the Adapter Engine from Integration Server is--
a. It is queued, processed using module processors and then posted to the backend application
b. It is processed using module processors, queued and then posted to the backend application
25. Is the persistence layer used by the Adapter Engine and the Integration Engine (Integration Server) same?
26. Is the Message ID specified in the Integration Engine same as the Message ID used during the Message transformation in the Adapter engine?
27. Would you configure a Sender HTTP adapter?
28. QoS in case of a RFC Receiver adapter
29. Sync-Async bridge is used for?
30. A Business Process is
a. Executable cross component
b. Can send and receive messages
31. What is the purpose of a deadline branch
32. What is SXI_CACHE used for?
33. Container elements can be typed to what ?
34. Why is a Wait step used?
35. A block can have which of the following?
a. Multiple Exception branches
b. Multiple Condition branches
36. For what all step types can you use a Corelation?
37. Which of the following is true?
a. Blocks can be Nested
b. Blocks can be Overlapped
38. You need to collect and club messages in a container element coming from different steps. How would you do this?
39. In case of a Block, which of the following is true?
Elements of a super container are visible in sub-containers
Elements of a subordinate container are not visible in all blocks
Elements defined in the process container are visible in all blocks
40. what is Co relation & Local Co-relation
41. Where can you use N: M transformation?
42. Alert framework uses/leverages CCMS?
43. If you want to cancel a process and set its status to Logically Deleted when a Deadline is reached, do you need to use a Control Step having its Action as CancelProcess or is it automatically done?
44. What are the ways an Exception can be triggered?
45. What would be the best architecture after implementing SAP XI? Implementing EDI adapter(s).
46. How to run the Adapter engine as a service?
47. How SAP Netweaver supports a holistic approach to BPM (Business Process Management)?
48. What is the role of SAP XI?
49. How can we differentiate SAP XI from Business Connector (BC)?
50. How to send mail from SAP XI?
51. What are the migration steps from XI 2.0 to XI 3.0?
52. XI will support synchronous communication and asynchronous communication?
A. Yes
B. No
53. Integration server contains the following components?
A. Additional integration services
B. Integration Engine
C. Business Process Engine
D. Integration Repository
54. Integration Repository provides the following components?
A. Business processes
B. Mapping Objects
C. Components at design time
D. Imported objects
55. What is the usage of Web Application server in XI?
56. What is the use of RFC and IDOC Adapters in XI?
57. How to convert WSDL (Web Services Descriptive Language) to target language?
58. What is the component to generate Jave classes?
59. What is ESA (Enterprise Service Architecture)?
60. What are the key elements of ESA?
61. How to transport SLD, Integration Directory & Integration Repository objects to the Production system?
62. Can we import XSD Schemas into XI 2.0?
63. which api you use for java mapping.
64. You use context object in place of what?
65. To make non mandatory node mandatory which you should to?
66. In case of RFC communication sender system sends a rfc call but target system does not receive it. What you think went wrong?
67 Difference between Xi business process and workflow ?
68. When you use transaction SXMB_MONI for process monitoring, which field tells you that the entry is for business process.
69. What are different Xi components?
70. In which all places you can use receive process?
71 In which all steps you can activate correlation?
1. How many interfaces are u developed in u r project.
2,What is land accepted.?
3.What is Your team size ?
4.The work assignment procedure in your organization?
5.What is your complete company object.?
6.What is the nesicity of developing that scenario.?
7.What is the advantage over other integration tools.?
8.What is Sender agreement?
9.What is Receiver agreement?
10.Tell me the steps for Multiple Idoc to File.(BPM Scenarios)
11.Tell me the steps for file to Multiple Idoc (BPM)
12.How to Create Alerts in BPM?
13.How to Use Third Party Adaptors in u r project.?
14.How to Use External Objects?
15.What is the Use of Node Fictions in XI?(example)
16 Examples on RFC lookups?
regards,
Brahmaji. -
Hi,
I have a question about load-balancing facilities for Time service. If I
schedule a TimeScheduleDef object to run at certain intervals, does the
run-time environment take care of load balancing it across multiple machines
on a cluster?
Thanks,
DeepakWebLogic Time is not a clustered service -- it is configured per server and
load balancing is performed.
Thanks,
Michael
Michael Girdley
Product Manager, WebLogic Server & Express
BEA Systems Inc
Deepak Goel <[email protected]> wrote in message
news:8gvrdb$n18$[email protected]..
Hi,
I have a question about load-balancing facilities for Time service. If I
schedule a TimeScheduleDef object to run at certain intervals, does the
run-time environment take care of load balancing it across multiplemachines
on a cluster?
Thanks,
Deepak -
Best practice using Using the WebLogic Timer Service
Hi,
We have a stateless session bean having a method which needs to be called lezs
say every 10 Seconds. I think the WebLogic Timer Service (JMX) should exactly
fit in this problem. So I would write a small class implementing the interface
NotificationListener which will receive the notification. The listener I would
register in my startup class.
This brings up some questions:
Could this class be a inner class of the SessionBean and directly calling the
method on the bean ?
Has it to be a more independent class gettting an initiali context, getting local
home, etc. etc. and then executing the method on the received Stub ? If yes can
it keep the Stub betwean the interval without releasing ?
Has someone experiance in this area ?
Regards
TomyActually, it's bad practice to use break anywhere other than in conjunction with a switch statement.Presumably, if you favour:
boolean test = true;
while (test)
test = foo && bar;
if (test)
}overfor (;;)
if (! ( foo && bar) ) break;
}then you also favour
boolean test = foo && bar;
if (test)
}overif (foo && bar)
}Or can you justify your statement with any example which doesn't cause more complexity, more variables in scope, and multiple assignments and tests? -
Hi,
I've got several time / schedule related services that are registered upon
server startup. We are moving from a single server instance to a several
clustered instances. As expected, I've run into an issue where each
scheduled service on each cluster is firing independently of the others and
thus I'm getting multiple notifications of each scheduled event.
My question is this... how do most shops handle this type of situation? We
want to have a scalable / failable? solution. I know I can take care of the
problem by only registering the scheduled objects in a single per server
properties file, but I lose any type of failover.
I'm thinking of starting the scheduled services on each server in the
cluster and binding a next run time into the JNDI tree. When a scheduled
event fires it would check the next run time to see if it can run its
schedule. If not it would reschedule itself to check later and effectively
go back to sleep. If it can run it would do so and increment the next run
time and reschedule itself to check later and go back to sleep.
Any thoughts???
Thanks in advance,
Steve...
See: http://e-docs.bea.com/wls/docs61/programming.html
Nalika wrote:
> Hi,
>
> In BEA online docs (
> http://e-docs.bea.com/wls/docs61/cluster/overview.html ) it describes about
> Non-Clustered Services and APIs as
>
> File services
> Time services
> WebLogic Events (deprecated in WebLogic Server 6.0)
> Workspaces (deprecated in WebLogic Server 6.0)
> ZAC
> etc...
>
> Can anyone have an idea of what these services means ?
> Please respond.
>
> Thanks
> Nalika
-
EJB Timer Services - timeout overlapping
Hi,
I have this question:
What should happen if the @Timeout method spends more time in working
something than the timer expiration time?
For example:
EJB timer is created with interval (expiration time) every 3 minutes. But for some reason the EJB binded to this timer is spending 4 minutes to process a timer notification. What happens with the next incoming timer notification?
Is it skipped or blocked? What happens with the method annotated as @Timeout?
Thanks!Hi Fellipe,
This case isn't explicitly mentioned in the spec since the expectation is that the processing
time for the timeout would be much shorter than the interval itself. The design center for the
EJB Timer Service is to handle long-lived business processes so the spec examples for
timeouts are on the order of hours or days, even though the actual type in the API is
milliseconds. Many developers have expressed interest in support for finer-grained
timeouts and even cron-like functionality. The issue you raise would be an important one
to address in the scope of those EJB Timer Service additions.
Having said all that, the implementation in the Java EE SDK will not deliver a subsequent
timeout for the same timer until the previous one has completed.
--ken -
Hi Experts,
Pl. let me know the below, (actually, i have searched in SDN and google before psoting this question)
1 - Wht is RTS - Run time services?
2 - Wht are they (I knew one, its Field Symbols)
3 - How they can be used in our ABAP (I knew about the usage of Field Symbols)
thanq.
-
The EJB 2.1 Timer Service & Clustering Behavior
With respect to WebLogic Server 9.0, does anyone know if The EJB 2.1 Timer Service will automatically restart a timer in the event of an entire cluster failure? Thanks,
-MattTim Farrell <> writes:
> Good question. Since theres little to no documentation on the new EJB Timer or the TimerService implemented in 9.0 I would also like to know this.
>
> In fact, drilling down further, I want to understand what happens in a cluster when one of the servers fails with Timers scheduled.
>
> 1. Do they migrate to other servers ?
No
> 2. How do they migrate ?
> 3. Will they migrate back to the original server when it comes back up ?
> 4. When will the docs get completed for this feature ?
Its possible that if you mark the server as migratable and have your
store using HA then migration would work, although I'm certain that
this has been tested.
andy -
Time service clustering in WLS8
Hi
Our product uses timer service on WLS 6.1, and timer is started by startup class.
Now we need to move our product to WLS8 cluste. My question is: although startup
class is clusterable, can timer service be clustered on WLS8? Or I can only start
the timer in one server instance? If the timer is implemented using a stateless
session bean which is deployed in the cluster, and one client in one managed server
in the cluster starts the timer by calling the stateless session bean, will WLS
support failover and load balancing of timer service?
Thanks
Chun
As Emily Lutella used to say: never mind!
It turns out the time service is simple, as we originally thought, and does
not distribute threads over scheduled trigger actions.
The mystery thread was started by a second server in the cluster going over
the wire to get to a bean on the first server.
---Paul O
Paul O'Rorke wrote:
We use the time service to schedule and process events at set times.
I just recently reviewed the documentation on this but still need a bit
more detail than I have seen, for example at
http://www.weblogic.com/docs51/classdocs/API_time.html
I am curious how multiple JVMs and threads may impact our scheduled
events.
We seem to have a situation where, when several events are scheduled to
occur at the same time, the first one waits on some resource such as an
EJB, possibly even getting into a deadlock with another thread that may
access the same resource(s), which may be running a JSP. But the time
service seems to move on, to process a second event scheduled for the
same time.
I would like to know more about how the time service allocates threads
to execute scheduled actions. For example, does it create a thread for
each action scheduled for a given time, or allocate a thread pool over
those actions?
If this is documented somewhere, I'd appreciate a pointer, otherwise
hopefully someone can provide more info here.
Thanks!
---Paul O -
Monitoring Weblogic Time Service
Hello
I built a number of java classes that implemented ScheduleDef and
Triggerdef.
Then these classes are scheduled using WebLogic Time Service.
The question is :
Is there a way to query WLS to find out how many of these classes are
currently
being scheduled? We need to find out which one are no longer running in the
system
so we can reschedule them. But we also need to know if one is already
scheduled and
therefore disallow the ability to schedule a 2nd instance in the server.
ThanksThey did state a reason. They expect these services to become part of J2EE.
You can still use them, or check out something like Flux from Sims
Computing.
Peace,
Cameron Purdy
Tangosol, Inc.
Clustering Weblogic? You're either using Coherence, or you should be!
Download a Tangosol Coherence eval today at http://www.tangosol.com/
"James McGovern" <[email protected]> wrote in message
news:[email protected]..
BEA has deprecated the time services classes without stating any reason.
Hopefully they will step up and come up with a replacement. -
Hi All,
EjbTimerService in 2.1 says that Timers are persistent. If the server is shut down (or even crashes), timers are saved and will become active again when the server is restarted. If a timer expires while the server is down, the container will call ejbTimeout when the server is restarted.
I need to know that what feature we are supposed to add in order to allow undeployment to treat persisted timers as entities that exist beyond the lifetime of the ejb deployment.
I could not find any article for same. Please tell me, where i can get the documentation in details about how Jboss handles the Timer services especially when such condition occurs.
All suggestions are welcome.
Thanks.I am not sure I completely understand your question, but this might help...
JBoss stores the timers in a database table named TIMER. When undeploying an EJB-JAR containing an EJB for which there is an active timer, JBoss removes the correponding row from the TIMER table. So it is not possible that a timer is triggered for an EJB that is not deployed anymore.
But I am not sure how JBoss handles this if you simply deletes the EJB-JAR file from the deploy folder when JBoss is not running.
Also, there is a timer section in the J2EE tutorial at http://java.sun.com/j2ee/1.4/docs/tutorial/doc/Session5.html
Bruno
http://www.practicalsoftwarearchitect.com -
Windows Time Service registry entries
I've browsed around a number of blogs and posts about setting up the time service in a Windows AD domain
Checking through current settings (forest level w2k3, most DCs are w2k8r2):
w32tm /dumpreg /subkey:parameters /computer:memberservername
I get entries:
Type: NT5DS
NtpServer: time.windows.com
QUESTION: If the "Type" is set to NT5DS, is the "NtpServer" entry not used, or irrelevant? Or should this entry match the time source our PDC is using?
Our PDC is pointing to another time source than what is listed in this registry entry.
ThanksThank you. I found what I was looking for in the first link:
NtpServer
Establishes a space-delimited list of peers from which a computer obtains time stamps, consisting of one or more DNS names or IP addresses per line. Computers connected to a domain must synchronize
with a more reliable time source, such as the official U.S. time clock. This setting is used only when Type is set to NTP or AllSync. -
Hi,
I've created a time service on the server, which gets activated on
startup and repeatly occurs at some given interval. However, I need to
stop the timer and restart it again when the time interval is changed.
Is it possible to do that without bringing down the server?
Thanks,
TomyDMario -
I believe the way it works is you call the schedule () method of your WL
Time Services implementing object first. For example:
// Obtain a T3Services factory
T3ServicesDef t3 = getT3Services ();
// Request a ScheduledTrigger from the factory. Use
// this class for scheduling and execution
std = t3.time().getScheduledTrigger(this, this);
// Start the ball rolling
std.schedule();
Your schedule method would specify the point of time in the future in
which you are interested.
Your trigger method, when invoked, should set some instance variable in
your class. Your schedule method will be invoked after your trigger
method completes. When your schedule method is invoked, it should check
the instance variable and if it has been set, the schedule method should
return 0 to prevent the trigger from being called again.
Make sure that the schedule method is correctly setting the returned
long.
Oh --- your class should be implementing the Schedulable and Triggerable
interfaces, in case you were using something else. I agree that the
documentation for this feature seems pretty confusing.
Peter
"Mario B. Jones" wrote:
>
List,
As you can tell, I've been spending alot of time playing with Weblogic
time service lately, and needless to say, I've been running into alot of
roadblocks.
Question.
How in the heck do you implement the time api to perform a "one-time"
trigger for some point of time in the future? All of the examples, api
documentation, etc talks you through the necessary to perform
"recurring" actions. But nothing on one time actions. I have tried
several different variations but cannot get it done. Seems like the
trigger will immediately fire the first time but can be delayed for
future iterations till a specified point of time in the future using
java.util.Date methods.
Help!
Thanks in advance... -
Dear Friends,
Just like there is a one time customer and vendor account group for vendor and customer who we deal with only once a while.
Is there something like one time service in MM.?
We have few services defined in AC01 and attached a valuation class to each service. What if we need to pay for some service (one time), there shouldn't be a need to create a service master.
When we create the PO for such one time service not defineed in AC01, it saves the PO, but does not allow us to perform the Service entry sheet.
Error it throws is: Account determination for entry CAAI KBS 0001 not possible. (CAAI - is our Chart of Accts), what is it that is related with key KBS in GBB of OBYC?
Thanks
Sanjayno answer, close file
Thanks
Maybe you are looking for
-
How do I get someone els off of my Apple ID that I let use to download apps
My gf had to restor her iPhone and when she did it made her make a new Apple ID and I just let her use mine. When ios7 came out when she signed into my Apple ID on her phone it like combined are contacts and I can see all her texts how do I fix
-
CP1025nw firmware upgrade for eprint and/or airprint?
I bought one of these which is supposed to be eprint capable by late 2010. I can't find the firmware for this update. Otherwise, I believe it's misleading of HP to advertise the availability. If I had known, I would have returned the printer withi
-
How do I get music from my music library into my itunes library
I recently had to move my iTunes library from one computer to another, when I did so it put all the iTunes into a folder instead of into the actual iTunes library. Now I cant figure out how to get all this music into the iTunes library. Someone pleas
-
I erased iphoto from my macbook air. What can i do to reinstall it???
I erased iphoto from my macbook air. What can i do to reinstall it???
-
APEX_WEB_SERVICE.PARSE_XML
Ok. I have made a RESTFul web services call to the Google Maps API to calculate the distance between 2 post codes using apex_web_service.make_rest_request and I get the response I am after which is some XML like: <?xml version="1.0" encoding="UTF-8"?