I have Open Glassfish 2.2, there was one domain on it. I created another one domain2. I started both domains. I access the admin console of of both domains at ports 4848, and 4849 as http://localhost:4848 and http://lcoalhost4849. Now when I try to click any link like JBI etc it brings me back to login page(i get loged out). But when I access the admin console as
http://systemname:4848 and http://localhost:4849 , it works fine. All ports in both domains are different.