Problems with JDAPI Samples

We are having problems getting the JDAPI samples provided with FormsBuilder9i working correctly. There are a couple of problems that occur.
1) When running GetFormName/GetModuleName the name of the form retrieved with the FormModule.getName() method always returns blank.
2) When running Traverse the following error occurs:
oracle.forms.jdapi.JdapiException: jniget_obj_prop failed
     at oracle.forms.jdapi.BaseAPI._jni_get_obj_prop(Native Method)
     at oracle.forms.jdapi.BaseFormsObject.getObjProp(Unknown Source)
     at oracle.forms.jdapi.BaseFormsObject.getChildObjectProperty(Unknown Source)
     at oracle.forms.jdapi.demo.Traverse.recurseObject(Traverse.java:110)
     at oracle.forms.jdapi.demo.Traverse.<init>(Traverse.java:63)
     at oracle.forms.jdapi.demo.Traverse.main(Traverse.java:162)
and
oracle.forms.jdapi.JdapiException: jniget_obj_prop failed
     at oracle.forms.jdapi.BaseAPI._jni_get_obj_prop(Native Method)
     at oracle.forms.jdapi.JdapiObjectListIterator.hasNext(Unknown Source)
     at oracle.forms.jdapi.demo.Traverse.recurseObject(Traverse.java:117)
     at oracle.forms.jdapi.demo.Traverse.<init>(Traverse.java:63)
     at oracle.forms.jdapi.demo.Traverse.main(Traverse.java:162)
These errors occur with every form that we attempt to run them with.
The only changes made to the samples is to provide a full stack trace when the error is thrown, otherwise they are unchnaged from the distributed versions.
Any help resolving these problems would be appreciated.
Thanks.

check whether frmjapi.dll (in case of Windows) or frmjapi.so can be reconginsed by Java ClassLoader. The problem here is when Jdapi calls it epects JNI layer dll be found by class loader which is a glue between Jdapi and underlying capi.

