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

Similar Messages

  • 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

  • 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

  • Detecting the host application type

    I have a plug-in for Acrobat Professional. Is there any way for this plug-in to determine the host application like if it is running inside a Acrobat Professional or inside a browser container etc?
    I need to know this becasuse my plug-in is causing the browsers to crash whenever they open PDF files. My idea is to detect the host for my app and abort loading the plug-in if it is not full blows Acrobat app.
    Thanks
    Shreedhar

    You don't need to!
    When you create your toolbar button, don't add EXTERNAL to the parameters you pass it.
    How else is your plugin invoked other than button (see above) or menu (not present)?

  • Transaction to execute the Web Application Designer

    Hello,
    Is there a transaction to execute the Web Application Designer? (In the same was that RRMX executes the BEX Analyzer.
    thanks,
    Allan

    definetly not.
    There is no mechanism possible like in Analyzer. This is a limitation of design of the WAD.
    Best regards.
    Kai Wachter

  • Command to execute the jheadstart application generator ?

    Hi,
    I would like to use Ant scripts to call a command to execute the jheadstart application generator. Just Wonder what is the command and parameters to do so.
    Our project has multiple app defs, It may be useful to re-generate them all at some times.
    Thanks,
    Yongwen
    Edited by: user2898674 on Jul 13, 2009 8:00 PM

    Is it possible to run a java command to generate outside of Jdeveloper? There must be a java class to do the gen, I guess the question is if the gen relies on any of the jdeveloper design time objects.
    It will be very helpful to integrate the generation in the build process. Our project is 100% jheadstart generatable (with a lot of customization templates) and includes about 10 application definition files.
    Thanks,
    Yongwen

  • How to dispatch an event to the host application?

    Can I create a keyboardEvent and dispatch it to the host application?
    I'm trying to create an onscreen keyboard, so on every mouseUp event, a corresponding keyboardEvent is created and dispatched to the host application.
    Is it even possible to dispatch a keyboard event programatically?

    I can dispatch Keyboard Events programatically, and event listener inside my extension works just fine.
         var evnt:KeyboardEvent = new KeyboardEvent(KeyboardEvent.KEY_DOWN, true, false, Keyboard.M);
         this.dispatchEvent(evnt);
    However, the KeyBoardEvent is not propogating up to the host application (Illustrator).
    What do I need to do to send it on to the host application?

  • How user will execute the BSP application I created...

    Hi,
    I have created a BSP application which has various pages with flow logic.
    Now to execute it I use execute icon and then I get moved to web browser.
    The application is working cool.
    But what I am wondering is user is not going to go to code and use excute button to execute the code.
    So how can he do the execution of page ?

    You have lots of options (and no generally users don't go to SE80 and launch your application from there).
    1.  Give out the URL to your application. Users can launch the application directly from the URL in the browser. The URL could be stored in the Browser Favorites or as a desktop icon.
    2.  If you use the Netweaver Portal - create a BSP iView for the application and attach it to the users' role.
    3.  A BSP URL can be added as a link in the SAP Easy Access Menu.  Under favorites, just choose Insert Other Object
    4.  You can create an ABAP Transaction code. In the program under this transaction code, you could host the BSP application in an HTML Control or open it externally in a browser via CL_GUI_FRONTEND_SERVICES=>EXECUTE.  It is fairly easy to create a generic ABAP program to launch BSP application and receive the application name via a Transaction Code Parameter. You can build a specfic URL to a BSP application in code using CL_BSP_RUNTIME=>CONSTRUCT_BSP_URL.

  • 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

  • Run extension without restarting the host application ?

    While developing, is there a way to test/debug the extenstion without restarting illustrator everytime the time? This is really time-consuming...
    Extension Builder 2.1 in combination with FB had an "Attach as" feature that would take care of this, but I cannot seem to get EB 3 working in FB.
    Tom

    Happy to answer my own question. Here's what you do to reload the panel, by creating a simple button that reloads the 'window'. Useful for Illustrator scripts.
    In yout HTML:
        <button id="bt_reload" class="hostButton">Reload</button>
    In your main.js file (or similar)
    $("#btn_reload").click(reloadPanel);
        // Reloads extension panel
        function reloadPanel() {
            location.reload();

  • U330: "Catalyst Control Center: The Host Application Stopped Working"

    I've been getting this nagging message whenever I boot windows.  Tried uninstalling and re-installing the driver and ATI software from Lenovo's site but the problem persists.  I can produce the message at anytime by running "ATI Restart Runtime".  Someone please tell me how to fix this, it's really annoying.

    What was recently installed or changed on your system?  A quick option will be to use the System Restore Tool to restore the computer to an earlier point in time before this problem started. Using the System Restore tool may not necessarily help you determine the issue. When you use System Restore to restore the computer to a previous state, programs and updates that you installed are removed.
    To restore the operating system to an earlier point in time, follow these steps:
    1.      Click Start, type system restore in the Start Search box, and then click System Restore in the Programs list. If you are prompted for an administrator password or confirmation, type your password or click Continue.
    2.      In the System Restore dialog box, click Choose a different restore point, and then click Next.
    3.      In the list of restore points, click a restore point that was created before you began to  experience the issue, and then click Next.
    4.      Click Finish.
    5.      The computer restarts, and the system files and settings are returned to the state that they were in at the time that the restore point was created.
    If my reply was helpful please click the "Kudos" star.
    If your problem is solved please click the "Accept as Solution" button

  • Regarding executing the java application

    Exception in thread "main" java.lang.UnsupportedClassVersionError: Hello (Unsupp
    orted major.minor version 49.0)
    at java.lang.ClassLoader.defineClass0(Native Method)
    at java.lang.ClassLoader.defineClass(Unknown Source)
    at java.security.SecureClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.access$100(Unknown Source)
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClassInternal(Unknown Source)

    49.0 is the java.class.version of Java 5.0 -- meaning you code was compiled by a version 5.0 compiler (or later). The fact that you can't run it shows you are trying to use an earlier version of the JRE. Try this:
    java -versionThe solution is to make sure your javac.exe and java.exe match.

  • 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

  • Accessing the host component in a PDF navigator

    Hi all,
    I'm trying to access the host (i.e reader or acrobat) in a PDF navigator (Portfolio) created in flash builder.
    I have seen numerous examples that override the host set method by doing the following:
    public function set host(host:INavigatorHost):void
                                                 if(host != null) {
                                                           _host = host;
                                                           startEverything();
                                                 } else {
                                                           _host = null;
                                                           //Alert.show("Navigator Ending");
    Then the _host:INavigatorHost is used to access the host application.
    When I try to do this using Flex 4.1 it tells me that this method is not marked for override.
    If i just try to access 'host' it tells me that it is 'write-only'.
    Any help at all, or another method would be greatly appreciated.
    Thanks,
    Chris

    Hi,
    there are several possibilities to achieve that.
    For example
    - JDO
    - SQLJ
    - direct access to the database via JDBC from your WD Controller (not recommended).
    For more information about JDO see at
    /program files/SAP/JDT/eclipse/examples
    There you will find the tutorial J2EE_GettingStartedJDO
    For general information about Java persistence have a look at
    http://help.sap.com/saphelp_erp2004/helpdata/de/61/fdbc3d16f39e33e10000000a11405a/content.htm
    Regards
    Helmut

  • 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

Maybe you are looking for

  • Applet-servlet communication, object serialization, problem

    hi, I encountered a problem with tomcat 5.5. Grazing the whole web i didn't find any solution (some guys are having the same problem but they also got no useful hint up to now). The problem is as follows: I try to build an applet-servlet communicatio

  • URGENT: button rollover animations and image fade ins?

    Hello, I have a site where an image appears which has 6 words on it. Each word will be a button where the following actions take place: on rollover a line draws through the button an image fades in on the left and another on the right when you click

  • Can't format HD - Mountain Lion, MacBook Pro

    Hi everyone. My MacBook Pro stopped working a few weeks ago. It wouldn't pass the initial grey screen with the Apple Logo. I realized that something happened with the OS and decided to connect to my Mac Pro by Firewire cable and backup everything. Th

  • How to forward iphone to ipad, how to forward iphone to ipad

    how to forward iphone to ipad, how to forward iphone to ipad

  • Histograms issue During DB Upgrade.

    Hi, We are currently migrated our database to Oracle 11g i.e 11.2.0.3 (from 10.2.0.3). Now we are facing application slowness on 11g, we found the issue is with missing histogram or some unnecessary histograms in place. Given below are my details.If