hi I have installed Glassfish webserver version 10, successfully in MAC OS. I had no problem intalling or starting the server. the server is running, but when i try to run glassfish in port:8080, it is not loading and i get a blank page. however, localhost 4848 is loading and I can see webspace enabled there. I have tried with jdk5,6 and reinstalling things, but in vain anyone know a solution.........
Check if the port is firewalled. I once spent considerable amount of time with Tomcat on Vista before I nailed the silly issue.
This is hard to determine what can cause that problem. It will be useful if you post stack trace/log message.
did you check what HTTP ports is enabled for your appserver ? in the management interface click on 'Application Server' then the 'General' tab , you will see something like :
HTTP Port(s): 30500,30502,30501
maybe your glassfish is using port 8080 for something else - or you have another webserver running on that port somewhere ?
You can easily create a second domain with Glassfish. This will tell you if there is a problem with the domain or the installation of Glassfish.
asadmin create-domain --adminport 4949 --instanceport 9090 domain2
Now connect to the admin port on 4949
Login and password are admin, adminadmin
Also check the log directory of each domain:
$GLASSFISH/domains/domain1/logs
$GLASSFISH/domains/domain2/logs
add this to the domain.xml under sun/sdk/domains/config
listed in this link http://forums.java.net/jive/thread.jspa?messageID=250531
- search page for domain.xml -
this corrected my problem easyfix