How to run the client from server

HI FRIENDS,
I HAVE A SMALL PROBLEM WITH MY PROGRAM.I WANTED TO START THE CLIENT FROM SERVER I.E THE CLIENT SHOULD BE EXECUTED AS SOON AS THE SERVER STARTS EXECUTION.SOME OF THEM SAID THAT THIS CAN BE DONE BY USING 'EXEC' COMMAND.BUT I COULDNT.SO PLEASE ANYONE HELP ME IN DOING THIS.
BYE
KP

HI FRIENDS,
I HAVE A SMALL PROBLEM WITH MY
MALL PROBLEM WITH MY PROGRAM.I WANTED TO START THE
CLIENT FROM SERVER I.E THE CLIENT SHOULD BE EXECUTEDCan't be done, unless the server and the client are on the same machine, or you have some other COM object or service set up to allow someone to do this remotely

Similar Messages

  • How to run the JNLP from Command Line

    Hi All,
    how to run the JNLP file from the remote machine from our command line. I have requirement to run this JNLP file in java 1.4.2 version. Can any one tell me the procedure or the steps that are needed to run this file at command prompt.
    Regards,
    Prasanna.
    Edited by: VPrasanna on May 19, 2008 4:43 AM

    >
    I am getting "**java.security.AccessControlException: access denied (java.net.SocketPermission wwwgate0.mot.com:1080 connect,resolve)**" when I start the Web Start Client. >This seems like a largely separate problem to running the JNLP from the command line. It might have been better to end this thread (assign the dukes) and start a new one.
    >
    ..Can you help me in resolving this issue. >However, I suspect I can guess the problem.
    If this app. is normally hosted on wwwgate0.mot.com then it can 'phone home' to the server without further permission, but if you are running it from the command line, that might not be the codebase anymore.
    If you wish to do 'local testing' of such an app., I would recommend setting up a server like Tomcat on the local machine, and serving the test app. directly off that.
    >
    ..Its urgent...>Sun offers a number of options for urgent matters, such as support tickets. Perhaps you should look into one of those.

  • How to see the image from server

    hi,
    I have uploaded an image to server using following code. I want to see the image from server now. When i open this page then it show image. But when i want to see this image from server then it shows blank. Whats the problem of my code? Give me solution.
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
    <%@ page import="org.apache.commons.fileupload.*" %>
    <%@ page import ="org.apache.commons.fileupload.servlet.*" %>
    <%@ page import ="java.util.*" %>
    <%@ page import ="java.io.*" %>
    </head>
    <title>User Registration page</title>
    <body>
    <%
    boolean isMultipart = ServletFileUpload.isMultipartContent(request);
    FileItemFactory factory=new org.apache.commons.fileupload.disk.DiskFileItemFactory();
    ServletFileUpload upload =new ServletFileUpload(factory);
    List items = upload.parseRequest(request);
    Iterator iter = items.iterator();
         while (iter.hasNext()) {
         FileItem item = (FileItem) iter.next();
         if (!item.isFormField()) {
         String path=application.getRealPath("/");
         File tempfile=new File(item.getName());
         File uploadfile=new File(path,tempfile.getName());
         item.write(uploadfile);
         %>
         <br>
    <img src="<%=uploadfile%>" height="100" width="100">
    <br>
    <%=uploadfile%>
    <%
    item.delete();
    %>
    </body>
    </html>Is there anybody can help me.
    With regards
    Bina

    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
    <%@ page import="org.apache.commons.fileupload.*" %>
    <%@ page import ="org.apache.commons.fileupload.servlet.*" %>
    <%@ page import ="java.util.*" %>
    <%@ page import ="java.io.*" %>
    </head>
    <title>User Registration page</title>
    <body>
    <%
    String filename = "";
    boolean isMultipart = ServletFileUpload.isMultipartContent(request);
    FileItemFactory factory=new org.apache.commons.fileupload.disk.DiskFileItemFactory();
    ServletFileUpload upload =new ServletFileUpload(factory);
    List items = upload.parseRequest(request);
    Iterator iter = items.iterator();
         while (iter.hasNext()) {
         FileItem item = (FileItem) iter.next();
         if (!item.isFormField()) {
         String path=application.getRealPath("/");
         filename = item.getName();
                         File tempfile=new File(filename);
         File uploadfile=new File(path,tempfile.getName());
         item.write(uploadfile);
         %>
         <br>
    <img src="<%=path+filename%>" height="100" width="100">
    <br>
    <%=uploadfile%>
    <%
    item.delete();
    %>
    </body>
    </html>

  • How to run the client program in weblogic 8.1 server

    Hi
    I am new to EJB 2.0. I am deployed sucessfully a session ejb program.
    While running an ejb client program it throws an exception. In my session ejb program i created two jar file. one is sessionejb.jar and another one is sessionejbclient.jar. In sessionejb.jar contains home ,remote ,session bean class and deployment descriptor.In sessionejbclient.jar contains home,remote and client program. Both jar files are included in class path of environment variable( i am using Standalone server).
    Plese guide me how to run an session ejb client correctly.
    Regards
    Jaiganesh

    Both jar files are
    included in class path of environment variable( i am
    using Standalone server).did u include both these jars in the "weblogic's class path" ?
    in that case, it obviously wont work.
    what u need is an understanding of the following topics (i have described them briefly, but for details u can always check the documentation of weblogic):
    1. Class loaders in weblogic: there are various levels of class loaders. at the top is the weblogic's class loader. below it are various EARs' class-loaders. and so on....
    2. Packaging. You must ensure that in the same class loader, there are not two classes from 2 different jars.
    hope that helps

  • How to delete the files from server through OAF page

    Hi All,
    I have a requirement in which i am creating files on server through my CO code.
    Now once the page is rendered, i want to delete the files from the server.
    Just wondering how can we achieve this.
    Kindly advice!
    Thanks,
    Sachin

    Hi Sachin
    all the methods in the processRequest() are called during loading of the page.
    all the methods in the processFormRequest() are called during any action events on the page.
    So Use the method in processFormRequest() : write a method in
    that on which action you want to delete the file.
    regards
    sridhar

  • Internal Server Error while running the page from server

    Hi gurus,
    We are getting below error while running the oaf page from our instance. we have executed the query behind the page and it took around 40 seconds to execute. but oaf page is getting errored out with below error message after taking long time.
    Internal Server Error
    The server encountered an internal error or misconfiguration and was unable to complete your request.
    Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.
    More information about this error may be available in the server error log.
    Please help me..
    Thanks
    Raghava

    Is it 9i Jdeveloper or 10G. Also check the Jdeveloper is being run on a compatible database. A Jdeveloper for 11i should run on an instance having 11i installed and same for R12. Also check the version of OA Frameworrk in the Jdeveloper you are using and the version deployed in instance.
    Regards
    Sumti

  • How to list the umages from server system

    Hi,
    I am using tomcat. while clicking on a link in my application it will invoke the swing file. in that file i have to list out the images from my server.
    While accessing our application it retrives from the local system images not from server...
    What is the code for retrieving images from system?

    Just try this out
    i dont' know if u asked for this
    import the necessary classes
    client:
    public class Client
    public static void main(String args[]) throws Exception
    Socket s = new Socket("197.0.0.1", 1000);
    PrintStream ps = new PrintStream(s.getOutputStream());
    ps.println("hello.txt");
    ObjectInputStream ois = new ObjectInputStream(s.getInputStream());
    byte[] buffer = new byte[ois.available()];
    buffer = (byte[])ois.readObject();
    FileOutputStream fos = new FileOutputStream("hello.txt");
    fos.write(buffer);
    Server
    public class Server
    public static void main(String args[])
    ServerSocket ss = new ServerSockt(1000);
    Socket s = ss.accept();
    BufferedReader br = new BufferedReader(new InputStreamReader(s.getInputStreamReader()));
    String fname = br.readLine();
    FileInputStream fis = new FileInputStream(fname);
    byte[] buffer = new byte[fis.available()];
    fis.read(buffer);
    ObjectOutputStream oos = new ObjectOutputStream(s.getOuputStream());
    oos.writeObject(buffer);
    }

  • How to migrate the portal from server A to Server B

    Dear Expert,
    I have existing R3 name A and portal connecting. I have setup a new R3 name B on different server. Could you please provide me the steps on how can I migrate the portal connection from Server A to Server B. What are the steps involve .e.g. ITS and etc.
    Thank you
    KS

    Hi,
       The communication between portal server and R3 server happens via system only. If you don't want to use R3 system A hereafter, then look for R3 system alias created for 'A' in portal. You can delete that. Now for using new R3 system B in portal, create a new system for B in portal using System Administration. Decide which SSO you are going to use. If user is same in portal and r3, then logon tickets. Else user mapping method.
    Check these documents on how these can be done.
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/ep/howtoConnecttoSAPR3SystemthroughEnterprisePortal7.0Usingan+iView.
    Connecting To R/3 From Portal
    Configuring EP for connecting to SAP R/3
    Regards,
    Harini S
    Consider rewarding points for helpful answers

  • How to run the servlet  from nwds

    Hi........All
                     my scenario is in sender system so many files are there in that control file and data files .control file have names of the data files  first i have to pick the control files after that i have to pick the data files based on that control file for that purpose i written one FTP Client program for retrieving the files and wrote logic also it's working fine by stand lonly now i created one java proxy for that i developed one ejb module and that ejb module is called by one j2se application that is servlet and i created WAR file for servlet and JAR file for ejbmodule and i given this references  to  EAR file and i deployed that EAR file from NWDS it's deployed successfully
                         now i want call that servlet how can i call that servlet and how can i test that EAR file whether it's working fine or not. any one  can provide that documentation on that i really appreciate you
    warm regards
    syamprasad.p

    Hi Syam
    If your error is HTTP 404, then
    Error: 404 Not Found
    Description: The server has not found anything matching the Request-URI. No indication is given of whether the condition is temporary or permanent. The 410 (Gone) status code SHOULD be used if the server knows, through some internally configurable mechanism, that an old resource is permanently unavailable and has no forwarding address. This status code is commonly used when the server does not wish to reveal exactly why the request has been refused, or when no other response is applicable.
    <b>Possible Tips:-</b> for HTTP_RESP_STATUS_CODE_NOT_OK 404
    • 404 is an HTTP response code that indicates that the resource in question couldn't be found. Usually this is due to an incorrect URL, so it is better to cross check all URLs. Check pipeline URL in the SLD in the business system of the Integration Server For this go to SLD->Business System-><yourIntegrtaion Server>->Pipeline URL: It should be like this http://<host>:<port>/sap/xi/engine?type=entry Where host is the host name of the Integration Server and port is the HTTP(8xxx) port. To verify this in Integration Server you can do like this. Go to SXMB_ADM->Integration Engine Configuration->Choose Edit from Menu -> Change Global Configuration Data to switch to change mode. Then select System Landscape - Load Configuration. (This is not required always)
    • Check that the port really is the ICM HTTP Port and not the J2EE port i.e SMICM then menu GOTO --> SERVICES and check the port number for HTTP. It should be HTTP port
    • If the error is Page cannot be displayed, cannot find server in https configurations Check and correct the SSL configuration for the ABAP and the J2EE side of the system
    • If the error is because of integration server when using Proxy communications then check these. i.e SXMB_ADM->Integration Engine Configuration->Corresponding Integration Server enrty should be dest://<Http Integration server-Destination> Where < Http Integration server -Destination > is the RFC destination (SM59) of type HTTP connection (type H) to the Integration Server. In this case, host name, port, and path prefix are saved in the RFC destination.
    Ravi.

  • How could I run the client

    I deployed an ejb bean and client on a server. I actually run the deploytool on the server machine. Now I want to run the client from a different machine. I took the client jar the deploytool created and run it on the client machine but it gave me the following message
    Root exception is omg.org.CORBA.COMM_FAILURE minor code 1398079689 completed no.
    Anybody know how to solve this problem?
    To explain the problem again with example: I created an application (.ear) file on the server machine. I copied the ear file and the client jar file to another machine. I run the client.jar from the new machine (client). And I got the above message

    Apologises. The URL in the last post is about JMS setup rather than EJB applications. I suspect that within client.jar or somewhere else on the client machine there will be a jndi.properties file that isn't correctly configured or perhaps doesn't reflect the location of your server.

  • How to run the form that is only installed on a PC and not using a server?

    Hi
    I am new to Oracle and have taken the forms class. But I do not understand how to run the form from my PC using XP windows. (Do not have access to a server).
    I have started the OC4J, made sure the listener was started, compiled the form and then when I run it, it automatically goes to the HTTP:
    ERROR: res://ieframe.dll/acr_depnx_error.htm#,http://kevin:8889/forms/frmservle
    I connected to the database correctly. I can process a report and it does nor try to access the internet. My only issue is running the form. I verified it compiled.
    Sorry for a basic question. Could someone please help, I tried reviewing other questions, but not sure if they are connecting to a server or not.
    I see webutil but is it required if I don't have a server? Thank you in advance.

    Regardless of the version, it appears that you may not have configured the Builder. Do the following:
    1. Open the Builder
    2. From the menu, select Edit > Preferences > Runtime
    3. In the box labeled "Application Server URL:", enter a local URL needed to run a form OR click the button labeled "Reset to Default". If you decide to manually enter a value, it would looks something like this:
    http://localhost:8889/forms/frmservlet
    4. In the field labeled "Web Browser Location:", enter the path and executable to your preferred browser. So for example if IE is your browser of choice the entry would most likely look like this:
    C:\Program Files\Internet Explorer\IEXPLORE.EXE
    5. Click on OK and retest.
    By the way, you can manually enter a URL in the browser. Clicking the RunForm button from the Builder is strictly optional. To run the "test" form directly from the browser enter the following into the browser's address field:
    http://localhost:8889/forms/frmservlet?form=test
    More information about Forms can be found on OTN:
    http://www.oracle.com/technology/products/forms/index.html

  • Is it possible to refresh the client from serverside in j2ee application

    Hello
    Is it possible to refreshh the client from server side in j2ee Application server using JMS technology,
    If you know about it plz. mail me on [email protected] Or plz. reply me over here.
    Thank you

    You can either use server push or client pull.
    Server push:
    Server push the changes to client on every certain time interval.
    You can make client to subscribe for JMS topic created on server side. Every certain interval, server needs to publish a message and JMS will distribute all the message to the subscribers (clients)
    Client pull:
    Each client request/inquiry the changes from server on every certain time interval.
    You can't use JMS (you can but you must use P2P (queue), which is not recommended in this case).
    You can make the client to post HTTP request to get the latest data from server on every certain time interval.
    Alex

  • How to run the cursor

    HI
    can i knw how to run the cursor from the package. The cursor name is "cursor fet_rec".
    procedure update_hdr is
    cursor fet_rec is
    i rhave the run procdure but i am unable to run the cursor.
    procedure update_hdr is
    cursor fet_rec is
    select status, request_hdr_id
    from xxkfupm01.kfupm_mcr_request_header
    where status = 'Approved'
    for update;
    cnt1 NUMBER := 0;
    cnt2 NUMBER := 0;
    BEGIN
    for rec in fet_rec Loop
    select count(*)
    into cnt1
    from XXKFUPM01.kfupm_mcr_request_details
    where request_hdr_id = REC.REQUEST_HDR_ID;
    select count(*)
    into cnt2
    from XXKFUPM01.kfupm_mcr_request_details
    where request_hdr_id = REC.REQUEST_HDR_ID
    and status = 'Complete';
    if (cnt1 = cnt2) THEN
    update xxkfupm01.kfupm_mcr_request_header
    set status = 'Complete'
    where current of fet_rec;
    END IF;
    END LOOP;
    Regards
    Arif
    Edited by: user11309801 on Jan 3, 2011 6:56 AM
    Edited by: user11309801 on Jan 3, 2011 7:00 AM

    http://tkyte.blogspot.com/2005/06/how-to-ask-questions.html
    http://www.oracle.com/pls/db102/homepage
    http://www.oracle.com/pls/db112/homepage

  • How to Run the MDK Sample Example Application in SAP NWDS

    Hi all,
    As i go through the MDK 2.5 i have physically under gone with all option that are included in
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/21eba3a7-0601-0010-b982-92f1fca3258a
    this site and imported the Example 1 Application in nwds, but when try to run it,this application asking to mention some main Class option .
    tell me which class should i mention to run the example1 application.
    so please help me out of it ,
    thanks and Regards,
    Venu

    hi Venu Gopal,
    Welcome to the SDN and Mobile Community.
    Pl. check my weblog on this "Execute and Debug Applications from NWDS". /people/arunkumar.ravi/blog/2006/02/22/execute-debug-your-mi-code-from-nwds
    I've explained how to run the application from NWDS itself.
    Regards
    Arunkumar R

  • How to run ejb client on a separate host using Oracle example

    The example I used was under $ORACLE_HOME/javavm/demo/examples/ejb/basic/jdbcimpl
    If I used the Makefile provided to run the client and server, it worked ok. Now I tried to move the client to an NT machine and it did not work. (BTW, the server was on a Linux machine.)
    What I did was to copy the compiled class and jar files to NT (Client.class, employee/*.class aurora_client.jar, vbjapp.jar, and vbjorb.jar). After I ran it, I got an error in javax.naming.InitialContext.lookup.
    I compiled and ran the code using jdk1.1.8. If I recompiled the code on NT using jdk1.3, I got a CORBA.OBJECT_NOT_EXIST error.
    Any clue?

    Copy the following files to the CT's machines. Copy the server_generated.jar also to the CT's machine. In your case the file will be there in the $ORACLE_HOME/javavm/demo/examples/ejb/basic/jdbcimpl directory.
    C:\ORA816\lib\aurora_client.jar;
    C:\ORA816\jdbc\lib\classes111.zip; // Replace this with classes12.zip if you are using JDK 1.2.2
    C:\ORA816\sqlj\lib\translator.zip; // If you are using SQLJ in the CT's code
    C:\ORA816\lib\vbjorb.jar;
    C:\ORA816\lib\vbjapp.jar;
    server_generated.jar
    Set you classpath to include the all the above files.
    Oracle 8.1.6 can work with JDK 1.2.2 and JDK 1.1.8. Please try with the JDK 1.2.2 and let us know the results.
    null

Maybe you are looking for

  • How to install window xp in compaq presario cq60 not book

    how i install window xp in compaq presario cq60 in my not book! please help me, i have trouble with vista so please sir help me. i can't find cam driver, not work properly with .net. there ar so many problame so please help me please please..........

  • National character

    Hello ! I have a problem with polish (national) character. I use JDBC driver com.ibm.as400.access.AS400JDBCDriver from JT400.zip (ver.3_1) to connect to AS/400 DB2 - Coded Character Set Identifier . . . . . : 65535 In connection string (URL) I use pa

  • Immidiate crash of Flash, unable to disable hardware acceleration. Solved!

    Flash video/content crashes instantly, so it makes it impossible to right-click it and enter the settings to disable hardware acceleration. This issue wasn't solved for over 2 years in other forum posts, but I finally did it. You have to temporarily

  • RSS FEEDS NOT UPDATING

    Since may 22 im not getting any new updates on the RSS Feeds that im subscribed. and i ve checked and subscribed in new ones, and still not working. Thanks! Carlos Morales

  • Pictures don't play... How to make a slide show with iMovie ?

    Please help. I drop pictures into time line in iMovie 10 and they don't  apear in the window I can't play them. where as video can be played. but  when I move cursor over the pictures only green screen apears. Why ????