Stop a socket listening thread?

Hi all,
I'm a newbie at java socket programming, and i have a problem in implementing realibility over UDP.
This is the pseudocode of my program.
class ChatProtocol
     DatagramSocket socket;
     Thread alwaysListeningSocket;
     public ChatProtocol(parameter)
          // Some setting up
]          this.alwaysListeningSocket = this;
     public void run()
          DatagramPacket packet = new DatagramPacket(parameter);
          socket.receive(packet);
          .     // Process the incoming messages
     public void send(message)
          // Chunking the message into datagramPackets[]
          // Thread for listening for acknowledgement for each will-be-sent packets
          Thread ackListener = new Thread(new Runnable()
               public void run()
                    DatagramPacket ackPacket = new DatagramPacket(parameter);
                    socket.receive(ackPacket);
                    .     // Processing the acknowledgement
          ackListener.start(); // Start listening for ack
          for (int i = 0; i < datagramPackets.length; i++)
               socket.send( datagramPacktes[i] );
          .     // Another process
}I have an always listening socket in my program, which is done by invoking socket.receive() inside a thread
And i have a send method, which will send messages thorugh the same socket.
The problem is, i have to listen for acknowledgement for each sent packets through the same socket.
This is done by invoking socket.receive(), but if i want to invoke this method, i have to stop the previous thread first.
Is this possible, since stop() method in Thread class is deprecated?

So you can't predict the ordering of ACKs and other messages. You can't even predict the ordering of ACKs even if there are np other messagesI have a sequence number put into the datagram packets.
This is the format of my packets.
Packet length 16 bytes, consist of :
- Packet type, 1 byte (This will determine if the packets is a message or an ack).
- Sequence number, 1 byte.
- Payload 14 bytes.
If the receiving socket receive a wrong type of packets (ack instead of message, vica versa), the receiver thread will just drop it.
And in both cases why start another thread to receive the ACK instead of receiving it in the thread that did the send()? This makes even less sense.By 'receiving it in the thread that did the send()', do you mean that i should put it in the send() method block?
I pressume that an ack may come before the process finish sending the messages. I put it into a thread so that the process can receive ack while sending another messages.
It is not important though, because the number of packets that will be sent is relatively small. Should i just change it?
So, rethink. I would say that your always-listening socket should listen in a single thread for all messages, and notify sending threads about the acknowledgements some other way, e.g. via some data structure. You need that anyway to overcome the lack of ordering among ACKs. You need to associate each sent message that has an ACK outstanding with the thread that sent it, and when it arrives, notify that thread; have the sending thread wait(), almost certainly with a timeout, for that notification, and resend if necessary, adjusting the data structure appropriately so that a late ACK to the previous send is ignored. Or whatever is appropriate to your application protocol.I'll try to redesign my protocol. Thanks for the tips !
I'm not very good at English. Sorry if i misunderstood you in some way.

