Calling a remote program on the server from the client

Hi, I'm new to Java/Jdeveloper/Oracle I'm writing a small app in
Jdeveloper 3.2 running on Windows that connects to an Oracle
8.1.6 on a Redhat Linux. I have a few programs writen in C that
run on the server, and would like to call them from the client
machine with a few parameters. is there a way of doing that?
it's just like calling "ls -la filename" from the remote
client. BTW, I don't need to get a response from the server, I
just need to initiate the call.
Thanks for any help.
John

JDeveloper is an IDE not a platform. what sort of app are you
writing: client server application, applet, JSP?
APC

Similar Messages

  • I have a Mac on my home network and also a Systemline music server on same network. My PC was able to find the server but my MAC cannot. I can ping the server from the mac, but cannot actually connect . Also can't add the mac as a location from server

    I have a Mac on my home network and also a Systemline music server on same network. My PC was able to find the server but my MAC cannot. I can ping the server from the mac, but cannot actually connect . Also can't add the mac as a location from server, despite following the Systemline instructions that impy this can be done.
    Can anyone please advise what I am doing wrong?

    Hi LowLuster
    Thanks for reply. I am not an expert on these sharing protocols but I think I have turned on SMB sharing but still wont connect. I tried adding netwrik drive by using cntrl K in finder and using smb\\network address but nothing. It is driving me mad!!

  • TS1402 I can not copy any files from the server & from the Finder. System MAC OS 10.7.5

    I can not copy any files from the server & from the Finder. System MAC OS 10.7.5
    <Email Edited by Host>

    Hi, what is the no boot directory found about???
    Can you give details step by step of what you're trying?

  • Viewing HTML page saved  on the server from the browser

    Hi all
    In my application i am having some HTML pages saved on the server. I had given an option to the user to view the HTML page from my application. behind the scene what i am doing is that the view request will get handled by a servlet and from that servlet iam locating the HTML page on the server directory and sending the HTML page to browser by using the Servlet OutputStream. The HTML page is shown on the browser but the attached images are not shown. The images are also there in the server directory and are refered in the HTML file correctly. When i directly open the HTML file then the images are shown correctly.
    Can anyone suggest wat's wrong there.
    The code i m using is
    ServletOutputStream out=response.getOutputStream();
                        if(format.equalsIgnoreCase("pdf"))
                             logger.info("Seleted format is pdf..\n");
                             response.setContentType("application/pdf");
                        else
                             logger.info("Seleted format is html..\n");
                             response.setContentType("text/html");
    String file = ReportingConstants.URL_GENERATEDREPORTS+reportPath+itemName;
    // file : HTML file absolute path as string.
                        URL url=new URL(file);                    
                        BufferedInputStream bis=new BufferedInputStream(url.openStream());
                        BufferedOutputStream bos=new BufferedOutputStream(out);
                        byte[] buff = new byte[2048];
                        int bytesRead;
                        while(-1 != (bytesRead = bis.read(buff, 0, buff.length))) {
                             bos.write(buff, 0, bytesRead);
                             bos.flush();
                        }

    You have to undertsand how the browser handles images and other resources in a HTML page. In the HTML there is an image tag that has a url to an image which can be a reletive url or an absolute url (starts with a "/").
    If the url is a relative url the browser interprets the url as being relative to the url currently displayed in the address field discarding the last element of the url . So if the url in the address bar is http://www.myserver.com/myapp/mypage.html and the relative url is images/myimage.jpg, the browser will submit a request to the server for http://www.myserver.com/myapp/images/myimage.jpg
    Now let's say that you are call mypage.html from a servlet that has the url http://www.myserver.com/myapp/servlets/myservlet. Then when the browser tries to retrieve myimage.jpg it will use the url http://www.myserver.com/myapp/servlets/myservlet/images/myimage.jpg and since this is incorrect it will not be able to display the images.
    One solution to this is to change all of the image urls to absolute urls. That is the start with a slash where the slash represents the start of the url after the application domain name. For example you used an absolute url for myimage.jpg it would look like /images.myimage.jpg and when accessing the page through the servlet url (http://www.myserver.com/myapp/servlets/myservlet) the browser will discard everything after http://www.myserver.com/myapp and look for the image at http://www.myserver.com/myapp/images/myimage.jpg which is the correct url.
    A second solution is to use the HTML BASE tag which tells the browser not to interpret the image tag urls (and other resourses) using the current url in the address bar but to use the url supplied in the HTML BASE tag. The browser will still perform the same process for relative urls but now relative to the BASE tag url. Since the BASE tag url will be the same every time the page is accesssed the images should be correctly accessed no matter how the page is accessed (eg directly, using RequestDistpatcher or via your servlet)

  • Starting a WSAD server from the command prompt and not from the IDE UI

    Hi,
    is there a way to run the WSAD server from the command prompt instead of using the IDE UI . i have tried starting the server from the Directory i have installed WSAD " D:\Program Files\IBM\WebsphereStudio\runtimes\base_v5\bin>startServer.bat" but it gives the Following error " The system cannot find the path specified." i am working . do i have to specify the workspace that i am currently working on

    to see if the network adapter has registered with OPMN run: opmnctl status
    the 6200 message is a timeout which can be set in opmn.xml, the reports server(s) and other processes managed by OPMN should still stop.
    Try opmnctl stopall or opmnctl shutdown
    Does the timeout shows up regularly ie can you repeat it?
    After the stopall or shutdown try to start everything up again and try to stop the single reports server process again.

  • How do I gracefully shutdown the server from a script?

    I have a shutdown class that stop the server.
    When I'm using 'stop the server' from the console (after configure a
    new shutdown class to config.xml) it work good.
    How do I do the same from a script (cmd, bat or sh - doesn't metter).

    http://edocs.bea.com/wls/docs81/ConsoleHelp/startstop.html#1212202
    "avishosh" <[email protected]> wrote in message
    news:[email protected]..
    I have a shutdown class that stop the server.
    When I'm using 'stop the server' from the console (after configure a
    new shutdown class to config.xml) it work good.
    How do I do the same from a script (cmd, bat or sh - doesn't metter).

  • Is it possible to start a remote server from the IDE?

    I would want to know if it is possible to start a domain that makes reference to a remote server (from the IDE). On this way I could start and stop the server without loading so much the machine that I use to develop my portal applications. If it is possible how I can do it?

    There is no personal Information on a crash Report unless you put something personally identifiable in the comment field. For example, here is a crash report I had on my machine awhile back: https://crash-stats.mozilla.com/report/index/bp-1de8924f-7068-4702-a410-89c492121220.
    You can go to about:crashes in your address bar, and click on the report to view the info there to satisfy yourself that there is nothing in the report. But submitting crash reports is very useful because it gives us the ability to view what crashes are plaguing our users and what we need to fix.

  • Call the BAPI from the program..

    Hey guys,
    can we  call the BAPI from the program..
    if yes how can  we  can show sales orders being loaded..
    thanks its urgent

    Nishant,
    yes easily you can call bapi from program.
    for getting all sales order use:
    BAPI_SALESORDER_GETLIST
    also am providing a program so that you can see how bapi has to call in program.
    CALL FUNCTION 'BAPI_SALESORDER_GETLIST'
                 EXPORTING
                      customer_number    = lf_customernumber
                      sales_organization = if_sales_organization
                      document_date      = lf_document_date_from
                      document_date_to   = lf_document_date_to
    *              PURCHASE_ORDER     = IF_PURCH_ORDER
                      material           = lf_matno
                 IMPORTING
                      return             = ls_return
                 TABLES
                      sales_orders       = sales_orders.
    Am afraid to say you that above solution you get about bapi it is not for showing the list of SO these are for creating SO.
    Edited by: Amit Gujargoud on Jul 3, 2008 3:12 PM

  • Is there any way to run the datasocket server from the vi

    I want to run the datasocket server from the LabVIEW program and is there any command to do this. Because, I built one application vi and this vi is link with another vi using datasocket.So every time before i run the program, i need to run the data socket server. So if i forget to run the datasocket server, I need to restart my vi. So what I want to do is I want to run the data socket server, when i open this VI. So that I do not forget. Thanks.
    Saw.

    In the examples\comm folder there is a file called datasktxwin.llb In that library open e.g. DS 3D Graph Writer...launch it and you will see that it launches the data socket server. Take a look at the code and you'll find a VI that launches the server; "Launch DS server if Local URL.vi".
    If you know the path to the server executable you can always launch it using the System Exec.vi from the communication palette too. The typical command line would then be:
    C:\Program Files\National Instruments\DataSocket\cwdss.exe
    MTO

  • Mac mini Server 10.6  unable to search for files on the server from desktop.

    I'm running Mac mini Server 10.6 with 15 various Apple Mac desktops 10.4 / 10.6. The problem i'm having is that i'm unable to search for files on the server from any of the desktops. I have fixed permissions and rebooted. I can perfomr a search though command - F and spotlight from the server.
    Anyone have any ideas?

    I have a Mac mini server with Mac osx 10.6.8 installed --- I have a website {UNDER CONSTRUCTION} installed on it with a REGISTERED DOMAIN NAME belizeansworldwide.com -->[DNS service w/GoDaddy]  & DSL INTERNET service  w/VERIZON --- {My server is the ONLY DEVICE CONNECTED to my VERIZON DSL router/modem}
    When I enter my DOMAIN NAME or WAN IP # in my browser(s)--> Chrome OR Safari -- i get my Verizon modem
    set-up page-->{this incl the WAN IP# as I expected}----{NORMALLY I WOULD ACCESS MY Actiontec
    modem/router via 192.168.1.1} --- While in that webpage there's an option "shared files/folders"   & clicking on that option DISPLAYS MY WEBSITE --->  {"PORT FORWARDING DID NOT RESOLVE THAT"}
    My next attempt @ a solution was through my Server's SystemPreference>Sharing>Internet Sharing
    & this the Original Object of my post ===>  "MY SHARING PANEL DOES NOT INCLUDE THE OPTION
    FOR   'Internet Sharing' among the others like CD DVD, Remote Login,Remote Management, Bluetooth Sharing, etc.etc ---- Hope this additional info will help to clarify  &/or explain my problem
    Thanks, & best regards to you & yours

  • Fetch the data from the tables in the SQL 2005 server to sap R/3.

    Hi Experts,
    We need to fetch the data from the tables in the SQL 2005 server to sap R/3.
    Please explain which will be the best approach to fetch the same and how to do it. Sample program can greatly help.
    << Please do not offer points >>
    Regards,
    Shobana K
    Edited by: Rob Burbank on Sep 21, 2010 2:36 PM

    Hi,
    Try NATIVE SQL statements in your abap code otherwise you can try to establish jdbc connection from ABAP program.
    search in SDN for samples!
    Suresh

  • I need to call a java program and pass parameters from C#

    I'm new to C# and was given a project to rewrite some of my old VB.net programs to C# to help me learn.  These VB programs call quite a few .bat files that have calls to java programs in them. I'm doing okay converting my VB code, but I've been
    stumped for days trying to figure out how to call java from C#. 
    Does anyone here know how to do this?  I really should've had this figured out by now and my back is to the wall.  Ugh :(
    This is the line from the .bat file that I need to convert to C#. 
    call jvbat production_r115.Automotive m:\data\MK115mn.100 m:\data\MK115mn.101 %6
    There is one parameters being passed, %6
    I would be forever grateful if someone can show me how to do this!

    Hi Joni,
    Do you mean call a bat file that it is a Java program from C#?  If so, there is an article talking about it.
    If that's not what you're trying to do, please be more specific about what you're trying to do.
    http://www.c-sharpcorner.com/UploadFile/maheswararao/CallingJavaProgramfromCS12062005233321PM/CallingJavaProgramfromCS.aspx
    Now the next issue is pass some parameters from C#.
    The above article tells using Process.Start() method to call java program. Also  in this class, you could  specify them all in the
    Arguments property:
    var p = new Process();
    p.StartInfo.Arguments = string.Format("{0} {1}", argument1, argument2);
    For more detailed information, please refer to
    C# Passing Multiple Arguments to BAT File
    Note: This response contains a reference to a third party World Wide Web site. Microsoft is providing this information as a convenience to you. Microsoft does not control
    these sites and has not tested any software or information found on these sites;
    Therefore, Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information
    found there. There are inherent dangers in the use of any software found on the Internet, and Microsoft cautions you to make sure that you completely understand the risk before retrieving any software from the Internet.
    Best regards,
    Kristin
    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.

  • How to use mathscript node in server side with the parameter from the client side

    I tried to develop a server/client system with some algorithms written in matlab. So I included a mathscript node on the server side. The client will send the parameter to the server. According to these parameters, the sever will call the matlab functions to do some computings and then send the results back to the client. The server has to wait for all parameters received before the computings. How do I know this since I only connect the parameter variables to the inputs of mathscript node on the server. The sever cannot know whethere these parameters are the new ones or old ones since the client may send parameters multiple times?

    It seems to me you have two perfectly good options to start with. You could send all possible parameters in a single packet from the client to the server. This could be in the form of a cluster or an array of values. If by server/client you mean you are sending data over the network, then you could flatten this data to string before sending and unflatten it on the other side. Since all parameters come in one packet, you know all the data is valid every time you send data.
    The other option is to send the parameters individually, but include some extra information such as a timestamp or iteration count. The server keeps reading and storing parameter values until a packet arrives with the next timestamp. Alternatively, you could include some information such as an end-of-parameter-list boolean that is sent with every parameter. It would be false until the last parameter packet.
    Give it a thought. There are lots of solutions.
    Jarrod S.
    National Instruments

  • HT202279 Choose your server from the list that appears

    I administer four Yosemites servers using OS X Server.
    Everytime I launch OS X Server I have to option to Continue, which I do not choose. But I never get a list of other Macs to Adminsiter. I always have to choose "Other Mac" and enter the URL, etc. This happens on two Macs running Yosemite and being used for administrating.
    Where is the list of other Macs? No matter how often I connect to them, they never show up and I can find nothing in the menus to add them.
    According to How to administer OS X Server remotely using Server App - Apple Support it should be there:
    The first time you open the Server app on your admin computer, do not click the Continue button in the "Welcome to Server" window. Instead, choose Connect to Server from the Manage menu.
    Choose your server from the list that appears, or click "Other Mac" and then click Continue.

    I should've noted that these are web servers in various locations. They would not show on Bonjour.
    I'd still expect Server to remember and list them, and certainly the documentation doesn't indicate it's a LAN only feature.

  • HT5312 Hello I have purchased the account from the shop for mobile phones and when Dgt a balance of $ 75 U.S. dollars tried to go down some programs, but ask me to answer questions and there have even when the shop is not accepted to give me any data abou

    Hello I have purchased the account from the shop for mobile phones and when Dgt a balance of $ 75 U.S. dollars tried to go down some programs, but ask me to answer questions and there have even when the shop is not accepted to give me any data about amyl which bearing correctly and password also trueThe name is true, how can I re-answer these questions??? replace phones is that Ahab Please give me the quick fix and sent the answer to Emile is:[email protected]

    Well I can't understand your english at all. If you need to reset your security questions, then try this:
     Account Security Team (AST) 
    Check the AppleCare number for your country here:
    http://support.apple.com/kb/HE131
    Call them up, and let them know you would like to be transferred to the Account Security Team.
    Or… click on the blue "Start your support request online" links.

Maybe you are looking for

  • How can I view .pdf files in a Firefox window?

    When I click on a .pdf link, Firefox downloads the file to my desktop. This is fine. Sometimes, however, I would prefer that Firefox simply open the .pdf document in a new window. I know it used to work this way, but it stopped some time ago. How can

  • Hi I have problem with desktop assign

    When I try to assign Calendar to desktop 4 everythink looklike ok but when I open app, OS changed assign. Now it's opened in desktop 2 and now this app is assigned to desktop 2. Please help.

  • Ipod120gb unable 2restore not recognized in itunes & corrupt "other"=100gb

    This is weird - I have a ipod classic 120 gb all was well was buying and synching as usual when the next day my ipod was no longer showing on the Itunes panel when connected as if it was no longer being recognized and also on looking at my ipod sudde

  • Unexplained disk space usage

    I have an 80 Gb hard drive on my flat panel iMac. I can account for approximately 36 Gb of that space using tools such as Disk Inventory X. However, Activity Monitor shows 55 Gb of usage. I'm trying to find the remaining 19 Gb and, if possible, recov

  • Import Intrastat DTW

    Dear all, I try to import some data to the Table BNITMDV (correspoding ti the window Item Intrastat setting of the Intrastat Addon). The aim of the import is to create some records with the Item Code and the Commodity Code. Here is a sample of my DTW