NIO Server problems

We have developed a NIO C/S server, the client side is pluged into Tomcat.
We have encounted an out memory exception in tomcat, and dump the tomcat, and find NIO Client thread is blocked. Is the block normal? or its some bugs?
"Thread-2862" daemon prio=5 tid=0x00dabf60 nid=0x35dd runnable [ce481000..ce4819c8]
at sun.nio.ch.DevPollArrayWrapper.poll0(Native Method)
at sun.nio.ch.DevPollArrayWrapper.poll(DevPollArrayWrapper.java:136)
at sun.nio.ch.DevPollSelectorImpl.doSelect(DevPollSelectorImpl.java:70)
at sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:59)
- locked <0xf1b373d8> (a java.util.HashSet)
- locked <0xf1b37460> (a java.util.HashSet)
- locked <0xf1b37308> (a sun.nio.ch.DevPollSelectorImpl)
at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:70)
at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:74)
at com.televigation.databus.io.SelectorThread.run(SelectorThread.java:429)
at java.lang.Thread.run(Thread.java:534)

That's runnable in Java terms, i.e. not blocked on a synchronization lock. This thread is blocked in select() or poll(), i.e. Selector.select(), which is exactly where you would expect it to be blocked.

Similar Messages

  • Nio write problem: server data sent isn't fully read by client

    Hi everyone,
    still writing away with my nio server and once again have run into
    some problems. Essentially my main problem is that when the server
    writes to the client, the write appears to output all the bytes in the
    write operation, but the client never accepts them all, even if a
    buffer has been manually allocated to the correct size of the data.
    As background my server will accept connections. When a connection
    is established I register OP_READ on the key. When a OP_READ trigger
    occurs the server accepts the clients request, processes it, then
    attaches the output to the SelectionKey as a ByteBuffer that has
    already been encoded. At this point I then register OP_WRITE on that
    SelectionKey (as a side note i'm running this server on XP and had
    read that registering OP_READ and OP_WRITE on the same selector was
    bad, but then it looked like there was a work around to this) and wait
    for an OP_WRITE trigger.
    When an OP_WRITE occurs on that key I run a new method (with heavy
    influences from the thread: http://forum.java.sun.com/thread.jsp?forum=11&thread=530825 and the taming the nio circus thread) which will grab the attachment and attempt to send it. The code has been written that IF the send cannot complete it should re-attach the remaining bytebuffer to the key and wait for another OP_WRITE to occur so it can send the remainder.
    The problem is that whenever I write (and for this test the amount im writing is approx 10100 bytes) the server appears to send it all (by checking the int returned from socketchannel.write()), but at the client end it never reads all the data that is sent.
    If i'm using a blocking socket client, then I get a java.net.SocketException: Connection Reset exception, whilst if i'm using a non-blocking client, I get no exception, just not the whole amount of data, even when i've statically allocated a receiving bytebuffer that is big enough.
    The following code is a class that is used to do the writing from the server:
       /* code for nio write model referenced from:
         * http://forum.java.sun.com/thread.jsp?forum=11&thread=530825
        class NIOWriteHandler {
            private ByteBuffer sendBuffer;
            private SelectionKey localSelectionKey;
            NIOWriteHandler(SelectionKey currentKey) {
                localSelectionKey = currentKey;
            public void doWrite() {
                localSelectionKey.interestOps(SelectionKey.OP_READ);  //deselect write,
                sendBuffer = (ByteBuffer)localSelectionKey.attachment();
                // perform the writing
                SocketChannel writingChannel = (SocketChannel)localSelectionKey.channel();
                if (writingChannel.isOpen()) {
                    int len = 0;
                    if (sendBuffer.hasRemaining()) {
                        try {
                            System.out.println("Sending chunks o data");
                            len = writingChannel.write(sendBuffer);
                            System.out.println("value of len: " + len);
                        } catch (IOException ioe) {
                            ioe.printStackTrace();
                            // call close method
                            System.out.println("CLOSE INVOKED at POINT 8");
                            closeComplete(localSelectionKey);
                    System.out.println("Second IF coming...");
                    if (sendBuffer.hasRemaining()) {
                        // if we get here then the previous write did not fully
                        // complete, so need to save data etc
                        System.out.println("Couldn't send all data this time...");
                        localSelectionKey.interestOps(SelectionKey.OP_WRITE|SelectionKey.OP_READ);
                        localSelectionKey.attach(sendBuffer);
                    } else {
                        sendBuffer = null;
                        closeComplete(localSelectionKey);
                // write complete at this stage
        }This is the basic block client that is incredibly dumb:
    import java.net.*;
    import java.util.*;
    import java.io.*;
    import java.nio.charset.*;
    import java.nio.channels.*;
    import java.nio.*;
    import java.nio.ByteBuffer;
    public class ServerTest {
        /* args 0 - the IP of the machine to connect to
           args 1 - the port number
           Simple client that connects to a specified IP & port, takes a line
           of input via stdin, sends that to the connected machine and prints
           out the response.
           Error handling and such isn't accounted for.
       public static void main (String args[]) throws Exception{
            Socket socket = new Socket(args[0], Integer.parseInt(args[1]));
            BufferedReader buffRead = new
                BufferedReader(new InputStreamReader((socket.getInputStream())));
            PrintStream ps =
                new PrintStream(socket.getOutputStream());
            Charset charset = Charset.forName("ISO-8859-1");
            BufferedReader stdin = new BufferedReader(new InputStreamReader(System.in));
            System.out.println("[CLIENT]Data to send: ");
            String data = stdin.readLine();
            ps.println(data);
            String returned = buffRead.readLine();
            while (returned != null) {
                System.out.println(returned);
                returned = buffRead.readLine();
            System.out.println("[CLIENT]End server response");
            buffRead.close();
            ps.close();
            socket.close();
    }And here is the non-blocking basic client (which dosn't actually close at the moment):
    import java.net.*;
    import java.util.*;
    import java.io.*;
    import java.nio.charset.*;
    import java.nio.channels.*;
    import java.nio.*;
    public class ServerTestNonBlock {
        /* args 0 - the IP of the machine to connect to
           args 1 - the port number
           Simple client that connects to a specified IP & port, takes a line
           of input via stdin, sends that to the connected machine and prints
           out the response.
           Error handling and such isn't accounted for.
       public static void main (String args[]) throws Exception{
            InetSocketAddress addr = new InetSocketAddress
                (args[0], Integer.parseInt(args[1]));
            SocketChannel sc = SocketChannel.open();
            sc.configureBlocking(false);
            Selector selector = Selector.open();
            System.out.println("Starting connection...");
            sc.connect(addr);
            while(!sc.finishConnect()) {
               System.out.println("1,2,3,4 I will keep on counting...");
            System.out.println("Connection established..");       
            Charset charset = Charset.forName("ISO-8859-1");
            CharsetEncoder encoder = charset.newEncoder();
            sc.register(selector, SelectionKey.OP_READ | SelectionKey.OP_WRITE);
            while (true) {
               int n = selector.select();
               if (n==0) {
                  continue;
               Set keys = selector.selectedKeys();
               Iterator it = keys.iterator();
               while (it.hasNext()) {
                  SelectionKey selKey = (SelectionKey)it.next();
                  if (selKey.isReadable()) {
                     // time to setup read
                     ByteBuffer incomingData =
                        ByteBuffer.allocateDirect(102000);
                     incomingData.clear();
                     int count;
                     while ((count = sc.read(incomingData)) > 0) {
                        System.out.println("Value of count: " + count);
                        // reading the data
                     System.out.println("Count value: " + count);       
                     int pos = incomingData.position();
                     incomingData.flip();
                     CharBuffer content = charset.decode(incomingData);
                     String inData = content.toString();
                     System.out.println(inData.trim());
                     System.out.println("[CLIENT]End server response");
                     System.out.println("Count value: " + count);       
                     System.out.println("Position value: " + pos);       
                     //sc.close();
                     //break;
                  if (selKey.isWritable()) {
                     BufferedReader stdin = new BufferedReader
                       (new InputStreamReader(System.in));
                     System.out.println("[CLIENT]Data to send: ");
                     String data = stdin.readLine();
                     ByteBuffer byteBufferOut = encoder.encode
                        (CharBuffer.wrap(data));
                     int length = sc.write(byteBufferOut);
                     System.out.println("Wrote: " + length + " bytes.");
                     selKey.interestOps(SelectionKey.OP_READ);
    }I'm kinda stuck at the moment and am making change for the sake of change without getting a good grasp of what is going on. If anyone can provide any help that'd be fantastic. If in the mean time I figgure something out i'll post a response.
    If you've gotten this far thanks a bunch for reading :)
    Cheers,
    Pete

    Hi Meesum,
    thanks for the reply :)
    I'm not convinced this is the error - as i've got two clients listed there, and the odd behaviour from both is that neither is getting through to the last of the data that is sent.
    If the null were the problem (which is only checked for in the basic dumb blocking client) i'd be expecting some sort of infinite loop or wait for more data from the server, not an abnormal termination (ala connection reset) from the server. I'll give it a shot anyhow, but I know that under a blocking write operation that that code worked fine.
    Thanks again though for the post, has got some of my cogs slowly turning :)
    Cheers,
    Pete

  • Problem in NIO server....

    I have written an NIO server which gets data from a Static queue and sends it to the clients... (this is my intention.. but the server doesn't)...
    The problem is the server sends data to one client... and if another client is connected, the server sends data to the latest client and stops sending data to the older client...
    But the printouts says that it has sent data to two clients...
    I couldn't figure out the problem.. can anyone help me..
    I have posted the server code here...
    import java.io.IOException;
    import java.net.InetSocketAddress;
    import java.nio.ByteBuffer;
    import java.nio.channels.SelectionKey;
    import java.nio.channels.Selector;
    import java.nio.channels.ServerSocketChannel;
    import java.nio.channels.SocketChannel;
    import java.nio.channels.spi.SelectorProvider;
    import java.util.Iterator;
    public class StreamingServer implements Runnable{
         // The channel on which we'll accept connections
         private ServerSocketChannel serverChannel;
         // The selector to be monitored for events
         private Selector selector;
         int numRead;
         //public static boolean isAvailable = false;
         int write = 0;
         public int socInit(int port){
              try{
                   this.selector = this.initSelector(port);
                   System.out.println("Streaming engine started... " + port);
                   return 1;
              catch(Exception e){
                   return -1;
         private Selector initSelector(int port) throws IOException {
              // Create a new selector
              Selector socketSelector = SelectorProvider.provider().openSelector();
              // Create a new non-blocking server socket channel
              this.serverChannel = ServerSocketChannel.open();
              serverChannel.configureBlocking(false);
              // Bind the server socket to the specified address and port
              InetSocketAddress isa = new InetSocketAddress(port);
              serverChannel.socket().bind(isa);
              System.out.println("Streaming server bound to port ---> " + isa.getHostName() + " : " + isa.getPort());
              // Register the server socket channel, indicating an interest in
              // accepting new connections
              serverChannel.register(socketSelector, SelectionKey.OP_ACCEPT);
              return socketSelector;
         public synchronized void run() {
              while (true) {
                   try {
                        //System.out.println("Streaming server Waiting for an event...");
                        // Wait for an event one of the registered channels
                        this.selector.select();
                        // Iterate over the set of keys for which events are available
                        Iterator selectedKeys = this.selector.selectedKeys().iterator();
                        int count = 0;
                        write = 0;
                        ByteBuffer readBuffer = null;
                        int queueSize = InternalEngine.queue.size();
                        if( queueSize >= 1){
                             readBuffer = (ByteBuffer)InternalEngine.queue.get(queueSize - 1);
                             InternalEngine.queue.removeElementAt(queueSize - 1);
                        else{
                             Thread.sleep(10);
                        while (selectedKeys.hasNext()) {
                             SelectionKey key = (SelectionKey) selectedKeys.next();
                             selectedKeys.remove();
                             if (!key.isValid()) {
                                  System.out.println("This key is invalid...");
                                  continue;
                             // Check what event is available and deal with it
                             if (key.isAcceptable()) {
                                  System.out.println("Accepting Connection...");
                                  this.accept(key);
                             else if(key.isWritable()){
                                  System.out.println("Key is writable ...");
                                  if(readBuffer != null){
                                       System.out.println("Readbuffer has data... Writing to client...");
                                       //write the data
                                       write(key,readBuffer);
                                       count ++;
                                  }else{
                                       System.out.println("No data in readBuffer... NOT writing to client");
                        } //End of inner While
                        /*System.out.println("clients connected ---> " + count);
                        System.out.println("Written to clients --> " + write);*/
                   } catch (Exception e) {
                        e.printStackTrace();
              } // End of outer while
          * @param key
          * @throws IOException
         private void write(SelectionKey key, ByteBuffer readBuffer) throws IOException {
              SocketChannel socketChannel = (SocketChannel) key.channel();
              System.out.println("socketChannel assigned ---> " + socketChannel.socket().getRemoteSocketAddress());
              System.out.println("Scoket channel is connected ? " + socketChannel.socket().isConnected());
              // Attempt to write to the channel
              try {
                   while(readBuffer.hasRemaining()){     
                        System.out.println(socketChannel.write(readBuffer) + " bytes written to client");
                   write ++;
              } catch (Exception e) {
                   // The remote forcibly closed the connection, cancel
                   // the selection key and close the channel.
                   e.printStackTrace();
                   key.cancel();
                   socketChannel.close();
                   //return;
         private void accept(SelectionKey key) throws IOException {
              // For an accept to be pending the channel must be a server socket channel.
              ServerSocketChannel serverSocketChannel = (ServerSocketChannel) key.channel();
              // Accept the connection and make it non-blocking
              System.out.println("Waiting for connections ... ");
              SocketChannel socketChannel = serverSocketChannel.accept();
              //Socket socket = socketChannel.socket();
              socketChannel.configureBlocking(false);
              // Register the new SocketChannel with our Selector, indicating
              // we'd like to be notified when there's data waiting to be read
              System.out.println("Registering OP_WRITE after OP_ACCEPT");
              socketChannel.register(this.selector, SelectionKey.OP_WRITE);
    }

    Well, it's your code!not exactly... its an example code found when googling and I made some changes...
    This code will write whatever comes off the queue to
    whichever SocketChannel is writable next. Surely
    that's not what you meant? Surely there's something
    in the queue data that tells you where it should be
    written to?my intention is to write whatever comes off the queue to all the clients that has been connected...
    Normally selectiing on OP_WRITE is a bad idea as it
    is almost always 'ready'. Normally you just write to
    the required channel and only set OP_WRITE if you get
    a zero length write. When OP_WRITE triggers for that
    channel you then repeat the write and if it succeeds
    you then clear OP_WRITE.I don't get this thing into my brain.. I am a newbie for NIO...
    what I assume is that
    -- I shouldn't register for OP_WRITE at all in the first thing...
    -- I should write to clients whichever comes in... without registering the channel for OP_WRITE
    am I right?
    registering and clearing OP_WRITE is killing me... Could you please make changes in the code so that it can register and clear OP_WRITE and write to the clients...
    See
    http://forum.java.sun.com/thread.jspa?threadID=459338
    for a very complete discussion.I have seen this discussion and tried to understand what's what... but its a bit too complicated for a newbie like me...

  • NIO - Selector problem - when using more than one in same application

    Hi,
    I'm developing a multiplayer-server, which shall be able to handle at least 2000 concurrent clients. To avoid the use of 4000 threads for 2000 clients (a thread for each stream), I would like to use NIO.
    Problem:
    The server has of course a ServerSocketChannel registered with a Selector, and when clients connects, the SocketChannel's is received. IF these channels is registered (OP_READ) with the same Selector-instance as the ServerSocketChannel, there is no problem and the Selector recognizes when a registered SocketChannel is ready for OP_READ - BUT when the received SocketChannels is registered with another Selector-instance than the one the ServerSocketChannel is registered with, the Selector NEVER recognizes, when a SocketChannel is ready for OP_READ - why not and how do I solve the problem? Only one thread can service the same Selector-instance, and when both receiving many connections and read/write, this could easily be a bottleneck
    Following is the used code; 2 classes: ClientListener (has a ServerSocketChannel registered with a Selector) and ClientHandler (has another Selector where the SocketChannels is registered and a thread-pool that services all the SocketChannels, when they are ready for read/write):
    public class ClientListener {
      private static final int BACKLOG = 32;
      private int port;
      private Thread internalThread;
      private volatile boolean noStopRequested;
      private ServerSocketChannel ssc;
      private static Selector selector;
      private ClientHandler clientHandler;
      public ClientListener(ClientHandler clientHandler, String bindAddress, int port) throws InternalErrorException {
        this.clientClass = clientClass;
        this.clientHandler = clientHandler;
        this.noStopRequested = true;
        this.port = port;
        try {
          InetAddress inetAddress;
          if (bindAddress.equals(""))
            inetAddress = InetAddress.getLocalHost();
          else
            inetAddress = InetAddress.getByName(bindAddress);
          ssc = ServerSocketChannel.open();
          ssc.socket().bind(new InetSocketAddress(inetAddress, port), BACKLOG);
          ssc.configureBlocking(false);
          Runnable r = new Runnable() {
            public void run() {
              try {
                start();
              } catch (Exception e) {
                Log.echoError("ClientListener: Unexpected error: "+e.getMessage());
          internalThread = new Thread(r, "ClientHandler");
          internalThread.start();
        } catch (Exception e) {
          throw new InternalErrorException(e.getMessage());
      public static Selector selector() {
        return selector;
      private void start() {
        Log.echoSystem("ClientListener: Listening started at port "+port);
        try {
          selector = Selector.open();
          SelectionKey acceptKey = ssc.register(selector, SelectionKey.OP_ACCEPT);
          int keysAdded;
          while (noStopRequested) {
            SelectionKey key = null;
            keysAdded = selector.select(10000);
            if (keysAdded == 0)
              continue;
            Set readyKeys = selector.selectedKeys();
            Iterator i = readyKeys.iterator();
            while (i.hasNext()) {
              try {
                key = (SelectionKey)i.next();
                i.remove();
                if (key.isAcceptable()) {
                  ServerSocketChannel nextReady = (ServerSocketChannel)key.channel();
                  SocketChannel sc = nextReady.accept();
                  try {
                    clientHandler.registerClient(sc);
                  } catch (Exception e) { e.printStackTrace(); }
              } catch (CancelledKeyException cke) {
                System.out.println("ClientListener: CancelledKeyException");
        } catch (Exception e) {
          e.printStackTrace();
          try {
            ssc.close();
          } catch (IOException ioe) {/* Ignore */}
        Log.echoSystem("ClientListener: stopped");
      public void stop() {
    public class ClientHandler {
      private static final int INITIAL_WORKER_COUNT = 5;
      private int port;
      private Thread internalThread;
      private volatile boolean noStopRequested;
      private static Selector selector;
      private Manager manager;
      private WorkerPool pool;
      private ClientListener clientListener;
      public ClientHandler(Manager manager, String bindAddress, int port) throws InternalErrorException {
        this.manager = manager;
        this.noStopRequested = true;
        this.port = port;
        clientListener = new ClientListener(this, bindAddress, port);
        // initiating load-balanced worker-pool
        pool = new WorkerPool(INITIAL_WORKER_COUNT, (int)(manager.getMaxClients() * ClientWorker.CLIENT_FACTOR), 0.75f);
        for (int i=0; i < pool.getMinCount(); i++) {
          pool.addWorker(new ClientWorker(pool, manager));
        Runnable r = new Runnable() {
          public void run() {
            try {
              start();
            } catch (Exception e) {
              Log.echoError("ClientHandler: Unexpected error: "+e.getMessage());
        internalThread = new Thread(r, "ClientHandler");
        internalThread.start();
      public static Selector selector() {
        return selector;
      private void start() {
        Log.echoSystem("ClientHandler: Started");
        try {
          selector = Selector.open();
          int keysAdded;
          while (noStopRequested) {
            SelectionKey key = null;
            try {
              keysAdded = selector.select();
              Log.echoDebug("ClientHandler: out of select()");
              if (keysAdded == 0)
                continue;
              Set readyKeys = selector.selectedKeys();
              Iterator i = readyKeys.iterator();
              while (i.hasNext()) {
                try {
                  key = (SelectionKey)i.next();
                  i.remove();
                  if (key.isReadable()) {
                    key.interestOps(key.interestOps() & (~SelectionKey.OP_READ));
                    ClientWorker worker = (ClientWorker)pool.getWorker();
                    worker.process(key);
                  } else if (key.isWritable()) {
                    key.interestOps(key.interestOps() & (~SelectionKey.OP_WRITE));
                    ClientWorker worker = (ClientWorker)pool.getWorker();
                    worker.process(key);
                  } else {
                } catch (CancelledKeyException cke) {
                  Client client = (Client)key.attachment();
                  if (client != null) {
                    client.disconnect();
                    key.selector().wakeup();
            } catch (CancelledKeyException cke) {
              if (key != null) {
                Client client = (Client)key.attachment();
                if (client != null) {
                  client.disconnect();
                  key.selector().wakeup();
        } catch (Exception e) {
          e.printStackTrace();
        Log.echoSystem("ClientHandler: stopped");
      public void registerClient(SocketChannel sc) throws Exception {
        sc.configureBlocking(false);
        Client client = new Client(...);
        SelectionKey key = sc.register(selector, SelectionKey.OP_READ, client);
        key.selector().wakeup();
      public void stop() {
    }

    Ok, found the solution here: http://forum.java.sun.com/thread.jsp?forum=31&thread=282069
    "The select() method holds a lock on the selector that
    the register() method wants to acquire. The register()
    method cannot continue until the lock is relased and
    the select() method will not release it until some key
    is triggered. If this is the first key you're adding
    then select has nothing that will wake it up, ever.
    The result is, obviously, a deadlock.
    The solution is to have a queue of pending connections.
    You put your new connection in that queue. Then you
    wake up the selector and let that thread go through
    the queue, registering connections."

  • How to fix "server problem" error message when trying to use PhoneGap build service.

    I have a site that is now optimized for mobile devices and want to use the PhoneGap Build service in Dreamweaver CS6 to make a native app.  Unfortunately, I keep getting the "We seem to be having server problems." error message when I try to create a new project.  I did notice that the configuration file was created at the site root.  I've seen a few other similar threads on this, but no solution.  I've checked on any firewall issues (none) and know that the PhoneGap server is not down.  The problem is on my end.
    Thanks,
    Loren

    Not an answer to the server problem, but I have posted the PhoneGap Build process here: http://forums.adobe.com/message/4669054#4669054. It might help anyone still having problems.

  • [Fwd: Starting Managed server problem ......]

    Forwarding to the security news group...
    -------- Original Message --------
    Subject: Starting Managed server problem ......
    Date: 1 Jun 2004 23:02:53 -0700
    From: Sameer <barsatkiraat2001>
    Newsgroups: weblogic.developer.interest.management
    Hi All,
    I need you guy's help in this regard, that I am using solaris 8 and
    installed Weblogic8.1 Server.
    My Scenario is;
    Have configured Admin Server and Managed server with nodemanager on one
    unix machine.
    So, what am facing the problem;
    I am not able to get run Managed server after starting the nodemanager
    and admin server, getting the error in nodemanager logs that is :
    <Jun 2, 2004 9:44:26 AM GMT 04:00> <Warning> <Security> <BEA-090482>
    <BAD_CERTIFICATE alert was received from PortalQA - 10.12.10.94. Check
    the peer to determine why it rejected the certificate chain (trusted CA
    configuration, hostname verification). SSL debug tracing may be required
    to determine the exact reason the certificate was rejected.>
    And in Admin Server logs it's saying;
    <Jun 2, 2004 9:44:26 AM GMT 04:00> <Warning> <Security> <BEA-090504>
    <Certificate chain received from PortalQA - 10.12.10.94 failed hostname
    verification check. Certificate contained AdminQA but check expected
    PortalQA>
    The WebLogic Server did not start up properly.
    Exception raised:
    'weblogic.management.configuration.ConfigurationException: Due to faulty
    SSL configuration, this server is unable to establish a connection to
    the node manager.'
    <Jun 2, 2004 9:44:26 AM GMT 04:00> <Warning> <NodeManager> <BEA-300038>
    <The node manager is unable to monitor this server. Could not create an
    SSL connection to the node manager. Reason :
    [Security:090504]Certificate chain received from PortalQA - 10.12.10.94
    failed hostname verification check. Certificate contained AdminQA but
    check expected PortalQA>
    Reason: weblogic.management.configuration.ConfigurationException: Due to
    faulty SSL configuration, this server is unable to establish a
    connection to the node manager.
    <Jun 2, 2004 9:44:26 AM GMT 04:00> <Emergency> <WebLogicServer>
    <BEA-000342> <Unable to initialize the server:
    weblogic.management.configuration.ConfigurationException: Due to faulty
    SSL configuration, this server is unable to establish a connection to
    the node manager.>
    If some one can help me, I do appreciate in all due respect.
    Sameer.

    Hello Satya/All,
    I'm also experiencing the exact problem you are facing. It would be great if
    somebody could help in this regard at the earliest.
    Thanks, senthil
    Satya Ghattu <[email protected]> wrote:
    Forwarding to the security news group...
    -------- Original Message --------
    Subject: Starting Managed server problem ......
    Date: 1 Jun 2004 23:02:53 -0700
    From: Sameer <barsatkiraat2001>
    Newsgroups: weblogic.developer.interest.management
    Hi All,
    I need you guy's help in this regard, that I am using solaris 8 and
    installed Weblogic8.1 Server.
    My Scenario is;
    Have configured Admin Server and Managed server with nodemanager on one
    unix machine.
    So, what am facing the problem;
    I am not able to get run Managed server after starting the nodemanager
    and admin server, getting the error in nodemanager logs that is :
    <Jun 2, 2004 9:44:26 AM GMT 04:00> <Warning> <Security> <BEA-090482>
    <BAD_CERTIFICATE alert was received from PortalQA - 10.12.10.94. Check
    the peer to determine why it rejected the certificate chain (trusted
    CA
    configuration, hostname verification). SSL debug tracing may be required
    to determine the exact reason the certificate was rejected.>
    And in Admin Server logs it's saying;
    <Jun 2, 2004 9:44:26 AM GMT 04:00> <Warning> <Security> <BEA-090504>
    <Certificate chain received from PortalQA - 10.12.10.94 failed hostname
    verification check. Certificate contained AdminQA but check expected
    PortalQA>
    The WebLogic Server did not start up properly.
    Exception raised:
    'weblogic.management.configuration.ConfigurationException: Due to faulty
    SSL configuration, this server is unable to establish a connection to
    the node manager.'
    <Jun 2, 2004 9:44:26 AM GMT 04:00> <Warning> <NodeManager> <BEA-300038>
    <The node manager is unable to monitor this server. Could not create
    an
    SSL connection to the node manager. Reason :
    [Security:090504]Certificate chain received from PortalQA - 10.12.10.94
    failed hostname verification check. Certificate contained AdminQA but
    check expected PortalQA>
    Reason: weblogic.management.configuration.ConfigurationException: Due
    to
    faulty SSL configuration, this server is unable to establish a
    connection to the node manager.
    <Jun 2, 2004 9:44:26 AM GMT 04:00> <Emergency> <WebLogicServer>
    <BEA-000342> <Unable to initialize the server:
    weblogic.management.configuration.ConfigurationException: Due to faulty
    SSL configuration, this server is unable to establish a connection to
    the node manager.>
    If some one can help me, I do appreciate in all due respect.
    Sameer.

  • Photoshop CS2: name server problem: Is there a solution?

    Hi!
    I have Photoshop CS2. I can't start the program anymore because of the already well known name server problem... (DEAR ADOBE!! HOW COULD YOU!!! )
    Now, what can I do? As far as I know I purchased the software for an unlimited amount of time (thanks to the fact that there weren't any clouds, halleluja!)
    Can anybody help me, please? Is there a way "around"?
    Thanks a lot!!!
    Christiane

    Error: Activation Server Unavailable | CS2, Acrobat 7, Audition 3

  • I keep getting Server problems when trying to sign into messages

    Hi can anyone help, I have an Imac, and Lion  X 10.7.3, I have downloaded Messages Beta, evertytime I try to register it will not let me, telling me Server Problems try again later? Has anyone come across this? And can anyone help? Thank you.

    Hi can anyone help, I have an Imac, and Lion  X 10.7.3, I have downloaded Messages Beta, evertytime I try to register it will not let me, telling me Server Problems try again later? Has anyone come across this? And can anyone help? Thank you.

  • I recently updated Firefox and now it will not open. It says there is a proxy server problem.

    I was requested to update the program and now it says there is a proxy server problem.

    Hi:
    You can try this COMPRESSOR TROUBLESHOOTING document:
    http://docs.info.apple.com/article.html?artnum=302845
    Hope it helps !
      Alberto

  • Firefox periodically drops my Verizon/Yahoo email site indicating it cannot find the server. Verizon alledges there are no server problems.

    My email page will crash and the message received is:Firefox can't find the server at us.mc844.mail.yahoo.com. Repeated reloading does not help. After a period of time from 5 minutes to an hour the site can be accessed and is Ok for several days. The the problem reoccurs several times in the same day. When my email provider is contacted they indicate no server problems.

    Report your error messages so your peers, like me, can make suggestions..
    Official recommendations are on http://help.yahoo.com/l/us/verizon/mail/ymail/basics/mail-12859445.html NOTE THE URL's Stick with them if using YAHOO.  I have not found a newer recommendation for pop.yahoo.verizon.net that you mention, and the help page was updated this month.
    Note some have had trouble with missing intermediate certificates so get encryption errors.  Shouldn't happen (except if you are missing the root certificate, which is your responsibility),  but can be fixed by installing manually.
    Some have reported needing to specify [email protected] rather than just userid, I believe on the SMTP side.  Normally you specify only userid and password without the @verizon.net.

  • O.S. / Hard Drive Size for NIO Server/Client's load testing...

    Hi All
    I am currently load testing a NIO Server/Client's to see what would be the maximum number of connections that could reached, using the following PC: P4, 3GHz, 1GB RAM, Windows XP, SP2, 110 GB Hard Drive.
    However, I would like to test the Server/Client performance on different OS's:
    Which would be the best possible option from the following:
    1. Partition my current drive, (using e.g. Partition Magic), to e.g.
    - Win XP: 90 GB
    - Win Server 2000: 10 GB
    - Linux: 5 GB
    - Shared/Data: 5 GB
    2. Install a separate Hard drive with the different hard drives
    3. Use a disk caddie, to swap in/out test hard drives.
    4. Any thing else?
    - Would the Operating System's hard drive size affect the Server/Client's performance, e.g. affecting the number of connections, number of File Handles, the virtual memory, etc.?
    Many Thanks,
    Matt

    You can use a partition on the same HDD or use a second HDD, disk caddie well if its a direct IDE or SCSI. If its usb no it will be too slow, may be if you have a fire-wire but I still don't recommend it.
    Be careful if you don't have any experience installing Linux you may do multiple partitions on you disk without knowing, because Linux ext partitions are not visible to windows.
    Recommended disk size for fedora is 10 GB. This is the amount of data that will be created on you HDD when you do a full installation.

  • Mail Server Problem

    The mail server problem has been resolved, mail is working as designed....yeah!!

    silly discusting board, I've got 3 replies in my email but it's not showing here ...
    anyway, this time I found after some chasing my tail .... that the mail preferences had wiped my password and I needed to reinstall it, then instruct it to go online and some other click stuff ....
    and it seems to be ok now ....
    but each round in past 2 weeks has been different "fix" .... or wait ....
    sorry for anyone without master email for 5 days, that's just not right ....
    I'm afraid that as apple starts "giving away" email accounts to build the cloud into something much bigger than the mobile me was .... that their folo up will fail and we will find ourselves not with the same apple durability / consistency but with the "hey it's free" attitude ....
    let's see

  • Email server problem - failed to connect to server

    Since Friday 27th August I've been having trouble connecting to the email server for my BT Yahoo account. It simply can't find the server, even though none of the account settings have changed and it has worked fine for years. Weirdly, sometimes it works and emails come through (so the settings are obviously fine) but then it will stop working for no apparent reason. I use Thunderbird as my email client, but I tested the account in Outlook Express and it gives the same error. The account works fine over webmail, and through my iPhone, however.
    It seems like this is a DNS error rather than software related - is there anything BT-related that could be causing this, or any simple fixes? I've tried rebooting the HomeHub but that doesn't seem to have made a difference. I work from home, so this is a really annoying problem.

    Lynx wrote:
    Interesting - we have exactly the same problem. Haven't been able to download for days. This has happened with two different computers with different anti-virus systems - so one assumes it's not suddenly that. I can access my e-mail online and reply (having to bcc myself, so when it does eventually work I have copies on my outlook express. It was working perfectly one night and the next morning just stopped - nothing happened in between.
    I have tried to find out what the error number means, but no-one - not even BT's Help section - seem to have the solution. Have you ever seen the Eddie Izzard sketch on YouTube? This is definately one of those moments!
    If you find a solution - would really appreciate you posting it on here, so I can fix mine. Will do the same for youi.
    Hi.
    This sort of problem is hard to determine. It could be a few things, including a corruption of the mail account (which can last for a short time or a number of days), it could be a local problem - which you've ruled out by the different computer check, or perhaps a "stuck" email - say one which is spam/virus attached and the online checking systems failing to pass through it, or possibly a stale IP address.
    The latter 2 are easy to check, the first via webmail and see if there is anything near the "top" of the list that may cause a problem, moving to a new folder, and try again. The last can be tried by power cycling the router to get a new IP address. Disconnect the broadband and router for say 15 minutes and then reconnect to try again.
    If there was a major server problem, there would be lots more complaints.
    http://www.andyweb.co.uk/shortcuts
    http://www.andyweb.co.uk/pictures

  • I have just installed Lion OS and Face Time encounters server problems on sign up. I have sought the firewall problem without success and even temporarily turned off firewall with no success.

    I have just installed Lion OS and Face Time encounters server problems on sign up. I have sought to rectify the firewall problem without success and even temporarily turned off firewall with no success. Any ideas?

    Some folks have discovered that changing their DNS service fixes FaceTime connection issues.
    The ideal way is to configure your modem/router with DNS service, but often settings in System Preferences/Network/Advanced/DNS on your Mac will override the router settings. Try either of these;
    OpenDNS
    208.67.222.222, 208.67.220.220
    Google Public DNS
    8.8.8.8, 8.8.4.4

  • TS4002 Anybody having icloud server problems today? No incoming mail

    Dear all,
    I'm not receiving any mail guz Icloud tells me it has a server problem. I can send mail but not receive any. I can send myself a message using gmail sending it to my own gmail adres and I receive in my Mail program, no problem, it's just the ME account that does not work on any of my apple devices. I've checked the setting in the prefference from the Mail program, they all seam normal......ANY tips???
    Thank you so much,
    Simon

    Most inconvenient... trying to run a business and I made the mistake of using my me.com acct. for business rather than the old Yahoo acct.   I haven't been able to receive email all day either.
    Seeing that it's affecting less than 1% of it's customers, really is annoying for some reason. 

Maybe you are looking for

  • Mac is running very slowly.

    Hi Apple Community, My mac has been running very slowly, and there has been several other problems as well. I have a early 2009 iMac, running OS X 10.9.5. First of all, I have recently moved all of my photos and music to an external hard drive to cle

  • Track changes in Copy Planning (CJ9F)

    Hi, I am using CJ9F for copying values from one version (Version 0) of the project to another (lets say version 200). Now, lets say after 10 days, some one re-runs this which will over write the values in Version 200. Is there a method (or report) wh

  • Percentage based on the Date and Dimension -  WEBI

    Hello, I have to calculate percentage based on the Dates and a Dimension. I have BEX Query as source and reporting is done on BOXI - WEBI Here is the table structure in the report. List# , Process01, Process02. List# is unique and Process01-Has 4 ope

  • Is every external monitor compatible with mac via a thunderbolt to vga cable

    Is every external monitor compatible with macbook air via thunderbolt to vga??????/

  • Airport Extreme emitting flickering sound when Airplaying...is this normal?

    Hi all...I just got my ATV2 over the weekend...and am really excited over it. It was really an experience airplaying. Yesterday, I realised while my ATV2 is airplaying, my Airport Extreme (which is the connecting modem) emits a flickering sound...lik