Webutil workaround with ienative??

Hi,
We had success run webutil on redhat 9 / adv server 2.1 , win32 platform with config on jinit and jpi to win32 client browser , but on ienative mode , I had repack *.jar to *.cab and resign all we need , the error classnotfound still exist, we guess maybe we should change the sourcecode and compile with microsoft VM to make it work, ienative mode is important to oversea client of us ..
please give us any suggestion ,appreciate .

Won't work - WebUtil uses some Java 1.3 APIs - the IE java compiler / Runtime is stuck down in Java 1.1.4

Similar Messages

  • Including webutil objects with api

    Is possible including webutil objects (objects from object library and webutil.pll ) with forms API. Exists examples for this?

    The answer is yes - it's pretty simple to carry out the tasks you need to do. Attaching the PLL and the Object Group are simple (see the JDAPI samples in the forms Demos for this) and for the conversion of the Code calls - e.g. OLE2 to CLIENT_OLE2 you can actually use the migration assistant to make the string changes in the PL/SQL code for you. It has a code replacfement feature configured through it's properties file which you can add to to do this.

  • To run webutil application with jre

    Hi All,
    I have successfully configure webutil on both DS and AS. In my application server when i try to run my form only the project name [webutil] runs with jinitiator but with the others with different name which include jre not working the webutil part in the formweb.cfg file. I used the [webutil] configuration as follows-
    [webutil]
    workingDirectory=/home/oracle/support/aiblss_forms
    WebUtilArchive=frmwebutil.jar,jacob.jar
    WebUtilLogging=server
    WebUtilLoggingDetail=normal
    WebUtilErrorMode=Alert
    WebUtilDispatchMonitorInterval=5
    WebUtilTrustInternal=true
    WebUtilMaxTransferSize=16384
    baseHTMLjinitiator=basejpi.htm
    baseHTMLjinitiator=webutiljini.htm
    baseHTML=webutilbase.htm
    baseHTMLjpi=webutiljpi.htm
    #archive_jini=frmall_jinit.jar
    lookAndFeel=oracle
    form=LOGON_FORM.fmx
    width=100%
    height=100%
    jpi_download_page=https://java.sun.com/products/archive/j2se/1.4.2_09/index.html
    jpi_classid=clsid:8AD9C840-044E-11D1-B3E9-00805F499D93what i need to change or add to run my application with jre and webutil?
    Regards
    Arif

    Hi,
    I have used the following conf in formsweb.cfg file but not works properly. I m getting the error of loading webutil settings.
    [sunwebutil]
    IE=native
    baseHTMLJInitiator=webutiljpi.htm
    baseHTMLjpi=webutiljpi.htm
    jpi_classid=clsid:CAFEEFAC-0016-0000-FFFF-ABCDEFFEDCBA
    jpi_codebase=http://57.200.1.63:52003/forms/jinitiator/jre16016.exe#Version=1,6,0,16
    jpi_mimetype=application/x-java-applet;version=1.6
    jpi_download_page=/forms/jinitiator/us/jinit_download.htm
    #jpi_download_page=https://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_Developer-Site/en_US/-/USD/ViewProduct
    #Detail-Start?ProductRef=jre-1.5.0_06-oth-JPR@CDS-CDS_Developer
    # Webutil:
    WebUtilArchive=frmwebutil.jar,jacob.jar
    WebUtilLogging=off
    WebUtilLoggingDetail=normal
    WebUtilErrorMode=Alert
    WebUtilDispatchMonitorInterval=5
    WebUtilTrustInternal=true
    WebUtilMaxTransferSize=16384
    # archive including rich text editor
    archive=frmall.jar,hst65.jar,HTMLEditorLight.jar
    # application-specific
    #workingDirectory=/home/oracle/support/aiblss_forms
    #otherparams=buffer_records=%buffer% debug_messages=%debug_messages% array=%array% query_only=%query_only% quiet=%q
    #uiet% render=%render% record=%record% tracegroup=%tracegroup% log=%log%
    form=LOGON_FORM.fmx
    #term=/software/dutrf65w.res
    #envFile=/software/ontw/<application>/<application>.env
    height=100%
    width=100%
    record=forms
    #tracegroup=33,35,39,45,64-69,98,101
    separateFrame=true
    splashScreen=no
    lookAndFeel=Generic
    colorScheme=blaf
    background=NO
    pageTitle=Welcome to AIBL Online Support System
    # to find *.gif files in jars
    imageBase=codebase
    what to change more. please specify.
    Arif

  • Forms9i-Webutil : problem with CLIENT_TEXT_IO

    hello,
    This is a small function to create a local file whith CLIENT_TEXT_IO
    Forms 9i
    JInitiator: Version 1.3.1.13
    Utilisation de la version JRE 1.3.1.13-internal Java HotSpot(TM) Client VM
    Répertoire d'accueil de l'utilisateur = C:\Documents and Settings\degrelle
    Configuration du proxy : aucun proxy
    JAR cache enabled
    Location: C:\Documents and Settings\degrelle\Oracle Jar Cache
    Maximum size: 50 MB
    Compression level: 0
    when the cursor is about ten lines, all is OK,
    but when the cursor is about 100 lines, the Forms application become out of order !
    in the java console, nothing is display after the WUF[getProperty()] Getting property WUF_TEXTIO_OPEN line
    PROCEDURE export_texte IS
    LF$File CLIENT_TEXT_IO.FILE_TYPE;
    LC$Name Varchar2(100) ;
    LC$Fic Varchar2(100) ;
    Cursor EMISSIONS IS
    Select
    REGION,
    DATE_HEURE_PRESSE,
    TITRE,
    CHAPEAU
    From
    EMISSIONS_REGIONS
    Where
    DATE_HEURE_PRESSE Between :CONTROL.DATE_DEB and :CONTROL.DATE_FIN
    order by
         region,
         date_heure_presse
    LC$Old_region EMISSIONS_REGIONS.REGION%Type := 'X' ;
    BEGIN
    LC$Name := To_char( :CONTROL.DATE_DEB, 'DAY' ) || ' HEBDO ' || Ltrim( :PARAMETER.HEB_NUMERO ) || '.txt' ;
    LC$Fic := WEBUTIL_FILE.FILE_OPEN_DIALOG
         'D:\',
         LC$Name,
         'Sélectionner un fichier'
    If LC$Name is null Then
    Return ;
    End if ;
    LF$File := CLIENT_TEXT_IO.FOPEN(LC$Fic, 'W');
    CLIENT_TEXT_IO.PUT_LINE( LF$File, 'les magazines et documentaires de votre région' ) ;
    CLIENT_TEXT_IO.PUT_LINE( LF$File, To_char( :CONTROL.DATE_DEB, 'FMDay DD Month' ) ) ;
    CLIENT_TEXT_IO.PUT_LINE( LF$File, '' ) ;
    For C_EMS in EMISSIONS Loop
    If C_EMS.region <> LC$Old_region Then
    CLIENT_TEXT_IO.PUT_LINE( LF$File, '' ) ;
    CLIENT_TEXT_IO.PUT_LINE( LF$File, C_EMS.region ) ;
    LC$Old_region := C_EMS.region ;
    End if ;
    CLIENT_TEXT_IO.PUT( LF$File, To_char( C_EMS.date_heure_presse, 'HH24"h"MI' ) ) ;
    CLIENT_TEXT_IO.PUT( LF$File, ' ' ) ;
    CLIENT_TEXT_IO.PUT_LINE( LF$File, C_EMS.titre ) ;
    If C_EMS.chapeau is not null Then
    CLIENT_TEXT_IO.PUT_LINE( LF$File, C_EMS.chapeau ) ;
    end if ;
    End loop ;
    CLIENT_TEXT_IO.FCLOSE( LF$File ) ;
    END;
    2004-sept.-09 15:05:08.121 WUT[setProperty()] Setting property WUC_GET_LOCAL_PROPERTY to syslib.jacob.dll
    2004-sept.-09 15:05:08.215 WUT[getProperty()] Getting property WUC_GET_LOCAL_PROPERTY
    2004-sept.-09 15:05:08.231 WUT[loadSettings()] Local properties file loaded
    2004-sept.-09 15:05:08.278 WUT[setProperty()] Setting property WUC_GET_LOCAL_PROPERTY to syslib.JNIsharedstubs.dll
    2004-sept.-09 15:05:08.371 WUT[getProperty()] Getting property WUC_GET_LOCAL_PROPERTY
    2004-sept.-09 15:05:08.418 WUT[setProperty()] Setting property WUC_GET_LOCAL_PROPERTY to syslib.d2kwut60.dll
    2004-sept.-09 15:05:08.528 WUT[getProperty()] Getting property WUC_GET_LOCAL_PROPERTY
    2004-sept.-09 15:05:13.543 WUF[setProperty()] Setting property WUF_GFN_DIRNAME to D:\
    2004-sept.-09 15:05:13.637 WUF[setProperty()] Setting property WUF_FILENAME to SAMEDI HEBDO 37.txt
    2004-sept.-09 15:05:13.637 WUF[setProperty()] Setting property WUF_FILTER to false
    2004-sept.-09 15:05:13.746 WUF[setProperty()] Setting property WUF_GFN_MESSAGE to Sélectionner un fichier
    2004-sept.-09 15:05:13.840 WUF[setProperty()] Setting property WUF_GFN_MULTISELECT to FALSE
    2004-sept.-09 15:05:13.840 WUF[getProperty()] Getting property WUF_GFN_OPENFILE
    2004-sept.-09 15:05:17.621 WUF[setProperty()] Setting property WUF_FILENAME to D:\SAMEDI HEBDO 37.txt
    2004-sept.-09 15:05:17.621 WUF[setProperty()] Setting property WUF_TEXTIO_FILEMODE to W
    2004-sept.-09 15:05:17.621 WUF[getProperty()] Getting property WUF_TEXTIO_OPEN
    *** !!!-- the console stop display at this point when the function write more than 10 lines !!! ***
    2004-sept.-09 15:05:20.278 WUF[setProperty()] Setting property WUF_TEXTIO_HANDLE to 1
    2004-sept.-09 15:05:20.387 WUF[setProperty()] Setting property WUF_TEXTIO_PUT to 19/20 édition des régions et des locales
    2004-sept.-09 15:05:20.481 WUF[setProperty()] Setting property WUF_TEXTIO_NEWLINE to 1
    2004-sept.-09 15:05:20.575 WUF[setProperty()] Setting property WUF_TEXTIO_CLOSE to 1
    2004-sept.-09 15:05:56.840 WUI[VBeanCommon.destroy()] WebUtil GetClientInfo Utility being removed..
    2004-sept.-09 15:05:56.840 WUI[VBeanCommon.destroy()] 0 out of 0 object references removed, 0 (total) global references outstanding
    2004-sept.-09 15:05:56.840 WUF[VBeanCommon.destroy()] WebUtil Client Side File Functions being removed..
    2004-sept.-09 15:05:56.840 WUF[VBeanCommon.destroy()] 0 out of 0 object references removed, 0 (total) global references outstanding
    2004-sept.-09 15:05:56.840 WUH[VBeanCommon.destroy()] WebUtil Client Side Host Commands being removed..
    2004-sept.-09 15:05:56.840 WUH[VBeanCommon.destroy()] 0 out of 0 object references removed, 0 (total) global references outstanding
    2004-sept.-09 15:05:56.840 WUS[VBeanCommon.destroy()] WebUtil Session Monitoring Facilities being removed..
    2004-sept.-09 15:05:56.856 WUS[VBeanCommon.destroy()] 0 out of 0 object references removed, 0 (total) global references outstanding
    2004-sept.-09 15:05:56.856 WUT[VBeanCommon.destroy()] WebUtil File Transfer Bean being removed..
    2004-sept.-09 15:05:56.856 WUT[VBeanCommon.destroy()] 0 out of 0 object references removed, 0 (total) global references outstanding
    2004-sept.-09 15:05:56.856 WUO[VBeanCommon.destroy()] WebUtil Client Side Ole Functions being removed..
    2004-sept.-09 15:05:56.856 WUO[VBeanCommon.destroy()] 0 out of 0 object references removed, 0 (total) global references outstanding
    2004-sept.-09 15:05:56.856 WUL[VBeanCommon.destroy()] WebUtil C API Functions being removed..
    2004-sept.-09 15:05:56.856 WUL[VBeanCommon.destroy()] 0 out of 0 object references removed, 0 (total) global references outstanding
    2004-sept.-09 15:05:57.106 WUB[VBeanCommon.destroy()] WebUtil Browser Functions being removed..
    2004-sept.-09 15:05:57.106 WUB[VBeanCommon.destroy()] 0 out of 0 object references removed, 0 (total) global references outstanding
    *** this is OK when the cursor is about only ten lines ***
    any idea ?

    CORRECTION :
    the problem occurs after the FCLOSE() statment.
    so in all cases, the file is created on the client machine and it is correct (but very slow; about 30 seconds to create a 1008 bytes file with 80 lines !).
    it is just when the cursor is about 50 lines that the Forms application is space out.
    it seems to be the Clean() statments that are not applyed.

  • Urgent! form with webutil works with IAS but not with the 9iDS

    I'm configuring a standalone PC on which i can run forms as if they were running with an IAS. Now we have a form which uses webutil. This form runs fine in our IAS-environment, but fails on the standalone PC.
    On the standalone machine I'm using 9ids (9.0.2) to run this form. When the form is started I'm getting an error: FRM-40734 Internal error PL/SQL error occurred. This is caused by calls to the webutil-routines client_win_api_environment.get_windows_username and client_win_api_environment.get_computer_name
    (When I comment out these calls, the form doesn't return an error)
    Below I've included the messages on the Java Console. I can't see anything wrong:
    Oracle JInitiator: Version 1.3.1.9
    Using JRE version 1.3.1.9 Java HotSpot(TM) Client VM
    User home directory = C:\Documents and Settings\Administrator\Oracle Jar Cache
    Proxy Configuration: no proxy
    JAR cache enabled
    Location: C:\Documents and Settings\Administrator\Oracle Jar Cache
    Maximum size: 50 MB
    Compression level: 0
    c: clear console window
    f: finalize objects on finalization queue
    g: garbage collect
    h: display this help message
    l: dump classloader list
    m: print memory usage
    q: hide console
    s: dump system properties
    t: dump thread list
    x: clear classloader cache
    0-5: set trace level to <n>
    Loading http://min-ea47a8eabc66:8888/forms90/webutil/webutil.jar from JAR cache
    RegisterWebUtil - Loading Webutil Version 1.0.2 Beta
    Loading http://min-ea47a8eabc66:8888/forms90/webutil/jacob.jar from JAR cache
    Loading http://min-ea47a8eabc66:8888/forms90/java/f90all_jinit.jar from JAR cache
    Loading http://min-ea47a8eabc66:8888/forms90/hsd65java/hst65.jar from JAR cache
    connectMode=HTTP, native.
    Versie van Forms-applet is: 902110
    2004-jan-28 11:51:50.906 WUI[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
    2004-jan-28 11:51:50.921 WUI[VBeanCommon.getIPAddress()] 127.0.0.1
    2004-jan-28 11:51:50.921 WUF[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
    2004-jan-28 11:51:50.921 WUF[VBeanCommon.getIPAddress()] 127.0.0.1
    2004-jan-28 11:51:50.937 WUH[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
    2004-jan-28 11:51:50.937 WUH[VBeanCommon.getIPAddress()] 127.0.0.1
    2004-jan-28 11:51:50.937 WUS[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
    2004-jan-28 11:51:50.937 WUS[VBeanCommon.getIPAddress()] 127.0.0.1
    2004-jan-28 11:51:50.953 WUT[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
    2004-jan-28 11:51:50.953 WUT[VBeanCommon.getIPAddress()] 127.0.0.1
    2004-jan-28 11:51:51.00 WUO[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
    2004-jan-28 11:51:51.00 WUO[VBeanCommon.getIPAddress()] 127.0.0.1
    2004-jan-28 11:51:51.00 WUL[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
    2004-jan-28 11:51:51.15 WUL[VBeanCommon.getIPAddress()] 127.0.0.1
    2004-jan-28 11:51:51.15 WUB[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
    2004-jan-28 11:51:51.15 WUB[VBeanCommon.getIPAddress()] 127.0.0.1
    2004-jan-28 11:51:51.625 WUT[setProperty()] Setting property WUC_GET_LOCAL_PROPERTY to syslib.jacob.dll
    2004-jan-28 11:51:51.640 WUT[getProperty()] Getting property WUC_GET_LOCAL_PROPERTY
    2004-jan-28 11:51:51.640 WUT[loadSettings()] local properties file loaded
    2004-jan-28 11:51:51.640 WUT[getProperty()] Value of WUC_GET_LOCAL_PROPERTY=1.0
    2004-jan-28 11:51:51.640 WUT[setProperty()] Setting property WUC_GET_LOCAL_PROPERTY to syslib.JNIsharedstubs.dll
    2004-jan-28 11:51:51.656 WUT[getProperty()] Getting property WUC_GET_LOCAL_PROPERTY
    2004-jan-28 11:51:51.656 WUT[getProperty()] Value of WUC_GET_LOCAL_PROPERTY=1.0
    2004-jan-28 11:51:51.656 WUT[setProperty()] Setting property WUC_GET_LOCAL_PROPERTY to syslib.d2kwut60.dll
    2004-jan-28 11:51:51.656 WUT[getProperty()] Getting property WUC_GET_LOCAL_PROPERTY
    2004-jan-28 11:51:51.656 WUT[getProperty()] Value of WUC_GET_LOCAL_PROPERTY=1.0
    I hope anyone can help me with this problem. I0m getting a bit desperate.....

    I've tried your suggestion and the newly created form works on both environments (the standalone PC with the iDS and the "normal" evironment with an IAS). Then I added another button to this newly created form with the code "message(client_win_api_environment.Get_Windows_username);"
    This also works in the new form. Then I added some debugging code to the webutil.pll and discovered that when I use the above code in the new form everything is ok, but when I use the call client_win_api_environment.Get_Windows_username the following exception is raised in the gew_windows_username-procedure: CLIENT_WIN_API.NOT_AVAILABLE
    I've compared the newly created form with the original from and can't discover major differences between the two forms. Do you have another idea where to look?
    I noticed I forgot to mention both forms are created with oracle designer.

  • *PROVEN*Workaround with the IPOD Touch 3.1.3/ITunes 9/Windows XP 64 bit

    For those of you who were frustrated by the fact that Apple doesn't offer support to users who are working on Windows XP 64 bit, don't fear because there IS a workaround.
    Prerequisite:
    Orca MSI Editor (http://www.technipages.com/wp-content/uploads/2007/11/orca.Msi)
    ITunes 9
    7-Zip (http://sourceforge.net/projects/sevenzip/files/7-Zip/4.65/7z465-x64.msi/download)
    Step 1: Download Itunes 9 from Apple
    Step 2: Use 7-Zip to extract all the available .MSI files from the ITunes installer (right click the itunesetup file, EXTRACT ALL)
    Step 3: Right click ITunes 64.msi > edit with Orca > navigate to the launch condition table > change "Version NT64>600" to Version NT64>501" > save the file.
    Right click Bonjour64.msi and do the same, save and exit
    Right click Applemobiledevicesupport64.msi and do the same to that file
    Step 4: Install Itunes first, Bonjour 2nd then the AppleMobileDeviceSupport msi (there will be several prompts asking about Windows device driver signing, click continue anyway and proceed until the support drivers are ALL installed) file last.
    Step 5: Connect your Ipod Touch, Launch ITunes and you should be good to go!
    Message was edited by: Andavari

    PLEASE READ THIS, IT OFFERS HELP TO THOSE WITH XP 64 AND AN IPOD TOUCH

  • Will webutil  work with internetexplorer

    Hi,
    Everyone
    I heard that forms 10g application using webutil will not work with Internet Explorer
    is it true ???

    Yes it does - chech the client platform certification matrix on otn.oracle.com/products/forms
    Regards
    Grant Ronald
    Oracle Product Management

  • Webutil - issue with uploading text files with client_get_file_name

    Hi,
    I'm using webutil client_get_file_name to upload files from the client machine to the server.
    It works fine for xls,pdf,doc files etc. but not for txt files it seems.
    It doesn't display any error at all either.
    Has anyone seen this type of issue before?
    Kind regards,
    Tom
    Windows XP
    Forms v10.1.2.0.2

    Hi Sarah et al,
    The code that I'm using to upload any file type format is:
    vfilename := client_get_file_name('c:\',file_filter => 'All files (*.*)');
    it works for doc/pdf/xls/rtf/csv etc.
    but not for text files i.e. .txt
    Also, could someone tell me how to open a .msg (Outlook message) file
    as it gives the output:
    'Cannot read item' upon the opening of the Outlook application.
    I'm using the following to try and open it:
    CLIENT_HOST( 'cmd /C start '||p_filename);
    Your help would be appreciated.
    Kind regards,
    Tom

  • Webutil error with linux fedora 7

    i have developed forms in 10g in windows. server is also windows.
    http://aaf00022:8889/forms/frmservlet
    if i run this link in windows(client) it is working fine. but in fedora 7(client) i got the error like:
    Java Plug-in 1.6.0_10
    Using JRE version 1.6.0_10 Java HotSpot(TM) Client VM
    User home directory = /root
    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
    p: reload proxy configuration
    q: hide console
    r: reload policy configuration
    s: dump system and deployment properties
    t: dump thread list
    v: dump thread stack
    x: clear classloader cache
    0-5: set trace level to <n>
    proxyHost=null
    proxyPort=0
    connectMode=HTTP, native.
    Forms Applet version is : 10.1.2.0
    java.lang.NullPointerException
         at oracle.forms.webutil.common.VBeanCommon.getTranslatedMessage(Unknown Source)
         at oracle.forms.webutil.common.VBeanCommon.findLocalHost(Unknown Source)
         at oracle.forms.webutil.common.VBeanCommon.init(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.applet.AppletPanel.run(AppletPanel.java:464)
         at java.lang.Thread.run(Thread.java:619)

    Sorry to revive this thread, but i had this problem a few moments ago and found the solution...
    the problem is the DNS/rDNS for the client is missing in the server.
    AFAIK, when the webutil is called, somehow the server is trying to to resolve the client IP or hostname and fails to do it, throwing the connection down.
    After i confirmed that the client could resolve its own IP (via /etc/hosts), i created the DNS and rDNS for the client. After that the client could connect without any problem.
    hope this helps someone in the future.

  • Int/Double workaround with an imported class.

    Hi,
    I've been having a heck of a time trying to figure something out. I have a bunch of data that is in double format (eg 10.351). However, I'm importing a class awt.Polygon for a bunch of reasons, and one of it's key methods (addPoints();) only accepts integers.
    What I would like to do is take my double value, multiply it by enough so that it can be cast into an int without losing an data, than manipulate it with the addPoint function.
    I was thinking it would look something like:
    public class chsShape extends Polygon{
    public void addPointDoub(Double x, Double y)
         int xi =(int)(x*1000);
         int yi =(int)(y*1000);
         addPoint( xi, yi);
    } Obviously, this doesn't work (or I wouldn't be posting). It gives me "java.lang.NoSuchMethodError:chsShape.addPointDoub".
    Anyone have any suggestions? Thanks!

    Here is a demo using the PathIterator:
    import java.awt.geom.*;
    public class GeneralPathExample {
        public static void main(String[] args) {
            GeneralPath p = new GeneralPath();
            p.moveTo(1,1);
            p.lineTo(1,2);
            p.lineTo(2,2);
            p.lineTo(2,1);
            p.closePath();
            double[] coords = new double[6];
            for (PathIterator i = p.getPathIterator(null);!i.isDone(); i.next()) {
                switch(i.currentSegment(coords)) {
                    case PathIterator.SEG_MOVETO:
                        System.out.format("moveTo(%f,%f)%n", coords[0], coords[1]);
                        break;
                    case PathIterator.SEG_LINETO:
                        System.out.format("lineTo(%f,%f)%n", coords[0], coords[1]);
                        break;
                    case PathIterator.SEG_CLOSE:
                        System.out.println("closePath()");
                        break;
                    default:
                        System.out.println("too lazy to code other cases...");
    }Perhaps what may prove more useful to you is to have a shape, GeneralPath, plus maintain a separate list of points, for easy access. The thing is, a GeneralPath is more than a list of points: it can include curved segments and gaps, etc...

  • Possible Mail Fix (workaround) with Problem Attachments

    I noticed I had issues sending or building an attachment with the signature option engaged. If you have similar issues and are using a default auto signature insertion, try turning it off and see if that helps. My Brother MFC Scanner/printer wonderfully has the ability to press a button on the printer to auto scan to email. Works great, but just started to hang recently. After troubleshooting, I realized I switched on Mail to auto insert signature lines. It appears the OS fights to assemble both at the same time or something. Switching the signature off had it again running smoothly. I also don;t have people not getting my attachments anymore since sending without a signature.
    Hopefully if will work for you too!
    Regards,
    Craig

    I have just noticed this on one of our work ipads. It is currently on version 5.1.1 and has no problem automatically opening messages that have been attached to the email. When on an iOs6 device a mime-attachment icon is displayed which can then be manually opened in a small window. Im assuming Apple have implemented this as a security feature but I cant find a reference anywhere. Would be useful if there is an article confirming as such.

  • Password Protection Workaround with ITPC

    I just want to make sure that I understand this correctly. If I have a password protected site where I'm hosting my podcasts, then I will have to disable the password protection temporarily each time I send a feed to the ITMS, right? Then I can just use the "Subscribe" button that iWeb can create in order to make a link that will let others get to the store and login from there, correct?
    Thanks in advance.
    David

    If I understand your question correctly, you should have the audio files in the password protected section of your web site. And the RSS feed file should be in an unprotected section of the web site.The iTunes Store will regularly (once per day I believe) automatically check the feed file to see if it has been updated. I'm not sure what would happen if the feed file can't be read. Once someone subscribes to your feed, they aren't using the copy of your feed on the Apple server, they are polling your web site for updates themselves.
    Let me know if I'm misunderstanding your question. Or if I've clouded the waters even more. Mike
    My podcast: http://phobos.apple.com/WebObjects/MZStore.woa/wa/viewPodcast?id=81448992

  • Does Webutil 106 really work with forms10g  10.1.2.0.2 ?

    Hi. I'm unable to run webutil 106 with Forms Developer 10g 10.1.2.0.2.
    I have performed all installation steps, but can´t launched any demos neither use any of the cool features. I was told previously on this forum that it was not possible for this forms version although OTN says the opposite.
    Checking the installation guide, one can notice that many references to "forms90/" or f90xxx( f90all_jinit.jar, etc.) . That won't happen for forms10g. I have tried to manually change this for the correct reference, but still have not succeded.
    Who's right here?. Any workarounds maybe???
    Thanks in advance ...!

    The download for WebUtil contains an html file in the doc directory which goes through the installation process step by step. Is this the one you followed to do your installation? The one step it misses is setting archive_jini, which you can find in <forms home>/forms/server/formsweb.cfg. This setting tells jinitiator which files it needs to load to provide the functionality of the java beans and PJCs specified by your forms. For WebUtil the files are frmwebutil.jar and jacob.jar.
    The html file also talks about what the directory names should be in different versions of forms and the differences between installing on Development servers or full-blown Application servers. I've only followed the steps to install it on 9iDS but apart from archive_jini I had no problems.
    I'm not sure what demos you mean, but if you want to check that WebUtil is installed correctly then calling a function like Create_Directory would be a good way. If it creates the directory then you're up and running.

  • WebUtil DLL files location with OAS v10.1.2.3 with Sun Java 1.5

    Question about the future Client (under MS Vista) which works with OAS.
    With MS Vista on the client, the certified versions are:-
    -Clientside: Sun Java 1.5_10 and above
    -OAS: v10.1.2.3 (apparently to be released in March 2008)
    See table and notes at
    http://www.oracle.com/technology/products/forms/htdocs/10gr2/clientsod_forms10gr2.html
    Our application uses Oracle Web Util 1.0.6.
    When this first starts up the server attempts to copy three DLLs (jacob.dll JNIsharedstubs.dll d2kwut60.dll ) to a particular directory (eg c:\program files\oracle\J-Initiator 1.3.1.18\bin ).
    This has been a problem for my company's infrastructure since that directory is not writeable for most end-users. We got round the problem by creating a script run just once by the end-user which placed the DLL files in position before application is first run. The application still tries so copy the files, and fails - but this does not matter.
    In the MS Vista client envt we will have the Sun Java 1.5 client instead of the J-Initiator.
    Is it clear into which directory those three DLL files will be placed with this new client-side setup?
    Thanks.
    Earlier related post: Webutils - controlling where jacob.dll and co are set on client
    Message was edited by:
    user451945

    Hello Jacob,
    Oracle itself can fix the WebUtil issue with downloading DLLs to an appropriate location. However, there's more to running a Forms application on Vista - some of which Sun needs to find a solution for:
    If Vista's User Account Control (UAC) feature is activated - which it is by default and which provides additional security compared to XP - Internet Explorer runs in protected mode, i.e. the iexplore.exe process is started with a LOW integrity level. In Vista every securable operating system "object" is assigned an integrity level - process, files, directories etc. each have an integrity level which can have the values low, normal / user, high / administrator or system. Every process started by a normal user will be assigned normal / user integrity level on process creation and thus is able to access all the files to which the user has access rights. The exception to the rule is Internet Explorer which is started with a low integrity level so if any malware / Javascript / IE extension takes control over Internet Explorer it cannot access any files or directories outside of its low integrity level "jail" because process with a lower integrity level aren't allowed to access any objects which have a higher integrity level. This means any program - including the Java plugin and any applet whether signed or not - which runs inside the iexplore.exe process cannot communicate with any process the user started (think about WebUtil's OLE2 to communicate with Office applications) and it cannot download any files to a user-specified directory (think of WebUtil's download features or even client_textio). Furthermore any processes you start e.g. through WebUtil's client_host command will inherit IE's low process integrity level and thus will not be able to do anything meaningful either. The same goes for your own DLLs which run within iexplore.exe.
    Java 1.6 Update N will change the Java plugin architecture so that the Java runtime will execute in its own process with a normal / user integrity level and communicate with Internet Explorer via IPC instead of running within the internet explorer process. If you need more information look at the early access release of Update N:
    https://jdk6.dev.java.net/6uNea.html#Overview
    I think it would help if you also opened an SR so Oracle support knows there are more customers waiting for a solution.
    Best regard
    Andreas
    Message was edited by:
    leidner

  • Problems with webutil FRM -92101- 1.0.5 Production - forms 10g

    I've installed webutil according with the webutil user's guide.
    I've also sign he .jar file.
    I have not made the configuration of the database with the webutil_file_transfer o webutil_db package becouse i don't need to use the file transfer utility.
    I 've tested a simple form with webutil.pll and .obj subclass with the devsuite enviroment and with a server with AS 10g from two client browser pc and all work fine.
    But after when i tried to test again the form it doesn't work in no pc client (with the server and eith the devsuite server).
    Without webutil.pll and obj the forms work fine.
    I've this error: FRM-92101: there where a failure .....
    I 've this message in java console:
    JInitiator: Versione 1.3.1.17
    Uso della versione JRE 1.3.1.17-internal Java HotSpot(TM) Client VM
    Directory principale utente = C:\Documents and Settings\wolverine1
    Configurazione proxy: nessun proxy
    JAR cache enabled
    Location: C:\Documents and Settings\wolverine1\Oracle Jar Cache
    Maximum size: 50 MB
    Compression level: 0
    c: clear console window
    f: finalize objects on finalization queue
    g: garbage collect
    h: display this help message
    l: dump classloader list
    m: print memory usage
    q: hide console
    s: dump system properties
    t: dump thread list
    x: clear classloader cache
    0-5: set trace level to <n>
    Cached copy of http://ggdell2:8889/forms90/webutil/webutil.jar is out of date
    Cached copy: 1-ott-04 17.26.21
    Server copy: 4-ott-04 9.07.20
    Loading http://ggdell2:8889/forms90/java/f90all_jinit.jar from JAR cache
    Downloading http://ggdell2:8889/forms90/webutil/webutil.jar to JAR cache
    Cached copy of http://ggdell2:8889/forms90/webutil/jacob.jar is out of date
    Cached copy: 1-ott-04 17.26.44
    Server copy: 4-ott-04 9.07.38
    Downloading http://ggdell2:8889/forms90/webutil/jacob.jar to JAR cache
    proxyHost=null
    proxyPort=0
    connectMode=HTTP, native.
    Versione Applet Forms: 9.0.4.0
    RegisterWebUtil - Loading WebUtil Version 1.0.5 Production
    oracle.forms.net.ConnectionException: Sessione Forms <1> terminata: impossibile comunicare con il processo runtime.
         at oracle.forms.net.ConnectionException.createConnectionException(Unknown Source)
         at oracle.forms.net.HTTPNStream.getResponse(Unknown Source)
         at oracle.forms.net.HTTPNStream.doFlush(Unknown Source)
         at oracle.forms.net.HTTPNStream.flush(Unknown Source)
         at java.io.DataOutputStream.flush(Unknown Source)
         at oracle.forms.net.StreamMessageWriter.run(Unknown Source)     
    Who can help me ?

    THe Java Console would indicate that you're not using the right CFG settings - you should see the WebUtil Initialisation messages

Maybe you are looking for

  • Excise duty capturing

    My plant is under excise duty exemption for 10 years, presently there is no excise duty now the customer wants the excise duty to be nil. but he wants the registers ie., rg23 to updated as if he has paid excise duty to know his benefit from exemption

  • How do I restore iWeb from saved,from my hard drive, from the web itself?

    I have my iweb work files, a "saved" version  that I can recver the iweb version, an iinternallly store FTP like folder and the actual site itself online I am unclear how they all work together?   for backup and restore. For example I wnto create lin

  • I can't get my iPad to show 500 recent emails even when I set it at 500.

    I can't get my iPad to show an email history of 500 or more emails. Even when it's set at that. Any suggestions. Thank you!

  • Moving Pages Between Applications

    When I first began using AE, I created many different applications as request came in. Now, this is getting cumbersome as each application requires the user to login and logout. I want, instead, to create a single application and to move the pages fr

  • Webdynpro enhancements

    Hi experts, I need to an enhancement in webdynpro. i  find out the component and know how to create a enhancement implemention. But , my requirement is --  an error message should come when i click on a button (delete) in my screen. i find out there