Meaningless Drivel is fun!*
The moose likes Other Java Products and Servers and the fly likes GlassFish v3 and localhost in Windows7 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Other Java Products and Servers
Bookmark "GlassFish v3 and localhost in Windows7" Watch "GlassFish v3 and localhost in Windows7" New topic
Author

GlassFish v3 and localhost in Windows7

Nick Petas
Ranch Hand

Joined: Jan 31, 2007
Posts: 38
I can only open a web page when glassfish v3 is running using my computer name (admin-pc).
For example http://admin-pc:8080/.
Why http://localhost8080 is not working?
Here is what netstat reveals :

Proto Local Address Foreign Address State

TCP 192.168.2.3:8080 Admin-PC:22191 ESTABLISHED

Another question is whether glassfish needs both listeners it creates.
Another strange thing I saw is that both listeners listen to 0.0.0.0 ip address.

Thank you.
Nick Petas
Ranch Hand

Joined: Jan 31, 2007
Posts: 38
I post here a log of glassfish3 deploy :

INFO: Launching GlassFish on Felix platform
Welcome to Felix
================
INFO: Perform lazy SSL initialization for the listener 'http-listener-2'
INFO: Starting Grizzly Framework 1.9.18-o - Tue Sep 14 21:13:43 EEST 2010
INFO: Starting Grizzly Framework 1.9.18-o - Tue Sep 14 21:13:43 EEST 2010
INFO: Grizzly Framework 1.9.18-o started in: 49ms listening on port 4848
INFO: The Admin Console is already installed, but not yet loaded.
INFO: Grizzly Framework 1.9.18-o started in: 60ms listening on port 8181
INFO: Grizzly Framework 1.9.18-o started in: 31ms listening on port 7676
INFO: Grizzly Framework 1.9.18-o started in: 43ms listening on port 3700
INFO: Grizzly Framework 1.9.18-o started in: 107ms listening on port 8080
INFO: GlassFish Server Open Source Edition 3.0.1 (22) startup time : Felix(3120ms) startup services(1046ms) total(4166ms)
INFO: Binding RMI port to *:8686
INFO: JMXStartupService: Started JMXConnector, JMXService URL = service:jmx:rmi://Admin-PC:8686/jndi/rmi://Admin-PC:8686/jmxrmi
INFO: Hibernate Validator bean-validator-3.0-JBoss-4.0.2
INFO: Instantiated an instance of org.hibernate.validator.engine.resolver.JPATraversableResolver.
INFO: Using com.sun.enterprise.transaction.jts.JavaEETransactionManagerJTSDelegate as the delegate
INFO: [Thread[GlassFish Kernel Main Thread,5,main]] started
INFO: {felix.fileinstall.poll (ms) = 5000, felix.fileinstall.dir = C:\Users\Admin\GlassFish_Server_3\glassfish\modules\autostart, felix.fileinstall.debug = 1, felix.fileinstall.bundles.new.start = true, felix.fileinstall.tmpdir = C:\Users\Admin\AppData\Local\Temp\fileinstall-246248312323857988, felix.fileinstall.filter = null}
INFO: Grizzly Framework 1.9.18-o started in: 3ms listening on port 8080
INFO: {felix.fileinstall.poll (ms) = 5000, felix.fileinstall.dir = C:\Users\Admin\GlassFish_Server_3\glassfish\domains\domain1\autodeploy\bundles, felix.fileinstall.debug = 1, felix.fileinstall.bundles.new.start = true, felix.fileinstall.tmpdir = C:\Users\Admin\AppData\Local\Temp\fileinstall--775504691045801707, felix.fileinstall.filter = null}
INFO: Perform lazy SSL initialization for the listener 'http-listener-2'
INFO: Grizzly Framework 1.9.18-o started in: 2ms listening on port 8181
INFO: Updating configuration from org.apache.felix.fileinstall-autodeploy-bundles.cfg
INFO: Installed C:\Users\Admin\GlassFish_Server_3\glassfish\modules\autostart\org.apache.felix.fileinstall-autodeploy-bundles.cfg
INFO: {felix.fileinstall.poll (ms) = 5000, felix.fileinstall.dir = C:\Users\Admin\GlassFish_Server_3\glassfish\domains\domain1\autodeploy\bundles, felix.fileinstall.debug = 1, felix.fileinstall.bundles.new.start = true, felix.fileinstall.tmpdir = C:\Users\Admin\AppData\Local\Temp\fileinstall-2332036978117424515, felix.fileinstall.filter = null}
 
 
subject: GlassFish v3 and localhost in Windows7
 
Similar Threads
Networking
Glassfish can be accessed locally but not remotely.
cant load the admin console in glassfish v3
a blank glassFish admin console @ netbeans 6.8
Who's using Jersey for JAX-RS (JSR-311)?