Similar Messages

  • Socket Listener  - Exception (Connection refused, reset)

    Dear All,
    We are developing a Socket Listener for an application. when we try to check the performance the below errors came.
    Code
    public static void main(String[] args) {
              ServerSocket ss = null;
              Socket s = null;
              try {
                   ss = new ServerSocket(Integer.parseInt(property
                             .getProperty("SERVER_PORT")), 1500 );
                   while ((s = ss.accept()) != null) {
                        Thread current = new Thread(new ServerSocketListener(s));
                        current.setDaemon(true);
                        // start the user's thread
                        current.start();
              } catch (Exception exp) {
                   exp.printStackTrace();
    Exception 1
    java.net.ConnectException: Connection refused: connect     
         at java.net.PlainSocketImpl.socketConnect(Native Method)
         at java.net.PlainSocketImpl.doConnect(Unknown Source)
         at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
         at java.net.PlainSocketImpl.connect(Unknown Source)
         at java.net.SocksSocketImpl.connect(Unknown Source)
         at java.net.Socket.connect(Unknown Source)
         at java.net.Socket.connect(Unknown Source)
         at java.net.Socket.<init>(Unknown Source)
         at java.net.Socket.<init>(Unknown Source)
         at srm.ServerSocketListener.run(ServerSocketListener.java:143)
         at java.lang.Thread.run(Unknown Source)
    Exception 2
    java.net.SocketException: Connection reset
    Test
    Invoking the Socket Server Listener with 1500 client (Java and .NET) requests.
    Then the above exceptions occurred.
    Help me
    1) Maximum client a port can supports?
    2) Is there any code or property change required?
    3) any other way

                        Thread current = new Thread(new ServerSocketListener(s));
    java.net.ConnectException: Connection refused: connect     Nothing is listening at the host:port you are trying to connect a new socket to.
         at srm.ServerSocketListener.run(ServerSocketListener.java:143)You are trying to create a new Socket inside the ServerSocketListener. Why? You already have a connected socket.
    java.net.SocketException: Connection resetStack trace please. This usually means you have written to a connection that has already been closed by the other end, but there are other possibilities.
    1) Maximum client a port can supports?Please restate your question in standard english.
    2) Is there any code or property change required?Required for what?
    3) any other wayAny other way to do what?

  • Implementing sockets and threads in a jframe gui program

    Hi, I am trying to find a solution to a problem I am having designing my instant messenger application.
    I am creating listening sockets and threads for each client logged into the system. i want to know if there is a way to listen to other clients request from the main gui and then if another client tries to establish a connection with me for example, a thread is created for that client and then my chat gui opens automatically has soon has the other client sends his or hers first text message to me.
    I am relatively new at socket programming has I am currently studying along this area. I know how to create threads and sockets but I am having trouble finding out a solution to my problem. Here is the code that I have done so far for the listening method from my main gui, and the thread class of what I have done so far.
    listening socket:
         private void listeningSocket()
                ServerSocket serverSocket = null;
                boolean listening = true;
                try
                    //listen in port 4444;
                    serverSocket = new ServerSocket(4444);
                catch(IOException x)
                    JOptionPane.showMessageDialog(null, "cannot listen to port 4444", null, JOptionPane.ERROR_MESSAGE);
                while(listening)
                    client_thread w;
                    try
                       w = new client_thread(serverSocket.accept(), jTextArea1);
                       Thread t = new Thread(w);
                       t.start();
                    catch(IOException x)
                         JOptionPane.showMessageDialog(null, "error, cannot start new thread", null, JOptionPane.ERROR_MESSAGE);
            }thread class:
    import java.io.*;
    import java.net.*;
    import javax.swing.*;
    import java.sql.*;
    import java.awt.event.*;
    * @author jonathan
    public class client_thread extends Thread
         //define new socket object
        private Socket client_user = null;
        private JTextArea textArea;
        public client_thread(Socket client_user, JTextArea textArea)
            this.client_user = client_user;
            this.textArea = textArea;
        public void run()
            BufferedReader in = null;
            PrintWriter out = null;
            String error = "error has occured, messege was not sent";
            String messege = null;
             try
                //create input and output streams
                in = new BufferedReader(new InputStreamReader (client_user.getInputStream()));
                out = new PrintWriter(client_user.getOutputStream(), true);
                while(true)
                   //read messege sent by user
                   messege = in.readLine();
                    //display messege in textfield
                   out.println(messege);
                   textArea.append(messege);
            catch (IOException e)
                //error messege
                JOptionPane.showMessageDialog(null, error, null, JOptionPane.ERROR_MESSAGE);
    }

    Seems like all you need to do is create a new dialog for each socket that is established. Your current design looks like it will attempt to use the same textarea for all the sockets.
    I would say in your thread class do the following:
    MyConversationDialog dialog = new MyConversationDialog();
    while(true)
                   //read messege sent by user
                   messege = in.readLine();
                    //display messege in textfield
                   out.println(messege);
                   dialog.setVisible (true);
                   dialog.addMessage (message);
                }

  • Missing listener-threads attribute in orion-ejb-jar.xml !!

    Hi All,
    I was trying to do some performance tuning as given in BPEL admin guide. For one of the BPEL property namely 'dspMaxThreads', guide says "Sum of dspMaxThreads of ALL domains should be <= the number of mdb listener threads on the workerbean". Now when i open <SOA_HOME>/j2ee/oc4j_soa/application-deployments/orabpel/orion-ejb-jar.xml and navigate to workerbean, i can not find any listener-threads attribute in message-driven-deployment tag.
    <message-driven-deployment name="WorkerBean" min-instances="100" resource-adapter="BPELjms">
    However there is a ReceiverThreads property set to 40.
    <message-driven-deployment name="WorkerBean" min-instances="100" resource-adapter="BPELjms">
    <config-property-name>ReceiverThreads</config-property-name>
    <config-property-value>40</config-property-value>
    </config-property>
    </message-driven-deployment>
    Now my question is that can i add listener-threads attribute to message-driven-deployment tag and then tune dspmaxthreads accordingly, Or
    i can make use of ReceiverThreads property to match with dspmaxthreads property. I am really confused b/w listener-threads and ReceiverThreads.
    Can anyone clarify the same ?
    I have ORACLE SOA Suite ver 10.1.3.1 (with 10.1.3.3 patch) installed.
    Thanks in advance.

    Jingzhi -- If you define the correct EJB-QL you should get the correct SQL generated for the finder. If that's not happening can you verify it against the OC4J v903 production release and see if it is still happening. I don't know if this helps with the JDeveloper problem specifically but if you don't need to create your own finders then that I hope should help.
    Thanks -- Jeff

  • RE:Socket muxer threads

    i am facing the issue where thread dump shows that Socket muxer threads are blocked where i am getting the load average as 3.5 and GCs are 4sec i am using the Sun JVM 1.5_19 and RHEL 5 does JVM upgradation bring the load average and GCs down
    Thanks
    Karan

    i can see the lot of parallel nursery GC and then occasionally Full GCs that is good actually as the processor would be with the application for most of the time it is clearing almost 800MB at the Full GC but we are seeing 4sec GC on an average and the loadaverage is above 4 we have 4cpus i think the loadaverage is acceptable as it 4*1.1 =4.4 but the response time is higher we want it to bring down is there anyway we can bring the GC we are using the parallel GC with Sun JVM 1.5_19
    Thanks
    Karan

  • How to stop and start listener auto. when database is open and shutdown?

    Hi,
    is there a way, in Window , i can shutdown the listener service when the database is shutdown (the rdbms service still up) and startup the listener when the database is open?
    Thanks

    Ron_B wrote:
    In simple way,
    when the window rdbms service is runing and the database is in shutdown or stop state, the listener have to be stop.
    The listener have to be start only when the database pass from nomount to mount.With mentioning the fact that there is abosultely no such dependency between listener and database, I am really curious to know that why you want to do it? Listener is merely a process and even if its running, there is no such harm or resource consumption it would do that you need to shut it down as and when db would be.
    HTH
    Aman....

  • How we can control auto start/stop of db/listener on Unix/linux?

    How we can control auto start/stop of db/listener on Unix/linux?

    http://download-uk.oracle.com/docs/html/B10812_01/chapter2.htm#BABGDGHF

  • How to 'STOP' a running java thread in J2ME?

    Dear All,
    How to 'STOP' a running java thread in J2ME?
    In the middleware viewpoint, for some reasons we have to stopped/destroyed the running threads (we have no information how these applications designed).
    But in J2ME, Thread.destroy() is not implemented. Are there other approaches to solve this problem?
    Thanks in advance!
    Jason

    Hi jason,
    Actually there are no methods like stop() and interrupt() to stop the threads in J2ME which is present in normally J2SE Environment.
    But the interrupt method is introduced in Version 1.1 of the CLDC.
    So, we can handle the thread in two ways.
    a) If it is of single thread, then we can use a boolean variable in the run method to hadle it. so when the particular boolean value is changed , it will come out of the thread.
    for eg:
    public class exampleThread implements Runnable
    public boolean exit = false;
    public void run()
    while(!exit)
    #perform task(coding whatever u needed)
    public void exit()
    exit = true;
    b) If it is of many threads then we can handle using the instance of the current thread using currentThread() method
    for eg:
    public class exampleThread implements Runnable
    public Thread latest = null;
    public Thread restart()
    latest = new Thread(this);
    latest.start();
    public void run()
    Thread thisThread = Thread.currentThread();
    while( latest == thisThread )
    #perform some tasks(coding part);
    public voi d stopAll()
    latest = null;
    while ( latest == thisThread )
    performOperation1();
    if( latest != thisThread )
    break;
    performOperation2();
    Regards,
    Prathesh Santh.

  • Data Socket listener

    Hi Bro's,
         how do i create Data socket listener in labview.i have a device which is capable of sending data over tcp/ip datasocket to pre-assigned ip address.pls find the attachment for configuration window of this device.
    Regards,
    Bosski
    Attachments:
    data socket.png ‏82 KB

    Hi Bro's,
         how do i create Data socket listener in labview.i have a device which is capable of sending data over tcp/ip datasocket to pre-assigned ip address.pls find the attachment for configuration window of this device.
    Regards,
    Bosski
    Attachments:
    data socket.png ‏82 KB

  • How to make a Thread alive througout the process like Listener threads

    Dear Friends ,
    How to make a Thread stay alive throughout the process i.e even after the completion of the execution .
    My requirement is to create a Listener...in Java Listener threads will stay alive throughout the process(Ex: MouseListener..whenever we move mouse on a particular button some code will be executed, so some thread is running) . What kind o Thread is this . Is it possible to create a Tread like this in our programs .
    Thanks ,
    Rajesh Reddy

    My requirement is to create a Listener...in Java Listener threads will stay alive throughout the process(Ex: MouseListener..whenever we move mouse on a particular button some code will be executed, so some thread is running) . What kind o Thread is this . MouseListener is not a thread. Any thread can invoke the methods of MouseListener, although typically the UI thread will invoke it when an event happens.
    Is it possible to create a Tread like this in our programs .It is not a thread, but I almost definitely, depending on what you are trying to do
    >
    Thanks ,
    Rajesh Reddy

  • Connection pools, dspMaxThreads, listener-threads and ReceiverThreads?

    Hi,
    We are using BPEL 10.1.3.3. Our integration uses the database adapter and the AQ adapter against the same remote database 10.1.2.3. We are experiencing problems with transaction that fails with:
    java.sql.SQLException: Unable to get a physical connection from the database...there are no connections available.Error Code: 0.
    Then we tried to change the connection pools to not use so many connection but now instances disappears.
    The 2 connections pools are setup like this:
    DBAdapter connection pool with max 10 connection
    AqAdapter connection pool with max 2 connections
    We have 3 domains:
    Default:
    dspMaxThreads 20
    dspMinThreads 5
    Test:
    dspMaxThreads 100
    dspMinThreads 5
    Production:
    dspMaxThreads 60
    dspMinThreads 5
    listener-threads and ReceiverThreads are set to 300 in the orion-ejb-jar.xml in C:\oracle\product\10.1.3.1\OracleAS_1\j2ee\oc4j_soa\application-deployments\orabpel\ejb_ob_engine
    I had a look at Clemens blog about lost instances (http://clemensblog.blogspot.com/2007/07/soa-suite-10133-patchset-and-lost.html) but I cannot understand the part about listener-threads and receiverThreads. Can anybody explain how the size of the connection pools and the dspMaxThreads, ReceiveThreads andlistener-threads has to be?
    Regards Pete
    Here are the settings for the WorkerBean:
    <message-driven-deployment name="WorkerBean" listener-threads="300" min-instances="100" resource-adapter="BPELjms">
    <ejb-ref-mapping name="ejb/local/DispatcherLocalBean" jndi-properties-file="jndi.properties" />
    <ejb-ref-mapping name="ejb/local/CubeEngineLocalBean" jndi-properties-file="jndi.properties" />
    <ejb-ref-mapping name="ejb/local/DomainManagerLocalBean" jndi-properties-file="jndi.properties" />
    <ejb-ref-mapping name="ejb/local/ActivityManagerLocalBean" jndi-properties-file="jndi.properties" />
    <ejb-ref-mapping name="ejb/local/CubeDeliveryLocalBean" jndi-properties-file="jndi.properties" />
    <ejb-ref-mapping name="ejb/local/MessageLocalBean" jndi-properties-file="jndi.properties" />
    <ejb-ref-mapping name="ejb/services/NotificationServiceBean" jndi-properties-file="jndi.properties" />
    <ejb-ref-mapping name="ejb/local/TaskServiceBean" jndi-properties-file="jndi.properties" />
    <config-property>
    <config-property-name>ConnectionFactoryJndiName</config-property-name>
    <config-property-value>BPELjms/BPELWorkerQueueFactory</config-property-value>
    </config-property>
    <config-property>
    <config-property-name>DestinationName</config-property-name>
    <config-property-value>BPELjms/BPELWorkerQueue</config-property-value>
    </config-property>
    <config-property>
    <config-property-name>DestinationType</config-property-name>
    <config-property-value>javax.jms.Queue</config-property-value>
    </config-property>
    <config-property>
    <config-property-name>AcknowledgeMode</config-property-name>
    <config-property-value>Auto-acknowledge</config-property-value>
    </config-property>
    <config-property>
    <config-property-name>ReceiverThreads</config-property-name>
    <config-property-value>300</config-property-value>
    </config-property>
    <config-property>
    <config-property-name>ListenerThreadMaxIdleDuration</config-property-name>
    <config-property-value>100000000</config-property-value>
    </config-property>
    <config-property>
    <config-property-name>ListenerThreadMinBusyDuration</config-property-name>
    <config-property-value>1</config-property-value>
    </config-property>
    <config-property>
    <config-property-name>ListenerThreadMaxPollInterval</config-property-name>
    <config-property-value>10</config-property-value>
    </config-property>
    </message-driven-deployment>Please :-)
    Message was edited by:
    Peter Lorenzen

    Thanks Marc,
    Yes I have and I got it working. If you set dspMaxThread to 90 and my connections pools to max session 90 it works. Don't understand why it has to be so high. It's potentially a lot of resources that has to be available on the database (Extra ram). But it looks like it's OK for now.
    Regards Pete

  • HT204266 I have got a transparent pic of a speaker on my ipod and cannot get rid of it,it is stopping me from listening to my music as the volume is not working

    How can I get rid of a transparent picture of a speaker on my Ipod? it appeared fromno where and it is stopping me from listening to my music, and from seeing whats on the screen,

    - Try a reset. Nothng is lost:
    Reset iPod touch: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears
    - Insert and remove tha headphone plug a couple of times.
    - Restore from backup
    - Restore to factory defaults/new iPod

  • Nasty memory leak using sockets inside threads

    In short, any time I create or use a socket inside a worker thread, that Thread object instance will never be garbage collected. The socket does not need to be connected or bound, it doesn't matter whether I close the socket or not, and it doesn't matter whether I create the Socket object inside the thread or not. As I said, it's nasty.
    I initially encountered this memory leak using httpclient (which creates a worker thread for every connect() call), but it is very easy to reproduce with a small amount of stand-alone code. I'm running this test on Windows, and I encounter this memory leak using the latest 1.5 and 1.6 JDK's. I'm using the NetBeans 5.5 profiler to verify which objects are not being freed.
    Here's how to reproduce it with an unbound socket created inside a worker thread:
    public class Test {
         public static class TestRun extends Thread {
              public void run() {
                   new Socket();
         public static void main(String[] strArgs) throws Exception {
              for(;;) {
                   (new TestRun()).start();
                   Thread.sleep(10);
    }Here's how to reproduce it with a socket created outside the thread and used inside the worker thread:
    public class Test {
         public static class TestRun extends Thread {
              Socket s;
              public TestRun(Socket s) { this.s = s; }
              public void run() {
                   try {
                        s.bind(new InetSocketAddress(0));
                        s.close();
                   } catch(Exception e) {}
         public static void main(String[] strArgs) throws Exception {
              for(;;) {
                   (new TestRun(new Socket())).start();
                   Thread.sleep(10);
    }Here's how to reproduce it implementing Runnable instead of extending Thread:
    public class Test {
         public static class TestRun implements Runnable {
              public void run() {
                   Socket s = new Socket();
                   try { s.close(); } catch(Exception e) {}
         public static void main(String[] strArgs) throws Exception {
              for(;;) {
                   (new Thread(new TestRun())).start();
                   Thread.sleep(10);
    }I've played with this a lot, and no matter what I do the Thread instance leaks if I create/use a socket inside it. The Socket instance gets cleaned up properly, as well as the TestRun instance when it's implementing Runnable, but the Thread instance never gets cleaned up. I can't see anything that would be holding a reference to it, so I can only imagine it's a problem with the JVM.
    Please let me know if you can help me out with this,
    Sean

    Find out what is being leaked. In the sample programs, add something like this:
        static int loop_count;
            while (true) {
                if (++count >= 1000) {
              System.gc();
              Thread.sleep(500); // In case gc is async
              System.gc();
              Thread.sleep(500);
              System.exit(0);
            }Then run with java -Xrunhprof:heap=sites YourProgram
    At program exit you get the file java.hprof.txt which contains something like this towards the end of the file:
              percent          live          alloc'ed  stack class
    rank   self  accum     bytes objs     bytes  objs trace name
        1  0.47%  0.47%       736    5       736     5 300036 char[]
        2  0.39%  0.87%       616    3       616     3 300000 java.lang.Thread
        3  0.30%  1.17%       472    2       472     2 300011 java.lang.ThreadLocal$ThreadLocalMap$Entry[]
        4  0.27%  1.43%       416    2       416     2 300225 java.net.InetAddress$Cache$Type[]See, only three live Thread objects (the JVM allocates a few threads internally, plus there is the thread running main()). No leak there. Your application probably has some type of object that it's retaining. Look at "live bytes" and "live objs" to see where your memory is going. The "stack trace" column refers to the "TRACE nnnnn"'s earlier in the file, look at those to see where the leaked objects are allocated.
    Other quickies to track allocation:
    Print stats at program exit:
    java -Xaprof YourProgram
    If your JDK comes with the demo "heapViewer.dll" (or
    heapViewer.so or whatever dynamic libraries are called on your system):
    java -agentpath:"c:\Program Files\Java\jdk1.6.0\demo\jvmti\heapViewer\lib\heapViewer.dll" YourProgram
    Will print out statistics at program exit or when you hit Control-\ (Unix) or Control-Break (Windows).

  • How to change scene graph from listener thread?

    Greetings,
    I need a little help with javafx.concurrency.Task - I think.
    I have a JavaFX program that is listening for JMX Notifications. When I receive certain notifications, I want to change the scene graph. Of course, the notifications are being received on a thread kicked off by RMI, not the JavaFX Application thread -- so anything I try to do to the scene graph there won't work.
    I've look at Richard Bair's article: http://fxexperience.com/2011/07/worker-threading-in-javafx-2-0/
    and other examples, but every example I've found involves kicking off the Task from the Application thread and observing some property of the Task.
    I think I somehow need by Notification listener to queue up the things that need to be done to the scene graph somewhere, and then have a thread started from the Application thread read the queue and actually make the changes.
    I could use a pointer to an example, or even a general overview of how this type of thing should be accomplished. I could post a code example if needed, but it will take some doing and it wouldn't even be working.
    Thanks,
    Cameron

    Tasks/Service are most useful when you are initiating the action via the GUI (i.e. as a result of a button press, a mouse event, a keyboard action, etc). In your case JMX/RMI will be running an internal 'listener' thread which is triggering your handler method. In this case the best option is to just use Platform.runLater.
    Something like the following"
    {code}
    public void handleEventFromServer(final MyData dataFromServer)
    Platform.runLater(new Runnable() {
    public void run()
    // this will be done in your GUI thread so you can update the GUI here
    myTextField.setText("Result from server is: " + dataFromServer.getSomeValue());
    {code}
    If you have some sort of JmxListener interface you could just create a ThreadSafe event propagator like so:
    {code}
    public class ThreadSafeJmxListener implements JmxListener
    private JmxListener actualListener;
    public ThreadSafeJmxListener(JmxListener actualListener)
    this.actualListener = actualListener;
    @Override
    public void handleJmxEvent(final JmxEvent event)
    Platform.runLater(new Runnable() {
    public void run()
    actualListener.handleJmxEvent(event);
    {code}
    Then just use it something like so:
    {code}
    jmxChannel.addJmxListener(new ThreadSafeJmxListener(new JmxHandler()
    public void handleJmxEvent(final JmxEvent event)
    // this will be done in your GUI thread so you can update the GUI here
    myTextField.setText("Result from server is: " + dataFromServer.getSomeValue());
    {code}
    If you want to send data to the server, use a task (or service) for that. If you need more info on that, post back, but there is a fair bit of that in this forum, or on various blogs (you'll find a fair few examples buried in my posts: http://zenjava.com).

  • [svn] 650: Prevent potential NPEs from wait' ed long poll requests whose threads exit after the underlying endpoint has been stopped by a separate thread .

    Revision: 650
    Author: [email protected]
    Date: 2008-02-25 16:55:13 -0800 (Mon, 25 Feb 2008)
    Log Message:
    Prevent potential NPEs from wait'ed long poll requests whose threads exit after the underlying endpoint has been stopped by a separate thread.
    Bugs: BLZ-65 - Long-polling clients trigger NPE on server shutdown.
    QA: Yes
    Doc: No
    Ticket Links:
    http://bugs.adobe.com/jira/browse/BLZ-65
    Modified Paths:
    blazeds/trunk/modules/core/src/java/flex/messaging/endpoints/BasePollingHTTPEndpoint.java

    Hi,
    Looks like you're using BDB, not BDB JE, and this is the BDB JE forum. Could you please repost here?:
    Berkeley DB
    Thanks,
    mark

Maybe you are looking for

  • Anybody else not a Verizon customer getting nowhere w/Verizon identity theft unit

    I am not a Verizon Wireless customer.  I was, but I changed over in 2011 because the coverage with another carrier was better than where we previously lived for 17 years.  We are middle aged, fiscally very conservative and sound, and expected no prob

  • No events in Calendar "Year" view since IOS 7 update

    I just updated my iPad to IOS 7.0.4. Before the update the Calendar app "Year" view indicated days that had events/appointments by colour-shading that day. Since updating no events are visible in Year view. Is there place where I can turn this featur

  • Debit Note issue ?

    Dear All Experts , Greetings for the day ! Can any one please tell me that can I print  Multiple Debit notes ? Currently following procedure is : - 1 ) Pick one document number   2 ) Go to FB12 create correspondence request with type SAP19. 3 ) Go to

  • What is the best Premiere CS6 reference/tutorial book for an experienced editor?

    Greetings all. I am a working professional editor here in Los Angeles, doing mostly short-form promos, trailers. and web videos. I have years of experience with both Avid and Final Cut Pro, and switch back and forth between them from job to job. Late

  • Upgrading  Powermac for aperture/final cut

    Hi there, I have a 1.8ghz powermac g5 (single processor) with 1.5gb of RAM, 2* 200gb internal Hard drives and an ATI Radeon XT 128mb. I have recently bought Final Cut and Aperture however performance is pretty slow on these programs with lags on aper