Similar Messages

  • Problem with running sample code from XML Schema Processor for Java

    Hi there,
    I downloaded the XML Schema Processor for Java and tried it out. Unfortunately, it failed at the first step. FYI, I included all xmlparserv2.jar and xmlschema.jar in my classpath.
    I compiled XSDSample.java with a warning: XSDSample.java uses a deprecated API. Recompile with "-deprecation" for details. There was no problem with compiling XSDSetSchema.java.
    When I tried to run report.xml by typing java XSDSample report.xml, I got Parsing report.xml
    NonParserException: null.
    I guess that report.xml from the sample is not valid.
    Could any one give me a hint? Any suggestion would be greatly appreciated.
    ---Denali
    null

    Please post this message at:
    Forums Home » Oracle Technology Network (OTN) » Products » Database » XML DB

  • Problem with Color Sampler Points

    I'm using PSCS4 on a Mac Pro, and recently upgraded to Snow Leopard 10.6.3 from Leopard 10.5.8.
    I regularly use color sampler points in Photoshop when adjusting curves. I seem to be having problems getting a sampler point to show up in the info palette when shift-clicking with the eye-dropper tool, or directly using the color sampler tool. I've also tried shift-clicking from within the Threshold command, but the points I click just don't seem to take a sample and show up. I never had this problem before. I'm bringing RAW, sRGB and ARGB digital images into PS from Bridge, and have tried 8 and 16 bit.
    After trying for awhile, sometimes it just suddenly starts working again. For instance, I was writing this post after not being able to get PS to take samples. Then I went back and forth between the internet and PS, and it started working all of a sudden. Very odd.
    Anyone else seeing this? Am I doing something wrong? Any workarounds?
    Thanks, Lou

    Thanks, Mark. You may be right, and I will try it.
    I have my workspace setup saved, but I presume it is lumped in with all the other preferences. Is there a way to "Export" my saved workspace setup from Photoshop, so after I trash my preferences, I can reimport at least my workspace? I didn't see the ability to do that, but it may be hiding somewhere. I like my current dual monitor setup and prefer not to have to 'redo' it from scratch.
    Thanks,
    Lou

  • Problem with intermittent sampling and writing to file(s)

    I am describing the functionality that I am trying to achieve via the attached VI.
    The VI opens with a sequence structure. In the first sequence step analog output voltages for 2 AO channels are set
    The next sequence step consists of analog data acquisition
    Custom linear scales for 3 input channels are specified, to convert input ‘volts’ to respective physical quantity being measured
    The input voltage signal is with +/- 10V but the physical quantity (forces) are greater than 10N
    The headers for the data files are created as strings
    The acquisition is set for finite sample acquisition
    The VI is set for periodic acquisition, wherein the data is acquired for specific time period given by ‘Sampling on’ and then ignored for time period specified by ‘Interval off’.
    The VI is set to write instantaneous data to multiple files. Each time the While loop is executed the instantaneous data, number of samples read (sampling rate x Sampling on time),  is written to a ‘.dat’ file.
    Statistical operations on data collected for each While loop execution is performed. These values (average & st. dev) are then written to another file ‘*.sum’ with respective headers
    The headers for the ‘*.sum’ file are written only for the first execution of the While loop
    The VI is designed to run for a specific duration after which the execution of  While loop is stopped
    Certain safety features are incorporated to terminate the execution of the While loop if the ratio of measured quantities exceeds a preset limit.
    In the last sequence the analog outputs are set to zero
    I am having following problems with the execution of the VI:
    The VI does not write instantaneous data to data files (*.dat)
    The VI writes the averaged data for *.sum file for only the first execution of the While loop.
    It also truncates the values to around 10.5 written in *.sum file. While implies that the custom scale is not working as intended.
    I would really appreciate if you would tell me how to fix these bugs with the VI. I would really appreciate your help.
    Have a happy holiday season.
    Thanks,
    Dinesh
    Attachments:
    VLBT_Sequence_AnalogIP_2.vi ‏437 KB

    Lynn, he may actually not be to blame for the diagram size. It does not change if you "clean" it, which leads me to believe that this is what he did. But a very entertaining diagram it is. A true case study :-)
    Now, the strange thing is that stuff like this remains in it:
    As Lynn said, the reason why the file is updated only once is that there must be an error after the first acquisition completes. The only way to figure out which one it is (in order to avoid or correct it) is to debug your code in situ (using a probe on the error wires). It might be because you try to restart your acquisition within the loop (you probably should stop it first if you really want to restart it anyhow). I would put the start out of the while loop and try this way. The error might occur elsewhere though or for another reason...
    Since you recreate your dat file at each iteration, the second giving you nothing because of an (unknown) error, will essentially erase your first successful iteration.
    I don't understand the truncation statement.

  • Problem with audio sample rate when exporting

    I am having an issue with my audio sample rate. For some reason it is set at 8 khz by defualt when I am exporting. This was not an issue until the latest update (2 weeks ago). I'll try and give all the info I can up front. Also I tried customer support...that was a nightmare.
    Ok the issue I am addressing is that the audio sample rate when exporting is at 8khz by default. Which to my knowledge has NO relevant use what so ever. Even when I set the file format to h.264 it insists on resetting to 8khz. Even if I manually set everything look at the render queue and click on output module again it changes the sample rate back to 8 khz automatically which I must adjust again. Why can it not just be set at 48000 like every other adobe product is and like it used to be two weeks ago. Does anybody have an answer?

    This problem is addressed by the After Effects CC (12.2.1) bug-fix update, which is now available:
    http://adobe.ly/AE_CC_1221
    Note the part at the end of that page about a crucial update for the Creative Cloud desktop application, which addresses some severe problems with AME, Premiere Pro, and After Effects.

  • Problem with digital samples of NI 9425 in windows 7 on usb 3.0 ports

    I have a program in C that reads the digital samples of a device 9174 module 9425 in windows 7 x64 which has no problems with the USB 2.0 ports but with the 3.0.
    When I connect the device to a USB 3.0 port errors in the samples appear, are activated or deactivated lines uncontrollably.
    The PC is Artigo A1250, Drivers NI-DAQmx9.6

    Hey vic22,
    Sylvia is correct -- the 9174 has been thoroughly tested on the USB 2.0 standard.  But we still expect it to communicate properly with USB 3.0 ports.  We have seen a few cases in which specific host controllers cause unexpected behavior similar to what you describe, but in general, our USB devices are compatible with USB 3.0.
    Of course, if sticking with a 2.0 port works for your application, that will be the quickest/simplest recommendation that we can make.  If you need to move your cDAQ to a 3.0 port, let us know -- there are some troubleshooting steps we can take to figure out why you're seeing errors.
    There are some additional details in this somewhat related article.  Upgrading the drivers for your USB Host Controller might be worth a shot.
    Kyle B  |  Product Support Engineer  |  ni.com/support

  • Problem with JDAPI

    Hi,
    I've been working with JDAPI for a while to migrate some forms modules from 6i version to 10g version, this is worlking fine, but now i want to do some changes to these 10g forms modules programmatically using JDAPI, so i develop the application and now when i'm running the process which has JDAPI functionality the application execution gets freeze.
    After a while i realize this only happens with 10g modules, if i use a 6i module the application works fine, so this mean i can not use the JDAPI to manage 10g modules ??
    I use the JDAPI from a 11g installation and the application execution gets freeze too.
    Thanks and Regards
    Carlos

    Hmm - maybe I am misreading...
    Are you trying to use the JDAPI that is included in Forms 10 to make changes in your v10 and v6 modules? Or are you using the v6 JDAPI to alter v10 modules? The latter will not work. Each new installation has an updated version of JDAPI. You must use this version to work with modules of the same or older versions. You cannot use it with newer versions. If you think you are already doing it correctly, look carefully at your PATH and CLASSPATH setting to ensure that what you "think" is actually what is occurring.

  • Problem with BIBeans sample application in JDEV

    I have installed JDeveloper and BiBeans PlugIn. I did the steps from the tutorial and it all worked fine.
    Then I generated a sample UIX application with all the options - and while the navigation loading and saving from the Catalog and everything works, the data that is displayed in the presentations is the same everytime (6 rows and 8 columns with values btwn 0 and 100) and I don't think it is coming from the BIBDEMO schema.
    So I think it is able to connect to the BIBCAT schema but it does not connect to the BIBDEMO schema
    However in JDeveloper itself all the presentations display the correct data.
    There is no error message or anything indicating what the problem is.
    Please help - I'm doing a POC and would need to show some results asap.
    I included a Trace, maybe that helps:
    oracle.dss.datautil.client.XMLManagerFactory::parseOLAPConnection: Jdbc driver type is: thin
    oracle.dss.datautil.client.XMLManagerFactory::parseOLAPConnection: Host name is: dcaclust2
    oracle.dss.datautil.client.XMLManagerFactory::parseOLAPConnection: SID is: DEV3
    oracle.dss.datautil.client.XMLManagerFactory::parseOLAPConnection: Port number is: 1521
    oracle.dss.datautil.client.XMLManagerFactory::parseOLAPConnection: Jdbc driver type is: thin
    oracle.dss.datautil.client.XMLManagerFactory::parseMetadataManager: parsing MetadataManager tag
    oracle.dss.datautil.client.XMLManagerFactory::parseOLAPConnections: parsing OLAPConnection tag
    oracle.dss.datautil.client.XMLManagerFactory::parseOLAPDatabases: parsing Database tag
    oracle.dss.connection.client.Connection::connect: -ConnectionBean-Client: is going to connect
    oracle.dss.connection.server.ConnectionImpl::connect: -ConnectionBean-Server: is going to connect - (DriverType=MDM)
    oracle.dss.connection.server.ConnectionImpl::connect: -ConnectionBean-MDMDriver: Connected Successfully: Time=1063ms
    oracle.dss.connection.client.Connection::connect: -ConnectionBean-Client: is going to connect
    oracle.dss.connection.server.ConnectionImpl::connect: -ConnectionBean-Server: is going to connect - (DriverType=PERSISTENCE)
    oracle.dss.connection.server.drivers.persistence.PersistenceConnectionDriverImpl::connect: -ConnectionBean-PersistenceDriver is going to connect
    oracle.dss.connection.server.drivers.persistence.PersistenceConnectionDriverImpl::connect: (ServiceName=null; Prinicipal=BIBCAT; Username=null)
    oracle.dss.persistence.storagemanager.bi.BIStorageManagerImpl::init: [Initializing oracle.dss.persistence.storagemanager.bi.BIStorageManagerImpl, env:{SET_ON_MID_TIER=NO, port=1521, java.naming.security.principal=BIBCAT, hostname=dcaclust2, am=oracle.dss.appmodule.server.DSSApplicationModuleImpl@20c906, jdbctype=thin, java.naming.factory.initial=oracle.dss.persistence.persistencemanager.server.InitPersistenceManagerFactory, Connection Status=2, object_name=Connection_1, drivertype=thin, Driver Type=PERSISTENCE, securityDriverManager=oracle.dss.appmodule.server.DSSApplicationModuleImpl@20c906, dad=oracle.dss.security.DAD@6db33c, sid=DEV3, mm=true, global_environment={locale_helper=oracle.dss.persistence.LocaleHelper@1263db, persistence_errorhandler=oracle.dss.util.DefaultErrorHandler@59e6e8}}
    oracle.dss.persistence.storagemanager.bi.mapping.JdbcAdapter::JdbcAdapter.init(): Detected PLSQL version 2.7.0.13.1 and Java version Not known
    oracle.dss.persistence.storagemanager.bi.BIStorageManagerImpl::init: [init]2047ms
    oracle.dss.persistence.persistencemanager.server.PersistenceManagerImpl::init: SM: Loaded storagemanager, class= oracle.dss.persistence.storagemanager.bi.BIStorageManagerImpl
    oracle.dss.connection.server.drivers.persistence.PersistenceConnectionDriverImpl::connect: -ConnectionBean-PersistenceDriver: Connected Successfully: Time=2.0 seconds
    oracle.dss.connection.server.ConnectionImpl::connect: -ConnectionBean-MDMDriver: Connected Successfully: Time=2781ms

    Not sure quick what you are seeing in your UIX application, I think it is the default crosstab when the data source fails. However, I would expect to see some error messages from in the JDev log window or the UIX page itself.
    Are you running the application directly from JDeveloper? Or have you deployed the application to a middle-tier server?
    Check the BIDesigner 'Run Time' Settings. Make sure the 'Use Design Time Setting' is not checked. Ensure the correct connection details are set for both the database and CATALOG and the catalog connection user is set as BIBCAT.
    Make sure all your presentations, calculations and saved selections have been copied to the remote catalog. This can be done using the right mouse click pop-up menu on the BIDesigner.
    Test running the application with the new run time settings from JDeveloper before deploying the application. Then follow the instructions in the JDeveloper Help on deploying UIX applications.
    Hope this helps
    Business Intelligence Beans Product Management Team
    Oracle Corporation

  • Problem with ur sample Application

    To The JDeveloper Team
    i developed an application to do basic authentication with the Database using a JSP. i was able to sign in proper but when i sign out of the application , i can't sign out ie the session variables are not clearing out and then i went to ur sample application and test it , it also works the same way ie it doesn't clear the session variables. Can u refer it and give me a suggestion. If u want to know the exact problem this is it.
    U have a sign-in url in ur auctions application . After u sign-in ,it is converted in Signout url . But if i click on it , it does show the sign-in but shows the sign out only.
    null

    Airton,
    Before running bankapp, you must set the BLKSIZE parameter in the bankvar
    file to a multiple of the machine file.
    The README file explains how to set BLKSIZE.
    For HP-UX, BLKSIZE must be set to 1024 or to a multiple of 1024.
    Ed
    <Airton Vargas> wrote in message news:[email protected]..
    I'm trying to configure and run the bankapp application for Tuxedo 8.0 under
    HP-UX, but I'm getting errors to connect to database.
    I'm using the RM=TUXEDO/SQL and when I run the script crbank I get
    the the following error messages:
    sql: Operation 'create table': rm error
    sql: LIBDUX_CAT:475: block size invalid
    sql: Operation 'LIBSQL_CAT:74: create index (table file)': rm error
    sql: LIBDUX_CAT:460: invalid rm file name
    Does anyone know how to solve this problem?
    Thanks in advance for any help!
    Best regards,
    Airton

  • Runtime problems with sdk sample.

    Hi,
    has anyone had any problems when running the sdk sample (instantclient 10.1.0.4)
    compiled with MS Visual C++ Express version? I called make.bat and everything
    compiled and linked without any worries. When I run the program it crashed. While
    debugging I got the following info:
    First-chance exception at 0x7c81eb33 in occi.exe: Microsoft C++ exception: oracle::occi::SQLException at memory location 0x0012fb74..
    Unhandled exception at 0x7c81eb33 in occi.exe: Microsoft C++ exception: oracle::occi::SQLException at memory location 0x0012fb74..
    This error occurs when trying to call ::createEnvironment().

    I gave up with the occidml example and restarted with
    the occiobj example. And guess what happened. It
    worked. I can´t beleive it.
    So I really don´t know what the difference of these
    two example is as the only difference so far (as I
    saw in the constructor of the two classes) is an extra
    call in the occiobj-example. Well the parameters
    are also different.
    Occidml-example constructor:
    occidml (string user, string passwd, string db)
    env = Environment::createEnvironment (Environment::DEFAULT);
    conn = env->createConnection (user, passwd, db);
    Occiobj-example constructor:
    occiobj (string user, string passwd, string db)
    env = Environment::createEnvironment (Environment::OBJECT);
    occiobjm (env);
    con = env->createConnection (user, passwd, db);
    If I have time again I will give the occidml another try. By far
    I get along with the occiobj-example.
    Thanks for all the people who helped me (or intended to).
    Greetings Roman

  • Problem with auditioning samples in Ultrabeat?

    Im having some trouble with auditioning drum hits in Ultrabeat. When I go to listen a sample, the sample plays but all i can hear is a high pitched squeak instead of the drum hit I want to audition. Can anyone explain this?

    Hi,
    Ultrabeat is not so much a sample player, but more a synthesizer. Your squeek probably has to do with the synth parameters of that sound in UB.
    This guy (David Earl aka SFLogicNinja) explains it well:
    http://nl.youtube.com/watch?v=KElps7_rIZM
    http://nl.youtube.com/watch?v=-RApWl2HgEU
    regards, Erik.

  • Problem with HttpUploadBean sample code

    Hello,
    I need upload files to a database and download files from database. I have some problems and i'm trying the sample in the help "File Upload and Download JavaBean and Class Descriptions" - "The HttpUploadBean".
    File UploadBean.html:
    <html><body>
    <form action="beanUploadExample.jsp" ENCTYPE="multipart/form-data" method=POST>
    <br> File to upload: <INPUT TYPE="FILE" NAME="File" SIZE="50" MAXLENGTH="120" >
    <br><INPUT TYPE="SUBMIT" NAME="Submit" VALUE="Send"> </form>
    </body></html>
    File beanUploadExample.jsp:
    <%@ page language="java" import="java.util.*, oracle.jsp.webutil.fileaccess.*"
    %>
    <html><body>
    <% String userdir = "fileaccess"; %> // user's part of the upload directory
    <jsp:useBean id="upbean"
    class="oracle.jsp.webutil.fileaccess.HttpUploadBean" >
    <jsp:setProperty name="upbean" property="destination" value="<%= userdir %>"
    />
    </jsp:useBean>
    <%
    upbean.setBaseDir(application, request);
    upbean.upload(request);
    Enumeration fileNames = upbean.getFileNames();
    while (fileNames.hasMoreElements()) { %>
    <br><%= (String)fileNames.nextElement() %>
    <% } %>
    <br>Done!
    </body></html>
    Content of fileaccess.properties file in directory G:\jdeveloper9i\jdev\mywork\AccessFiles\Upload\public_html\WEB-INF
    fileaccess.basedir=G:\jdeveloper9i\jdev\mywork\AccessFiles\Upload\public_html\files
    (the directory files has been created)
    Interner Explorer (version 5.00.3315.1000) show error 500 (Internal Server Error) after to select the file and click in the buttom "Send"
    In Debug mode, to press F8 (Step over) in the line upbean.upload(request); show the error:
    "Unable to find source file for package oracle.jsp.runtime, filename httpJsp.java"
    I'm trying jDeveloper9i version 9.0.2.829
    Any help is welcome
    Thanks

    Hi,
    I will try the HttpUploadBean very soon but haven't test it. Will this article would help : Re: File Upload tag and Bean
    Rgds.

  • Problem with AS3LIB Sample program

    I have successfully compiled and generated swf file for StringEcho example under Windows but I cannot seem to get the AS3Lib sample to compile properly. 
    I tried to execute the makefile but it failed where .SUFFIXES and .c.o were not recognized as commands.   I also tried to compile test.c and got errors and the swc file was not generated.
    Has anyone successfully compiled and generated the Flash/Air program for testing.   If so,  I would appreciate help with how to proceed.
    Thanks.
    Pat

    Makefiles are executed with the 'make' commandline utility.  In a terminal, switch to the same path as the makefile, and just type 'make'.

  • Problems with audio sample rate when capturing DV50

    Hello from Spain, I have a problem when capturing DV50 source footage: I setup my sequence settings and capturing settings like always, DV50 codec and 48k sample rate for audio, then when the capturing process finish the result is a file that contains audio to a non-48k audio sample rate, then video and audio don´t match. The sample rate is 47945 and other similars, not always the same, sometimes 47214 sometimes 48000, and there is no rules...My capturing device works ok in other computers and the footage has been capture ok in other Mac...I don´t know what happens.
    Sebas, kind regards
    G5 Quad   Mac OS X (10.4.6)  

    Hello!, first of all thanks for your reply. Yes, the camera is the same, the problem is on my computer, I have discovered a solution: first I capture the audio, only the audio, and then the video, only the video. After this I soncronize the two separate files on Final Cut timeline. It´s a slow process, but I am really desesperated. I don´t know what happens, I few minutes ago I have captured a 30 mins. video and the sample rate of the audio was 42.145k (???). It´s a crazy thing...

  • Problem with bankapp sample application.

    I'm trying to configure and run the bankapp application for Tuxedo 8.0 under HP-UX, but I'm getting errors to connect to database.
    I'm using the RM=TUXEDO/SQL and when I run the script crbank I get the the following error messages:
    sql: Operation 'create table': rm error
    sql: LIBDUX_CAT:475: block size invalid
    sql: Operation 'LIBSQL_CAT:74: create index (table file)': rm error
    sql: LIBDUX_CAT:460: invalid rm file name
    Does anyone know how to solve this problem?
    Thanks in advance for any help!
    Best regards,
    Airton

    Airton,
    Before running bankapp, you must set the BLKSIZE parameter in the bankvar
    file to a multiple of the machine file.
    The README file explains how to set BLKSIZE.
    For HP-UX, BLKSIZE must be set to 1024 or to a multiple of 1024.
    Ed
    <Airton Vargas> wrote in message news:[email protected]..
    I'm trying to configure and run the bankapp application for Tuxedo 8.0 under
    HP-UX, but I'm getting errors to connect to database.
    I'm using the RM=TUXEDO/SQL and when I run the script crbank I get
    the the following error messages:
    sql: Operation 'create table': rm error
    sql: LIBDUX_CAT:475: block size invalid
    sql: Operation 'LIBSQL_CAT:74: create index (table file)': rm error
    sql: LIBDUX_CAT:460: invalid rm file name
    Does anyone know how to solve this problem?
    Thanks in advance for any help!
    Best regards,
    Airton

Maybe you are looking for

  • MAIL - certain emails won't open, 10.6.4

    Using Macbook, some emails won't open in mail (on 10.6.4). i can open several emails from the same person but particular ones won't open. it's happened several times in the last week. to clarify, it's not the PROGRAM mail that won't open...it's just

  • Apple's stance on ML problems - Reminders and Notes.

    Hello, all. I must confess I am puzzled with Apple's attitude towards its customer base and how neglectful it has become as a company. I just recently upgraded to Mountain Lion for the sole reason I wished to use Reminders and Notes. These are applic

  • Ipod shows empty.

    Ipod shows empty, but space is still shown used. And everytime I connect my iPod, iTunes stops working. Please help.

  • No Cartoon Network HD?

    I just switched to FIOS from cable and there is no Cartoon Network HD (mainly for Star Wars Clone Wars), not to mention the lack of BBC America HD. I would gladly trade about 100 of the other useless channels to get these two. Please, Verizon, take a

  • Edit standard transactions screen

    I am supposed to edit the screen of a standard transaction VA11. Am supposed to add sum10-12 fields on the input screen .I have found that probably the screen-exits would help. But as of now I have tried to find the standard exits but there is no scr