users@glassfish.java.net

Error on startup help

From: <glassfish_at_javadesktop.org>
Date: Fri, 02 Jul 2010 14:29:15 PDT

Well since I got nowhere on trying to export SSL with my issues, I took the server that works with the static HTTP and stopped it. I copied over my working one, (which does put things in the /var/lib/glassfish location) and the only error was java. So I updated the asenv.conf file, keeping everything except the java line to point a the correct path.

This time it did try to start, ask for un/pw, confirmed and I get the following;
Redirecting output to /var/lib/glassfish/domains/domain1/logs/server.log
Domain domain1 failed to startup. Please check the server log for more details.
CLI156 Could not start the domain domain1.


Looking at the server error log, I see it go past the SSL cert nicely, then fail at this spot;



[#|2010-07-02T17:10:57.373-0400|SEVERE|sun-appserver2.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;com.sun.enterprise.admin.server.core.JmxConnectorLifecycle_at_3a2c4ede;com.sun.appserv.server.ServerLifecycleException: Cannot bind to URL [rmi://gfs3.weatherflow.com:8686/management/rmi-jmx-connector]: javax.naming.NoPermissionException [Root exception is java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
        java.rmi.AccessException: Registry.Registry.bind disallowed; origin /192.168.50.123 is non-local host];_RequestID=f47fea01-2364-4b9d-a2d2-15c69a439fb6;|Service com.sun.enterprise.admin.server.core.JmxConnectorLifecycle_at_3a2c4ede cannot be started! : com.sun.appserv.server.ServerLifecycleException: Cannot bind to URL [rmi://gfs3.weatherflow.com:8686/management/rmi-jmx-connector]: javax.naming.NoPermissionException [Root exception is java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
        java.rmi.AccessException: Registry.Registry.bind disallowed; origin /192.168.50.123 is non-local host]|#]


#|2010-07-02T17:10:57.374-0400|SEVERE|sun-appserver2.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;_RequestID=f47fea01-2364-4b9d-a2d2-15c69a439fb6;|CORE5071: An error occured during initialization
com.sun.appserv.server.ServerLifecycleException: Cannot bind to URL [rmi://gfs3.mydomain.com:8686/management/rmi-jmx-connector]: javax.naming.NoPermissionException [Root exception is java.rmi.ServerException: RemoteException occurred in server thread;

Here is where I am now stuck. I am trying to start this as root, so I don't think it's a permission issue. Any help or ideas are appreciated, will gladly provide more info, just tell me what (and how) to give it.

Thanks
[Message sent by forum member 'xlancealotx']

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