users@glassfish.java.net

Re: Glassfish starts, binds to ports but does not respond

From: <glassfish_at_javadesktop.org>
Date: Tue, 20 May 2008 06:10:25 PDT

Here is the result of what you asked for...
[b]
ping localhost[/b]
PING localhost (127.0.0.1) 56(84) bytes of data.
64 bytes from localhost (127.0.0.1): icmp_seq=1 ttl=64 time=0.071 ms
64 bytes from localhost (127.0.0.1): icmp_seq=2 ttl=64 time=0.066 ms
64 bytes from localhost (127.0.0.1): icmp_seq=3 ttl=64 time=0.062 ms

--- localhost ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2001ms
rtt min/avg/max/mdev = 0.062/0.066/0.071/0.007 ms

==================================================

[b]cat /etc/hosts[/b]
127.0.0.1 localhost
127.0.0.1 markdemo

# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts

==================================================

[b]netstat -rn markdemo[/b]
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
192.168.214.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
0.0.0.0 192.168.214.2 0.0.0.0 UG 0 0 0 eth0

==================================================
[b]
netstat -tapn | grep 7721[/b]
(Not all processes could be identified, non-owned process info
 will not be shown, you would have to be root to see it all.)
tcp6 0 0 :::7721 :::* LISTEN 5643/java

==================================================

[b]telnet localhost 7721[/b]
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
101 imqbroker 4.1 Patch 1
portmapper tcp PORTMAPPER 7721 [imqvarhome=/home/mark/glassfish/domains/demo/imq,imqhome=/home/mark/glassfish/imq,sessionid=3888042467979388672]
cluster_discovery tcp CLUSTER_DISCOVERY 58634
jmxrmi rmi JMX 0 [url=service:jmx:rmi://markdemo/jndi/rmi://markdemo:7821/markdemo/7721/jmxrmi]
admin tcp ADMIN 60234
jms tcp NORMAL 59350
cluster tcp CLUSTER 40359
.
Connection closed by foreign host.
[Message sent by forum member 'elihusmails' (elihusmails)]

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