I have a feeling the problems maybe to do with the compiled grails core classes which are common to each application, eg. datasource, config, bootstrap..
If glassfish is caching datasource.class the all applications using it could be using the same class.... and therefor the same database which is what is happening...
Dave Brown wrote:Hi all,
I'm curious whether anyone writing Grails app's have had issues when deploying multiple applications to a Glassfish V2 server.
I have a rather strange issue after deploying my second application to the server when it actually is rendering the pages from a different application... Strange? Very..
The applications are pretty similar in functionality but have different controllers/domain classes etc and of course a different WAR and application name, so why when I go to Application B, its rendering Application A is beyond me...