I was deploying a war file when a "PermGen outofmemory" occured in Glassfish admin web console.
Then, I tried to stop it by command line, but it didn't let me (an error message appeared). I had to make a "kill -9 PID".
When I tried to start over, it raised an error saying that "domain.xml" was not in the right format. Checking this file, I got very surprised it was totally empty!
So, I'd like to know if only restoring a backup file of "domain.xml" and replacing the empty one is the right thing to do, or not?
Why did this happen? The only different thing I remember I've done was that I let the web admin console open since the day before, and no session expired message occured when I used the page again, in the morning I've made the deployings...
Then, I tried to stop it by command line, but it didn't let me (an error message appeared). I had to make a "kill -9 PID".
When I tried to start over, it raised an error saying that "domain.xml" was not in the right format. Checking this file, I got very surprised it was totally empty!
So, I'd like to know if only restoring a backup file of "domain.xml" and replacing the empty one is the right thing to do, or not?
Why did this happen? The only different thing I remember I've done was that I let the web admin console open since the day before, and no session expired message occured when I used the page again, in the morning I've made the deployings...