How to fetch TimeZone of remote machine ?

Hi all,
how could i get the time zone of a remote machine ?
what i want is, just by providing the IP i want to retrieve the time zone.
All reply will be appriciated.
Thanks
[email protected]

buggy: use one of the ip services about to guessthe
country the macjine is running in.Some countries have several time zones :)And many machines connect through proxyservers which
may well be in a different timezone from the actual
machine (and the address you'd get could well be the
address of the proxy).And thus the "Buggy" prefix.

Similar Messages

  • How to read file from remote machine

    Hello,
    Hi, i would like to know how to read text file from remote machine using java source code, any code ?
    Thanks very much;
    Best regards
    Kim

    On the server, perform the following steps:
    Parse the request and determine the file to serve
    Open a FileInputStream to the appropriate file
    Obtain a reference to the Servlet OutputStream
    Pipe the bytes from the file to the output stream
    Flush and close the streamYou might want to call HttpServletResponse.setContentType("application/octet") to indicate to the browser that a file download will be occurring. Do so before getting the reference to the Servlet's OutputStream.
    - Saish

  • How to install applications to remote machines in silent mode?

    Hi All,
    I have the following question and I hope to find a creative solution.
    My application’s architecture is a client server one.
    I would like the server to remotely connect to its clients machines and silently install a client java application for 2 purposes:
    1.     Install new clients on computers that weren’t part of the deployment yet. When the server connects to a new clients he needs send the installation file and execute it
    2.     Updated existed clients (replace jars, configuration files, etc)
    My main goal is to do everything in silent mode (without requiring the users to connect the clients and actively install clients application).
    Can any of you think of a Java solution for this? I think the first purpose if the harder one so in case I ask my users to install the clients for the first time, how do I silently upgrade their applications when needed?
    Tnx,
    Uri

    sabre150 wrote:
    Scheiner wrote:
    My concern with Webstart is that it open windows and require the user to do some steps. Like press one button to agree to an update!
    Yes, but when you have 1000 clients it is a lot of work.
    I would like to have the upgrade process to be done silently. It is this 'silent' requirement that is suspect. Anything silently installing something is dangerous. Are you one of these people who has Windows automatic updates turned on?
    Personally, I am not. but it is good to have the option.
    >>
    Can webstart run in silent mode? I'm pretty sure it can but I can't be certain and I don't know how to do it since I won't ever use silent upgrades. Read the Webstart documentation.
    I can have the server making the client application invoking the URL for the new files (so the user will not have to connect to every client machine and invoke the URL), but how do I do the rest in silent mode?
    btw- I can use PsExec to run the installation on new clients (windows only). My main issue now is how to upgrade silently. If you have other ideas than webstart I will be happy to hear.

  • How to install on a remote machine

    Hi,
    I want to install 9i on a remote Solaris machine. I have telnet
    access to the system. Can I install 9i over a telnet session ?.
    Should I install exceed perhaps ?. Would it make it easier ?.
    Are there any settings xhost, xterm etc to be set ?
    Thanks for any help.
    Vissu

    To the best of my knowledge, you will have to have remote x-
    windows capability to install 9i.
    I have done this several times for 8 and 8i and it has worked
    just fine. I nfs mount the cdrom from my workstation to the host
    I'm installing Oracle on, establish the DISPLAY environment so
    the host can throw windows back to my workstation, and execute
    the xhost command so it can work.
    Caveat: my workstation is a Sun Solaris machine. I have no idea
    if you can do this from a Windows machine running Reflection.

  • Install vstf_testagent.exe and vstf_testcontroller.exe on remote machine and configure

    Hi,
    I am creating a form application where I want to install vstf_testagent.exe and vstf_testcontroller.exe on remote machine and configure it. I copied the files to the remote machine local directory, wanted to know how to install exe on remote machine and
    configure it. could some one help me with code.
    Thanks
    Thanks,

    Hi sayedfarhan,
    Thank you for posting in MSDN forum.
    >>I am creating a form application where I want to install vstf_testagent.exe and vstf_testcontroller.exe on remote machine and configure it.
    According to your issue, as you said that you want to install vstf_testagent.exe and vstf_testcontroller.exe on remote machine and configure it.
    So please you refer the following MSDN document to install and configure the test agent and test controller on this remote machine.
    https://msdn.microsoft.com/en-us/library/dd648127.aspx?f=255&MSPPError=-2147217396
    Generally, I know that we used this test controller and test agent to run automated tests on remote machine. Note:I know that if you want to install and configure test agent and test controller for automated test, it will not need to any code for
    it.
    So whether your issue is related to run your automated tests remotely with the test agent and test controller.
    In addition, as you said that:
    >>I am creating a form application where I want to install vstf_testagent.exe and vstf_testcontroller.exe on remote machine and configure it. 
    Could you please tell me whether you want to install and configure the test controller and test agent for your form app?  
    If I misunderstanding your issue, please tell me more detailed message about your issue.
    Best Regards, 
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Accessing any remote machine

    how can i access any remote machine connected via a LAN for I/O oprations on Wndows platform, Could it be possible? i'v IP address.

    via a LAN for I/O oprations on Wndows platformThe easiest way (assuming the I/O operations are file operations) would be to set
    up a share on the remote machine and access it using File as usual.import java.io.BufferedReader;
    import java.io.File;
    import java.io.FileReader;
    import java.io.IOException;
    public class LanTest {
        public static void main(String[] args) throws IOException {
            File file = new File("//10.144.32.13/jdctest$/message.txt");
            BufferedReader in = new BufferedReader(new FileReader(file));
            System.out.println(in.readLine());
    }

  • Scripting a remote machine

    How does one script a remote machine on a TCP/IP network? I have a machine running Evocam at local IP 192.168.1.5. Evocam supports motion detectors which, when activated, can run Applescripts on the local machine. I want my script to speaak a warning message on a machine at local IP 192.168.1.247.
    Any insights appreciated.

    Well, the approach outlined in this thread worked...at least for a while. Then something weird happened. I figured instead of using a script application to say the warnings I would use the finder. So I tried this on another machine and executed from the script editor (which is how I did all testing):
    tell application "Finder" of machine "eppc://192.168.1.7"
    say "Hi"
    end tell
    The script editor crashed. When repeated, it crashes. Problem is, now the original script also crashes from any machine:
    set theWarning to "HI"
    tell application "Speaker" of machine "eppc://192.168.1.7"
    warn(theWarning)
    end tell
    I wonder what's gone wromg? Could a setting having to do with the protocol have gotten corrupted? The machine is connected via a third party airport card. Don't think that could have anything to do with it.

  • How to test oracle is up and running in remote machine using shell script

    Hello,
    I need help to write an linux script.
    I have a java application server running on machine 192.168.5.20 and our oracle 10g standard 1.0.2 is running on machine 192.168.5.21.
    I have found script to start oracle when computer is turned on.
    But I cannot start my application server automatically since it depends on whether oracle is up and running or not on the remote machine.
    Therefore, in case of power failure or maintenance, our client has to call us to start application server.
    I would be grateful if someone can help me "How can I write script to check oracle is up and running in machine 192.168.5.21 from machine 192.168.5.20.
    For your information, I have no oracle installed in application server. So tnsping won't work.
    What I want is when power is back, application server script automatically and tesing for oracle server is up and running. If it is up, script will start application server.
    Thanking you.

    Hi,
    It's not failover or experimental. My application server uses JBOSS and JBOSS needs database name to start up. My enviroment is LAN. My database is in different machine as I mentioned before. So In case of power failure, I need to start my application server (JBoss) manually, because I need to confirm that oracle is already running before start app server.
    I want an automated script (when power is just on) to start my application server which will wait to check if the datbase server is up I will start application server.
    The scripts given above It works if appserver and db server in the same machine (my development machine).
    But when I test the script in my production applicaiton server, It shows sqlplus command not found (my app server does not have any oracle client installed).
    About hostname yes My applicaiton server hostname is hostapp1 and dabase server hostname is hostdat1.
    Do you think Is it possible to test the script without oracle client not installed. or It has to be done writing code like java program and test using jdbc connection.
    Best regards.

  • How to use URL class to execute a java class/app  on a remote machine?

    I am a beginner in Java networking and have a question about URL programming.
    How do I pass parameters to a java class/application over the web and then cause it to execute ? I then want to get the result back from the clas/app. The class/app resides on a remote machine and the protocol used is "http" protocol. OR all this is not possible through the URL and related classes ?

    How do I pass parameters to a java class/application over the web and then cause it to execute ? Using the HTTP protocl you can either perform a GET where the parameters are in the URL or a POST where the data is sent to the server with the request.
    The server must be setup as a web server to execute code based ojn a HTTP request. Using a web server with a JSP which contains the code to execute is the simplest way to do this.
    I then want to get the result back from the clas/app. The output of the JSP becomes in the data returned by the HTTP request.
    I would suggest looking for example on google.
    http://www.google.co.uk/search?q=java+http+request+tutorial
    Another option is to use RMI. The integration is tighter but it does not use the HTTP protocol.

  • How to make OTM scripts to run on remote machines

    Hi,
    I came across lot of posts which tells how to configure OTM to connect to remote machines.
    Some how i dont understand when they say stop the OATS service and configure it manually
    Also to use the password for authentication manager.
    What i really want to know is step by step for a layman to set up OTM to run scripts on a remote desktop and on the local with the execution being displayed (not suppressed)
    How do we configure that?
    Any help is deeply appreciated!! my test cases are just stuck inprogress status
    Thanks
    Radhika

    Hi Radhika,
    For running Scripts from either the server or the remote machine using OTM you need to run the Agent Manager service as a console not the OATS service. For that you need to stop that service--> set the startup type as manual--> the run the ' C:\OracleATS\agentmanager\bin\AgentManagerService.exe –c AgentManagerService.conf ' command in the CMD to run this service as a console. Because this agent manager service is for OLT to communicate with its agents and works fine even if it is set to automatic or manual and started normally. Hope this helps.....
    Regards,
    Charles Kingsly

  • How to start/stop/restart a java desktop application from remote machine

    Hi,
    I want to know is there a way in java where i can start/stop/restart a java desktop application running on a remote machine through another java desktop application?
    For e.g i have an Admin console which monitors its clients based on socket communication, all of them are java desktop applications. I want to also give start/stop remote clients through my Admin console.
    I am thinking in terms of windows system service which can start/restart/stop my clients on request of Admin console, but how can i call this system service remotely?
    How can i do it?

    I got it. its about connection...

  • How to create a file on a remote machine using PrintStream

    I want to create an HTML file on a remote machine connect via LAN the path is "\\vineet\akh\" akh is folder where I want to save the HTML file. Now in PrintStream i can give only a local file. Please help how to do it

    .. You can do this in two ways!!
    1) easy way
    2) hard way
    1) EASY WAY
    .. as you know for write to a remote dir you must
    a) have shared remote dir
    b) have write permit on remote dir
    if you have point a) and b) the way to follow it's simple as the other user explained to you!!
    2) HARD WAY
    the hard way is to use RMI (Remote Method Invokation)
    i mean to create a service on a remote machine that give to you a remote method that make you write without share anything..!!!
    check it out
    http://tns-www.lcs.mit.edu/manuals/java-api-1.1beta2/guide/rmi/
    i hope i'm been clear!!
    SORRy My english!! (please)
    Alessandro

  • How to run a PS script on a remote machine

    Hi,
    I have a script located on a remote machine at c:\Temp\Script1.ps1  I want to run this script remotely from a driver system.  Via Powershell remoting on the driver machine, I run the following:
    $cred = Get-Credential Domain1\User1
    $Sessid = New-Pssession DC1
    Invoke-Command -session $sessid -cred $cred -ScriptBlock {c:\temp\Script1.ps1}
    I get an error 'Invoke-Command : Parameter set cannot be resolved using the specified named parameters.
    I see the Session ID created and opened fine and the script runs fine on its own on the remote machine.
    Any suggestions as to how to resolve the error
    Thanks for your help! SdeDot

    You don't say what the client machine is, but if it is a windows PC you could use the TEXT_IO package that comes as part of Oracle Forms or procedure builder. Alternatively you could use the client version of SQL*Loader. If neither of these options are feasible, why not just copy the file on to the server and use UTL_FILE, SQL*Loader, or define an extrnal table?
    Regards,
    Steve Rooney

  • How to startx on remote machine's monitor

    Hi there,
    I would like to startx on a remote machine, having the X session on that remote machine's display/monitor.
    Background: My machines all run Arch linux, and they all dont use a graphical login manager (like GDM or KDM or such). I usually log into tty, and type in "startx" to start my XFCE4 session. While on work, I sometimes connect to my home-machine via VNC. This works nice. Sometimes, I do stuff that requires my remote machine (at home) to reboot.
    If I do so, there is no way to re-connect to the machine, as my VNC-connection needs a running X session (for x11vnc in my case). So, I need a procedure to somehow connect to my freshly rebooted remote machine (to TTY1) in order to type in username, password and "startx".
    Could someone please give a hint how to do that?
    Last edited by produnis (2015-01-17 17:14:56)

    Would https://wiki.archlinux.org/index.php/Xpra work?

  • How to boot only one group in remote machine from master machine

    Hi,
    I want to know the command to boot entire remote machine from master machine and how to boot only one group for remote machine from master machine.
    Thanks
    Amit

    You can boot the entire remote machine (after booting the Master machine) as follows:
    tmboot -B <lmid of remote machine> -l <lmid of remote machine>.
    For all the available tmboot options see http://download.oracle.com/docs/cd/E18050_01/tuxedo/docs11gr1/rfcm/rfcmd.html#wp1032112
    Regards,
    Malcolm.

Maybe you are looking for