Client (Solaris) remote call hangs 225sec if Server (Window7) is down.

We are noticing the RMI Client remote call from Solaris machine hang of exactly 225 seconds if RMI Server on Windows7 machine is shutdown. RMI Server is shutdown for valid reasons. The expectation is, Client would throw a RemoteException immediately for futher processing. The Client hang for 225 minutes is causing performance issues. This has been consistently reproduced across multiple machines with Client on Solaris and Server on Windows 7. There are no 225 sec wait issues if server is on Windows XP or Solaris.
Usecase (java version "1.6.0_14")
1. Start RMI Server on Windows 7 machine
2. Start RMI Client on Solaris machine
3. Wait till client connects to the server and makes some remote call every 1sec.
4. Shutdown RMI Server.
5. Client waits 225 seconds before a time out error is thrown.
Has anyone seen this problem? Any solutions to get around this?
Code used to test this
RmiTestServer.java
public class RmiTestServer
public static void main(String args[])
try
java.rmi.registry.Registry zRegistry = null;
try
zRegistry = java.rmi.registry.LocateRegistry.createRegistry ( 1099 );
catch ( Exception zEx )
zRegistry = java.rmi.registry.LocateRegistry.getRegistry ( 1099 );
if ( zRegistry != null )
System.out.println( "Binding RmiTestService..." );
RmiTest c = new RmiTestImpl();
zRegistry.rebind ( "RmiTestService", c );
System.out.println( "Done Binding RmiTestService..." );
else
System.out.println( "Registry is null." );
catch (Exception e)
e.printStackTrace();
RmiTest.java
public interface RmiTest extends java.rmi.Remote
public void callHello() throws java.rmi.RemoteException;
RmiTestImpl.java
public class RmiTestImpl extends java.rmi.server.UnicastRemoteObject
implements RmiTest
public RmiTestImpl() throws java.rmi.RemoteException
super();
public void callHello() throws java.rmi.RemoteException
System.out.println ("Hello World!!!");
RmiTestClient
public class RmiTestClient
public static void main(String[] args)
System.out.println ("Connecting to: " + args[0] + " Port 1099" );
long lTime = System.currentTimeMillis();
try
RmiTest c = null;
java.rmi.registry.Registry registry = java.rmi.registry.LocateRegistry.getRegistry ( args[0], 1099 );
if ( registry!=null )
System.out.println ("Start lookup... " );
c = (RmiTest)registry.lookup ( "RmiTestService" );
System.out.println( "Lookup Done - " + (System.currentTimeMillis() - lTime)/1000 + "sec\n" );
while( true )
lTime = System.currentTimeMillis();
System.out.println( "Calling Server..." );
c.callHello();
System.out.println( "Done Calling Server - " + (System.currentTimeMillis() - lTime)/1000 + "sec\n" );
lTime = System.currentTimeMillis();
Thread.sleep(1000);
catch (Exception e)
System.out.println( "Time for Exception - " + (System.currentTimeMillis() - lTime)/1000 + "sec\n" );
e.printStackTrace();
Output
Calling Server...
Jun 9, 2011 10:59:19 PM sun.rmi.transport.tcp.TCPChannel newConnection
FINE: main: reuse connection
Jun 9, 2011 10:59:19 PM sun.rmi.transport.tcp.TCPChannel free
FINE: main: reuse connection
Done Calling Server - 0sec
Calling Server...
Jun 9, 2011 10:59:20 PM sun.rmi.transport.tcp.TCPChannel newConnection
FINE: main: reuse connection
Jun 9, 2011 10:59:20 PM sun.rmi.transport.tcp.TCPChannel free
FINE: main: reuse connection
Done Calling Server - 0sec
Calling Server...
Jun 9, 2011 10:59:21 PM sun.rmi.transport.tcp.TCPConnection isDead --------------->RMI Server Shutdown
FINER: main: exception:
java.net.SocketException: Connection reset
at java.net.SocketInputStream.read(SocketInputStream.java:168)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
at java.io.BufferedInputStream.read(BufferedInputStream.java:237)
at sun.rmi.transport.tcp.TCPConnection.isDead(TCPConnection.java:174)
at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:173)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:110)
at RmiTestImpl_Stub.callHello(Unknown Source)
at RmiTestClient.main(RmiTestClient.java:23)
Jun 9, 2011 10:59:21 PM sun.rmi.transport.tcp.TCPConnection isDead
FINE: main: server ping failed
Jun 9, 2011 10:59:21 PM sun.rmi.transport.tcp.TCPChannel free
FINE: main: close connection
Jun 9, 2011 10:59:21 PM sun.rmi.transport.tcp.TCPConnection close
FINE: main: close connection
Jun 9, 2011 10:59:21 PM sun.rmi.transport.tcp.TCPChannel createConnection
FINE: main: create connection
Jun 9, 2011 10:59:21 PM sun.rmi.transport.tcp.TCPEndpoint newSocket
FINER: main: opening socket to [<IP Address>:65427]
Jun 9, 2011 10:59:21 PM sun.rmi.transport.proxy.RMIMasterSocketFactory createSocket
FINE: main: host: <IP Address>, port: 65427
Jun 9, 2011 10:59:24 PM sun.rmi.transport.tcp.TCPChannel$1 run
FINER: RMI Scheduler(0): wake up
Jun 9, 2011 10:59:24 PM sun.rmi.transport.tcp.TCPChannel$1 run
FINER: RMI Scheduler(0): wake up
Jun 9, 2011 10:59:39 PM sun.rmi.transport.tcp.TCPChannel$1 run
FINER: RMI Scheduler(0): wake up
Jun 9, 2011 10:59:39 PM sun.rmi.transport.tcp.TCPChannel freeCachedConnections
FINER: RMI Scheduler(0): connection timeout expired
Jun 9, 2011 10:59:39 PM sun.rmi.transport.tcp.TCPConnection close
FINE: RMI Scheduler(0): close connection
Time for Exception - 224sec
java.rmi.ConnectException: Connection refused to host: <IP Address>; nested exception is:
java.net.ConnectException: Connection timed out
at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:601)
at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:198)
at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:184)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:110)
at RmiTestImpl_Stub.callHello(Unknown Source)
at RmiTestClient.main(RmiTestClient.java:23)
Caused by: java.net.ConnectException: Connection timed out
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
at java.net.Socket.connect(Socket.java:529)
at java.net.Socket.connect(Socket.java:478)
at java.net.Socket.<init>(Socket.java:375)
at java.net.Socket.<init>(Socket.java:189)
at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:22)
at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:128)
at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:595)
... 5 more

