Run Applet through gateway

Hi all;
We have a Web application behind gateway and portal6.0. Web application has applet embedded HTML pages.
After user logged into portal, the applet is downloaded with correct params and codebase. One of the params is httpServerName, which becomes https://gatewayURL/http://serverName per rewriter as configured.
But the applet has problem talking to the server through gateway and we don't know why. It works fine without gateway.
Could the double URL's in the httpServerName be a problem when applet uses it? The applet class is from vendor and we can not modify it. Any input is greatly appreciated. Thanks.
Joe

If the applet hasn't been designed to work with SSL, I don't think you can do this.
A workaround may be to use the Netlet for your applet. Ie. specify a Netlet rule for your applet and set its httpServerName to localhost.
--Stephen                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

Similar Messages

  • Problems with running Applet through HTML

    I am currently having problems with running my file through the HTML. For some reason when I open it in the browser it keeps saying Error. I am programming in NetBeans.
    The code I am using is:
    <html>
    <head>
    <title></title>
    </head>
    <body>
    <applet code=”CarApplet.class” codebase="RedCarApplet.jar" width=690 height=300></applet>
    </body>
    </html>

    Heres the error message, I see that it cannot find the class I have stated above. Any solutions?
    My class is in the 'build' folder but, the HTML file is in the 'src' folder. Now my applet contains a 'jar' file, do I need to add that to the HTML code?
    load: class ‚Ä?TunerApplet.class‚Ä? not found.
    java.lang.ClassNotFoundException: ‚Ä?TunerApplet.class‚Ä?
         at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
         at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
         at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Caused by: java.io.FileNotFoundException: C:\Users\*****\*******\NetBeansProjects\RadioApplet\src\‚Ä?TunerApplet\class‚Ä?.class (The system cannot find the path specified)
         at java.io.FileInputStream.open(Native Method)
         at java.io.FileInputStream.<init>(Unknown Source)
         at java.io.FileInputStream.<init>(Unknown Source)
         at sun.net.www.protocol.file.FileURLConnection.connect(Unknown Source)
         at sun.net.www.protocol.file.FileURLConnection.getInputStream(Unknown Source)
         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)
         ... 9 more
    Exception: java.lang.ClassNotFoundException: ”TunerApplet.class”

  • Run ActiveX object through gateway

    I have a HTML page embedding ActiveX control which I want to run it through gateway, but it is unsuccessful.
    The following is the original code in HTML. It works fine independently.
    <OBJECT id="ACGMCtl" classid="clsid:F5D98C43-DB16-11cf-8ECA-0000C0FD59C7"
    codebase="../../setupControl/acgm.cab#version=7,0,5,0" border="0" WIDTH="998" HEIGHT="638">
    <param name=FileName value="http://128.128.100.20/cache/{D19728D0-3335-4CDD-AAE0-4424D8288A9E}.cgm">
    <embed name="ACGMCtl" type="image/cgm" PLUGINSPAGE="../../setupControl/InLineSetup.exe" src="http://128.128.100.20/cache/{D19728D0-3335-4CDD-AAE0-4424D8288A9E}.cgm" border="0" WIDTH="998" HEIGHT="638">
    </OBJECT>
    The following code is rewritten by gateway, but it cannot run properly through gateway:
    <OBJECT id="ACGMCtl" classid="clsid:F5D98C43-DB16-11cf-8ECA-0000C0FD59C7"
    codebase="https://abc.com/http://128.128.100.20/gis/setupControl/acgm.cab#version=7,0,5,0" border="0" WIDTH="998" HEIGHT="638">
    <param name=FileName value="https://abc.com.hk/http://128.128.100.20/cache/{391ED47F-E425-428B-88EE-3DE4BE23673F}.cgm">
    <embed name="ACGMCtl" type="image/cgm" PLUGINSPAGE="https://abc.com/http://128.128.100.20/gis/setupControl/InLineSetup.exe" src="https://abc.com/http://128.128.100.20/cache/{391ED47F-E425-428B-88EE-3DE4BE23673F}.cgm" border="0" WIDTH="998" HEIGHT="638">
    </OBJECT>
    I try to put the URL https://abc.com/http://128.128.100.20/gis/setupControl/InLineSetup.exe in the browser. An error pop up which state "Internet Explorer cannot download InLineSetUp.exe from abc.com......
    After removing the gateway, I can download it properly.
    I'm not sure whether this is the reason that I cannot run that ActiveX control through gateway properly. Is there any configuration I can set in gateway profile server to solve that??
    Any hints will be greatly appreciated. Thanks!!

    Currently we don't support active x objects through the gateway. So there is no configuration to do this.

  • Fonts are not reflecting while running Java Applet Through Forms

    Hello Oralce Gurus!!
    I have a Java Applet which has few lines of text in different
    fonts such as AgencyFB, Verdana Ref etc., When I am running this
    applet from console, I am able to see the text in different
    fonts. Where as If I run the applet through forms (as a Bean
    (ViewerBean) ), the fonts are not reflected. The text appears in
    a default font.
    All the fonts are installed on WinNT, where the applet resides.
    I will be greatful if anyone can suggest me a solution.
    Thanks,
    Raghu

    try out this
    ImageIcon img1=new ImageIcon(this.getClass().getResource(imagename));
    for exmaple
    Imageicon img1=new ImageIcon(this.getClass().getResource("name1.jpg"));
    dont 4get to include the image files in the jar file

  • Load oracle jdbc driver error when run applet via the web

    Hi All,
    I have built an applet which connect to database via jdbc thin driver. It works fine when I run it through the applet viewer, but got a problem when run it through the web.
    java.lang.NoClassDefFoundError: oracle/jdbc/driver/OracleDriver
    I am using jdev9i 9.0.4 and jdk 1.4.2. The jdbc version is 9.0.1
    I have added both the classes12.zip and ojdbc14.zip in the class path and also pack them together with my applet class. Here is the code
    public class MyApplet extends Applet
    implements Runnable
    public void start()
    if(theThread == null)
    theThread = new Thread(this);
    theThread.start();
    Retrieve R = new Retrieve();
    this.MyMap = R.retrieveDesc();
    public class Retrieve
    public Retrieve()
    DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
    conn=DriverManager.getConnection("jdbc:oracle:thin:@babyruth.wvu.edu:1703:devdw", User, Password);
    conn.setAutoCommit(true);
    connectStatus = true;
    public HashMap retrieveDesc()
    return map;
    I have also built one HTML page NewApplet like this
    <HTML>
    <HEAD>
    <TITLE> My New Applet</TITLE>
    </HEAD>
    <APPLET CODE="MyApplet.class" CODEBASE="menu" ARCHIVE="MyApplet.zip" WIDTH=300 HEIGHT=485>
    <!--General Settings-->
    <param name="bgcolor" value="255,255,255">
    </HTML>
    Any advice is highly appreciated
    Mei

    Sir,
    Well you haven't "packed" them correctly. Why don't you just add the driver bits to the soucebase tag? or something like that anyway...
    Sincerely,
    Slappy

  • Upload fails through gateway - but succeeds without it!

    Hi all,
    we are using an upload application that we developped... it worked just fine uploading any file.. .but when we tried running it through the gateway (https), it timed out and was not able to upload large files...like 40- 50Mb... but before it worked (without the gateway)...
    any ideas?

    Not sure if this has anything to do with it, but in our environment rewriter proxy was using more and more cpu during upload of files through gateway, about 2% per MB filesize. We never really tried what would happen with 50 MB files, failure to upload seems reasonable.
    This issue was resolved with a portal patch, I think 118950-29(?). Please check your patch level and the online description of the patch.
    hth Chris

  • Cannot get my iphone5 to synch with my new computer. i am running itunes through a virtual box, Every time I try a box appeares telling me to enter security code- ? anyone know how to solve this ?

    Cant get my iphone 5 to sync with my computer (new operating system). Am running XP through a virtual box. When I try to sync the phone it keeps asking for auto lock code, there is no box to type it into and I can find nothing on the phone itself to solve the problem.
    This makes it impossibble to sync with my itunes account. Anyone out there able to help ?

    Have you tried contactint the app's developer?

  • I am having a problem w/ my itunes working correctly due to accidentally running Itunes through my troubleshooting, running programs made for previous versions of windows!! How do I turn it off?!??

    I am having a problem w/ my Itunes working correctly, after accidentally running Itunes through my  troubleshooter  to, Run Programs Made For PreviousVersions of Windows. It keeps popping up that the Compatibility  Version is on, to make sure it's off before opening my Itunes Account. I've looked everywhere, Please, Please, How Do I Make This Right??!??

    It sounds like either your hard drive or the SATA cable that connects it to the motherboard are failing. This could be heat related in your case, which is why you see it after it runs awhile. You can take it to the Genius Bar for a free evaluation. If you decide to test it yourself, I usually suggest moving the hard drive to an external enclosure. If it works there for awhile, the cable is probably the issue.
    http://www.amazon.com/Sabrent-2-5-Inch-Aluminum-Enclosure-EC-TB4P/dp/B005EIGUD4/ ref=sr_1_3?ie=UTF8&qid=1397647657&sr=8-3&keywords=2.5+enclosure
    http://www.ifixit.com/Device/MacBook_Pro_13%22_Unibody_Mid_2009

  • I have updated my iTunes to the newest version, 10-25 on a windows XP system. Now my java virtual machine is not working and I need it to run applet window. My Java is also newest version. What can I do to fix/repair my issue?

    I need help with java on windowsXP after updating iTunes to the latest version. My java will not work and I get error message need java virtual machine to run applet window. Did not have this problem prior to the iTunes update.
    Please help, Thanks

    If your library was working on your computer and then popped up empty all of a sudden then this might be what you need...
    Empty/corrupt library after upgrade/crash
    Hopefully it's not been too long since you last upgraded iTunes, in fact if you get an empty/incomplete library immediately after upgrading then with the following steps you shouldn't lose a thing or need to do any further housekeeping. In the Previous iTunes Libraries folder should be a number of dated iTunes Library files. Take the most recent of these and copy it into the iTunes folder. Rename iTunes Library.itl as iTunes Library (Corrupt).itl and then rename the restored file as iTunes Library.itl. Start iTunes. Should all be good, bar any recent additions to or deletions from your library.
    See iTunes Folder Watch for a tool to catch up with any changes since the backup file was created.
    When you get it all working make a backup!
    tt2

  • Dont want to display "Report Successfully Run" applet

    Dear Users....I Dont want to display "Report Successfully Run" applet after my report runs successfully. I'm calling report from Forms-10g Rel.2 and my browser is Internet Explorer ver.6. I'm sending my report directly to printer using Web.Show_Document.If my report is sent to printer successfully there is no need to display browser window with the above mentioned message. Is there any solution for this???

    Code in when-button-pressed
    DECLARE
    V_Usr_Prm Varchar2 (1000);
    BEGIN
    V_Usr_Prm :=
    'FROM_REF_NO='
    || P_FRM_REF_NO
    || '+TO_REF_NO='
    || P_FRM_REF_NO
    || '+P_PRE_BY='
    || P_PRE_BYE
    || '+P_VR_TYPE='
    || P_VOR_TYP
    || '+YEAR1='
    || P_VOR_YER
    || '+MNU_IDE=0'
    || '+P_PRN_FLG=1';
    web_show_document_proc ('HTMLCSS', 'Y:\02\\02\VOR_PRN.REP', V_USR_PRM);
    END;
    Procedure Web_Show_Document_Proc is
    PROCEDURE WEB_SHOW_DOCUMENT_PROC (runformat varchar2,
    reportname varchar2,
    userparameters vARCHAR2)
    IS
    i NUMBER (10);
    v_a VARCHAR2 (10);
    v_b VARCHAR2 (10);
    vc_url VARCHAR2 (1000);
    vc_url_temp VARCHAR2 (1000);
    vc_user_name VARCHAR2 (30) := GET_APPLICATION_PROPERTY (username);
    vc_user_pw VARCHAR2 (30) := GET_APPLICATION_PROPERTY (password);
    vc_user_connect VARCHAR2 (30)
    := GET_APPLICATION_PROPERTY (connect_string) ;
    BEGIN
    vc_url :=
    'userid='
    || vc_user_name
    || '/'
    || vc_user_pw
    || '@'
    || vc_user_connect;
    FOR i IN 1 .. LENGTH (vc_url)
    LOOP
    v_a := LTRIM (TO_CHAR (TRUNC (ASCII (SUBSTR (vc_url, i, 1)) / 16)));
    IF v_a = '10'
    THEN
    v_a := 'A';
    ELSIF v_a = '11'
    THEN
    v_a := 'B';
    ELSIF v_a = '12'
    THEN
    v_a := 'C';
    ELSIF v_a = '13'
    THEN
    v_a := 'D';
    ELSIF v_a = '14'
    THEN
    v_a := 'E';
    ELSIF v_a = '15'
    THEN
    v_a := 'F';
    END IF;
    v_b := LTRIM (TO_CHAR (MOD (ASCII (SUBSTR (vc_url, i, 1)), 16)));
    IF v_b = '10'
    THEN
    v_b := 'A';
    ELSIF v_b = '11'
    THEN
    v_b := 'B';
    ELSIF v_b = '12'
    THEN
    v_b := 'C';
    ELSIF v_b = '13'
    THEN
    v_b := 'D';
    ELSIF v_b = '14'
    THEN
    v_b := 'E';
    ELSIF v_b = '15'
    THEN
    v_b := 'F';
    END IF;
    vc_url_temp := vc_url_temp || '%' || v_a || v_b;
    END LOOP;
    vc_url :=
    '/reports/rwservlet?server=rep_appsrv_frhome1+'
    || vc_url_temp
    || '+report='
    || reportname
    || '+destype=Printer+desformat='
    || runformat
    || '+paramform=No+'
    || userparameters;
    WEB.SHOW_DOCUMENT (vc_url, '_blank');
    END;

  • ERROR WHILE RUNNING REPORT THROUGH FORMS.....!

    hi all,
    ive designed one form in Forms 9i...I'm tryin to run report through a Push button .....report is running well in paper layout through report builder 9i...The problem I'm facing is dat when i pressed button it is giving me error initially as FRM-41214 cannot run report and after that FRM-40735 When button pressed unhandled exception ora-06502.....What could go wrong??... Ive started OC4J instance ....created report object in object nevigator as well and defined basic properties for diff.parameters HTMLCSS,CACHE..etc.,mentioned report path in complete i.e.c:\reports\genbill.rdf ...Can anybody help me out ??? Thnx.!
    -----------------------CODE ON BUTTON----------------------------------
    DECLARE
    repid REPORT_OBJECT;
    v_rep VARCHAR2(100);
    rep_status VARCHAR2(20);
    BEGIN
    repid := FIND_REPORT_OBJECT('REPORT5');
    v_rep := RUN_REPORT_OBJECT(repid);
    rep_status := REPORT_OBJECT_STATUS(v_rep);
    WHILE rep_status in ('RUNNING','OPENING_REPORT','ENQUEUED')
    LOOP
    rep_status := report_object_status(v_rep);
    END LOOP;
    IF rep_status = 'FINISHED' THEN
    /*Display report in the browser*/
    WEB.SHOW_DOCUMENT('<HOSTNAME>:8889/reports/rwservlet/getjobid'||
    substr(v_rep,instr(v_rep,'_',-1)+1)||'?'||'server=myrepserver','_blank');
    ELSE
    message('Error when running report');
    END IF;
    PAUSE;
    END;

    When a report terminates with an error, REPORT_OBJECT_STATUS returns the value "TERMINATED_WITH_ERROR", which is 21 bytes of data, but rep_status is defined as 20 bytes. The 6502 error is due to the data not fitting the variable.
    I recommend wrapping the REPORT_OBJECT_STATUS function with a SUBSTR that limits the data returned to 20 bytes, which will ensure the results fit.
    For example:
    rep_status := SUBSTR(REPORT_OBJECT_STATUS(v_rep), 1, 20);

  • I am having trouble running videos through Safari but not Google Chrome.  All I get is a black screen.  I have the latest adobe flash update and have enabled plug ins.  any suggestions?

    I am having trouble running videos through Safari but not Google Chrome.  All I get is a black screen.  I have the latest adobe flash update and have enabled plug ins.  any suggestions?

    Open System Preferences > Flash Player then select the Advanced tab.
    Click Delete All under Browsing Data and Settings
    Not empty the Safari cache.
    From your Safari menu bar click Safari > Preferences then select the Advanced tab.
    Select:  Show Develop menu in menu bar
    Now click Develop from the menu bar. From the drop down menu click Empty Caches.
    Now try a video.

  • When i run report through OC4J Application i get a exception message

    When i run report through OC4J Application i get a exception message saying Server returning invalid xml and the exception number is JBO -29000. The Reports Server is installed on machine having IP 10.191.99.254.
    Below is the exception message:
    (oracle.jbo.JboException) JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-29000: Unexpected exception caught: java.io.IOException, msg=Server returned HTTP response code: 500 for URL: http://10.191.99.254:8888/reports/rwservlet/showjobidnull
    Anybody Please help me out with this issue.....because I am really fed up with this problem....want some urgent help.....
    One possible workaround which I could make out is there needs change to be made in the .rdf files in Report Builder and then inside the User Parameters we change the Initial Value to * from % because the Reports Server encodes every value as %Initial_Value% and hence if the initial value for the parameter is % then it does not get a valid value and hence it returns as an invalid xml
    But unfortunately it seems this workaround does not work.Please help as soon as possible.

    Hi,
    you said that some changes were made in the .xml files but i had said that all the files present in Reports Developer or Reports Builder are .rdf files and I had made changes in the .rdf files for this articular report and then compiled it thereitself and then ran a paper layout of the report but the report did not comprise any data.
    There was sufficient data also to populate the report. So this may not be a database issue. Please help if you can ASAP.

  • How to run internet through Network provider conne...

    Hi i want to know how to run internet through netwok provider?
    I tried but not got anysolution it asking for WIFI only

    i have those settings but after i gave mobileto reinstall the firmvare software to NOKIA CARE, and now its not asking
    i have good service provider, on any mobile i insert sim the sim automatically sends messeage gets its settings and asks to install that settings
    But now its not asking on My N97 it means i already have butnot asking to choose
    I am using DOCOMO
    Message Edited by dbzbux on 29-Oct-2009 06:55 AM

  • How to generate netui controls at run time through some action in pageflow

    Hi,
    I want to create a dynamic table on jsp but don't want to create any control in design time. I will pass some query to the database and no. of textboxes should be created automatically based on the no. of field in result.
    Could you please help me in achieving this?
    Thanks in advance.
    Alka

    I know this but I don't want to write <netui:repeater> tag in jsp page at design time. I want to write some code in an action of page flow which will create that repeater programmtically and will set all it's properties accordingly.
    Initially my jsp page will not contain any netui control even I want to do this at run time through some coding. Is there any way to do this?
    Did you get what I want to do?

