Glassfish Startup problem -- /etc/hosts entry

I had an opensolaris environment on which I was running GlassfishESB. Since I had to connect to a local Network I had to make some changes to the /etc/hosts file and add an entry to the same.

After that I tried to restart Glassfish it did not restart. It failed at the following point

ADM1079: Initialization of AMX MBeans started

It gave the following exception in server.log. I had to modify the hosts file to make the server start again.

[#|2009-04-08T15:57:28.501+0530|SEVERE|sun-appserver2.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;com.sun.enterprise.admin.server.core.JmxConnectorLifecycle@1ef3d12;com.sun.appserv.server.ServerLifecycleException: Cannot bind to URL [rmi://localhost:8686/management/rmi-jmx-connector]: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: localhost; nested exception is:
    java.net.ConnectException: Connection timed out];_RequestID=c39a90fc-8790-4b27-aa91-730bf7b8ba85;|Service com.sun.enterprise.admin.server.core.JmxConnectorLifecycle@1ef3d12 cannot be started! : com.sun.appserv.server.ServerLifecycleException: Cannot bind to URL [rmi://localhost:8686/management/rmi-jmx-connector]: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: localhost; nested exception is:
    java.net.ConnectException: Connection timed out]|#]

Comments:

Post a Comment:
  • HTML Syntax: NOT allowed
About

I was part of Sun R&D in Java CAPS and later Glassfish ESB. I moved from R&D to Consulting. I am currently working as a Solution Architect in Oracle Consulting Services (India). I was sharing my experience w.r.t. Java CAPS and other technologies during Sun period. Now in Oracle world I share my experiences with Oracle FMW product line as well as other Oracle Technologies and products.

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today