This has to do with the cookie that is used to store the session id (the name
of the cookie as per specs must be JSESSIONID). When you log on to the
first GF instance the JSESSIONID cookie is set for the instance. When you
log on to the second instance the JSESSIONID cookie is overwritten with the
*new* value for the second instance. The first session has "lost" the
session (the new session id can not be matched on the first instance). This
will only happen when you are using the *same* domain (url) for both
instances, as cookies are bound to the domain name (eg mydomain.com:8080 and
mydomain.com:4848 will share the same cookies).
The simplest solution is to open a different browser (eg Firefox and IE) for
each GF instance. You can then work with each domain without cookies being
overwritten. Note, however, that the same problem will also occur if you
are browsing a deployed web app (eg on port 8080) and have the GF admin
console open in a different tab *if* they are using the same url.
Another possibility is to use different urls (eg create an admin.mydomain.com
domain) but this is probably an overkill!
--
[Message sent by forum member 'ggierer']
View Post: http://forums.java.net/node/819042