users@glassfish.java.net

Running glassfish but only binding to one ip address

From: <glassfish_at_javadesktop.org>
Date: Thu, 17 Apr 2008 19:20:42 PDT

I am trying to bind glassfish to only one ipaddress on my multiuser enviroment. Most of the ip settings in domain.xml pointed to 0.0.0.0 and I have changed all but one with out error.

When I change
[code]
 <jmx-connector accept-all="false" address="0.0.0.0" auth-realm-name="admin-realm" enabled="true" name="system" port="8686" protocol="rmi_jrmp" security-enabled="false">
          <ssl cert-nickname="s1as" client-auth-enabled="false" ssl2-enabled="false" ssl3-enabled="true" tls-enabled="true" tls-rollback-enabled="true"/>
        </jmx-connector>
[/code]

to address=my ip I get the following

[code]
[#|2008-04-17T20:06:19.981-0600|SEVERE|sun-appserver9.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;com.sun.enterprise.admin.server.core.JmxConnectorLifecycle_at_6bb93c;com.sun.appserv.server.ServerLifecycleException: Cannot bind to URL [rmi://itas00sat:8686/management/rmi-jmx-connector]: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: itas00sat; nested exception is:
        java.net.ConnectException: Connection refused];_RequestID=1a226d18-1b7c-44ed-8736-2c01f0b6a4a5;|Service com.sun.enterprise.admin.server.core.JmxConnectorLifecycle_at_6bb93c cannot be started! : com.sun.appserv.server.ServerLifecycleException: Cannot bind to URL [rmi://itas00sat:8686/management/rmi-jmx-connector]: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: itas00sat; nested exception is:
        java.net.ConnectException: Connection refused]|#]
[/code]

Any ideas what I am doing wrong?
[Message sent by forum member 'ericchile' (ericchile)]

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