Ugent native compoenent in applet

I have written an applet which uses jdic browser on Windows platform (InternetExplorer). So I have a browser in a browser :-) But while loading i get always an exception :
org.jdesktop.jdic.init.JdicInitException: java.lang.UnsatisfiedLinkError: no jdic in java.library.path
     at org.jdesktop.jdic.init.JdicManager.initBrowserNative(Unknown Source)
     at org.jdesktop.jdic.browser.WebBrowser.<clinit>(Unknown Source)
     at wcy.guru.openmap.gui.web.IEWebBrowser.init(IEWebBrowser.java:158)
     at wcy.guru.openmap.gui.web.IEWebBrowser.setProperties(IEWebBrowser.java:377)
     at GuruApplet.init(GuruApplet.java:209)
     at sun.applet.AppletPanel.run(Unknown Source)
     at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.UnsatisfiedLinkError: no jdic in java.library.path
     at java.lang.ClassLoader.loadLibrary(Unknown Source)
     at java.lang.Runtime.loadLibrary0(Unknown Source)
     at java.lang.System.loadLibrary(Unknown Source)
     at org.jdesktop.jdic.init.InitUtility.<clinit>(Unknown Source)
     ... 7 more
java.lang.UnsatisfiedLinkError: no jdic in java.library.path
     at java.lang.ClassLoader.loadLibrary(Unknown Source)
     at java.lang.Runtime.loadLibrary0(Unknown Source)
     at java.lang.System.loadLibrary(Unknown Source)
     at org.jdesktop.jdic.browser.internal.WebBrowserUtil.<clinit>(Unknown Source)
     at org.jdesktop.jdic.browser.MsgClient.<init>(Unknown Source)
     at org.jdesktop.jdic.browser.NativeEventThread.<init>(Unknown Source)
     at org.jdesktop.jdic.browser.WebBrowser.<clinit>(Unknown Source)
     at wcy.guru.openmap.gui.web.IEWebBrowser.init(IEWebBrowser.java:158)
     at wcy.guru.openmap.gui.web.IEWebBrowser.setProperties(IEWebBrowser.java:377)
     at GuruApplet.init(GuruApplet.java:209)
     at sun.applet.AppletPanel.run(Unknown Source)
     at java.lang.Thread.run(Unknown Source)
What is the problem i have added dll's to my path?? how to allow applet load a native code?? have someone tried it??

Take a look to this post:
http://forum.java.sun.com/thread.jspa?forumID=421&threadID=702502

