users@glassfish.java.net

Can't start domain1

From: <glassfish_at_javadesktop.org>
Date: Wed, 08 Aug 2007 04:44:17 PDT

Hi all,
I'm trying to start domain1 with the asadmin command but it doesn't work.

Here is an excerpt of the server.log file which I think is relevant.

|SEVERE|sun-appserver9.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;com.sun.enterprise.admin.server.core.JmxConnectorLifecycle_at_15660ef;com.sun.appserv.server.ServerLifecycleException: Cannot bind to URL [rmi://ISPADDRESS: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 /87.9.81.41 is non-local host];_RequestID=f02ea438-0434-466c-855f-ae042151d1fd;|Service com.sun.enterprise.admin.server.core.JmxConnectorLifecycle_at_15660ef cannot be started! : com.sun.appserv.server.ServerLifecycleException: Cannot bind to URL [rmi://MYOWNADDRESS: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 /87.9.81.41 is non-local host]|#]


I believe this problem has something to do with my computer's address and hostname.
I use dynamic DNS and every time my IP address changes, DNS records for my domain are updated correctly.
The problem might be related to the fact that an inverse DNS lookup (from IP to the hostname) doesn't obviously return my hostname but the ISP's one. In this case, my IP address was 87.9.81.41, the system is reachable from the internet at MYOWNADDRESS but an inverse DNS lookup is made, returning the ISPADDRESS for IP 87.9.81.41. MYOWNADDRESS and ISPADDRESS don't match.

Is there a way to make everything work only with IP addresses or to avoid any inverse lookup.


Thanks in advance for any reply

Massimo
[Message sent by forum member 'msmbarab' (msmbarab)]

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