tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Funk <funk...@apache.org>
Subject Re: How to read "time" from a Tomcat server?
Date Wed, 08 Jan 2014 18:08:24 GMT
Depending on how you look at it - use the HTTP spec and look at the Date
response header

http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.18

The above technique doesn't require shell access and is an "easy" way to
get the date of ANY webserver. (read the spec for caveats)




On Wed, Jan 8, 2014 at 11:39 AM, Bradley Rogers <
bradley.rogers.engineer@gmail.com> wrote:

> HI
> Is there a command i can issue to get the exact system time that the remote
> Tomcat server is using?
>
> and then is there a command or some way (with applicable admin rights) to
> set the remote time?
>
> the idea is the sync'ing of the different PC's im hoping to use, if there
> is some other way used I am grateful to hear it.  im setting up a
> distributed system thats running in linux.  thanks
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message