Client reconnection after Server shutdown

Hi. Can I reconnect a client whose connection has been reset because of a server shutdown to the "new" server (which meanwhile has been started) without restarting the client itself?
Thanks, any help is appreciated.

not sure what you mean by 'client' but if you have a Socket that has had any kind of IOException or SocketException you need to close it and create a new one.

Similar Messages

  • AnyConnect client reconnects after 1 minute

    AnyConnect client reconnects after 1 minute; WHY
    version 3.1.02026
    ASA:asa911-k8.bin
    [25-4-2013 8:16:11] Establishing VPN session...
    [25-4-2013 8:16:11] Checking for profile updates...
    [25-4-2013 8:16:11] Checking for product updates...
    [25-4-2013 8:16:11] Checking for customization updates...
    [25-4-2013 8:16:11] Performing any required updates...
    [25-4-2013 8:16:12] Establishing VPN session...
    [25-4-2013 8:16:12] Establishing VPN - Initiating connection...
    [25-4-2013 8:16:12] Establishing VPN - Examining system...
    [25-4-2013 8:16:12] Establishing VPN - Activating VPN adapter...
    [25-4-2013 8:16:15] Establishing VPN - Configuring system...
    [25-4-2013 8:16:16] Establishing VPN...
    [25-4-2013 8:16:16] Connected to my.vpn.com.
    [25-4-2013 8:16:16] Connected to my.vpn.com.
    [25-4-2013 8:17:19] Reconnecting to my.vpn.com...
    [25-4-2013 8:17:19] Establishing VPN - Examining system...
    [25-4-2013 8:17:24] Establishing VPN - Activating VPN adapter...
    [25-4-2013 8:17:25] Establishing VPN - Configuring system...
    [25-4-2013 8:17:25] Establishing VPN...
    [25-4-2013 8:17:25] Connected to my.vpn.com.
    [25-4-2013 8:17:25] Reconnecting to my.vpn.com...
    [25-4-2013 8:17:25] Establishing VPN - Examining system...
    [25-4-2013 8:17:25] Establishing VPN - Activating VPN adapter...
    [25-4-2013 8:17:25] Establishing VPN - Configuring system...
    [25-4-2013 8:17:25] Establishing VPN...
    [25-4-2013 8:17:25] Connected to my.vpn.com.
    [25-4-2013 8:16:11] Establishing VPN session...
    [25-4-2013 8:16:11] Checking for profile updates...
    [25-4-2013 8:16:11] Checking for product updates...
    [25-4-2013 8:16:11] Checking for customization updates...
    [25-4-2013 8:16:11] Performing any required updates...
    [25-4-2013 8:16:12] Establishing VPN session...
    [25-4-2013 8:16:12] Establishing VPN - Initiating connection...
    [25-4-2013 8:16:12] Establishing VPN - Examining system...
    [25-4-2013 8:16:12] Establishing VPN - Activating VPN adapter...
    [25-4-2013 8:16:15] Establishing VPN - Configuring system...
    [25-4-2013 8:16:16] Establishing VPN...
    [25-4-2013 8:16:16] Connected to my.vpn.com.
    [25-4-2013 8:16:16] Connected to my.vpn.com.
    [25-4-2013 8:17:19] Reconnecting to my.vpn.com...
    [25-4-2013 8:17:19] Establishing VPN - Examining system...
    [25-4-2013 8:17:24] Establishing VPN - Activating VPN adapter...
    [25-4-2013 8:17:25] Establishing VPN - Configuring system...
    [25-4-2013 8:17:25] Establishing VPN...
    [25-4-2013 8:17:25] Connected to my.vpn.com.
    [25-4-2013 8:17:25] Reconnecting to my.vpn.com...
    [25-4-2013 8:17:25] Establishing VPN - Examining system...
    [25-4-2013 8:17:25] Establishing VPN - Activating VPN adapter...
    [25-4-2013 8:17:25] Establishing VPN - Configuring system...
    [25-4-2013 8:17:25] Establishing VPN...
    [25-4-2013 8:17:25] Connected to my.vpn.com.

    Hello Michael,
    The problem here is because we cannot succesfully establish a DTLS tunnel. This could happen because:
    - DTLS is blocked somewhere in the path
    - A non-default DTLS port is being used
    If DTLS is blocked in the middle the issue is because as of ASA Release 9.x and AnyConnect Release 3.x, an optimization has been introduced in the form of distinct Maximum Transition Units (MTUs) that are negotiated for TLS/DTLS between the client/ASA. Previously, the client derived a rough estimate MTU which covered both TLS/DTLS and was obviously less than optimal. Now, the ASA computes the encapsulation overhead for both TLS/DTLS and derives the MTU values accordingly.
    As long as DTLS is enabled, the client applies the DTLS MTU (in this case 1418) on the VPN adapter (which is enabled before the DTLS tunnel is established and is needed for routes/filters enforcement), to ensure optimum performance. If the DTLS tunnel cannot be established or it is dropped at some point, the client fails over to TLS and adjusts the MTU on the virtual adapter (VA) to the TLS MTU value (this requires a session level reconnect).
    In order to eliminate this visible transition of DTLS > TLS,  you can configure a separate tunnel group for TLS only access for users that have trouble with the establishment of the DTLS tunnel (such as due to firewall restrictions).
    1. The best option is to set the AnyConnect MTU value to be lower than the TLS MTU, which is then negotiated.
    group-policy ac_users_group attributes
    webvpn
      anyconnect mtu 1300
    This makes TLS and DTLS MTU values equal. Reconnections are not seen in this case.
    2. The second option is to allow fragmentation.
    group-policy ac_users_group attributes
    webvpn
      anyconnect ssl df-bit-ignore enable
    With fragmentation, large packets (whose size exceeds the MTU value) can be fragmented and sent through the TLS tunnel.
    3. The third option is to set the Maximum Segment Size (MSS) to 1460 as follows:
    sysopt conn tcpmss 1460
    In this case, the TLS MTU will be 1427 (RC4/SHA1) which is larger than the DTLS MTU 1418 (AES/SHA1/LZS). This should resolve the issue with TCP from the ASA to the AnyConnect client (thanks to MSS), but large UDP traffic from the ASA to the AnyConnect client might suffer from this as it will be dropped by the AnyConnect client due to the lower AnyConnect client MTU 1418. If sysopt conn tcpmss is modified, it might affect other features such as LAN-to-LAN (L2L) IPSec VPN tunnels.
    If DTLS is not blocked in the middle another potential cause for the DTLS failure that DTLS is configured on a non-default port after the WebVPN is enabled (for example, when the webvpn enable outside command is entered). This is due to Cisco bug ID CSCuh61321 and has been seen in Release 9.x where the ASA pushes the non-default port to the client, but continues to listen to the default port. Consequently, the DTLS is not built and AnyConnect reconnects.
    The workaround for this problem is:
    Disable the WebVPN.
    Enter the DTLS port.
    Enable the WebVPN.
    Regards,
    -Gustavo Medina

  • Client reconnect after SUN App server 8.0 shutdown.

    Hi,
    I have a client which connects to app.server. When app.server is shutdown , client waits for appl. server to come up. Once app.server comes up i again need to reconnect.
    When i do this i am getting following error. Aby inputs on this.
    javax.naming.CommunicationException: serial context communication ex [Root exception is java.rmi.NoSuchObjectException: CORBA OBJECT_NOT_EXIST 1398079690 No; nested exception is:
         org.omg.CORBA.OBJECT_NOT_EXIST: ----------BEGIN server-side stack trace----------
    org.omg.CORBA.OBJECT_NOT_EXIST:   vmcid: SUN  minor code: 202  completed: No
         at com.sun.corba.ee.impl.logging.ORBUtilSystemException.badServerId(ORBUtilSystemException.java:7317)
         at com.sun.corba.ee.impl.logging.ORBUtilSystemException.badServerId(ORBUtilSystemException.java:7339)
         at com.sun.corba.ee.impl.orb.ORBImpl.handleBadServerId(ORBImpl.java:1396)
         at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.checkServerId(CorbaServerRequestDispatcherImpl.java:399)
         at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispatch(CorbaServerRequestDispatcherImpl.java:167)
         at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequestRequest(CorbaMessageMediatorImpl.java:1653)
         at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:1513)
         at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleInput(CorbaMessageMediatorImpl.java:895)
         at com.sun.corba.ee.impl.protocol.giopmsgheaders.RequestMessage_1_2.callback(RequestMessage_1_2.java:172)
         at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:668)
         at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.dispatch(SocketOrChannelConnectionImpl.java:375)
         at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.read(SocketOrChannelConnectionImpl.java:284)
         at com.sun.corba.ee.impl.transport.ReaderThreadImpl.doWork(ReaderThreadImpl.java:73)
         at com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:382)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    You might want to know that NetBeans 3.6 works with 1.5 (with a few tweaks -- see http://www.netbeans.org/community/articles/tiger/36Tiger.html)
    As Sun Java Studio is built on top of NetBeans, and as NetBeans 3.6 works with 1.5, you might expect a Studio version that supports 1.5.
    Also, NetBeans 3.6 supports JSP 2.0 and Servlet 2.4, meaning that it should be compatible with App Server 8.
    In other words, one way to get a roadmap for Sun Java Studio is to look at what NetBeans is doing.

  • Client lookup after Server restart

    Hi,
    I'm experiencing problems on client side when reconnecting to a remote object that has been unbound and rebound again.
    Scenario:
    1. The server performs a rebind of the remote object (Naming.rebind(name,obj)
    2. Client gets a reference to the remote object with Naming.lookup(name)
    3. The server unbind the remote object:
    - Naming.unbind(obj)
    - UnicastRemoteObject.unexportObject(obj,true);
    4. The server rebind again a new instance of the remote object on the same name.
    5. On client side, any call to the remote object throws a java.rmi.NoSuchObjectException, even after a new Naming.lookup(name).
    6. Re-start the client and all is OK !
    Any help ?
    Thank you.
    Christophe

    After rebinding the same server instance it will (most probably) use a different port number.
    This is why the original reference you have at the client does not work because it is sending messages to a port that is no longer in use. After restarting the client, it no doubt does another lookup, gets a new reference (with the correct port number) and communication is restored.

  • NFS shares fail to reconnect after server is rebooted

    Hi everyone,
    I currently have a File Sharing/Media Box/Torrent/Newgroup box in my basement/theater room. It is basically running as my server for the house. Consequently I have a bunch of NFS shares on it. Previously I was running Ubuntu on a similar box and didn't have this issue. What is happening is that if I reboot the server for whatever reason, the clients do not reconnect to the shares once the server box has rebooted. When I was running Ubuntu, after reboot the shares would just automagically be reconnected.
    Both boxes are running Arch Linux if it matters.
    Here is the /etc/exports file on the server:
    # /etc/exports: the access control list for filesystems which may be exported
    # to NFS clients. See exports(5).
    /media/video/dlvideo/ 192.168.X.X/24(rw,async,no_subtree_check,no_root_squash)
    /media/video/DVD/ 192.168.X.X/24(rw,async,no_subtree_check,no_root_squash)
    /media/video/HDVID/ 192.168.X.X/24(rw,async,no_subtree_check,no_root_squash)
    /media/stuff/AudioBooks/ 192.168.X.X/24(rw,async,no_subtree_check,no_root_squash)
    /media/stuff/Downloads/ 192.168.X.X/24(rw,async,no_subtree_check,no_root_squash)
    /media/stuff/Music/ 192.168.X.X/24(rw,async,no_subtree_check,no_root_squash)
    /media/mythtv/ 192.168.X.X/24(rw,async,no_subtree_check,no_root_squash)
    And here is how I mount them on the client:
    192.168.X.X:/media/video/dlvideo /media/video/dlvideo nfs rsize=8192,wsize=8192,timeo=14,intr 0 0
    192.168.X.X:/media/video/DVD /media/video/DVD nfs rsize=8192,wsize=8192,timeo=14,intr 0 0
    192.168.X.X:/media/video/HDVID /media/video/HDVID nfs rsize=8192,wsize=8192,timeo=14,intr 0 0
    192.168.X.X:/media/stuff/Downloads /media/stuff/downloads nfs rsize=8192,wsize=8192,timeo=14,intr 0 0
    192.168.X.X:/media/stuff/Music /media/stuff/music nfs rsize=8192,wsize=8192,timeo=14,intr 0 0
    192.168.X.X:/media/stuff/AudioBooks /media/stuff/audiobooks nfs rsize=8192,wsize=8192,timeo=14,intr 0 0
    192.168.X.X:/media/mythtv /media/mythtv nfs rsize=8192,wsize=8192,timeo=14,intr 0 0
    Anyone have any ideas?
    Thanks,
    Kevin

    Hi there,
    Have you tried running the SBS specific wizards on your system, namely the Fix my Network wizard and the import trusted certificate tool? 
    FMNW: http://technet.microsoft.com/en-us/library/cc546095.aspx
    Import Trusted Certificate:
    http://technet.microsoft.com/en-us/library/cc546059.aspx
    I'd start with FMNW, and then try a reboot to test if you're still having issues. If yes, then I'd try importing your certificate with the SBS tool, test again. 
    After that, you might look at the SBS Best Practices Analyzer results for your server to see if it picks up on a misconfiguration or condition that might be behind this issue. 
    www.sbsbpa.com
    Hope that helps,
    -Jason
    Jason Miller B.Comm (Hons), MCSA, MCITP, Microsoft MVP

  • Mobile Home Users old managed client info after server reinstall

    Hello,
    I have a 10.6.2 server with some 10.5 clients.
    I reinstalled the server and rebuilt the OD from scratch.
    I rebound the computers, most of the already had a mobile account. Everything works apart from the Mobile accounts have the old group for managed preferences, when I hold down alt on login you see the old group name, even though that group no longer exists.
    I have now recreated the group to see if I can use that but it will not.
    The only thing I have found to do is to delete the user account and then restore it.
    Anyone know I can get my mobile users to use the new group?
    Many thanks,
    David Lee

    I sort of hesitate to jump in with all of my ignorance, particularly with no Mountain Lion experience, but I have seen in other threads that apple's recommendation was for Mobility settings to NOT use profile manager but to use good old Workgroup Manager.  Now this rec was for Lion Server.  I had heard that WGM was a goner in Mountain Lion, but I have seen some posts that it still lives for 10.8.  If that is true, you might try getting and using that and see if it makes any difference for mobility.  For those other issues in this thread, well . . . .
    In any case, good luck, sounds very exasperating.

  • CML client hangs after server reboot

    Scenario ..
    Shut down CML client on PC
    Reboot VIRL server on ESXI
    Restart Client.  
    Client will display the workbench and then hang with the hourglass mouse pointer. (greayed out and status 'not responding' 
    It looks like it is trying to open the last workspace.
    It never recovers.    
    So far, the only fix is to un-install and re-install the CML client.
    This is yet another CML issue.
    Initial impressions of CML quality is quite poor.

    Hello,
    Thanks for for posting the issue,
    Please let us know if the issue is reproducible now or not, if it is reproducible please provide below log for analyzing the issue.
    C:\Users\username\cml\workspace\.metadata\.log
    Thanks and Regards,
    Bikash

  • How to send message to Client about Server shutdown.

    I have made a Chatting Application using RMI.
    I need to send messages to all the Clients when a Server shutdowns abnormally.
    One way is that I use shutdown hook on the Server Application.
    But, what if the power of the machine on which server is running goes off. How will the Client get to know that server is down.
    I also want that If a Client shutdowns abnormally,it should send the message to the Server which in turn will send message to other Clients about the particular Client.
    Thanks & Regards.
    Nimesh

    Before you make any call form client to server check that sever is available. This is easily done by intorudciing an rmi method that will return true e.g m_sever.isAvalable(); if server is availbel you will get ture if not then you will get an RMI Excpetion which you then trap and attemp to reconnect to the server (NAming.lookup() ) .. if several attempts fail then assume server is down.
    When a client dies it throws an excpetion on the sErver :
    java.net.SocketException: Connection reset by peer: JVM_recv in socket input stream read
         at java.net.SocketInputStream.socketRead0(Native Method)
         at java.net.SocketInputStream.read(SocketInputStream.java:116)
         at java.io.BufferedInputStream.fill(BufferedInputStream.java:183)
         at java.io.BufferedInputStream.read(BufferedInputStream.java:201)
         at java.io.FilterInputStream.read(FilterInputStream.java:66)
         at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:442)
         at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
         at java.lang.Thread.run(Thread.java:536)
    trap this and deal with it appropriatly.
    hope this helps.
    Charbel.

  • RMI How can a Client reconnect to a server after connection(any)-error

    I have the following problem:
    My RMI-Server runs for ever. In a batch-queue I have a procedure which looks periodly wether rmiregistry
    and RMI-Server exists. On error both processes are killed and restarted.
    My client as a simple example is displaying the server time. If any communication-problem with the
    server exists, I need an automatic reconnect to the server. I accept that into the time distanz of the
    error the display is frozen. Its unacceptable to restart the client !!.
    The following example demonstates my test-example:
    Server:
    1. Start
    2. waits for connecting (factory)
    3. answer time-requests
    Client:
    1. Start
    2. create a time class initially 1.jan.1970 00:00:00
    3. Start a timer displaying the time class every second
    4. start a timer connecting/reconnecting to the server and ask the servers actual time every second
    PS. Is the server to stubil programmed, so that a hang can exists?
    It would be nice, if anybody could answer me !!
    The following sources work correctly without solving the problem of the reconnect:
    ////////////// Echo.java
    package emi.server;
    import java.rmi.*;
    import java.util.*;
    public interface Echo
    extends Remote
    public Date getTime() throws RemoteException;
    ////////////// EchoClient.java
    package emi.server;
    //import emi.utility.basics.*;
    public class EchoClient
    public static void main(String args[]) throws Exception
    EchoClient echoclient1 = new EchoClient();
    //Check the argument count
    if (args.length != 1)
    System.err.println("Usage: EchoClient <server> --> EXIT");
    System.exit(0);
    // all of time relevant things
    Etim acttim = new Etim();
    // displaying continous the time
    EchoClientDisplay disp = new EchoClientDisplay(acttim);
    disp.StartTimer();
    // transfering continous the time from the server
    EchoClientTransfer trans = new EchoClientTransfer(acttim, args[0]);
    trans.StartTimer();
    ////////////// EchoClientDisplay.java
    package emi.server;
    import java.awt.event.*;
    import javax.swing.*;
    // displaying every 750 Milliseconds the value of the time
    public class EchoClientDisplay implements ActionListener
    private Timer tim;
    private Etim tact;
    public EchoClientDisplay(Etim tact)
    tim = new Timer(750, this);
    this.tact = tact;
    public void StartTimer()
    tim.setRepeats(true);
    tim.setInitialDelay(5);
    tim.start();
    public void actionPerformed(ActionEvent e )
    System.out.println(tact.toString());
    ////////////// EchoClientTransfer.java
    package emi.server;
    import java.rmi.Naming;
    import java.rmi.RMISecurityManager;
    import java.awt.event.*;
    import javax.swing.Timer;
    import java.util.Date;
    // transferring the actual time from the server
    public class EchoClientTransfer implements ActionListener
    private Etim tact;
    private String hostname;
    private Timer tim;
    private boolean init = false;
    private Echo echoRef1 = null;
    public EchoClientTransfer(Etim tact, String hostname)
    this.tact = tact;
    this.hostname = hostname;
    this.tim = new Timer(500, this);
    public void StartTimer()
    tim.setRepeats(true);
    tim.setInitialDelay(5);
    tim.start();
    public void actionPerformed(ActionEvent e )
    //>>>>>>>>>>> this construction doesnt work correctly, its only good until the first
    // network error
    try
    if( init == false )
    // Create and install the security manager
    System.setSecurityManager(new RMISecurityManager());
    //get the remote factory object from the registry
    String url = new String("rmi://"+ hostname +"/EchoFactory");
    EchoFactory remoteFactory = (EchoFactory)Naming.lookup(url);
    //get references to new EchoImpl instances
    echoRef1 = remoteFactory.getEcho("User Meyer");
    init = true;
    if( init = true )
    //make the remote calls
    Date d = echoRef1.getTime();
    tact.setDate(d);
    catch(Exception ee)
    System.out.println(ee.toString());
    init = false;
    //<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
    ////////////// EchoFactory.java
    package emi.server;
    import java.rmi.RemoteException;
    import java.rmi.Remote;
    public interface EchoFactory extends Remote
    Echo getEcho(String userName) throws RemoteException;
    ////////////// EchoFactoryImpl.java
    package emi.server;
    import java.rmi.RemoteException;
    import java.rmi.server.UnicastRemoteObject;
    public class EchoFactoryImpl extends UnicastRemoteObject implements EchoFactory
    EchoFactoryImpl() throws RemoteException {};
    public Echo getEcho(String userName) throws RemoteException
    EchoImpl echoRef = new EchoImpl(userName);
    return (Echo)echoRef;
    ////////////// EchoImpl.java
    package emi.server;
    import java.rmi.RemoteException;
    import java.rmi.server.UnicastRemoteObject;
    import java.util.*;
    public class EchoImpl extends UnicastRemoteObject implements Echo
    private String userName;
    public EchoImpl() throws RemoteException
    public EchoImpl(String userName) throws RemoteException
    this.userName = userName;
    public Date getTime()
    Etim e = new Etim();
    e.setTimeAct();
    return e.get();
    ////////////// EchoServer.java
    package emi.server;
    import java.rmi.Naming;
    import java.rmi.RMISecurityManager;
    public class EchoServer
    public static void main(String args[]) throws Exception
    // Create and install the security manager
    System.setSecurityManager(new RMISecurityManager());
    // Create the servant instance for registration
    EchoFactory factoryRef = new EchoFactoryImpl();
    // Bind the object to the rmiregistry
    Naming.rebind("EchoFactory", factoryRef);
    System.out.println("Echo object ready and bound to the name 'EchoFactory'!");
    ////////////// Etim.java
    package emi.server;
    import java.util.*;
    import java.text.*;
    // this is my central class working up all time problems .. many hundred lines of code
    // I think, you must not look at this code ist setting and reading time
    // this is only a subset of methods for this example
    public class Etim
    private Date dat;
    private Calendar cal;
    public Etim()
    cal = Calendar.getInstance(); // Gregorianischer Kalender
    dat = new Date(0L); // January 1, 1970, 00:00:00
    cal.clear();
    * Zeit lesen.
    public Date get()
    return dat;
    // setting the time
    public void setDate( Date d )
    dat.setTime( d.getTime() );
    cal.setTime(dat);
    // gets my time-class to the current system-clock
    public void setTimeAct()
    long millis;
    millis = System.currentTimeMillis();
    setMilli(millis);
    * Zeit setzen.
    public void setMilli(long millis)
    dat.setTime(millis);
    cal.setTime(dat);
    // time in german format: day.month.year hour:minute:second:millisecond
    public String toString()
    return toStringTagMoJahr() + " " + toStringStdMiSek() +
    ":" + cal.get(Calendar.MILLISECOND);
    * Ausgabeformat Tag.Monat.Jahr (z.B. 01.01.2001).
    public String toStringTagMoJahr()
    SimpleDateFormat s = new SimpleDateFormat("dd.MM.yyyy");
    return s.format(dat);
    * Ausgabeformat Stunde:Minute:Sekunde (00:00:00 - 23:59:59).
    public String toStringStdMiSek()
    SimpleDateFormat s = new SimpleDateFormat("HH:mm:ss");
    return s.format(dat);

    Hello willy51,
    Thank you for answering.
    I think, your comment of the design is true - its a problem when starting up in a new enviroment and
    you have nobody who shows you the right direction at the beginning. Talking personally together only
    10 minutes is better than writing a noval.
    I thing the following model of a client works better:
    concept:
    - visualize a personal time class continously evgery second
    - if there is a connection to a server set the time-class with the server time
    - if you loss connection, try to reconnect
    question:
    in which situation hangs connectToServer() ?
    (whithout the simple errors : no rmiregistry, no rmi-server)
    public class EchoClient
    private String hostname;
    public static void main(String args[]) throws Exception
    // my internal TIME-Class
    Etim acttim = new Etim();
    // Create and install the security manager
    System.setSecurityManager(new RMISecurityManager());
    // remote call
    Echo echoRef1 = null;
    String url = new String("rmi://"+ servername:port +"/EchoFactory");
    // displaying continous the time, technic = swing.timer
    EchoClientDisplay disp = new EchoClientDisplay(acttim);
    disp.StartTimer();
    // transfering continous the time from the server, technic = swing.timer
    // The state of transfer from server = offline
    EchoClientTransfer trans = new EchoClientTransfer(acttim);
    trans.StartTimer();
    // Connect to server
    connectToServer(url, echoRef1, trans);
    // wait for ever, if connection failed, try every 5 seconds a reconnect to server
    while(true)
    // test, if connection failed. The connections fails if the Object EchoClientTransfer
    // get a error, when it asks the server for the time ( remote call )
    if(trans.getStatus() == false ) // test, if connection failed
    connectToServer(url, echoRef1, trans);
    // try it again after 5 seconds
    Thread.sleep(5000);
    private static void connectToServer(String url, Echo echoRef1, EchoClientTransfer trans)
    System.out.println("Retry connection");
    // Connect to server
    while( true )
    try
    //get the remote factory object from the registry
    EchoFactory remoteFactory = (EchoFactory)Naming.lookup(url);
    //get references to new EchoImpl instances
    echoRef1 = remoteFactory.getEcho("User Meyer");
    // reactivate Datatransfer because I have now a new connection to the server
    trans.reactivateAfterConnectionError(echoRef1);
    // end of initialisation
    break;
    catch( Exception e )
    //>>>>>>> Error initialising connection to server. try again after 5 seconds"
    Thread.sleep(5000); // retry after 5 seconds

  • Weblogic managed server shutdown immediately after going to STARTING state

    Our configuration has 3 managed servers M1, M2, M3. M2 and M3 are in a cluster to share JNDI name for JMS servers. Are M3 server often shutdown on starting up just after the server goes to the STARTING state. I have 2 log traces. The first shows when the server shuts down, the 2nd is when the server initializes correctly. No configuration changes, just a timing race condition. Any help is greatly appreciated.....
    Bad startup log trace....
    Starting WLS with line:
    /Oracle/Middleware/jdk1.6.0_25/bin/java -server -Xms2048m -Xmx2048m -XX:NewSizeThreadIncrease=200 -Dweblogic.ThreadPoolPercentSocketReaders=50 -XX:MaxPermSize=512m -Dweblogic.Name=staAdapter -Djava.security.policy=/Oracle/Middleware/wlserver_10.3/server/lib/weblogic.policy -Dweblogic.ProductionModeEnabled=true -Dweblogic.security.SSL.trustedCAKeyStore=/Oracle/Middleware/wlserver_10.3/server/lib/cacerts -da -Dplatform.home=/Oracle/Middleware/wlserver_10.3 -Dwls.home=/Oracle/Middleware/wlserver_10.3/server -Dweblogic.home=/Oracle/Middleware/wlserver_10.3/server -Ddomain.home=/Oracle/Middleware/user_projects/domains/TBI -Dcommon.components.home=/Oracle/Middleware/oracle_common -Djrf.version=11.1.1 -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Logger -Djrockit.optfile=/Oracle/Middleware/oracle_common/modules/oracle.jrf_11.1.1/jrocket_optfile.txt -Doracle.domain.config.dir=/Oracle/Middleware/user_projects/domains/TBI/config/fmwconfig -Doracle.server.config.dir=/Oracle/Middleware/user_projects/domains/TBI/config/fmwconfig/servers/staAdapter -Doracle.security.jps.config=/Oracle/Middleware/user_projects/domains/TBI/config/fmwconfig/jps-config.xml -Djava.protocol.handler.pkgs=oracle.mds.net.protocol -Digf.arisidbeans.carmlloc=/Oracle/Middleware/user_projects/domains/TBI/config/fmwconfig/carml -Digf.arisidstack.home=/Oracle/Middleware/user_projects/domains/TBI/config/fmwconfig/arisidprovider -Dweblogic.alternateTypesDirectory=/Oracle/Middleware/oracle_common/modules/oracle.ossoiap_11.1.1,/Oracle/Middleware/oracle_common/modules/oracle.oamprovider_11.1.1 -Dweblogic.jdbc.remoteEnabled=false -Dweblogic.management.discover=false -Dweblogic.management.server=t3://localhost:7001 -Dwlw.iterativeDev=false -Dwlw.testConsole=false -Dwlw.logErrorsToConsole=false -Duser.timezone=UTC -Xrs -Dweblogic.MaxMessageSize=100000000 -Dweblogic.ext.dirs=/Oracle/Middleware/patch_wls1035/profiles/default/sysext_manifest_classpath:/Oracle/Middleware/patch_jdev1112/profiles/default/sysext_manifest_classpath -Djps.app.credential.overwrite.allowed=true weblogic.Server
    <Jan 24, 2013 9:29:16 PM UTC> <Info> <Security> <BEA-090905> <Disabling CryptoJ JCE Provider self-integrity check for better startup performance. To enable this check, specify -Dweblogic.security.allowCryptoJDefaultJCEVerification=true>
    <Jan 24, 2013 9:29:17 PM UTC> <Info> <Security> <BEA-090906> <Changing the default Random Number Generator in RSA CryptoJ from ECDRBG to FIPS186PRNG. To disable this change, specify -Dweblogic.security.allowCryptoJDefaultPRNG=true>
    <Jan 24, 2013 9:29:17 PM UTC> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) 64-Bit Server VM Version 20.0-b11 from Sun Microsystems Inc.>
    <Jan 24, 2013 9:29:23 PM UTC> <Info> <Management> <BEA-141107> <Version: WebLogic Server 10.3.5.0 Fri Apr 1 20:20:06 PDT 2011 1398638 >
    <Jan 24, 2013 9:29:24 PM UTC> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
    <Jan 24, 2013 9:29:24 PM UTC> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool>
    <Jan 24, 2013 9:29:24 PM UTC> <Notice> <Log Management> <BEA-170019> <The server log file /Oracle/Middleware/user_projects/domains/TBI/servers/staAdapter/logs/staAdapter.log is opened. All server side log events will be written to this file.>
    <Jan 24, 2013 9:29:25 PM UTC> <Error> <Socket> <BEA-000438> <Unable to load performance pack. Using Java I/O instead. Please ensure that libmuxer library is in :'/Oracle/Middleware/jdk1.6.0_25/jre/lib/amd64/server:/Oracle/Middleware/jdk1.6.0_25/jre/lib/amd64:/Oracle/Middleware/jdk1.6.0_25/jre/../lib/amd64:/Oracle/Middleware/patch_wls1035/profiles/default/native:/Oracle/Middleware/patch_jdev1112/profiles/default/native:/Oracle/Middleware/wlserver_10.3/server/native/linux/i686:/Oracle/Middleware/wlserver_10.3/server/native/linux/i686/oci920_8:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib'
    >
    <Jan 24, 2013 9:29:28 PM UTC> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.>
    <Jan 24, 2013 9:29:30 PM UTC> <Warning> <Store> <BEA-280101> <The persistent file store "_WLS_staAdapter" is forced to use buffered I/O and so may have significantly degraded performance. Either the OS/hardware environment does not support the chosen write policy or the native wlfileio library is missing. See store open log messages for the requested and final write policies. See the documentation on store synchronous write policy configuration for advice.>
    <Jan 24, 2013 9:29:31 PM UTC> <Warning> <Deployer> <BEA-149617> <Non-critical internal application uddi was not deployed. Error: [Deployer:149158]No application files exist at '/Oracle/Middleware/wlserver_10.3/server/lib/uddi.war'.>
    <Jan 24, 2013 9:29:31 PM UTC> <Warning> <Deployer> <BEA-149617> <Non-critical internal application uddiexplorer was not deployed. Error: [Deployer:149158]No application files exist at '/Oracle/Middleware/wlserver_10.3/server/lib/uddiexplorer.war'.>
    <Jan 24, 2013 9:29:31 PM UTC> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STANDBY>
    <Jan 24, 2013 9:29:31 PM UTC> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
    *<Jan 24, 2013 9:29:51 PM UTC> <Notice> <WebLogicServer> <BEA-000388> <JVM called WLS shutdown hook. The server will force shutdown now>*
    *<Jan 24, 2013 9:29:51 PM UTC> <Alert> <WebLogicServer> <BEA-000396> <Server shutdown has been requested by <WLS Kernel>>*
    *<Jan 24, 2013 9:29:51 PM UTC> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FORCE_SHUTTING_DOWN>*
    Good startup trace.....
    Starting WLS with line:
    /Oracle/Middleware/jdk1.6.0_25/bin/java -server -Xms2048m -Xmx2048m -XX:NewSizeThreadIncrease=200 -Dweblogic.ThreadPoolPercentSocketReaders=50 -XX:MaxPermSize=512m -Dweblogic.Name=staAdapter -Djava.security.policy=/Oracle/Middleware/wlserver_10.3/server/lib/weblogic.policy -Dweblogic.ProductionModeEnabled=true -Dweblogic.security.SSL.trustedCAKeyStore=/Oracle/Middleware/wlserver_10.3/server/lib/cacerts -da -Dplatform.home=/Oracle/Middleware/wlserver_10.3 -Dwls.home=/Oracle/Middleware/wlserver_10.3/server -Dweblogic.home=/Oracle/Middleware/wlserver_10.3/server -Ddomain.home=/Oracle/Middleware/user_projects/domains/TBI -Dcommon.components.home=/Oracle/Middleware/oracle_common -Djrf.version=11.1.1 -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Logger -Djrockit.optfile=/Oracle/Middleware/oracle_common/modules/oracle.jrf_11.1.1/jrocket_optfile.txt -Doracle.domain.config.dir=/Oracle/Middleware/user_projects/domains/TBI/config/fmwconfig -Doracle.server.config.dir=/Oracle/Middleware/user_projects/domains/TBI/config/fmwconfig/servers/staAdapter -Doracle.security.jps.config=/Oracle/Middleware/user_projects/domains/TBI/config/fmwconfig/jps-config.xml -Djava.protocol.handler.pkgs=oracle.mds.net.protocol -Digf.arisidbeans.carmlloc=/Oracle/Middleware/user_projects/domains/TBI/config/fmwconfig/carml -Digf.arisidstack.home=/Oracle/Middleware/user_projects/domains/TBI/config/fmwconfig/arisidprovider -Dweblogic.alternateTypesDirectory=/Oracle/Middleware/oracle_common/modules/oracle.ossoiap_11.1.1,/Oracle/Middleware/oracle_common/modules/oracle.oamprovider_11.1.1 -Dweblogic.jdbc.remoteEnabled=false -Dweblogic.management.discover=false -Dweblogic.management.server=t3://localhost:7001 -Dwlw.iterativeDev=false -Dwlw.testConsole=false -Dwlw.logErrorsToConsole=false -Duser.timezone=UTC -Xrs -Dweblogic.MaxMessageSize=100000000 -Dweblogic.ext.dirs=/Oracle/Middleware/patch_wls1035/profiles/default/sysext_manifest_classpath:/Oracle/Middleware/patch_jdev1112/profiles/default/sysext_manifest_classpath -Djps.app.credential.overwrite.allowed=true weblogic.Server
    <Jan 24, 2013 5:31:06 PM UTC> <Info> <Security> <BEA-090905> <Disabling CryptoJ JCE Provider self-integrity check for better startup performance. To enable this check, specify -Dweblogic.security.allowCryptoJDefaultJCEVerification=true>
    <Jan 24, 2013 5:31:06 PM UTC> <Info> <Security> <BEA-090906> <Changing the default Random Number Generator in RSA CryptoJ from ECDRBG to FIPS186PRNG. To disable this change, specify -Dweblogic.security.allowCryptoJDefaultPRNG=true>
    <Jan 24, 2013 5:31:06 PM UTC> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) 64-Bit Server VM Version 20.0-b11 from Sun Microsystems Inc.>
    <Jan 24, 2013 5:31:07 PM UTC> <Info> <Management> <BEA-141107> <Version: WebLogic Server 10.3.5.0 Fri Apr 1 20:20:06 PDT 2011 1398638 >
    <Jan 24, 2013 5:31:08 PM UTC> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
    <Jan 24, 2013 5:31:08 PM UTC> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool>
    <Jan 24, 2013 5:31:08 PM UTC> <Notice> <Log Management> <BEA-170019> <The server log file /Oracle/Middleware/user_projects/domains/TBI/servers/staAdapter/logs/staAdapter.log is opened. All server side log events will be written to this file.>
    <Jan 24, 2013 5:31:09 PM UTC> <Error> <Socket> <BEA-000438> <Unable to load performance pack. Using Java I/O instead. Please ensure that libmuxer library is in :'/Oracle/Middleware/jdk1.6.0_25/jre/lib/amd64/server:/Oracle/Middleware/jdk1.6.0_25/jre/lib/amd64:/Oracle/Middleware/jdk1.6.0_25/jre/../lib/amd64:/Oracle/Middleware/patch_wls1035/profiles/default/native:/Oracle/Middleware/patch_jdev1112/profiles/default/native:/Oracle/Middleware/wlserver_10.3/server/native/linux/i686:/Oracle/Middleware/wlserver_10.3/server/native/linux/i686/oci920_8:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib'
    >
    <Jan 24, 2013 5:31:13 PM UTC> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.>
    <Jan 24, 2013 5:31:14 PM UTC> <Warning> <Store> <BEA-280101> <The persistent file store "_WLS_staAdapter" is forced to use buffered I/O and so may have significantly degraded performance. Either the OS/hardware environment does not support the chosen write policy or the native wlfileio library is missing. See store open log messages for the requested and final write policies. See the documentation on store synchronous write policy configuration for advice.>
    <Jan 24, 2013 5:31:15 PM UTC> <Warning> <Deployer> <BEA-149617> <Non-critical internal application uddi was not deployed. Error: [Deployer:149158]No application files exist at '/Oracle/Middleware/wlserver_10.3/server/lib/uddi.war'.>
    <Jan 24, 2013 5:31:15 PM UTC> <Warning> <Deployer> <BEA-149617> <Non-critical internal application uddiexplorer was not deployed. Error: [Deployer:149158]No application files exist at '/Oracle/Middleware/wlserver_10.3/server/lib/uddiexplorer.war'.>
    <Jan 24, 2013 5:31:16 PM UTC> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STANDBY>
    <Jan 24, 2013 5:31:16 PM UTC> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
    **<Jan 24, 2013 5:31:30 PM UTC> <Notice> <Log Management> <BEA-170027> <The Server has established connection with the Domain level Diagnostic Service successfully.>**
    **<Jan 24, 2013 5:31:30 PM UTC> <Notice> <Cluster> <BEA-000197> <Listening for announcements from cluster using unicast cluster messaging>**
    **<Jan 24, 2013 5:31:30 PM UTC> <Notice> <Cluster> <BEA-000133> <Waiting to synchronize with other running members of STA_cluster.>**
    **<Jan 24, 2013 5:31:38 PM UTC> <Notice> <Cluster> <BEA-000142> <Trying to download cluster JNDI tree from server staEngine.>**
    **<Jan 24, 2013 5:31:38 PM UTC> <Notice> <Cluster> <BEA-000164> <Synchronized cluster JNDI tree from server staEngine.>**
    **<Jan 24, 2013 5:31:38 PM UTC> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to ADMIN>**
    **<Jan 24, 2013 5:31:38 PM UTC> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RESUMING>**

    Thanks. Unfortunately I've already done that and it doesn't work. I've included the -Xrs option in the managed server java command line arguments, see below. However, either it is in the wrong location on the java argument list or something else is going on, because it is not working. See the JVM command line below of the managed server.....
    /Oracle/Middleware/jdk1.6.0_25/bin/java -server -Xms2048m -Xmx2048m -XX:NewSizeThreadIncrease=200 -Dweblogic.ThreadPoolPercentSocketReaders=50 -XX:MaxPermSize=512m -Dweblogic.Name=staAdapter -Djava.security.policy=/Oracle/Middleware/wlserver_10.3/server/lib/weblogic.policy -Dweblogic.ProductionModeEnabled=true -Dweblogic.security.SSL.trustedCAKeyStore=/Oracle/Middleware/wlserver_10.3/server/lib/cacerts -da -Dplatform.home=/Oracle/Middleware/wlserver_10.3 -Dwls.home=/Oracle/Middleware/wlserver_10.3/server -Dweblogic.home=/Oracle/Middleware/wlserver_10.3/server -Ddomain.home=/Oracle/Middleware/user_projects/domains/TBI -Dcommon.components.home=/Oracle/Middleware/oracle_common -Djrf.version=11.1.1 -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Logger -Djrockit.optfile=/Oracle/Middleware/oracle_common/modules/oracle.jrf_11.1.1/jrocket_optfile.txt -Doracle.domain.config.dir=/Oracle/Middleware/user_projects/domains/TBI/config/fmwconfig -Doracle.server.config.dir=/Oracle/Middleware/user_projects/domains/TBI/config/fmwconfig/servers/staAdapter -Doracle.security.jps.config=/Oracle/Middleware/user_projects/domains/TBI/config/fmwconfig/jps-config.xml -Djava.protocol.handler.pkgs=oracle.mds.net.protocol -Digf.arisidbeans.carmlloc=/Oracle/Middleware/user_projects/domains/TBI/config/fmwconfig/carml -Digf.arisidstack.home=/Oracle/Middleware/user_projects/domains/TBI/config/fmwconfig/arisidprovider -Dweblogic.alternateTypesDirectory=/Oracle/Middleware/oracle_common/modules/oracle.ossoiap_11.1.1,/Oracle/Middleware/oracle_common/modules/oracle.oamprovider_11.1.1 -Dweblogic.jdbc.remoteEnabled=false -Dweblogic.management.discover=false -Dweblogic.management.server=t3://localhost:7001 -Dwlw.iterativeDev=false -Dwlw.testConsole=false -Dwlw.logErrorsToConsole=false -Duser.timezone=UTC -Xrs -Dweblogic.MaxMessageSize=100000000 -Dweblogic.ext.dirs=/Oracle/Middleware/patch_wls1035/profiles/default/sysext_manifest_classpath:/Oracle/Middleware/patch_jdev1112/profiles/default/sysext_manifest_classpath -Djps.app.credential.overwrite.allowed=true weblogic.Serve

  • Phonefactor with RRAS(Windows Server 2003) - VPN client timeout after 20 seconds -- too fast!

    [Note that I have previously posted this question on Experts Exchange... but have not found a solution yet].
    We are a small business and would like to switch to two-factor authentication for VPN connections. We spent nearly a year helping Barracuda debug their small business VPN appliance and finally they took their boxes back and gave us back our money - they
    just couldn't get file sharing to work consistently with some new firmware they had to install due to a patent case.
    So... now we are trying Phonefactor.
    Our VPN setup is RRAS on a Windows Server 2003 domain controller.
    We have installed Phonefactor, enabled it as a Radius server, and configured RRAS to point to Phonefactor for Radius authentication. We configured phonefactor to send text messages for authentication, as we figured that would be less disruptive than a phone
    call.
    It all works except... the timeout for VPN clients is only 20 seconds! By the time we receive the text message on a cell phone, sometimes there is only 5 or 6 seconds to get the six digit code typed into a reply on the cell phone... and unless we are really
    nimble, that is frequently not enough time!
    When the VPN client times out, it gives an Error 718 "The connection was terminated because the remote computer did not respond in a timely manner."
    How can we increase the timeout on the VPN clients, so we can more reliably enter the authentication code in a reply back to phonefactor?
    Things we have tried:
    1) Connecting (PPTP) from different Windows clients to see if we get different timeout limits. So far we have tried several Windows 7 boxes and a Windows Server 2003 as the client, but in all cases the timeout is 20 seconds.
    2) On the windows clients: Searching through the PPTP client settings to see if there is one labeled "connection timeout". So far we have found nothing.
    3) On the windows 2003 server: Modifying the RRAS Radius Server time-out to be 30 seconds, 60 seconds, 300 seconds. We've tried restarting RRAS after these changes, but the client connection timeout is still 20 seconds.
    4) In the phonefactor configuration: Searching through the radius server settings to see if there is one labeled "connection timeout". So far we have found nothing.
    5) Using NTRadPing to connect directly to the phonefactor radius server. With NTRadPing we were able to wait more than 60 seconds without a timeout from phonefactor. So we don't *think* at this point that the issue is within phonefactor.
    6) We have asked phonefactor support, but their response is "hmmm... good question, we don't know, that sounds like a problem with your vpn client". And they could well be correct.
    7) Search the web for how to increase either the stock windows VPN client timeout, or the RRAS radius authentication timeout. No luck so far.
    8) Try this registry hack:
    http://windowsitpro.com/networking/solving-ras-718-error. Didn't help.
    Any ideas?
    thanks!

    Hi fdc2005,
    Thanks for the post.
    However, generally, we first type User Name, Password, then click connect to establish the VPN connection. Such as:
    Therefore, I have a little confusion about the timeout you mentioned. Would you please provide us more details.
    Regarding error 718, please check if the following could help:
    If you have a third-party VPN server which does not support MS-CHAPv2 as an authentication method and supports only MS-CHAPv1, you will need to use either CHAP or PAP to connect from the Windows Vista VPN client until the server you use starts supporting MS-CHAPv2.
    Steps to follow for resolution:
    (1) Check if the Routing and Remote Access Server (RRAS) is configured to allow connections with MS-CHAPv2
    (2) Check if the RADIUS server policy supports MSCHAPv2 (This step is needed if you control access to clients using Remote Access Policies on the IAS/NPS server)
    Quote from:
    Troubleshooting Vista VPN problems.
    Hope this helps.
    Jeremy Wu
    TechNet Community Support

  • Webserver "client denied by server configuration" after reboot

    Hello all,
    Long story short, I was the unfortunate victim of a rather nasty virus that made me have to restore from a time maching backup. In the process my webserver is acting up (not sure if this was pre or post restore).
    I am getting the following error in my apache2 error log...
    [Sat Jan 28 20:48:06 2012] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
    [Sat Jan 28 20:48:06 2012] [notice] Apache/2.2.20 (Unix) mod_ssl/2.2.20 OpenSSL/0.9.8r DAV/2 PHP/5.3.6 configured -- resuming normal operations
    [Sat Jan 28 20:48:07 2012] [error] [client 127.0.0.1] client denied by server configuration: /var/empty/server-status
    [Sat Jan 28 20:48:07 2012] [error] [client 127.0.0.1] client denied by server configuration: /var/empty/error
    [Sat Jan 28 20:48:07 2012] [error] [client 127.0.0.1] client denied by server configuration: /var/empty/server-status
    [Sat Jan 28 20:48:07 2012] [error] [client 127.0.0.1] client denied by server configuration: /var/empty/error
    [Sat Jan 28 20:48:07 2012] [error] [client 127.0.0.1] client denied by server configuration: /var/empty/server-status
    [Sat Jan 28 20:48:07 2012] [error] [client 127.0.0.1] client denied by server configuration: /var/empty/error
    [Sat Jan 28 20:48:07 2012] [error] [client 127.0.0.1] client denied by server configuration: /var/empty/server-status
    [Sat Jan 28 20:48:07 2012] [error] [client 127.0.0.1] client denied by server configuration: /var/empty/error
    [Sat Jan 28 20:48:10 2012] [error] [client 127.0.0.1] client denied by server configuration: /var/empty/server-status
    I did some searching and tried to edit my /etc/apache2/httpd.conf file with the following code snippet...
    # Allow server status reports generated by mod_status,
    # with the URL of http://servername/server-status
    # Change the ".example.com" to match your domain to enable.
              ExtendedStatus On
              <Location "/server-status">
                        SetHandler server-status
                        Order deny,allow
                        Deny from all
                        Allow from .example.com
              </Location>
    No luck. I am somewhat at my whits end....my server is running with a 10-15% increase in load...
    Thanks so much in advance. Please let me know if any further information is required.

    any advice? Link? anything would be appreciated...

  • SAP Gui Logon - application server shutdown

    Hi!
    I'have installed SAP Netweaver 7.0 Abap TRIAL on my Windows XP Service Pack 3.
    After lunching NSP-->Start Application Server, all is ok.
    But when i try to Logon with Sap Gui 7.10, i get this error :
    application server shutdown
    Component     DPTM
    Release                710
    Version             10
    Return Code     -17
    Counter             1
    Could you please help me?
    Thanks a lot!

    Hi!
    MaxDB seems to start correctly :
    http://www.fabiocavallo.it/sap/maxdb.jpg
    ...here comes dev_w0 :
    trc file: "dev_w0", trc level: 1, release: "700"
    ACTIVE TRACE LEVEL           1
    ACTIVE TRACE COMPONENTS      all, MJ

    B Thu May 22 19:58:50 2008
    B  create_con (con_name=R/3)
    B  Loading DB library 'C:\SAP\NSP\SYS\exe\run\dbsdbslib.dll' ...
    M  *** ERROR => DlLoadLib: LoadLibrary(C:\SAP\NSP\SYS\exe\run\dbsdbslib.dll) Error 126 [dlnt.c       237]
    M          Error 126 = "Impossibile trovare il modulo specificato."
    B  *** ERROR => Couldn't load library 'C:\SAP\NSP\SYS\exe\run\dbsdbslib.dll'
    [dbcon.c      4726]
    M sysno      00
    M sid        NSP
    M systemid   560 (PC with Windows NT)
    M relno      7000
    M patchlevel 0
    M patchno    95
    M intno      20050900
    M make:      multithreaded, ASCII, optimized
    M pid        3376
    M
    M  kernel runs with dp version 224(ext=109) (@(#) DPLIB-INT-VERSION-224)
    M  length of sys_adm_ext is 360 bytes
    M  ***LOG Q0Q=> tskh_init, WPStart (Workproc 0 3376) [dpxxdisp.c   1301]
    I  MtxInit: 30000 0 0
    M  DpSysAdmExtCreate: ABAP is active
    M  DpSysAdmExtCreate: VMC (JAVA VM in WP) is not active

    M Thu May 22 19:58:51 2008
    M  DpShMCreate: sizeof(wp_adm)          6328     (904)
    M  DpShMCreate: sizeof(tm_adm)          3605136     (17936)
    M  DpShMCreate: sizeof(wp_ca_adm)          1200     (60)
    M  DpShMCreate: sizeof(appc_ca_adm)     1200     (60)
    M  DpCommTableSize: max/headSize/ftSize/tableSize=500/8/528040/528048
    M  DpShMCreate: sizeof(comm_adm)          528048     (1048)
    M  DpSlockTableSize: max/headSize/ftSize/fiSize/tableSize=0/0/0/0/0
    M  DpShMCreate: sizeof(slock_adm)          0     (96)
    M  DpFileTableSize: max/headSize/ftSize/tableSize=0/0/0/0
    M  DpShMCreate: sizeof(file_adm)          0     (72)
    M  DpShMCreate: sizeof(vmc_adm)          0     (1280)
    M  DpShMCreate: sizeof(wall_adm)          (22440/34344/56/100)
    M  DpShMCreate: sizeof(gw_adm)     48
    M  DpShMCreate: SHM_DP_ADM_KEY          (addr: 06420040, size: 4205552)
    M  DpShMCreate: allocated sys_adm at 06420040
    M  DpShMCreate: allocated wp_adm at 06421A28
    M  DpShMCreate: allocated tm_adm_list at 064232E0
    M  DpShMCreate: allocated tm_adm at 06423310
    M  DpShMCreate: allocated wp_ca_adm at 067935A0
    M  DpShMCreate: allocated appc_ca_adm at 06793A50
    M  DpShMCreate: allocated comm_adm at 06793F00
    M  DpShMCreate: system runs without slock table
    M  DpShMCreate: system runs without file table
    M  DpShMCreate: allocated vmc_adm_list at 06814DB0
    M  DpShMCreate: allocated gw_adm at 06814DF0
    M  DpShMCreate: system runs without vmc_adm
    M  DpShMCreate: allocated ca_info at 06814E20
    M  DpShMCreate: allocated wall_adm at 06814E28
    X  EmInit: MmSetImplementation( 2 ).
    X  MM global diagnostic options set: 0
    X  <ES> client 0 initializing ....
    X  Using implementation view
    M  <EsNT> Memory Reset disabled as NT default
    X  ES initialized.
    M  ThInit: running on host PCFABIO

    M Thu May 22 19:58:52 2008
    M  calling db_connect ...
    B  create_con (con_name=R/3)
    B  Loading DB library 'C:\SAP\NSP\SYS\exe\run\dbsdbslib.dll' ...
    M  *** ERROR => DlLoadLib: LoadLibrary(C:\SAP\NSP\SYS\exe\run\dbsdbslib.dll) Error 126 [dlnt.c       237]
    M          Error 126 = "Impossibile trovare il modulo specificato."
    B  *** ERROR => Couldn't load library 'C:\SAP\NSP\SYS\exe\run\dbsdbslib.dll'
    [dbcon.c      4726]
    M  ***LOG R19=> ThInit, db_connect ( DB-Connect 008192) [thxxhead.c   1426]
    M  in_ThErrHandle: 1
    M  *** ERROR => ThInit: db_connect (step 1, th_errno 13, action 3, level 1) [thxxhead.c   10240]

    M  Info for wp 0

    M    stat = WP_RUN
    M    waiting_for = NO_WAITING
    M    reqtype = DP_RQ_DIAWP
    M    act_reqtype = NO_REQTYPE
    M    rq_info = 0
    M    tid = -1
    M    mode = 255
    M    len = -1
    M    rq_id = 65535
    M    rq_source =
    M    last_tid = 0
    M    last_mode = 0
    M    semaphore = 0
    M    act_cs_count = 0
    M    csTrack = 0
    M    csTrackRwExcl = 0
    M    csTrackRwShrd = 0
    M    control_flag = 0
    M    int_checked_resource(RFC) = 0
    M    ext_checked_resource(RFC) = 0
    M    int_checked_resource(HTTP) = 0
    M    ext_checked_resource(HTTP) = 0
    M    report = >                                        <
    M    action = 0
    M    tab_name = >                              <
    M    vm = no VM

    M  *****************************************************************************
    M  *
    M  *  LOCATION    SAP-Server PCFABIO_NSP_00 on host PCFABIO (wp 0)
    M  *  ERROR       ThInit: db_connect
    M  *
    M  *  TIME        Thu May 22 19:58:52 2008
    M  *  RELEASE     700
    M  *  COMPONENT   Taskhandler
    M  *  VERSION     1
    M  *  RC          13
    M  *  MODULE      thxxhead.c
    M  *  LINE        10439
    M  *  COUNTER     1
    M  *
    M  *****************************************************************************

    M  PfStatDisconnect: disconnect statistics
    M  Entering TH_CALLHOOKS
    M  ThCallHooks: call hook >ThrSaveSPAFields< for event BEFORE_DUMP
    M  *** ERROR => ThrSaveSPAFields: no valid thr_wpadm [thxxrun1.c   720]
    M  *** ERROR => ThCallHooks: event handler ThrSaveSPAFields for event BEFORE_DUMP failed [thxxtool3.c  260]
    M  Entering ThSetStatError
    M  ThIErrHandle: do not call ThrCoreInfo (no_core_info=0, in_dynp_env=0)
    M  Entering ThReadDetachMode
    M  call ThrShutDown (1)...
    M  ***LOG Q02=> wp_halt, WPStop (Workproc 0 3376) [dpnttool.c   327]
    Thanks again, Sergo!
    Regards.
    Fabio

  • TRIALSP11 Application server Shutdown at SAP LOGON

    This is my first adventure with SAP or ABAP..
    1. I installed and followed the  SAPNW2004sABAPTrialSP11 install instructions.
    2. The installation instructions went fine from the
    /people/manfred.lutz/blog/2007/03/16/new-blog-series-abap-trial-version-for-newbies
    3. SAMMMC has MSG_SERVER.exe and DISP_WORK.EXE both green when I stared the SAP Logon.
    4. After I start the SAP the waiting for response shows up.
    5. SAP GUI comes up with a error saying application server shutdown.
    6. my disp+work.exe goes to stopped state.
    7. Error message says componet is 710, version 10, return code -17, counter 1.
    The Log is attached. Any help is rewarded.
    trc file: "dev_disp", trc level: 1, release: "700"
    sysno      00
    sid        NSP
    systemid   560 (PC with Windows NT)
    relno      7000
    patchlevel 0
    patchno    95
    intno      20050900
    make:      multithreaded, ASCII, optimized
    pid        2192
    Fri Jun 29 21:56:47 2007
    kernel runs with dp version 224(ext=109) (@(#) DPLIB-INT-VERSION-224)
    length of sys_adm_ext is 360 bytes
    SWITCH TRC-HIDE on ***
    ***LOG Q00=> DpSapEnvInit, DPStart (00 2192) [dpxxdisp.c   1239]
    Fri Jun 29 21:56:48 2007
         shared lib "dw_xml.dll" version 95 successfully loaded
         shared lib "dw_xtc.dll" version 95 successfully loaded
         shared lib "dw_stl.dll" version 95 successfully loaded
         shared lib "dw_gui.dll" version 95 successfully loaded
         shared lib "dw_mdm.dll" version 95 successfully loaded
    rdisp/softcancel_sequence :  -> 0,5,-1
    use internal message server connection to port 3900
    Fri Jun 29 21:56:52 2007
    WARNING => DpNetCheck: NiAddrToHost(1.0.0.0) took 4 seconds
    ***LOG GZZ=> 1 possible network problems detected - check tracefile and adjust the DNS settings [dpxxtool2.c  5355]
    MtxInit: 30000 0 0
    DpSysAdmExtInit: ABAP is active
    DpSysAdmExtInit: VMC (JAVA VM in WP) is not active
    DpIPCInit2: start server >kiranmtop_NSP_00                        <
    DpShMCreate: sizeof(wp_adm)          6328     (904)
    DpShMCreate: sizeof(tm_adm)          3605136     (17936)
    DpShMCreate: sizeof(wp_ca_adm)          1200     (60)
    DpShMCreate: sizeof(appc_ca_adm)     1200     (60)
    DpCommTableSize: max/headSize/ftSize/tableSize=500/8/528040/528048
    DpShMCreate: sizeof(comm_adm)          528048     (1048)
    DpSlockTableSize: max/headSize/ftSize/fiSize/tableSize=0/0/0/0/0
    DpShMCreate: sizeof(slock_adm)          0     (96)
    DpFileTableSize: max/headSize/ftSize/tableSize=0/0/0/0
    DpShMCreate: sizeof(file_adm)          0     (72)
    DpShMCreate: sizeof(vmc_adm)          0     (1280)
    DpShMCreate: sizeof(wall_adm)          (22440/34344/56/100)
    DpShMCreate: sizeof(gw_adm)     48
    DpShMCreate: SHM_DP_ADM_KEY          (addr: 059B0040, size: 4205552)
    DpShMCreate: allocated sys_adm at 059B0040
    DpShMCreate: allocated wp_adm at 059B1A28
    DpShMCreate: allocated tm_adm_list at 059B32E0
    DpShMCreate: allocated tm_adm at 059B3310
    DpShMCreate: allocated wp_ca_adm at 05D235A0
    DpShMCreate: allocated appc_ca_adm at 05D23A50
    DpShMCreate: allocated comm_adm at 05D23F00
    DpShMCreate: system runs without slock table
    DpShMCreate: system runs without file table
    DpShMCreate: allocated vmc_adm_list at 05DA4DB0
    DpShMCreate: allocated gw_adm at 05DA4DF0
    DpShMCreate: system runs without vmc_adm
    DpShMCreate: allocated ca_info at 05DA4E20
    DpShMCreate: allocated wall_adm at 05DA4E28
    MBUF state OFF
    DpCommInitTable: init table for 500 entries
    Fri Jun 29 21:56:53 2007
    EmInit: MmSetImplementation( 2 ).
    MM global diagnostic options set: 0
    <ES> client 0 initializing ....
    <ES> InitFreeList
    <ES> block size is 1024 kByte.
    Using implementation view
    <EsNT> Memory Reset disabled as NT default
    <ES> 127 blocks reserved for free list.
    ES initialized.
    rdisp/http_min_wait_dia_wp : 1 -> 1
    Fri Jun 29 21:56:54 2007
    ***LOG Q0K=> DpMsAttach, mscon ( kiranmtop) [dpxxdisp.c   11663]
    Fri Jun 29 21:56:55 2007
    DpStartStopMsg: send start message (myname is >kiranmtop_NSP_00                        <)
    DpStartStopMsg: start msg sent
    Fri Jun 29 21:56:56 2007
    CCMS: alert/MONI_SEGM_SIZE = 0   monitoring and alerting switched off.
    DpMsgAdmin: Set release to 7000, patchlevel 0
    MBUF state PREPARED
    MBUF component UP
    DpMBufHwIdSet: set Hardware-ID
    ***LOG Q1C=> DpMBufHwIdSet [dpxxmbuf.c   1050]
    DpMsgAdmin: Set patchno for this platform to 95
    Release check o.K.
    Fri Jun 29 21:57:35 2007
    ERROR => W0 (pid 2268) died [dpxxdisp.c   14318]
    ERROR => W1 (pid 2276) died [dpxxdisp.c   14318]
    ERROR => W2 (pid 2284) died [dpxxdisp.c   14318]
    my types changed after wp death/restart 0x9f --> 0x9e
    ERROR => W3 (pid 2292) died [dpxxdisp.c   14318]
    my types changed after wp death/restart 0x9e --> 0x9c
    ERROR => W4 (pid 2300) died [dpxxdisp.c   14318]
    my types changed after wp death/restart 0x9c --> 0x98
    ERROR => W5 (pid 2308) died [dpxxdisp.c   14318]
    my types changed after wp death/restart 0x98 --> 0x90
    ERROR => W6 (pid 2316) died [dpxxdisp.c   14318]
    my types changed after wp death/restart 0x90 --> 0x80
    DP_FATAL_ERROR => DpWPCheck: no more work processes
    DISPATCHER EMERGENCY SHUTDOWN ***
    increase tracelevel of WPs
    NiWait: sleep (10000ms) ...
    NiISelect: timeout 10000ms
    NiISelect: maximum fd=1629
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Fri Jun 29 21:57:45 2007
    NiISelect: TIMEOUT occured (10000ms)
    dump system status
    Workprocess Table (long)               Sat Jun 30 04:57:45 2007
    ========================
    No Ty. Pid      Status  Cause Start Err Sem CPU    Time  Program  Cl  User         Action                    Table
    0 DIA     2268 Ended         no      1   0             0                                                             
    1 DIA     2276 Ended         no      1   0             0                                                             
    2 DIA     2284 Ended         no      1   0             0                                                             
    3 UPD     2292 Ended         no      1   0             0                                                             
    4 ENQ     2300 Ended         no      1   0             0                                                             
    5 BTC     2308 Ended         no      1   0             0                                                             
    6 SPO     2316 Ended         no      1   0             0                                                             
    Dispatcher Queue Statistics               Sat Jun 30 04:57:45 2007
    ===========================
    --------++++--
    +
    Typ
    now
    high
    max
    writes
    reads
    --------++++--
    +
    NOWP
    0
    2
    2000
    5
    5
    --------++++--
    +
    DIA
    5
    5
    2000
    5
    0
    --------++++--
    +
    UPD
    0
    0
    2000
    0
    0
    --------++++--
    +
    ENQ
    0
    0
    2000
    0
    0
    --------++++--
    +
    BTC
    0
    0
    2000
    0
    0
    --------++++--
    +
    SPO
    0
    0
    2000
    0
    0
    --------++++--
    +
    UP2
    0
    0
    2000
    0
    0
    --------++++--
    +
    max_rq_id          12
    wake_evt_udp_now     0
    wake events           total     7,  udp     4 ( 57%),  shm     3 ( 42%)
    since last update     total     7,  udp     4 ( 57%),  shm     3 ( 42%)
    Dump of tm_adm structure:               Sat Jun 30 04:57:45 2007
    =========================
    Term    uid  man user    term   lastop  mod wp  ta   a/i (modes)
    RM-T7, U8,                 , kiranmtop, 21:57:24, M0, W-1,     , 1/0
    Workprocess Comm. Area Blocks               Sat Jun 30 04:57:45 2007
    =============================
    Slots: 20, Used: 2, Max: 1
    --------++--
    +
    id
    owner
    pid
    eyecatcher
    --------++--
    +
    0
    DISPATCHER
    -1
    WPCAAD000
    1
    DISPATCHER
    -1
    WPCAAD001
    NiWait: sleep (5000ms) ...
    NiISelect: timeout 5000ms
    NiISelect: maximum fd=1629
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Fri Jun 29 21:57:50 2007
    NiISelect: TIMEOUT occured (5000ms)
    DpHalt: shutdown server >kiranmtop_NSP_00                        < (normal)
    DpJ2eeDisableRestart
    DpModState: buffer in state MBUF_PREPARED
    NiBufSend starting
    NiIWrite: hdl 2 sent data (wrt=110,pac=1,MESG_IO)
    MsINiWrite: sent 110 bytes
    MsIModState: change state to SHUTDOWN
    DpModState: change server state from STARTING to SHUTDOWN
    Switch off Shared memory profiling
    ShmProtect( 57, 3 )
    ShmProtect(SHM_PROFILE, SHM_PROT_RW
    ShmProtect( 57, 1 )
    ShmProtect(SHM_PROFILE, SHM_PROT_RD
    DpWakeUpWps: wake up all wp's
    Stop work processes
    Stop gateway
    killing process (2252) (SOFT_KILL)
    Stop icman
    killing process (2260) (SOFT_KILL)
    Terminate gui connections
    send SHUTDOWN to REM TM 7
    blks_in_queue/wp_ca_blk_no/wp_max_no = 2/20/7
    LOCK WP ca_blk 2
    return errno (-17) to T7
    errormsg without overhead: take mode 0
    NiBufIAlloc: malloc NiBufadm, to 0 bytes
    try to send 14 to M0
    NiBufSend starting
    NiIWrite: hdl 5 sent data (wrt=14,pac=1,MESG_IO)
    REL WP ca_blk 2
    set status of T7 to TM_DISCONNECTED
    NiBufISelUpdate: new MODE -- (r-) for hdl 5 in set0
    SiSelNSet: set events of sock 1508 to: ---
    NiBufISelRemove: remove hdl 5 from set0
    SiSelNRemove: removed sock 1508
    NiSelIRemove: removed hdl 5
    DpDelSocketInfo: del info for socket 5 (type=3)
    NiICloseHandle: shutdown and close hdl 5 / sock 1508
    NiBufIClose: clear extension for hdl 5
    dp_tm_adm[7].stat = DP_SLOT_FREE
    DpGetSchedule: next schedule 1183179475/922000
    Fri Jun 29 21:57:51 2007
    DpGetSchedule: no schedule found
    DpITmSlotRelease: release slot 7
    DpListInsert: insert elem 7 into tmadm_free_list (at begin)
    DpListInsert: 194 elems in tmadm_free_list
    DpListRemove: remove elem 7 from tmadm_inuse_list
    DpListRemove: 7 elems in tmadm_inuse_list
    wait for end of work processes
    wait for end of gateway
    [DpProcDied] Process died  (PID:2252  HANDLE:1592)
    wait for end of icman
    [DpProcDied] Process lives  (PID:2260  HANDLE:1608)
    waiting for termination of icman ...
    NiWait: sleep (1000ms) ...
    NiISelect: timeout 1000ms
    NiISelect: maximum fd=1629
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Fri Jun 29 21:57:52 2007
    NiISelect: TIMEOUT occured (1000ms)
    [DpProcDied] Process lives  (PID:2260  HANDLE:1608)
    waiting for termination of icman ...
    NiWait: sleep (1000ms) ...
    NiISelect: timeout 1000ms
    NiISelect: maximum fd=1629
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Fri Jun 29 21:57:53 2007
    NiISelect: TIMEOUT occured (1000ms)
    [DpProcDied] Process lives  (PID:2260  HANDLE:1608)
    waiting for termination of icman ...
    NiWait: sleep (1000ms) ...
    NiISelect: timeout 1000ms
    NiISelect: maximum fd=1629
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Fri Jun 29 21:57:54 2007
    NiISelect: TIMEOUT occured (1000ms)
    [DpProcDied] Process lives  (PID:2260  HANDLE:1608)
    waiting for termination of icman ...
    NiWait: sleep (1000ms) ...
    NiISelect: timeout 1000ms
    NiISelect: maximum fd=1629
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Fri Jun 29 21:57:55 2007
    NiISelect: TIMEOUT occured (1000ms)
    [DpProcDied] Process lives  (PID:2260  HANDLE:1608)
    waiting for termination of icman ...
    NiWait: sleep (1000ms) ...
    NiISelect: timeout 1000ms
    NiISelect: maximum fd=1629
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Fri Jun 29 21:57:56 2007
    NiISelect: TIMEOUT occured (1000ms)
    [DpProcDied] Process lives  (PID:2260  HANDLE:1608)
    waiting for termination of icman ...
    NiWait: sleep (1000ms) ...
    NiISelect: timeout 1000ms
    NiISelect: maximum fd=1629
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Fri Jun 29 21:57:57 2007
    NiISelect: TIMEOUT occured (1000ms)
    [DpProcDied] Process lives  (PID:2260  HANDLE:1608)
    waiting for termination of icman ...
    NiWait: sleep (1000ms) ...
    NiISelect: timeout 1000ms
    NiISelect: maximum fd=1629
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Fri Jun 29 21:57:58 2007
    NiISelect: TIMEOUT occured (1000ms)
    [DpProcDied] Process lives  (PID:2260  HANDLE:1608)
    waiting for termination of icman ...
    NiWait: sleep (1000ms) ...
    NiISelect: timeout 1000ms
    NiISelect: maximum fd=1629
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Fri Jun 29 21:57:59 2007
    NiISelect: TIMEOUT occured (1000ms)
    [DpProcDied] Process lives  (PID:2260  HANDLE:1608)
    waiting for termination of icman ...
    NiWait: sleep (1000ms) ...
    NiISelect: timeout 1000ms
    NiISelect: maximum fd=1629
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Fri Jun 29 21:58:00 2007
    NiISelect: TIMEOUT occured (1000ms)
    [DpProcDied] Process lives  (PID:2260  HANDLE:1608)
    waiting for termination of icman ...
    NiWait: sleep (1000ms) ...
    NiISelect: timeout 1000ms
    NiISelect: maximum fd=1629
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Fri Jun 29 21:58:01 2007
    NiISelect: TIMEOUT occured (1000ms)
    [DpProcDied] Process lives  (PID:2260  HANDLE:1608)
    waiting for termination of icman ...
    NiWait: sleep (1000ms) ...
    NiISelect: timeout 1000ms
    NiISelect: maximum fd=1629
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Fri Jun 29 21:58:02 2007
    NiISelect: TIMEOUT occured (1000ms)
    [DpProcDied] Process lives  (PID:2260  HANDLE:1608)
    waiting for termination of icman ...
    NiWait: sleep (1000ms) ...
    NiISelect: timeout 1000ms
    NiISelect: maximum fd=1629
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Fri Jun 29 21:58:03 2007
    NiISelect: TIMEOUT occured (1000ms)
    [DpProcDied] Process died  (PID:2260  HANDLE:1608)
    DpStartStopMsg: send stop message (myname is >kiranmtop_NSP_00                        <)
    NiIMyHostName: hostname = 'kiranmtop'
    AdGetSelfIdentRecord: >                                                                           <
    AdCvtRecToExt: opcode 60 (AD_SELFIDENT), ser 0, ex 0, errno 0
    AdCvtRecToExt: opcode 4 (AD_STARTSTOP), ser 0, ex 0, errno 0
    DpConvertRequest: net size = 189 bytes
    NiBufSend starting
    NiIWrite: hdl 2 sent data (wrt=562,pac=1,MESG_IO)
    MsINiWrite: sent 562 bytes
    send msg (len 110+452) to name                    -, type 4, key -
    DpStartStopMsg: stop msg sent
    NiIRead: hdl 2 received data (rcd=274,pac=1,MESG_IO)
    NiBufIIn: NIBUF len=274
    NiBufIIn: packet complete for hdl 2
    NiBufReceive starting
    MsINiRead: received 274 bytes
    MSG received, len 110+164, flag 1, from MSG_SERVER          , typ 0, key -
    DpHalt: received 164 bytes from message server
    NiIRead: hdl 2 received data (rcd=274,pac=1,MESG_IO)
    NiBufIIn: NIBUF len=274
    NiBufIIn: packet complete for hdl 2
    NiBufReceive starting
    MsINiRead: received 274 bytes
    MSG received, len 110+164, flag 1, from MSG_SERVER          , typ 0, key -
    DpHalt: received 164 bytes from message server
    NiIRead: hdl 2 received data (rcd=274,pac=1,MESG_IO)
    NiBufIIn: NIBUF len=274
    NiBufIIn: packet complete for hdl 2
    NiBufReceive starting
    MsINiRead: received 274 bytes
    MSG received, len 110+164, flag 1, from MSG_SERVER          , typ 0, key -
    DpHalt: received 164 bytes from message server
    NiIRead: hdl 2 received data (rcd=274,pac=1,MESG_IO)
    NiBufIIn: NIBUF len=274
    NiBufIIn: packet complete for hdl 2
    NiBufReceive starting
    MsINiRead: received 274 bytes
    MSG received, len 110+164, flag 1, from MSG_SERVER          , typ 0, key -
    DpHalt: received 164 bytes from message server
    NiIRead: hdl 2 received data (rcd=274,pac=1,MESG_IO)
    NiBufIIn: NIBUF len=274
    NiBufIIn: packet complete for hdl 2
    NiBufReceive starting
    MsINiRead: received 274 bytes
    MSG received, len 110+164, flag 1, from MSG_SERVER          , typ 0, key -
    DpHalt: received 164 bytes from message server
    NiIRead: hdl 2 received data (rcd=274,pac=1,MESG_IO)
    NiBufIIn: NIBUF len=274
    NiBufIIn: packet complete for hdl 2
    NiBufReceive starting
    MsINiRead: received 274 bytes
    MSG received, len 110+164, flag 1, from MSG_SERVER          , typ 0, key -
    DpHalt: received 164 bytes from message server
    NiIRead: hdl 2 recv would block (errno=EAGAIN)
    NiIRead: read for hdl 2 timed out (0ms)
    DpHalt: no more messages from the message server
    DpHalt: send keepalive to synchronize with the message server
    NiBufSend starting
    NiIWrite: hdl 2 sent data (wrt=114,pac=1,MESG_IO)
    MsINiWrite: sent 114 bytes
    send msg (len 110+4) to name           MSG_SERVER, type 0, key -
    MsSndName: MS_NOOP ok
    Send 4 bytes to MSG_SERVER
    NiIRead: hdl 2 received data (rcd=114,pac=1,MESG_IO)
    NiBufIIn: NIBUF len=114
    NiBufIIn: packet complete for hdl 2
    NiBufReceive starting
    MsINiRead: received 114 bytes
    MSG received, len 110+4, flag 3, from MSG_SERVER          , typ 0, key -
    Received 4 bytes from MSG_SERVER                             
    Received opcode MS_NOOP from msg_server, reply MSOP_OK
    MsOpReceive: ok
    MsSendKeepalive : keepalive sent to message server
    NiIRead: hdl 2 recv would block (errno=EAGAIN)
    Fri Jun 29 21:58:04 2007
    NiIPeek: peek for hdl 2 timed out (r; 1000ms)
    NiIRead: read for hdl 2 timed out (1000ms)
    DpHalt: no more messages from the message server
    DpHalt: sync with message server o.k.
    detach from message server
    ***LOG Q0M=> DpMsDetach, ms_detach () [dpxxdisp.c   11976]
    NiBufSend starting
    NiIWrite: hdl 2 sent data (wrt=110,pac=1,MESG_IO)
    MsINiWrite: sent 110 bytes
    MsIDetach: send logout to msg_server
    MsIDetach: call exit function
    DpMsShutdownHook called
    NiBufISelUpdate: new MODE -- (r-) for hdl 2 in set0
    SiSelNSet: set events of sock 1556 to: ---
    NiBufISelRemove: remove hdl 2 from set0
    SiSelNRemove: removed sock 1556 (pos=2)
    SiSelNRemove: removed sock 1556
    NiSelIRemove: removed hdl 2
    MBUF state OFF
    AdGetSelfIdentRecord: >                                                                           <
    AdCvtRecToExt: opcode 60 (AD_SELFIDENT), ser 0, ex 0, errno 0
    AdCvtRecToExt: opcode 40 (AD_MSBUF), ser 0, ex 0, errno 0
    AdCvtRecToExt: opcode 40 (AD_MSBUF), ser 0, ex 0, errno 0
    blks_in_queue/wp_ca_blk_no/wp_max_no = 2/20/7
    LOCK WP ca_blk 2
    make DISP owner of wp_ca_blk 2
    DpRqPutIntoQueue: put request into queue (reqtype 1, prio LOW, rq_id 15)
    MBUF component DOWN
    NiICloseHandle: shutdown and close hdl 2 / sock 1556
    NiBufIClose: clear extension for hdl 2
    MsIDetach: detach MS-system
    cleanup EM
    EsCleanup ....
    EmCleanup() -> 0
    Es2Cleanup: Cleanup ES2
    ***LOG Q05=> DpHalt, DPStop ( 2192) [dpxxdisp.c   10333]
    Good Bye .....

    Hi Russell,
    I am also facing the same problem as Kiran.
    I have attached dev_w0 file, with this msg.
    can you please tell me where the problem lies?
    =============================================================
    trc file: "dev_w0", trc level: 1, release: "620"
    ACTIVE TRACE LEVEL           1
    ACTIVE TRACE COMPONENTS      all, M

    B Sun Jul 01 18:13:56 2007
    B  create_con (con_name=R/3)
    B  Loading DB library 'C:\usr\sap\TEK\SYS\exe\run\dboraslib.dll' ...
    B  Library 'C:\usr\sap\TEK\SYS\exe\run\dboraslib.dll' loaded
    B  Version of 'C:\usr\sap\TEK\SYS\exe\run\dboraslib.dll' is "620.02", patchlevel (0.112)
    B  New connection 0 created
    M  systemid   560 (PC with Windows NT)
    M  relno      6200
    M  patchlevel 0
    M  patchno    251
    M  intno      20020600
    M  pid        3464

    M  ***LOG Q0Q=> tskh_init, WPStart (Workproc 0 3464) [dpxxdisp.c   1016]
    I  MtxInit: -2 0 0

    X Sun Jul 01 18:13:58 2007
    X  EmInit: MmSetImplementation( 2 ).
    X  <ES> client 0 initializing ....
    X  Using implementation std
    M  <EsNT> Memory Reset enabled as NT default
    X  ES initialized.

    M Sun Jul 01 18:14:07 2007
    M  calling db_connect ...
    C  Got ORACLE_HOME=C:\oracle\ora81 from environment

    C Sun Jul 01 18:14:12 2007
    C  Client NLS settings: AMERICAN_AMERICA.WE8DEC
    C  Logon as OPS$-user to get SAPTEK's password
    C  Connecting as /@TEK on connection 0 ...
    C  Attaching to DB Server TEK (con_hdl=0,svchp=06AA97F8,svrhp=06AA9604)

    C Sun Jul 01 18:14:13 2007
    C  *** ERROR => OCI-call 'OCIServerAttach' failed: rc = 12541
    [dboci.c      3566]
    C  *** ERROR => CONNECT failed with sql error '12541'
    [dboci.c      9536]
    C  Try to connect with default password
    C  Connecting as SAPTEK/<pwd>@TEK on connection 0 ...
    C  Attaching to DB Server TEK (con_hdl=0,svchp=06AA97F8,svrhp=06AA9410)

    C Sun Jul 01 18:14:14 2007
    C  *** ERROR => OCI-call 'OCIServerAttach' failed: rc = 12541
    [dboci.c      3566]
    C  *** ERROR => CONNECT failed with sql error '12541'
    [dboci.c      9536]
    B  ***LOG BY2=> sql error 12541  performing CON [dbsh#2 @ 962] [dbsh    0962 ]
    B  ***LOG BY0=> ORA-12541: TNS:no listener [dbsh#2 @ 962] [dbsh    0962 ]
    B  ***LOG BY2=> sql error 12541  performing CON [dblink#1 @ 419] [dblink  0419 ]
    B  ***LOG BY0=> ORA-12541: TNS:no listener [dblink#1 @ 419] [dblink  0419 ]
    M  ***LOG R19=> tskh_init, db_connect ( DB-Connect 000256) [thxxhead.c   1098]
    M  in_ThErrHandle: 1
    M  *** ERROR => tskh_init: db_connect (step 1, th_errno 13, action 3, level 1) [thxxhead.c   8277]

    M  Info for wp 0

    M    stat = 4
    M    reqtype = 1
    M    act_reqtype = -1
    M    tid = -1
    M    mode = 255
    M    len = -1
    M    rq_id = -1
    M    rq_source = 255
    M    last_tid = 0
    M    last_mode = 0
    M    rfc_req = 0
    M    report = >                                        <
    M    action = 0
    M    tab_name = >                              <

    M  *****************************************************************************
    M  *
    M  *  LOCATION    SAP-Server sapsrv_TEK_00 on host sapsrv (wp 0)
    M  *  ERROR       tskh_init: db_connect
    M  *
    M  *  TIME        Sun Jul 01 18:14:14 2007
    M  *  RELEASE     620
    M  *  COMPONENT   Taskhandler
    M  *  VERSION     1
    M  *  RC          13
    M  *  MODULE      thxxhead.c
    M  *  LINE        8408
    M  *  COUNTER     1
    M  *
    M  *****************************************************************************

    M  Entering TH_CALLHOOKS
    M  ThCallHooks: call hook >SAP-Trace buffer write< for event BEFORE_DUMP
    M  ThCallHooks: call hook >ThrSaveSPAFields< for event BEFORE_DUMP
    M  *** ERROR => ThrSaveSPAFields: no valid thr_wpadm [thxxrun1.c   672]
    M  *** ERROR => ThCallHooks: event handler ThrSaveSPAFields for event BEFORE_DUMP failed [thxxtool3.c  235]
    M  Entering ThSetStatError
    M  Entering ThReadDetachMode
    M  call ThrShutDown (1)...
    M  ***LOG Q02=> wp_halt, WPStop (Workproc 0 3464) [dpnttool.c   345]

  • Canceling timers after server restart

    hi,
    i create a couple of timers. while the application server is up i can cancel them by getting the TimerService object of the bean it's associated with, calling getTimers() and cancelling the Timer objects returned from it.
    if i restart the server (let's say it crashed), the timers created in the previous session are back to run - they are persistent by definition. but now i can't cancel them anymore: same getTimers() returns an empty Collection. i think this happens because the old timers from the previous session were not rebound to the new ejbcontext, or something like this.
    my question is: how can i cancel timers, that were re-invoked after server restart.
    thank you.
    Message was edited by:
    cyclid

    Below are my tests that show canceling of timers working as expected:
    Session bean methods:
    public void createTimers()
    {       System.out.println("### CREATE - a single-action timer that expires in 4s");
    ctx.getTimerService().createTimer(4000, "single-action timer that expires in 4s");
    System.out.println("### CREATE - an interval timer that expires in every 2s");
    ctx.getTimerService().createTimer(2000, 2000, "interval timer that expires in every 2s");
    public void cancelAllTimers() {   
         System.out.println("### CANCEL - timers:");     
         for (java.util.Iterator iter = ctx.getTimerService().getTimers().iterator(); iter.hasNext();) {
              Timer timer = (Timer) iter.next();
              System.out.println(" canceling ... " + timer.getInfo());
              timer.cancel();
    public void logCurrentTime() {
         System.out.println("### CURRENT TIME - " + java.util.Calendar.getInstance().getTime());
    public void ejbTimeout(Timer timer)
    {     System.out.println("### EJB TIMEOUT - " + timer.getInfo());       
    Java Client test:
    ejb.cancelAllTimers();
    Thread.sleep(4000);
    ejb.logCurrentTime();
    ejb.createTimers();
    Thread.sleep(8000);
    ejb.cancelAllTimers();
    ejb.logCurrentTime();
    Thread.sleep(8000);
    ejb.logCurrentTime();
    Logs:
    1. Shutdown servers while there is an interval timer
    The log shows the interval timer came back and then was cancel after server restart
    07/02/06 13:46:23 ### CANCEL - timers:
    07/02/06 13:46:27 ### CURRENT TIME - Tue Feb 06 13:46:27 EST 2007
    07/02/06 13:46:27 ### CREATE - a single-action timer that expires in 4s
    07/02/06 13:46:27 ### CREATE - an interval timer that expires in every 2s
    07/02/06 13:46:29 ### EJB TIMEOUT - interval timer that expires in every 2s
    07/02/06 13:46:31 ### EJB TIMEOUT - single-action timer that expires in 4s
    07/02/06 13:46:31 ### EJB TIMEOUT - interval timer that expires in every 2s
    07/02/06 13:46:32 Shutting down OC4J...
    C:\oc4j\10131_061009\j2ee\home>java -jar oc4j.jar
    07/02/06 13:48:12 Oracle Containers for J2EE 10g (10.1.3.1.0) initialized
    07/02/06 13:48:13 ### EJB TIMEOUT - interval timer that expires in every 2s
    07/02/06 13:48:15 ### EJB TIMEOUT - interval timer that expires in every 2s
    07/02/06 13:48:17 ### EJB TIMEOUT - interval timer that expires in every 2s
    07/02/06 13:48:18 ### CANCEL - timers:
    07/02/06 13:48:18 canceling ... interval timer that expires in every 2s
    07/02/06 13:48:22 ### CURRENT TIME - Tue Feb 06 13:48:22 EST 2007
    2. Cancel timers right after they were created
    07/02/06 13:50:11 ### CANCEL - timers:
    07/02/06 13:50:15 ### CURRENT TIME - Tue Feb 06 13:50:15 EST 2007
    07/02/06 13:50:15 ### CREATE - a single-action timer that expires in 4s
    07/02/06 13:50:15 ### CREATE - an interval timer that expires in every 2s
    07/02/06 13:50:17 ### EJB TIMEOUT - interval timer that expires in every 2s
    07/02/06 13:50:19 ### EJB TIMEOUT - single-action timer that expires in 4s
    07/02/06 13:50:19 ### EJB TIMEOUT - interval timer that expires in every 2s
    07/02/06 13:50:21 ### EJB TIMEOUT - interval timer that expires in every 2s
    07/02/06 13:50:23 ### EJB TIMEOUT - interval timer that expires in every 2s
    07/02/06 13:50:23 ### CANCEL - timers:
    07/02/06 13:50:23 canceling ... interval timer that expires in every 2s
    07/02/06 13:50:23 ### CURRENT TIME - Tue Feb 06 13:50:23 EST 2007
    07/02/06 13:50:31 ### CURRENT TIME - Tue Feb 06 13:50:31 EST 2007

Maybe you are looking for

  • AP WLC Client Traffic Query

    Hi Experts, I was trying to find any documentation explaining how return traffic works for wifi client data traffic in a capwap AP WLC architecture where the APs are in local mode (no HREAP) but was unable to find any detailed references for this.  I

  • Help setting validation based on route selected

    If the LC form only has one submit button, how do you set a validation on submit based on the route selected when running forms in workspace? For example, if users have the option to Approve or Reject a form, can you determine which route they have s

  • Considering updating to 1.4.2

    Just wanted to get everyones impression and input before I update from MDC OS 10.4.7 and XSAN 1.4 to MDC OS 10.4.11 and XSAN 1.4.2 I have read, and hopefully understand, all the apple README's, How-To's, specs, etc., regarding the xsan update. I am n

  • [SOLVED] flightgear crashes with segmentation fault

    on startup: creating 3D noise texture... Segmentation fault what can I do? Last edited by miro279 (2011-05-05 07:51:18)

  • Color rendering problem

    I'm seeing strange and inconsistent color rendering behavior is CS3 with one specific photo (if it is happening elsewhere I have not noticed it). The photo is in a CRT2 file shot with a Canon 1Ds MKII, and depicts form autumn clematis; the shot is pr