Running a J2EE client on a Remote machine

How do you run a J2EE client application on a remote machine?

and what about running on remote client .
the things i know is , ok leave i am pasting a client which is on different machine (i.e not on the machine on which the server is ) copy
1. the client jar file which is return when u deploy the beans .
* Remember to add jar path in the class path
2. client class / java file on the remote client
and then run the client
for eg . client code
change Properties 's prop accoding to u
import javax.ejb.*;
import javax.naming.*;
import java.rmi.*;
import javax.rmi.PortableRemoteObject;
import java.util.*;
public class TestClient {
public static void main(String[] args) {
try {
     System.out.println("IDFactory");
     Properties prop = new Properties();
     /* prop.put("org.omg.CORBA.ORBInitialHost","192.168.10.5");
     prop.put("org.omg.CORBA.ORBInitialPort","1050");
     prop.put(Context.PROVIDER_URL, "iiop://192.168.10.5:1050");
     prop.put(javax.naming.Context.INITIAL_CONTEXT_FACTORY,"com.sun.jndi.cosnaming.CNCtxFactory");
     InitialContext initial = new InitialContext(prop);
     Object objref = initial.lookup("TimeReport/Data/TestHome");
     TestHome home = (TestHome)PortableRemoteObject.narrow(objref,TestHome.class);
     System.out.println("looking up IDFactory Session Bean");
     Test TestRemote = home.create();
     System.out.println("IDFactory Created ");
     long roleID = TestRemote.getID("TR_ROLE","Role_ID");
     System.out.println("RoleID is " + roleID);
     TestRemote.remove();
     } catch (Exception ex)
     System.err.println("Caught an unexpected exception!" + ex.getMessage());
     ex.printStackTrace();
if it works then let know on [email protected]
cheers
Deepak Sumani

Similar Messages

  • Help:How can I run the J2EE Client Application? Thanks

    Help:How can I run the J2EE Client Application that will access the remote J2EE1.4 application server which runs on another host computer?
    I have developped a stateles senterprise java bean name converter and deloyed it in the j2ee1.4 application server on the host machine A. The converterbean provides the remote home interface and remote interface. At the same time I have developped the j2ee application client named convertappclient. When I access the conveter bean at host computer A through the script 'appclient.bat' as 'appclient -client convertappclient.jar', the client can access the bean sucessfully. Now I want to access the bean through the script 'appclient.bat' at host computer B,what files should I copy from host computer A to host computer B;and what the command line should be like? Thanks!
    The following are the code of the enterprise java bean and it's home interface .
    The client code is also provided.
    The enterprise java bean:
    package converter;
    import java.rmi.RemoteException;
    import javax.ejb.SessionBean;
    import javax.ejb.SessionContext;
    import java.math.*;
    public class ConverterBean implements SessionBean {
    BigDecimal yenRate = new BigDecimal("121.6000");
    BigDecimal euroRate = new BigDecimal("0.0077");
    public ConverterBean() {
    public BigDecimal dollarToYen(BigDecimal dollars) {
    BigDecimal result = dollars.multiply(yenRate);
    return result.setScale(2, BigDecimal.ROUND_UP);
    public BigDecimal yenToEuro(BigDecimal yen) {
    BigDecimal result = yen.multiply(euroRate);
    return result.setScale(2, BigDecimal.ROUND_UP);
    public void ejbCreate() {
    public void ejbRemove() {
    public void ejbActivate() {
    public void ejbPassivate() {
    public void setSessionContext(SessionContext sc) {
    The bean's remote home interface :
    package converter;
    import java.rmi.RemoteException;
    import javax.ejb.CreateException;
    import javax.ejb.EJBHome;
    public interface ConverterHome extends EJBHome {
    Converter create() throws RemoteException, CreateException;
    The bean's remote interface:
    package converter;
    import javax.ejb.EJBObject;
    import java.rmi.RemoteException;
    import java.math.*;
    public interface Converter extends EJBObject {
    public BigDecimal dollarToYen(BigDecimal dollars) throws RemoteException;
    public BigDecimal yenToEuro(BigDecimal yen) throws RemoteException;
    The j2ee application client:
    import converter.Converter;
    import converter.ConverterHome;
    import javax.naming.Context;
    import javax.naming.InitialContext;
    import javax.rmi.PortableRemoteObject;
    import java.math.BigDecimal;
    public class ConverterClient {
    public static void main(String[] args) {
    try {
    Context initial = new InitialContext();
    System.setProperty("java.naming.factory.initial","org.jnp.interfaces.NamingContextFactory");
                   System.setProperty("java.naming.provider.url","jnp://10.144.97.250:3700");
    Context myEnv = (Context) initial.lookup("java:comp/env");
    Object objref = myEnv.lookup("ejb/SimpleConverter");
    ConverterHome home =
    (ConverterHome) PortableRemoteObject.narrow(objref,
    ConverterHome.class);
    Converter currencyConverter = home.create();
    BigDecimal param = new BigDecimal("100.00");
    BigDecimal amount = currencyConverter.dollarToYen(param);
    System.out.println(amount);
    amount = currencyConverter.yenToEuro(param);
    System.out.println(amount);
    System.exit(0);
    } catch (Exception ex) {
    System.err.println("Caught an unexpected exception!");
    ex.printStackTrace();
    }

    Surprisingly I find an upsurge in the number of posts with this same problem. I recently found a post which gave a nice link for this. Follow the steps and it should help:
    http://docs.sun.com/source/819-0079/dgacc.html#wp1022105

  • Error in running EJB Client on a remote machine

    I delploy my beans and can run the EJB Client locally. However when I try to run the Client on another machine, there are errors.
    Here is the errors
    Syntax error
    Out of environment space
    Exception in thread "main" java.lang.NoClassDefFoundError: com/sun/enterprise/appclient/Main
    I have follow the step in the j2ee tutorial and set the env variables according. Here is the bat file I write
    set APPCPATH=CBSAppClient.jar
    set VMARGS=-Dj2eelogin.name=guest -Dj2eelogin.password=guest123 -Dorg.omg.CORBA.ORBInitialHost=192.168.0.2
    runclient -client CBSApp.ear -name CBSClient -textauth
    Do anyone facing the same problem with me?
    And how can I solve the problems?
    This is really URGENT, please help

    You are running on Windows 9x or Me, right? The darn OS has 300 or so bytes allocated for environment by default.
    Try setting the Initial environment to 4096 in the Properties|Memory tab for the batch file. That will get rid of "Out of environment space". The syntax error is another matter; Windows (except NT and derivatives) shells do not allow '=' in an environment variables value. You cannot overcome that. Some software (Sybase for instance) interprets # as = just because of that. Unfortunately, the JVM doesn't take such an approach.
    Better, grab copies of Unix utilities for Windows (www.gnu.org) including the wonderful shell 'bash' and write .sh scripts, which are inherently more powerful.

  • 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

  • Unable to connect via BCP on a remote machine

    Hi, Hoping for some help - probably really basic question!
    I've been using BCP for a while now to import data to a table, where the script is on the same machine as the database.
    What I'm trying to do now is load data into a table on the same DB, but trigger the BCP command from a different machine.
    BCP TeamSandBox.dbo.Adhoc_List in D:\Import\Adhoc_List.txt -t, -f D:\Import\FormatFileAdhoc_list.fmt -T
    This is my main BCP command, and works fine from the local machine, bit when triggered from a remote machine, I get this...
    SQLState = 28000, NativeError = 18456
    Error = [Microsoft][SQL Native Client][SQL Server]Login failed for user 'Domain\UID'.
    SQLState = 42000, NativeError = 4060
    Error = [Microsoft][SQL Native Client][SQL Server]Cannot open database "TeamSandBox" requested by the login. The login failed.
    The domain\account I'm using has full sysadmin access to the server, and db_owner to the database. Equally, running SQLCMD commands from the same remote machine also works just fine - including inserting into the same table.
    Is there an access priviledge I'm missing out here?
    Thanks

    You have missed the -S parameter to enter your servername/instancename and -d for database name. -d is not mandatory but is good to avoid confusion and to make sure you hit the correct database.
    BCP Utility -
    http://msdn.microsoft.com/en-GB/library/ms162802.aspx
    Regards, Ashwin Menon My Blog - http:\\sqllearnings.com

  • J2EE client mapping in WL6

    I've read the not-so-good dox about running a J2EE client in WL6:
    - make a jar packaged with the standard META-INF/application-client.xml
    - put an xml called <jarname>.runtime.xml in the dir with the client jar
    (for WL6 specific jndi mappings)
    - run the jar with weblogic.j2eeclient.Main [jar] urlthis is cumbersome in development. my J2EE client is mostly made of junit
    testcases that call entities and session beans. There are dozens of "Main"
    classes in the jar, that I might want to run individually!
    I would like to run the testcases directly using the compiled classes
    directory - but then the jndi mappings between the standard, logical names
    like "java:comp/env/ejb/mySessionHome" and the WL-specific names like
    "ejb.myapp.mySessionHome" fail.
    actually, if I run the client using in code the actual WL6 jndi names, no
    deployment info is necessary, but I want to use in code only the logical
    names.
    so, my question is : how do I run an unpackaged client that picks up the
    jndi mappings specified in the .runtime.xml ??
    Edo
    PS - I basically want to replicate on the client-side the way I work on the
    server-side : I use WL6 dynamic deployment of an unpackaged ear : no
    explicit calls to jar and ejbc - which helps my code-complie-test cycle a
    lot !

    Hi Sandy,
    If I understand you correctly, then you are asking how to make
    a stand-alone java client, right? According to the J2EE spec, a
    stand-alone java client also needs to be deployed to a container.
    A long time ago (before OC4J, when there was only OrionServer)
    I struggled for about a week before finally figuring out how to
    do this.
    However, I then discovered that, with OrionServer (and therefore
    also with OC4J), your stand-alone java client does not have
    to be deployed to a container and can be launched from the command
    line with the "java" command.
    If you do want to deploy your java client, then the only way
    I know to launch it is by using the "applicationlauncher.jar"
    file. This file was part of the first OC4J (version 1.0.2.2).
    It disappeared in the next version (9.0.2) and now has reappeared
    in the latest version (9.0.3) -- go figure! Like I said, by the
    time I started using OC4J, I was only using non-deployed clients,
    so I had no need for "applicationlauncher.jar", so the fact it
    was missing from version 9.0.2 didn't affect me.
    In any case, I recall information on how to use the "applicationlauncher.jar"
    file on the following web sites:
    http://www.orionserver.com
    http://www.orionsupport.com
    http://www.atlassian.com
    http://www.elephantwalker.com
    I also recall answering similar questions several times previously
    on this forum, so a search of the forum archives may also help.
    I hope I have correctly interpreted your question and given you
    a helpful answer.
    Good Luck,
    Avi.

  • Track flash errors on remote machine

    Hey,
    I'm wondering may I run Adobe Scout to track the flash errors on remote machine?

    You can remotely profile with Scout, so long as the machine running Scout is visible to your remote machine (it has to be able to connect to it). See the section "Local and remote profiling" in the getting started guide for Scout:
    http://www.adobe.com/devnet/scout/articles/adobe-scout-getting-started.html

  • Start Lync 2010 client on remote machine

    I have a couple of users who like to logout of their Lync 2010 client. They apparently think that they are being watched through this program.  This is a bit of a hassle since we use this program to see if users are sitting at their desk.
    I am trying to write a .bat file to automatically kill the communicator process and then restart the program on the remote machine.  I am having nothing but success with killing the communicator process using pskill.  When attempting to start the
    client using psexec, however, it will not work.  
    It will start a new communicator.exe process on the remote computer just fine.  It doesn't seem to actually start the program though.  There is no icon in the taskbar showing the program is running and communication with the user does not work
    as it still shows them offline.
    On the local machine (the one I am running from), I just use a bat file that calls another .bat file on the remote machine.  The .bat file on the remote machine kills all communicator.exe processes using pskill -t.  It then attempts to start a
    new communicator session using "start communicator /fromrunkey"  This will start a new communicator.exe process on the remote computer without any problems. That's all it will do though.
    Anybody have any suggestions on what I can do to make it actually launch the client on the remote computer?  I have exhausted all options I can come up with.  I would like to get this working so the users in question finally figure out that if
    they logout of Lync it is going to just start back up on them.  Hopefully after time they will catch on and stop logging out of the program.

    Have we tried giving the complete location of the communicator.exe
    "start c:/.../communicator.exe /fromrunkey
    Using the same script are you able to open Notepad.exe on the remote machine just for testing 
    for more info look at http://blogs.technet.com/b/rischwen/archive/2013/06/20/lync-2013-client-auto-start-registry-key.aspx
    Please remember, if you see a post that helped you please click ;Vote As Helpful&quot; and if it answered your question please click &quot;Mark As Answer&quot; Regards Edwin Anthony Joseph

  • 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.

  • Checking for running applications on remote machines

    I am trying to check for application running on remote machine - it could be LV or some other application.
    I have Server and Client applications (developed in LV) running as .exe on separate computers. Only LV-Runtime is installed. They exchange data via Datasockets. The problem I have is that if Client is launched before the server the (Client) takes ownership of certain sockets which causes Server to fail on startup. All the remote Clients have to be shotdown before Server can be started again properly.
    I was wondering if anyone has run into a similar problem.

    Hi Slawek,
    I would suggest using Remote Front Panels in LabVIEW. Remote front panels allow you to view and control a VI front panel remotely, either from within LabVIEW or from within a web browser, by connecting to the LabVIEW built-in web server. There is a tutorial Developer Zone: Remote Panels in LabVIEW -- Distributed Application Development that will provide you with more information.
    Also, there are example programs in LabVIEW that walk you through how to programmatically connect to a remote front panel. Go to LabVIEW >> Help >> Find Examples >> Networking >> General >> RemotePanelMethods-Client/Server.vi.
    Hope
    this helps and good luck!
    Kileen C.
    Applications Engineer
    National Instruments

  • How to run Labview exectuable on remote machine?

    I am trying to use VI Server to launch a built Labview application (.exe) residing on a remote PC from a CRIO.  I need to run this .exe programmatically and I would like to do this with only the LV Run-Time Engine installed on the remote PC (Windows XP).  I am currently able to do this successfully, but only if I have the LV Development Enviroment splash screen is open on teh remote PC.  I assume this has somehting to do with the LV VI Server not running when the LV DE is closed. 
    I have also tried to build a dummy LV application that runs on the remote machine indefinitely (infinite while loop) hoping this would initiate the VI Server but it doesn't seem to work either, I get Error 63.
    Anyone done this before?
    Thanks
    Dan

    Thanks, I've seen this one already.  I will be using a CRIO as my host so I believe ActiveX cannot be used to launch Labview on the remote PC.
    I have been troubleshooting this issue bu using a PC (Win XP) for my host and client.  I have managed to get a Labview application to run as a Windows service on my remote PC and this application runs an inifinte while loop.  But even with this application running I receive Error 66 while trying to open an application reference to a VI on the client PC form the host PC.  Everyhting works fine if I have the LV splash screen open on the remote machine though. 

  • Error in calling EJB Client from Remote Machine.

    While running the client from local machine, it works perfectly.
    But when I try to run the same client from remote machine it gives me the error.
    I deployed the ejb in sun server 1.4 with jndi as "xxx.xxx.xxx.xxx/MyTemperature".
    Following is the code snippet from the clint.
    Context initial = new InitialContext();
              Object objref = initial.lookup("192.168.0.20/MyTemperature");
              home = (TemperatureHome) PortableRemoteObject.narrow(objref, TemperatureHome.class);
              Temperature degreeConverter = home.create();Following is the error
    E:\EJBRemoteTest>java TempClient.TemperatureClient
    May 14, 2008 10:00:24 AM com.sun.corba.ee.impl.legacy.connection.SocketFactoryCo
    nnectionImpl <init>
    WARNING: ORBUTIL.connectFailure
    org.omg.CORBA.COMM_FAILURE:   vmcid: SUN  minor code: 201  completed: No
            at com.sun.corba.ee.impl.logging.ORBUtilSystemException.connectFailure(O
    RBUtilSystemException.java:1739)
            at com.sun.corba.ee.impl.logging.ORBUtilSystemException.connectFailure(O
    RBUtilSystemException.java:1757)
            at com.sun.corba.ee.impl.legacy.connection.SocketFactoryConnectionImpl.<
    init>(SocketFactoryConnectionImpl.java:74)
            at com.sun.corba.ee.impl.legacy.connection.SocketFactoryContactInfoImpl.
    createConnection(SocketFactoryContactInfoImpl.java:77)
            at com.sun.corba.ee.impl.protocol.CorbaClientRequestDispatcherImpl.begin
    Request(CorbaClientRequestDispatcherImpl.java:152)
            at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.request(CorbaC
    lientDelegateImpl.java:121)
            at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.is_a(CorbaClie
    ntDelegateImpl.java:214)
            at org.omg.CORBA.portable.ObjectImpl._is_a(ObjectImpl.java:112)
            at org.omg.CosNaming.NamingContextHelper.narrow(NamingContextHelper.java
    :69)
            at com.sun.enterprise.naming.SerialContext.getProvider(SerialContext.jav
    a:58)
            at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:126
            at javax.naming.InitialContext.lookup(InitialContext.java:347)
            at TempClient.TemperatureClient.main(TemperatureClient.java:17)
    Caused by: java.lang.RuntimeException: java.net.ConnectException: Connection ref
    used: connect
            at com.sun.enterprise.iiop.IIOPSSLSocketFactory.createSocket(IIOPSSLSock
    etFactory.java:520)
            at com.sun.corba.ee.impl.legacy.connection.SocketFactoryConnectionImpl.<
    init>(SocketFactoryConnectionImpl.java:58)
            ... 10 more
    Caused by: java.net.ConnectException: Connection refused: connect
            at sun.nio.ch.Net.connect(Native Method)
            at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:460)
            at java.nio.channels.SocketChannel.open(SocketChannel.java:146)
            at com.sun.enterprise.iiop.IIOPSSLSocketFactory.createSocket(IIOPSSLSock
    etFactory.java:511)
            ... 11 more
    Caught an unexpected Exception!
    javax.naming.CommunicationException: Can't find SerialContextProvider [Root exce
    ption is org.omg.CORBA.COMM_FAILURE:   vmcid: SUN  minor code: 201  completed: N
    o]
            at com.sun.enterprise.naming.SerialContext.getProvider(SerialContext.jav
    a:66)
            at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:126
            at javax.naming.InitialContext.lookup(InitialContext.java:347)
            at TempClient.TemperatureClient.main(TemperatureClient.java:17)
    Caused by: org.omg.CORBA.COMM_FAILURE:   vmcid: SUN  minor code: 201  completed:
    No
            at com.sun.corba.ee.impl.logging.ORBUtilSystemException.connectFailure(O
    RBUtilSystemException.java:1739)
            at com.sun.corba.ee.impl.logging.ORBUtilSystemException.connectFailure(O
    RBUtilSystemException.java:1757)
            at com.sun.corba.ee.impl.legacy.connection.SocketFactoryConnectionImpl.<
    init>(SocketFactoryConnectionImpl.java:74)
            at com.sun.corba.ee.impl.legacy.connection.SocketFactoryContactInfoImpl.
    createConnection(SocketFactoryContactInfoImpl.java:77)
            at com.sun.corba.ee.impl.protocol.CorbaClientRequestDispatcherImpl.begin
    Request(CorbaClientRequestDispatcherImpl.java:152)
            at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.request(CorbaC
    lientDelegateImpl.java:121)
            at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.is_a(CorbaClie
    ntDelegateImpl.java:214)
            at org.omg.CORBA.portable.ObjectImpl._is_a(ObjectImpl.java:112)
            at org.omg.CosNaming.NamingContextHelper.narrow(NamingContextHelper.java
    :69)
            at com.sun.enterprise.naming.SerialContext.getProvider(SerialContext.jav
    a:58)
            ... 3 more
    Caused by: java.lang.RuntimeException: java.net.ConnectException: Connection ref
    used: connect
            at com.sun.enterprise.iiop.IIOPSSLSocketFactory.createSocket(IIOPSSLSock
    etFactory.java:520)
            at com.sun.corba.ee.impl.legacy.connection.SocketFactoryConnectionImpl.<
    init>(SocketFactoryConnectionImpl.java:58)
            ... 10 more
    Caused by: java.net.ConnectException: Connection refused: connect
            at sun.nio.ch.Net.connect(Native Method)
            at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:460)
            at java.nio.channels.SocketChannel.open(SocketChannel.java:146)
            at com.sun.enterprise.iiop.IIOPSSLSocketFactory.createSocket(IIOPSSLSock
    etFactory.java:511)
            ... 11 moreThis is a stateless session bean.
    Can anybody provide me solution for this
    I also tried with java.util.Properties class but result is same.

    You are running on Windows 9x or Me, right? The darn OS has 300 or so bytes allocated for environment by default.
    Try setting the Initial environment to 4096 in the Properties|Memory tab for the batch file. That will get rid of "Out of environment space". The syntax error is another matter; Windows (except NT and derivatives) shells do not allow '=' in an environment variables value. You cannot overcome that. Some software (Sybase for instance) interprets # as = just because of that. Unfortunately, the JVM doesn't take such an approach.
    Better, grab copies of Unix utilities for Windows (www.gnu.org) including the wonderful shell 'bash' and write .sh scripts, which are inherently more powerful.

  • Getting absolute path of a file running in remote machine

    Hi,
    I want to get the absolute path of a file that will be created in the remote server. Inside a directory XYZ in remote machine, the file will be created and the remote machine's address is xxx.xx.x.x. I have used the following snippet
    File f=new File(Filename);
    f.getAbsolutePath();
    Now, in the output am getting the absolute path of the file as d:/XYZ/Filename. Is there any way to get the output as xxx.xx.x.x/XYZ/FileName ? Can someone please suggest why the server details are not fetched and instead the directory name is fetched.
    I am running the program to get absolute path of a file in my remote machine. and for accessing that remote file from my machine, I use xxx.xx.x.x/XYZ/FileName.
    Thanks in advance.

    I'm going to take it a step further and guess at what the OP is going to say next.
    On host w.x.y.z there's a file /a/b/share/some_dir/file.txt.
    Host w.x.y.z is sharing the /a/b/share/ directory as SHARE.
    Client mounts \\w.x.y.z\SHARE as D:, so that he sees D:/some_dir/file.txt.
    OP now wants to know not just that D:/some_dir/file.txt is \\w.x.y.z\SHARE/some_dir/file.txt, but also wants to know that on w.x.y.z, SHARE corresponds to /a/b/share.
    @OP: If that's what you want, forget it. Part of the premise of file common drive/directory sharing protocols is that the client does not know or care and does not need to know or care what the absolute path is on the serving host. It's none of his business.

  • How can I run aqua applications on remote machine

    Hi, I would like to know how to run an aqua application on a remote mac, but display the result on the local machine. I can easily do that for X applications under Unix through ssh, but I don't know what is the equivalent for aqua. Since the remote machine is much faster than my local one, I don't want to just mont the remote disk, since in this way I'll be running on my slow local resources.
    Thanks

    To the best of my knowledge, Screen Sharing is your only option.
    Screen Sharing is Apple's dressed up VNC.  When going Mac to Mac it is rather good.  When mixing 3rd party VNC clients or servers with Apple's Screen Sharing components, you performance may vary.

  • Install SQL Server 2012 SP1 on a Windows Server 2012 R2 Failover Cluster - hangs at "Running discovery on remote machine" on VMWare VSphere 5.5 Update 1

    <p>Hi,</p><p>I'm trying to install SQL Server 2012 SP1 on the first node of a Windows Server 2012 R2 failover cluster.</p><p>The install hangs whilst displaying the "Please wait while Microsoft SQL Server 2012 Servce
    Pack 1 Setup processes the current operation." message.</p><p>The detail.txt log file shows as follows:</p><p>(01) 2014-07-17 15:36:35 Slp: -- PidInfoProvider : Use cached PID<br />(01) 2014-07-17 15:36:35 Slp: -- PidInfoProvider
    : NormalizePid is normalizing input pid<br />(01) 2014-07-17 15:36:35 Slp: -- PidInfoProvider : NormalizePid found a pid containing dashes, assuming pid is normalized, output pid<br />(01) 2014-07-17 15:36:35 Slp: -- PidInfoProvider : Use cached
    PID<br />(01) 2014-07-17 15:36:35 Slp: Completed Action: FinalCalculateSettings, returned True<br />(01) 2014-07-17 15:36:35 Slp: Completed Action: ExecuteBootstrapAfterExtensionsLoaded, returned True<br />(01) 2014-07-17 15:36:35 Slp: ----------------------------------------------------------------------<br
    />(01) 2014-07-17 15:36:35 Slp: Running Action: RunRemoteDiscoveryAction<br />(01) 2014-07-17 15:36:36 Slp: Running discovery on local machine<br />(01) 2014-07-17 15:36:36 Slp: Discovery on local machine is complete<br />(01) 2014-07-17
    15:36:36 Slp: Running discovery on remote machine: XXX-XXX-01</p><p>After about 4 hours and 10 minutes, the step seems to time out and move on, however it doesn't seem to have discovered what it needs to and the setup subsuently fails</p><p></p>

    Hi,
    Sorry Information you provided did not helped can you post content of both summary file and details,txt file on shared location for analysis.
    Can you download Service pack again and try once more
    Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it.
    My TechNet Wiki Articles

Maybe you are looking for