Could you check to see if the remote database is up and running before calling the remote database procedure?

Similar Messages

  • Problem while sending ByteArray from as3 client through netconnection call method to red5 server

    Hi to all,
    I'm trying to send from as3 client a ByteArray of more or less 3 MB using NetConnection's call method but I am unable to do it, cause I get a timeout on the server and the client get disconnected (I have also increased the timeout limit in red5.properties but nothing changed). If I try to send a smaller ByteArray I don't have problem, even if the trasfer is really slow.
    Any solution?
    thanks

    put it in code tags so it's readable
    CLIENT
    public void sendLoginData(String data)
    int c=0;
    byte loginData[]=new byte[data.length()];
    loginData=data.getBytes();
    try
    out.write(loginData);
    System.out.println(client.isClosed());
    // here i want 2 receive the 1 byte data whch i hv sent frm server's RUN() method
    //following code is not working :( it gets hanged
    while((c=in.read())!=-1)
    System.out.print(c);
    System.out.print("hi");
    catch(Exception e)
    System.out.println("Caught:" + e);
    finally
    out.close();
    }SERVER
    public void run()
    boolean flag;
    try
    flag=verifyLoginData(ID); //this function verifies the login data by connecting to DB
    System.out.println(flag);
    if(flag==true)
    //send login valid
    bos.write(1);
    bos.close();
    else
    //send login invalid
    bos.write(0);
    bos.close();
    catch(Exception e)
    System.out.println("caught " + e);
    }

  • Session Bean Client Hangs when one Server in Cluster Fails

    We are testing several failure scenarios and one has come up that concerns us.
    Some background: Were running a WLS6.1 cluster on two separate machines. We
    start a test client consisting of 50 active threads and let them start calling
    into a session bean. After a couple minutes we pull the network plug out of one
    of the machines to simulate an uncontrolled crash of the machine. Once the plug
    is pulled the clients hang and of more concern any new clients that we startup
    also hang. Has anyone successfully solved this problem?

    When we kill one of Weblogic instances in the cluster none of the clients fail.
    All of our clients fail-over to the remaining servers. It's pulling the network
    plug to our of the server that causes everything to hang. Not just or test client,
    but the other servers in the cluster hang. The control panel doesn't respond
    at all either. We currently have a support case open with BEA #348184 about this.
    We've gotten a prompt response in which we were asked to modify our configuration
    by deploying our beans to each individual server rather than the cluster. We
    did this, but the results so far have not changed.
    Thanks for the feedback,
    Howard.
    "Ade Barkah" <[email protected]> wrote:
    We haven't encountered something like that, so it could be a setup problem.
    Can you verify that the t3 url hostname the client threads use resolves
    to the
    ip addresses of each machine in the cluster? Are all machines in the
    cluster
    listening at the same port number? Also, does it matter if you kill one
    of the
    weblogic processes instead of pulling the plug? (i.e., if you leave the
    network
    layer up?)
    Check also that your threads aren't simply blocking each other when the
    server
    goes down? E.g. start multiple test client processes with one thread
    each just
    to test.
    What we notice is (with round-robin cluster policy), as we bring down
    one of
    the servers, the clients will continue to work on the second server,
    but will slow
    down between method invocations as they still attempt to connect to the
    downed
    server.
    After a short period of time (~30 seconds) the clients will fully switch
    to the
    second machine and processing continues at full speed again, until the
    downed
    machine is brought back up, at which point work is distributed evenly
    again.
    Also, when the first server is brought down, some of the clients may
    terminate
    with a PeerGoneException (or something similar to that.) So unless your
    threads
    are catching exceptions, they might terminate as well.
    regards,
    -Ade
    "howard spector" <[email protected]> wrote in message news:[email protected]...
    We are testing several failure scenarios and one has come up that concernsus.
    Some background: Were running a WLS6.1 cluster on two separate machines.We
    start a test client consisting of 50 active threads and let them startcalling
    into a session bean. After a couple minutes we pull the network plugout of one
    of the machines to simulate an uncontrolled crash of the machine. Once the plug
    is pulled the clients hang and of more concern any new clients thatwe startup
    also hang. Has anyone successfully solved this problem?

  • Error in calling EJB Client from Remote Machine.

    While running the client from local machine, it works perfectly.
    But when I try to run the same client from remote machine it gives me the error.
    I deployed the ejb in sun server 1.4 with jndi as "xxx.xxx.xxx.xxx/MyTemperature".
    Following is the code snippet from the clint.
    Context initial = new InitialContext();
              Object objref = initial.lookup("192.168.0.20/MyTemperature");
              home = (TemperatureHome) PortableRemoteObject.narrow(objref, TemperatureHome.class);
              Temperature degreeConverter = home.create();Following is the error
    E:\EJBRemoteTest>java TempClient.TemperatureClient
    May 14, 2008 10:00:24 AM com.sun.corba.ee.impl.legacy.connection.SocketFactoryCo
    nnectionImpl <init>
    WARNING: ORBUTIL.connectFailure
    org.omg.CORBA.COMM_FAILURE:   vmcid: SUN  minor code: 201  completed: No
            at com.sun.corba.ee.impl.logging.ORBUtilSystemException.connectFailure(O
    RBUtilSystemException.java:1739)
            at com.sun.corba.ee.impl.logging.ORBUtilSystemException.connectFailure(O
    RBUtilSystemException.java:1757)
            at com.sun.corba.ee.impl.legacy.connection.SocketFactoryConnectionImpl.<
    init>(SocketFactoryConnectionImpl.java:74)
            at com.sun.corba.ee.impl.legacy.connection.SocketFactoryContactInfoImpl.
    createConnection(SocketFactoryContactInfoImpl.java:77)
            at com.sun.corba.ee.impl.protocol.CorbaClientRequestDispatcherImpl.begin
    Request(CorbaClientRequestDispatcherImpl.java:152)
            at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.request(CorbaC
    lientDelegateImpl.java:121)
            at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.is_a(CorbaClie
    ntDelegateImpl.java:214)
            at org.omg.CORBA.portable.ObjectImpl._is_a(ObjectImpl.java:112)
            at org.omg.CosNaming.NamingContextHelper.narrow(NamingContextHelper.java
    :69)
            at com.sun.enterprise.naming.SerialContext.getProvider(SerialContext.jav
    a:58)
            at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:126
            at javax.naming.InitialContext.lookup(InitialContext.java:347)
            at TempClient.TemperatureClient.main(TemperatureClient.java:17)
    Caused by: java.lang.RuntimeException: java.net.ConnectException: Connection ref
    used: connect
            at com.sun.enterprise.iiop.IIOPSSLSocketFactory.createSocket(IIOPSSLSock
    etFactory.java:520)
            at com.sun.corba.ee.impl.legacy.connection.SocketFactoryConnectionImpl.<
    init>(SocketFactoryConnectionImpl.java:58)
            ... 10 more
    Caused by: java.net.ConnectException: Connection refused: connect
            at sun.nio.ch.Net.connect(Native Method)
            at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:460)
            at java.nio.channels.SocketChannel.open(SocketChannel.java:146)
            at com.sun.enterprise.iiop.IIOPSSLSocketFactory.createSocket(IIOPSSLSock
    etFactory.java:511)
            ... 11 more
    Caught an unexpected Exception!
    javax.naming.CommunicationException: Can't find SerialContextProvider [Root exce
    ption is org.omg.CORBA.COMM_FAILURE:   vmcid: SUN  minor code: 201  completed: N
    o]
            at com.sun.enterprise.naming.SerialContext.getProvider(SerialContext.jav
    a:66)
            at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:126
            at javax.naming.InitialContext.lookup(InitialContext.java:347)
            at TempClient.TemperatureClient.main(TemperatureClient.java:17)
    Caused by: org.omg.CORBA.COMM_FAILURE:   vmcid: SUN  minor code: 201  completed:
    No
            at com.sun.corba.ee.impl.logging.ORBUtilSystemException.connectFailure(O
    RBUtilSystemException.java:1739)
            at com.sun.corba.ee.impl.logging.ORBUtilSystemException.connectFailure(O
    RBUtilSystemException.java:1757)
            at com.sun.corba.ee.impl.legacy.connection.SocketFactoryConnectionImpl.<
    init>(SocketFactoryConnectionImpl.java:74)
            at com.sun.corba.ee.impl.legacy.connection.SocketFactoryContactInfoImpl.
    createConnection(SocketFactoryContactInfoImpl.java:77)
            at com.sun.corba.ee.impl.protocol.CorbaClientRequestDispatcherImpl.begin
    Request(CorbaClientRequestDispatcherImpl.java:152)
            at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.request(CorbaC
    lientDelegateImpl.java:121)
            at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.is_a(CorbaClie
    ntDelegateImpl.java:214)
            at org.omg.CORBA.portable.ObjectImpl._is_a(ObjectImpl.java:112)
            at org.omg.CosNaming.NamingContextHelper.narrow(NamingContextHelper.java
    :69)
            at com.sun.enterprise.naming.SerialContext.getProvider(SerialContext.jav
    a:58)
            ... 3 more
    Caused by: java.lang.RuntimeException: java.net.ConnectException: Connection ref
    used: connect
            at com.sun.enterprise.iiop.IIOPSSLSocketFactory.createSocket(IIOPSSLSock
    etFactory.java:520)
            at com.sun.corba.ee.impl.legacy.connection.SocketFactoryConnectionImpl.<
    init>(SocketFactoryConnectionImpl.java:58)
            ... 10 more
    Caused by: java.net.ConnectException: Connection refused: connect
            at sun.nio.ch.Net.connect(Native Method)
            at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:460)
            at java.nio.channels.SocketChannel.open(SocketChannel.java:146)
            at com.sun.enterprise.iiop.IIOPSSLSocketFactory.createSocket(IIOPSSLSock
    etFactory.java:511)
            ... 11 moreThis is a stateless session bean.
    Can anybody provide me solution for this
    I also tried with java.util.Properties class but result is same.

    You are running on Windows 9x or Me, right? The darn OS has 300 or so bytes allocated for environment by default.
    Try setting the Initial environment to 4096 in the Properties|Memory tab for the batch file. That will get rid of "Out of environment space". The syntax error is another matter; Windows (except NT and derivatives) shells do not allow '=' in an environment variables value. You cannot overcome that. Some software (Sybase for instance) interprets # as = just because of that. Unfortunately, the JVM doesn't take such an approach.
    Better, grab copies of Unix utilities for Windows (www.gnu.org) including the wonderful shell 'bash' and write .sh scripts, which are inherently more powerful.

  • How can my client program call program located at server?

    Hi All,
    I have a client-server application. How can my client program call program located at server?
    At the beginning my program works as long as RSA Agentinstalled at client. So my program only call rsa library and communicate with RSA Agentby passing userid and passcode. Once RSA Agent receive it will send to RSA Managers to validate.
    But now my user want the RSA Agent installed in my Server. I wondering how to do that as the library given will only detect local RSA Agent. So I'm thinking to separte the library and create new project. Then in this project as a medium to pass userid and passcode. This project I will compile and allocate to server. Then my programs will call the new program i created by passing userid and passcode. I wondering can I do that?
    Thanks in advance.
    Regards,
    Azli

    Why not take the tutorial first? [http://java.sun.com/javaee/5/docs/tutorial/doc/JavaEETutorial.pdf]

  • Presence status not changed when using Lync 2010 Remote Call Control

    Hello,
    I'm currently testing the Remote Call Control functionality of Lync 2010. Call management works fine but I'm surprised that my presence status does not change to "In a Call" when the call is established.
    OriginatedEvent, DeliveredEvent and EstablishedEvent are forwarded correctly to Lync Client 2010. All responses are "200 OK".
    Is there something more to send to Lync Server 2010 so the status of the Lync Client gets correctly updated to "In a Call" ? Or is a plugin for the Lync Client necessary to achieve this ?
    Thank you in advance,
    Martin

    I think there's something missing from your scenario and I don't believe you would need a plugin for this.  It's been forever since I've set up RCC with Lync 2010 however.  I know this isn't what you're looking for, but I've used this product in
    the past to configure Lync and RCC with third party PBXs that don't support Lync/RCC but do have a TAPI interface.
    http://www.estos.com/products/drivers-middleware/callcontrolgateway400.html I've been able to get a free trial before and it worked like a charm for an old 3COM phone system.  If you can get a trial it might help you compare apples to apples provided
    you have a TAPI driver for your PBX.
    For more details on what happens behind the scenes, you might have some better luck in the MSDN dev forums:
    http://social.msdn.microsoft.com/Forums/en-US/home?category=uc
    Please remember, if you see a post that helped you please click "Vote As Helpful" and if it answered your question please click "Mark As Answer".
    SWC Unified Communications
    This forum post is based upon my personal experience and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • Native ldap client doesn't work with an openldap Server : No root DSE data

    Hello!
    My configuration :
    - an openldap 2.2.23 server (linux debian) (server name = serv_annu)
    - a ldap client (solaris 10) (server name = client_annu)
    I want to configure my client by using Solaris Native ldap and I follow the excellent doc of gary tay (http://web.singnet.com.sg/~garyttt)
    I use TLS and I had generated a certificate by using Mozilla . TLS works because ldapsearch from my solaris client works:
    FROM CLIENT_ANNU:
    +# ldapsearch -h server_annu -p 636 -b"dc=mydomain,dc=fr" -s base -Z -P /var/ldap/cert8.db "objectclass=*"+
    version: 1
    dn: dc=mydomain,dc=fr
    dc: mydomain
    objectClass: top
    objectClass: dcObject
    objectClass: organization
    objectClass: nisDomainObject
    nisDomain: mydomain.fr
    o: mydomain
    LOG FROM SERVER_ANNU:
    Apr 2 09:52:40 server_annu slapd[17068]: conn=267 fd=10 ACCEPT from IP=172.30.69.216:36020 (IP=0.0.0.0:636)
    Apr 2 09:52:40 server_annu slapd[17068]: conn=267 op=0 SRCH base="dc=mydomain,dc=fr" scope=0 deref=0 filter="(objectClass=*)"
    Apr 2 09:52:40 server_annu slapd[17068]: conn=267 op=0 SEARCH RESULT tag=101 err=0 nentries=1 text=
    Apr 2 09:52:40 server_annu slapd[17068]: conn=267 op=1 UNBIND
    Apr 2 09:52:40 server_annu slapd[17068]: conn=267 fd=10 closed
    1) I add DUAConfigProfile.schema and solaris.schema on my openldap server.
    2) I add a nisDomainObject at the root DN (see the result of the ldapsearch above)
    3) I Add ACL in slapd.conf to allow reading of rootDSE.
    access to dn.base="" by ssf=128 * read
    4) I launch on my solaris client
    crle -u -s /usr/lib/mps
    crle -64 -u -s /usr/lib/mps/64
    5) I can't apply result.c patch on my openldap server (production server!) then I can't create /var/ldap/ldap_client_file and /var/ldap/ldap_client_cred by using ldapclient command. Then I create manually /var/ldap/ldap_client_file and /var/ldap/ldap_client_cred : the syntax is correct because the "ldapclient list" command works :
    +# ldapclient list+
    NS_LDAP_FILE_VERSION= 2.0
    NS_LDAP_BINDDN= uid=toto,ou=People,dc=people1,dc=mydomain,dc=fr
    +NS_LDAP_BINDPASSWD= {NS1}ecfa88f3a945c411+
    NS_LDAP_SERVERS= server_annu
    NS_LDAP_SEARCH_BASEDN= dc=mydomain,dc=fr
    NS_LDAP_AUTH= tls:simple
    NS_LDAP_CREDENTIAL_LEVEL= anonymous
    NOTE : I've had to add NS_LDAP_BINDDN and NS_LDAP_BINDPASSWD even if I use anonymous credential level because I get an error when I launch ldap client process.
    Then here, everything is apparently OK but when I enable ldap client process the cachemgr process is running about 30s then it crashes:
    FROM CLIENT_ANNU:
    svcadm disable /network/ldap/client;svcadm enable /network/ldap/client
    +/etc/init.d/nscd stop;/etc/init.d/nscd start+
    LOG FROM SERVER_ANNU:
    Apr 2 09:54:59 server_annu slapd[17068]: conn=268 fd=10 ACCEPT from IP=172.30.69.216:36021 (IP=0.0.0.0:389)
    Apr 2 09:54:59 server_annu slapd[17068]: conn=268 op=0 SRCH base="" scope=0 deref=0 filter="(objectClass=*)"
    Apr 2 09:54:59 server_annu slapd[17068]: conn=268 op=0 SRCH attr=supportedControl supportedsaslmechanisms
    Apr 2 09:54:59 server_annu slapd[17068]: conn=268 op=0 SEARCH RESULT tag=101 err=0 nentries=0 text=
    Apr 2 09:54:59 server_annu slapd[17068]: conn=268 op=1 UNBIND
    Apr 2 09:54:59 server_annu slapd[17068]: conn=268 fd=10 closed
    Apr 2 09:54:59 server_annu slapd[17068]: conn=269 fd=10 ACCEPT from IP=172.30.69.216:36022 (IP=0.0.0.0:389)
    Apr 2 09:54:59 server_annu slapd[17068]: conn=269 op=0 SRCH base="" scope=0 deref=0 filter="(objectClass=*)"
    Apr 2 09:54:59 server_annu slapd[17068]: conn=269 op=0 SRCH attr=supportedControl supportedsaslmechanisms
    Apr 2 09:54:59 server_annu slapd[17068]: conn=269 op=0 SEARCH RESULT tag=101 err=0 nentries=0 text=
    Apr 2 09:54:59 server_annu slapd[17068]: conn=269 op=1 UNBIND
    Apr 2 09:54:59 server_annu slapd[17068]: conn=269 fd=10 closed...
    FROM CLIENT ANNU :
    +# /usr/lib/ldap/ldap_cachemgr -g+
    cachemgr configuration:
    server debug level 0
    server log file "/var/ldap/cachemgr.log"
    number of calls to ldapcachemgr 2
    cachemgr cache data statistics:
    Configuration refresh information:
    Previous refresh time: 2008/04/02 09:58:12
    Next refresh time: 2008/04/02 21:58:12
    Server information:
    Previous refresh time: 2008/04/02 09:58:32
    Next refresh time: 2008/04/02 09:58:33
    server: server_annu, status: ERROR
    error message: No root DSE data returned.*
    Cache data information:
    Maximum cache entries: 256
    Number of cache entries: 0
    My problem is why I get the following error message : No root DSE data returned.
    Thanks in advance for your help!

    Hi
    Is your OpenLDAP server configured to allow anonymous read of the rootDSE attributes ?
    Regards,
    Ludovic.

  • Wyse Thin client not connecting to Windows 2008 R2 server

    Configuration
    SBS 2011 Server 
    Windows 2008 R2 server with Remote Desktop Services installed, License Manager installed.
    WYSE WT3125SE thin clients with Windows CE 5
    I setup the Windows 2008 with Remote Desktop Services and was able to successfully connect the Thin client.   Then I installed the License Manger and applied my Open license using User Cals.  Was able to login.  Next day I get the following
    error-"Because of a security error, the client could not connect to the remote computer.  Verify that you are logged onto the network and then try connecting again"    I still can connect fine from other machines even Windows Home Ed.  
    I remove license server and still was unable to connect.   Built a second Windows 2008 R2 server with RDS on it.  Was able to connect without issue.   Pointed it to the first RDS server license manager and have still been able to connect with
    the Thin Client.   The thin client can rdp to the SBS server without issue in admin mode, can connect to RDS2 server but not RDS1 with the license manger.    So my issue is with the license and so my question is what is it with the license server
    running on that server that is keeping thin client from connecting.  I even did a reload of RDS1 and tested connecting throughout the process and it worked up until I applied the license and then it stops. And then if I uninstall the license, rds, remove
    from domain still not able to connect.  Any help would be appreciated.

    We had the same problem with older terminals after cloning a 2008R2 rds server and sysprep it.
    The original rds server worked fine but when the old terminals connect to the new 1 they come up with the error : Because
    of a security error, the client could not connect to the remote computer.  Verify that you are logged onto the network and then try connecting again"
    After reading all of the postings about this issue and tried the reactivate solution of the license server,
    I was sure that it had something to do with the x509 certificates that are generated the first time you connect to a valid license server.
    What I did, I installed a new license server activate it but did not install licenses on it.
    I pointed the defective rds server to the newly installed license server and deleted the following registry keys:
               HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\RCM
    Certificate
    X509 Certificate
    X509 Certificate ID
    X509 Certificate2
    Then reboot.
    After the reboot all old terminals can connect fine again. As final step I pointed the rds server to the same license server as the other ones,
    reboot and all worked fine.
    So conclusion is that when you pont a rds server to a license server that has the new type of licenses on it it will generate the wrong x509 certificates
    that are not supported by the older clients, by pointing it first to 1 without any rds calls on it, it generates the older x509 certificates which are compatible with the older rdp clients then the switch to new license server will then not regenerate the
    x509 certs so it keeps working.
    I hope this helps someone
    This issue was driving me crazy so very happy that it is resolved now
    Cheers Frits

  • Calling schedule task on server

    I have a question about schedule task on server and semaphore operation on server.  
    For example, I have 10 lab computers and 1 server.  All the lab computers will do the same thing at different/same time through a LabVIEW exe.  They would generate some data, put them in the database, and access the html that the server has generated with the most recent data in the database.  I want to do the following:
    1. At the end of the program on the lab computer, I want it to trigger the scheduled task on the server, so that the html will get updated with the newest data.  How do I do that?  
    2. Since multiple lab computers can run at the same time, I want to create a semaphore that will allow only one lab computer access the scheduled task on server at a given time, and the rest of the computers have to wait.  It is a semaphore condition, but I am not sure how to do this in a server context.
    Thanks!
    Kudos and Accepted as Solution are welcome!

    jyang72211 wrote:
    The VI server approach sounds great.  The server will contain a VI that wait for a notification from a lab computer, and the server VI will run when it receives a notification.  Then, the server VI will send another notification back when the update is competed.  I can send a server/lab computer specified message within the notified to tell the notification apart.  I noticed that when multiple lab computers are sending notification to server at approximately the same time, some of the notification is dropped.  I think a notifier alone may not work for my application.  
    I think I need a semaphore to restrict access, since the lab computer will wait if a semaphore is taken; and a notifier from the server when the server is done with the task.  Did I over complicate things?  What do you think?
    If you haven't yet determined the communication mechanism, then how were you able to notice that some notifications are dropped?
    Using VI Server there's no need for a semaphore; LabVIEW will handle it for you.  VI Server documentation and examples are included with LabVIEW.  My suggested approach is:
    In the server program, create an action-engine type VI that stores a reference to a queue.  In your main server VI, create the queue, then store the reference to it in the action engine.  The action engine should have a second action to enqueue data.  Each of the client computers will obtain a reference to that subVI.  When the client completes its task, it calls that subVI - remotely, by reference using VI server, and passing the data to enqueue.  The server VI waits for new data in that queue and updates the HTML file as new data arrives.  If you only need the latest data from the most recent client connection, you could use a notifier instead of a queue.  LabVIEW will prevent more than one client from running the VI at the same time, the same way it does in a normal LabVIEW program that tries to run the same non-reentrant VI in multiple places concurrently.  This happens quietly, without generating an error, and you don't have to manage it at all.

  • RPC Remote calls fail after loading sibling.

    Hi All,
    Main loads an app compiled in 3.2. Cannot recompile legacy SWF with version of Main.
    Main and Client are on the same domain. Debugging on localhost.
    Sibling has RemoteObject code but never makes RemoteObject calls.
    Main apps remote calls start failing after sibling is loaded.
    TypeError: Error #1034: Type Coercion failed: cannot convert
    mx.messaging.messages::AcknowledgeMessage@c7ab831 to mx.messaging.messages.IMessage.
    <mx:SWFLoader id="swfLoader"
            loadForCompatibility="true"
            trustContent="false"
            width="100%" height="100%"
            source="ClientGuiApp3-2.swf?fredOn=false"
            complete="swfComplete();"
            creationComplete="initNestedAppProps();"/>
    What I have done to try to fix it.
    trustContent = "False" to put it in its own security domain.
    I thought loadForCompatability good enough to make them use their own class definitions?
    Document I found says RPC special case for multiversion Sandbox or Bootstrap.
    http://help.adobe.com/en_US/Flex/4.0/html/WS2db454920e96a9e51e63e3d11c0bf69084-7f0c.html
    loadForCompatibiity means sandboxing or new security domain for the sibling?
    Thanks in advance,
    Kevin

    1. Remove the WinrmIIS Extension from "Programs and Features"
    2. Reboot the server
    3. Execute the cmd "winrm quickconfig". This adds an exception for the remote management in the Windows firewall.
    4. Install "Winrm IIS extension
    5. Try open Exchange Management Console
    Let me know what happens :)
    Thanks for your guide;
     "WinRM IIS Extension" is not installed.and firewall is off.
    When I open up the Exchange Management Console ,after these message : 
    <Initializing ...
    Setting up Remote Powershell session to: ServerName.MyDomain.net ...>
     I'm seeing these errors:
    <The following error occurred when setting up Remote Powershell session to 'ServerName.MyDomain.net':
    Closing remote server shell instance failed with the following error message : The WinRM client cannot complete the operation within the time specified. Check if the machine name is valid and is reachable over the network and firewall exception for Windows Remote Management service is enabled. For more information, see the about Remote Troubleshooting Help topic. >
    also When I open up the Exchange Management Shell,After several hours the below message remain:
    <VERBOSE:Connecting to  ServerName.MyDomain.net >

  • Remote call to worklist API

    Although sample code of remote call to worklist API is mentioned around Ch.16 (P.16-45) in "Building a Worklist Application Using the Worklist Application API", would you mind supplement about how to specify the JNDI in more details.
    Thanks in advance.
    Best Regards,
    Simon.

    Yes, That's very helpful.
    But, The file "hw_worklist_jndi.properties" is specified in the server, right? Then, my rest of the problem is how to specify the client side?
    Say, we have some codes (in client side) as follows:
    RemoteWorklistServiceClient client = new RemoteWorklistServiceClient();
    client.init();
    IWorklistContext ctx = client.authenticateUser("jcooper", "abc");
    Then, anything we need to specify before "new RemoteWorklistServiceClient()"? Say, we need to use Locator? And, how? Or, some config file like "hw_worklist_jndi.properties" in client side too?
    Thanks a lot.
    Best Regards,
    Simon.

  • I have a production mobile Flex app that uses RemoteObject calls for all data access, and it's working well, except for a new remote call I just added that only fails when running with a release build.  The same call works fine when running on the device

    I have a production mobile Flex app that uses RemoteObject calls for all data access, and it's working well, except for a new remote call I just added that only fails when running with a release build. The same call works fine when running on the device (iPhone) using debug build. When running with a release build, the result handler is never called (nor is the fault handler called). Viewing the BlazeDS logs in debug mode, the call is received and send back with data. I've narrowed it down to what seems to be a data size issue.
    I have targeted one specific data call that returns in the String value a string length of 44kb, which fails in the release build (result or fault handler never called), but the result handler is called as expected in debug build. When I do not populate the String value (in server side Java code) on the object (just set it empty string), the result handler is then called, and the object is returned (release build).
    The custom object being returned in the call is a very a simple object, with getters/setters for simple types boolean, int, String, and one org.23c.dom.Document type. This same object type is used on other other RemoteObject calls (different data) and works fine (release and debug builds). I originally was returning as a Document, but, just to make sure this wasn't the problem, changed the value to be returned to a String, just to rule out XML/Dom issues in serialization.
    I don't understand 1) why the release build vs. debug build behavior is different for a RemoteObject call, 2) why the calls work in debug build when sending over a somewhat large (but, not unreasonable) amount of data in a String object, but not in release build.
    I have't tried to find out exactly where the failure point in size is, but, not sure that's even relevant, since 44kb isn't an unreasonable size to expect.
    By turning on the Debug mode in BlazeDS, I can see the object and it's attributes being serialized and everything looks good there. The calls are received and processed appropriately in BlazeDS for both debug and release build testing.
    Anyone have an idea on other things to try to debug/resolve this?
    Platform testing is BlazeDS 4, Flashbuilder 4.7, Websphere 8 server, iPhone (iOS 7.1.2). Tried using multiple Flex SDK's 4.12 to the latest 4.13, with no change in behavior.
    Thanks!

    After a week's worth of debugging, I found the issue.
    The Java type returned from the call was defined as ArrayList.  Changing it to List resolved the problem.
    I'm not sure why ArrayList isn't a valid return type, I've been looking at the Adobe docs, and still can't see why this isn't valid.  And, why it works in Debug mode and not in Release build is even stranger.  Maybe someone can shed some light on the logic here to me.

  • Remote Desktop and Snow Leopard Server

    What is the best way to use Remote Desktop with Snow Leopard Server?
    I purchased a mac mini with snow leopard server and Remote desktop so I can easily manage my 11 computers, install and upgrade software etc. etc.
    The mac mini server will basically be nothing but a server.
    I will use as my main computer a mac pro. Do I need to install Remote Desktop on the server and on my mac pro? What is the best way to deploy the services of Remote desktop and mac os x server?

    You install Apple Remote Desktop on the machine you want to control from. In this case, install on your Mac Pro. All you have to do on the clients (controlled Macs) is enable remote management in the System Preferences under Sharing. Just make sure that all your controlled Macs are up to date on their ARD version (v3.3.2) which can be taken care of from Software Update.

  • Mobile Sync not update the client or remote store  after first sync

    Subject: OracleLite 9i does not update the client or remote store during synchronization with a Windows CE device
    After the first synchronization, neither the client or remote stores are updated on future synchronization when the publication is created with the fast refresh option. If the publication is created with the complete refresh option, the server will update the client, but the client cannot update the server after the first synchronization. That is once the database (.odb) file is downloaded from the server on the first connect, no updates to either the client, or server are performed for a publication created with the fast refresh option, and only the client store is updated when the publication is created with the complete refresh option. These result are obtained whether I use MSync via Microsoft Active Sync, or I use the Embedded VC++ program I wrote to initiate the synchronization from the Windows CE device.
    I am 99% sure the JAVA code that I am programmatically creating the publications with, and the Embedded VC++ code for initiating the synchronization from the Windows CE device are correct. Both programs adhere exactly to the example code provided either in the documentation, or in the sample code shipped with OracleLite 9i Release 5.0.1. My conclusion is that there is a problem with Oracles replication programs either on the Windows CE, or Server side, or both. This conclusion on my part is strongly supported by the fact that MSync operating with Microsoft Active Sync behaves exactly the same as my code that initiates the replication from the Windows CE device. Also, by looking through the discussion forum, I gather that others are experiencing similar, if not identical, replication problems.
    To support my contention that it is a Oracle problem, I have prepared a simplified version of the Embedded VC++ code to initiate the synchronization for the CE device, and the JAVA code for creating the publication. This code duplicates the problem and is easy to follow. You may download the zip file containing code via the link https://Yggdrasill.cfr.msstate.edu:4443/SyncProblem.htm or the link http://Yggdrasill.cfr.msstate.edu:7778/SyncProblem.htm. This zip contains the Embedded VC++ project files, that will compile and run correctly on a PocketPC with an Arm processor, or the PocketPC x86 emulator when you have the required include files, and libraries in the path. It also includes the JAVA code I used to create the publication. If you extend the VC++ code to run on additional platforms be sure to add the compile flag (directive) /D SQL_NOUNICODEMAP , and the library files olod2040.lib, and ocapi.lib in the library box from Project settings. On my system the paths to the Arm, and x86 libraries are C:\ORALITE501\MOBILE\SDK\WINCE\POCKET_PC\Arm\LIB, and C:\ORALITE501\MOBILE\SDK\WINCE\POCKET_PC\X86EM\LIB, respectively
    I am using a NT 4.0 SP6a server with Database 9i Release 2 Enterprise edition, and OracleLite 9i Mobile Server Release 5.0.1. The Windows CE test device is an iPac running Pocket PC, connected to a system running Windows 2000 Professional SP2, and Microsoft Active Sync 3.1.
    Please review this problem documentation, and tell me what I am doing wrong, or point me to a location where I can get a patch to fix the problem.
    Thanks,     
    Thomas G.Matney
    [email protected]
    (662)325-2791

    Hi,
    I'm also facing a similar problem. I'm using Mobile server as stand alone config with Oracle 8i as server database. After the first download, the data updated at the server is not getting downloaded to client(PDA).
    How did u overcome this problem? Is there any work around?
    I want to do synch using both serial and dial up.
    Thanks in advance,
    Sri

  • Does a 10.7 client work with a 10.6.8 server with portable home directories??

    Subject says it all. I need to move to 10.7 on the clients because I need XCode. But 10.7 Server seems dumbed-down, brittle and bug-ridden, so I'd rather stay at 10.6.8 server for the time being. I know already from some off site users of my server that mail works fine between 10.7 clients and 10.6.8 server. But what about mobile accounts and portable home directories? That is a very important feature for me.

    It seems to work. Slow and I have seen it hang at logout once (had to force shutdown the machine), maybe because I had two clients open at the same time.

Maybe you are looking for

  • Limit on deleting members from workspace

    Hello, I wanted to know if there is a limit on how many members that can be deleted at once from a dimension in a classic planning application. I know that there is a parameter in the outline load utility that would delete the entire dimension and wo

  • How do I restore a frozen display on MacBook Pro ?

    HHow  do I restore a frozen display on MacBook Pro ?

  • How do I create playlists on my ATIV SE from music I synced?

    I have synced my music from AMAZON MP3s, but I can't seem to make playlists on my ATIV SE. I changed from Android, which was very simple to create playlists on my phone.  I see the prompt to "save to playlist" but it's only one song each time.  Shoul

  • Learning PL/SQL in Oracle 10G XE

    Successfully installed Oracle 10G XE on my desktop. I'm a newbie Oracle user who wants to learn PL/SQL through Oracle 10G XE. Is this possible? Hope you can give me tips and advice on how I would start with this? Thanks!

  • Recommendation on subcontracting Purchase Order

    Business Process Plant A buying semi product from different vendor, Part A from Vendor A and Part B from Vendor B and there assemble that part becoming finish product and the finish product  using new material then new part will consist two child par