File_upload PJC.x509

Hi,
can i install PJC.x509 certficate (file_upload utility), from forms, or from html with some script?

You can't do it from Forms because to call any O/S command you'd need to use a signed PJC and to use the Signed PJC you need to import the certificate - catch 22.
Jinitiator 1.3 will pop up a dialog when it sees a new signed Jar file and will automatically import the certificate if the user decides to trust it - but there is a bug on this at the moment and it doesn't work every time. (bug 2483719)
For Jinit 1.1.n users then all you can do is to create some kind of self installing .exe file which contains a batch file and the certificate. The batch file does the registering.
Using something like Winzip self extractor you can create a .exe which automatically runs a particular program (e.g. the betch file in this case)

Similar Messages

  • Unable to install File Upload Utility in AIX system

    Hello,
    I installed the Forms File Upload Utility, through CGI, following the steps described in the html
    document provided with the utility. That is:
    - i copied the files UploadClient.jar.sig and UploadServer.jar to the directory
    /ias102/6iserver/forms60/java;
    - i edited the .profile file, for the variable CLASSPATH to include the forms60/java directory:
    CLASSPATH=/ias102/6iserver/forms60/java:/ias102/6iserver/forms60/java/UploadServer.jar:/ias102/6iserver/discwb4/classes/locator.jar:/usr/java131/jre/lib/rt.jar:
    - i edited the .profile file, for the variable PATH to include the requested directories (Forms \bin and \bin\classic):
    PATH=/ias102/6iserver/lib:/ias102/6iserver/bin:/usr/java131/jre/bin/classic/:/us
    r/java13
    1/bin:$PATH
    (i also tried editing the CLASSPATH and PATH variables in the forms60.sh and forms60_server files)
    - on my machine (client machine) i installed the PJC.x509 certificate;
    After this installation, i included the Demo Form provided with the utility in my test application, and then i executed
    the form.
    I tried to upload a file but i got the following error: "FRM-40735: WHEN-BUTTON-PRESSED trigger raised unhandled exception ORA-06508"
    I looked in the html document, in the "Troubleshooting" section, and i did a test pressing
    the Key-Listval (Control+L by default), that would pop up a dialog containing
    the current CLASSPATH, but instead i got the following error:
    "FRM-40735: KEY-LISTVAL trigger raised unhandled exception ORA-105100."
    In the html said that "If this fails then this is because Forms cannot instanciate any Java code
    at all".
    Do i need to add any more environment settings?
    Thanks, Jorge

    There are probably several environment variables which need to be set in order for the Forms runtime to communicate with Java. However, to where they point will depend on which Java home you choose to use. For Forms 6.x, you must use the equivalent of JDK 1.1.8 or 1.2.2. These versions are included in the Oracle home. If you try using a newer version (like the one installed on the OS) you will likely have problems.
    Verify these env variables point to the appropriate locations to use the jdk/jre in the Oracle Home:
    PATH
    CLASSPATH
    LIBPATH
    LD_LIBRARY_PATH
    JAVA_HOME
    Additionally, ensure that your CLASSPATH includes references to the following jar files:
    importer.jar
    rt.jar

  • About Forms JAVA UI Component AppletSecurityException

    Hi,
    I have been researching how to access a custom OCX control from Web Forms 6i application, and I came up with a third-party JAVA to COM bridging solution, J-Integra from Intrinsyc.
    With J-Integra I was able to build a PJC compatible JAVA component which invokes a local OCX control and was able to access the JAVA component from regular JAVA application but when I tried to invoke the component with Web Forms application I got AppletSecurityException runtime error message. I have signed the component's jar file with javakey, without success, to remove the AppletSecurityException message. How can I remove the following runtime error message from my PJC JAVA component?
    sun.applet.AppletSecurityException: checklink
         at java.lang.Throwable.<init>(Compiled Code)
         at java.lang.Exception.<init>(Compiled Code)
         at java.lang.RuntimeException.<init>(RuntimeException.java:50)
         at java.lang.SecurityException.<init>(SecurityException.java:42)
         at sun.applet.AppletSecurityException.<init>(AppletSecurityException.java:29)
         at sun.applet.AppletSecurityException.<init>(AppletSecurityException.java:34)
         at sun.applet.AppletSecurity.checkLink(AppletSecurity.java:256)
         at java.lang.Runtime.loadLibrary(Compiled Code)
         at java.lang.System.loadLibrary(System.java:561)
         at com.linar.jintegra.NativeObjRef.q(Unknown Source)
         at com.linar.jintegra.Dispatch.a(Unknown Source)
         at com.linar.jintegra.Ocx.<clinit>(Unknown Source)
         at rapidview.JRapidViewx.<init>(JRapidViewx.java:25)
         at oracle.forms.handler.UICommon.instantiate(Compiled Code)
         at oracle.forms.handler.UICommon.onCreate(Compiled Code)
         at oracle.forms.handler.JavaContainer.onCreate(Unknown Source)
         at oracle.forms.engine.Runform.onCreateHandler(Compiled Code)
         at oracle.forms.engine.Runform.processMessage(Compiled Code)
         at oracle.forms.engine.Runform.processSet(Compiled Code)
         at oracle.forms.engine.Runform.onMessageReal(Compiled Code)
         at oracle.forms.engine.Runform.onMessage(Compiled Code)
         at oracle.forms.engine.Runform.processEventEnd(Compiled Code)
         at oracle.ewt.lwAWT.LWComponent.redispatchEvent(Compiled Code)
         at oracle.ewt.lwAWT.LWComponent.processEvent(Compiled Code)
         at java.awt.Component.dispatchEventImpl(Compiled Code)
         at java.awt.Container.dispatchEventImpl(Compiled Code)
         at java.awt.Component.dispatchEvent(Compiled Code)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Compiled Code)
         at java.awt.LightweightDispatcher.processMouseEvent(Compiled Code)
         at java.awt.LightweightDispatcher.dispatchEvent(Compiled Code)
         at java.awt.Container.dispatchEventImpl(Compiled Code)
         at java.awt.Window.dispatchEventImpl(Compiled Code)
         at java.awt.Component.dispatchEvent(Compiled Code)
         at java.awt.EventDispatchThread.run(Compiled Code)
    Thanks!

    I am also having the same problem.
    I have signed using the PJC.x509 certificate and it is still throwing the
    link error. I am not sure what I need to. I had imported the certificate and
    also ensured that identity.obj is copied to proper directory.
    After following the complete instruction from PJC document,i am still having problems.Either we have incorrect document or problem and resolution section needs
    to be updated.
    FYI, I am running windows2000 and my forms server is 6i with patch5 .

  • Upload file in web form - ora-105101

    I want to upload files in a web form. I downloaded fileupload utility, but I can't make it work.
    I can launch the form, open the dialog box, choose a file, then the progress bar appear and a
    ora-105101 is raised in the custom_item_event trigger. When I close the form after that, a Dr watson
    box appear.
    I tried java 1.2.2, then java 1.4.1, then java 1.1.8, with no success.
    I tried Jinitiator 1.1.7.30, then 1.1.8.7, then 1.1.8.10, and finally 1.1.8.16, with no success.
    I tried many many path and classpath setting, with no success.
    I executed each time that (in the current jinitiator directory) :
    javakey -r PJC
    javakey -c PJC true
    javakey -ic PJC c:\temp\pjc.x509
    to ensure the security aspect is ok.
    Do you have any ideas, or something ?
    My configuration is :
    forms 6.0.8.13.0
    windows NT service pack 5
    I use CGI mode to launch fileupload utility
    Thanks,

    The problem here is usually one of setting up the classpath correctly on the server.
    If you run the Demo Form that comes with the utility and press KEY-LISTVAL then it will pop up an alert with the current classpath in it.
    If this fails and you get an error it's because Forms can't start Java on the server at all which indicates that you need to check the o/s path that is configured for the CGI to use.
    In general I'd recommend using the Forms listener Servlet with this kind of code because it means that you can do all you're configuration in a simple .env file.
    Have a look at the HTML document that comes with the upload utility - there are some hints at then end of it to help with the setup.

  • Forms, FileUpload-Demo

    Hi,
    I have a very special question:
    We use Forms6i with IAS 1.0.2.2 running in Servlet- and HTTPS-Mode.
    If we use the fileupload-function of the 'Forms File Upload Utility' we have downloaded from OTN, each Client gets the following Error-Message:
    connectMode=HTTPS, native.
    Version von Forms-Applet: 60818
    com.ms.security.SecurityExceptionEx[oracle/forms/demos/uploadclient/FileUploader.loadFile]: FileDialog creation denied.
    I use the signed UploadClient.jar(.sig) and i have installed the PJC.x509 certificate on client.
    Can anybody help me?
    Christian

    Christian - you might try just changing your policy file just so you can see that everything else is working. Sometimes a simple permission could be granted. For instance Oracle does this
    permission java.util.PropertyPermission "oracle.server.version", "read";
    in the java.policy file so the Oracle ssl library can get this version. You can do stuff like this just be careful that you don't open your clients up to having sensitive data stolen by unauthorized people.
    read on this page
    http://java.sun.com/products/jdk/1.2/docs/guide/security/PolicyFiles.html#FileSyntax
    here is an excerpt
    Property Expansion in Policy Files
    Property expansion is possible in policy files and in the security properties file.
    Property expansion is similar to expanding variables in a shell. That is, when a string like
    ${some.property}
    appears in a policy file, or in the security properties file, it will be expanded to the value of the system property. For example,
    permission java.io.FilePermission "${user.home}", "read";
    will expand "${user.home}" to use the value of the "user.home" system property. If that property's value is "/home/cathy", then the above is equivalent to
    permission java.io.FilePermission "/home/cathy", "read";
    In order to assist in platform-independent policy files, you can also use the special notation of "${/}", which is a shortcut for "${file.separator}". This allows things like
    permission java.io.FilePermission "${user.home}${/}*", "read";
    If the value of the "user.home" property is /home/cathy, and you are on Solaris, the above gets converted to:
    permission java.io.FilePermission "/home/cathy/*", "read";
    If on the other hand the "user.home" value is C:\users\cathy and you are on a Windows system, the above gets converted to:
    permission java.io.FilePermission "C:\users\cathy\*", "read";

  • New auto fill pjc

    Hi
    I found this java code on the web to create a pjc for autofilling a combo box. It uses most of the regular features of the normal oracle combo box(for example it gets populated like normal), but it adds the autofill feature which is pretty cool. My problem is, for some reason I cannot get the value that I typed in the combo box. If I drill down with my mouse and select a value it works like normal. Its just when i'm typing. Is there any code (set_custom_property or get_custom_property) that can be added so I can capture the values I typed in? It doesn't seam to accept any of those functions.
    any help would be greatly appreciated.
    thanks
    package smartbox;
    import java.awt.event.KeyAdapter;
    import java.awt.event.KeyEvent;
    import oracle.ewt.lwAWT.lwText.LWTextField;
    import oracle.forms.ui.VComboBox;
    public class mycombo extends VComboBox
    //private String[] m_origItems;
    private char m_keyChar = 0;
    private final String CLASSNAME = this.getDefaultName();
    * Constructor for the mycombo PJC
    public mycombo() {
    super();
    try {
    jbInit();
    catch (Exception e) {
    e.printStackTrace();
    void predict(KeyEvent e)
    // get the textfield component of ComboBox
    LWTextField tf = this.getLWTextField();
    // list search flag
    boolean found = false;
    // found/selected index
    int selected = 0;
    // replace currently selected characters with acharacter that user has just typed
    tf.replaceRange(String.valueOf(m_keyChar),tf.getSelectionStart(),tf.getSelectionEnd());
    String currval = tf.getText();
    // get array of list items
    String[] origItems = this.getItems();
    // compare current text in the textfield to the list items,
    // find the first occurrence of an item that starts with what userhas typed
    for (int i = 0; i < origItems.length; i++)
    //if (m_origItems.toUpperCase().startsWith(currval.toUpperCase())) {
    found = origItems[i].toUpperCase().startsWith(currval.toUpperCase());
    if (found) {selected = i; break;}
    if (found)
    this.select(selected);
    tf.select(currval.length(),100);
    e.consume();
    private void jbInit() throws Exception {
    // Hook into the keyboard
    addKeyListener(new KeyPressAdapter());
    * Private class to intercept the keyboard actions and store the keystrokes away.
    class KeyPressAdapter extends KeyAdapter
    public void keyPressed(KeyEvent e)
    * KeyTyped is where we do the work
    http://www.sandidresources.com - Sandid Resources LLC Powered by Mambo Generated: 20 March, 2008, 23:36
    public void keyTyped(KeyEvent e)
    // we are only interested in keystrokes that result in a Unicode character;
    // other keystrokes will go default route
    int id = e.getID();
    if (id == KeyEvent.KEY_TYPED) {
    if (e.getKeyChar() != KeyEvent.VK_BACK_SPACE &&
    e.getKeyChar() != KeyEvent.VK_ENTER &&
    e.getKeyChar() != KeyEvent.VK_TAB) {
    m_keyChar = e.getKeyChar();
    predict(e);
    * Utility function to print out a debug message to the Java Console.
    * @param msg string to display, this will be prefixed with the classname of the PJC
    * @webmethod
    public void log(String msg)
    System.out.println(CLASSNAME + ": " + msg);

    Hi Marc
    First of all: Yes it is possible. It depends on how this ticket is created.
    If a ticket is created via a bridge there is a built in automatism. Each ticket has 3 sets of fields where address data can be stored:
     - Caller
     - Contactperson
     - CallerHelpDesk
    If you you do not provide a LastName and if you provide a ShortName and/or a PIN the system tries to find a user with this data and fills the address fields with the data of this user.
    If more than one user can be found the system uses the first it could find. So be careful when creating and maintaining users.
    If you create a ticket via an online interface (SD2 or Portal) you can configure a DetailButton in the mentioned Calldetail for address fields where you directly can search in the user table.

  • IPhone Mail app; IMAP; x509 client certificate?

    The title says it all really.
    I have an x509 client certificate happily installed in my iPhone's keychain. This certificate works correctly in Safari, allowing access to sites which demand it. When I try to collect mail from an IMAP server which also requires a client certificate, it doesn't work.
    As far as I can work out, the Mail app is not sending my client certificate when the server requests it to do so. Is this true? Is there a way to configure the Mail app to respond correctly to the server's client certificate request? Any pointers or information welcome!

    I think so.
    Actually I think I need to get the App Password for Mail on my phone. It generates the app password and I enter it into the password in the gmail setup for mail.
    The problem is that when I hit next on that page, I get the message:
    "my name" is already added" and I cannot proceed.
    Before doing this setup I deleted my gmail account by tapping the email address and hitting delete in the Mail, Contact and Calendars setup..
    but, there is something hiding in my iPhone that remembers my old gmail password (I guess) and doesn't let me proceed.
    If I enter my gmail iChain password I get the same thing.
    If i do this in airplane mode (no connection to google) i also get the same.
    I talked to an apple care person who had me reset all my settings... still the same thing.
    I am trying to avoid a gull reset of the iPhone, but that may be in the cards.
    Going to go to the apple store and ask there, but i am not hopeful.
    Barry

  • WebID (x509 certificate) on Windows Server 2012

    How can a (end) user log in to Windows Server 2012 using his WebID (x509 certificate)?

    Hi,
    I assume that you are talking about smart card logon, which makes it possible for user to logon using a smart card and a PIN (Personal Identification Number).
    More information for you:
    Set up a smart card for user logon
    http://technet.microsoft.com/en-us/library/cc775842(v=WS.10).aspx
    How to implement x.509 certificate-based windows logon and authentication
    http://social.technet.microsoft.com/Forums/windowsserver/en-US/0291dee1-1b10-4139-b36d-f1b953f8a09a/how-to-implement-x509-certificatebased-windows-logon-and-authentication?forum=winserversecurity
    I hope this helps.
    Amy Wang

  • Open dialog box through PJC

    hi all
    is there any pjc demo to open the dialog box?

    hi
    yup i know, but i modified it with my requirement and its working fine with client_ole2 to choose the excel file and import it into form
    which is working perfect but here what i want to know,i did not check on client machine only i am able to see the dialog box on server machine and i am going to check on client machine ,so what i want from you just clarify
    me that it will work on client machine or not?

  • How to return a data structure such as an array from PJC to a Form

    Hello,
    I am trying to find a way to return an array of data from PJC.
    I know how to do it one cell at a time, but it is a very slow way to develope
    a program.
    Is there any way to return an array of data from PJC with a single method call?
    This seems to be impossible, because the GET_CUSTOM_PROPERTY only returns
    strings.
    Best regards,
    Jarkko Levasma

    if you mean resultSet to pl/sql datatype - yes appears to be impossible - I worked on it for a while

  • Alert message and timeout PJC

    Hi,
    We are using timeout PJC  functionality for our web forms. It's working fine and the form application display the alert/message whenever inactivity time reaches(which is set for 30 minutes). The issue is when you minimized the form application by clicking the browser's minimized button and now let say you are working in Toad or some other application and in a mean time your form application which is minimized and its inactivity time reaches but the alert/message is hidden with the minimized form application. Is there anyway to show the alert/message in my current working window/application? Any advise/suggestion please?
    Thanks
    RM

    Hi Francois,
    The frmall.jar is already in C:\Oracle10g_ds\forms\java location. But still when i try to compile TimeoutPJC.java in jdeveloper i get the comilation errors.
    Compiling...
    C:\Oracle10g_ds\jdev\bin\ojc.exe -noquiet -warn -nowarn:320 -nowarn:486 -nowarn:487 -deprecation:self -target 1.2 -encoding Cp1252 -g -d C:\Oracle10g_ds\jdev\mywork\Application1\Project\classes -make C:\Oracle10g_ds\jdev\mywork\Application1\Project\classes\Project.cdi -classpath C:\Oracle10g_ds\jdk\jre\lib\rt.jar;C:\Oracle10g_ds\jdk\jre\lib\i18n.jar;C:\Oracle10g_ds\jdk\jre\lib\sunrsasign.jar;C:\Oracle10g_ds\jdk\jre\lib\jsse.jar;C:\Oracle10g_ds\jdk\jre\lib\jce.jar;C:\Oracle10g_ds\jdk\jre\lib\charsets.jar;C:\Oracle10g_ds\jdk\jre\classes;C:\Oracle10g_ds\jdev\mywork\Application1\Project\classes -sourcepath C:\Oracle10g_ds\jdev\mywork\Application1\Project\src;C:\Oracle10g_ds\forms\demos\timeout\src;C:\Oracle10g_ds\jdk\src.zip C:\Oracle10g_ds\forms\demos\timeout\src\oracle\forms\demos\TimeoutPJC.java
      compiling C:\Oracle10g_ds\forms\demos\timeout\src\oracle\forms\demos\TimeoutPJC.java
    [1:07:42 PM] Compilation complete: 6 errors, 0 warnings.
    Project: C:\Oracle10g_ds\jdev\mywork\Application1\Project\Project.jpr
    C:\Oracle10g_ds\forms\demos\timeout\src\oracle\forms\demos\TimeoutPJC.java
    Error(46,28): cannot access class oracle.forms.engine.Main; file oracle\forms\engine\Main.class not found
    Error(47,29): cannot access class oracle.forms.handler.IHandler; file oracle\forms\handler\IHandler.class not found
    Error(48,32): cannot access class oracle.forms.properties.ID; file oracle\forms\properties\ID.class not found
    Error(49,24): cannot access class oracle.forms.ui.CustomEvent; file oracle\forms\ui\CustomEvent.class not found
    Error(50,24): cannot access class oracle.forms.ui.VBean; file oracle\forms\ui\VBean.class not found
    Error(52,33): class VBean not found in class oracle.forms.demos.TimeoutPJC
    Thanks RM

  • OSB Http Transport Custom Authenticatiion (X509 in Http header)

    Hello!
    I'm trying to solve this case. We have F5 Load balancer that terminates SSL Connections From client to the OSB. When terminating the SSL, the LB adds the clients certificate into headers of the Http request going to OSB.
    OSb proxy service is configured to use custom authentication with token type X509 (only choice in the OSB console).
    What happens when I send the request to OSB, is that I get http code 401 (unauthorized) this error on server log:
    ####<Sep 27, 2011 3:08:05 PM EEST> <Error> <WliSbTransports> <appserver02> <MANSERV02> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <> <1317125285598> <BEA-381327> <Transport-level custom token identity assertion failed
    java.lang.ClassCastException: java.lang.String cannot be cast to [Ljava.security.cert.X509Certificate;
    The HTTP header sent to OSB is in the messages below.
    It has also been wihotu the BEGIN CERTIFICATE and END CERTIFICATE lines with same results.
    Can somebody help me in:
    a) Should the certificate be sent in what form from LB to OSB.
    b) How should the OSB/WLS be configured for this to work?
    OSB version is 10.3.1.
    Request to the server is:
    POST /prjTemplateService/ProxyServices/psvcHelloWolrdWSSSLInterface HTTP/1.1
    Accept-Encoding: gzip,deflate
    Content-Type: text/xml;charset=UTF-8
    SOAPAction: "urn:#HelloWorldOperation"
    User-Agent: Jakarta Commons-HttpClient/3.1
    Host: <ip_here>
    Content-Length: 459
    SSLClientCertStatus: ok
    SSLClientCertb64: -----BEGIN CERTIFICATE-----
    MIICHDCCAYUCBE2sABcwDQYJKoZIhvcNAQEEBQAwVTELMAkGA1UEBhMCRkkxCzAJ
    BgNVBAgTAkZJMQ4wDAYDVQQHEwVFc3BvbzEMMAoGA1UEChMDRVpaMQswCQYDVQQL
    EwJUQzEOMAwGA1UEAxMFSnVzc2kwHhcNMTEwNDE4MDkxMDQ3WhcNMTEwNzI3MDkx
    MDQ3WjBVMQswCQYDVQQGEwJGSTELMAkGA1UECBMCRkkxDjAMBgNVBAcTBUVzcG9v
    MQwwCgYDVQQKEwNFWloxCzAJBgNVBAsTAlRDMQ4wDAYDVQQDEwVKdXNzaTCBnzAN
    BgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAvEPjEn3tvG3YuXlsLZnE7ZOKUJIF0Foy
    c1hp+k7dyGUoHu3Phva7eVOO1cmHaGkFHkg+EnnK3+/Y58EMQAEwPOfQTj0/vSSk
    cEx2X/2p2W7ACldJlYMxx2ZdFa1qaKTXtoieLy23/kJI+ZTfIoB+nmZiPRE9Hq8p
    LTPlcMWVFnkCAwEAATANBgkqhkiG9w0BAQQFAAOBgQC3EZMQieOy4PFh+95R6W7/
    3xaaRm/BzmEU/Wf9JweEwrnttdSmRKsxx9vSkADnD0J7jGO+koym5CWvJHbox4Sk
    QMRPFaTOBRD4hzZeJMidds1LSzUm/QE9PXzjS/HLSjBBs5DmZfdR+uXPSFqTROkd
    87R5veuPX5KeKQHs8iesTw==
    -----END CERTIFICATE-----
    SSLClientCertSN: 4d:ac:00:17
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:Hello:client">
    <soapenv:Body>
    <urn:HelloWorldRequest>
    <urn:FirstName>Jolly</urn:FirstName>
    <urn:Surname>Roger</urn:Surname>
    </urn:HelloWorldRequest>
    </soapenv:Body>
    </soapenv:Envelope>
    Response from OSB:
    HTTP/1.1 401 Unauthorized
    Connection: close
    Date: Fri, 30 Sep 2011 08:32:33 GMT
    Content-Length: 1518
    Content-Type: text/html
    X-Powered-By: Servlet/2.5 JSP/2.1
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Draft//EN">
    <HTML>
    <HEAD>
    <TITLE>Error 401--Unauthorized</TITLE>
    <META NAME="GENERATOR" CONTENT="WebLogic Server">
    </HEAD>
    <BODY bgcolor="white">
    <FONT FACE=Helvetica><BR CLEAR=all>
    <TABLE border=0 cellspacing=5><TR><TD><BR CLEAR=all>
    <FONT FACE="Helvetica" COLOR="black" SIZE="3"><H2>Error 401--Unauthorized</H2>
    </FONT></TD></TR>
    </TABLE>
    <TABLE border=0 width=100% cellpadding=10><TR><TD VALIGN=top WIDTH=100% BGCOLOR=white><FONT FACE="Courier New"><FONT FACE="Helvetica" SIZE="3"><H3>From RFC 2068 <i>Hypertext Transfer Protocol -- HTTP/1.1</i>:</H3>
    </FONT><FONT FACE="Helvetica" SIZE="3"><H4>10.4.2 401 Unauthorized</H4>
    </FONT><P><FONT FACE="Courier New">The request requires user authentication. The response MUST include a WWW-Authenticate header field (section 14.46) containing a challenge applicable to the requested resource. The client MAY repeat the request with a suitable Authorization header field (section 14.8). If the request already included Authorization credentials, then the 401 response indicates that authorization has been refused for those credentials. If the 401 response contains the same challenge as the prior response, and the user agent has already attempted authentication at least once, then the user SHOULD be presented the entity that was given in the response, since that entity MAY include relevant diagnostic information. HTTP access authentication is explained in section 11.</FONT></P>
    </FONT></TD></TR>
    </TABLE>
    </BODY>
    </HTML>

    >
    by using Client Cert authentication I have to set HTTPS required to true.
    >
    Yes.
    >
    When I try to invoke this service with http request, it redirects to https service.
    This actually just trashes the entire idea of terminating SSL in the load balancer.
    >
    Not necessarily. Although direct HTTP request to WebLogic is redirected to HTTPS enabled port, you can still use this settings with WebLogic plugin. I'm not aware of your deployment, but I use Apache plugin for WebLogic, terminate SSL on Apache and I'm still able to send requests authenticated by certificate from client through HTTPS.
    I don't know about F5, but I guess there should be similar feature as well.
    http://download.oracle.com/docs/cd/E12840_01/wls/docs103/cluster/load_balancing.html

  • HOW TO Install and Make PJC in Jdeveloper 12c

    Hello experts,               I am new in Jdeveloper.I am using Oracle weblogic server10.3.5 with oracle forms and reports 11g at windows 7.My weblogic is configured to oracle forms and it work good. Now I want to install Jdeveloper 12c to make PJC components for my oracle forms. Please tell me  the Tips to install  jdeveloper 12c at my system so that I could use my oracle forms and reports as well as Jdeveloper.For this should I install jdeveloper with seperate weblogic server. Please tell me that How can I make PJC for my oracle forms. Thank You regards aaditya.

    Hi,
    you should use the JDeveloper version matching the WLS version of your Forms installation. E.g. WLS 10.3.6 --> JDeveloper 11.1.1.6. JDeveloper 12c is set up with JDK 7 by default and JDeveloper 11g with JDK 6. So creating PJC in 12c has a the risk of minor major version mismatches when running the PJC in Forms as your Java Plugin for sure wont be of JRE 7
    Frank

  • File Upload PJC questions

    File Upload PJC
    I have installed the File Upload PJC demo & got it working.
    We are using Forms 6i patch 8 with servlet configuration, iAS 1.0.2.2.1 on Win 2000, Oracle 8.173
    We want to upload/download files to the server & save them as BFILES in the database. I think I am on the right track but have some questions:
    What do I have to change in the PJC to increase the memory so I can upload a file > 4 MB? We will be uploading some large files. I'd also like to ability to select multiple files to upload. I don't know much about Java programming but will learn if this is the best way to accomplish this.
    I want to upgrade to Forms patch 12. I understand that it uses Jinitiator 1.3 & that it will popup a dialog when it sees a new signed Jar file & will automatically import the certificate if the user decides to trust it - but I read on the Technet forum there is a bug 2483719 - does this work with patch 12?
    We also want to use the Native JVM for IE (when it will work with XP - is this patch 13?). What do we have to change if we create a signed CAB file?
    We also need the reverse to download a file to the client - WITHOUT using web.show_document - since this does not always prompt you with a save dialog box & tries to open the file in the browser.
    Any ideas will be helpful - thanks.
    [email protected]

    Laura,
    these are many questions in one post and I try to answer it as good as I can
    We want to upload/download files to the server & save them as BFILES in the database. I think I am on the right track but have some questions:
    What do I have to change in the PJC to increase the memory so I can upload a file > 4 MB? We will be uploading some large files.
    As far as I know there is no restriction to the size of the file uploaded to the server. There exist a recommendation of to which size this bean has been tested. Due to the implementation of the Bean there are defined chunk sizes for the data passed, but this does not limit the size of a downloaded file.
    I'd also like to ability to select multiple files to upload. I don't know much about Java programming but will learn if this is the best way to accomplish this.
    Actually you will have to change the code then. First you need to set a porperty on the file dialog allowing the selection of multiple files. Next you will have to handle multiple files in the bean code. Yes, without Java you will not get there.
    want to upgrade to Forms patch 12. I understand that it uses Jinitiator 1.3 & that it will popup a dialog when it sees a new signed Jar file & will automatically import the
    certificate if the user decides to trust it - but I read on the Technet forum there is a bug 2483719 - does this work with patch 12?
    The problem is that you use a different (custom) signature for the upload bean, after modifying it, that requires the user to first grant it permissions. The bug means that this currently cannot be handled with Jinitiator 1.3.x. The work around is explained in a Whitepaper on OTN about signing Java Bean in Forms (Forms9i collateral section). There is no dependency to teh Forms patch you use, but to Jinitiator. So yes, teh work around will work there.
    We also want to use the Native JVM for IE (when it will work with XP - is this patch 13?).
    Possibly. That's the target patch.
    What do we have to change if we create a signed CAB file?
    You'll have to use the Microsoft SDK and refer to their documentation on how to create and use signed cab files. Shoudl be no big difference though.
    We also need the reverse to download a file to the client - WITHOUT using web.show_document - since this does not always prompt you with a save dialog box & tries to
    open the file in the browser.
    This is a problems with files that the Browser has a MIME type map for. If you download a file with the .gif extension, then this is a known MIME type configured in the HTTP Server. Therefore the Browser recognizes that the downloaded stream is a gif file and tries to render it. You can work around it by making sure that the downloaded file extension is not knwon by the HTTP server (Mime type application/word).
    Frank

  • Problems copying from PJC to system clipboard

    I am working on a PJC to allow for editing of large text fields (> 64K). I have most of the functionality working fine. However, I am having a problem using cut, copy, and paste.
    Some details, the PJC extends VBean and includes as JTextArea. Our users want a right click menu to provide functionality for cutting, copying, pasting, and spell checking. I was able to get the spell check working using JSpell. I am not able to get the menu entries for cut, copy, and paste to work. I construct a JPopMenu with the appropriate items. When the menu is activated, if the user selects cut, the actionPerformed method executed the cut method of the JTextArea. This does cut the text from the item, however it is not added to the clipboard for use in other items, except those that have the same implementation class of the original item. If the user uses the keyboard (CTRL-X, CTRL-C, or CTRL-V) the selected data is copied to the system clipboard
    Here is the method I used to create the menu items:
      private JMenuItem makeMenuItem(String label, char acceleratorKey)
        JMenuItem item = new JMenuItem(label);
        item.addActionListener(this);
        item.setMnemonic(acceleratorKey);
        item.addKeyListener(this);
        printDebugMessage("Horizontal text alignment = " + item.getHorizontalAlignment());
        item.setHorizontalAlignment(SwingConstants.LEFT);
        printDebugMessage("Horizontal text alignment = " + item.getHorizontalAlignment());
        return item;
      }Here is the actionPerformed method:
      public void actionPerformed(ActionEvent ae)
        String selection = ae.getActionCommand();
        if (selection.equals("Cut"))
          printDebugMessage("Cut selected");
          text.cut();
        else if (selection.equals("Copy"))
          printDebugMessage("Copy selected");
          text.copy();
        else if (selection.equals("Paste"))
          printDebugMessage("Paste selected");
          text.paste();
        else if (selection.equals("Spell Check"))
          printDebugMessage("Spell Check selected");
          doSpellCheck();
      }I read that jar files needed to be signed to interact with the desktop, but when I signed the jar file the results were the same.
    Platform
    10g AS on Solaris 10.1.2.2
    Windows XP (SP2)
    IE7
    Sun plugin 1.5.0_11 (problem also occurs with 1.4.2_06)
    Any insights would be helpful.
    Thanks

    will that create a problem?Try it and see.

Maybe you are looking for

  • What's the best way to store my info externally

    I have recently bought my first Macbook Pro 13" with 2.4 Ghz. I am currently using it for my own business and do tend to get a lot of files together. I went to look at "About this Mac" and have already got 369 Gb used up in storage... I have no idea

  • Reminder for text based PO's on plant level or purchasing org. level?

    Hi, I work for a corporate company and we have in our system arround 100 different plant codes (of more or less different companies). My problem is now, how to set-up the reminder in part of text based purchase orders for the different plants? Or dif

  • More Printing Problems - 3 Macs, one works, two don't

    I just started having problems printing to my Apple LaserWriter 12/640 PS printer the other day. I think it started when I added a Vonage phone connection to my network, but odd things were happening before that, and I need some advise. I have three

  • Gmail and mail application question.

    I have my gmail set up with the mail app. All seems to work well and i followed one of the gmail guides but i always seem to get mail show up in my all mail before it goes to my inbox. it takes 2 or sometimes 3 times to re-check mail before it finaly

  • Electronic Signature based approval

    Hello Experts, Does OIM support electronic signature based approval? Instead of simply cliking "Approve" button , the approver has also to verify his electronic signature to approve a resource request. Thanks INIYA