Executing a host application

Hi!
Does anyone know how can I call an executable file within a java class?
I have an application that I can execute it in command line like this:
gpg --export -o gradpartners_public.key E40D2629
and it generate a file ... can I call it from a java class?
Thank you
Razvan

javadocs Runtime exec

Similar Messages

  • Executing the host application

    Hi, i developed a host application with OCF to communicate with my applet, everything is OK. now i wonder if i can execute the host application from an HTML page

    SYNCHRONIZE will update the display with the internal stae of the application (so don't think you should be expecting any performance improvements).
    HOST command will generally run synchronously - so it will wait for the host command to finish executing. If you want to asynchronously you could HOST out to a BAT file a put your commands in the BAT file.
    Regards
    Grant Ronald
    Forms Product Management

  • Calling VB Executable using HOST to Slow....

    Hello Friends,
    I have one form containg one program unit, Program unit has one cursor,which contains Employee Id and Email Id, Based on Employee ID Report is generated in HTML Format.Next I am Calling VB Executable using HOST which Sends generated report through mail based on EmailId. I am passing Report File and EmailId using Command line arguments.
    But,It takes too much time to return back to Form from VB application ? It quickly exits VB applications but then it takes too much time to return back to Oracle Forms ?
    What can be the reason ?
    Adi

    There is a JNI forum, you may have better luck there.

  • Satellite P200D - Catalyst Control Centre host application stopped working

    Hi. I have a Satellite P200D-128 and I've been getting a pop-up screen with an error message saying, "Catalyst Control Centre host application stopped working." I'm sure I haven't altered anything.
    I tried downloading new drivers from http://support.amd.com/us/gpudownload/Pages/index.aspx but the download wouldn't work.
    Please could you help?
    Thanks.

    Hi
    The right driver you can find here . Download it, open Display Driver ATI folder and execute setup.exe. and follow the setup menu.

  • Calling VB Executable using HOST too Slow....

    Hello Friends,
    I have one form containg one program unit, Program unit has one cursor,which contains Employee Id and Email Id, Based on Employee ID Report is generated in HTML Format.Next I am Calling VB Executable using HOST which Sends generated report through mail based on EmailId. I am passing Report File and EmailId using Command line arguments.
    But,It takes too much time to return back to Form from VB application ? It quickly exits VB applications but then it takes too much time to return back to Oracle Forms ?
    What can be the reason ?
    Adi

    exactly, I think we were too impatient.
    It seemed working well after deleting half of snapshots, but just next day it occurred again.
    of course the system is maintaining snapshots just half of the original, but it became slow because unknown reason.
    we've tested something like following because we doubt that zpool was related to the too low performance.
    case 1 : 1 zpool, 1*500MB mkfile, 50*100MB mkfile at any time
    case 2 : 20 zpool, 1*500MB mkfile to ONE zpool, 2~3*100MB mkfile PER zpool at any time
    case 3 : 1 zpool, just 1*500MB mkfile
    in case 1 and 2, 'at any time' means that 100MB mkfile processes were maintained to restart when finished again and again.
    we estimated the time to write 500MB for each case.
    case 1 result : about 6 minutes
    case 2 result : about 16 minutes
    case 3 result : about 4 seconds
    in the case 1, the test was harder than our real-world situation, but it took only 6 minutes.
    our system log told us that writing about 1GB took more than 50 minutes!!!
    do anyone know why the tests above result like this?
    and our zfs performance is still problem.
    please reply anything about our situation.
    we'll of course test the ARC size. thank about this.
    thank you.

  • Satellite L500D-144 - CCC Host Application has stopped working

    Ladies and Gentlemen,
    my PSLT6E-007004GR is almost a year old.
    Earlier this month there was an update - possibly from Microsoft - and since then popt always at startup in Windows 7 this window and look for solutions:
    Catalyst Control Center. Host Application has stopped working, it is searched for a solution.
    A new installation of the graphics card driver and Catalyst Control Center did not change. Instead, a standard graphics card driver from Microsoft is installed.
    Resetting the system to the month of October also brought nothing, for after fresh updates, the problem occurs again.
    So it is reproducible.
    Have already reported more customers or am I the first?
    What can you do to the problem?
    Sincerely,
    CBluebaerchen

    Hello
    > Resetting the system to the month of October also brought nothing, for after fresh updates, the problem occurs again.
    Do you get this display driver update from Windows Update?
    If yes restore the system to an earlier point and disable this display driver update and choose only the important updates from Windows. Thats enough.
    Otherwise you could try to run CCleaner. It can clean and fix registry problems.

  • Unable to connect multiple MAF components in a WPF host application

    I'm trying to connect my MAF component parts for the addin extensibility to work, however I'm getting certain errors while trying to build my add in store.
    string path = @"...\MyProject\Extensibility\Output";
    string[] errorList = AddInStore.Rebuild(path);
    that's the pipeline path, which looks like according to documentation:
    Extensibility\
    Output\
    AddIns
    AddInSideAdapters
    AddInViews
    Contracts
    HostSideAdapters
    My WPF host app DLL file is located under this directory:
    MyProject\WPFApp\bin\debug
    So, I'm unsure where to build my HostView. Currently the output is the pipeline root directory (Extensibility\Output)
    I have 4 errors in my errorList:
    While examining an assembly for pipeline segments, got a ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information. File Name: ...MyProject\Extensibility\Output\AddInSideAdapters\AddInSideAdapters.dll
    2:
    Could not connect up a part in a pipeline to its neighbors: Contract Name: "IAddInContract" Location: "Contracts\Contracts.dll".
    3:
    Could not connect up a part in a pipeline to its neighbors: AddInBase Name: "AddInView" Location: "AddInViews\AddInViews.dll".
    4:
    Could not connect 2 valid add-in model parts.
    And the code of addin side adapter, contact and addin view respectively:
    [AddInAdapter]
    public class AddInSideAdapter : ContractBase, IAddInContract
    private AddInView view;
    public AddInSideAdapter(AddInView view)
    this.view = view;
    public void Initialize(IPluginHandler handler)
    view.Initialize(handler);
    public INativeHandleContract GetCustomUI()
    return FrameworkElementAdapters.ViewToContractAdapter(view.GetCustomUI());
    [AddInContract]
    public interface IAddInContract: IContract
    void Initialize(IPluginHandler handler);
    INativeHandleContract GetCustomUI();
    [AddInBase]
    public abstract class AddInView
    public abstract void Initialize(IPluginHandler handler);
    public abstract FrameworkElement GetCustomUI();
    They're output directories are ok, all building into the corresponding pipeline segments. I really cannot understand what's failing. Pipeline structure is ok, build paths of segments are ok (just not sure about the HostView and the host app). The path variable
    is ok, i just omitted the entire path for brevity

    Hi Mefhisto,
    >>”So, I'm unsure where to build my
    HostView. Currently the output is the pipeline root directory”
    I found some information about your problem in “Pipeline Development Requirements”,It said “The host application and the host view are typically deployed
    in the same directory. The pipeline directory can be in any location but is typically in the same directory as the host application.”This is the link of the document :
    https://msdn.microsoft.com/en-us/library/bb384240(v=vs.90).aspx. And there are several samples,you can refer to it for reference.
    http://clraddins.codeplex.com/wikipage?title=Samples&referringTitle=Home

  • Error while executing the DEMO application of ADS

    Hi,
    I have installed a sneak preview version of Java stack 7.0. With that I have downloaded the latest credentials for Adobe Document Service from the SDN and followed these steps to configure it.
    Copied the .pfx file to <INST_DRIVE>:\usr\sap\J2E\SYS\global\AdobeDocumentServices\TrustManagerService\trust\credentials.
    Logged into visual admin .
    On the Cluster tab, choose Server 0 -> Services -> Document Services Configuration
    On the Runtime tab, select Credentials
    Choose Browse to search for the name of the credential and then Select
    In the Alias field, enter the alias of the credential you installed, for example ReaderRights. (Entries for the name of the credential are case-sensitive)
    In Password field, enter the password you received together with the credential you installed (filename.txt in the archive). Confirm the password again and then click Add
    Restart the following services for the changes to take effect: PDF Manipulation Module, Document Services Trust Manager. To perform this, right-click on the repective service choose Stop and after the service has stopped, Start it again
    Restart also the application com.adobe/AdobeDocumentServices located at Server 0 -> Services -> Deploy (radio button Application)
    I can execute the web service of ADS sucessfully using the URL: http://localhost:50100/AdobeDocumentServices/Config. I am getting response with version number.
    After doing so I tried executing the DEMO Application from the link :
    http://localhost:50100/webdynpro/dispatcher/local/TutWD_OnlineInteractiveForm/OnlineInteractiveFormApp
    But the applicaiton was not getting executed.
    I got the following error.
    java.net.ConnectException: Connection refused: connect
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
        at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
        at java.net.Socket.connect(Socket.java:464)
        ... 47 more
    com.sap.tc.webdynpro.clientserver.adobe.pdfdocument.base.core.PDFDocumentRuntimeException: Failed to  UPDATEDATAINPDF
         at com.sap.tc.webdynpro.clientserver.uielib.adobe.impl.InteractiveForm.afterHandleActionEvent(InteractiveForm.java:396)
         at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.afterApplicationModification(ClientApplication.java:1132)
         at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.afterApplicationModification(ClientComponent.java:887)
         at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doRespond(WindowPhaseModel.java:573)
         at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:152)
         at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)
         at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:299)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:711)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:665)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:232)
         at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:152)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doGet(DispatcherServlet.java:46)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    Caused by: com.sap.tc.webdynpro.clientserver.adobe.pdfdocument.base.core.PDFDocumentRuntimeException: PDFDocument Processor failed to process Render Request.
         at com.sap.tc.webdynpro.clientserver.adobe.pdfdocument.base.core.PDFDocumentProcessor.process(PDFDocumentProcessor.java:55)
         at com.sap.tc.webdynpro.clientserver.adobe.pdfdocument.base.core.PDFDocumentInteractiveFormHandlingContext.execute(PDFDocumentInteractiveFormHandlingContext.java:98)
         at com.sap.tc.webdynpro.clientserver.adobe.pdfdocument.base.core.PDFDocumentInteractiveFormHandlingContext.execute(PDFDocumentInteractiveFormHandlingContext.java:121)
         at com.sap.tc.webdynpro.clientserver.uielib.adobe.impl.InteractiveForm.afterHandleActionEvent(InteractiveForm.java:341)
         ... 29 more
    Caused by: com.sap.tc.webdynpro.pdfobject.core.PDFObjectRuntimeException: Service call exception; nested exception is:
         java.net.ConnectException: Connection refused: connect
         at com.sap.tc.webdynpro.pdfobject.core.PDFObject.doSoapCall(PDFObject.java:382)
         at com.sap.tc.webdynpro.pdfobject.core.PDFObject.render(PDFObject.java:3710)
         at com.sap.tc.webdynpro.clientserver.adobe.pdfdocument.base.core.PDFDocumentRenderHandler.handle(PDFDocumentRenderHandler.java:139)
         at com.sap.tc.webdynpro.clientserver.adobe.pdfdocument.base.core.PDFDocumentProcessor.process(PDFDocumentProcessor.java:52)
         ... 32 more
    Caused by: java.rmi.RemoteException: Service call exception; nested exception is:
         java.net.ConnectException: Connection refused: connect
         at com.sap.tc.webdynpro.adsproxy.ConfigBindingStub.rpData(ConfigBindingStub.java:89)
         at com.sap.tc.webdynpro.adsproxy.ConfigBindingStub.rpData(ConfigBindingStub.java:99)
         at com.sap.tc.webdynpro.pdfobject.core.PDFObject.doSoapCall(PDFObject.java:359)
         ... 35 more
    Caused by: java.net.ConnectException: Connection refused: connect
         at java.net.PlainSocketImpl.socketConnect(Native Method)
         at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
         at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
         at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
         at java.net.Socket.connect(Socket.java:464)
         at java.net.Socket.connect(Socket.java:414)
         at java.net.Socket.<init>(Socket.java:310)
         at java.net.Socket.<init>(Socket.java:125)
         at com.sap.engine.services.webservices.jaxm.soap.HTTPSocket.initStreamsFromSocket(HTTPSocket.java:648)
         at com.sap.engine.services.webservices.jaxm.soap.HTTPSocket.initializeStreams(HTTPSocket.java:470)
         at com.sap.engine.services.webservices.jaxm.soap.HTTPSocket.getOutputStream(HTTPSocket.java:427)
         at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.HTTPTransport.getRequestStream(HTTPTransport.java:355)
         at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.MimeHttpBinding.outputMessage(MimeHttpBinding.java:548)
         at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.MimeHttpBinding.call(MimeHttpBinding.java:1425)
         at com.sap.tc.webdynpro.adsproxy.ConfigBindingStub.rpData(ConfigBindingStub.java:82)
         ... 37 more
    Does it mean that my ADS is not configured properly? Did I missed any step.
    Kindly guide me on the same.
    Thanks in advance.
    Regards,
    Nirmal G

    Hi Nirmal,
    Refer to this https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/06717aea-0c01-0010-b28f-e6494458788f guide to see if you have done all the settings.
    Regards,
    Arafat

  • REP - 300 Error while executing report from Application

    Hi,
    I have report in Report Builder & for the same report form is there in Form Builder in which parameter page is designed. From application where I am calling report is internally calling form & in form Procedure Run Report is there which is calling report from Report Builder. Both report from builder & form form Builder are compiled . Also query is executing fine in Toad without error. Also all query fields are present in database.
    But when I am trying to excute report from Application it is giving error as "REP - 300 Invalid Identifier " & it displays whole query.
    Note - Report & it's Form are in ORACLE - 10g. Also the user through which I am executing report from application is ADMIN user , so it has executing permission.

    looks like error in parameters. check out the value of variable that you are passing through to report from form. Put a messages to see variable values before execute report.

  • Runtime Error While executing the WebDynpro Application

    I am getting the Runtime Error While executing the WebDynpro Application. The error message is "TSV_TNEW_OCCURS_NO_ROLL_MEMORY".
    It says like "
    Short text
        No roll storage space of length 9728 available for OCCURS area.
    What happened?
        Each transaction requires some main memory space to process
        application data. If the operating system cannot provide any more
        space, the transaction is terminated.
    But while executing some other Web Dynpro Applications, i am not facing this problem.

    Generally this error is a result of an infinite loop on internal table or select endselect statement where by severs  temporary memory gets full. With no memory to insert new records in temporary memory system generates the dump.
    Check your application or ask basis consultant to look at the memory parameters in instance profile.
    Regards
    Rohit Chowdhary

  • How can I launch configurator from host application in a specefic language.

    Hi,
    I want to access R12 configurator from a host application and I have no problems accessing it.
    But I want that the configurator should Launch in Japanese Language. Can I specify any XML parameter to the UIServlet to achieve this or is there any other Method?
    Thanks

    Per the "Deploying a User Interface that Supports MLS" section in Chapter 14 ("Multiple Language Support") of the Oracle Configurator Implementation Guide:
    "When a host application launches Oracle Configurator to configure an item, the language specified in the database ICX session ticket is passed to Oracle Configurator.  Oracle Configurator uses this information to determine which translated text to retrieve from the database and display in the UI."
    So essentially, Configurator will display the same language that the hosting application is displaying, the language the user has logged into EBS with.  (Of course, translated text will only appear in Configurator if you have supplied translations in the CZ_LOCALIZED_TEXTS table.)  If you need Configurator to display a different language than its hosting application, that would require a customization of the initialization string the hosting application sends to Configurator, specifying a different icx_session_ticket parameter value.
    Hope this helps.
    Eogan

  • How can execute a jar application

    Hello there, I am facing problem with executing jar application. How can I execute a jar application using java program.
    Thanks & Regards

    VINAY_Kr_SHARMA wrote:
    ...How can I execute a jar application using java program.Do you mean:
    a) You have a Java application on-screen, and you want it to be able to launch other Jars that are not part of the current Java application?
    b) You want to know how to run a Jar in the Java plug-in?

  • "Error rendering report" in hosted application

    I am suddenly getting the following error message in my hosted application (I work for Oracle):
    Error rendering report: ORA-00600: internal error code, arguments: [17059], [0x9370852C], [0x93708260], [0x90EE7724], [], [], [], []
    when running page 9 (Find Messages) of application 16924 (CRM MEssage Review tool).
    I haven't made many changes to the page that would have caused this. I had a similar issue. last year, which was resolved by the APEX team.
    Could you please look into this?
    Thanks
    Daniel

    Daniel - If this is still happening please send me an internal email with details about how I can see this.
    Scott

  • How to execute 2 different application from same Application Server

    Hi,
    I would like to know that how to execute two different applications from the same Application Server with different databases?
    We are using
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0
    Oracle Application Server 10g 10.1.2.0.2
    Regards,
    Hassan

    what type of applications you want to run from the same application server, Hassan?
    What other DB are you using to launch it beside the one you quoted? Is it the MRep DB of infra?

  • Host application strange error, please help !!

    hello everyone,
    can anybody of you help me with this error:
    >> cannot find symbol; symbol : method getMessage(), location: class java.lang.ClassNotFoundException
    it is displayed as I am writing the host application for an applet using OCF, at this level:
    >> my_Card_Proxy = (MyCardProxy) card.getCardService(MyHostSideApp.class, true);
    what do you think of this? I tried many codes but I am always having the same error, I dont know where does the problem come from.
    please if you have any suggestion, I really need it
    thank you

    Hmmm.
    Are u sure that u have put all the JSP page in a proper folder where if u do not put them in a proper folder it want work.
    Else where in side jsp code the naming part as been misplaced . Go through that code again I hope u can find out the error.
    mostly the second one normally occurred every time....
    Good site too.

