Wake up, wait, and kill one / many threads

Hello all.
I am trying to do something that I originally wanted to do with multicasting, but in the end could not.
Essentially I want to create a bunch of threads, one for each machine I want to 'ping' (not the actual ping, just some kind of 'are you alive?'). These threads will just sit there and wait upon creation.
Then when a request comes in I want to:
1. wake them all up so they all send a 'ping' to their respective server.
2. retrieve the ip address (or name) of the first thread that replies
3. kill the rest of the threads (if they haven't already died)
4. go back to waiting
I've been surfing Google, Java tutorial and these forums and can't seem to put it all together.
Many thanks for any help!
Bob

Hello again, thanks for all of the responses.
I feel like a bit of a schmuck, I had no idea J2SE 5.0 had all of this new concurrency stuff. All of these things -- Semaphores, CountDownLatch, etc. -- are new to me. I've been trapped in the web / MVC world too long. I've used threads in the past but only for simple stuff, always trying to avoid all the messy stuff like synchronized blocks, wait(), notify(), etc.
So I am boning up on all this new stuff now, thanks.
As for you comment, 'I don't see the point in terminating them if you are going to repeat the exercise.', you're right, I didn't mean kill the threads that didn't reply first, I meant ignore them.
Basically I have a situation where I'll have something like 60 requests per minute on average. For each request I want to wake up all the threads, send out a ping and send the request to the ip address of the first thread that replies.
The problem of course is that during that one request I may have another, and another, since a ping could take anywhere from less than a second to 5 seconds to timeout. So, for example, If another request comes in while 3 out of the total of 5 threads are still pinging, only 2 will be woken up to send out another ping, and so on.
It's complicated and it would be a lot easier with a simple multicast message using JGroups or a simple Java multicasting. But alas since these servers that I'll be pinging aren't ours, I can neither install a small multicast listener program on them or even be sure multicasting (port 124.0.0.1) is enabled.
So that's the deal. I'm going to keep reading. Thanks for all of your help!
Bob

Similar Messages

  • JConsole: Meaning of TOTAL WAITED and TOTAL BLOCKED in Thread View

    I'd like to know the meaning of the TOTAL WAITED and TOTAL BLOCKED values shown on the right pane when clicking on a thread in the THREAD tab. I have reviewed the JConsole Documentation but it fails to indicate their meaning.
    Thank you,
    Juan Velez

    Blocked count is the total number of times that the thread blocked to enter or reenter a monitor. I.e. the number of times a thread has been in the java.lang.Thread.State.BLOCKED state.
    Waited count is the total number of times that the thread waited for notification. i.e. the number of times that a thread has been in the ava.lang.Thread.State.WAITING or java.lang.Thread.State.TIMED_WAITING state
    jconsole is showing the information from java.lang.management.ThreadInfo class:
    http://java.sun.com/j2se/1.5.0/docs/api/java/lang/management/ThreadInfo.html

  • Unable to form a single cluster island.  Two clusters formed and kills one

    I am trying to use ReplicatedCache and deployed the web application on four Webspher appserver JVMs in two linux servers (2 boxes). Server1 (A&B) Server2 (A&B). Server1A and Server2A physical clusters and likewise Server1B and Server2B are physical clusters.
    Server1 A & B forms a coherence cluster island and Server2 A & B forms another cluster island. After few seconds the Server2 cluster node on B identifies the existence of another cluster island and activates the panic protocol. So the Server1 A or B receives the panic message and sends kill message to the other cluster member on Server1. Ultimately, the cluster service on Server1 is stopped and both the members leave the cluster. How do I fix this?
    I want to have one cluster and all the four nodes to be members of this cluster so that the cache is replicated in all the four nodes. Please help.
    Note: The coherence.jar and tangosol.jar are inside the WEB-INF/lilb in the war and the same war file deployed in four jvms.
    Included below the logs from four jvms:
    Log - Server2-B:
    [9/9/08 18:58:15:754 GMT] 0000003a SystemErr R 2008-09-09 18:58:15.731 Tangosol Coherence DGE 3.2.2/371 <Info> (thread=server.startup : 0, member=n/a): Loaded operational overrides from resource "wsjar:file:/opt/IBM/WebSphere61/AppServer/profiles/ADNA-S-Node/installedApps/ADNA-S/ADNALinker-B.ear/ADNALinker.war/WEB-INF/lib/coherence.jar!/tangosol-coherence-override-prod.xml"
    [9/9/08 18:58:15:755 GMT] 0000003a SystemErr R 2008-09-09 18:58:15.733 Tangosol Coherence DGE 3.2.2/371 <D5> (thread=server.startup : 0, member=n/a): Optional configuration override "/tangosol-coherence-override.xml" is not specified
    [9/9/08 18:58:15:909 GMT] 0000003a SystemErr R 2008-09-09 18:58:15.899 Tangosol Coherence DGE 3.2.2/371 <Info> (thread=server.startup : 0, member=n/a): Loaded cache configuration from resource "file:/opt/IBM/WebSphere61/AppServer/profiles/ADNA-S-Node/installedApps/ADNA-S/ADNALinker-B.ear/ADNALinker.war/WEB-INF/classes/adnalinker-coherence-config.xml"
    [9/9/08 18:58:17:516 GMT] 0000003a SystemErr R 2008-09-09 18:58:17.516 Tangosol Coherence DGE 3.2.2/371 <D5> (thread=Cluster, member=n/a): Service Cluster joined the cluster with senior service member n/a
    [9/9/08 18:58:49:242 GMT] 0000003a SystemErr R 2008-09-09 18:58:49.241 Tangosol Coherence DGE 3.2.2/371 <Info> (thread=Cluster, member=n/a): Created a new cluster with Member(Id=1, Timestamp=2008-09-09 18:58:17.319, Address=10.29.29.33:8088, MachineId=2593, Edition=DataGrid Edition, Mode=Production, CpuCount=4, SocketCount=2) UID=0x0A1D1D210000011C487A76670A211F98
    [9/9/08 18:58:49:501 GMT] 0000003a SystemErr R 2008-09-09 18:58:49.500 Tangosol Coherence DGE 3.2.2/371 <D5> (thread=ReplicatedCache, member=1): Service ReplicatedCache joined the cluster with senior service member 1
    [9/9/08 18:58:49:589 GMT] 0000003a SystemErr R 2008-09-09 18:58:49.588 Tangosol Coherence DGE 3.2.2/371 <D5> (thread=Cluster, member=1): Member(Id=2, Timestamp=2008-09-09 18:58:49.379, Address=10.29.29.33:8089, MachineId=2593) joined Cluster with senior member 1
    [9/9/08 18:58:49:966 GMT] 0000003a SystemErr R 2008-09-09 18:58:49.965 Tangosol Coherence DGE 3.2.2/371 <D5> (thread=Cluster, member=1): Member 2 joined Service ReplicatedCache with senior member 1
    [9/9/08 18:58:50:130 GMT] 00000032 SystemErr R log4j:WARN No appenders could be found for logger (org.apache.struts.util.PropertyMessageResources).
    [9/9/08 18:58:50:130 GMT] 00000032 SystemErr R log4j:WARN Please initialize the log4j system properly.
    [9/9/08 18:58:51:285 GMT] 0000003a SystemErr R 2008-09-09 18:58:51.262 Tangosol Coherence DGE 3.2.2/371 <D5> (thread=Cluster, member=1): TcpRing: connecting to member 2 using TcpSocket{State=STATE_OPEN, Socket=Socket[addr=houmaasas02.cce.star/10.29.29.33,port=8089,localport=44068]}
    [9/9/08 18:58:51:750 GMT] 00000034 SystemErr R log4j:WARN No appenders could be found for logger (org.apache.struts.util.PropertyMessageResources).
    [9/9/08 18:58:51:751 GMT] 00000034 SystemErr R log4j:WARN Please initialize the log4j system properly.
    [9/9/08 20:23:28:160 GMT] 0000003a SystemErr R 2008-09-09 20:23:28.160 Tangosol Coherence DGE 3.2.2/371 <Warning> (thread=Cluster, member=1): **An existence of a cluster island with senior Member(Id=1, Timestamp=2008-09-09 18:58:17.537, Address=10.29.29.31:8088, MachineId=2591) containing 2 nodes have been detected. Since this Member(Id=1, Timestamp=2008-09-09 18:58:17.319, Address=10.29.29.33:8088, MachineId=2593) is the senior of an older cluster island, the panic protocol is being activated to stop the other island's senior and all junior nodes that belong to it.**
    **[9/9/08 20:23:28:161 GMT] 0000003a SystemErr R 2008-09-09 20:23:28.161 Tangosol Coherence DGE 3.2.2/371 <Warning> (thread=Cluster, member=1): Received panic from junior member Member(Id=2, Timestamp=2008-09-09 18:58:49.379, Address=10.29.29.33:8089, MachineId=2593) caused by Member(Id=1, Timestamp=2008-09-09 18:58:17.537, Address=10.29.29.31:8088, MachineId=2591)*******************************************************
    Log Server2-A:
    [9/9/08 18:58:16:875 GMT] 0000003d SystemErr R 2008-09-09 18:58:16.787 Tangosol Coherence DGE 3.2.2/371 <Info> (thread=server.startup : 1, member=n/a): Loaded operational overrides from resource "wsjar:file:/opt/IBM/WebSphere61/AppServer/profiles/ADNA-S-Node/installedApps/ADNA-S/ADNALinker-A.ear/ADNALinker.war/WEB-INF/lib/coherence.jar!/tangosol-coherence-override-prod.xml"
    [9/9/08 18:58:16:876 GMT] 0000003d SystemErr R 2008-09-09 18:58:16.790 Tangosol Coherence DGE 3.2.2/371 <D5> (thread=server.startup : 1, member=n/a): Optional configuration override "/tangosol-coherence-override.xml" is not specified
    [9/9/08 18:58:17:124 GMT] 0000003d SystemErr R 2008-09-09 18:58:17.045 Tangosol Coherence DGE 3.2.2/371 <Info> (thread=server.startup : 1, member=n/a): Loaded cache configuration from resource "file:/opt/IBM/WebSphere61/AppServer/profiles/ADNA-S-Node/installedApps/ADNA-S/ADNALinker-A.ear/ADNALinker.war/WEB-INF/classes/adnalinker-coherence-config.xml"
    [9/9/08 18:58:18:479 GMT] 0000003d SystemErr R 2008-09-09 18:58:18.479 Tangosol Coherence DGE 3.2.2/371 <D5> (thread=Cluster, member=n/a): Service Cluster joined the cluster with senior service member n/a
    [9/9/08 18:58:49:607 GMT] 0000003d SystemErr R 2008-09-09 18:58:49.601 Tangosol Coherence DGE 3.2.2/371 <Info> (thread=Cluster, member=n/a): This Member(Id=2, Timestamp=2008-09-09 18:58:49.379, Address=10.29.29.33:8089, MachineId=2593, Edition=DataGrid Edition, Mode=Production, CpuCount=4, SocketCount=2) joined cluster with senior Member(Id=1, Timestamp=2008-09-09 18:58:17.319, Address=10.29.29.33:8088, MachineId=2593, Edition=DataGrid Edition, Mode=Production, CpuCount=4, SocketCount=2)
    [9/9/08 18:58:49:658 GMT] 0000003d SystemErr R 2008-09-09 18:58:49.658 Tangosol Coherence DGE 3.2.2/371 <D5> (thread=Cluster, member=n/a): Member 1 joined Service ReplicatedCache with senior member 1
    [9/9/08 18:58:49:993 GMT] 0000003d SystemErr R 2008-09-09 18:58:49.992 Tangosol Coherence DGE 3.2.2/371 <D5> (thread=ReplicatedCache, member=2): Service ReplicatedCache joined the cluster with senior service member 1
    [9/9/08 18:58:50:515 GMT] 00000035 SystemErr R log4j:WARN No appenders could be found for logger (org.apache.struts.util.PropertyMessageResources).
    [9/9/08 18:58:50:516 GMT] 00000035 SystemErr R log4j:WARN Please initialize the log4j system properly.
    [9/9/08 18:58:51:310 GMT] 0000003d SystemErr R 2008-09-09 18:58:51.287 Tangosol Coherence DGE 3.2.2/371 <D5> (thread=TcpRingListener, member=2): TcpRing: connecting to member 1 using TcpSocket{State=STATE_OPEN, Socket=Socket[addr=/10.29.29.33,port=44068,localport=8089]}
    [9/9/08 18:58:52:383 GMT] 00000036 SystemErr R log4j:WARN No appenders could be found for logger (org.apache.struts.util.PropertyMessageResources).
    [9/9/08 18:58:52:383 GMT] 00000036 SystemErr R log4j:WARN Please initialize the log4j system properly.
    [9/9/08 20:23:28:162 GMT] 0000003d SystemErr R 2008-09-09 20:23:28.162 Tangosol Coherence DGE 3.2.2/371 <Error> (thread=Cluster, member=2): Received panic from senior member Member(Id=1, Timestamp=2008-09-09 18:58:17.319, Address=10.29.29.33:8088, MachineId=2593) caused by Member(Id=1, Timestamp=2008-09-09 18:58:17.537, Address=10.29.29.31:8088, MachineId=2591)
    Log from Server1-A:
    [9/9/08 18:58:15:656 GMT] 0000002a SystemErr R 2008-09-09 18:58:15.645 Tangosol Coherence DGE 3.2.2/371 <Info> (thread=server.startup : 2, member=n/a): Loaded operational overrides from resource "wsjar:file:/opt/IBM/WebSphere61/AppServer/profiles/ADNA-S-Node/installedApps/ADNA-S/ADNALinker-A.ear/ADNALinker.war/WEB-INF/lib/coherence.jar!/tangosol-coherence-override-prod.xml"
    [9/9/08 18:58:15:656 GMT] 0000002a SystemErr R 2008-09-09 18:58:15.647 Tangosol Coherence DGE 3.2.2/371 <D5> (thread=server.startup : 2, member=n/a): Optional configuration override "/tangosol-coherence-override.xml" is not specified
    [9/9/08 18:58:15:800 GMT] 0000002a SystemErr R 2008-09-09 18:58:15.790 Tangosol Coherence DGE 3.2.2/371 <Info> (thread=server.startup : 2, member=n/a): Loaded cache configuration from resource "file:/opt/IBM/WebSphere61/AppServer/profiles/ADNA-S-Node/installedApps/ADNA-S/ADNALinker-A.ear/ADNALinker.war/WEB-INF/classes/adnalinker-coherence-config.xml"
    [9/9/08 18:58:17:827 GMT] 0000002a SystemErr R 2008-09-09 18:58:17.796 Tangosol Coherence DGE 3.2.2/371 <D5> (thread=Cluster, member=n/a): Service Cluster joined the cluster with senior service member n/a
    [9/9/08 18:58:49:711 GMT] 0000002a SystemErr R 2008-09-09 18:58:49.711 Tangosol Coherence DGE 3.2.2/371 <Info> (thread=Cluster, member=n/a): Created a new cluster with Member(Id=1, Timestamp=2008-09-09 18:58:17.537, Address=10.29.29.31:8088, MachineId=2591, Edition=DataGrid Edition, Mode=Production, CpuCount=4, SocketCount=2) UID=0x0A1D1D1F0000011C487A77410A1F1F98
    [9/9/08 18:58:49:949 GMT] 0000002a SystemErr R 2008-09-09 18:58:49.946 Tangosol Coherence DGE 3.2.2/371 <D5> (thread=Cluster, member=1): Member(Id=2, Timestamp=2008-09-09 18:58:49.739, Address=10.29.29.31:8089, MachineId=2591) joined Cluster with senior member 1
    [9/9/08 18:58:50:124 GMT] 0000002a SystemErr R 2008-09-09 18:58:50.122 Tangosol Coherence DGE 3.2.2/371 <D5> (thread=ReplicatedCache, member=1): Service ReplicatedCache joined the cluster with senior service member 1
    [9/9/08 18:58:50:355 GMT] 0000002a SystemErr R 2008-09-09 18:58:50.354 Tangosol Coherence DGE 3.2.2/371 <D5> (thread=Cluster, member=1): Member 2 joined Service ReplicatedCache with senior member 1
    [9/9/08 18:58:50:654 GMT] 00000025 SystemErr R log4j:WARN No appenders could be found for logger (org.apache.struts.util.PropertyMessageResources).
    [9/9/08 18:58:50:654 GMT] 00000025 SystemErr R log4j:WARN Please initialize the log4j system properly.
    [9/9/08 18:58:51:745 GMT] 0000002a SystemErr R 2008-09-09 18:58:51.744 Tangosol Coherence DGE 3.2.2/371 <D5> (thread=Cluster, member=1): TcpRing: connecting to member 2 using TcpSocket{State=STATE_OPEN, Socket=Socket[addr=houmaasas01.cce.star/10.29.29.31,port=8089,localport=48201]}
    [9/9/08 18:58:52:852 GMT] 00000024 SystemErr R log4j:WARN No appenders could be found for logger (org.apache.struts.util.PropertyMessageResources).
    [9/9/08 18:58:52:852 GMT] 00000024 SystemErr R log4j:WARN Please initialize the log4j system properly.
    [9/9/08 19:08:22:944 GMT] 0000002a SystemErr R 2008-09-09 19:08:22.944 Tangosol Coherence DGE 3.2.2/371 <Warning> (thread=Cluster, member=1): Received panic from junior member Member(Id=2, Timestamp=2008-09-09 18:58:49.739, Address=10.29.29.31:8089, MachineId=2591) caused by Member(Id=1, Timestamp=2008-09-09 18:58:17.319, Address=10.29.29.33:8088, MachineId=2593)
    [9/9/08 20:23:28:161 GMT] 0000002a SystemErr R 2008-09-09 20:23:28.160 Tangosol Coherence DGE 3.2.2/371 <Error> (thread=Cluster, member=1): Received a Kill message from a valid Member(Id=2, Timestamp=2008-09-09 18:58:49.379, Address=10.29.29.33:8089, MachineId=2593); stopping cluster service.
    [9/9/08 20:23:30:168 GMT] 0000002a SystemErr R 2008-09-09 20:23:30.166 Tangosol Coherence DGE 3.2.2/371 <D5> (thread=Cluster, member=1): Service Cluster left the cluster
    [9/9/08 20:23:30:171 GMT] 0000002a SystemErr R 2008-09-09 20:23:30.170 Tangosol Coherence DGE 3.2.2/371 <D5> (thread=ReplicatedCache, member=1): Service ReplicatedCache left the cluster
    Log from Server1-B:
    [9/9/08 18:58:18:602 GMT] 00000043 SystemErr R 2008-09-09 18:58:18.591 Tangosol Coherence DGE 3.2.2/371 <Info> (thread=server.startup : 0, member=n/a): Loaded operational overrides from resource "wsjar:file:/opt/IBM/WebSphere61/AppServer/profiles/ADNA-S-Node/installedApps/ADNA-S/ADNALinker-B.ear/ADNALinker.war/WEB-INF/lib/coherence.jar!/tangosol-coherence-override-prod.xml"
    [9/9/08 18:58:18:602 GMT] 00000043 SystemErr R 2008-09-09 18:58:18.593 Tangosol Coherence DGE 3.2.2/371 <D5> (thread=server.startup : 0, member=n/a): Optional configuration override "/tangosol-coherence-override.xml" is not specified
    [9/9/08 18:58:18:784 GMT] 00000043 SystemErr R 2008-09-09 18:58:18.784 Tangosol Coherence DGE 3.2.2/371 <Info> (thread=server.startup : 0, member=n/a): Loaded cache configuration from resource "file:/opt/IBM/WebSphere61/AppServer/profiles/ADNA-S-Node/installedApps/ADNA-S/ADNALinker-B.ear/ADNALinker.war/WEB-INF/classes/adnalinker-coherence-config.xml"
    [9/9/08 18:58:20:282 GMT] 00000043 SystemErr R 2008-09-09 18:58:20.282 Tangosol Coherence DGE 3.2.2/371 <D5> (thread=Cluster, member=n/a): Service Cluster joined the cluster with senior service member n/a
    [9/9/08 18:58:50:006 GMT] 00000043 SystemErr R 2008-09-09 18:58:50.006 Tangosol Coherence DGE 3.2.2/371 <Info> (thread=Cluster, member=n/a): This Member(Id=2, Timestamp=2008-09-09 18:58:49.739, Address=10.29.29.31:8089, MachineId=2591, Edition=DataGrid Edition, Mode=Production, CpuCount=4, SocketCount=2) joined cluster with senior Member(Id=1, Timestamp=2008-09-09 18:58:17.537, Address=10.29.29.31:8088, MachineId=2591, Edition=DataGrid Edition, Mode=Production, CpuCount=4, SocketCount=2)
    [9/9/08 18:58:50:114 GMT] 00000043 SystemErr R 2008-09-09 18:58:50.114 Tangosol Coherence DGE 3.2.2/371 <D5> (thread=Cluster, member=2): Member 1 joined Service ReplicatedCache with senior member 1
    [9/9/08 18:58:50:365 GMT] 00000043 SystemErr R 2008-09-09 18:58:50.361 Tangosol Coherence DGE 3.2.2/371 <D5> (thread=ReplicatedCache, member=2): Service ReplicatedCache joined the cluster with senior service member 1
    [9/9/08 18:58:50:894 GMT] 00000038 SystemErr R log4j:WARN No appenders could be found for logger (org.apache.struts.util.PropertyMessageResources).
    [9/9/08 18:58:50:895 GMT] 00000038 SystemErr R log4j:WARN Please initialize the log4j system properly.
    [9/9/08 18:58:51:808 GMT] 00000043 SystemErr R 2008-09-09 18:58:51.806 Tangosol Coherence DGE 3.2.2/371 <D5> (thread=TcpRingListener, member=2): TcpRing: connecting to member 1 using TcpSocket{State=STATE_OPEN, Socket=Socket[addr=/10.29.29.31,port=48201,localport=8089]}
    [9/9/08 20:23:28:239 GMT] 00000043 SystemErr R 2008-09-09 20:23:28.237 Tangosol Coherence DGE 3.2.2/371 <Error> (thread=Cluster, member=2): Received a Kill message from a valid Member(Id=1, Timestamp=2008-09-09 18:58:17.537, Address=10.29.29.31:8088, MachineId=2591); stopping cluster service.
    [9/9/08 20:23:28:240 GMT] 00000043 SystemErr R 2008-09-09 20:23:28.238 Tangosol Coherence DGE 3.2.2/371 <D5> (thread=Cluster, member=2): Service Cluster left the cluster
    [9/9/08 20:23:28:242 GMT] 00000043 SystemErr R 2008-09-09 20:23:28.241 Tangosol Coherence DGE 3.2.2/371 <D5> (thread=ReplicatedCache, member=2): Service ReplicatedCache left the cluster
    Edited by: user533771 on Sep 10, 2008 9:56 AM

    Hi,
    Please take a look at this wiki page on how to verify and troubleshoot multicast support: http://wiki.tangosol.com/display/COH33UG/Multicast+Test . Most likely (but I can be wrong), all you need to do is to add java.net.preferIPv4Stack=true system property to the jvm command line.
    Regards,
    Dimitri

  • Why can't I go to the corporate store and pick up a phone instead of haveing to wait and have one mailed to me?

    Here is a little story:
    My wife dropped her phone and it is done. My contract is up in about 20 days. I called Verizon thinking that this is my problem, as it should be (no protection on my contract, but was surprised by my response. I was told that since I'm so close to my contract being up that Verizon will work with me by allowing me to renew early. Thought to myself, "this is great I'm am getting awesome customer service." Now, after talking to the corporate store, I wish they would have just told me tuff luck buddy. I really could have lived with that. I know the risks of not purchasing some kind of protection. What I have been given is the grand run around and that our computers can't let us do that.
    You see, I've learned today that, when you talk to someone on the phone with corporate you get "awesome to have you as a customer and we'll be happy to help you out". Go to the store and get "awesome to have you as a customer, sorry to hear about your problem, but come see us in 20 days and we'll waive the $30 upgrade fee." My words in the quotes, the people are very polite at being able to tell you that they can't do something because the computer will not let them do it and they have no way to bypass this.
    Honestly, I have been very happy with the product that I receive from Verizon. At least I will use this time wisely and reconsider my relationship with this company.
    I have had service with AT&T and Sprint, I can say that at least you get the same response from the other carriers, regardless of who you talk to.
    So what is the real reason that corporate stores don't have same authority as the person you talk to when you call the 922-0204 number?

    Ice1968, I think you're the first person I have seen here take the ownership of not having a protection plan and the consequences. Most people just blame VZW. I am sorry to hear that they won't let you get a device by visiting a corporate store. In most cases, telephone support doesn't even offer an upgrade early but in your case they did. I wish I could tell you why the store and telephone support operate differently but I can't. From my experience telephone support has a little more leeway to bend the rules a little bit. From our customer perspective it doesn't make sense and I have no earthly idea of how it could make good business sense. I do know for a fact that store employees do not have the ability to override the system to allow you upgrade early. Again, one would think that it's all the same system so if they can do it over the phone why not in store? I don't know. My one question is, are you sure that the phone employee was offering a 2 year contract and not an Edge agreement? They are 2 completely different options and the chance is that the phone employee was maybe not giving you all of the information. I would call them back and ask them which option was being offered to be clear. I understand that you don't want to wait for shipping as I wouldn't but unfortunately when telephone support offers something that's the only way to acquire the new device.

  • Launching two thread and killing the original thread

    I'm having problems developing my application.
    Hi,
    I'm running and application wich has to self-update periodically. the way it's done is that i launch a different project, included in a different jar file. This project downloads an update for the application and relaunchs my application.
    At first, i did that change of application using a process wich executes the update jar (using getRuntime.exec()), but it looks that once launched the process, my application waits until the update jar is finished.
    I've thought to use parallel threads, i mean, my application is running on a thread, if update is necessary, then i create a thread wich executes the update jar and, once the download and update have been completed, create a new thread with my updated application, finishing the update thread after launching it.
    Do you know if, once updated my application's jar, the new thread will be executed with my updated code?
    I hope somebody can help me, thank you

    well, on my computer works, but it has to work in the end on a PDA with a customized jdk from java 1.3, so i'm not sure yet if it works fine. Once i have done it, i will tell you

  • Waiting for many threads

    Hey guys,
    I know how to make one thread wait for another named thread to complete, but how do u make a thread wait for many threads to complete with the added problem of not knowing the names of the threads your waiting for? Looked and been trying for ages but can't get anything to work.
    Thanx
    Lisa

    No i saw it, pehaps i should rephrase with a question, how would you go about giving all these threads a reference? If it ain't obvious already am not great with java and if someone could tell me how to give the threads spawned references it would be great.
    As ive explained the code is really long so am not going to waist peoples time by posting it. Here is basically how i am spawning the threads "willy-nilly" style.
         while ((p < searchTerms.size())&&(p < 30)){
             term = (searchTerms.elementAt(p)).toString();
             NetChecker nc = new NetChecker(term,excludedAdds,refWeb);
             searchClasses.addElement(nc);     
             new Thread(nc).start();
             p++;
         } the classes all return web addresses in a vector, thats why i need all the threads to complete so i can collect all the results
    Thanx
    Lisa

  • Synchronize work from multiple threads using wait() and notifyAll() help

    Hello folks,
    (Sorry for my bad english)
    My current project handles multiple access requests to a shared collection from multiple threads originating from different classess and methods. Therefor I need to keep track of the order in which the Threads access that collection. I wrote a sort of Buffer class that has a static instance entry which initiate a new Instance of my Buffer class, attributes the instance a cue number and return the instance to the caller Thread.(Just like when you go to a supermarket and draw a number to wait to get served at the cheese counter).The callerThread then uses this instance to execute a method within the buffer class. Inside the buffer class method, I want to set a while loop on wait() just like this:
    while(currentCue != myCueState)
    wait();
    when all other prior method calls within my Buffer class are done, the loop should wake up using a notifyAll() call and check the condition "currentCue != myCueState" agen to see if its turn has come.
    I am new to the wait() and notifyAll() stuff and are therefor not sure what I am dooing wrong here: The only way this buffer class finishes all it's cues is when the caller Threads are beeing executed in the same order than they have checked in to the Buffer class. Otherwise I get some sort of dead-lock in the middle. Here is my code for the Buffer class:
    public class Buffer{
        private static int currentCue = 0;
        private static int lastCued = 0;
        private int myCueState;
        private Buffer myInstance = null;
        synchronized void doTaskOne(){      
            try{
                while(currentCue != myCueState)
                    wait();           
                //Do your task now
                System.out.println("doTaskOne got Executed: "+currentCue);
                currentCue++;
                notifyAll();
            catch(Exception a){}
        synchronized void doTaskTwo(){
             try{
                while(currentCue != myCueState)
                    wait();
                //Do your task now
                System.out.println("doTaskTwo got Executed: "+currentCue);
                currentCue++;
                notifyAll();
            catch(Exception a){}
        synchronized void doTaskThree(){
            try{
                while(currentCue != myCueState)
                    wait();          
                //Do your task now
                System.out.println("doTaskThree got Executed: "+currentCue);
                currentCue++; 
                notifyAll();
            catch(Exception a){}
        synchronized Object getSomething(){
            try{                   
                while(currentCue != myCueState)
                    wait();           
                //Do your task now
                System.out.println("getSomething got Executed");
                currentCue++;
                notifyAll();
            catch(Exception a){}
            return "something";
        //Access the buffer class through a single static synchronized instance and draw a turn number
        public synchronized Buffer instance(){
            myInstance = new Buffer();
            myInstance.setMyCueState();
            return myInstance;
        private void setMyCueState(){
             myCueState = lastCued;
             lastCued++;
    }and here for the Test class I have coded to test this:
    public class TestBuffer{
         private Buffer accessOne;
         private Buffer accessTwo;
         private Buffer accessThree;
         private Buffer accessFour;
         public TestBuffer(){
                    //Instantiate different instances from Bufferclass and draw a number
              accessThree = new Buffer().instance();
              accessOne = new Buffer().instance();
              accessTwo = new Buffer().instance();          
              accessFour = new Buffer().instance();
              Thread one = new Thread(){
                   public void run(){
                        accessOne.doTaskOne();
              Thread two = new Thread(){
                   public void run(){
                        accessTwo.doTaskTwo();
              Thread three = new Thread(){
                   public void run(){
                        accessThree.doTaskThree();
              Thread four = new Thread(){
                   public void run(){
                        accessFour.getSomething();
              try{               
                   one.start();                    
                   two.start();
                   three.start();     
                   four.start();                         
              catch(Exception f){}
         public static void main(String args[]){
              TestBuffer myTest = new TestBuffer();
    }What am I doing wrong here??
    Maby this is not how I should use the notifyAll() method, but how then?
    Please give me a solution!
    Thanks

    Ok, so if I get you guys right, the following should do it:
    public class Buffer{
        private static Object sharedLock = new Object();
        public void doTaskOne(){      
              synchronized(sharedLock)  {
                System.out.println("doTaskOne got Executed: ");
        public void doTaskTwo(){
             synchronized(sharedLock)  {
                System.out.println("doTaskTwo got Executed: ");
        public void doTaskThree(){
             synchronized(sharedLock)  {
                  System.out.println("doTaskThree got Executed: ");
        public Object getSomething(){
            synchronized(sharedLock)  {
                System.out.println("getSomething got Executed");
                return "something";
    }Lets say that each method accesses the same ressources (in this case a table model) to retreave values, delete rows and set some existing values vith new values and all this 20-30 times a minute, all processing will stay synchronised and collision is not possible?
    And lets say I would update the Table model directly from the buffer Class using MyTableModel.instance().setValueAt() or watever methods I implemented on my Table model, could I safely do that using "SwingUtilities.invokeLater();" from my BufferClass just like this:
    public void doTaskThree(){
            synchronized(sharedLock)  {
                   Runnable runme = new Runnable(){
                         public void run(){
                                MyTableModel.instance().setValueAt("abc", 5,5);  
                   SwingUtilities.invokeLater(runme);
    }Thanks in advance for your help guys!

  • Hi I am having problems downloading and updating apps on my iPad and iPhone. The message cycles between waiting and loading then I get an error message saying unable to download app. Eventually,after many attempts it works.

    Hi Guys - for a few days I have been having problems downloading and updating apps on my iPad and iPhone. The message cycles between waiting and downloading then eventually says unable to download app. Sometimes after many attempts it wil eventually work. I tested it on an old iPhone 3G and got the same problem so it is not an iOS 5 issue. My WI-FI connection is working fine. I was wondering if this is an App Store problem? Anyone else in the UK having this problem?

    Hi John
    iTunes Support wasn't of any use to me.
    I have also been having another problem - with BBC iPlayer and other video streaming not working due to insufficient bandwidth, despite my overall download speed being consistently around 50Gb.  This is also affecting AppleTV downloads
    I am using Virgin Media as my ISP, and was wondering whether you do as well.  This might be the common thread.
    -Bernard

  • Slow execution, flickering graphics, and too many threads, oh my!

    i wrote a little game called Aim, Fire! just to screw around.
    its immense complexity involves shooting little targets that fly across the screen.
    you can see it at http://www.brianmaissy.com/applets/aimfire
    i made a class representing a target that paints itself and is its own thread.
    its kinda nifty in a OOP sort of way: all i have to do is instantiate a target; and it takes care of the rest, notifying the driver program of anything important (like it getting shot)
    the problem, however, is the speed changes significantly depending on how many targets are active, and the graphics are very flickery.
    i think the problem may be that having multiple threads is slow.
    i also tried buffering my graphics but it didnt work very well.
    however that may just be because i did it wrong.
    in fact i probably did a lot of things wrong - please notify me of anything you see that i did badly
    so tell me what you think about the design of the program, and any suggestions you have to restructure it. would i do better just to stick everything in one thread, or even all in one class?
    thanks very much!
    here is the code: (also found at http://www.brianmaissy.com/applets/aimfire/aimFire/AimFire.java and http://www.brianmaissy.com/applets/aimfire/aimFire/Target.java)
    package aimFire;
    import java.applet.Applet;
    import java.awt.Color;
    import java.awt.Event;
    import java.awt.Graphics;
    import java.awt.Image;
    import java.awt.Point;
    import java.util.ArrayList;
    import java.util.Random;
    public class AimFire extends Applet{
         public static final int SPEED_CONSTANT = 500;
         public static final int MIN_X = 0;
         public static final int MIN_Y = 21;
         public static final int MAX_X = 399;
         public static final int MAX_Y = 399;
         Image ammoImage;
         private Random rand;
         private static final int CLIP = 10;
         private static final int TOTAL_TARGETS = 20;
         private int toBeAdded;
         private ArrayList<Target> targets;
         private int targetsKilled;
         private int ammo;
         private int score;
         private boolean gameActive;
         public void init(){
              setSize(400, 400);
              setBackground(Color.black);
            setCursor(getToolkit().createCustomCursor(getImage(this.getClass().getResource("crosshair.gif")), new Point(16, 16), "crosshair"));
            ammoImage = getImage(this.getClass().getResource("ammo.gif"));
            rand = new Random();
            ammo = CLIP;
            score = 0;
            gameActive = true;
            targetsKilled = 0;
            toBeAdded = TOTAL_TARGETS;
            targets = new ArrayList<Target>();
            sendRandom();
            sendRandom();
         public boolean mouseDown(Event e, int x, int y){
              if(gameActive && ammo > 0){
                   ammo--;
                   for(int count = 0; count < targets.size(); count++){
                        score += targets.get(count).hit(x, y);
                   repaint();
              return true;
         public boolean keyDown(Event e, int key){
              if((char)key == ' ' && gameActive){
                   ammo = CLIP;
                   repaint();
              return true;
         private void sendRandom(){
            toBeAdded--;
              Target t = new Target(this, getGraphics(), rand);
              targets.add(t);
            new Thread(t).start();
            repaint();
         public void notifyOfDeath(Target t){
              targetsKilled++;
              targets.remove(t);
              if(toBeAdded > 0){
                   sendRandom();
              if(targets.size()==0){
                   gameActive = false;
              repaint();
         public void paint(Graphics g){
              g.setColor(Color.gray);
            g.drawLine(0, 20, 399, 20);
              for(int count = 0; count < ammo; count++){
                   g.drawImage(ammoImage, count*10 + 3, 3, this);
              if(ammo == 0){
                   g.drawString("press space to reload", 3, 13);
            g.drawString("Targets: " + targetsKilled + "/" + TOTAL_TARGETS, 230, 13);
            g.drawString("Score: " + score, 340, 13);
              if(!gameActive){
                   g.setColor(Color.gray);
                   g.drawString("Game Over", 170, 200);
                   g.drawString("Score: " + score, 170, 230);
    package aimFire;
    import java.awt.Color;
    import java.awt.Graphics;
    import java.util.Random;
    public class Target implements Runnable{
         private AimFire a;
         private Graphics g;
         private int radius;
         private int xLocation;
         private int yLocation;
         private int xDirection;
         private int yDirection;
         private int xSpeed;
         private int ySpeed;
         public Target(AimFire driver, Graphics graphics, Random rand){
              this(driver, graphics, 3*(rand.nextInt(9)+ 2), rand.nextInt(1 + AimFire.MAX_X - 60) + 30 + AimFire.MIN_X, rand.nextInt(1 + AimFire.MAX_Y - 60 - AimFire.MIN_Y) + 30 + AimFire.MIN_Y, rand.nextInt(3)-1, rand.nextInt(3)-1, rand.nextInt(5)+1, rand.nextInt(5)+1);
              if(xDirection == 0 && yDirection == 0){
                   if(rand.nextInt(2)==0){
                        if(rand.nextInt(2)==0){
                             xDirection = 1;
                        }else{
                             xDirection = -1;
                   }else{
                        if(rand.nextInt(2)==0){
                             yDirection = 1;
                        }else{
                             yDirection = -1;
         public Target(AimFire driver, Graphics graphics, int r, int x, int y, int xDir, int yDir, int xSp, int ySp){
              a = driver;
              g = graphics;
              radius = r;
              xLocation = x;
              yLocation = y;
              xDirection = xDir;
              yDirection = yDir;
              xSpeed = xSp;
              ySpeed = ySp;
         public void run() {
              if(g!=null){
                   paint();
                   int count = 1;
                   while(xLocation >= AimFire.MIN_X && xLocation <= AimFire.MAX_X && yLocation >= AimFire.MIN_Y && yLocation <= AimFire.MAX_Y){
                        unpaint();
                        if(count % (AimFire.SPEED_CONSTANT/xSpeed) == 0){
                             xLocation += xDirection;
                        if(count % (AimFire.SPEED_CONSTANT/ySpeed) == 0){
                             yLocation += yDirection;
                        paint();
                        count++;
                   unpaint();
                   a.notifyOfDeath(this);
         public int hit(int x, int y){
              if(Math.abs(x - xLocation) < radius/3 && Math.abs(y - yLocation) < radius/3){
                   xLocation = -99;
                   return 3;
              }else if(Math.abs(x - xLocation) < 2*radius/3 && Math.abs(y - yLocation) < 2*radius/3){
                   xLocation = -99;
                   return 2;
              }else if(Math.abs(x - xLocation) < radius && Math.abs(y - yLocation) < radius){
                   xLocation = -99;
                   return 1;
              }else{
                   return 0;
         private void paint(){
              g.setColor(Color.red);
              g.fillOval(xLocation-radius, yLocation-radius, 2*radius, 2*radius);
              g.setColor(Color.white);
              g.fillOval(xLocation-2*radius/3, yLocation-2*radius/3, 4*radius/3, 4*radius/3);
              g.setColor(Color.red);
              g.fillOval(xLocation-radius/3, yLocation-radius/3, 2*radius/3, 2*radius/3);
         private void unpaint(){
              g.setColor(Color.black);
              g.fillOval(xLocation-radius, yLocation-radius, 2*radius, 2*radius);
    }

    i wrote a little game called Aim, Fire! just to screw around.
    its immense complexity involves shooting little targets that fly across the screen.
    you can see it at http://www.brianmaissy.com/applets/aimfire
    i made a class representing a target that paints itself and is its own thread.
    its kinda nifty in a OOP sort of way: all i have to do is instantiate a target; and it takes care of the rest, notifying the driver program of anything important (like it getting shot)
    the problem, however, is the speed changes significantly depending on how many targets are active, and the graphics are very flickery.
    i think the problem may be that having multiple threads is slow.
    i also tried buffering my graphics but it didnt work very well.
    however that may just be because i did it wrong.
    in fact i probably did a lot of things wrong - please notify me of anything you see that i did badly
    so tell me what you think about the design of the program, and any suggestions you have to restructure it. would i do better just to stick everything in one thread, or even all in one class?
    thanks very much!
    here is the code: (also found at http://www.brianmaissy.com/applets/aimfire/aimFire/AimFire.java and http://www.brianmaissy.com/applets/aimfire/aimFire/Target.java)
    package aimFire;
    import java.applet.Applet;
    import java.awt.Color;
    import java.awt.Event;
    import java.awt.Graphics;
    import java.awt.Image;
    import java.awt.Point;
    import java.util.ArrayList;
    import java.util.Random;
    public class AimFire extends Applet{
         public static final int SPEED_CONSTANT = 500;
         public static final int MIN_X = 0;
         public static final int MIN_Y = 21;
         public static final int MAX_X = 399;
         public static final int MAX_Y = 399;
         Image ammoImage;
         private Random rand;
         private static final int CLIP = 10;
         private static final int TOTAL_TARGETS = 20;
         private int toBeAdded;
         private ArrayList<Target> targets;
         private int targetsKilled;
         private int ammo;
         private int score;
         private boolean gameActive;
         public void init(){
              setSize(400, 400);
              setBackground(Color.black);
            setCursor(getToolkit().createCustomCursor(getImage(this.getClass().getResource("crosshair.gif")), new Point(16, 16), "crosshair"));
            ammoImage = getImage(this.getClass().getResource("ammo.gif"));
            rand = new Random();
            ammo = CLIP;
            score = 0;
            gameActive = true;
            targetsKilled = 0;
            toBeAdded = TOTAL_TARGETS;
            targets = new ArrayList<Target>();
            sendRandom();
            sendRandom();
         public boolean mouseDown(Event e, int x, int y){
              if(gameActive && ammo > 0){
                   ammo--;
                   for(int count = 0; count < targets.size(); count++){
                        score += targets.get(count).hit(x, y);
                   repaint();
              return true;
         public boolean keyDown(Event e, int key){
              if((char)key == ' ' && gameActive){
                   ammo = CLIP;
                   repaint();
              return true;
         private void sendRandom(){
            toBeAdded--;
              Target t = new Target(this, getGraphics(), rand);
              targets.add(t);
            new Thread(t).start();
            repaint();
         public void notifyOfDeath(Target t){
              targetsKilled++;
              targets.remove(t);
              if(toBeAdded > 0){
                   sendRandom();
              if(targets.size()==0){
                   gameActive = false;
              repaint();
         public void paint(Graphics g){
              g.setColor(Color.gray);
            g.drawLine(0, 20, 399, 20);
              for(int count = 0; count < ammo; count++){
                   g.drawImage(ammoImage, count*10 + 3, 3, this);
              if(ammo == 0){
                   g.drawString("press space to reload", 3, 13);
            g.drawString("Targets: " + targetsKilled + "/" + TOTAL_TARGETS, 230, 13);
            g.drawString("Score: " + score, 340, 13);
              if(!gameActive){
                   g.setColor(Color.gray);
                   g.drawString("Game Over", 170, 200);
                   g.drawString("Score: " + score, 170, 230);
    package aimFire;
    import java.awt.Color;
    import java.awt.Graphics;
    import java.util.Random;
    public class Target implements Runnable{
         private AimFire a;
         private Graphics g;
         private int radius;
         private int xLocation;
         private int yLocation;
         private int xDirection;
         private int yDirection;
         private int xSpeed;
         private int ySpeed;
         public Target(AimFire driver, Graphics graphics, Random rand){
              this(driver, graphics, 3*(rand.nextInt(9)+ 2), rand.nextInt(1 + AimFire.MAX_X - 60) + 30 + AimFire.MIN_X, rand.nextInt(1 + AimFire.MAX_Y - 60 - AimFire.MIN_Y) + 30 + AimFire.MIN_Y, rand.nextInt(3)-1, rand.nextInt(3)-1, rand.nextInt(5)+1, rand.nextInt(5)+1);
              if(xDirection == 0 && yDirection == 0){
                   if(rand.nextInt(2)==0){
                        if(rand.nextInt(2)==0){
                             xDirection = 1;
                        }else{
                             xDirection = -1;
                   }else{
                        if(rand.nextInt(2)==0){
                             yDirection = 1;
                        }else{
                             yDirection = -1;
         public Target(AimFire driver, Graphics graphics, int r, int x, int y, int xDir, int yDir, int xSp, int ySp){
              a = driver;
              g = graphics;
              radius = r;
              xLocation = x;
              yLocation = y;
              xDirection = xDir;
              yDirection = yDir;
              xSpeed = xSp;
              ySpeed = ySp;
         public void run() {
              if(g!=null){
                   paint();
                   int count = 1;
                   while(xLocation >= AimFire.MIN_X && xLocation <= AimFire.MAX_X && yLocation >= AimFire.MIN_Y && yLocation <= AimFire.MAX_Y){
                        unpaint();
                        if(count % (AimFire.SPEED_CONSTANT/xSpeed) == 0){
                             xLocation += xDirection;
                        if(count % (AimFire.SPEED_CONSTANT/ySpeed) == 0){
                             yLocation += yDirection;
                        paint();
                        count++;
                   unpaint();
                   a.notifyOfDeath(this);
         public int hit(int x, int y){
              if(Math.abs(x - xLocation) < radius/3 && Math.abs(y - yLocation) < radius/3){
                   xLocation = -99;
                   return 3;
              }else if(Math.abs(x - xLocation) < 2*radius/3 && Math.abs(y - yLocation) < 2*radius/3){
                   xLocation = -99;
                   return 2;
              }else if(Math.abs(x - xLocation) < radius && Math.abs(y - yLocation) < radius){
                   xLocation = -99;
                   return 1;
              }else{
                   return 0;
         private void paint(){
              g.setColor(Color.red);
              g.fillOval(xLocation-radius, yLocation-radius, 2*radius, 2*radius);
              g.setColor(Color.white);
              g.fillOval(xLocation-2*radius/3, yLocation-2*radius/3, 4*radius/3, 4*radius/3);
              g.setColor(Color.red);
              g.fillOval(xLocation-radius/3, yLocation-radius/3, 2*radius/3, 2*radius/3);
         private void unpaint(){
              g.setColor(Color.black);
              g.fillOval(xLocation-radius, yLocation-radius, 2*radius, 2*radius);
    }

  • Many threads in waitforrequest condition and server in unknown condition

    Java version : J2RE 5.0 IBM J9 2.3 AIX ppc-32 build j9vmap3223-20080315
    Maximum Java heap size : 2048m
    Initial Java heap size : 1024m
    Free Java heap size: 656,758,528 bytes
    Allocated Java heap size: 1,477,712,384 bytes
    I have application deployed on above environment.Using Springs2.0,Struts 2.0 and JPA
    Many threads in waiting condition no deadlock condition.**Application has stopped respondinThread dump looks like
    2XMFULLTHDDUMP Full thread dump J9 VM (J2RE 5.0 IBM J9 2.3 AIX ppc-32 build 20080314_17962_bHdSMr, native threads):
    "main" (TID:0x3295C400, sys_thread_t:0x300107E8, state:CW, native ID:0x001980FB) prio=5
    at java/lang/Object.wait(Native Method)
    at java/lang/Object.wait(Object.java:199)
    at weblogic/t3/srvr/T3Srvr.waitForDeath(T3Srvr.java:730)
    at weblogic/t3/srvr/T3Srvr.run(T3Srvr.java:380)
    at weblogic/Server.main(Server.java:67)
    "JIT Compilation Thread" (TID:0x3295C800, sys_thread_t:0x30010D20, state:CW, native ID:0x001E70A5) prio=11
    "Signal Dispatcher" (TID:0x3295CC00, sys_thread_t:0x30011258, state:R, native ID:0x00260001) prio=5
    at com/ibm/misc/SignalDispatcher.waitForSignal(Native Method)
    at com/ibm/misc/SignalDispatcher.run(SignalDispatcher.java:84)
    "Concurrent Mark Helper" (TID:0x33CF8C00, sys_thread_t:0x33C19EE4, state:CW, native ID:0x0014203D) prio=5
    "Gc Slave Thread" (TID:0x33CF9000, sys_thread_t:0x33C1A180, state:CW, native ID:0x0025B0B7) prio=5
    "Timer-0" (TID:0x33CF9400, sys_thread_t:0x33C1A41C, state:CW, native ID:0x000C50E7) prio=5
    at java/lang/Object.wait(Native Method)
    at java/lang/Object.wait(Object.java:199(Compiled Code))
    at java/util/TimerThread.mainLoop(Timer.java:498)
    at java/util/TimerThread.run(Timer.java:477)
    "Timer-1" (TID:0x34C3EF00, sys_thread_t:0x33C1A6B8, state:CW, native ID:0x001400E3) prio=5
    at java/lang/Object.wait(Native Method)
    at java/lang/Object.wait(Object.java:231(Compiled Code))
    at java/util/TimerThread.mainLoop(Timer.java:524)
    at java/util/TimerThread.run(Timer.java:477)
    "[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'" (TID:0x34C3F300, sys_thread_t:0x33C1A954, state:CW, native ID:0x0019E0EF) prio=5
    at java/lang/Object.wait(Native Method)
    at java/lang/Object.wait(Object.java:199(Compiled Code))
    at weblogic/work/ExecuteThread.waitForRequest(ExecuteThread.java:163(Compiled Code))
    at weblogic/work/ExecuteThread.run(ExecuteThread.java:186)
    "OperatingSystemMXBean notification dispatcher" (TID:0x34C3F700, sys_thread_t:0x35525028, state:CW, native ID:0x0018F031) prio=6
    at com/ibm/lang/management/OperatingSystemNotificationThread.processNotificationLoop(Native Method)
    at com/ibm/lang/management/OperatingSystemNotificationThread.run(OperatingSystemNotificationThread.java:39)
    "MemoryPoolMXBean notification dispatcher" (TID:0x3557B200, sys_thread_t:0x355252C4, state:CW, native ID:0x001D508D) prio=6
    at com/ibm/lang/management/MemoryNotificationThread.processNotificationLoop(Native Method)
    at com/ibm/lang/management/MemoryNotificationThread.run(MemoryNotificationThread.java:55)
    "weblogic.time.TimeEventGenerator" (TID:0x3557B600, sys_thread_t:0x35525560, state:CW, native ID:0x0021C055) prio=9
    at java/lang/Object.wait(Native Method)
    at java/lang/Object.wait(Object.java:231(Compiled Code))
    at weblogic/time/common/internal/TimeTable.snooze(TimeTable.java:286)
    at weblogic/time/common/internal/TimeEventGenerator.run(TimeEventGenerator.java:117)
    at java/lang/Thread.run(Thread.java:810)
    "weblogic.timers.TimerThread" (TID:0x3557BA00, sys_thread_t:0x355257FC, state:CW, native ID:0x001CF047) prio=9
    at java/lang/Object.wait(Native Method)
    at java/lang/Object.wait(Object.java:231(Compiled Code))
    at weblogic/timers/internal/TimerThread$Thread.run(TimerThread.java:260)
    "[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'" (TID:0x355A8300, sys_thread_t:0x35525A98, state:CW, native ID:0x002230A5) prio=5
    at java/lang/Object.wait(Native Method)
    at java/lang/Object.wait(Object.java:199(Compiled Code))
    at weblogic/work/ExecuteThread.waitForRequest(ExecuteThread.java:163(Compiled Code))
    at weblogic/work/ExecuteThread.run(ExecuteThread.java:186)
    "Finalizer thread" (TID:0x355A8700, sys_thread_t:0x35525D34, state:CW, native ID:0x00258071) prio=5
    "weblogic.store.WLS_DIAGNOSTICS" (TID:0x355A8B00, sys_thread_t:0x33CB7518, state:P, native ID:0x002390F1) prio=10
    at sun/misc/Unsafe.park(Native Method)
    at java/util/concurrent/locks/LockSupport.park(LockSupport.java:169(Compiled Code))
    at java/util/concurrent/locks/AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1787(Compiled Code))
    at java/util/concurrent/LinkedBlockingQueue.take(LinkedBlockingQueue.java:379(Compiled Code))
    at weblogic/utils/concurrent/JDK15ConcurrentBlockingQueue.take(JDK15ConcurrentBlockingQueue.java:89(Compiled Code))
    at weblogic/store/internal/PersistentStoreImpl.getOutstandingWork(PersistentStoreImpl.java:570(Compiled Code))
    at weblogic/store/internal/PersistentStoreImpl.run(PersistentStoreImpl.java:618)
    at java/lang/Thread.run(Thread.java:810)
    "ExecuteThread: '0' for queue: 'weblogic.socket.Muxer'" (TID:0x33E56300, sys_thread_t:0x33CB77B4, state:B, native ID:0x0013A019) prio=5
    at weblogic/socket/PosixSocketMuxer.processSockets(PosixSocketMuxer.java:93)
    at weblogic/socket/SocketReaderRequest.run(SocketReaderRequest.java:29)
    at weblogic/socket/SocketReaderRequest.execute(SocketReaderRequest.java:42)
    at weblogic/kernel/ExecuteThread.execute(ExecuteThread.java:145)
    at weblogic/kernel/ExecuteThread.run(ExecuteThread.java:117)
    "ExecuteThread: '1' for queue: 'weblogic.socket.Muxer'" (TID:0x33E56700, sys_thread_t:0x33CB7A50, state:B, native ID:0x001B4053) prio=5
    at weblogic/socket/PosixSocketMuxer.processSockets(PosixSocketMuxer.java:93)
    at weblogic/socket/SocketReaderRequest.run(SocketReaderRequest.java:29)
    at weblogic/socket/SocketReaderRequest.execute(SocketReaderRequest.java:42)
    at weblogic/kernel/ExecuteThread.execute(ExecuteThread.java:145)
    at weblogic/kernel/ExecuteThread.run(ExecuteThread.java:117)
    "ExecuteThread: '2' for queue: 'weblogic.socket.Muxer'" (TID:0x33E56B00, sys_thread_t:0x33CB7CEC, state:R, native ID:0x00208083) prio=5
    at weblogic/socket/PosixSocketMuxer.poll(Native Method)
    at weblogic/socket/PosixSocketMuxer.processSockets(PosixSocketMuxer.java:102)
    at weblogic/socket/SocketReaderRequest.run(SocketReaderRequest.java:29)
    at weblogic/socket/SocketReaderRequest.execute(SocketReaderRequest.java:42)
    at weblogic/kernel/ExecuteThread.execute(ExecuteThread.java:145)
    at weblogic/kernel/ExecuteThread.run(ExecuteThread.java:117)
    "VDE Transaction Processor Thread" (TID:0x33F9F300, sys_thread_t:0x33CB7F88, state:CW, native ID:0x002050A9) prio=2
    at java/lang/Object.wait(Native Method)
    at java/lang/Object.wait(Object.java:199)
    at com/octetstring/vde/backend/standard/TransactionProcessor.waitChange(TransactionProcessor.java:367)
    at com/octetstring/vde/backend/standard/TransactionProcessor.run(TransactionProcessor.java:212)
    "LDAPConnThread-0 ldap://10.18.49.5:7001" (TID:0x33F9F700, sys_thread_t:0x33CB8224, state:R, native ID:0x001D10AB) prio=5
    at java/net/SocketInputStream.socketRead0(Native Method)
    at java/net/SocketInputStream.read(SocketInputStream.java:155)
    at java/io/BufferedInputStream.fill(BufferedInputStream.java:229)
    at java/io/BufferedInputStream.read(BufferedInputStream.java:246(Compiled Code))
    at netscape/ldap/ber/stream/BERElement.getElement(BERElement.java:101)
    at netscape/ldap/LDAPConnThread.run(LDAPConnThread.java:538)
    at java/lang/Thread.run(Thread.java:810)
    "DoSManager" (TID:0x33F9FB00, sys_thread_t:0x33F4F638, state:CW, native ID:0x000940C3) prio=6
    at java/lang/Thread.sleep(Native Method)
    at java/lang/Thread.sleep(Thread.java:938(Compiled Code))
    at com/octetstring/vde/DoSManager.run(DoSManager.java:433)
    "LDAPConnThread-1 ldap://10.18.49.5:7001" (TID:0x3414EE00, sys_thread_t:0x33F4F8D4, state:R, native ID:0x00189037) prio=5
    at java/net/SocketInputStream.socketRead0(Native Method)
    at java/net/SocketInputStream.read(SocketInputStream.java:155)
    at java/io/BufferedInputStream.fill(BufferedInputStream.java:229)
    at java/io/BufferedInputStream.read(BufferedInputStream.java:246(Compiled Code))
    at netscape/ldap/ber/stream/BERElement.getElement(BERElement.java:101)
    at netscape/ldap/LDAPConnThread.run(LDAPConnThread.java:538)
    at java/lang/Thread.run(Thread.java:810)
    "weblogic.store._WLS_TPMS_MS1" (TID:0x3414F200, sys_thread_t:0x33F4FB70, state:P, native ID:0x001C70AF) prio=10
    at sun/misc/Unsafe.park(Native Method)
    at java/util/concurrent/locks/LockSupport.park(LockSupport.java:169(Compiled Code))
    at java/util/concurrent/locks/AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1787(Compiled Code))
    at java/util/concurrent/LinkedBlockingQueue.take(LinkedBlockingQueue.java:379(Compiled Code))
    at weblogic/utils/concurrent/JDK15ConcurrentBlockingQueue.take(JDK15ConcurrentBlockingQueue.java:89)
    at weblogic/store/internal/PersistentStoreImpl.getOutstandingWork(PersistentStoreImpl.java:570(Compiled Code))
    at weblogic/store/internal/PersistentStoreImpl.run(PersistentStoreImpl.java:618)
    at java/lang/Thread.run(Thread.java:810)
    "Store com.cvs.tpms.cache.METHOD_CACHE Spool Thread" (TID:0x3414F600, sys_thread_t:0x33F4FE0C, state:CW, native ID:0x002510DD) prio=2
    at java/lang/Thread.sleep(Native Method)
    at java/lang/Thread.sleep(Thread.java:938(Compiled Code))
    at net/sf/ehcache/store/DiskStore.spoolAndExpiryThreadMain(DiskStore.java:573)
    at net/sf/ehcache/store/DiskStore.access$800(DiskStore.java:65)
    at net/sf/ehcache/store/DiskStore$SpoolAndExpiryThread.run(DiskStore.java:1057)
    "[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'" (TID:0x3B886200, sys_thread_t:0x33F500A8, state:CW, native ID:0x00257023) prio=5
    at java/lang/Object.wait(Native Method)
    at java/lang/Object.wait(Object.java:199(Compiled Code))
    at weblogic/work/ExecuteThread.waitForRequest(ExecuteThread.java:163(Compiled Code))
    at weblogic/work/ExecuteThread.run(ExecuteThread.java:186)
    "weblogic.GCMonitor" (TID:0x3B886600, sys_thread_t:0x33F50344, state:CW, native ID:0x0027309D) prio=5
    at java/lang/Object.wait(Native Method)
    at java/lang/Object.wait(Object.java:231(Compiled Code))
    at java/lang/ref/ReferenceQueue.remove(ReferenceQueue.java:97(Compiled Code))
    at weblogic/platform/GCMonitorThread.waitForNotification(GCMonitorThread.java:88)
    at weblogic/platform/GCMonitorThread.run(GCMonitorThread.java:64)
    "[ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'" (TID:0x3B886A00, sys_thread_t:0x3B6DE538, state:CW, native ID:0x0026400B) prio=5
    at java/lang/Object.wait(Native Method)
    at java/lang/Object.wait(Object.java:199(Compiled Code))
    at weblogic/work/ExecuteThread.waitForRequest(ExecuteThread.java:163(Compiled Code))
    at weblogic/work/ExecuteThread.run(ExecuteThread.java:186)
    "DynamicListenThread[Default]" (TID:0x3ACF6F00, sys_thread_t:0x3B6DE7D4, state:CW, native ID:0x0022E04F) prio=9
    at java/net/PlainSocketImpl.socketAccept(Native Method)
    at java/net/PlainSocketImpl.accept(PlainSocketImpl.java:455(Compiled Code))
    at java/net/ServerSocket.implAccept(ServerSocket.java:462(Compiled Code))
    at java/net/ServerSocket.accept(ServerSocket.java:433(Compiled Code))
    at weblogic/socket/WeblogicServerSocket.accept(WeblogicServerSocket.java:34(Compiled Code))
    at weblogic/server/channels/DynamicListenThread$SocketAccepter.accept(DynamicListenThread.java:519(Compiled Code))
    at weblogic/server/channels/DynamicListenThread$SocketAccepter.access$200(DynamicListenThread.java:420(Compiled Code))
    at weblogic/server/channels/DynamicListenThread.run(DynamicListenThread.java:166)
    at java/lang/Thread.run(Thread.java:810)
    "[ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'" (TID:0x3ACF7300, sys_thread_t:0x3B6DEA70, state:CW, native ID:0x001AA0EF) prio=5
    at java/lang/Object.wait(Native Method)
    at java/lang/Object.wait(Object.java:199(Compiled Code))
    at weblogic/work/ExecuteThread.waitForRequest(ExecuteThread.java:163(Compiled Code))
    at weblogic/work/ExecuteThread.run(ExecuteThread.java:186)
    "[ACTIVE] ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)'" (TID:0x3ACF7700, sys_thread_t:0x3B6DED0C, state:CW, native ID:0x0014C03F) prio=5
    at java/lang/Object.wait(Native Method)
    at java/lang/Object.wait(Object.java:199(Compiled Code))
    at weblogic/work/ExecuteThread.waitForRequest(ExecuteThread.java:163(Compiled Code))
    at weblogic/work/ExecuteThread.run(ExecuteThread.java:186)
    "Thread-17" (TID:0x3BE6F600, sys_thread_t:0x3B6DEFA8, state:CW, native ID:0x000B209D) prio=5
    at java/lang/Object.wait(Native Method)
    at java/lang/Object.wait(Object.java:231(Compiled Code))
    at com/sun/jmx/remote/internal/ServerCommunicatorAdmin$Adminor.run(ServerCommunicatorAdmin.java:163)
    at java/lang/Thread.run(Thread.java:810)
    "FSCacheRefQueueThread" (TID:0x3BE6FA00, sys_thread_t:0x3B6DF244, state:CW, native ID:0x0019A0A9) prio=1
    at java/lang/Object.wait(Native Method)
    at java/lang/Object.wait(Object.java:231(Compiled Code))
    at java/lang/ref/ReferenceQueue.remove(ReferenceQueue.java:97(Compiled Code))
    at java/lang/ref/ReferenceQueue.remove(ReferenceQueue.java:74(Compiled Code))
    at workshop/util/filesystem/FSCache$FSCacheRefQueueThread.run(FSCache.java:65)
    "[ACTIVE] ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)'" (TID:0x3BE6FE00, sys_thread_t:0x3F621978, state:R, native ID:0x0019F0BF) prio=5
    at java/net/PlainSocketImpl.socketClose0(Native Method)
    at java/net/PlainSocketImpl.socketPreClose(PlainSocketImpl.java:744(Compiled Code))
    at java/net/PlainSocketImpl.close(PlainSocketImpl.java:568(Compiled Code))
    at java/net/SocksSocketImpl.close(SocksSocketImpl.java:1049(Compiled Code))
    at java/net/Socket.close(Socket.java:1341(Compiled Code))
    at weblogic/socket/SocketMuxer.closeSocket(SocketMuxer.java:430(Compiled Code))
    at weblogic/socket/SocketMuxer.cancelIo(SocketMuxer.java:754)
    at weblogic/socket/SocketMuxer.deliverExceptionAndCleanup(SocketMuxer.java:744(Compiled Code))
    at weblogic/socket/SocketMuxer.deliverEndOfStream(SocketMuxer.java:681)
    at weblogic/socket/SocketMuxer.closeSocket(SocketMuxer.java:558)
    at weblogic/rjvm/t3/MuxableSocketT3$T3MsgAbbrevJVMConnection.close(MuxableSocketT3.java:510)
    at weblogic/rjvm/ConnectionManager.removeConnection(ConnectionManager.java:1183)
    at weblogic/rjvm/ConnectionManager.shutdown(ConnectionManager.java:718)
    at weblogic/rjvm/ConnectionManagerServer.shutdown(ConnectionManagerServer.java:733)
    at weblogic/rjvm/RJVMImpl.peerGone(RJVMImpl.java:1321)
    at weblogic/rjvm/RJVMImpl$HeartbeatChecker.timerExpired(RJVMImpl.java:1516(Compiled Code))
    at weblogic/timers/internal/TimerImpl.run(TimerImpl.java:265(Compiled Code))
    at weblogic/work/ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkManagerImpl.java:518(Compiled Code))
    at weblogic/work/ExecuteThread.execute(ExecuteThread.java:209(Compiled Code))
    at weblogic/work/ExecuteThread.run(ExecuteThread.java:181(Compiled Code))
    "[ACTIVE] ExecuteThread: '7' for queue: 'weblogic.kernel.Default (self-tuning)'" (TID:0x3FF82400, sys_thread_t:0x3F621EB0, state:CW, native ID:0x0019208D) prio=5
    at java/lang/Object.wait(Native Method)
    at java/lang/Object.wait(Object.java:199(Compiled Code))
    at weblogic/work/ExecuteThread.waitForRequest(ExecuteThread.java:163(Compiled Code))
    at weblogic/work/ExecuteThread.run(ExecuteThread.java:173(Compiled Code))
    "[ACTIVE] ExecuteThread: '8' for queue: 'weblogic.kernel.Default (self-tuning)'" (TID:0x3FF82800, sys_thread_t:0x3F621C14, state:CW, native ID:0x0024E0A5) prio=5
    at java/lang/Object.wait(Native Method)
    at java/lang/Object.wait(Object.java:199(Compiled Code))
    at weblogic/work/ExecuteThread.waitForRequest(ExecuteThread.java:163(Compiled Code))
    at weblogic/work/ExecuteThread.run(ExecuteThread.java:173(Compiled Code))
    "[STANDBY] ExecuteThread: '9' for queue: 'weblogic.kernel.Default (self-tuning)'" (TID:0x3FF82C00, sys_thread_t:0x3F62214C, state:CW, native ID:0x001950F3) prio=5
    at java/lang/Object.wait(Native Method)
    at java/lang/Object.wait(Object.java:199(Compiled Code))
    at weblogic/work/ExecuteThread.waitForRequest(ExecuteThread.java:163(Compiled Code))
    at weblogic/work/ExecuteThread.run(ExecuteThread.java:173(Compiled Code))
    "File Reaper" (TID:0x400CEF00, sys_thread_t:0x406E4F48, state:CW, native ID:0x001EC0F5) prio=10
    at java/lang/Object.wait(Native Method)
    at java/lang/Object.wait(Object.java:231(Compiled Code))
    at java/lang/ref/ReferenceQueue.remove(ReferenceQueue.java:97(Compiled Code))
    at java/lang/ref/ReferenceQueue.remove(ReferenceQueue.java:74(Compiled Code))
    at org/apache/commons/io/FileCleaner$Reaper.run(FileCleaner.java:206)
    "[STANDBY] ExecuteThread: '12' for queue: 'weblogic.kernel.Default (self-tuning)'" (TID:0x41008500, sys_thread_t:0x406E5480, state:CW, native ID:0x0026107F) prio=5
    at java/lang/Object.wait(Native Method)
    at java/lang/Object.wait(Object.java:199(Compiled Code))
    at weblogic/work/ExecuteThread.waitForRequest(ExecuteThread.java:163(Compiled Code))
    at weblogic/work/ExecuteThread.run(ExecuteThread.java:173(Compiled Code))
    "[ACTIVE] ExecuteThread: '26' for queue: 'weblogic.kernel.Default (self-tuning)'" (TID:0x42C39000, sys_thread_t:0x42C0F4EC, state:CW, native ID:0x002120AF) prio=5
    at java/lang/Object.wait(Native Method)
    at java/lang/Object.wait(Object.java:199(Compiled Code))
    at weblogic/work/ExecuteThread.waitForRequest(ExecuteThread.java:163(Compiled Code))
    at weblogic/work/ExecuteThread.run(ExecuteThread.java:173(Compiled Code))
    "[ACTIVE] ExecuteThread: '27' for queue: 'weblogic.kernel.Default (self-tuning)'" (TID:0x42D70C00, sys_thread_t:0x42C0F788, state:CW, native ID:0x001320CF) prio=5
    at java/lang/Object.wait(Native Method)
    at java/lang/Object.wait(Object.java:199(Compiled Code))
    at weblogic/work/ExecuteThread.waitForRequest(ExecuteThread.java:163(Compiled Code))
    at weblogic/work/ExecuteThread.run(ExecuteThread.java:173(Compiled Code))
    "[ACTIVE] ExecuteThread: '28' for queue: 'weblogic.kernel.Default (self-tuning)'" (TID:0x42D71000, sys_thread_t:0x42C0FA24, state:CW, native ID:0x002140D9) prio=5
    at java/lang/Object.wait(Native Method)
    at java/lang/Object.wait(Object.java:199(Compiled Code))
    at weblogic/work/ExecuteThread.waitForRequest(ExecuteThread.java:163(Compiled Code))
    at weblogic/work/ExecuteThread.run(ExecuteThread.java:173(Compiled Code))
    "[ACTIVE] ExecuteThread: '29' for queue: 'weblogic.kernel.Default (self-tuning)'" (TID:0x42D71400, sys_thread_t:0x42E4A648, state:CW, native ID:0x002320EB) prio=5
    at java/lang/Object.wait(Native Method)
    at java/lang/Object.wait(Object.java:199(Compiled Code))
    at weblogic/work/ExecuteThread.waitForRequest(ExecuteThread.java:163(Compiled Code))
    at weblogic/work/ExecuteThread.run(ExecuteThread.java:173(Compiled Code))
    "[ACTIVE] ExecuteThread: '30' for queue: 'weblogic.kernel.Default (self-tuning)'" (TID:0x42E54700, sys_thread_t:0x42E4A8E4, state:CW, native ID:0x001B80B7) prio=5
    at java/lang/Object.wait(Native Method)
    at java/lang/Object.wait(Object.java:199(Compiled Code))
    at weblogic/work/ExecuteThread.waitForRequest(ExecuteThread.java:163(Compiled Code))
    at weblogic/work/ExecuteThread.run(ExecuteThread.java:173(Compiled Code))
    "[ACTIVE] ExecuteThread: '31' for queue: 'weblogic.kernel.Default (self-tuning)'" (TID:0x42E54B00, sys_thread_t:0x42E4AB80, state:CW, native ID:0x001E6031) prio=5
    at java/lang/Object.wait(Native Method)
    at java/lang/Object.wait(Object.java:199(Compiled Code))
    at weblogic/work/ExecuteThread.waitForRequest(ExecuteThread.java:163(Compiled Code))
    at weblogic/work/ExecuteThread.run(ExecuteThread.java:173(Compiled Code))
    "[ACTIVE] ExecuteThread: '32' for queue: 'weblogic.kernel.Default (self-tuning)'" (TID:0x42E54F00, sys_thread_t:0x42E4AE1C, state:CW, native ID:0x001550EF) prio=5
    at java/lang/Object.wait(Native Method)
    at java/lang/Object.wait(Object.java:199(Compiled Code))
    at weblogic/work/ExecuteThread.waitForRequest(ExecuteThread.java:163(Compiled Code))
    at weblogic/work/ExecuteThread.run(ExecuteThread.java:173(Compiled Code))
    "[ACTIVE] ExecuteThread: '33' for queue: 'weblogic.kernel.Default (self-tuning)'" (TID:0x42E75700, sys_thread_t:0x42E4B0B8, state:CW, native ID:0x00268027) prio=5
    at java/lang/Object.wait(Native Method)
    at java/lang/Object.wait(Object.java:199(Compiled Code))
    at weblogic/work/ExecuteThread.waitForRequest(ExecuteThread.java:163(Compiled Code))
    at weblogic/work/ExecuteThread.run(ExecuteThread.java:173(Compiled Code))
    "[ACTIVE] ExecuteThread: '34' for queue: 'weblogic.kernel.Default (self-tuning)'" (TID:0x42E75B00, sys_thread_t:0x42E4B354, state:CW, native ID:0x000CC093) prio=5
    at java/lang/Object.wait(Native Method)
    at java/lang/Object.wait(Object.java:199(Compiled Code))
    at weblogic/work/ExecuteThread.waitForRequest(ExecuteThread.java:163(Compiled Code))
    at weblogic/work/ExecuteThread.run(ExecuteThread.java:173(Compiled Code))
    "[ACTIVE] ExecuteThread: '35' for queue: 'weblogic.kernel.Default (self-tuning)'" (TID:0x42E75F00, sys_thread_t:0x42E7D6A8, state:CW, native ID:0x001CE0F9) prio=5
    at java/lang/Object.wait(Native Method)
    at java/lang/Object.wait(Object.java:199(Compiled Code))
    at weblogic/work/ExecuteThread.waitForRequest(ExecuteThread.java:163(Compiled Code))
    at weblogic/work/ExecuteThread.run(ExecuteThread.java:173(Compiled Code))
    "[ACTIVE] ExecuteThread: '36' for queue: 'weblogic.kernel.Default (self-tuning)'" (TID:0x42E86800, sys_thread_t:0x42E7D944, state:CW, native ID:0x0014D0FB) prio=5
    at java/lang/Object.wait(Native Method)
    at java/lang/Object.wait(Object.java:199(Compiled Code))
    at weblogic/work/ExecuteThread.waitForRequest(ExecuteThread.java:163(Compiled Code))
    at weblogic/work/ExecuteThread.run(ExecuteThread.java:173(Compiled Code))
    "[ACTIVE] ExecuteThread: '37' for queue: 'weblogic.kernel.Default (self-tuning)'" (TID:0x42E86C00, sys_thread_t:0x42E7DBE0, state:CW, native ID:0x001A909F) prio=5
    at java/lang/Object.wait(Native Method)
    at java/lang/Object.wait(Object.java:199(Compiled Code))
    at weblogic/work/ExecuteThread.waitForRequest(ExecuteThread.java:163(Compiled Code))
    at weblogic/work/ExecuteThread.run(ExecuteThread.java:173(Compiled Code))
    "[STANDBY] ExecuteThread: '38' for queue: 'weblogic.kernel.Default (self-tuning)'" (TID:0x42E87000, sys_thread_t:0x42E7DE7C, state:CW, native ID:0x0012608B) prio=5
    at java/lang/Object.wait(Native Method)
    at java/lang/Object.wait(Object.java:199(Compiled Code))
    at weblogic/work/ExecuteThread.waitForRequest(ExecuteThread.java:163(Compiled Code))
    at weblogic/work/ExecuteThread.run(ExecuteThread.java:173(Compiled Code))
    "[STANDBY] ExecuteThread: '45' for queue: 'weblogic.kernel.Default (self-tuning)'" (TID:0x43701E00, sys_thread_t:0x4346B748, state:CW, native ID:0x001D90ED) prio=5
    at java/lang/Object.wait(Native Method)
    at java/lang/Object.wait(Object.java:199(Compiled Code))
    at weblogic/work/ExecuteThread.waitForRequest(ExecuteThread.java:163(Compiled Code))
    at weblogic/work/ExecuteThread.run(ExecuteThread.java:173(Compiled Code))
    "[STANDBY] ExecuteThread: '46' for queue: 'weblogic.kernel.Default (self-tuning)'" (TID:0x43702200, sys_thread_t:0x4346B9E4, state:CW, native ID:0x0018D031) prio=5
    at java/lang/Object.wait(Native Method)
    at java/lang/Object.wait(Object.java:199(Compiled Code))
    at weblogic/work/ExecuteThread.waitForRequest(ExecuteThread.java:163(Compiled Code))
    at weblogic/work/ExecuteThread.run(ExecuteThread.java:173(Compiled Code))
    "[STANDBY] ExecuteThread: '47' for queue: 'weblogic.kernel.Default (self-tuning)'" (TID:0x43702600, sys_thread_t:0x4374F2A8, state:CW, native ID:0x001E80D1) prio=5
    at java/lang/Object.wait(Native Method)
    at java/lang/Object.wait(Object.java:199(Compiled Code))
    at weblogic/work/ExecuteThread.waitForRequest(ExecuteThread.java:163(Compiled Code))
    at weblogic/work/ExecuteThread.run(ExecuteThread.java:173(Compiled Code))
    "[ACTIVE] ExecuteThread: '48' for queue: 'weblogic.kernel.Default (self-tuning)'" (TID:0x437E0D00, sys_thread_t:0x4374F544, state:CW, native ID:0x0013C075) prio=5
    at java/lang/Object.wait(Native Method)
    at java/lang/Object.wait(Object.java:199(Compiled Code))
    at weblogic/work/ExecuteThread.waitForRequest(ExecuteThread.java:163(Compiled Code))
    at weblogic/work/ExecuteThread.run(ExecuteThread.java:173(Compiled Code))
    "[ACTIVE] ExecuteThread: '49' for queue: 'weblogic.kernel.Default (self-tuning)'" (TID:0x437E1100, sys_thread_t:0x4374F7E0, state:R, native ID:0x000FF091) prio=5
    at java/net/PlainSocketImpl.socketClose0(Native Method)
    at java/net/PlainSocketImpl.socketPreClose(PlainSocketImpl.java:744(Compiled Code))
    at java/net/PlainSocketImpl.close(PlainSocketImpl.java:568(Compiled Code))
    at java/net/SocksSocketImpl.close(SocksSocketImpl.java:1049(Compiled Code))
    at java/net/Socket.close(Socket.java:1341(Compiled Code))
    at weblogic/socket/WeblogicSocket.close(WeblogicSocket.java:80(Compiled Code))
    at weblogic/socket/SocketMuxer.closeSocket(SocketMuxer.java:420(Compiled Code))
    at weblogic/socket/SocketMuxer.cancelIo(SocketMuxer.java:754)
    at weblogic/socket/SocketMuxer$TimerListenerImpl.timerExpired(SocketMuxer.java:957(Compiled Code))
    at weblogic/timers/internal/TimerImpl.run(TimerImpl.java:265(Compiled Code))
    at weblogic/work/ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkManagerImpl.java:518(Compiled Code))
    at weblogic/work/ExecuteThread.execute(ExecuteThread.java:209(Compiled Code))
    at weblogic/work/ExecuteThread.run(ExecuteThread.java:181(Compiled Code))
    Any help will be highly appreciated.

    My jvm parameters....Weblogic is 9.2
    -Xjcl:jclscar_23
    -Dcom.ibm.oti.vm.bootstrap.library.path=/usr/java5/jre/bin
    -Dsun.boot.library.path=/usr/java5/jre/bin
    -Djava.library.path=/usr/java5/jre/bin:/usr/java5/jre/bin:/usr/java5/jre/bin/classic:/usr/java5/jre/bin:/usr/local/bea/weblogic921/patch_weblogic921/profiles/default/native:/usr/local/CA/Siteminder/webagent/bin:/usr/local/bea/weblogic921/weblogic92/server/native/aix/ppc:/usr/java5/jre/bin/j9vm:/usr/lib
    -Djava.home=/usr/java5/jre
    -Djava.ext.dirs=/usr/java5/jre/lib/ext
    -Duser.dir=/usr/local/bea/weblogic921/user_projects/domains/tpms
    j2sej9=70912 0xF0AF7C68
    vfprintf 0x300017C4
    -Xms1024m
    -Xmx2048m
    -Xmn312m
    -Xgcpolicy:gencon
    -da
    -Dplatform.home=/usr/local/bea/weblogic921/weblogic92
    -Dwls.home=/usr/local/bea/weblogic921/weblogic92/server
    -Dwli.home=/usr/local/bea/weblogic921/weblogic92/integration
    -Dweblogic.management.discover=false
    -Dweblogic.management.server=http://ibmtpmsua1:7001
    -Dwlw.iterativeDev=false
    -Dwlw.testConsole=false
    -Dwlw.logErrorsToConsole=
    -Dweblogic.ext.dirs=/usr/local/bea/weblogic921/patch_weblogic921/profiles/default/sysext_manifest_classpath
    -Dweblogic.Name=TPMS_MS1
    -Djava.security.policy=/usr/local/bea/weblogic921/weblogic92/server/lib/weblogic.policy
    -Dinvokedviajava
    -Djava.class.path=/usr/local/bea/weblogic921/user_projects/domains/tpms/patches/CR287255_810sp6_v2.jar/usr/local/bea:/usr/local/bea/weblogic921/patch_weblogic921/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/usr/java5/lib/tools.jar:/usr/local/bea/weblogic921/weblogic92/server/lib/weblogic_sp.jar:/usr/local/bea/weblogic921/weblogic92/server/lib/weblogic.jar:/usr/local/bea/weblogic921/weblogic92/server/lib/webservices.jar::/usr/local/bea/weblogic921/weblogic92/common/eval/pointbase/lib/pbclient51.jar:/usr/local/bea/weblogic921/weblogic92/server/lib/xqrl.jar::
    vfprintf
    portlibrary 0xF0AF74A8
    -Xdump
    -Xjcl:jclscar_23
    -Dcom.ibm.oti.vm.bootstrap.library.path=/usr/java5/jre/bin
    -Dsun.boot.library.path=/usr/java5/jre/bin
    -Djava.library.path=/usr/java5/jre/bin:/usr/java5/jre/bin:/usr/java5/jre/bin/classic:/usr/java5/jre/bin:/usr/local/bea/weblogic921/patch_weblogic921/profiles/default/native:/usr/local/CA/Siteminder/webagent/bin:/usr/local/bea/weblogic921/weblogic92/server/native/aix/ppc:/usr/java5/jre/bin/j9vm:/usr/lib
    -Djava.home=/usr/java5/jre
    -Djava.ext.dirs=/usr/java5/jre/lib/ext
    -Duser.dir=/usr/local/bea/weblogic921/user_projects/domains/tpms
    j2sej9=70912 0xF0AF7C68
    vfprintf 0x300017C4
    -Xms1024m
    -Xmx2048m
    -Xmn312m
    -Xgcpolicy:gencon
    -da
    -Dplatform.home=/usr/local/bea/weblogic921/weblogic92
    -Dwls.home=/usr/local/bea/weblogic921/weblogic92/server
    -Dwli.home=/usr/local/bea/weblogic921/weblogic92/integration
    -Dweblogic.management.discover=false
    -Dweblogic.management.server=http://ibmtpmsua1:7001
    -Dwlw.iterativeDev=false
    -Dwlw.testConsole=false
    -Dwlw.logErrorsToConsole=
    -Dweblogic.ext.dirs=/usr/local/bea/weblogic921/patch_weblogic921/profiles/default/sysext_manifest_classpath
    -Dweblogic.Name=TPMS_MS1
    -Djava.security.policy=/usr/local/bea/weblogic921/weblogic92/server/lib/weblogic.policy
    -Dinvokedviajava
    -Djava.class.path=/usr/local/bea/weblogic921/user_projects/domains/tpms/patches/CR287255_810sp6_v2.jar/usr/local/bea:/usr/local/bea/weblogic921/patch_weblogic921/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/usr/java5/lib/tools.jar:/usr/local/bea/weblogic921/weblogic92/server/lib/weblogic_sp.jar:/usr/local/bea/weblogic921/weblogic92/server/lib/weblogic.jar:/usr/local/bea/weblogic921/weblogic92/server/lib/webservices.jar::/usr/local/bea/weblogic921/weblogic92/common/eval/pointbase/lib/pbclient51.jar:/usr/local/bea/weblogic921/weblogic92/server/lib/xqrl.jar::
    vfprintf
    portlibrary 0xF0AF74A8
    -Xdump

  • Detecting (And Killing) Abandoned Threads

    Hi All,
    I'm going to try to make my question as simple as possible: I'm trying to use the service guardian to automatically detect an abandoned thread and kill the originating process. So basically I set up a test that ends up with an abandoned thread and configured service Guardian... but it didn't work :D
    What I first did is setting the guardian's timeout to be very short (6 seconds). When I do that, what I get is:
    2010-03-26 10:03:29.389/0.859 Oracle Coherence GE 3.5.3/465 <Info> (thread=main, member=n/a): Loaded cache configuration from "file:/C:/workspaces/POC/InvocableTest/bin/coherence-cache-config.xml"
    2010-03-26 10:03:29.952/1.422 Oracle Coherence GE 3.5.3/465 <D5> (thread=Cluster, member=n/a): Service Cluster joined the cluster with senior service member n/a
    2010-03-26 10:03:35.295/6.765 Oracle Coherence GE 3.5.3/465 <Error> (thread=Cluster, member=n/a): Attempting recovery (due to soft timeout) of Guard{Daemon=TcpRingListener}
    2010-03-26 10:03:35.904/7.374 Oracle Coherence GE 3.5.3/465 <Error> (thread=Cluster, member=n/a): Terminating guarded execution (due to hard timeout) of Guard{Daemon=TcpRingListener}
    Coherence <Error>: Halting JVM due to unrecoverable service failure
    2010-03-26 10:03:36.904/8.374 Oracle Coherence GE 3.5.3/465 <Error> (thread=Termination Thread, member=n/a): Full Thread Dump
    ThreadCluster
         java.lang.Object.wait(Native Method)
         com.tangosol.coherence.component.util.Daemon.onWait(Daemon.CDB:18)
         com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.onWait(Grid.CDB:6)
         com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:39)
         java.lang.Thread.run(Unknown Source)
    So that's before the thread gets abandoned... it seems that it detects a deadlock when starting coherence. But that's ok, I know the service guardian is working. The problem comes when I set the timeout to something more realistic: 35 seconds for instance. I run my test, the thread gets to an abandoned state and the service guardian does not see it :(
    Any Ideas?
    h4. My override config is:
    <coherence>
    <cluster-config>
         <service-guardian>
              <timeout-milliseconds system-property="tangosol.coherence.guard.timeout">6000</timeout-milliseconds>
              <service-failure-policy>exit-process</service-failure-policy>
         </service-guardian>
    </cluster-config>
    <logging-config>
    <severity-level system-property="tangosol.coherence.log.level">5</severity-level>
    <character-limit system-property="tangosol.coherence.log.limit">0</character-limit>
    </logging-config>
    </coherence>
    Thanks!
    Fernando
    Edited by: ZeoS on Mar 26, 2010 7:13 AM

    it's an Invovable running on the server.
    The description in the debugger is: InvocationServiceWorker
    Maybe this helps:
    10-03-26 12:03:41.279/72.663 Oracle Coherence GE 3.5.3/465 <Error> (thread=Abandon, member=1): A worker thread "InvocationServiceWorker:0 executing task "Message "InvocationRequest"
    FromMember=Member(Id=1, Timestamp=2010-03-26 12:02:29.866, Address=10.31.106.86:8088, MachineId=32598, Location=site:someSite.com,machine:ZeoSWorkStation,process:1084, Role=TestInvocableExpiration)
    FromMessageId=0
    Internal=false
    MessagePartCount=0
    PendingCount=0
    MessageType=1
    ToPollId=0
    Poll=null
    Packets
    Service=InvocationService{Name=InvocationService, State=(SERVICE_STARTED), Id=3, Version=3.1, OldestMemberId=1}
    ToMemberSet=MemberSet(Size=1, BitSetCount=2, ids=[1])
    NotifySent=false
    InvocationRequest{Query, Task=TestInvocableExpiration.SocketInvocable@16b352c}
    }", did not respond to 8 interrupt requests. The execution was canceled. The thread is abandoned...
    Fernando

  • Freeze, no wake from sleep, and one beep repeats on restart -- intermittent

    My 4 week-old macbook pro 5,3 (2.8GHz, 4GB) started having trouble waking from sleep this week. At first, a hard reboot solved the problem. Yesterday, it would not wake from sleep and the sleep light would blink twice then repeat. Upon hard reboot, this time it emitted a loud beep repeatedly (one single beep, then silence) and could not boot the OS.
    I called Apple and tried all the various reboot key combinations and also inserted the OSX CD and tried to boot from CD. None of this worked, just got the beep beep beep.. They eventually said this indicated a bad logic board and scheduled an appointment at the Genius bar.
    The strange thing is, I was trying to eject the OSX install CD and mistakenly thought that holding down E during reboot would do this (maybe this was some trick from old macs, can't remember..) and it booted up just fine! It worked overnight, then froze again the next day. After hard reboot, it was back to the beeps again. This time, I immediately tried holding down E again and it worked again!
    Obviously I have a major hardware problem, but this at least allowed me to do a time machine backup before taking the computer in for service. It may be a coincidence, but twice in a row certainly is strange. Has anyone had anything like this happen to them? Thanks!
    John
    Message was edited by: jef76

    Hello.
    I've had this issue too. I've found that I can reproduce this issue by putting the computer to sleep when there is major hard drive activity.
    First, reset the PMU. That didn't work for me, but it might for you.
    If that doesn't work, reset the PRAM. That didn't work for me either, but it might for you.
    If neither of those work, here's how I was able to solve the problem:
    1: Open System Preferences and go to Energy Saver.
    2: Find how many minutes it is before the computer goes to sleep. Remember this number; you'll need it later.
    3: Open Terminal.
    4: Type "sudo pmset -a disksleep n" where n is a number greater than zero but less than the number from step 2.
    5: Enter an administrator password at the "Password:" prompt.
    6: Remember in the future not to put the computer to sleep when the hard drive is busy.
    Good luck!

  • Ipad App Store said "20" updates.  I attempted to update w/3G.  Now many apps say "Waiting" and are frozen.  When I go online and plug into computer it just updates and doesn't address the individual apps, which still say "Waiting" and are frozen.

    iPad App Store app said "20 updates".  Attempted to update w/3G.  Updated some, but now many apps say "waiting" and are frozen.  I attempted to update then by attaching to computer Itunes Store.  All it did was very quickly go thru the 4 steps and said, "Synched, OK to uplug."  I clicked my ipad and then apps.  It also said Update complete (or something like that).  Now several apps on iPad are frozen and say "Waiting".  Help!!

    Oh a few other things I forgot.
    The long winded back-ups!!!! JESSSSSSH! Although I think the latest update seems to have bit into this a bit.
    Also why is it that sometimes when the iPhone is syncing it will not say on the actual iPhone that it is syncing. I see it's syncing in iTunes but the iPhone doesn't have the typical do not disconnect -syncing message!!! What's odd is I can see the new apps being updated to the iPhone and as long as I don't open any apps it will finish it's sync but the minute I open any apps the iPhone will lock-up!!!

  • Hello guys..!! I have got my new  iphone 4 2 days ago.The same day it got a problem of auto restart in every 1, to 2 minutes. I updated and restored it many times...but of no use... can any one help me how to solve this problem..!!

    Hello guys..!! I have got my new  iphone 4 2 days ago.The same day it got a problem of auto restart in every 1, to 2 minutes. I updated and restored it many times...but of no use... can any one help me how to solve this problem..!!

    Go to Settings/General/Reset - Erase all content and settings. the connecto to iTunes and restore as a New phone. Do not restore any backup. If the problem persists you have a hardware problem. Take it to Apple for exchange.
    This assumes that the phone is not hacked or jailbroken. If it is you will have to go elsewhere on the internet for help.

  • When ordering enlarged photos from iPhoto, must I purchase them one at a time and pay a shipping fee for each and very one of them.  Sort of a ripoff but I can't figure how to purchase many and pay one shipping fee.

    When ordering enlarged photos from iPhoto, must I purchase them one at a time and pay a shipping fee for each and very one of them.  Sort of a ripoff but I can't figure how to purchase many and pay one shipping fee.

    You may have better luck posting in the iPhoto forum if no one on this forum is able to assist. I'm sure you are doing something wrong though.

Maybe you are looking for