Similar Messages

  • Urgent - native browser in applet

    I have written an applet which uses jdic browser on Windows platform (InternetExplorer). So I have a browser in a browser :-) But while loading i get always an exception :
    org.jdesktop.jdic.init.JdicInitException: java.lang.UnsatisfiedLinkError: no jdic in java.library.path
         at org.jdesktop.jdic.init.JdicManager.initBrowserNative(Unknown Source)
         at org.jdesktop.jdic.browser.WebBrowser.<clinit>(Unknown Source)
         at wcy.guru.openmap.gui.web.IEWebBrowser.init(IEWebBrowser.java:158)
         at wcy.guru.openmap.gui.web.IEWebBrowser.setProperties(IEWebBrowser.java:377)
         at GuruApplet.init(GuruApplet.java:209)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Caused by: java.lang.UnsatisfiedLinkError: no jdic in java.library.path
         at java.lang.ClassLoader.loadLibrary(Unknown Source)
         at java.lang.Runtime.loadLibrary0(Unknown Source)
         at java.lang.System.loadLibrary(Unknown Source)
         at org.jdesktop.jdic.init.InitUtility.<clinit>(Unknown Source)
         ... 7 more
    java.lang.UnsatisfiedLinkError: no jdic in java.library.path
         at java.lang.ClassLoader.loadLibrary(Unknown Source)
         at java.lang.Runtime.loadLibrary0(Unknown Source)
         at java.lang.System.loadLibrary(Unknown Source)
         at org.jdesktop.jdic.browser.internal.WebBrowserUtil.<clinit>(Unknown Source)
         at org.jdesktop.jdic.browser.MsgClient.<init>(Unknown Source)
         at org.jdesktop.jdic.browser.NativeEventThread.<init>(Unknown Source)
         at org.jdesktop.jdic.browser.WebBrowser.<clinit>(Unknown Source)
         at wcy.guru.openmap.gui.web.IEWebBrowser.init(IEWebBrowser.java:158)
         at wcy.guru.openmap.gui.web.IEWebBrowser.setProperties(IEWebBrowser.java:377)
         at GuruApplet.init(GuruApplet.java:209)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    What is the problem i have added dll's to my path?? how to allow applet load a native code?? have someone tried it??

    I am not too much familiar with jdic but I see that it does not find some libraries.You have to be sure that the required libraries exist on the client(if not distribute them for download) and of cource to check any native library needed. I suppose that native libraries are needed since IExplorer is not so much of a java app.

  • Native Methods and Applets

    Hi, I need to use data glove woth vrml.
    To do so i use a java class that invoke native methods, because the glove's sdk are only for VC++, but i receive the security exception. I know that applets con't load native methods and i think that java classes loaded from vrml are considered like applets.
    Anyone can tell me if is possible to change security policy, for example giving all permissions to applet, i'm not interested in security, the code work in local. Thanks to all this is for my thesis in VR.

    Right. I understand. Here's what I've been able to find out:
    1) As I thought, your script node Java class is being run by the Microsoft JVM. (Hence the com.ms.. exception.)
    2) In order for the VM to run classes that use native code, you'll have to make your code trusted by:
    - i) Asserting the permission required to run native code in your Java source, through a PolicyEngine.assertPermission method call. See http://support.microsoft.com/kb/q175622/
    - ii) Package up the class in a Microsoft CAB file and sign the cab file. See http://support.microsoft.com/default.aspx?scid=kb;en-us;Q193877
    Look at http://www.jguru.com/faq/view.jsp?EID=468498 first for an overview of both of these.
    3) It seems that Cortona (as a non-standard extension) can use script classes in cab files (whether signed or not), so you might be in luck here. See http://forums.parallelgraphics.com/show/forum/general/messages/59/
    You might need to get hold of the (now unsupported) Microsoft SDK for Java 4.0 in order to create and sign your CAB file. I found this at ftp://ftp.crystalpoint.com/updates/ovweb/sdkjava40.exe but I cannot vouch for this executable. Use at your own risk.
    For the benefit of other readers, it seems that Cortona cannot be used with the Sun JRE, so the OP is out of luck there.
    Let us know how you get on.
    Alex

  • Security error running launching native app from applet

    Hi,
    I am tying to write a small applet to launch a local application. I use
    Runtime rt = Runtime.getRuntime();
    rt.exec(application);
    and I get a java security error:
    Failure: java.security.AccessControlException: access denied (java.io.FilePermission C:\Program execute)
    is there a way to go around this problem??
    thanks so much for the help

    You may use the <DRIVE>:\Program Files\JavaSoft\JRE\<version>\bin\policytool.exe to edit the file.
    Where can I find the functional "java.policy" file ? In <DRIVE>:\Documents and Settings<...> or in <DRIVE>Program Files/JavaSoft/JRE/<version>/lib/security/java.policy ?
    What's the difference between the two files ?

  • Access native methods from an applet

    hi all
    I am developping a applet which has to access the native method which is c++ code. but it does not work at all, even though it can be compiled well.
    it returns
    java.lang.ExceptionInInitializerError
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
         at java.lang.reflect.Constructor.newInstance(Unknown Source)
         at java.lang.Class.newInstance0(Unknown Source)
         at java.lang.Class.newInstance(Unknown Source)
         at sun.applet.AppletPanel.createApplet(Unknown Source)
         at sun.plugin.AppletViewer.createApplet(Unknown Source)
         at sun.applet.AppletPanel.runLoader(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Caused by: java.security.AccessControlException: access denied (java.lang.RuntimePermission loadLibrary.MemoInfo)
         at java.security.AccessControlContext.checkPermission(Unknown Source)
         at java.security.AccessController.checkPermission(Unknown Source)
         at java.lang.SecurityManager.checkPermission(Unknown Source)
         at java.lang.SecurityManager.checkLink(Unknown Source)
         at java.lang.Runtime.loadLibrary0(Unknown Source)
         at java.lang.System.loadLibrary(Unknown Source)
         at InfoShow.<clinit>(InfoShow.java:24)
         ... 11 more
    who can give me some suggestions on accessing native method from applet! thx
    regards
    beginner

    you don't have access to native code from an applet unless you've modified your policy file or you're using a signed applet.

  • Reading Mozilla certificates from an applet

    We have a web application that only works in Internet Explorer.
    It is a page that downloads the CAPICOM.dll and an ActiveX so we can read the Client certificates registered in Internet Explorer browser.
    But we want this web application to be accessible from Mozilla and Netscape. So in this case we think it is necessary to create an applet, and this applet might be capable of read the certificates registered in the Mozilla - Firefox - Netscape browser.
    There is a file called NSS.dll that is in charge of it for this browser. There is a Java wrapper called JSS (jss.jar file) that dialogs with it.
    But when we try in the applet something like:
    CryptoManager.initialize(dbdir);
    CryptoManager cm = CryptoManager.getInstance();
    X509Certificate[] certs = cm.getCACerts();
    there is a CheckPermission excepcion because of a loadNativeLibraries call to NSS
    How to resolve it? Is there any othe way to get the client certificate list from the Mozilla browser?
    There is another question, too:
    Witch would be the value for dbdir when calling CryptoManager.initialize(dbdir)? "secmod.db"? "key3.db"? "cert7.db"? "."? other?
    Thank you very-very-very much
    Robertico

    For accessing Native libraries from Applet here is the link
    http://www.javaworld.com/javaworld/jw-10-1998/jw-10-apptowin32.html

  • How to configure the .ini file with applet

    hai
    i am using native methods in that methods they use some ip addresses. when i am using that native methods in applet run the applet using appletviewer tool it works fine but when i am open that applet using html page browser not configure that .ini file data .how to configure that .ini file with browser

    Hi Jay SenSharma,
    Thanks for your immediate response.
    I saw your URL links, But in your link give the recursive deployment using wlst. But my question is how to configure the oracle weblogic library files into Admin server & Managed Servers by using the wls.jar file through wlst script to create the new domain.
    But if create the new domain by using GUI mode then we manually give the admin server port number & managed servers port number and name.
    By default the library files are configured with the Admin server in GUI mode. But the Managed server the Library files are not configured with the Managed servers. Then we manually select all the library files to the corresponding managed servers. Then only the applications are deployed into the corresponding managed server.
    Regards,
    S.vinoth Babu

  • [SOLVED] xmonad + panel logging applets

    Until recently I used xmonad-log-applet, but after the last update, xmonad is unable to connect to dbus. I get the following error:
    xmonad-x86_64-linux: D-Bus Error (org.freedesktop.DBus.Error.NoReply): Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
    As this is quite a generic message, google wasn't of much help. and I know practically nothing about dbus, so I do not to know where to start looking for the problem. As an alternative I also tried this, which seems to take a simpler approach. But when I try to load it into my (xfce) panel (via XfApplet) I get this message:
    An internal error occurred and the applet could not be loaded.
    which is also quite informative... Starting a "real" gnome panel also doesn't help. Here I have the suspicion of some missing dependencies, although the program compiles just fine.
    Does anyone have some clues?
    Last edited by davvil (2011-04-28 09:19:15)

    I deserve a big facepalm! For the gnome-socket-applet I didn't export the GNOME_SOCKET_APPLET_PORT variable, so the program didn't start. I should have RTFM in more detail. But the socket-applet works at my computer at home, but not on the one at work
    I will mark this topic as solved, as I can use the dbus solution at work and the socket solution at home, but I am still intrigued why the difference arises. If I find the time, I will try to port the gnome-socket-applet to a native xfce panel applet and hopefully it will be more stable.
    BTW I uploaded a PKGBUILD for gnome-socket-applet

  • Applet And Database

    Hi;
    Can i do database connectivity through applet if your answer is no then plz give me reasons why?
    thanks

    Hi,
    Can i do database connectivity through applet?Applets loaded over the network are subject to various security restrictions. Although this can seem bothersome at times, it is absolutely necessary for network security, and security is one of the major advantages of using the Java programming language. An applet cannot make network connections except to the host it came from unless the browser allows it. Whether one is able to treat locally installed applets as "trusted" also depends on the security restrictions imposed by the browser. An applet cannot ordinarily read or write files on the host that is executing it, and it cannot load libraries or define native methods.
    Applets can usually make network connections to the host they came from, so they can work very well on intranets.
    The JDBC-ODBC Bridge driver is a somewhat special case. It can be used quite successfully for intranet access, but it requires that ODBC, the bridge, the bridge native library, and JDBC be installed on every client. With this configuration, intranet access works from Java applications and from trusted applets. However, since the bridge requires special client configuration, it is not practical to run applets on the Internet with the JDBC-ODBC Bridge driver. Note that this is a limitation of the JDBC-ODBC Bridge, not of JDBC.
    With a pure Java JDBC driver, you do not need any special configuration to run applets on the Internet.
    Hope this helps.
    Good Luck.
    Gayam.Srinivasa Reddy
    Developer Technical Support
    Sun Micro Systems
    http://www.sun.com/developers/support

  • Can't get the applet control from a form page

    Hi,
    I need to get the applet control in a browser which has loaded an oracle form component.
    When i use jinitiator, i get the control as sun.plugin.ocx.ActiveXAppletViewer., but when i use jre for running the oracle forms, i am not able to get the applet class. I observed with the control hierarchy with Monkey, the java accessibility tool, but I coudn't find any applet class.
    Kindly help.
    Thanks & Regards
    Sunil

    Hi,
    Sorry for the incompleteness in the post.
    1. What is the complete Forms version you are using? Do not reply with something like 6i, 9i, 10g, etc. These are product names and not versions.
    10g Release2
    2. What is the client platform (operating system) and version?
    Windows XP Professional Version 2002, Service Pack 3
    3. Which browser and version are you using?
    IE version 6.0.2900.5512.xpsp_sp3_gdr.090804-1435
    4. Which JInit and Sun JRE version are you using?
    JInit-JInitiator 1.3.1.22, Sun JRE- 1.6.0_17
    5. Are you seeing this problem with Developer Suite or Application Server or both?
    I am working on Developer suite.
    6. Provide the complete contents of the Java Console after the failure occurs.
    My issue is that I am not able to identify the applet class.I am not getting any crash as such.
    7. Does the person running the form have Windows Administrator or Power User permissions?
    Windows Administrator
    Let me elaborate the query again.
    I need to get the applet object of the page that loads the form. To get the applet class, I have written a listener class and print the name of the classes that get created. This way, I identified that the class sun.plugin.ocx.ActiveXAppletViewer, is the applet created in the IE when the form is loaded using JInit.
    Also, I can see the same applet class in the monkey tool once the page is loaded.
    HOWEVER, when I use SUN JRE to load the form, the action listener class doesn't identify any applet class. The monkey tool also fails to show any. The class I get in this scenario is sun.plugin2.main.client.PluginEmbeddedFrame.
    I assume that there should be some applet class present to load the form irrespective of whether it uses JInit or Sun JRE.
    Kindly correct me if I am wrong.
    The console log is as follows
    Java Plug-in 1.6.0_17
    Using JRE version 1.6.0_17-b04 Java HotSpot(TM) Client VM
    User home directory = C:\Documents and Settings\sunil
    c: clear console window
    f: finalize objects on finalization queue
    g: garbage collect
    h: display this help message
    l: dump classloader list
    m: print memory usage
    o: trigger logging
    q: hide console
    r: reload policy configuration
    s: dump system and deployment properties
    t: dump thread list
    v: dump thread stack
    x: clear classloader cache
    0-5: set trace level to <n>
    com.sun.deploy.util.ConsoleWindow
    javax.swing.JRootPane
    javax.swing.JPanel
    javax.swing.JLayeredPane
    javax.swing.JPanel
    javax.swing.JScrollPane
    javax.swing.JViewport
    javax.swing.JTextArea
    javax.swing.JScrollPane$ScrollBar
    com.sun.java.swing.plaf.windows.WindowsScrollBarUI$WindowsArrowButton
    com.sun.java.swing.plaf.windows.WindowsScrollBarUI$WindowsArrowButton
    javax.swing.JScrollPane$ScrollBar
    com.sun.java.swing.plaf.windows.WindowsScrollBarUI$WindowsArrowButton
    com.sun.java.swing.plaf.windows.WindowsScrollBarUI$WindowsArrowButton
    javax.swing.JPanel
    javax.swing.JButton
    javax.swing.JLabel
    javax.swing.JButton
    javax.swing.JLabel
    javax.swing.JButton
    sun.plugin2.main.client.PluginEmbeddedFrame
    Reading certificates from 137405 http://164.67.34.102:8889/forms/java/frmall.jar | C:\Documents and Settings\sunil\Application Data\Sun\Java\Deployment\cache\6.0\36\1a4500a4-49be8669.idx
    oracle.forms.engine.Main
    Loaded image: http://164.67.34.102:8889/forms/formsdemo/images/iorganizer.gif
    Reading certificates from 11 http://164.67.34.102:8889/forms/formsdemo/jars/iorganizer.jar | C:\Documents and Settings\sunil\Application Data\Sun\Java\Deployment\cache\6.0\23\b018557-49b3d76d.idx
    oracle.forms.engine.Splashscreen
    Loaded image: http://164.67.34.102:8889/forms/formsdemo/images/bannerlogo.gif
    Loaded image: http://164.67.34.102:8889/forms/formsdemo/images/white.gif
    oracle.ewt.event.tracking.GlassMouseGrabProvider$Proxy
    oracle.forms.ui.mdi.MDIContainer
    oracle.ewt.lwAWT.LWComponent
    oracle.ewt.lwAWT.LWComponent
    oracle.ewt.imageCanvas.ImageCanvas
    oracle.ewt.EwtComponent
    oracle.ewt.scrolling.scrollBox.ScrollBox
    oracle.ewt.scrolling.scrollBox.ScrollBox$1
    oracle.forms.ui.FormDesktopContainer
    oracle.ewt.scrolling.scrollBox.EwtLWScrollbar
    oracle.ewt.scrolling.scrollBox.EwtLWScrollbar
    oracle.ewt.lwAWT.LWComponent
    proxyHost=null
    proxyPort=0
    connectMode=HTTP, native.
    Forms Applet version is : 10.1.2.0
    oracle.ewt.lwAWT.lwMenu.LWMenuBar
    oracle.ewt.lwAWT.LWComponent
    oracle.ewt.lwAWT.lwMenu.LWMenu
    Loaded image: jar:http://164.67.34.102:8889/forms/java/frmall.jar!/oracle/forms/icons/frame.gif
    oracle.ewt.event.tracking.GlassMouseGrabProvider$Proxy
    oracle.ewt.button.ContinuousButton
    oracle.ewt.button.ContinuousButton
    oracle.ewt.button.ContinuousButton
    oracle.ewt.button.ContinuousButton
    oracle.ewt.event.tracking.GlassMouseGrabProvider$Proxy
    Reading certificates from 137405 http://164.67.34.102:8889/forms/java/frmall.jar | C:\Documents and Settings\sunil\Application Data\Sun\Java\Deployment\cache\6.0\36\1a4500a4-49be8669.idx
    I hope my query is clear now.
    Thanks & Regards
    Sunil

  • Xmonad log applet

    I'm running gnome and xmonad, using xmonad-log-applet to display the workspace and title. There are a couple of things I would like it to do.
    1. Can it display in UTF8? I've been trying to use System.IO.UTF8, but can't figure out the proper syntax.
    2. I'm also using XMonad.Layout.Minimize to minimize windows. Is it possible to display in the applet that a window is minimized on that workspace? I was thinking of making it display [1] when there's no minimized windows and [~1] when there is.

    I deserve a big facepalm! For the gnome-socket-applet I didn't export the GNOME_SOCKET_APPLET_PORT variable, so the program didn't start. I should have RTFM in more detail. But the socket-applet works at my computer at home, but not on the one at work
    I will mark this topic as solved, as I can use the dbus solution at work and the socket solution at home, but I am still intrigued why the difference arises. If I find the time, I will try to port the gnome-socket-applet to a native xfce panel applet and hopefully it will be more stable.
    BTW I uploaded a PKGBUILD for gnome-socket-applet

  • PlatinGUI 7.10 Error with GUIScripting in APPLET-mode

    Hello !
    In a manual mode recording and playing of a script works.
    By transfer of a script through parameters of an applet there is mistake Java:
    ############################# ERROR #############################
    19.12. 09:15:46.312 ERROR: GuiJavaScriptEventHandler.processGlobalScript() no global script handler available.
    ############################# ERROR #############################
    ############################# ERROR #############################
    19.12. 09:15:46.328 ERROR: Exception occured: java.lang.reflect.InvocationTargetException
    19.12. 09:15:46.328 ERROR: java.lang.reflect.InvocationTargetException
    19.12. 09:15:46.328 ERROR:      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    19.12. 09:15:46.328 ERROR:      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    19.12. 09:15:46.328 ERROR:      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    19.12. 09:15:46.328 ERROR:      at java.lang.reflect.Method.invoke(Unknown Source)
    19.12. 09:15:46.328 ERROR:      at com.sap.platin.micro.Dynamic.callMethod(Dynamic.java:155)
    19.12. 09:15:46.328 ERROR:      at com.sap.platin.micro.Dynamic.callMethod(Dynamic.java:139)
    19.12. 09:15:46.328 ERROR:      at com.sap.platin.GuiAppletBase2.initImpl(GuiAppletBase2.java:372)
    19.12. 09:15:46.328 ERROR:      at com.sap.platin.GuiAppletBase2$AppletInit.run(GuiAppletBase2.java:456)
    19.12. 09:15:46.328 ERROR:  caused by : java.lang.NullPointerException
    19.12. 09:15:46.328 ERROR: java.lang.NullPointerException
    19.12. 09:15:46.328 ERROR:      at com.sap.platin.base.scripting.javaScript.GuiJavaScriptEventHandler.processGlobalScript(GuiJavaScriptEventHandler.java:96)
    19.12. 09:15:46.328 ERROR:      at com.sap.platin.base.connection.GuiConnection.processScript(GuiConnection.java:939)
    19.12. 09:15:46.328 ERROR:      at com.sap.platin.base.logon.GuiImpl.processPlatinScript(GuiImpl.java:207)
    19.12. 09:15:46.328 ERROR:      at com.sap.platin.base.logon.GuiImpl.init(GuiImpl.java:151)
    19.12. 09:15:46.328 ERROR:      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    19.12. 09:15:46.328 ERROR:      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    19.12. 09:15:46.328 ERROR:      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    19.12. 09:15:46.328 ERROR:      at java.lang.reflect.Method.invoke(Unknown Source)
    19.12. 09:15:46.328 ERROR:      at com.sap.platin.micro.Dynamic.callMethod(Dynamic.java:155)
    19.12. 09:15:46.328 ERROR:      at com.sap.platin.micro.Dynamic.callMethod(Dynamic.java:139)
    19.12. 09:15:46.328 ERROR:      at com.sap.platin.GuiAppletBase2.initImpl(GuiAppletBase2.java:372)
    19.12. 09:15:46.328 ERROR:      at com.sap.platin.GuiAppletBase2$AppletInit.run(GuiAppletBase2.java:456)
    ############################# ERROR #############################

    // user configurable part starts here
    var pluginurl         = '';
    var scriptable     = 'false';
    var codebase         = '.';
    var jnlp           = 'platin.jnlp';
    var frog           = 'true';
    var trace          = '';
    var tracefile      = '';
    var connectionData = 'conn=/H/SAPRouterIP/H/SAPHostIP/S/3200&clnt=400&user=username&pass=userpass';
    var mscript = "// ---------------------------------------------------------------------------\n\r"+
                   "// modus 0\n\r"+
                   "// event dynpro SAPLSMTR_NAVIGATION.0100\n\r"+
                   "// event title 'SAP Easy Access'\n\r"+
                   "window.resizeWorkingPane(181,26,true);\n\r"+
                   "window.findById('tbar[0]/okcd').text = '/nfb03';\n\r"+
                   "window.sendVKey(0);\n\r"+
                   "// ---------------------------------------------------------------------------\n\r"+
                   "// modus 0\n\r"+
                   "// event dynpro SAPMF05L.0100\n\r"+
                   "// event title 'Document view: First screen'\n\r"+
                   "userarea.findById('txtRF05L-BELNR').setFocus();\n\r"+
                   "userarea.findById('txtRF05L-BELNR').caretPosition = 0;\n\r";
    // var mscript = 'C:\Users\Victor\scripts\test1.js';
    // user configurable part ends here
    // verify if Java Plugin as control in Internet Explorer or Java Plugin for Netscape or native JRE of browser must be used
    var jre = 'control';
    if(navigator.platform.indexOf("Mac") > -1)
       jre = 'native';
    else if (navigator.appName.indexOf("Netscape") != -1)
       jre = 'plugin';
    document.open();
    switch (jre)
    case 'control':
        document.writeln('<OBJECT CLASSID  = "clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"                               ');
        document.writeln('    ID       = "PlatinGUI"                                                                    ');
        document.writeln('    WIDTH    = "100%"                                                 ');
        document.writeln('    HEIGHT   = "100%"                                                 ');
        document.writeln('    BORDER   = 0>                                                      ');
        document.writeln('<PARAM NAME = "TYPE"           VALUE = "application/x-java-applet;jpi-version=1.5.0">         ');
        document.writeln('<PARAM NAME = "SCRIPTABLE"     VALUE = "', scriptable,'">                                ');
        document.writeln('<PARAM NAME = "code"           VALUE = "com.sap.platin.GuiApplet2">                   ');
        document.writeln('<PARAM NAME = "codebase"       VALUE = "', codebase,'">                             ');
        document.writeln('<PARAM NAME = "jnlp"           VALUE = "', jnlp,'">                             ');
        document.writeln('<PARAM NAME = "archive"        VALUE = "GuiStartS.jar">                             ');
        document.writeln('<PARAM NAME = "frog"           VALUE = "', frog,'">                             ');
        document.writeln('<PARAM NAME = "trace"          VALUE = "', trace,'">                             ');
        document.writeln('<PARAM NAME = "tracefile"      VALUE = "', tracefile,'">                             ');
        document.writeln('<PARAM NAME = "connectionData" VALUE = "', connectionData,'">                               '); 
        document.writeln('<PARAM NAME = "platinScript"   VALUE = "', mscript,'">                               '); 
        document.writeln('                                                                ');
        document.writeln('This page requires a Sun Java Plugin 1.5 and a SAPGUI for Java to view.                      ');
        document.writeln('                                                                ');
        document.writeln('</OBJECT>                                                           ');
        break;
    case 'plugin':
        document.writeln('<EMBED TYPE        = "application/x-java-applet;version=1.5"                         ');
        document.writeln('    PLUGINURL      = "', pluginurl,'"                                          ');     
        document.writeln('    WIDTH          = "100%"                                            ');                                        
        document.writeln('    HEIGHT         = "100%"                                             ');
        document.writeln('    ALIGN          = "BASELINE"                                                ');
        document.writeln('    code           = "com.sap.platin.GuiApplet2"                                      ');
        document.writeln('    codebase       = "', codebase,'"                                        ');
        document.writeln('    jnlp           = "', jnlp,'"                                                ');
        document.writeln('    archive        = "GuiStartS.jar"                                       ');
        document.writeln('    frog           = "', frog,'"                                            ');
        document.writeln('    trace          = "', trace,'"                                            ');
        document.writeln('    tracefile      = "', tracefile,'"                                       ');
        document.writeln('    connectionData = "', connectionData,'"                                        ');
        document.writeln('    platinScript   = "', mscript,'"                                        ');
        document.writeln(' <NOEMBED>                                                      ');
        document.writeln(' </NOEMBED>                                                      ');
        document.writeln(' </EMBED>                                                              ');
        break;
    case 'native': 
        document.writeln('<APPLET CODEBASE  = "', codebase,'"                                                           ');
        document.writeln('        ARCHIVE   = "GuiStartS.jar"                                                           ');
        document.writeln('        CODE      = "com.sap.platin.GuiApplet2"                                               ');
        document.writeln('        WIDTH     = "100%"                                                                    ');
        document.writeln('        HEIGHT    = "100%">                                                                   ');
        document.writeln('<PARAM NAME = "SCRIPTABLE"     VALUE = "', scriptable, '">                                    ');
        document.writeln('<PARAM NAME = "jnlp"           VALUE = "', jnlp, '">                                          ');
        document.writeln('<PARAM NAME = "frog"           VALUE = "', frog, '">                                          ');
        document.writeln('<PARAM NAME = "trace"          VALUE = "', trace, '">                                         ');
        document.writeln('<PARAM NAME = "tracefile"      VALUE = "', tracefile, '">                                     ');
        document.writeln('<PARAM NAME = "connectionData" VALUE = "', connectionData, '">                                ');
        document.writeln('<PARAM NAME = "platinScript"   VALUE = "', mscript, '">                                ');
        document.writeln('</APPLET>                                                                                ');
        break;
    document.close();

  • Error in loading WebUtil package

    Dear all,
    i have the following problem,
    we have install the application server on one machine
    Windows server 2003 Enterprise edition
    (both the infra and middle tier on the same machine), and we wanted to configure the webutil package with this installation for runtime usage, we met all the configuration steps, and we met all the platform security privilages(windows privilages),but..
    when we try to open the form that uses this package, we found two problems, the form didn't open at all and the following log written to the java console which indicates that there is a problem while loading the webutil beans(last few lines)
    Waiting for help, and following is the log
    Oracle JInitiator: Version 1.3.1.22
    Using JRE version 1.3.1.22-internal Java HotSpot(TM) Client VM
    User home directory = C:\Documents and Settings\Administrator.PWAGAZA Proxy Configuration: Manual Configuration Proxy: 192.168.0.5:8080 Proxy Overrides: pwa-application.pwagaza,<local> JAR cache enabled
    Location: C:\Documents and Settings\Administrator.PWAGAZA\Oracle Jar Cache
    Maximum size: 50 MB
    Compression level: 0 ----------------------------------------------------
    c: clear console window
    f: finalize objects on finalization queue
    g: garbage collect
    h: display this help message
    l: dump classloader list
    m: print memory usage
    q: hide console
    s: dump system properties
    t: dump thread list
    x: clear classloader cache
    0-5: set trace level to <n>
    ---------------------------------------------------- Loading http://localhost/forms/java/frmall_jinit.jar from JAR cache Loading http://localhost/forms/java/frmwebutil.jar from JAR cache RegisterWebUtil - Loading WebUtil Version 10.1.2.0 java.io.FileNotFoundException: File not found: http://localhost/forms/java/myAppIcons.jar      at sun.plugin.protocol.jdk12.http.HttpURLConnection.getInputStream(Unknown Source)      at oracle.jre.protocol.jar.HttpUtils.followRedirects(Unknown Source)      at oracle.jre.protocol.jar.JarCache$CachedJarLoader.download(Unknown Source)      at oracle.jre.protocol.jar.JarCache$CachedJarLoader.load(Unknown Source)      at oracle.jre.protocol.jar.JarCache.get(Unknown Source)      at oracle.jre.protocol.jar.CachedJarURLConnection.connect(Unknown Source)      at oracle.jre.protocol.jar.CachedJarURLConnection.getJarFile(Unknown Source)      at sun.misc.URLClassPath$JarLoader.getJarFile(Unknown Source)      at sun.misc.URLClassPath$JarLoader.<init>(Unknown Source)      at sun.misc.URLClassPath$2.run(Unknown Source)      at java.security.AccessController.doPrivileged(Native Method)      at sun.misc.URLClassPath.getLoader(Unknown Source)      at sun.misc.URLClassPath.getLoader(Unknown Source)      at sun.misc.URLClassPath.getResource(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 sun.applet.AppletClassLoader.findClass(Unknown Source)      at sun.plugin.security.PluginClassLoader.findClass(Unknown Source)      at java.lang.ClassLoader.loadClass(Unknown Source)      at sun.applet.AppletClassLoader.loadClass(Unknown Source)      at java.lang.ClassLoader.loadClass(Unknown Source)      at java.lang.ClassLoader.loadClassInternal(Unknown Source)      at java.lang.Class.forName0(Native Method)      at java.lang.Class.forName(Unknown Source)      at oracle.ewt.util.FocusUtils.<clinit>(Unknown Source)      at oracle.ewt.lwAWT.LWComponent.<clinit>(Unknown Source)      at oracle.ewt.laf.oracle.OracleLookAndFeel._initCommonFixedDefaults(Unknown Source)      at oracle.ewt.laf.oracle.OracleLookAndFeel._getCommonDefaults(Unknown Source)      at oracle.ewt.laf.oracle.OracleLookAndFeel._getIndexedDefaults(Unknown Source)      at oracle.ewt.laf.oracle.OracleLookAndFeel.getDefaults(Unknown Source)      at oracle.ewt.lwAWT.BufferedApplet.getUIDefaults(Unknown Source)      at oracle.ewt.lwAWT.BufferedApplet.<init>(Unknown Source)      at oracle.ewt.swing.JBufferedApplet.<init>(Unknown Source)      at oracle.forms.engine.Main.<init>(Unknown Source)      at java.lang.Class.newInstance0(Native Method)      at java.lang.Class.newInstance(Unknown Source)      at sun.applet.AppletPanel.createApplet(Unknown Source)      at sun.plugin.AppletViewer.createApplet(Unknown Source)      at sun.applet.AppletPanel.runLoader(Unknown Source)      at sun.applet.AppletPanel.run(Unknown Source)      at java.lang.Thread.run(Unknown Source) WARNING: Unable to cache http://localhost/forms/java/myAppIcons.jar Loading http://localhost/forms/java/jacob.jar from JAR cache Loading http://localhost/forms/java/FormsGraph.jar from JAR cache proxyHost=null proxyPort=0 connectMode=HTTP, native. Forms Applet version is : 10.1.2.0 2006-Jul-10 12:07:37.481 WUI[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress 2006-Jul-10 12:07:37.481 WUI[VBeanCommon.getIPAddress()] 192.168.0.3 2006-Jul-10 12:07:37.496 WUF[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress 2006-Jul-10 12:07:37.496 WUF[VBeanCommon.getIPAddress()] 192.168.0.3 2006-Jul-10 12:07:37.496 WUH[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress 2006-Jul-10 12:07:37.512 WUH[VBeanCommon.getIPAddress()] 192.168.0.3 2006-Jul-10 12:07:37.512 WUS[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress 2006-Jul-10 12:07:37.512 WUS[SessionFunctions.init()] Dispatcher Monitoring interval set to 5 2006-Jul-10 12:07:37.512 WUS[VBeanCommon.getIPAddress()] 192.168.0.3 2006-Jul-10 12:07:37.527 WUT[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress 2006-Jul-10 12:07:37.527 WUT[SessionFunctions.init()] Max Transfer chunk size set to 16384 2006-Jul-10 12:07:37.527 WUT[VBeanCommon.getIPAddress()] 192.168.0.3 2006-Jul-10 12:07:37.699 WUO[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress 2006-Jul-10 12:07:37.699 WUO[VBeanCommon.getIPAddress()] 192.168.0.3 2006-Jul-10 12:07:37.715 WUL[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress 2006-Jul-10 12:07:37.715 WUL[VBeanCommon.getIPAddress()] 192.168.0.3 2006-Jul-10 12:07:37.715 WUB[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress 2006-Jul-10 12:07:37.715 WUB[VBeanCommon.getIPAddress()] 192.168.0.3 2006-Jul-10 12:07:37.730 WUI[VBeanCommon.destroy()] WebUtil GetClientInfo Utility being removed.. 2006-Jul-10 12:07:37.730 WUF[VBeanCommon.destroy()] WebUtil Client Side File Functions being removed.. 2006-Jul-10 12:07:37.730 WUH[VBeanCommon.destroy()] WebUtil Client Side Host Commands being removed.. 2006-Jul-10 12:07:37.730 WUS[VBeanCommon.destroy()] WebUtil Session Monitoring Facilities being removed.. 2006-Jul-10 12:07:37.730 WUT[VBeanCommon.destroy()] WebUtil File Transfer Bean being removed.. 2006-Jul-10 12:07:37.730 WUO[VBeanCommon.destroy()] WebUtil Client Side Ole Functions being removed.. 2006-Jul-10 12:07:37.730 WUL[VBeanCommon.destroy()] WebUtil C API Functions being removed.. 2006-Jul-10 12:07:37.902 WUB[VBeanCommon.destroy()] WebUtil Browser Functions being removed..

    Hi Geetha
    check if that job is still running,if it is running kill that job first.
    change the Data package size from the schduler menu
    Now try to load the data again
    Regards
    PBI

  • Strange error in APP server installation

    Hi All,
    We installed Oracle Application server Version 10.1.2.3.0 in E drive
    Oracle Home: E:\oracle\FRHome_1
    While testing we get following errors.
    Java Plug-in 1.6.0_26
    Using JRE version 1.6.0_26-b03 Java HotSpot(TM) Client VM
    User home directory = C:\Documents and Settings\log2kor
    c:   clear console window
    f:   finalize objects on finalization queue
    g:   garbage collect
    h:   display this help message
    l:   dump classloader list
    m:   print memory usage
    o:   trigger logging
    q:   hide console
    r:   reload policy configuration
    s:   dump system and deployment properties
    t:   dump thread list
    v:   dump thread stack
    x:   clear classloader cache
    0-5: set trace level to <n>
    proxyHost=null
    proxyPort=0
    connectMode=HTTP, native.
    Forms Applet version is : 10.1.2.3
    Exception in thread "thread applet-oracle.forms.engine.Main-1" java.lang.NoSuchMethodError: oracle.ewt.util.BIDIText.setDigitSubstitution(I)V
         at oracle.forms.engine.Runform.onUpdate(Unknown Source)
         at oracle.forms.engine.Runform.onUpdateHandler(Unknown Source)
         at oracle.forms.engine.Runform.processMessage(Unknown Source)
         at oracle.forms.engine.Runform.processSet(Unknown Source)
         at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
         at oracle.forms.engine.Runform.onMessage(Unknown Source)
         at oracle.forms.engine.Runform.sendInitialMessage(Unknown Source)
         at oracle.forms.engine.Runform.startRunform(Unknown Source)
         at oracle.forms.engine.Main.createRunform(Unknown Source)
         at oracle.forms.engine.Main.start(Unknown Source)
         at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)If I remove the ewt jar , I get a strange error Error open Error opening Oracle*Terminal file C:\Oracle\Product\OracleMidTier10gR2\Forms\pc_tastatur.res . If Appserver is installed in E drive why there is a hard-coded values like this*
    C:\Oracle\Product\OracleMidTier10gR2\Forms\*
    Regards,
    Lokanath
    Solution :-> Old config was copied so removed.
    Edited by: Lokanath Giri on १८ जनवरी, २०१२ ११:०० पूर्वाह्न

    Assuming that you are following the written instructions available at http://docs.oracle.com that walk you through the install. And assuming you installed the correct versions of libraries. And assuming you set permissions correctly.
    I'd suggest metalink and opening an SR.
    If you didn't follow the docs ... rm -rf would be a good place to start.

  • Trying to use webutil  - Works in development, will not work on app server.

    I am having a similar problem. I have followed all the instructions from above.
    I run my code in the developer and it runs fine. If I run my code from the application server I get locked up.
    Here is the output from my java console.
    Oracle JInitiator: Version 1.3.1.28
    Using JRE version 1.3.1.28-internal Java HotSpot(TM) Client VM
    User home directory = C:\Documents and Settings\BrianG.PSSI
    Proxy Configuration: no proxy
    JAR cache enabled
    Location: C:\Documents and Settings\BrianG.PSSI\Oracle Jar Cache28
    Maximum size: 1,024 MB
    Compression level: 0
    c: clear console window
    f: finalize objects on finalization queue
    g: garbage collect
    h: display this help message
    l: dump classloader list
    m: print memory usage
    q: hide console
    s: dump system properties
    t: dump thread list
    x: clear classloader cache
    0-5: set trace level to <n>
    Loading http://smprdap2.pssi.local/forms/java/frmall_jinit.jar from JAR cache
    Loading http://smprdap2.pssi.local/forms/java/frmwebutil.jar from JAR cache
    RegisterWebUtil - Loading WebUtil Version 1.0.6
    Loading http://smprdap2.pssi.local/forms/java/esteelman.jar from JAR cache
    Loading http://smprdap2.pssi.local/forms/java/sticons.jar from JAR cache
    Loading http://smprdap2.pssi.local/forms/java/jacob.jar from JAR cache
    proxyHost=null
    proxyPort=0
    connectMode=HTTP, native.
    Forms Applet version is : 10.1.2.3
    Exception occurred during event dispatching:
    java.lang.NoSuchMethodError
         at oracle.forms.webutil.common.VBeanCommon.init(VBeanCommon.java:281)
         at oracle.forms.handler.UICommon.instantiate(Unknown Source)
         at oracle.forms.handler.UICommon.onCreate(Unknown Source)
         at oracle.forms.handler.JavaContainer.onCreate(Unknown Source)
         at oracle.forms.engine.Runform.onCreateHandler(Unknown Source)
         at oracle.forms.engine.Runform.processMessage(Unknown Source)
         at oracle.forms.engine.Runform.processSet(Unknown Source)
         at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
         at oracle.forms.engine.Runform.onMessage(Unknown Source)
         at oracle.forms.engine.Runform.processEventEnd(Unknown Source)
         at oracle.ewt.lwAWT.LWComponent.redispatchEvent(Unknown Source)
         at oracle.ewt.lwAWT.LWComponent.processEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Window.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)
    This is the configuration I an trying to use is:
    [SMT1]
    form=st_menu.fmx
    imageBase=CodeBase
    width=1020
    height=740
    separateFrame=true
    splashScreen=/forms/steelman/images/logo.gif
    background=no
    lookAndFeel=Oracle
    colorScheme=purple
    logo=/forms/steelman/images/small_logo.gif
    formsMessageListener=
    recordFileName=
    pjcRegisterApplet=oracle.forms.demos.util.RegisterCertificate
    pjcArchive=esteelman.jar
    baseHTMLjinitiator=signedjini.htm
    baseHTMLJinitiator=webutiljini.htm
    baseHTMLjpi=webutiljpi.htm
    baseHTML=webutilbase.htm.
    WebUtilArchive= esteelman.jar,sticons.jar, frmall_jinit.jar, frmwebutil.jar,jacob.jar
    archive_jini=frmall_jinit.jar,esteelman.jar,sticons.jar,frmwebutil.jar,jacob.jar,
    em_mode=1
    serverApp=/steelman/conf/steelman
    envFile=C:\steelman\conf\smt1.env
    If i do not use baseHTMLjinitiator=signedjini.htm
    our application will not launch at all.

    The first problem I see is that you are using an old version of WebUtil, which is not supported for use with Forms 10.1.2.3 and is probably the cause of the problem.
    RegisterWebUtil - Loading WebUtil Version 1.0.6
    The correct versions of frmwebutil.jar and webutil.pll are applied to Developer Suite installations and can be copied to Application Server. If you do not have an iDS installation, you can install the latest Forms Bundle patch which includes the correct WebUtil files. Refer to Patch ID 9593176 and Note 1188127.1. Be sure to review the ReadMe included with the patch.
    The second problem is that you are using Jinitiator. Jinitiator has been obsolete for a long time. However, if you have some reason why you must use it, I would recommend that you at least get the last version released (1.3.1.30). This can be downloaded from within MyOracleSupport (account required) using Patch ID 7410076. If you do not have access to MyOracleSupport and you are using Forms 10.1.2.3, then you can use JRE6 (1.6.0_37). Do not attempt to use JRE7
    http://www.oracle.com/technetwork/java/javase/downloads/jre6u37-downloads-1859589.html
    You would need to install the 32bit version: jre-6u37-windows-i586.exe
    References:
    <li>Note: 566628.1
    <li>Note: 561273.1

Maybe you are looking for