Call a dll via webutil works with Jinitator, but not with the Sun JRE

Friends,

I'm trying to call a DLL for Oracle forms using webutil.

The example I use is from thread WEBUTIL_C_API demo form .

I followed all the instructions and when I use Jinitiator 1.3.1.28 as the JRE client, then this market. However, when I use Sun JRE 1.5 (1.5.0.19) or Sun 1.6 (1.6.0.14) it does not work and I see the following errors in the java console:
ERROR>WUL-928 [CApiFunctions.set_invokeoncespec()] Library apiwrap.dll not accessible, or does not contain function eaFindWindow
ERROR>WUL-910 [CApiFunctions.invokeCApi()] Invoking the function failed: java.lang.NullPointerException
It appears the problem with the version of Java? Is there something special I need to do to call a dll using the latest versions of the JRE?

Any help would be appreciated!

These webutil errors mean that the .dll file is not found in the JRE/bin directory... you have to force webutil to re - load the .dll file into this folder by deleting the webutil.properties file, and then try to run after it again and it should work.

This properties file are located in either the user/home directory or in the home folder of the JRE.

i.e.
C:\Program Files\Java\jre1.5.0_15\webutil.properties

This file will contain the .dll files that are downloaded to the client... such as configured in the webutil.cfg file.

Properties of #WebUtil file
#Mon Aug 10 10:52:10 MDT 2009
syslib.ffisamp.dll = 1.0
syslib.d2kwut60.dll = 1.0
syslib. JNIsharedstubs.dll = 1.0
syslib. Jacob.dll = 1.0
syslib.apiwrap.dll = 1.0

Tags: Oracle Development

