I've a typical problem running a small program on application server. My Question is- is there any way to know server is running in what mode ? I can easily check this in my local machine. But in case of remote server what can I do ? Can it be possible to find out using small java code ?