I've found out that the display page on port 8080 is from the web-browser
cache. If you clear the history in the web-browser and run
http://localhost:8080 you'll notice the server is not accessed. To determine
for sure whether the server is running or not I use
/usr/local/glassfish-4.0/bin/asadmin start-domain domain1 and if my server is
already running I'm informed to that effect. If it is not running then it is
started. However, I have another problem I'm facing: Netbeans requires the
user ID: anonymous while asadmin start-domain domain requires user ID: admin
And this causes conflict when I run my application in netbeans. Either the
server is not accessed by netbeans and my application if I have started the
server earlier using asadmin start-domain domain1 OR When I try to start the
server from Netbeans it won't start because of the conflict of user IDs. So
far I've failed to solve this problem and have posted in glassfish forum for
help to no avail! Let me know where you are at in solving your problem.
--
[Message sent by forum member 'rrugemalira']
View Post: http://forums.java.net/node/900085