Hi robin,
Yes whenever i redeploy it it becomes working again. How can this give a hint??
This indeed isn't a great help. I thought you'd perhaps do something more mysterious
Unfortunately I only know of problems with some application server versions on Windows because of file system locking problems. But I've never experienced the problem you describe here with Linux. For me applications in Glassfish stay deployed even if I shutdown the application server which was the case in any version of Glassfish I've ever tested. So this at least seems to be the default behavior for it, but I don't really know if there's a configuration option to automatically undeploy applications when the server gets shut down.
Without knowing the details the only thing which comes to mind is that the application server doesn't get properly shut down when the machine is rebooted and therefore reacts in this manner. Did you have a look a the server log files? Perhaps the logs will tell you what's going on here.
Marco