Avoid to accept Certificate alert in sun java plugin

Hallo ,
did somebody know how to avoid the 'accept Certificate' alert when a signed jar are used in Forms?
I know that you can use certdb.txt for Jinitiator but how is it possible in sun java plugin (we have 1.4.2_08).
Fatih

Fatih,
looks as if this is in identitydb.obj
See:
http://java.sun.com/products/plugin/plugin.faq.html
http://www.suitable.com/docs/signingsignplug.html
Frank

Similar Messages

  • Problems with WebUtil under Sun Java plugin

    Hi,
    I have a Forms application using WebUtil which works fine under Oracle jinitiator for years. It works with both MS IE and Mozilla Firefox (some other browsers were also successfully tested). Now when Mozilla released Firefox 3.6 requiring next generation Java (http://blogs.oracle.com/stevenChan/2010/01/firefox_36_ebs.html) Oracle jinitiator (Java version 1.3.1.22) cannot work and I was forced to download and install the latest JRE plugin version (http://java.sun.com/update/1.6.0/jinstall-6u18-windows-i586.cab). I provided required formsweb.cfg modifications:
    jpi_classid=clsid:CAFEEFAC-0016-0000-0018-ABCDEFFEDCBA
    jpi_codebase=http://java.sun.com/update/1.6.0/jinstall-6u18-windows-i586.cab#Version=1,6,0,18
    jpi_mimetype=application/x-java-applet;jpi-version=1.6.0_18
    Now my application starts (previously it required a plugin installation) but fails with the error:
    oracle.forms.webutil.cApi.CApiFunctions bean not found. WEBUTIL_C_API.REBIND_PARAMETER will not work
    See full Java console log below:
    Java Plug-in 1.6.0_18
    Using JRE version 1.6.0_18-b07 Java HotSpot(TM) Client VM
    User home directory = C:\Users\ilia
    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>
    Loaded image: http://kenya:7777/forms/java/fls_logo.gif
    Loaded image: http://kenya:7777/forms/java/fls_bgnd.gif
    proxyHost=null
    proxyPort=0
    connectMode=HTTP, native.
    Forms Applet version is : 10.1.2.0
    java.lang.ClassNotFoundException: oracle.forms.webutil.clientInfo.GetClientInfo
         at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Unknown Source)
         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.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)
    Caused by: java.io.IOException: open HTTP connection failed:http://kenya:7777/forms/java/oracle/forms/webutil/clientInfo/GetClientInfo.class
         at sun.plugin2.applet.Applet2ClassLoader.getBytes(Unknown Source)
         at sun.plugin2.applet.Applet2ClassLoader.access$000(Unknown Source)
         at sun.plugin2.applet.Applet2ClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         ... 19 more
    java.lang.ClassNotFoundException: oracle.forms.webutil.file.FileFunctions
         at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Unknown Source)
         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.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)
    Caused by: java.io.IOException: open HTTP connection failed:http://kenya:7777/forms/java/oracle/forms/webutil/file/FileFunctions.class
         at sun.plugin2.applet.Applet2ClassLoader.getBytes(Unknown Source)
         at sun.plugin2.applet.Applet2ClassLoader.access$000(Unknown Source)
         at sun.plugin2.applet.Applet2ClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         ... 19 more
    java.lang.ClassNotFoundException: oracle.forms.webutil.host.Host
         at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Unknown Source)
         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.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)
    Caused by: java.io.IOException: open HTTP connection failed:http://kenya:7777/forms/java/oracle/forms/webutil/host/Host.class
         at sun.plugin2.applet.Applet2ClassLoader.getBytes(Unknown Source)
         at sun.plugin2.applet.Applet2ClassLoader.access$000(Unknown Source)
         at sun.plugin2.applet.Applet2ClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         ... 19 more
    java.lang.ClassNotFoundException: oracle.forms.webutil.session.SessionFunctions
         at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Unknown Source)
         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.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)
    Caused by: java.io.IOException: open HTTP connection failed:http://kenya:7777/forms/java/oracle/forms/webutil/session/SessionFunctions.class
         at sun.plugin2.applet.Applet2ClassLoader.getBytes(Unknown Source)
         at sun.plugin2.applet.Applet2ClassLoader.access$000(Unknown Source)
         at sun.plugin2.applet.Applet2ClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         ... 19 more
    java.lang.ClassNotFoundException: oracle.forms.webutil.fileTransfer.FileTransfer
         at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Unknown Source)
         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.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)
    Caused by: java.io.IOException: open HTTP connection failed:http://kenya:7777/forms/java/oracle/forms/webutil/fileTransfer/FileTransfer.class
         at sun.plugin2.applet.Applet2ClassLoader.getBytes(Unknown Source)
         at sun.plugin2.applet.Applet2ClassLoader.access$000(Unknown Source)
         at sun.plugin2.applet.Applet2ClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         ... 19 more
    java.lang.ClassNotFoundException: oracle.forms.webutil.ole.OleFunctions
         at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Unknown Source)
         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.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)
    Caused by: java.io.IOException: open HTTP connection failed:http://kenya:7777/forms/java/oracle/forms/webutil/ole/OleFunctions.class
         at sun.plugin2.applet.Applet2ClassLoader.getBytes(Unknown Source)
         at sun.plugin2.applet.Applet2ClassLoader.access$000(Unknown Source)
         at sun.plugin2.applet.Applet2ClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         ... 19 more
    java.lang.ClassNotFoundException: oracle.forms.webutil.cApi.CApiFunctions
         at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Unknown Source)
         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.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)
    Caused by: java.io.IOException: open HTTP connection failed:http://kenya:7777/forms/java/oracle/forms/webutil/cApi/CApiFunctions.class
         at sun.plugin2.applet.Applet2ClassLoader.getBytes(Unknown Source)
         at sun.plugin2.applet.Applet2ClassLoader.access$000(Unknown Source)
         at sun.plugin2.applet.Applet2ClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         ... 19 more
    java.lang.ClassNotFoundException: oracle.forms.webutil.browser.BrowserFunctions
         at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Unknown Source)
         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.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)
    Caused by: java.io.IOException: open HTTP connection failed:http://kenya:7777/forms/java/oracle/forms/webutil/browser/BrowserFunctions.class
         at sun.plugin2.applet.Applet2ClassLoader.getBytes(Unknown Source)
         at sun.plugin2.applet.Applet2ClassLoader.access$000(Unknown Source)
         at sun.plugin2.applet.Applet2ClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         ... 19 more
    This happens on the very first call to WebUtil function in the ON-NEW-FORM-INSTANCE trigger.
    My questions are:
    - May I configure WebUtil for both jinitiator and Sun Java plugin usage?
    - What is missed in jpi configuration preventing WebUtil normal execution?
    Thank you in advance,
    Ilia

    Hi All,
    Thank you for your responds.
    The following separate configuration section is used in this situation:
    [jpiadm280]
    baseHTMLJInitiator=basejpi.htm
    envFile=InPlan.2.80.env
    pageTitle=InMind Administration Utilities v. 2.80
    width=950
    height=680
    form=CEDB_main_menu
    background=/forms/java/fls_bgnd
    logo=/forms/java/fls_logo
    splashScreen=no
    lookAndFeel=oracle
    colorScheme=teal
    imageBase=codeBase
    WebUtilArchive=frmwebutil.jar,jacob.jar_
    WebUtilLogging=off
    WebUtilLoggingDetail=normal
    WebUtilErrorMode=Alert
    WebUtilDispatchMonitorInterval=5
    WebUtilTrustInternal=true
    WebUtilMaxTransferSize=16384
    baseHTMLjinitiator=webutiljpi.htm
    baseHTMLjpi=webutiljpi.htm
    archive_jini=frmall_jinit.jar,fls_icons.jar,FormsGraph.jar
    archive=frmall.jar
    otherparams=useSDI=no
    jpi_classid=clsid:CAFEEFAC-0016-0000-0018-ABCDEFFEDCBA
    jpi_codebase=http://java.sun.com/update/1.6.0/jinstall-6u18-windows-i586.cab#Version=1,6,0,18
    jpi_mimetype=application/x-java-applet;jpi-version=1.6.0_18
    Please see highlighted with bold parameters to make sure that all recommendations were taken into account. Nevertheless the error message shows that CApiFunctions.class was not found and this class is within frmwebutil.jar, which is also referred within this configuration section (highlighted with bold undrline). So it looks like a sort of incompatibility of frmwebutil.jar with Sun JRE plugin 1.6.0_18. Do I need another version of frmwebutil.jar to run with next generation Java?
    Thanks in advance,
    Ilia

  • How do I get the SUN Java plugin to work in Firefox 8.0 or Seamonkey 2.6?

    After a recent automatic upgrade of Firefox on my Xubuntu 11.04 system, the SUN Java plugin is no longer recognized by Firefox. I tried the old method of manually symlinking the corresponding library to /usr/lib/mozilla/plugins and various other directories that contained plugins, but to no avail. Other plugins like Flash work fine.
    Having the SUN Java plugin working is a must for me in order to be able to access my online bank, the Citrix server at my workplace, etc.

    Also,
    Exit Firefox and rename the '''pluginreg.dat''' in your profile folder and start Firefox again. This may help to reinitialize the plugins that Firefox recognizes.
    Useful links:
    [https://support.mozilla.com/en-US/kb/Options%20window All about Tools > Options]
    [http://kb.mozillazine.org/About:config Going beyond Tools > Options - about:config]
    [http://kb.mozillazine.org/About:config_entries about:config Entries]
    [https://support.mozilla.com/en-US/kb/Page%20Info%20window Page Info] Tools (Alt + T) > Page Info, Right-click > View Page Info
    [https://support.mozilla.com/en-US/kb/Keyboard%20shortcuts Keyboard Shortcuts]
    [https://support.mozilla.com/en-US/kb/Viewing%20video%20in%20Firefox%20without%20a%20plugin Viewing Video without Plugins]
    [http://kb.mozillazine.org/Profile_folder_-_Firefox Firefox Profile Folder & Files]
    [https://developer.mozilla.org/en/Command_Line_Options#Browser Firefox Commands]
    [https://support.mozilla.com/en-US/kb/Basic%20Troubleshooting Basic Troubleshooting]
    [https://support.mozilla.com/en-US/kb/common-questions-after-upgrading-firefox-36 After Upgrading]
    [https://support.mozilla.com/en-US/kb/Safe%20Mode Safe Mode]
    [http://kb.mozillazine.org/Problematic_extensions Problematic Extensions]
    [https://support.mozilla.com/en-US/kb/Troubleshooting%20extensions%20and%20themes Troubleshooting Extensions and Themes]
    [https://support.mozilla.com/en-US/kb/Troubleshooting%20plugins Troubleshooting Plugins]
    [http://kb.mozillazine.org/Testing_plugins Testing Plugins]

  • Sun java plugin for Safari for windows

    Dear Friends
    I have installed Safari in Windows XP. I tried to load my applet through safari. It doesn't ask for signing and doesn't run the applet. Actually safari uses its own java plugin . Is there any option to use sun java plugin for that one and run the signed applets. please reply immediately

    We (Sun) don't have much experience with Safari on Windows at this point. Going forward, the new Java Plug-In in 6u10 should work with Safari on Windows, once Safari upgrades their NPAPI and NPRuntime interfaces to the versions in Firefox 3.

  • Fonts using sun java plugin on linux

    Hi,
    The font size is too small if we run our web form on a linux client. The font used on the linux client is "dialog". If we run the same form with the sun java plugin 1.4 on a windows client, the font "dialog" looks fine. Has anyone experienced this before or knows a solution to get a larger font size on the linux client. We would like to have the same look on linux as on windows using the same form files (*.FMX). we use forms6i.
    Kind regards,
    Johan

    I could install it in a different machine (linux). However on the machine it failed, it never asked me to enter the user name. Where do I enter it.
    On the machine where I was succesfull, i was prompted to enter admin user name.
    Thanks
    bib

  • How to deploy the native dll with the applet package by Sun Java Plugin

    I have an applet which use some native methods. I have written code for the native dll, but I don't know how to deploy the DLL with the applet jar file for Sun Java Plugin. What parameter do i should pass to System.loadLibrary()? I think the solution should don't care which browser used by the end client. How to do it? How to deal with the applet security problem?
    Thank for any comment!

    I have a similar problem.
    Trying to use the javax.comm package requires that the user have the win32com.dll located on their machine.
    I have solved the problem by using a signed applet that allows me to write the dll to the clients machine and then run the code but ideally I would like to run the code without writing the dll to the users machine...i.e. I want to load the dll directly through the applet in the same way the class files are loaded forthe applet are loaded without copying them to the clients machine. After trying everything I have come to the conclusion that it is NOT possible. The calls loadLibrary and load both require that the dll reside on the clients machine. If anyone has had a different experience please rebut this.
    Rob

  • RSA Certificate Manager with Sun Java Directory Server

    Has anyone integrated Sun Java Directory Server with RSA Certificate Manager

    we have the Key Managment System in our DSEE 6.3 through a proxy. We had to enable some OIDs for it to work.

  • Programatically accessing certificate data on Sun Java Web Server

    Hi - I have set up Sun Java Webserver 7.x to do client auth. When the client cert is presented to the webserver, I need to capture the data and send it to the app server using the javax.security.cert.X509Certificate class
    I am not creating a webapp/war file. The webserver is the front end for a Broadvision (old school, I know) portal. I tried to create a custom authentication realm, but the webserver could not find the class file, (i assume because it is not associated with a webapp).
    I know i am bucking the trend by not going the webapp route, but this seems to be a simple enough thing - i just don't know where to put the code and how to configure the webserver to see/execute the code.

    more on my problem can be seen here:
    [http://forums.sun.com/thread.jspa?threadID=5370956&tstart=0|http://forums.sun.com/thread.jspa?threadID=5370956&tstart=0]
    the big picture is this - I have an existing Broadvision portal app (in struts) that has only used the webserver as a webserver - no code ever executes on the webserver, it is merely a gateway to the portal app code. At this point, however, I would like to capture client certificate data when it is presented to the webserver and put that data in the request object to be accessed by the portal code. I have written a servlet filter that resides in a webapp on the webserver, but it never gets executed. The initial page presented by the app has the URL http://xxx.xxx.uscg.mil/cgi-bin/ghamrick/portal/ep/home.do, so you're already in the struts app and there is no way to execute the servlet filter.
    I am thinking that i might put an initial page up with links for 'Direct Login' ie login via the Broadvision app, and 'CAC Login', ie login with certificate on CAC Card. I didn't think that it would be this hard to capture cert data and provide it to the Broadvision app
    Thanks for the reply - Gregg

  • Wildcard Certificate use in Sun Java System Messaging Server (IMAPs/POPs)

    I'm trying to use a wildcard certificate acquired from GlobalSign and am having problems getting
    it (properly) into the cert database.
    I tried using certutil, and that didn't seem to work at all, it would list without user cert status:
    rmorneau+root@mmp1:/var/opt/SUNWmsgsr/config# /opt/SUNWmsgsr/sbin/certutil -L -d .
    GlobalSign-Ext-CA CT,c,
    *.xxxxxxxxxxx.edu ,,
    I had some success using msgcert and pk12util, but after importing it in, then seeing that it did
    have user cert status, after a quick restart of Messaging (IMAP/POP), SSL quit for IMAP and kicked all
    my IMAPs users out temporarily (until I put the original cert8.db and key3.db back).
    -------- ImapProxy_20101115.log----
    20101115 135531 ImapProxyAService.cfg (id 2590) SSL negotiation failed for IP XXX.XXX.X.XXX: Cannot connect: SSL is disabled. (-12268)
    pop.xxxxxxxxx.edu u,u,u
    GlobalSign-Ext-CA CT,c,
    *.xxxxxxxxxxx.edu u,u,u
    I truly appreciate any help on this matter.
    -Bob

    2. Does the certificate nickname in NSS match the configured certificate nickname in the product?I'm not sure, but I'll try that the next time I try this... will probably be late at night were I won't be interrupting IMAPs and POPs
    Makes sense. Prior to release 7 update 4, the servers have to be shut down before modifying certificate databases. As of 7 update 4 you can do a one-time migration to the cert9.db/key4.db format that >should allow certificates to be updated without taking the servers offline.
    This was in the log just before the other log entry that I showed before.
    20101115 135440 ImapProxyAService.cfg ASockSSL_Init: couldn't find cert imap.xxxxxxxxx.edu (-8174)
    This is the key line from the log. The server is looking for a certificate with the NSS certificate nickname of 'imap.xxxxxxxxx.edu' and is not finding that certificate so issue 2 is likely the problem.Yes, this was it. Oversite on my part, forgot they had to match and could not be a form of just domainname.edu or *domainname.edu.
    You either need to modify the default:SSLCertNicknames setting to match the nickname of the new certificate, or install the new certificate using the existing certificate nickname of 'imap.xxxxxxxxx.edu'I modified the default:SSLCertNicknames setting.
    Thank you CNewman very much for all your help.
    And, for those trolling for an answer with more detail via an Internet search (that is, if Oracle doesn't screw up these forums for anon searches)::::
    With the private key in hand (not password protected), I used 'openssl' to get it into a pkcs12 type file:
    (It is best to do this as root and not as sudo root as you might run into problems if your host
    does not have root power to write to your home dir on the/a NFS share.... you will get "unable to write 'random state'".)
    root@mmp1:/var/opt/SUNWmsgsr/config/GlobalSign-certs-new# /usr/sfw/bin/openssl pkcs12 -export \
    -in ket-wildcard-cert.pem -inkey private.key -out cert.pkcs12 -name xxxxxxxxx.edu
    Enter Export Password:
    Verifying - Enter Export Password:
    Where "private.key" is the key file, and "ket-wildcard-cert.pem" is the (pem format) cert from our cert provider,
    and cert.pkcs12 is our cert file that will be imported into the database, and xxxxxxxxx.edu is whatever you (nick)name your cert
    in the database
    (I think you could use a password protected private key if you have that password.. I don't.)
    Next, I used 'msgcert' to import the pkcs12 cert file into the database (I'm sure there is a way
    to use certutil or even pk12util to do the same, but I'm on Sun Messenger 6.3 at this time, so that's what I used.
    If someone would like to elaborate for those....?):
    (It is best, when using 'msgcert', to do it where your mailsrv user has some privs.. I took my pkcs12 cert and moved into /tmp.)
    root@mmp1:/tmp# /opt/SUNWmsgsr/sbin/msgcert import-cert cert.pkcs12
    Enter the PKCS#12 file password: (blank)
    Enter the certificate database password: (token password in sslpassword.conf)
    Make sure your (wildcard) cert nickname matches what you have in
    ImapProxyAService.cfg and PopProxyAService.cfg at the "default:SSLCertNicknames" field.
    Edit if need be.
    root@mmp1:/var/opt/SUNWmsgsr/config# /opt/SUNWmsgsr/sbin/certutil -L -d .
    GlobalSign-Ext-CA CT,c,
    xxxxxxxxx.edu u,u,u
    root@mmp1:/var/opt/SUNWmsgsr/config# grep default:SSLCertNicknames *AService.cfg
    ImapProxyAService.cfg:default:SSLCertNicknames xxxxxxxxx.edu
    PopProxyAService.cfg:default:SSLCertNicknames xxxxxxxxx.edu
    Then, of course, restart the msg service(s).
    /opt/SUNWmsgsr/sbin/stop-msg
    /opt/SUNWmsgsr/sbin/start-msg
    Edited by: 810750 on Nov 18, 2010 8:08 AM
    Edited by: 810750 on Nov 18, 2010 8:11 AM

  • Oracle Forms run with Sun Java Plugin

    Hello,
    I have a machine which does not have Mozilla. But i wanna run the forms in Google Chrome, not IE. I installed JInitiator (the final version), but when i run the form i still got in Chrome that there are missing plugins.
    I should mention that i just installed Dev Suite 10gR2 and i did not change anything in forms configuration files.
    What should i change and where?
    Thanks

    Hi,
    from
    [http://fdegrelle.over-blog.com/article-4135746.html|http://fdegrelle.over-blog.com/article-4135746.html]
    - Prepare your /forms/server/formsweb.cfg file
    instead of the archive_jini tag, use the archive tag
    archive=frmall.jar,...,my_jar.jar
    add a special section (including the Webutil configuration)
    [javaplugin]
    baseHTMLJInitiator=webutiljpi.htm
    jpi_download_page=http://java.sun.com/products/archive/j2se/1.4.2_09/index.html
    jpi_classid=clsid:8AD9C840-044E-11D1-B3E9-00805F499D93
    jpi_codebase=http://java.sun.com/products/plugin/autodl/jinstall-1_4-windows-i586.cab#Version=1,4,0,0
    WebUtilArchive=frmwebutil.jar,jacob.jar
    WebUtilLogging=off
    WebUtilLoggingDetail=normal
    WebUtilErrorMode=Alert
    WebUtilDispatchMonitorInterval=5
    WebUtilTrustInternal=true
    WebUtilMaxTransferSize=16384
    If you don't use the Webutil library, point to the basejpi.htm start page:
    baseHTMLJInitiator=basejpi.htm
    - Configure the Forms Builder to use this section:
    Menu : Edit -> preferences...
    tab : runtime
    item : Application server url : http://my-machine:8890/forms/frmservlet?config=javaplugin
    Then run your forms !
    regards

  • Client:Forms10g - RedHatLinux 9.x - Mozilla - Sun Java Plugin 1.4.2_03

    Hello,
    There seems to be a display problem starting
    Webforms 10g on a Linux Redhat Client.
    The display (font size) is very small.
    The Size and diplay of the forms bottom status bar is ok.
    Is there a problem with Arial fonts?
    We tried to change the Forms-Applet Parameter
    ClientDPI - but it has no effect.
    Any Ideas?
    Peter

    Yes it does - I'm on 6i patch 15 - netscape/sunjre1.4.2
    Question is how to control the font mapping that the jvm/jre is performing - ie arial is not a java font on linux / solaris so how do you specify the entries in Registry.dat ? If the form font does exists on the client linux/solaris how do you get the correct mapping ? do you need to modify java (font.properties) and how ?
    I've read the papers about configuring for sun jre but havn't come across any papers describing the important font issues

  • Jinitiator or Sun java plug-in

    I've been reading a lot of posts lately about jinitiator. From what I've been able to understand, it looks like jinitiator is going away and the sun java plug-in is what we should be using.
    Is there a definitive statement concerning this issue and is there info on how to make the switch to Sun plug-in? What changes to formsweb.cfg, how to present a download/install page, any forms issues involved, etc. We're using the current version of 10g.
    Any guidance would be appreciated. Thank you.

    It goes something like this.....
    "Focus is lost on a multi window forms application if the user ALT-TAB's to another application and back. This is only an issue with SUN Java Plugin."
    To reproduce.....
    The requirements are to have SELECT access on ALL_TABLES and to have EXECUTE
    access on DBMS_LOCK (because of a sleep of 5 seconds).
    Have 2 Forms, Form A calls Form B (modal). Form A has a multi record block. Form B has a dbms_lock call in the exit_form trigger to delay exiting back to Forms A.
    Have another Windows App open behind the form e.g. Notepad. Ensure that some
    of Notepad is visible. Open Form A , call Form B (modal). In modal Form B, click Exit
    Form - this takes 5 seconds to exit (due to dbms_lock sleep). While the hour glass is showing, click on the Notepad window, then click back on this form.
    Once the modal form B is closed and focus has returned to this form, notice that "mouse navigation" is broken. The current record is highlighted but does not move when you click into a different record.
    The mouse doesn't work anymore.
    This is only an issue with Java Sun plugin. The Jinitiator version works (but gives a different error when you ALT TAB to another app and back again, the focus is lost in the field you were in).
    Oracle have apparently raised a SR with SUN but there's no promises as to when and if it will get resolved. Meanwhile we're stuck with JInitiator.
    If anyone has any ideas, please yell out !!

  • Mouse navigations problem with Sun Java 1.5.0_*

    Hello gurus,
    We need to move from JInitiator to Sun Java Plugin; according to the Forms10g Client Platform Support (http://www.oracle.com/technology/products/forms/htdocs/10gR2/clientsod_forms10gR2.html) one of the certified version for Forms 10.1.2.0.2 of the the Sun Java Plugin is 1.5.0_06 and Internet Explorer 6.0, we have tested also SJPI 1.5.0_09 and we get the same mouse navigation problem reported in the following Oracle Forum threads.
    Mouse navigation don't work with Java Plugin.
    Mouse navigation don't work with Java Plugin.
    Forms 10gR2, Sun Java 1.5.0_06 gives mouse problems
    Forms 10gR2, Sun Java 1.5.0_06 gives mouse problems
    Does anybody know a solution to this problem?
    Any help will be really appreciated.
    Regards,
    Victor.

    You need to use 1.5.0_12 or newer. The client SOD is not up-to-date on this specific point. A lot of navigation problems was fixed in this very release.
    The Management team should change this in the client SOD, wonder why they still refer to 1.5.0_06. For Applications, the first 1.5.0 to be certified was _12.
    Also make sure, that you are using the latest Patch 3 for 10.1.2 (10.1.2.3). This patch also contains fixes for a lot of these wellknown issues.
    Hope this helps,
    Jacob

  • Forms10g JAR and Java Plugin Caching problems

    Hello,
    Does anybody know following problem:
    We are deploying the forms java classes in a jar-file
    signed with our own certificate.
    We have a our own second (JavaBeans for forms) and a third jar file signed and deploying it in the right order
    archive = 'f90...jar,f2.jar,f3.jar'
    We are using the Sun Java Plugin 1.4.2 on the Client.
    Everything starts and works correct when it loads
    from the Application server the first time.
    Then the jar-files are in the cache.
    If you restart your Browser the Java Console hangs...
    No error messages in the console
    If we only load the forms jar file starting works
    except the error message in the console:
    Deactivating Caching also helps.
    Any ideas why there are problems with the
    Caching?
    sun.plugin.cache.DownloadException
         at sun.plugin.cache.CachedFileLoader.load(Unknown Source)
         at sun.plugin.cache.FileCache.get(Unknown Source)
         at sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.connectWithCache(Unknown Source)
         at sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.connect(Unknown Source)
         at sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.getInputStream(Unknown Source)
         at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown Source)
         at sun.awt.image.URLImageSource.getDecoder(Unknown Source)
         at sun.awt.image.InputStreamImageSource.doFetch(Unknown Source)
         at sun.awt.image.ImageFetcher.fetchloop(Unknown Source)
         at sun.awt.image.ImageFetcher.run(Unknown Source)
    proxyHost=null
    proxyPort=0
    connectMode=HTTPS, native.
    sun.plugin.cache.DownloadException
         at sun.plugin.cache.CachedFileLoader.load(Unknown Source)
         at sun.plugin.cache.FileCache.get(Unknown Source)
         at sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.connectWithCache(Unknown Source)
         at sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.connect(Unknown Source)
         at sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.getInputStream(Unknown Source)
         at java.net.HttpURLConnection.getResponseCode(Unknown Source)
         at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(Unknown Source)
         at sun.applet.AppletClassLoader.getBytes(Unknown Source)
         at sun.applet.AppletClassLoader.access$100(Unknown Source)
         at sun.applet.AppletClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.applet.AppletClassLoader.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.util.ResourceBundle.loadBundle(Unknown Source)
         at java.util.ResourceBundle.findBundle(Unknown Source)
         at java.util.ResourceBundle.getBundleImpl(Unknown Source)
         at java.util.ResourceBundle.getBundle(Unknown Source)
         at oracle.forms.registry.MessageManager.getMessage(Unknown Source)
         at oracle.forms.registry.MessageManager.getMessage(Unknown Source)
         at oracle.forms.engine.Runform.createInitialMessage(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.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Version von Forms-Applet: 9.0.4.0
    sun.plugin.cache.DownloadException
         at sun.plugin.cache.CachedFileLoader.load(Unknown Source)
         at sun.plugin.cache.FileCache.get(Unknown Source)
         at sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.connectWithCache(Unknown Source)
         at sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.connect(Unknown Source)
         at sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.getInputStream(Unknown Source)
         at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown Source)
         at sun.awt.image.URLImageSource.getDecoder(Unknown Source)
         at sun.awt.image.InputStreamImageSource.doFetch(Unknown Source)
         at sun.awt.image.ImageFetcher.fetchloop(Unknown Source)
         at sun.awt.image.ImageFetcher.run(Unknown Source)

    Thanks. But It is not solely about LAF. It is just that my form applet is not getting dowloaded as soon as user opens application on browser. It is the whole applet nothing about LAf. But still I would send the email.
    Thanks,
    RK

  • Firefox ( =1.0.5) + Java Plugin (1.4.2_08) can't run applets

    Hi
    I'm using gentoo linux and i've been using firefox with the sun java plugin for some time without any problems. however, in the last few weeks there suddenly appeared the following problem with the java plugin:
    Whenever I try to open a page with an applet, there is the java logo, and after some time, there's a red "X" in the place of the applet. When I subsequently open the java console, I always get the same error message (Encyclo.class contains the applet):
    java.lang.ClassNotFoundException: Encyclo.class
         at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:162)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
         at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:123)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
         at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:566)
         at sun.applet.AppletPanel.createApplet(AppletPanel.java:619)
         at sun.plugin.AppletViewer.createApplet(AppletViewer.java:1879)
         at sun.applet.AppletPanel.runLoader(AppletPanel.java:548)
         at sun.applet.AppletPanel.run(AppletPanel.java:299)
         at java.lang.Thread.run(Thread.java:534)
    Caused by: java.net.ConnectException: Invalid argument
         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:452)
         at sun.net.NetworkClient.doConnect(NetworkClient.java:137)
         at sun.plugin.net.protocol.http.HttpClient.doConnect(HttpClient.java:106)
         at sun.net.www.http.HttpClient.openServer(HttpClient.java:402)
         at sun.net.www.http.HttpClient.openServer(HttpClient.java:618)
         at sun.net.www.http.HttpClient.<init>(HttpClient.java:306)
         at sun.net.www.http.HttpClient.<init>(HttpClient.java:267)
         at sun.plugin.net.protocol.http.HttpClient.<init>(HttpClient.java:41)
         at sun.plugin.net.protocol.http.HttpClient.New(HttpClient.java:62)
         at sun.plugin.net.protocol.http.HttpURLConnection.createConnection(HttpURLConnection.java:101)
         at sun.plugin.net.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:158)
         at sun.plugin.net.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:393)
         at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:272)
         at sun.applet.AppletClassLoader.getBytes(AppletClassLoader.java:263)
         at sun.applet.AppletClassLoader.access$100(AppletClassLoader.java:43)
         at sun.applet.AppletClassLoader$1.run(AppletClassLoader.java:152)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:149)
         ... 9 more
    I have no Idea what could be wrong. Please help.

    One of my colleagues found a workaround.
    This problem is maybe related to selinux.
    If you disable selinux, applets will work well.
    [ To disable selinux find the line beginning with "SELINUX="
    in your /etc/sysconfig/selinux file and change it to "SELINUX=disabled".
    And then you perhaps have to reboot. ]
    HTH:
    B�lint

Maybe you are looking for

  • Hi i was trying to run an .jspx page in my ADF application .but i am getting bellow error .please help me to resolve this error

    IntegratedWebLogicServer startup time: 154811 ms. IntegratedWebLogicServer started. [Running application ContexttualEvent on Server Instance IntegratedWebLogicServer...] [04:59:17 PM] ----  Deployment started.  ---- [04:59:17 PM] Target platform is 

  • How to create groups in AD using AD group process definition

    Hello, I want to create group in AD when i create group in OIM & i had achieved this using JNDI & was able to create groups in AD successfully,now i want to create groups in AD using AD Group process definition which contains create AD Group task. Ca

  • Macbook pro 2011 keyboard skipping key strokes

    When typing quickly the laptop keyboard it sometimes skips characters. I have an external windows keyboard that does not seem to have that problem. I read about a keyboard problem from a few years ago that caused the first character to get missed. Th

  • DVD menus: Which item is selected?

    I've created a DVD from old Super-8 mm film reels. I got 6 years of movies, typically 5 3-minute reels from each year. In iMovie I assembled all 30 reels in date order, inserted titles for each year, added music, made chapter markers for each year's

  • A little urgent when to use binary search.

    Hi evryone, Plz let me know under what kind of conditions can we use binary search addition cause if I use it for every read statement the database acees in se30 goes higher than normal. If i randomly select only a few big read table statements the d