Similar Questions

  • ContextMenu working on 8120 but not on the 8900

    I have this application running on the OS 8120 v4.3.0.115 and 8900 OS v4.6.1.231 and get a strange problem with the context menu not appearing is not on the 8900 but for 8120 his job very well.

    This is my code:

        /*Override this to add custom menu items.*/
        protected void makeMenu( Menu menu )
            {
                Field focus = UiApplication.getUiApplication().getActiveScreen().getLeafFieldWithFocus();
                if(focus != null)
                    {
                    ContextMenu contextMenu = focus.getContextMenu();
                    if (contextMenu !=null)
                        {
                            menu.add(contextMenu);
                            menu.addSeparator();
                        }
                    }
                menu.addSeparator();
                menu.add(_closeItem);
            }
    

    Any who have similar problems with the context menu for ObjectChoiceField does not not on the 8900?

    figured it out. I have replace him-> public boolean trackwheelClick (int status, int time)
    and this for a reason any did not work with the 8900. Still strange that he worked on the 8100.

    But somehow rewrote this code and now its work on both devices.

  • Train with webutil works with the browser, but not with webstart JNLP 12 c

    Hello

    I set up forms and reports suite 12 c according to the instructions and I'm testing my forms updated since version 10 g.

    In some forms, I use webutil.

    I can run forms without webutil with the browser or java web start (everything works fine).

    I have problems with the forms use webutil tha, they work very well with the browser, but not with java web start.

    When I run forms with webutil and webstart I see all white and the "crash" application: I must leave because other forms without webutil also do not work.

    Here is my config in formsweb.cfg:

    [Appws] <-start java web

    form = nomeform

    Archive = frmall.jar, frmicons.jar

    WebUtilArchive = jacob.jar, frmwebutil.jar

    WebUtilTrustInternal = true

    WebUtilLogging = off

    WebUtilLoggingDetail = normal

    WebUtilErrorMode = alert

    WebUtilDispatchMonitorInterval = 5

    WebUtilTrustInternal = true

    WebUtilMaxTransferSize = 16384

    baseHTML = webutilbase.htm

    baseHTMLjpi = webutiljpi.htm

    basejnlp = webutil.jnlp

    WebStart = on

    [appnows] <-no java web start

    shape = mercurio

    separateFrame = true

    Archive = frmall.jar, frmicons.jar

    WebUtilArchive = jacob.jar, frmwebutil.jar

    WebUtilTrustInternal = true

    WebUtilLogging = off

    WebUtilLoggingDetail = normal

    WebUtilErrorMode = alert

    WebUtilDispatchMonitorInterval = 5

    WebUtilTrustInternal = true

    WebUtilMaxTransferSize = 16384

    baseHTML = webutilbase.htm

    baseHTMLjpi = webutiljpi.htm

    basejnlp = webutil.jnlp

    What could be the problem?

    Gianpaolo

    Remove Appws:

    Archive = frmall.jar, frmicons.jar

    WebUtilArchive = jacob.jar, frmwebutil.jar

    baseHTML = webutilbase.htm

    baseHTMLjpi = webutiljpi.htm

    Add frmicons.jar and jacob.jar to $ORACLE_HOME/forms/java/extensions.jnlp.

    and try again.

    Concerning

  • Rh9 link works in preview but not on the generated version

    Question: I have the theme with link to a MS Excel file. When I make a point of view, the link action behaves correctly, by displaying the file download dialog box. When I generate the layout (WebHelp), the link action does not respond.

    Notes:

    • The file appears in the two c:\appname\! SSL! \WebHelp\,rules_summary_1.xls , and c:\appname\Rules_Summary_1.xls

    (not sure if the case of filenames questions)

    • I created a test subject and got the same behavior

    Any ideas?

    Thank you

    -bruce.

    Hello

    It is probably the result of having Mark of The Web (MOTW) activated at the time of publication and that you view using Microsoft Internet Explorer as your browser.

    If you have decided to copy the files on a web server for your end users to open, the links should work properly.

    If you want to test your local PC to ensure that things work, you can disable MOTW and deal with problems of boxes dialog IE or you can relax in the Internet Explorer security to allow to run active content. Your call.

    What version of IE are you using?

    See you soon... Rick

    Useful and practical links

    Wish to RoboHelp form/Bug report form

    Begin to learn RoboHelp HTML 7, 8 or 9 in the day!

    Adobe Certified RoboHelp HTML Training

    SorcerStone blog

    RoboHelp EBooks

  • Camera shake works in preview, but not in the final rendering.

    Hello. I tried Googling and searching forums and coming hands here is empty.

    I use After Effects of CS4 with the latest updates.

    I have a project with a unique model that contains an AVCHD clip related to an adjustment layer.

    I used the earthquake keyframe mode some fake camera shake by manipulating the 'Transform-> Position' field moments adaptation layer keys in the images. If I scrub through or do a preview (press 0 and let pre render) it looks fantastic with the music video of shake exactly how I like it.

    But when I save the project and add it to my queue to render the final output has * no * of the camera shake!

    I'm completely baffled as to why this might be. That said I only use AE for about a month so it is possible that I have made a simple noob mistake.

    The adjustment layer and the images are both the visible value. I see clearly the keyframes in the timeline panel and as I said the preview and cleaning shows the effect in action... But the final result (regardless of the format or resolution) have no shake in them either.

    Help!

    I just tried to do exactly the same thing and it works very well here.

    If you want, e-mail me your project folder (under the file video source) and I'll take a look: arozenfe (©) adobe.com

  • Memory micro SD card works on phone, but not on the computer, Please HELP!

    Help, please

    History
    (1) I got a 8 GB Micro SD memory card, it worked fine for two years and then became corrupted, I formatted and it worked fine for about two months before, she has become corrupt again
    (2) this time when it became corrupt my phone always accepted, but the computer could not detect, weird, I decided to not format and continue to use on my phone
    (3) I decided to buy a new memory card and an adapter and then transfer the stuff over the old to the new, but I was shocked when the NEW memory card and a NEW adapter did not work and continued to say needs formatting, hmmm...
    (4) I decided to format it, but it says that it cannot be formatted... WHAT!
    (5) I put the new card in my phone, it works and I have format it on my phone instead... IT STILL DOES not work! Help me!!!

    I still think you should get a new card reader.  The adapters are not likely to be the problem.  On the other hand, I had a player go bad and yet still be "recognized" by the computer.

    It is possible, but probably not - IMO that reinstall the driver (if available; in general, however, these devices use drivers that come built-in to Windows) or a firmware update (if available for your drive in particular) could solve the problem.  What is the brand and model of your card reader?

    At the very least, you should see if you can find someone with a SDHC card reader and then see if you can read and format the card using your cards.

  • Series works in Fusion, but not on the site?

    I finally got my license key today and could enter my installed 3 merge (so far, used the temporary key) - but when I login on my VMWare account on the website and try to save the license all I get is an error "invalid series/license.

    Anyone with a similar problem?

    I'd rather have the license working and registered (in case of future updates) of a single semester...

    We are working through some problems with registration for orders at the beginning, but hope to have solved today.

    Pat

  • Preloader works on homepage, but not on the subpage

    I work for this site is home to the preloder home page works fine. I put the preloader in the upper layer, but here at work page whose link is here works is not work fine same as homepage... would have some advice me what to do? because I did the same thing on the home page, but unfortunately I can't find any reason why his works very well on the WORK page.

    Thank you.

    Even I tested in 3 different browsers, Chrome, Firefox, and Edge, and it works very well in all the!

    Looks like the problem is solved!

  • Loading an image works on Z10, but not on the Q5

    I use FilePicker to load an image from the library by using the following code

    Container {
            ...
    
            ImageView {
                id: imgView
                verticalAlignment: VerticalAlignment.Center
                horizontalAlignment: HorizontalAlignment.Center
                scalingMethod: ScalingMethod.AspectFit
                maxHeight: 250
                minHeight: 100
                bottomMargin: 30.0
    
            }
    
        }
        Container {
            verticalAlignment: VerticalAlignment.Bottom
            horizontalAlignment: HorizontalAlignment.Fill
            bottomPadding: 30.0
            leftPadding: 30
            rightPadding: 30
    
            Button {
                id: btnSelectImg
                topPadding: 25
                horizontalAlignment: HorizontalAlignment.Fill
                text: qsTr("Select Image") + Retranslate.onLocaleOrLanguageChanged
                onClicked: {
                    console.log("FilePicker")
                    picker.open()
                }
    
                attachedObjects: [
                    FilePicker { //image picker
                        id: picker
                        property string selectedFile
                        type: FileType.Picture
                        title: qsTr("Select Image") + Retranslate.onLocaleOrLanguageChanged
                        onFileSelected: {
                            imgView.imageSource = "file://" + selectedFiles[0];
                        }
    
                    }
                ]
            }
        }
    }
    

    Copy the following code to display the image correctly on Z10, but not on Q5 however both running the same version.

    No idea what could be the problem?

    It turns out that the problem is exactly as described by dbigham, ImageView can handle images up to a certain size depedning on the device.

    I added a C++ code to resize the image before feeding it to QML

    QML code:

    ImageView {
                id: imgView
                attachedObjects: [
                    ImageTracker {
                        id: imgViewTracker
    
                        onStateChanged: {
                            if (state == ResourceState.Loaded)
                            {
                                imgView.image = imgViewTracker.image
                                console.log("Shared image loaded correctly!")
                            }
                            else if (state == ResourceState.ErrorMemory)
                            {
                                console.log("Shared image load: Error Memory!")
                            }
                            else if (state == ResourceState.ErrorInvalidFormat || state == ResourceState.ErrorNotFound) {
                                console.log("Shared image load: " + state + "!")
                            }
                        }
                    },
                    FilePicker { //image picker
                        id: picker
                        property string selectedFile
                        type: FileType.Picture
                        title: qsTr("Select Image") + Retranslate.onLocaleOrLanguageChanged
                        onFileSelected: {
                            _app.loadImage(selectedFiles[0],300,200)
                            imgViewTracker.image = _app.image;
                        }
    
                    }
                ]
    
            }
    

    C++ code:

    void ApplicationUI::loadImage(QString strImageFileName, int width, int height)
     {
         QImage image;
    
         image.load(strImageFileName);
    
         image = image.scaled(width, height, Qt::KeepAspectRatioByExpanding);
    
         QImage swappedImage = image.rgbSwapped();
         if(swappedImage.format() != QImage::Format_RGB32) {
             swappedImage = swappedImage.convertToFormat(QImage::Format_RGB32);
         }
         const bb::ImageData imageData = bb::ImageData::fromPixels(swappedImage.bits(), bb::PixelFormat::RGBX, swappedImage.width(), swappedImage.height(), swappedImage.bytesPerLine());
    
         m_image = bb::cascades::Image(imageData);
         emit imageChanged();
     }
    
    QVariant ApplicationUI::image() const
     {
         return QVariant::fromValue(m_image);
     }
    

    C++ header:

    class ApplicationUI : public QObject
    {
    ...
    
    Q_PROPERTY(QVariant image READ image NOTIFY imageChanged)
    
    public:
    ...
    
    Q_INVOKABLE void loadImage(QString strImageFileName, int width, int height);
    
    signals:
    ...
    
    void imageChanged();
    
    private:
    ...
        QVariant image() const;
        bb::cascades::Image m_image;
    
  • Hyperlink works locally but not on the Intranet

    Hello

    Behavior very strange because most of the other hyperlinks in separate projects works only on the Intranet, but not locally. All the settings for hyerlinks are the same, since they have been pulled from a template.

    All ideas

    Lisa

    Hello

    I found my problem. I was pointing to the address of the server in my button instead of the http address. This is the reason for which he worked a sense but not in the other.

    Thanks for listening.

    Lisa

  • Series LV examples do not work with the series via USB unlike HyperTerminal

    Hello

    I have a camera with that one way to communicate - series via USB. With Hyperterminal, it works as expected, but none of the examples of series that come with LV gets no response. When highlighting the execution, Write function will return no error (but apparently not send anything - no visible reaction from the device), and then the Read function gets nothing (late just then, judging by the experience with Hyperterminal).

    Would be grateful for any suggestion useful.

    Thank you.

    Indeed, they have been included; as example intends to send "* IDN? \r\n", \r\n were taken directly from there.

  • I had a computer repair man replace my hard drive and restore my laptop and now my orginal key does not work with the copy of vista it has installed and it won't validate.

    I had a computer repair man replace my hard drive and restore my laptop and now my orginal key does not work with the copy of vista it has installed and it won't validate how can I solve this
    I have an acer

    Diagnostic report (1.9.0027.0):
    -----------------------------------------
    Validation of Windows data-->
    Validation status: invalid license
    Validation code: 50
    Validation caching Code online: n/a, hr = 0xc004f012
    Windows product key: *-* - XY9X3 - JDXYP-6CJ97
    The Windows Product Key hash: xFQJU8srKsovk6p1Lk1yW93in4E =
    Windows product ID: 89583-OEM-7332157-00211
    Windows product ID type: 2
    Windows license Type: OEM SLP
    The Windows OS version: 6.0.6002.2.00010300.2.0.003
    ID: {F20B4B72-1308-45BE-8F90-95E91A3F0AAF} (1)
    Admin: Yes
    TestCab: 0x0
    LegitcheckControl ActiveX: N/a, hr = 0 x 80070002
    Signed by: n/a, hr = 0 x 80070002
    Product name: Windows Vista (TM) Home Premium
    Architecture: 0 x 00000009
    Build lab: 6002.vistasp2_gdr.110617 - 0336
    TTS error:
    Validation of diagnosis:
    Resolution state: n/a

    Given Vista WgaER-->
    ThreatID (s): n/a, hr = 0 x 80070002
    Version: N/a, hr = 0 x 80070002

    Windows XP Notifications data-->
    Cached result: n/a, hr = 0 x 80070002
    File: No.
    Version: N/a, hr = 0 x 80070002
    WgaTray.exe signed by: n/a, hr = 0 x 80070002
    WgaLogon.dll signed by: n/a, hr = 0 x 80070002

    OGA Notifications data-->
    Cached result: n/a, hr = 0 x 80070002
    Version: N/a, hr = 0 x 80070002
    OGAExec.exe signed by: n/a, hr = 0 x 80070002
    OGAAddin.dll signed by: n/a, hr = 0 x 80070002

    OGA data-->
    Office status: 109 n/a
    OGA Version: N/a, 0 x 80070002
    Signed by: n/a, hr = 0 x 80070002
    Office Diagnostics: 025D1FF3-364-80041010_025D1FF3-229-80041010_025D1FF3-230-1_025D1FF3-517-80040154_025D1FF3-237-80040154_025D1FF3-238-2_025D1FF3-244-80070002_025D1FF3-258-3

    Data browser-->
    Proxy settings: N/A
    User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Win32)
    Default browser: C:\Program Files (x 86) \Mozilla Firefox\firefox.exe
    Download signed ActiveX controls: fast
    Download unsigned ActiveX controls: disabled
    Run ActiveX controls and plug-ins: allowed
    Initialize and script ActiveX controls not marked as safe: disabled
    Allow the Internet Explorer Webbrowser control scripts: disabled
    Active scripting: allowed
    Recognized ActiveX controls safe for scripting: allowed

    Analysis of file data-->

    Other data-->
    Office details: {F20B4B72-1308-45BE-8F90-95E91A3F0AAF}1.9.0027.06.0.6002.2.00010300.2.0.003x 64*-*-*-*-6CJ9789583-OEM-7332157-002112S-1-5-21-923204104-223683984-168055983Acer Extensa 5630 Phoenix Technologies LTD.V1.30 20090319000000.000000 + 00070333507018400FA04090409US Mountain Standard Time(GMT-07:00)03ACRSYSACRPRDCT109

    Content Spsys.log: 0 x 80070002

    License data-->
    The software licensing service version: 6.0.6002.18005
    Name: Windows Vista, HomePremium edition
    Description: operating system Windows - Vista, channel OEM_SLP
    Activation ID: bffdc375-bbd5-499d-8ef1-4f37b61c895f
    ID of the application: 55c92734-d682-4d71-983e-d6ec3f16059f
    Extended PID: 89583-00146-321-500211-02-1033-6002.0000-0042012
    Installation ID: 004511331255365043724851364501374781338933223323713385
    Processor certificate URL: http://go.microsoft.com/fwlink/?LinkID=43473
    The machine certificate URL: http://go.microsoft.com/fwlink/?LinkID=43474
    Use license URL: http://go.microsoft.com/fwlink/?LinkID=43476
    Product key certificate URL: http://go.microsoft.com/fwlink/?LinkID=43475
    Partial product key: 6CJ97
    License status: Notification
    Notification reason: 0xC004F063.

    Windows Activation Technologies-->
    N/A

    --> HWID data
    Current HWID of Hash: OgAAAAEAAgABAAIAAwACAAAAAwABAAEAeqjWy6pVxGJ6f0DXhgfkNoBBsJzy9ErM1F/eG4QdrFYqhQ is

    Activation 1.0 data OEM-->
    N/A

    Activation 2.0 data OEM-->
    BIOS valid for OA 2.0: Yes
    Windows marker version: 0 x 20000
    OEMID and OEMTableID consistent: Yes
    BIOS information:
    ACPI Table name OEMID value OEMTableID value
    APIC APIC PTLTD
    FACP INTEL CRESTLNE
    HPET INTEL CRESTLNE
    START PTLTD $SBFTBL$
    MCFG INTEL CRESTLNE
    SLIC ACRSYS ACRPRDCT
    ASF!            OEMID OEMTBL
    SSDT BrtRef DD01BRT
    SSDT BrtRef DD01BRT

    Ah! -in this case, it is not necessary.

    I see from my records that a similar case has been solved by uninstalling and reinstalling the update WAT - KB971033

    Open the Windows Update - click the link view updates installed on the left of the page

    in the list, find the WAT update KB971033, and then uninstall it.

    Then restart and reinstall the update from here - http://support.microsoft.com/kb/971033

    redemarrer restart again, then try to change your product key to the one on the sticker - what is happening this time?

  • While trying to install windows 7 pro 64-bit, as the files to try to finalize an error message appears and says that windows cannot manipulate files to work with the hardware in my computer

    Original title: Win hardware problem. 7 PRO

    Trying to install windows 7 pro 64-bit, and while files are trying to finalize a message error shows up and says windows can't handle files to work with the hardware in my computer.

    The only thing I can think is that maybe the Mobo is not compatible with windows 7, do not answer on the Asrock web page.

    -Asrock Fatal1ty killer FM2 + Mobo. Processor AMD Athlon X 4 860 K. RAM Corsair 2133 (executed in 1866)

    Or they are corrupt, try to get a new copy and try again.

    For 5 years, Microsoft made it fairly easy for users of the Windows 7 operating system to get reinstall media. If you have lost your support disc or installation retail collection; either it has been damaged or defective; You can download a copy of the edition that you have licensed from a membership site called Digital River. More recently, Microsoft ended the availability to reinstall media that you can download as a. File ISO in Digital River, which is a digital reproduction of an optical disc.

    It was particularly convenient for people who could not easily get the manufacturer's recovery media, did not want to pay the fees required to get or preferred a clean configuration without the software packaged manufacturers or even a recovery partition does not work. It's easy to use, all you had to do was reinstall and reactivate using the product key located on the certificate of authenticity and download all the drivers on the manufacturers website.

    Given that this option is no longer available, what are your options? See the article for more details:

    How to: What are my options for Windows 7 reinstall media?

    Make sure you scroll down and read the section:

    What to do if you cannot get your manufacturer recovery media, refuse to use or to buy it or the Microsoft Software Recovery Website does not work?

  • BlackBerry Smartphones the Motorola HS820 earpiece/Headset Bluetooth Audio works with the Blackberry Bold 9700?

    The Motorola HS820 earpiece/Headset Bluetooth Audio works with the Blackberry Bold 9700?

    It's not clear to me, if only the bluetooth Blackberry devices work with the Bold 9700, or any bluetooth device.  With the Bold 9700 recognize to ask the code four numbers when first by aligning it with the HS820?

    I matched two Plantronics, a Motorola and an earpiece/headset Cardo bluetooth with the 9700 and they work very well for phone calls, but I can't get the audio from Media Player to play on one of them.

  • Is there a driver for Windows 7 available for this printer? One user in our office was able to make it work with the Vista driver.

    Is there a driver for Windows 7 available for this printer?  One user in our office was able to make it work with the Vista driver.

    According to the website of Epson here

    http://www.Microsoft.com/Windows/compatibility/Windows-7/en-us/search.aspx?l=en-us&type=hardware&s=Epson%20fx-980&OS=32-bit

    the latest drivers are for Windows XP 32-Bit.

    This Epson Web page says drivers

    http://eSupport.Epson-Europe.com/ViewArticle.aspx?LNG=en-GB&kbid=324521

    are available via Windows Update.

    Microsoft Windows 7 Compatibility Center:

    http://www.Microsoft.com/Windows/compatibility/Windows-7/en-us/details.aspx?type=hardware&p=Epson%20FX-980%20Impact%20Printer&v=Epson&UID=C276001&l=en-us&pf=0&PI=0&s=Epson%20fx-980&OS=32-bit

    says it's not compatible.

    Clearly, there is an inconsistency in the tips above. I would try the road to Windows Update to see if his list - I would test it myself to see if its listed, but my connection to Windows Update seems to be suspended.

