• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

GlassFish v3 and localhost in Windows7

 
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 41
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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}
 
Mo-om! You're embarassing me! Can you just read a tiny ad like a normal person?
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic