InfoBus Problem?

Hi,
I seem to have a peculiar problem which I can not trace it's
exact cause. What I am trying to do is to get an InfoBus
Data Form to work with Oracle stored procedures.
To access the stored procedures I have created the java
wrapper class using the pl/sql wizzard, but when I try to
get it up and running, I get this panic message:
JBO-01100: A Generic exception occurred during Data access
Exception: java.sql.SQLException: Error while trying to
retrieve text for error ORA-12154
What happens is that, in order to instantiate the new java
wrapper class, I need to create a Session object, using the
following code:
public Session session = new Session();
and then:
session.logon("acs", "acs", "or815");
before instantiating the wrapper class using the Session object.
usr = new package1.USR(session);
This does not work! I always get this freak panic message and
my InfoBus frame appears blank! If I comment out these lines
of code, everything goes just well, and my data appear in the
frame, as the should. But I really need to access my stored
procedures!!!
So, does any one have any idea of what to do? Can I do something
to get it all working right? I am really quite desperate, and
a speedy reply would be much appreciated...
Thanking in anticipation,
Nick Papakyriakou
null

Firstly I would like to thank you for your prompt response,
and secondly I would like to make another little question,
in continuation of this one.
Can any one tell me how to use the InfoBus apis to manipulate
(retrieve, insert, etc) LOBs? Is there any way this can be done
using these apis? Perhaps a code excerpt or a pointer to
where I could find such code would be very helpful.
Thanking in advance,
Nick Papakyriakou
JDev Team (guest) wrote:
: You can access your stored procedure using the InfoBus apis.
The
: executeRetrieval method of the DbAccess object provides the
: functionality. For examples of the use of InfoBus apis take a
: look at the Acme Video sample application in
: samples/acmevideo/CashierApp.jws. The ViewMembersForm.java and
: ViewRentalsForm.java use these apis.
: - PSW
: Nick Papakyriakou (guest) wrote:
: : Hi,
: : I seem to have a peculiar problem which I can not trace it's
: : exact cause. What I am trying to do is to get an InfoBus
: : Data Form to work with Oracle stored procedures.
: : To access the stored procedures I have created the java
: : wrapper class using the pl/sql wizzard, but when I try to
: : get it up and running, I get this panic message:
: : JBO-01100: A Generic exception occurred during Data access
: : Exception: java.sql.SQLException: Error while trying to
: : retrieve text for error ORA-12154
: : What happens is that, in order to instantiate the new java
: : wrapper class, I need to create a Session object, using the
: : following code:
: : public Session session = new Session();
: : and then:
: : session.logon("acs", "acs", "or815");
: : before instantiating the wrapper class using the Session
: object.
: : usr = new package1.USR(session);
: : This does not work! I always get this freak panic message and
: : my InfoBus frame appears blank! If I comment out these lines
: : of code, everything goes just well, and my data appear in the
: : frame, as the should. But I really need to access my stored
: : procedures!!!
: : So, does any one have any idea of what to do? Can I do
: something
: : to get it all working right? I am really quite desperate, and
: : a speedy reply would be much appreciated...
: : Thanking in anticipation,
: : Nick Papakyriakou
null

Similar Messages

  • Problems deploying a simple Infobus Applet

    Hi,
    I am testing the infrastructure required to build an Infobus
    Applet for our Web-based application using the Business Component
    Framework in JDeveloper 3.0.
    I have created a simple project based on the Scott schema, which
    uses the Java Business Object framework to define Entity Objects,
    Views, etc. for the Dept and Emp tables.
    I have then created, using the Wizard, an Infobus Data Form to
    create a master-detail Applet to display Employees within a
    Department based on the above mentioned View Object. This works
    fine when running within JDeveloper3.
    However, when I try to deploy the applet to our Oracle
    Application Server as a simple HTML file and JAR file (not using
    EJB, etc. as we currently only have OAS 4.0.7.1 - waiting for OAS
    4.0.8 to be available for download), the applet fails to start.
    I have installed the Java Plug-in 1.2.2 from Sun as documented as
    I'm using Swing controls.
    After much frustration with the online 'Help', I managed to
    create a deployment profile which included the appropriate
    archives (See Packaging Source and Deployment Files in Help -
    still refers to 'Rules' and 'Sources' pages ala JDeveloper 2 NOT
    3.0).
    Using the Console feature of the Java Plug-in, I was able to see
    the progress of the Applets classes being loaded. It gets to the
    point where it's trying to load the ResTable classes in
    dacf.zip as found in the path:
    oracle\dacf\control\swing\find
    At this point, it just stops and nothing else happens.
    Do I need to explicitly localize my Infobus Applet because I'm in
    the United Kingdom and my PC has that as it's Regional Setting?
    That is, do I need to define a ResTable_en_GB version of this
    class?
    Also, in attempting to create a localized version, I had errors
    with JDeveloper stating that the text for the FIND_HELP_MESSAGE
    exceeds the limit of JDeveloper (meaning that it's too long and I
    needed to replace it with a shorter string). Could this be the
    problem in the first place?
    I have not been able to get the Applet to get beyond this point,
    although I'm still trying the localization to Great Britain.
    I know this is already a LONG email, but here is an extract from
    the Java Console after which nothing else happens:
    CacheHandler file name: null
    Opening
    http://dell_server.wsp.co.uk:4005/oracle/dacf/control/swing/find/
    ResTable_en.properties no proxy
    Opening
    http://dell_server.wsp.co.uk:4005/oracle/dacf/control/swing/find/
    ResTable_en.properties with cookie
    "SITESERVER=ID=8e93834f82ef0710b78e5a4b087d6eed".
    Regards
    Gene Schneider
    null

    Parameter passing in EJB must implement Serializable. One way to solve this is:
    1. Define a new class which implements
    Serializable.
    2. Place whatever you want to pass inside
    this class.
    3. Now use the new class as your parameter.
    eg.
    public class Params implements java.io.Serializable {
    String p1;
    XmlDocmuent xdoc;,
    etc, etc
    Your program now have to use the class Params for parameter passing.
    Hope this helps.
    Tam
    null

  • Infobus Navigator Problem

    Hi All,
    I have a problem with the infobus NavigationBar. I have made a
    template UI frame with the navigationbar attached to it. For all
    my regular forms I am trying to inherit from the templateframe
    and add the other required code. I am making a connection and
    session in the inherited frame and attaching the session info to
    the navigation bar in the parent. When I run the form, I am
    able to query the data. But no button in the navigation bar
    is getting enabled. This is the part of the code
    super.navigationBar.setDataItemName("infobus:/oracle/SessionInfo1
    /rowSetInfo1");
    super.navigationBar.setHasInsertButton(true);
    super.navigationBar.setHasFindButton(true);
    super.navigationBar.setHasNavigationButtons(true);
    super.navigationBar.setHasTransactionButtons(false);
    super.navigationBar.setHasDeleteButton(true);
    super.statusBar.setText(super.navigationBar.getDataItemName());
    As I have disabled transaction buttons they does not appear in
    the navigation bar. The last line gives the positive reply with
    the same DataItemName as set in the first line. But no button in
    the navigation bar is getting enabled. So I cannot navigate using
    the navigationbar.
    Can anyone tell where I am making the mistake?
    Thanks
    --Gopal
    null

    Hi,
    Thanx for the reply. In the meantime I could solve it. Now
    another small issue. The add button on the navigation bar adds a
    new row before the current row. Is there a way to add the row
    after the current row. So that in a data entry application, I can
    bind the down arrow key to the add button, so that the form
    operators can use it easily.
    Thanx once again
    --gopal
    Jdev (guest) wrote:
    : Gopal,
    : It is possible that the rowset to which the nav bar is bound
    has
    : zero rows. Nav bar disables/enables buttons depending on the
    : number of rows the rowset has.
    : Thnx.
    : Gopal (guest) wrote:
    : : Hi All,
    : : I have a problem with the infobus NavigationBar. I have made
    a
    : : template UI frame with the navigationbar attached to it. For
    : all
    : : my regular forms I am trying to inherit from the
    templateframe
    : : and add the other required code. I am making a connection and
    : : session in the inherited frame and attaching the session info
    : to
    : : the navigation bar in the parent. When I run the form, I am
    : : able to query the data. But no button in the navigation bar
    : : is getting enabled. This is the part of the code
    super.navigationBar.setDataItemName("infobus:/oracle/SessionInfo1
    : : /rowSetInfo1");
    : : super.navigationBar.setHasInsertButton(true);
    : : super.navigationBar.setHasFindButton(true);
    : : super.navigationBar.setHasNavigationButtons(true);
    : : super.navigationBar.setHasTransactionButtons(false);
    : : super.navigationBar.setHasDeleteButton(true);
    super.statusBar.setText(super.navigationBar.getDataItemName());
    : : As I have disabled transaction buttons they does not appear
    in
    : : the navigation bar. The last line gives the positive reply
    with
    : : the same DataItemName as set in the first line. But no button
    : in
    : : the navigation bar is getting enabled. So I cannot navigate
    : using
    : : the navigationbar.
    : : Can anyone tell where I am making the mistake?
    : : Thanks
    : : --Gopal
    null

  • Calling infobus form from another.

    Hi
    Here is a brief description of the problem.
    A simple data form is created using JDeveloper2.0's wizard. It is an Infobus based dataframe,which has a simple gridcontrol fetching data from the dept table. This form is in the pacakge,
    package1.
    Another form is made with a master detail relationship between dept and employee table, in the package, package2.
    Now a button control is added on the first form( which is in package1) and the following code is added to the actionperformed event.
    void buttonControl1_actionPerformed(ActionEvent e) {
    Frame f = new package2.Frame1();
    f.show();
    Essentially, it calls the form in package2 when the button is pressed. Once this action is performed, the login dialog box of the form in package2 appears. After which it throws the following error and shows a blank form.
    DAC-405: SessionInfo: Application module creation failed; className: ConnectionTrade
    JBO-00200: A Generic exception occurred during loading Customizations.
    null
    If I add a button in the second form, (ie. the one in pacage2 having a master detail relationship) and call dept form (in package1) from here, it works.
    We are stuck with this problem, and unable to proceed with deploying the application. As each form need to be called and invoked from a menu.
    Thanks in advance.
    Ravi

    Hi,
    You can do like this :
    mainApplication(Menu)
    +------------ Frame1
    |
    +------------ Frame2
    In MainApp you call your frame, and remove from code the
    windowListener of the frame. Replace the dispose(); in frame
    methods fileExit(ActionEvent e) & processWindowEvent(WindowEvent
    e), by try { finalize(); } catch (java.lang.Throwable ex) {
    ex.getMessage(); }
    It works great.
    Bart
    Gopal (guest) wrote:
    : Hi,
    : I am calling an infobus form from another one. Once I close the
    : called form, I want the control to go back to the calling one.
    : I tried dispose in the called form. It doesnot work. (Gives a
    : null pointer exception and crashes everything). Both the frames
    : are extended from infoframe. What is the right way to do this?
    : Thanx,
    : --Gopal
    null

  • No connections in the combo box of Infobus Data Form Wizard?

    I am trying to create a new project but when I try and select a
    connection, the "Connection" drop-down combo-box is empty. I have
    created 9 connections, but cannot select them. I have tried
    adding a new one and editing but still they do not appear.
    Am I doing something stupidly wrong here?
    Any help would be appreciated,
    Thanks,
    Andy Shiels
    null

    JDeveloper Team (guest) wrote:
    : Andy,
    : The Infobus controls can only talk via the Oracle JDBC drivers
    : (thin and OCI only, not Oracle Lite) to an Oracle database
    : (again, not Oracle Lite), so the wizard will only display
    : connections that meet those criteria.
    : If you have created IIOP connections, or connections that use
    a
    : driver other than the Oracle JDBC Thin or OCI drivers
    (including
    : the Oracle Lite JDBC driver), these connections will not
    appear
    : in the list of available connections to use.
    : L
    : Andy Shiels (guest) wrote:
    : : I am trying to create a new project but when I try and
    select a
    : : connection, the "Connection" drop-down combo-box is empty. I
    : have
    : : created 9 connections, but cannot select them. I have tried
    : : adding a new one and editing but still they do not appear.
    : : Am I doing something stupidly wrong here?
    : : Any help would be appreciated,
    : : Thanks,
    : : Andy Shiels
    I have a similar problem using JDBC-ODBC bridge with MS access
    (just for testing JDeveloper). How do I select the connection,
    get pass the step to move on to the next step in the DB Servlet
    wizard? Thanks.
    null

  • 3.2; DAC; ListControl - Problem with rollback

    I have a ListControl used for navigation. The problem arises when I click rollback button on NavigationBar. After this event ListControl stops updating its state according to InfoBus events.
    Is it a bug or what? Did anyone encounter such behaviour? Any suggestions or workarounds?
    Regards,
    Vladimir

    Well, I invented a workaround for my problem, but it brought another one. Now I simply replace the old ListControl with a new one after rollback. However, after just four click on NavigationBar ListControl goes mad! Here are the clicks:
    [list=1]
    [*] Insert
    [*] Rollback (new ListControl created)
    [*] Insert
    [*] Rollback (new mad ListControl created)
    [list]
    Here are the visual effects:
    Initially I see 6 records in ListControl. After corresponding clicks the following happens:
    [list=1]
    [*] Empty row inserted on the top of list. Other rows shifted down.
    [*] Empty row deleted. Other rows shifted up.
    [*] Empty row inserted on the top of list. Other rows shifted down.
    [*] Last row deleted. Other rows don't move.
    [list]
    Next if I try to navigate the rowset ListControl is repainted after each move. Sometimes, first five rows are shifted down and the last one disappears. All in all it looks extremely confusing to user.
    So the questions remain the same:
    Is it a bug or what? Did anyone encounter such behaviour? Any suggestions or workarounds?
    null

  • Control problem

    I create a swf by Flash locally which point to a flv in a
    remote flash media server, FLVplayback component included, it work
    fine locally. Uploaded to FMS3, played without the control problem,
    such as Play/Pause, seek bar.
    Is it something I need to configure in FMS, or in Flash.
    Please advice.
    Thanks!

    Between version 1.0 and 2.0 the API in the JBCL controls has
    changed. We are actually moving away from JBCL completely (please
    do send feedback if you have a comment on that) to a Swing and
    Infobus standard based library of visual JavaBeans.
    You will still be able to use the JBCL controls in JDeveloper
    2.0. The best thing to do is to take your 1.x based application
    AND the 1.x based JBCL.ZIP file into your new environment. This
    way you will be able to continue to use these apps and
    components. Taking the 1.x JBCL.ZIP file will make sure you have
    the same version of the JBCL library that you were used to in
    version 1.x.
    Hope this help,
    -Roel.
    Hans Duijn (guest) wrote:
    : Hi,
    : I developed an applet in v1 that worked fine. I tried to
    rebuild
    : the applet in v2 but some problems occured. One, The
    : ChoiceControl populated with the method
    : 'ChoiceControl1.setItems' but in v2, this does not work till a
    : explicitly called 'queryDataset.open'. Is the way to do it or
    do
    : I have to use special properties for the
    dataset...and...second,
    : I'm using an listControl that, in response to a selected item
    in
    : the ChoiceControl, changes frequently. No new list appears till
    : I update the applet the hard way (hide it and bring it to
    front)
    : or click the mouse on the hidden items. 'listControl.repaint()'
    : has no result. Am I doing something wrong? It worked in v1...
    : and third...when can we expect the final version 2?
    : Thanx.
    null

  • Problems starting with the BeanBox

    Hi all,
    I have to create a couple of beans so I start reading a litle bit about it.
    Following the Sun J2 book I sart downloading the BDK that includes the BeanBox. When I try to run it I get the following error(see below). Hope somebody can help me.
    Cheers,
    Bobby.
    E:\j2sdk1.4.2\beans\beanbox>run
    E:\j2sdk1.4.2\beans\beanbox>if "Windows_NT" == "Windows_NT" setlocal
    E:\j2sdk1.4.2\beans\beanbox>set CLASSPATH=classes;..\lib\methodtracer.jar;..\infobus.jar
    E:\j2sdk1.4.2\beans\beanbox>java sun.beanbox.BeanBoxFrame
    E:\j2sdk1.4.2\beans\jars\buttons.jar: jar load failed: java.lang.Error: java.beans.IntrospectionException
    : Method "actionPerformed" should have argument "ActionPerformedEvent"
    java.lang.Error: java.beans.IntrospectionException: Method "actionPerformed" should have argument "Action
    PerformedEvent"
    at sunw.demo.buttons.ExplicitButtonBeanInfo.getEventSetDescriptors(ExplicitButtonBeanInfo.java:60
    at java.beans.Introspector.getTargetEventInfo(Unknown Source)
    at java.beans.Introspector.getBeanInfo(Unknown Source)
    at java.beans.Introspector.getBeanInfo(Unknown Source)
    at sun.beanbox.JarInfo.<init>(JarInfo.java:66)
    at sun.beanbox.JarLoader.createJarInfo(JarLoader.java:292)
    at sun.beanbox.JarLoader.loadJar(JarLoader.java:197)
    at sun.beanbox.JarLoader.loadJarDoOnBean(JarLoader.java:207)
    at sun.beanbox.ToolBoxPanel.addBeansInJar(ToolBox.java:175)
    at sun.beanbox.ToolBoxPanel.<init>(ToolBox.java:105)
    at sun.beanbox.ToolBoxScrollPane.<init>(ToolBox.java:69)
    at sun.beanbox.ToolBox.<init>(ToolBox.java:28)
    at sun.beanbox.BeanBoxFrame.<init>(BeanBoxFrame.java:124)
    at sun.beanbox.BeanBoxFrame.main(BeanBoxFrame.java:91)

    This problem is explained in the "JavaBeans FAQ: Help with Common Problems" at java.sun.com. Look at http://java.sun.com/products/javabeans/faq/faq.help.html. I have reposted the reply here for your convience.
    /Rich\
    There were some changes made to the Introspector in order for EventSets created by the Intospector to conform to the JavaBeans specification. See bugs 4402159 and 4407239 for details. Unfortunately, the ExplicitButtonBeanInfo class that shipped with the BDK do not conform to the JavaBeans specification and are rejected. This is not as bad as it seems. Other than the exeption being thrown at startup and the failure to load the buttons.jar file, the rest of the BeanBox will work fine.
    As a work around, you may want to go into the sunw.demo.buttons.ExplicitBeanInfo.getEventSetDescriptors() source file, change the first actionPerformed string in the first EventSetDescriptor to be action and recompile the class. The source file for the demo beans used in the BeanBox is in <BDK_INSTALL_DIR>demo\sunw\demo\buttons\ExplicitButtonBeanInfo.java. At around line 47, change:
    EventSetDescriptor push = new EventSetDescriptor(beanClass,
    "actionPerformed",
    java.awt.event.ActionListener.class,
    "actionPerformed");
    to:
    EventSetDescriptor push = new EventSetDescriptor(beanClass,
    "action",
    java.awt.event.ActionListener.class,
    "actionPerformed");

  • Dynamic Table setup (Infobus)

    Hi,
    I will first describe my environment application and then the problem.
    I want to create an Infobus GridControl, without using the designer. To setup the Rowsetinfo to which the GridControl will be bound, I perform a "select * from TABLE", using a normal JDBC coneection and looking into the metadata. Thus I have the names and types of all attributes. Next I build an array of ColumnInfo objects, in which each object is an AttributeInfo, with the name and type previously obtained, and finally I use the Rowsetinfo.setAttributeInfo().
    The next step is RowsetInfo.setQueryInfo(), in which I'm not sure if the parameters (AppModule and so on) are completely right, but it works.
    Finally I publish the session, and my grid gets populated with the data. Perfect, isn't it?
    My problem starts when I want to insert or delete a row. I can navigate, but not modify, and I get the error: JBO 01206: ViewDefImpl is Read only". How can I avoid this, and be able to insert a row? Deep inside the RowsetInfo, there is a member, mReadOnly, which belongs to another object of class ViewDefImpl, that is set to true. If I build the app using the designer, this property is false, but I do not know how to change it. Any ideas or workarounds will be much appreciated. if you need more information, please contact me.
    By the way, where can I get more in-deep information about InfoSwing components?
    Thank you very much
    Alberto
    null

    Your question is too general. Please refer to the documentation.
    Regards,
    Robin Zimmermann
    Forms Product Management

  • Deployment Problems

    I developed an InfoBus Java Applet using JDeveloper 3.0, created and deployed the JAR file(using the deployment wizard and help file instructions), made the necessary changes to my html file, and I get this error during execution(appears on the status bar of the web browser):"Start: Applet not initialized". This occurs as the applet is attempting load in a web browser(IE). The code is fine in my .java and .class files. I have no problems with such an error while executing in JDeveloper. Any suggestions as to where the problem lies?

    Avrom,
    I downloaded the patch and followed the instructions once again and now I get this error message:
    java.io.NotSerializableException: oracle.dacf.control.ControlSupport
    at java.io.ObjectOutputStream.outputObject(Unknown Source)
    at java.io.ObjectOutputStream.writeObject(Unknown Source)
    at java.io.ObjectOutputStream.outputClassFields(Unknown Source)
    at java.io.ObjectOutputStream.defaultWriteObject(Unknown Source)
    at java.io.ObjectOutputStream.outputObject(Unknown Source)
    at java.io.ObjectOutputStream.writeObject(Unknown Source)
    at java.io.ObjectOutputStream.outputArray(Unknown Source)
    at java.io.ObjectOutputStream.checkSubstitutableSpecialClasses(Unknown Source)
    at java.io.ObjectOutputStream.writeObject(Unknown Source)
    at java.io.ObjectOutputStream.outputClassFields(Unknown Source)
    at java.io.ObjectOutputStream.defaultWriteObject(Unknown Source)
    at java.awt.Container.writeObject(Unknown Source)
    at java.lang.reflect.Method.invoke(Native Method)
    at java.io.ObjectOutputStream.invokeObjectWriter(Unknown Source)
    at java.io.ObjectOutputStream.outputObject(Unknown Source)
    at java.io.ObjectOutputStream.writeObject(Unknown Source)
    at java.io.ObjectOutputStream.outputArray(Unknown Source)
    at java.io.ObjectOutputStream.checkSubstitutableSpecialClasses(Unknown Source)
    at java.io.ObjectOutputStream.writeObject(Unknown Source)
    at java.io.ObjectOutputStream.outputClassFields(Unknown Source)
    at java.io.ObjectOutputStream.defaultWriteObject(Unknown Source)
    at java.awt.Container.writeObject(Unknown Source)
    at java.lang.reflect.Method.invoke(Native Method)
    at java.io.ObjectOutputStream.invokeObjectWriter(Unknown Source)
    at java.io.ObjectOutputStream.outputObject(Unknown Source)
    at java.io.ObjectOutputStream.writeObject(Unknown Source)
    at java.io.ObjectOutputStream.outputArray(Unknown Source)
    at java.io.ObjectOutputStream.checkSubstitutableSpecialClasses(Unknown Source)
    at java.io.ObjectOutputStream.writeObject(Unknown Source)
    at java.io.ObjectOutputStream.outputClassFields(Unknown Source)
    at java.io.ObjectOutputStream.defaultWriteObject(Unknown Source)
    at java.awt.Container.writeObject(Unknown Source)
    at java.lang.reflect.Method.invoke(Native Method)
    at java.io.ObjectOutputStream.invokeObjectWriter(Unknown Source)
    at java.io.ObjectOutputStream.outputObject(Unknown Source)
    at java.io.ObjectOutputStream.writeObject(Unknown Source)
    at java.io.ObjectOutputStream.outputArray(Unknown Source)
    at java.io.ObjectOutputStream.checkSubstitutableSpecialClasses(Unknown Source)
    at java.io.ObjectOutputStream.writeObject(Unknown Source)
    at java.io.ObjectOutputStream.outputClassFields(Unknown Source)
    at java.io.ObjectOutputStream.defaultWriteObject(Unknown Source)
    at java.awt.Container.writeObject(Unknown Source)
    at java.lang.reflect.Method.invoke(Native Method)
    at java.io.ObjectOutputStream.invokeObjectWriter(Unknown Source)
    at java.io.ObjectOutputStream.outputObject(Unknown Source)
    at java.io.ObjectOutputStream.writeObject(Unknown Source)
    at java.io.ObjectOutputStream.outputArray(Unknown Source)
    at java.io.ObjectOutputStream.checkSubstitutableSpecialClasses(Unknown Source)
    at java.io.ObjectOutputStream.writeObject(Unknown Source)
    at java.io.ObjectOutputStream.outputClassFields(Unknown Source)
    at java.io.ObjectOutputStream.defaultWriteObject(Unknown Source)
    at java.awt.Container.writeObject(Unknown Source)
    at java.lang.reflect.Method.invoke(Native Method)
    at java.io.ObjectOutputStream.invokeObjectWriter(Unknown Source)
    at java.io.ObjectOutputStream.outputObject(Unknown Source)
    at java.io.ObjectOutputStream.writeObject(Unknown Source)
    at sun.beans.ole.OleBeanInterface.saveBean(Unknown Source)
    I deployed only the project files as a jar and copied the required jar and zip files to my deployment directory as directed. I made the changes to the <PARAM NAME = java_ARCHIVE VALUE tag in my html file and also copied it to my deployment directory. Is there something else I am missing? Is there something else other than the guidelines in the help files that I should be looking at? Thanks
    null

  • Infobus applet and temporary files

    Hi,
    I have made an infobus applet and deploy it with the OAS407.
    Now I have seen, that each time I load the applet from the
    OAS407 the applet create 15 files in my temp-folder with the
    prefix jar_cache (for example: jar_cache40989.tmp).
    There is no problem with creating but there is a problem with
    deleting because there is no mechanism for automatic deleting.
    So I have to delete these files manually but I think that this
    is unuseable for end-user.
    Does anybody know how to bypass this problem ?
    Thanks.
    Nils
    null

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Nils Buering ([email protected]):
    I ran into the same problem when I built an applet that uses DAC and runs the app module in the downloaded applet. The Java plugin 1.2.2 is creating these files in TEMP and these files are equal in size to the support jar and zip files downloaded to the browser. You can easily verify this by comparing file sizes (use the Properties facility when you right click a Windows file sname to see its exact size in bytes). The plugin does not delete these files when you exit the browser and thus re-creates them every time you restart the browser and access the applet from the web server potentially filling the user's disk.
    SUN has fixed this problem with the 1.3 plugin. Ater downloading and installing the 1.3 plugin, you must edit the applet's HTML file to add two new PARAM options: "cache_option" and "cache_archive". See http://java.sun.com/j2se/1.3/docs/guide/misc/appletcaching.html for instructions (a document titled "Applet caching in Java Plug-in") on doing this. This basically tells the plugin to use its own caching, instead of the browser's and doing this, the jar files created in the user's TEMP directory are deleted when you kill the browser.
    However, since Jdeveloper is not certified with Java 2 v1.3, I ran into problems with code that works under the 1.2.2 plugin. The applet no longer runs once its been downloaded: I get a permissions error in jbo.logging.show and jbo.logging.trace; to wit: (java.lang.ExceptionInInitializerError: java.security.AccessControlException: access denied (java.sql.SQLPermission setLog). So switching to the 1.3 plugin will fix the buildup of jar files in TEMP problem; but your applets may no longer work! Best to wait until Jdeveloper is certified with 1.3 then you can run the 1.3 plugin successfully.
    Hi,
    I have made an infobus applet and deploy it with the OAS407.
    Now I have seen, that each time I load the applet from the
    OAS407 the applet create 15 files in my temp-folder with the
    prefix jar_cache (for example: jar_cache40989.tmp).
    There is no problem with creating but there is a problem with
    deleting because there is no mechanism for automatic deleting.
    So I have to delete these files manually but I think that this
    is unuseable for end-user.
    Does anybody know how to bypass this problem ?
    Thanks.
    Nils<HR></BLOCKQUOTE>
    null

  • Problems Deploying JBO to 8i

    Hi JDev team, first of all, JDev3 is the best and more usable
    java devlopment environment very very impressed with all of it...
    But trying to follow the Infobus data Form tutorial based on BC4J
    and trying to make de BC4J tier remotable as Cobar object into
    8i, all the jobs stated into the tutorial runs smoothly without
    any complains or warnings, but when i run the infobus dataform it
    gives me the following error after login dialog :
    --------------------------------------------------------cut here
    oracle.jbo.client.remote.corba.aurora.AuroraInitialContext
    javax.naming.NamingException:
    oracle.jbo.client.remote.corba.aurora.AuroraInitialContext
    at
    oracle.jbo.common.JboInitialContextFactory.getInitialContext(Comp
    iled Code)
    at
    javax.naming.spi.NamingManager.getInitialContext(Compiled Code)
    at javax.naming.InitialContext.getDefaultInitCtx(Compiled
    Code)
    at javax.naming.InitialContext.<init>(Compiled Code)
    at
    oracle.dacf.dataset.SessionInfo._createAppModule(Compiled Code)
    at oracle.dacf.dataset.SessionInfo.connect(Compiled Code)
    at oracle.dacf.dataset.DbAccessImpl.connect(Compiled
    Code)
    at
    oracle.dacf.control.swing.LoginDlg._connectToDB(Compiled Code)
    at
    oracle.dacf.control.swing.LoginDlg._okButtonClicked(Compiled
    Code)
    at
    oracle.dacf.control.swing.LoginDlg.actionPerformed(Compiled Code)
    at
    javax.swing.AbstractButton.fireActionPerformed(Compiled Code)
    at
    javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Co
    mpiled Code)
    at
    javax.swing.DefaultButtonModel.fireActionPerformed(Compiled Code)
    at javax.swing.DefaultButtonModel.setPressed(Compiled
    Code)
    at
    javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Compiled
    Code)
    at java.awt.Component.processMouseEvent(Compiled Code)
    at java.awt.Component.processEvent(Compiled Code)
    at java.awt.Container.processEvent(Compiled Code)
    at java.awt.Component.dispatchEventImpl(Compiled Code)
    at java.awt.Container.dispatchEventImpl(Compiled Code)
    at java.awt.Component.dispatchEvent(Compiled Code)
    at
    java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:
    1841)
    at
    java.awt.LightweightDispatcher.processMouseEvent(Container.java:1
    630)
    at
    java.awt.LightweightDispatcher.dispatchEvent(Container.java:1531)
    at java.awt.Container.dispatchEventImpl(Compiled Code)
    at java.awt.Window.dispatchEventImpl(Compiled Code)
    at java.awt.Component.dispatchEvent(Compiled Code)
    at
    java.awt.EventDispatchThread.run(EventDispatchThread.java:79)
    oracle.dacf.control.LoginFailureException: The login did not
    succeed - aborting.
    at demos.infobusapp.Frame1.<init>(Compiled Code)
    at demos.infobusapp.Application1.<init>(Compiled Code)
    at demos.infobusapp.Application1.main(Compiled Code)
    ------------------------------------------------------- Cut here
    any idea
    Regards Nacho
    null

    Try connecting from a standalone client to isolate the problem.
    If you have deployed the AppModule as a CORBA Server Object in
    8i then:
    1. File|New Empty Project
    2. Project|Properties ... Add JBO 8i Client and JBO 8i Runtime
    libraries.
    3. Add this file to your project(change the connection details
    and also add the appropriate AppModule name, View name and
    Attribute names.
    import java.lang.*;
    import oracle.jbo.*;
    import oracle.jbo.JboContext;
    import java.util.Hashtable;
    import javax.naming.*;
    This project properties should include:
    JBO Runtime 8i and JBO Client 8i
    public class BC4J_8iCorba_Test extends Object {
    static Hashtable env = new Hashtable(10);
    public static void main(String[] args) {
    // set up variables for environment settings
    // Modify these setting for server and schema where deployed
    String User = new String("last");
    String Password = new String("last");
    String HostName = new String("815.us.oracle.com");
    String ConSid = new String("ORCL");
    String DeployedMod = new String("package12.Package12Module");
    //IIOP Port MUST BE A STRING!!!!!!!!!!
    String ConPort = new String("2481");
    String ApplicationPath = new String("test/last");
    String Conn = new String("jdbc:oracle:kprb:");
    try {
    // set variables in hashtable to be used as the environment
    env.put(Context.INITIAL_CONTEXT_FACTORY,
    JboContext.JBO_CONTEXT_FACTORY);
    env.put(Context.SECURITY_PRINCIPAL, User);
    env.put(Context.SECURITY_CREDENTIALS, Password);
    // only difference other than libraries from 8i EJB
    env.put(JboContext.DEPLOY_PLATFORM,
    JboContext.PLATFORM_ORACLE8I);
    env.put(JboContext.APPLICATION_PATH, ApplicationPath);
    env.put(JboContext.HOST_NAME, HostName);
    env.put(JboContext.CONNECTION_PORT, ConPort);
    env.put(JboContext.ORACLE_SID, ConSid);
    // setup application module variable
    ApplicationModule appMod = null;
    javax.naming.Context ic = new InitialContext(env);
    ApplicationModuleHome home = (ApplicationModuleHome)
    ic.lookup(DeployedMod);
    appMod = home.create();
    //connect application module
    appMod.getTransaction().connect(Conn);
    /* At this point you have the application module connected, now
    do what you want
    here. This example just iterates through the dept table and
    prints each row */
    ViewObject deptVo = appMod.findViewObject("DeptView");
    Row r = deptVo.first();
    do{
    System.out.println(r.getAttribute("Name")+" "+
    r.getAttribute("Status") +" "+
    r.getAttribute("WebSite"));
    r = deptVo.next();
    }while( deptVo.getCurrentRowSlot()!=
    deptVo.SLOT_BEYOND_LAST );
    catch(Exception Oops) {
    Oops.printStackTrace();
    System.out.println(Oops.getMessage());
    Ignacio Ortega (guest) wrote:
    : Hi JDev team, first of all, JDev3 is the best and more usable
    : java devlopment environment very very impressed with all of
    it...
    : But trying to follow the Infobus data Form tutorial based on
    BC4J
    : and trying to make de BC4J tier remotable as Cobar object into
    : 8i, all the jobs stated into the tutorial runs smoothly
    without
    : any complains or warnings, but when i run the infobus dataform
    it
    : gives me the following error after login dialog :
    : --------------------------------------------------------cut
    here
    : oracle.jbo.client.remote.corba.aurora.AuroraInitialContext
    : javax.naming.NamingException:
    : oracle.jbo.client.remote.corba.aurora.AuroraInitialContext
    : at
    : oracle.jbo.common.JboInitialContextFactory.getInitialContext
    (Comp
    : iled Code)
    : at
    : javax.naming.spi.NamingManager.getInitialContext(Compiled Code)
    : at javax.naming.InitialContext.getDefaultInitCtx
    (Compiled
    : Code)
    : at javax.naming.InitialContext.<init>(Compiled Code)
    : at
    : oracle.dacf.dataset.SessionInfo._createAppModule(Compiled Code)
    : at oracle.dacf.dataset.SessionInfo.connect(Compiled Code)
    : at oracle.dacf.dataset.DbAccessImpl.connect(Compiled
    : Code)
    : at
    : oracle.dacf.control.swing.LoginDlg._connectToDB(Compiled Code)
    : at
    : oracle.dacf.control.swing.LoginDlg._okButtonClicked(Compiled
    : Code)
    : at
    : oracle.dacf.control.swing.LoginDlg.actionPerformed(Compiled
    Code)
    : at
    : javax.swing.AbstractButton.fireActionPerformed(Compiled Code)
    : at
    : javax.swing.AbstractButton$ForwardActionEvents.actionPerformed
    (Co
    : mpiled Code)
    : at
    : javax.swing.DefaultButtonModel.fireActionPerformed(Compiled
    Code)
    : at javax.swing.DefaultButtonModel.setPressed(Compiled
    : Code)
    : at
    : javax.swing.plaf.basic.BasicButtonListener.mouseReleased
    (Compiled
    : Code)
    : at java.awt.Component.processMouseEvent(Compiled Code)
    : at java.awt.Component.processEvent(Compiled Code)
    : at java.awt.Container.processEvent(Compiled Code)
    : at java.awt.Component.dispatchEventImpl(Compiled Code)
    : at java.awt.Container.dispatchEventImpl(Compiled Code)
    : at java.awt.Component.dispatchEvent(Compiled Code)
    : at
    : java.awt.LightweightDispatcher.retargetMouseEvent
    (Container.java:
    : 1841)
    : at
    : java.awt.LightweightDispatcher.processMouseEvent
    (Container.java:1
    : 630)
    : at
    : java.awt.LightweightDispatcher.dispatchEvent
    (Container.java:1531)
    : at java.awt.Container.dispatchEventImpl(Compiled Code)
    : at java.awt.Window.dispatchEventImpl(Compiled Code)
    : at java.awt.Component.dispatchEvent(Compiled Code)
    : at
    : java.awt.EventDispatchThread.run(EventDispatchThread.java:79)
    : oracle.dacf.control.LoginFailureException: The login did not
    : succeed - aborting.
    : at demos.infobusapp.Frame1.<init>(Compiled Code)
    : at demos.infobusapp.Application1.<init>(Compiled Code)
    : at demos.infobusapp.Application1.main(Compiled Code)
    : ------------------------------------------------------- Cut
    here
    : any idea
    : Regards Nacho
    null

  • Infobus with JBO

    I've created a couple of JBO views and a link between them. Then I used a wizard to generate an Infobus panel which displays the master/detail query that results from the JBO views.
    The problem occurs when I try to insert a new row into the detail query. An error message informs me that the data item to which the controls on the pane are bound does not implement the void newRow() method of the RowsetAccess interface.
    The data aware controls (grids and navigation bars) on the pane are bound to their data items through a setDataItemName("infobus:/infobusName/sessionName/JBOViewName") call.
    I may have been naive but I expected the resulting items to be instances of my subclasses of jbo.ViewObjectImpl or jbo.ViewRowImpl, as they are published in the deployed JBO Application Module.
    But when I checked
    dataGrid.getDataItem().getClass().getName()
    it turned out it is of class
    oracle.dacf.dataset.RowsetAccessImpl
    can anyone tell me what to do? i just want to be able to insert a row, without having to write tons of code.
    thank you

    Stefanov,
    If you generated your form with the wizard, it should write all the code for you. Here are a few things to check.
    In your Business Components project, check your Application Module's data model. It should contain something like the following in the Data Model tree:
    masterView
    detailView via viewLink
    In other words, your detail table should be listed as a subnode of the master table rather than at the same level as the master table.
    Second, try running the App Module tester (right mouse on the App Module and select Test, connect to the database, then double-click on the link name under the ViewLinkMembers node. Try to do an insert in the tester.
    Did you create one view object which does a join of these two tables, and then use the single-table option in the Infobus wizard? If so, when you do a join of multiple tables in a ViewObject, only the first is listed as updateable. All others are Read Only (by default). Edit the ViewObject, and on the EntityObject page, uncheck the Read Only and Reference checkboxes for the detail Entity.
    Laura

  • JBCL vs infobus?

    Both JBCL (Borland's Java Bean Component Library) and Oracle's
    implementation of Java infobus standard are shipped with
    JDeveloper2.0. They both support data exchange between java
    components and the database application. Can anybody tell me
    what's the consideration of choosing one over another, what is
    the difference between these two class libraries?
    I have a client/server database application using java
    application, should I choose JBCL or SWING + Oracle's dacf,
    which is an infobus implementation? Is there any comment on
    JBCL?
    null

    Thank you for your response.
    My 2 cents:
    1, It's really frustrated for my other postings not getting any
    feedback from Oracle support team. I see so many questions posted
    w/o any answer.
    2, JBCL is pretty immature. Many controls don't work the way
    you expected them to work. And its design has determined its slow
    performance.
    shaomei
    Martin (guest) wrote:
    : We tried to work with the infobus and abandoned it after a
    while;
    : perhaps it is our fault, but we were not able to fill any
    : datasets directly from java (i.e. not from dacf.controls).
    : We need this feature to beat the performance problem.
    : Both JBCL and INFOBUS components seem to be awfully slow
    : ( a form with two datasets, rowsets needs 5 -10 secs to open).
    : Undoubtly INFOBUS is the future, but for us the oracle
    : implementation needs to be augmented; at least we need direct
    : access to rowsets (the rowsetinfo is not enough);
    : I think we have to wait for a later release to use infobus; we
    : are now working with jbcl components and are eager to see the
    : just released JBuilder 3 with the modern swing (javax)
    : components. Perhaps it will be somewhat faster with the
    : jdatastore.
    : martin
    : Shaomei Ruan (guest) wrote:
    : : Both JBCL (Borland's Java Bean Component Library) and Oracle's
    : : implementation of Java infobus standard are shipped with
    : : JDeveloper2.0. They both support data exchange between java
    : : components and the database application. Can anybody tell me
    : : what's the consideration of choosing one over another, what is
    : : the difference between these two class libraries?
    : : I have a client/server database application using java
    : : application, should I choose JBCL or SWING + Oracle's dacf,
    : : which is an infobus implementation? Is there any comment on
    : : JBCL?
    null

  • GridControl and TableModel problems

    Hi friends,
    I am using JDev 3 and the GridControl. I do not want and I do not
    need to use the InfoBus do bound data to the Grid. I am trying to
    use the property SetModel referring to a TableModel component.
    My problem is that I could't understand yet the funcionality of
    the method AbstractTableModel. The piece of my code is down here:
    TableModel dataModel = new AbstractTableModel()
    { public int getColumnCount() { return 10; }
    public int getRowCount() { return 20; }
    public Object getValueAt(int row, int col) { return new
    Integer(row*col); }
    My question: how can I implement the return of GetValueAt to
    atach data from a array, for example? Where can I get some
    examples about that?
    Thank You.
    null

    Raphael,
    I would check out the javasoft web pages for generic Infobus and
    Swing information:
    http://java.sun.com/infobus
    Laura
    Raphael Roale (guest) wrote:
    : Hi friends,
    : I am using JDev 3 and the GridControl. I do not want and I do
    not
    : need to use the InfoBus do bound data to the Grid. I am trying
    to
    : use the property SetModel referring to a TableModel component.
    : My problem is that I could't understand yet the funcionality of
    : the method AbstractTableModel. The piece of my code is down
    here:
    : TableModel dataModel = new AbstractTableModel()
    : { public int getColumnCount() { return 10; }
    : public int getRowCount() { return 20; }
    : public Object getValueAt(int row, int col) { return new
    : Integer(row*col); }
    : My question: how can I implement the return of GetValueAt to
    : atach data from a array, for example? Where can I get some
    : examples about that?
    : Thank You.
    null

Maybe you are looking for

  • My HP Color LaserJet CP1518ni printer re-configures every time I initiate a print demand.

    Every single time I initiate a print job, this printer re-configures. I can have ten different pages that I want to print and regardless of the amount of time it takes me to set up the next page. this maching re-configures before printing the next pa

  • Problem in Script Perform

    Hi, I have to add 3 values for this i have written a perform in text element of main window as follows. /: DEFINE &DO_TOT& := '0'. /: PERFORM DO_TOTAL IN PROGRAM Z_1IEXCP_OUTPUT /: USING &J_1IEXCHDR-EXBED& /: USING &J_1IEXCHDR-ECS& /: USING &J_1IEXCH

  • Dashed line around iCal appointment

    I have seen this posted in several areas but no solution to be found as of yet.  SOMETIMES when I create an appointment in iCal, I get a clear background with a white dotted line around the appointment. Each time I create an appointment, I invite my

  • Deploying Analyzer 7.0.1 on Weblogic 8.1

    After successfully installing the software, I logged in to the Weblogic console and tried to deploy the new application. I set the location to C:\Hyperion\Analyzer\Analyzer70.ear. I get the confirm page stating the application will be deployed to the

  • Final Cut and OS X Yosemite

    Some of my softwares does´t open anymore, because installing Java runtime environment is required. I´ve done the installation twice - with the system rspond: Success. Why does this question - requiring the same installation appear constantly? Final c