I don't know why everytime when the linux server machine is restarted, my web application which i have deployed on that machine gives a resource not found error. Otherwise i have no issues with that webapplication until the next time the machine is restarted.
I have used spring framework as the platform for the application and used NetBeans 6.0 to develop my application and used Sun Java System Application Server Admin Console to deploy the war file on that machine.
what do you have to do in order to get your web application working again? Re-deploy it? Perhaps this would give a hint to a permanent solution??
Anyway I don't believe this is a Linux specific problem. The only thing I could imagine is a problem/misconfiguration of the file system where the applications get deployed. Are you eventually using kind of a RAM disk (i.e. tmpfs) for speedup? Or some kind of remote file system which is missing at boot time? In general Linux as a server OS doesn't show any non-deterministic behavior like Windows sometimes does. And if you can reproduce this error there's surely a solution to it.
Otherwise I think it's possibly a configuration problem of the application server although I never experienced such problems.
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.
i also have the same problem. i am using glassfish v3 on vista. whenever i restart glassfish server the deployed application list is empty, the JDBC Resources and Connection Pools that I had created are all gone. It appears that the changes are not being saved. i have checked the "\glassfish\glassfish\domains\domain1\applications" folder the application files are still there but glassfish does not shows it. i guess something does not gets saved. have you tried reinstalling glassfish?? please keep me updated if you get a solution for this problem.