Maybe you are looking for

  • Stream from foreign server possible?

    Hi, I urgently need a feedback ! I need to be 100% sure whether or not the following scenario is possible within Adobe Flash Player / Adome Media Server security contrains: website and swf file are hoted on server with given IP number xxx.xxx.xxx.xxx

  • Acknowledgement errors in PI - JMS scenario

    Hello, We have a scenario R3 Idoc -> PI7.0 -> JMS. After the Idoc message is sent to PI, In the sxi_monitor, in acknowledgement status column, I normally see a red icon which says ack not possible. But for few JMS interfaces, I observe there is a gre

  • New Problem, Old Issue. Ethernet not Working

    You may recall this thread: http://forums.verizon.com/t5/FiOS-Internet/FIOS-Ethernet-not-working-Wireless-works-fine/td-p/203838 If you do, well, I have the same issue once more. It's driving me a bit nuts, to be perfectly honest. About 10 days ago I

  • Banner ad with different links?

    Hi all, Is it possible to create a banner in FW that transitions between two states and to have each state link to a different page? I tried to accomplish this with hotspots, but clicking on the banner would direct to the same page for both stages. T

  • Fault Tolerant Site to Site VPN Design

    Hello Everyone. If I wanted to build a site to site VPN using 2 different ISPs on the remote site and going into a central  site, also with connections from those same 2 ISPs (Comcast and AT&T Internet Service at each location) what would be the best