Maybe you are looking for

  • Preview and Print Form before submitting

    I have created a form. The client would like the person who just filled it out to be able to preview and print it prior to submitting or even after submitting. Would this be part of the form mail script? Does anyone know the PHP scripting code? Thank

  • Attachment table in framework

    I am using attachment table in oracle framework and I get the folllowing error: INSERT INTO FND_LOBS(FILE_ID,FILE_NAME,FILE_CONTENT_TYPE,FILE_DATA,FILE_FORMAT) VALUES (:1,:2,:3,:4,:5)". domain index is marked LOADING/FAILED/UNUSABLE can any one help

  • SOAP Lookup with username and password

    I am doing a lookup using a Java UDF from PI message mapping using a SOAP receiver channel by passing a username and password to get a value from a webservice. This is passed to a field in the target side. Everything works fine. But I want to avoid h

  • Decode limited expression?

    Hello Guru's, I have a table t with 13,000 records. I am attempting to update records in a column, example: update t set col1=(decode(col1,'AA','Antiseptic', ,'BB,'Builder', ,'CC','Contractor')) commit; The problem is that I have to update around 300

  • ANNC: divaFreeTools: a Free  Dreamweaver Extension

    I've just uploaded a new, free DW Extension that is actually an array of seven Utilities. Murray - #4 is the one you asked for. If anyone has need for another utility, email me! Hope you find them useful. Available here: http://divahtml.com/products/