12.07.2015 Views

Beginning Java EE 6 with GlassFish 3, Second Edition

Beginning Java EE 6 with GlassFish 3, Second Edition

Beginning Java EE 6 with GlassFish 3, Second Edition

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

CHAPTER 1 ■ JAVA <strong>EE</strong> 6 AT A GLANCEIt will then decompress a simple preconfigured <strong>GlassFish</strong> install <strong>with</strong> default settings: admin port is4848, HTTP port is 8080, and no explicit admin user configured. Once properly installed, <strong>GlassFish</strong> canbe started <strong>with</strong> the asadmin command line (see Figure 1-19).asadmin start-domainFigure 1-19. Starting <strong>GlassFish</strong>You can then go to the admin console (shown earlier in Figure 1-17) at http://localhost:4848 or tothe default welcome page at http://localhost:8080.■ Tip If you only have one domain, you can omit the default domain name and start <strong>GlassFish</strong> <strong>with</strong> only asadminstart-domain. If you’d like to have the log file appear inline rather than checking the content of the dedicated logfile (domains/domain1/logs/server.log), you can use asadmin start-domain --verbose.40

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!