Maybe you are looking for

  • Satellite C660-2RC: need Win XP drivers for sound and graphics

    Hello Toshiba, How are you?I need Xp for the use of old softwarer for medical activity. (not compatible with Vista or Win7) I install Xp Home Sp2 but sound and vga drivers is the problem. Psc0QE-06p02UBYZB2534...Satellite C660-2RC Thanks for you supp

  • HP pavilion p6690d

    Hello world I have difficulties to find bluetooth on my desk. I would like to know if my hp pavilion p6690d has a bluetooth adapter built in. Please get back to me as soon as POSSIBLE if any of you have the answer to my question. Thank you. moonbreak

  • I can't dual boot my PC pre-installed Windows 7 with Windows XP?

    I created a primary partition on my Windows 7 PC preinstalled in freeing up space. When I start my PC the Windows XP installation CD, Windows XP will in the usual configuration process by displaying the F6 option on the screen blue etc and it unloads

  • DESKJET ALL-IN-ONE 2540: HP DESKJET ALL-IN-ONE 2540

    Just installed HP DESKJET 2540 ALL-IN-ONE.  Wireless printing for iPad works great, but PC Dell, print quality a part of the printed text only demi-imprime throughout all documents.  I tried to clean the cartridges, printer, align the cartridges and

  • Programmatically control the connection to a VPN profile

    Hi all I wonder if it is possible to connect and disconnect a VPN set on the device by program profiles. I went to the library of Extensions of VPN, also done a search on the forum for other people seeking the same question. Looks like the answer is