users@glassfish.java.net

cannot start instance - Failed to retrieve RMIServer stub: javax.naming.Nam

From: <glassfish_at_javadesktop.org>
Date: Sat, 30 Aug 2008 23:36:36 PDT

Hi,

I cannot start any of my two instances. The status appears as unknown.
log shows: Operation 'getRuntimeStatus' failed in 'server' Config Mbean. Target exception message: Failed to retrieve RMIServer stub: javax.naming.NameNotFoundException: management/rmi-jmx-connector

on the other hand, when I try to start I get the below in the log file:
 An exception occurred starting the server instance sunlight.
    
    com.sun.enterprise.ee.admin.servermgmt.AgentException: com.sun.enterprise.admin.servermgmt.InstanceException: Timeout waiting for server instance sunlight to go to starting state.
    
            at com.sun.enterprise.ee.nodeagent.NodeAgent.startInstance(NodeAgent.java:710)
    
            at com.sun.enterprise.ee.nodeagent.NodeAgent.startInstance(NodeAgent.java:271)
    
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    
            at java.lang.reflect.Method.invoke(Method.java:585)
    
            at com.sun.jmx.mbeanserver.StandardMetaDataImpl.invoke(StandardMetaDataImpl.java:414)
    
            at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220)
    
            at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:815)
    
            at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
    
            at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1408)
    
            at javax.management.remote.rmi.RMIConnectionImpl.access$100(RMIConnectionImpl.java:81)
    
            at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1245)
    
            at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1341)
    
            at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:782)
    
            at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source)
    
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    
            at java.lang.reflect.Method.invoke(Method.java:585)
    
            at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294)
    
            at sun.rmi.transport.Transport$1.run(Transport.java:153)
    
            at java.security.AccessController.doPrivileged(Native Method)
    
            at sun.rmi.transport.Transport.serviceCall(Transport.java:149)
    
            at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:466)
    
            at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:707)
    
            at java.lang.Thread.run(Thread.java:595)
    
    Caused by: com.sun.enterprise.ee.nodeagent.ProcessManagerException: com.sun.enterprise.admin.servermgmt.InstanceException: Timeout waiting for server instance sunlight to go to starting state.
    
            at com.sun.enterprise.ee.nodeagent.ProcessInstanceInternal.startInstance(ProcessInstanceInternal.java:57)
    
            at com.sun.enterprise.ee.nodeagent.ProcessManager.startProcess(ProcessManager.java:91)
    
            at com.sun.enterprise.ee.nodeagent.NodeAgent.startInstance(NodeAgent.java:699)
     

tried restarting domains and nodeagents, still won't work.
thanks
[Message sent by forum member 'alessandroastuto' (alessandroastuto)]

http://forums.java.net/jive/thread.jspa?messageID=296357