Business Components Exception

Hi,
Version: JDeveloper 10.1.3.3
Problem: Trying to "Apply" changes to a Data Model component.
Expected Behaviour: Views added or removed from a Data Model module should be accepted and saved.
Actual Behaviour: Dialog appears with the following error message: Save Error. Copy operation failed. 49
The dialog includes the following stack trace:
java.lang.ArrayIndexOutOfBoundsException: 49
     at oracle.jbo.dt.objects.JboBaseChangeMulticaster.find(JboBaseObject.java:3958)
     at oracle.jbo.dt.objects.JboBaseChangeMulticaster.remove(JboBaseObject.java:4008)
     at oracle.jbo.dt.objects.JboBaseObject.removeJboChangeListener(JboBaseObject.java:438)
     at oracle.jbo.dt.objects.JboObjectReference.removeJboChangeListener(JboObjectReference.java:259)
     at oracle.jbo.dt.objects.JboAppModule.removeListListeners(JboAppModule.java:4487)
     at oracle.jbo.dt.objects.JboAppModule.removeListeners(JboAppModule.java:4464)
     at oracle.jbo.dt.objects.JboAppModule.readChildren(JboAppModule.java:2379)
     at oracle.jbo.dt.objects.JboNamedObject.loadFromXMLFile(JboNamedObject.java:586)
     at oracle.jbo.dt.objects.JboBaseObject.loadFromXMLFile(JboBaseObject.java:2744)
     at oracle.jbo.dt.objects.CloneService.copyObject(CloneService.java:117)
     at oracle.jbo.dt.objects.JboNamedObject.copyToThis(JboNamedObject.java:571)
     at oracle.jbo.dt.ui.main.DtuUtil.copyObject(DtuUtil.java:721)
     at oracle.jbo.dt.ui.module.AMWizard.finishAction(AMWizard.java:185)
     at oracle.jbo.dt.ui.main.dlg.DtuWizard.doApplyAction(DtuWizard.java:1003)
     at oracle.jbo.dt.ui.main.dlg.DtuWizard.applyAction(DtuWizard.java:967)
     at oracle.jbo.dt.ui.main.dlg.DtjMddWizardDialog.actionPerformed(DtuWizard.java:2390)
     at oracle.bali.ewt.dialog.JEWTDialog.processActionEvent(Unknown Source)
     at oracle.bali.ewt.dialog.JEWTDialog.processEvent(Unknown Source)
     at oracle.bali.ewt.dialog.JEWTDialog$UIListener.actionPerformed(Unknown Source)
     at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
     at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
     at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
     at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
     at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:234)
     at java.awt.Component.processMouseEvent(Component.java:5488)
     at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
     at java.awt.Component.processEvent(Component.java:5253)
     at java.awt.Container.processEvent(Container.java:1966)
     at java.awt.Component.dispatchEventImpl(Component.java:3955)
     at java.awt.Container.dispatchEventImpl(Container.java:2024)
     at java.awt.Component.dispatchEvent(Component.java:3803)
     at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
     at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
     at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
     at java.awt.Container.dispatchEventImpl(Container.java:2010)
     at java.awt.Window.dispatchEventImpl(Window.java:1774)
     at java.awt.Component.dispatchEvent(Component.java:3803)
     at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
     at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
     at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
     at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:153)
     at java.awt.Dialog$1.run(Dialog.java:515)
     at java.awt.Dialog.show(Dialog.java:536)
     at java.awt.Component.show(Component.java:1300)
     at java.awt.Component.setVisible(Component.java:1253)
     at oracle.jbo.dt.ui.main.dlg.DtjDialog.setVisible(DtjDialog.java:137)
     at oracle.jbo.dt.ui.main.dlg.DtjMddWizardDialog.setVisible(DtuWizard.java:2376)
     at oracle.bali.ewt.dialog.JEWTDialog.runDialog(Unknown Source)
     at oracle.bali.ewt.dialog.JEWTDialog.runDialog(Unknown Source)
     at oracle.jbo.dt.ui.main.dlg.DtjDialog.showDialog(DtjDialog.java:115)
     at oracle.jbo.dt.ui.main.dlg.DtjMddWizardDialog.showDialog(DtuWizard.java:2315)
     at oracle.jbo.dt.ui.main.dlg.DtuWizard.createMddWizard(DtuWizard.java:500)
     at oracle.jbo.dt.ui.main.dlg.DtuWizard.setVisible(DtuWizard.java:321)
     at oracle.jbo.dt.ui.main.dlg.DtuWizard.showDialog(DtuWizard.java:299)
     at oracle.jbo.dt.jdevx.ui.JdxMenuManager.invokeAMWizard(JdxMenuManager.java:1200)
     at oracle.jbo.dt.jdevx.ui.JdxMenuManager.invokeAppModuleWizard(JdxMenuManager.java:1187)
     at oracle.jbo.dt.ui.main.DtuMenuManager.doEditMenuAction(DtuMenuManager.java:1422)
     at oracle.jbo.dt.jdevx.ui.JdxMenuManager.handleDefaultAction(JdxMenuManager.java:407)
     at oracle.ide.controller.ContextMenu.fireDefaultAction(ContextMenu.java:343)
     at oracle.ideimpl.explorer.BaseTreeExplorer.fireDefaultAction(BaseTreeExplorer.java:1576)
     at oracle.ideimpl.explorer.BaseTreeExplorer.dblClicked(BaseTreeExplorer.java:1913)
     at oracle.ideimpl.explorer.BaseTreeExplorer.mouseReleased(BaseTreeExplorer.java:1934)
     at oracle.ideimpl.explorer.CustomTree.processMouseEvent(CustomTree.java:176)
     at java.awt.Component.processEvent(Component.java:5253)
     at java.awt.Container.processEvent(Container.java:1966)
     at java.awt.Component.dispatchEventImpl(Component.java:3955)
     at java.awt.Container.dispatchEventImpl(Container.java:2024)
     at java.awt.Component.dispatchEvent(Component.java:3803)
     at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
     at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
     at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
     at java.awt.Container.dispatchEventImpl(Container.java:2010)
     at java.awt.Window.dispatchEventImpl(Window.java:1774)
     at java.awt.Component.dispatchEvent(Component.java:3803)
     at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
     at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
     at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
     at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

Hi,
Looks like when I refactored one of the views (from "EmployeeSearchByName" to "Employee"), JDeveloper added the following code to the corresponding module's XML:
   <ViewUsage
      Name="Employee"
      ViewObjectName="Employee" >
   </ViewUsage>The old EmployeeSearchByName was still listed in the file. I removed that. I also updated the above element to:
   <ViewUsage
     Name="Employee"
     ViewObjectName="com.bcferries.apps.timecollection.model.views.Employee" >
   </ViewUsage>Now the error no longer appears.

Similar Messages

  • Intermittent bug: Business Components from Tables wizard exception

    Hi JDev team
    Just to flag an exception I periodically get in JDev 11g TP with the Business Components from Tables wizard, once I've pressed Finish in the wizard:
    java.lang.NullPointerException
         at oracle.jbo.dt.ui.pkg.PKEntityThread.createRelatedViewLinks(PKEntityThread.java:1085)
         at oracle.jbo.dt.ui.pkg.PKEntityThread.createTableViews(PKEntityThread.java:966)
         at oracle.jbo.dt.ui.pkg.PKEntityThread.createObjects(PKEntityThread.java:424)
         at oracle.jbo.dt.jdevx.ui.pkg.XPKComponentWizardEntityThread.createObjects(XPKComponentWizard.java:454)
         at oracle.jbo.dt.ui.pkg.PKEntityThread.run(PKEntityThread.java:396)It is raised when the dialog displays showing the work JDev is doing after completing the wizard to create my business components.
    I'm not able to consistently reproduce this issue, though I've encountered it several times. Don't quote me, but it appears to happen the first time I use the wizard in a new JDev session, but is not reproducible again in the same session. However it doesn't always happen when I restart JDev and I'm sorry I can't be more precise.
    Hopefully the exception trace will give you enough information to track this issue down.
    Regards,
    CM.

    Hi Ric
    Unfortunately not really, it's a basic schema we use to test new software. One unusual thing is a hierarchical fk on the same table. But as I said the exception doesn't always occur, but annoyingly does seem to occur when I'm demoing the 11g TP version to clients. I was just hoping the stack trace would help out.
    I'll keep an eye on it and if I can work out why it's occurring I'll update this post.
    Thanks for following this up.
    Cheers,
    CM.

  • NO Links or Associations created with the "Business Components From Tables"

    Hello,
    I have a strange problem. I'm working on a Fusion Web Applicaiton. In the Model project, I try to create some Business Components from Tables with the help of the provided wizard.
    I select one of my IDE Connections, and I choose two of my tables as Entity Objects (*PATIENTS* and COUNTRIES - more details about them bellow), and also as Updatable View Objects. For Read-Only View Objects I select some other tables, afterwards I choose to create a default Application Module, and I press Finish without creating a Business Diagram. Everything works perfectly except of the fact that the wizzard has created everything but the Links and the Associations between my tables.
    To be more precise, COUNTRIES is a simple table, only two columns - ID and NAME, and PATIENTS has some columns like ID, NAME, ADDRESS, DATE_OF_ADMISSION, COUNTRY_ID, where COUNTRY_ID is a foreign key to the COUNTRIES table. Both columns, PATIENTS.COUNTRY_ID and COUNTRIES.ID are NUMBERs. I was expectig the wizard to create a Link and a Association for this foreign key constraint I have between this two tables.
    On the other hand, following one of the tutorials I've found, *"Developing RIA Web Applications with Oracle ADF"*, I've noticed that when I was creating Business Components from Tables based on the HR schema, all the Links and Associations were created as they were expected. I've also tried to create the same Business Components from Tables in my own project, and all the Links and Associations were in place. Somehow, it's not working for my particular schema (the one that contains PATIENTS and COUNTRIES).
    Is there something I do wrong? I've made sure that all the FK constraints are enabled, alive and kicking. From my point of view, the tables are working and behavig as they should, but I can't understand why that feature of automatically creating the Links and Associations works on the HR schema but not on mine.
    Please help!
    Bogdan.
    PS: I am using Oracle JDeveloper Studio Edition Version 11.1.1.1.0, Oracle SQL Developer Version 1.5.5, and Oracle 10g Express Edition installed on localhost.

    Hello John,
    Of course I can post the scripts.
    The schema name is "TEST". But you should know that there are some extra columns in the PATIENTS table, I've not mentioned before. As you can tell from the scripts bellow, the PATIENTS table has the following columns: ID (number), NAME (varchar2), COUNTRY (number), GENDER (number), ADMISSIONDATE (date), DIAGNOSTIC (number), FIRSTNAME (varchar2), SALARY (number). There are actually 3 FK constraints, I've only mentioned one for the simplifying the example. The first FK constraint is towards COUNTRIES, the second one is towards GENDERS, and the final one is towards DIAGNOSTICS. All this 3 tables have only two columns (ID as number, and GENDER as varchar2). I will post the scripts for all.
    Here is the output of the Export DDL to Clipboard from SQL Developer for the COUNTRIES table:
    CREATE TABLE "TEST"."COUNTRIES"
    (     "ID" NUMBER NOT NULL ENABLE,
         "NAME" VARCHAR2(1000 BYTE) NOT NULL ENABLE,
         CONSTRAINT "COUNTRIES_UK1" UNIQUE ("NAME")
    USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS
    STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
    PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
    TABLESPACE "USERS" ENABLE,
         CONSTRAINT "COUNTRIES_PK" PRIMARY KEY ("ID")
    USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS
    STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
    PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
    TABLESPACE "USERS" ENABLE
    ) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING
    STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
    PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
    TABLESPACE "USERS" ;
    CREATE UNIQUE INDEX "TEST"."COUNTRIES_PK" ON "TEST"."COUNTRIES" ("ID")
    PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS
    STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
    PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
    TABLESPACE "USERS" ;
    CREATE UNIQUE INDEX "TEST"."COUNTRIES_UK1" ON "TEST"."COUNTRIES" ("NAME")
    PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS
    STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
    PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
    TABLESPACE "USERS" ;
    CREATE OR REPLACE TRIGGER "TEST"."COUNTRIES_TRG"
    BEFORE INSERT ON COUNTRIES
    FOR EACH ROW
    BEGIN
    SELECT COUNTRIES_SEQ.NEXTVAL INTO :NEW.ID FROM DUAL;
    END;
    ALTER TRIGGER "TEST"."COUNTRIES_TRG" ENABLE;
    Here is the same output for the GENDERS table:
    CREATE TABLE "TEST"."GENDERS"
    (     "ID" NUMBER NOT NULL ENABLE,
         "NAME" VARCHAR2(50 BYTE) NOT NULL ENABLE,
         CONSTRAINT "GENDERS_PK" PRIMARY KEY ("ID")
    USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS
    STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
    PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
    TABLESPACE "USERS" ENABLE,
         CONSTRAINT "GENDERS_UK1" UNIQUE ("NAME")
    USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS
    STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
    PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
    TABLESPACE "USERS" ENABLE
    ) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING
    STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
    PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
    TABLESPACE "USERS" ;
    CREATE UNIQUE INDEX "TEST"."GENDERS_PK" ON "TEST"."GENDERS" ("ID")
    PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS
    STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
    PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
    TABLESPACE "USERS" ;
    CREATE UNIQUE INDEX "TEST"."GENDERS_UK1" ON "TEST"."GENDERS" ("NAME")
    PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS
    STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
    PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
    TABLESPACE "USERS" ;
    CREATE OR REPLACE TRIGGER "TEST"."GENDERS_TRG"
    BEFORE INSERT ON GENDERS
    FOR EACH ROW
    BEGIN
    SELECT GENDERS_SEQ.NEXTVAL INTO :NEW.ID FROM DUAL;
    END;
    ALTER TRIGGER "TEST"."GENDERS_TRG" ENABLE;
    Here is the same output for the DIAGNOSTICS table:
    CREATE TABLE "TEST"."DIAGNOSTICS"
    (     "ID" NUMBER NOT NULL ENABLE,
         "NAME" VARCHAR2(1000 BYTE) NOT NULL ENABLE,
         CONSTRAINT "DIAGNOSTICS_PK" PRIMARY KEY ("ID")
    USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS
    STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
    PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
    TABLESPACE "USERS" ENABLE,
         CONSTRAINT "DIAGNOSTICS_UK1" UNIQUE ("NAME")
    USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS
    STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
    PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
    TABLESPACE "USERS" ENABLE
    ) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING
    STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
    PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
    TABLESPACE "USERS" ;
    CREATE UNIQUE INDEX "TEST"."DIAGNOSTICS_PK" ON "TEST"."DIAGNOSTICS" ("ID")
    PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS
    STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
    PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
    TABLESPACE "USERS" ;
    CREATE UNIQUE INDEX "TEST"."DIAGNOSTICS_UK1" ON "TEST"."DIAGNOSTICS" ("NAME")
    PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS
    STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
    PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
    TABLESPACE "USERS" ;
    CREATE OR REPLACE TRIGGER "TEST"."DIAGNOSTICS_TRG"
    BEFORE INSERT ON DIAGNOSTICS
    FOR EACH ROW
    BEGIN
    SELECT DIAGNOSTICS_SEQ.NEXTVAL INTO :NEW.ID FROM DUAL;
    END;
    ALTER TRIGGER "TEST"."DIAGNOSTICS_TRG" ENABLE;
    And finally, here is the same output for the PATIENTS table:
    CREATE TABLE "TEST"."PATIENTS"
    (     "ID" NUMBER NOT NULL ENABLE,
         "NAME" VARCHAR2(1000 BYTE) NOT NULL ENABLE,
         "COUNTRY" NUMBER,
         "GENDER" NUMBER,
         "ADMISSIONDATE" DATE,
         "DIAGNOSTIC" NUMBER,
         "FIRSTNAME" VARCHAR2(1000 BYTE),
         "SALARY" NUMBER,
         CONSTRAINT "PATIENTS_PK" PRIMARY KEY ("ID")
    USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS
    STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
    PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
    TABLESPACE "USERS" ENABLE,
         CONSTRAINT "PATIENTS_UK1" UNIQUE ("NAME", "ID")
    USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS
    STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
    PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
    TABLESPACE "USERS" ENABLE,
         CONSTRAINT "PATIENTS_GENDERS_FK1" FOREIGN KEY ("GENDER")
         REFERENCES "TEST"."GENDERS" ("ID") ENABLE,
         CONSTRAINT "PATIENTS_DIAGNOSTICS_FK1" FOREIGN KEY ("DIAGNOSTIC")
         REFERENCES "TEST"."DIAGNOSTICS" ("ID") ENABLE,
         CONSTRAINT "PATIENTS_COUNTRIES_FK1" FOREIGN KEY ("COUNTRY")
         REFERENCES "TEST"."COUNTRIES" ("ID") ENABLE
    ) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING
    STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
    PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
    TABLESPACE "USERS" ;
    CREATE INDEX "TEST"."PATIENTS_INDEX1" ON "TEST"."PATIENTS" ("NAME")
    PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS
    STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
    PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
    TABLESPACE "USERS" ;
    CREATE UNIQUE INDEX "TEST"."PATIENTS_PK" ON "TEST"."PATIENTS" ("ID")
    PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS
    STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
    PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
    TABLESPACE "USERS" ;
    CREATE UNIQUE INDEX "TEST"."PATIENTS_UK1" ON "TEST"."PATIENTS" ("NAME", "ID")
    PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS
    STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
    PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
    TABLESPACE "USERS" ;
    CREATE OR REPLACE TRIGGER "TEST"."PATIENTS_TRG"
    BEFORE INSERT ON PATIENTS
    FOR EACH ROW
    BEGIN
    SELECT PATIENTS_SEQ.NEXTVAL INTO :NEW.ID FROM DUAL;
    END;
    ALTER TRIGGER "TEST"."PATIENTS_TRG" ENABLE;
    If a complete DB dump would be more helpful, please let me know. I am willing to provide any details.
    Thanks for your support.

  • Customizing Business Components Error Messages sample

    hi i have been following this sample and this: http://jobinesh.blogspot.de/2011/03/customizing-business-components-error.html,i have follow the instruction but its not working win my application i re-create the problem,i have check with the working sample i have done everything i can see be done in the working sample but mine still not work can somebody check what am i missing i have upload in this hostfile i used hr schema http://www.datafilehost.com/download-9d37bd8a.html. am using jdeveloper 11.1.1.6.0
    i have created the two class and one of them
    <Application xmlns="http://xmlns.oracle.com/adfm/application"
                 version="11.1.1.59.23" id="DataBindings" SeparateXMLFiles="false"
                 Package="view" ClientType="Generic"
                 ErrorHandlerClass="view.CustomErrorHandler"
    what else am i missing what have i not done,i know am mssing something but don't know what,the sample does not show step by step implementation,it just have a working solution,if somebody know step by step  implementation can you pls explain to meEdited by: adf009 on 2013/03/12 12:09 PM
    Edited by: adf009 on 2013/03/20 2:44 PM

    is not working in my application,in my application am checking primary key constraint not unique constrains like in sample is there a diffirent
    this is my class,i have re-create the problem http://www.datafilehost.com/download-9c3e5f17.html
    import java.util.ListResourceBundle;
    public class CustomMessageBundle extends ListResourceBundle {
        private static final Object[][] sMessageStrings =
            new String[][] { { "UAM_ORGUSERSLINK_PK",
                               "Hello, The user Already Belong to this organisation" }, };
        /**Return String Identifiers and corresponding Messages in a two-dimensional array.
        protected Object[][] getContents() {
            return sMessageStrings;
    i have follow steps in the sample
    am geting this log error,instead of geting my error message
    <XmlErrorHandler> <handleError> ADF_FACES-60096:Server Exception during PPR, #1
    javax.servlet.ServletException: JBO-25013: Too many objects match the primary key oracle.jbo.Key[assist03 3099 ].
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:277)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:179)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Caused by: oracle.jbo.TooManyObjectsException: JBO-29114 ADFContext is not setup to process messages for this exception. Use the exception stack trace and error code to investigate the root cause of this exception. Root cause error code is JBO-25013. Error message parameters are {0=oracle.jbo.Key[assist03 3099 ]}
         at oracle.jbo.server.EntityCache.throwTooManyObjectsException(EntityCache.java:604)
         at oracle.jbo.server.EntityCache.handleDuplicateKey(EntityCache.java:613)
         at oracle.jbo.server.EntityCache.addForAltKey(EntityCache.java:1020)
         at oracle.jbo.server.EntityCache.replaceForAltKey(EntityCache.java:1820)
         at oracle.jbo.server.EntityImpl.setAttributeValueInternal(EntityImpl.java:4094)
         at oracle.jbo.server.EntityImpl.setAttributeValue(EntityImpl.java:3676)
         at oracle.jbo.server.AttributeDefImpl.set(AttributeDefImpl.java:3301)
         at oracle.jbo.server.EntityImpl.setAttributeInternal(EntityImpl.java:2012)
         at ecadastre.gov.za.uam.model.entities.UamOrganisationUserImpl.setUsername(UamOrganisationUserImpl.java:137)
         at OrgDetails.onRowCreate(OrgDetails.java:2057)
         at OrgDetails.addMember(OrgDetails.java:1978)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.sun.el.parser.AstValue.invoke(Unknown Source)
         at com.sun.el.MethodExpressionImpl.invoke(Unknown Source)
         at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:53)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1256)
         at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183)
         at org.apache.myfaces.trinidad.component.UIXCollection.broadcast(UIXCollection.java:148)
         at org.apache.myfaces.trinidad.component.UIXTable.broadcast(UIXTable.java:279)
         at oracle.adf.view.rich.component.UIXTable.broadcast(UIXTable.java:145)
         at oracle.adf.view.rich.component.rich.data.RichTable.broadcast(RichTable.java:402)
         at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:148)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:1018)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:386)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:194)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         ... 38 morehi can anybody help me please
    Edited by: adf009 on 2013/03/26 4:59 PM

  • ADF Faces & business components application crash

    My application crashes with the following stack. Any idea what's causing this?
    06/05/15 17:38:09 Exception in thread "Reference Handler" java.lang.NullPointerException
    06/05/15 17:38:09      at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:123)
    06/05/15 17:38:09 <3>[2785] (0) DCBindingContainer.internalRefreshControl(2311) **** refreshControl() for BindingContainer :effectenPageDef
    Fatal error: Cannot find class java/lang/NullPointerException
    Fatal error: Cannot find class java/lang/NullPointerException
    Fatal error: Cannot find class java/lang/NullPointerException
    Fatal error: Cannot find class java/lang/NullPointerException
    Process exited with exit code 128.
    Thanks,
    Andrej

    May be this additional info helps pinpointing:
    I work with JHeadstart (10.1.3.0.59) and JDeveloper 10.1.3 SU3 and generated default pages on top of two ADF Business Components. No customization done yet. One jspx page works nicely, wheras the other also gives me:
    Fatal error: Cannot find class java/lang/StackOverflowError
    Fatal error: Cannot find class java/lang/NullPointerException
    In the Embedded OC4J server log.
    The only difference between the two Entity Objects and View Objects is the size of them:
    - the working EO/VO page contains 38 attributes (yet, still have to tune and remove unnecessary attributes)
    - the other, error-giving EO/VO page contains nearly 60 attributes (same comment here on the tuning part).
    So, is it possible that the number of attributes and therefor the size of jspx pages can cause these Fatal errors? The JRE seems fine, since some pages work, others do not.
    Toine

  • JBO-25001 Business Components Error

    Hi to all,
    I am experiencing some VERY STRANGE behaviour in JDeveloper ADFBC.
    I am using Jdeveloper 10.1.3.1.0.3984 to build an application using ADF and Business Components.
    I have four tables, JAAS_USERS, JAAS_ROLES, JAAS_REALMS and JAAS_MAPPINGS. The only associations are that JAAS_MAPPINGS have JAAS_USERS_ID, JAAS_ROLES_ID and JAAS_REALMS_ID.
    I created my entities (package: datamodel.entities) and i have specified that JAAS_USERS entity use a DBSequence for USER_ID. Please note that i included control hints for every entity.
    Then i created my first view (package: datamodel.views), called JaasUsers
    that simply selects all attributes of the entity.
    I then created an application module (package: datamodel) and i included the view. When i test the application module everything is fine!
    I created a jsf and i dragged the view as a table -> read only table and everything was fine.
    I then run the page and again everything is fine.
    I then realized that i needed to change the control hint for some columns. Instead of changing the control hint of the entity (JAAS_USERS) i changed the object view (JAAS_USERS).
    From this point and on NOTHING WORKS!!!!!!!!!!!!!!!!!!!
    Here is the error message:
    (oracle.jbo.common.ampool.ApplicationPoolException) JBO-30003: The application pool (.110255D7D2E) failed to checkout an application module due to the following exception:
    ----- LEVEL 1: DETAIL 0 -----
    (oracle.jbo.JboException) JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-29000: Unexpected exception caught: oracle.jbo.NameClashException, msg=JBO-25001: Name JaasMappings of object type Attribute already exists
    ----- LEVEL 2: DETAIL 0 -----
    (oracle.jbo.JboException) JBO-29000: Unexpected exception caught: oracle.jbo.NameClashException, msg=JBO-25001: Name JaasMappings of object type Attribute already exists
    ----- LEVEL 3: DETAIL 0 -----
    (oracle.jbo.NameClashException) JBO-25001: Name JaasMappings of object type Attribute already exists
    Please help me becuase i don;t know hot to fix this BUG!

    Hey ppl , I got an exact similar error when trying to migrate from a 10g R2 to R3 version in Jdeveloper. Quite irritating this error,
    Well i guess most would have figured this out , but for benefit of all , theres a slightly easier way to tackle this ( JDEV Release 3)
    in the Application Navigator view Double click your Association , within association properties un-check your expose accessor checkboxes for both the source and destination .Apply changes and do a compile. If it is required , jdev will throw an error. Simply follow the process again and check the Expose accessor boxes again. This solves the problem most of the time.
    Main advantage being , you can avoid the tedious task of manually changing the xml information on Notepad or the kind.
    Hope this helps....

  • Business Components for Java & XML

    In the application I am currently developing, I am using XML metadata to communicate between a web browser and servlets (the xml is parsed by a servlet using an XSL stylesheet to output plain html). To build the XML, I am using the XML SQL utility and the following code:
    try{
    dset = new OracleXMLDataSetExtJdbc(conn, (Reader)sqlStr);
    dset.refreshDataSet();
    }catch (Exception ex){}
    OracleXMLDocGen doc = (OracleXMLDocGen) new OracleXMLDocGenString();
    OracleXMLQuery qry = new OracleXMLQuery(dset);
    qry.setRaiseException(true);
    qry.getXML(doc, qry.DTD);
    My question involves Oracle's Business components for Java. We have recently been doing more research into this technology and the features of it are quite appealing. However, as far as I can tell, there is no way to use the Oracle XML Utilities in conjunction with the BC4J. ie. XML is created based on a view object, not a SQL query to the Database.
    Does anyone know of any way of acheiving this XML generation based on a BC4J foundation?

    A BC4J View Object is effectively a Java component that represents a database query.
    The key difference is that the view object exposes a rowset API to work with which is
    fully updateable, fully scrollable, and automatically coordinated with underlying business logic which you have encapsulated into your companion entity objects (another BC4J Framework building-block component). View objects can also be used to create any interesting hierarchy of master/detail/detail queried database information using "View Links" to link the View Objects together. This allows you to effectively work with a "tree" of data that is perfectly shaped and filtered to the needs of the task at hand -- including self-referential "parts-explosion" kind of view links.
    In JDeveloper 3.1, BC4J ships with a utility class called oracle.jbo.xml.XmlRowSetRenderer which automatically supports rendering the results
    of any view object (and its "tree" of view-linked view objects) as XML, either in DOM format or into a Writer.
    In JDeveloper 3.2 (the next major release) the B2B XML features of the BC4J framework are further enhanced by supporting true, bidirectional XML-in and XML-out for any view object. This means that an XML message can be "fed" to any view object and it natively knows how to handle inserts, update, deletes and (most importantly) enforcement off all shared business logic from the underlying, related entity objects.

  • Business components Clob

    I tried to modify a query for a View Object. The modification is just adding a property in the SELECT. I tried to modify the query manually or by using the Query Builder. I have an exception that I don't understand:
    Business Components: Java type java.sql.Clob referenced by TopDescrEn is currently not supported.
    and the associated SDO schema file is now empty.
    I checked in the database and the data type is Clob.
    JDev 11.1.1.6

    The Standard Entity Beans are a component (JavaBean) that can be a small piece of the ultimate application needs.
    Oracle Business Component for Java is a complete framework that has numerous features that make developing COMPLETE applications easy.
    Please download the white paper on Business Components, try your hand at creating an application with Business Components (using the wizards) and you will see that Business Components for Java is much more than a simple (/complex) reusable component, it is a complete framework which maked developing N-tier applications almost trivial by allowing you to focus on writing your business logic while the framework takes care of all the application infrastructure and the necessary plumbing.
    Sincerely,
    John@Oracle JDeveloper Team http://technet.oracle.com
    null

  • BUG 10.1.3 EA -- BME-99003 in Business Components Diagram with imported EOs

    Following a hands-on exercise in the Oracle JDeveloper 10g Handbook (pages 343 - 345):
    -- Create new application workspace, say HRApp, using default Web Application Template.
    -- Edit Model project properties to create new library with classpath that points to business domain objects in a project folder from a different workspace.
    -- Import the Business Components from the other project's folder, say "businessdomain.xml".
    -- Create a BC Diagram in the Model project of the HRApp application.
    -- Create a new View Object in the BC Diagram by dragging from Component Palette, rename to "JobsView".
    -- Drag entity object representation from new library, say "Jobs.xml" onto View Object.
    -- See error message below.
    Johnny Lee
    Message
    BME-99003: An error occurred, so processing could not continue.
    Cause
    The application has tried to de-reference an invalid pointer. This exception should have been dealt with programmatically. The current activity may fail and the system may have been left in an unstable state. The following is a stack trace.
    java.lang.NullPointerException
         at oracle.jbo.dt.modeler.diagram.dropHandler.BC4JXMLDropHandler.processObjects(BC4JXMLDropHandler.java:82)
         at oracle.bm.addinUtil.IDEAppContext$4.performAction(Unknown Source)
         at oracle.bm.diagrammer.LockMonitor.performLockedAction(Unknown Source)
         at oracle.bm.diagrammer.BaseDiagram.performDiagramLockedAction(Unknown Source)
         at oracle.bm.addinUtil.IDEAppContext.dropNavigatorNodeLater(Unknown Source)
         at oracle.bm.addinUtil.IDEAppContext$5.run(Unknown Source)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
    Action
    If further errors occur, you should restart the application.
    Also, report the problem on the JDeveloper forum on otn.oracle.com, or contact Oracle support, giving the information from this message.
    ________________________________________________________________________________

    We have not been able to reproduce the exact same error, there would be a problem if we were trying to write to the library file, as those objects are read only, of course. Can you tell me, the entity object that you are referencing, has it ever appeared on a diagram? An easy way to tell, if you don't know is by looking at its XML file and see if it has an ID=some long string entry.

  • Calling JDeveloper Business Components

    Hi All,
    I would like to know if it is posiible by creating Java Business Components from JDeveloper and calling these business componets fromoutside Jdeveloper env..by importing the respective packages???>.
    Thanks
    ram
    null

    Hi steve,
    Thanks for the reply.I get unable to create application module exception when i try to use the business component in weblogic container version 5.1.I am using JDevelooper 3.1 version
    public String ejbCreate(String productID,String name,String description,double basePrice) throws CreateException
    System.out.println("****ejbCreate Called****");
    this.productID = productID;
    this.name = name;
    this.description = description;
    this.basePrice = basePrice;
    Connection con = null;
    PreparedStatement ps = null;
    try {
    String amName1 = "MyDev1.MyDev1Module";
    String connStr = "jdbc:oracle:thin:scott/tiger@taipan:1521:web3";
    Hashtable env = new Hashtable(2);
    ApplicationModule appMod1 = null;
    System.out.println("***First***");
    env.put(Context.INITIAL_CONTEXT_FACTORY,JboContext.JBO_CONTEXT_FACTORY);
    env.put(JboContext.DEPLOY_PLATFORM, JboContext.PLATFORM_LOCAL);
    System.out.println("***Second***");
    javax.naming.Context ic = new InitialContext(env);
    ApplicationModuleHome home1 = (ApplicationModuleHome)ic.lookup(amName1);
    System.out.println("***Third***"+this.productID);
    appMod1 = home1.create();
    System.out.println("***Third1111***");
    appMod1.getTransaction().connect(connStr);
    System.out.println("*****Connected*****");
    ViewObject vo = appMod1.findViewObject("BeanproductView");
    System.out.println("*****Found View Product*****");
    System.out.println("Row count ***"+vo.getEstimatedRowCount());
    AttributeDef[] attr = vo.getAttributeDefs();
    for(int i=0;i<attr.length;i++)
    System.out.println("Attr Name --->"+attr.getColumnName());
    return productID;
    }catch(Exception e)
    System.out.println(e);
    //can check here whether the exception is due to unique constraint
    }finally {
    // cleanup(con, ps);
    return null;
    Steve,the error it gives me is unable to create the application module after
    ****setEntityContext called****
    ****ejbCreate Called****
    ***First***
    ***Second***
    Diagnostics: Silencing all diagnostic output (use -Djbo.debugoutput=console to s
    ee it)
    ***Third***PROD101
    Diagnostics: Silencing all diagnostic output (use -Djbo.debugoutput=console to s
    ee it)
    oracle.jbo.ApplicationModuleCreateException: JBO-25222: Unable to create applica
    tion module.
    Mon Sep 18 15:03:26 GMT+10:00 2000:<I> <EJB JAR deployment c:/weblogic/myserver/
    rambnmj.jar> Exception in non-transactional EJB invoke:
    javax.ejb.CreateException: A bean primary key field may not be null after ejbCre
    ate has been called
    at weblogic.ejb.internal.StatefulEJBObject.postCreate(StatefulEJBObject.
    java:227)
    at examples.ejb.basic.jdev.ProductBeanEOImpl.create(ProductBeanEOImpl.ja
    va:60)
    at examples.ejb.basic.jdev.ProductBeanHomeImpl.create(ProductBeanHomeImp
    l.java:32)
    at examples.ejb.basic.jdev.ProductBeanHomeImpl_WLSkel.invoke(ProductBean
    HomeImpl_WLSkel.java:72)
    at weblogic.rmi.extensions.BasicServerObjectAdapter.invoke(BasicServerOb
    jectAdapter.java, Compiled Code)
    at weblogic.rmi.extensions.BasicRequestHandler.handleRequest(BasicReques
    Please,help or suggest me in solving this problem...and more thing should we only use session beans when using Jdeveloper Business componenets...
    Our help will be appreciated..
    Thanks @ Cheers
    Ram
    null

  • JDeveloper Business components JSP problem!!

    Hi all,
    First of all sorry for my English language (very poor).
    My question is when I generate Business components JSP Application by JDeveloper 9i
    is running on JDeveloper(oc4j) without any problems but when I using resin server or tomcat I have this exception
    Error Message: �ApplicationModule� is an unknown tag in tag library �/webapp/DataTags.tld�.
    com.caucho.jsp.JspParseException: �ApplicationModule� is an unknown tag in tag library �/webapp/DataTags.tld�.
    at com.caucho.jsp.ParseTagManager.getTag(ParseTagManager.java:144)
    at com.caucho.jsp.java.JavaJspGenerator.getTag(JavaJspGenerator.java:1508)
    at com.caucho.jsp.java.JavaJspBuilder.startElement(JavaJspBuilder.java:199)
    at com.caucho.jsp.JspParser.parseOpenTag(JspParser.java:1204)
    at com.caucho.jsp.JspParser.parseNode(JspParser.java:469)
    at com.caucho.jsp.JspParser.parseJsp(JspParser.java:320)
    at com.caucho.jsp.JspParser.parse(JspParser.java:251)
    at com.caucho.jsp.JspCompilerInstance.compile(JspCompilerInstance.java:335)
    at com.caucho.jsp.JspManager.compile(JspManager.java:182)
    at com.caucho.jsp.JspManager.createPage(JspManager.java:130)
    at com.caucho.jsp.PageManager.getPage(PageManager.java:244)
    at com.caucho.jsp.PageManager.getPage(PageManager.java:181)
    at com.caucho.jsp.QServlet.getSubPage(QServlet.java:289)
    at com.caucho.jsp.QServlet.getPage(QServlet.java:216)
    at com.caucho.server.dispatch.PageFilterChain.doFilter(PageFilterChain.java:144)
    at com.caucho.server.cache.CacheFilterChain.doFilter(CacheFilterChain.java:173)
    at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:149)
    at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:221)
    at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:256)
    at com.caucho.server.port.WorkerThread.run(WorkerThread.java:126)
    at java.lang.Thread.run(Thread.java:536)
    any ideas please!!

    :(

  • Business Components Project Error - Application Error

    Hi All
    Please can you help me with this one as JDeveloper is not giving me any clues.
    I am following the tutorial for Business Components with a few modifications. I am using MS Access DB.
    I have managed to successfully connect to this DB and pick the table I want to browse.
    All is well until I run the jpr file and then I get this on my HTML page :
    Application Error
    Error returned : null
    Any ideas ? What info should I post here as clues to solving this ?
    Thanks all for viewing and providing any advice.
    Greg

    New info :
    oracle.jbo.NoDefException: JBO-25002: Definition
    SYSMAN.CurrentRequestsView of type View Definition
    not found
    This exception means that the system cannot find SYSMAN\CurrentRequestsView.xml file from the classpath. Please make sure that CurrentRequestsView.xml is accessible. If necessary, change project settings and add the appropriate Library.
    Thanks.
    Sung

  • Resolving errors during Oracle 8i Corba Deployment for Business Components Project

    Below is an excerpt from the messages that were put out while creating a deployment profile for Corba for a Business Components Project. I am using JDeveloper 3.0.
    resolving: oracle/jbo/server/DatabaseTransactionFactory
    Error while resolving class oracle/jbo/server/DatabaseTransactionFactory
    ORA-29554: unhandled Java out of memory condition
    resolving: oracle/jbo/common/remote/PiggybackReturn
    resolving: oracle/jbo/server/xml/JTPersistable
    resolving: oracle/jbo/server/util/JboSQLUtil
    Error while resolving class oracle/jbo/server/util/JboSQLUtil
    ORA-29554: unhandled Java out of memory condition
    resolving: oracle/jbo/server/xml/XMLContextCustImpl
    oracle/jbo/server/xml/JTStorageOutput is already resolved
    resolving: oracle/jbo/server/java/util/Iterator
    resolving: oracle/jbo/server/rules/JboSQLCompareValidator
    Error while resolving class oracle/jbo/server/rules/JboSQLCompareValidator
    ORA-29554: unhandled Java out of memory condition
    resolving: oracle/jbo/server/ValidationManager
    Error while resolving class oracle/jbo/server/ValidationManager
    Exception java.sql.SQLException: End of TNS data channel
    initialization complete
    resolving: oracle/jbo/server/TransactionListener
    Error while resolving class oracle/jbo/server/TransactionListener
    ORA-29554: unhandled Java out of memory condition
    resolving: oracle/jbo/common/CheckedListResourceBundle
    resolving: oracle/jbo/DeleteEvent
    Error while resolving class oracle/jbo/DeleteEvent
    ORA-29554: unhandled Java out of memory condition
    resolving: oracle/jbo/common/PiggybackObjRemovedEntry
    resolving: oracle/jbo/server/rules/SQLBindUtility
    resolving: oracle/jbo/server/ViewRowCache
    Error while resolving class oracle/jbo/server/ViewRowCache
    ORA-29554: unhandled Java out of memory condition
    resolving: oracle/jbo/server/ContainerObjectEvent
    resolving: oracle/jbo/domain/Char$1$facClass
    Error while resolving class oracle/jbo/domain/Char$1$facClass
    ORA-29554: unhandled Java out of memory condition
    resolving: oracle/jbo/server/xml/JTStorageInput
    resolving: oracle/jbo/server/java/util/ArraySet
    resolving: oracle/jbo/common/JboInitialContext$HomeNameParser
    oracle/jbo/server/java/util/ListIterator is already resolved
    resolving: oracle/jbo/server/xml/VersionProcessException
    resolving: oracle/jbo/ScrollEvent
    Are these known errors, are they likely to cause problems? Was the deployment "successful"? The process did continue after summarizing the number of errors during the resolution process and eventually terminated.

    Hi Peter,
    The process of resolving the transitive closure of a large set of java classes (like the BC4J framework) can be quite memory intensive in JServer for the resolution phase.
    You can alleviate this problem by turning the verifier (-noverify option) off.
    That will speed up the resolution process a bit.
    Also in your init.ora file check the java pool size and if it is less than 50 MB, do increase it to 50 MB or larger (The higher the better.)
    Hope this helps,
    -Kishore
    null

  • Can not see the menu of New Business Components Package in jdeveloper

    I am just follow the developer guide.
    and when I create the Business Components Package, the guide said that
    ========================================
    In the JDeveloper Navigator, select the OA Project where you want to create your package.
    From the main menu, choose File > New to open the New Object Gallery.
    In the Categories tree, expand the Business Tier node, and select Business Components (BC4J).
    In the Items list, select Business Components Package to open the Business Components Package Wizard. You can also right-click on the OA Project and select New Business Components Package to navigate directly to the Business Components Package Wizard.
    =====================================
    In fact I can not see the menu about Business Components (BC4J) in the File/new/buisness tier/Business Components (BC4J).
    I can only see the File/new/buisness tier/ADF Business Components.
    And can not find the "Business Components Package" under ADF Business Components either.
    I am using the JDev Extension for OA (p5856648_R12_GENERIC.zip) and EBS 12.0.0.
    And I create an OA Workspace and OA Project.
    can anyone help?

    James,
    Use search facility on forum. Chk thread Re: OAF Toolbox Tutorial Help - Search
    --Shiv                                                                                                                                                                                                                                                                       

  • Problem to deploy to a WebService interface for ADF Business Components to Weblogic Server

    Hi,
      I'm trying to deploy a custom application ,in which i have exposed ADF Business Components through a WebService interface, to a standalone weblogic server.
    Application Module is configured with a Service Interface for ordinary ViewObjects.
    Now I want to create a EAR file of this application to deploy it on the weblogic server.
    But I got an error while deploying it.The error i am getting is shown below.
    ERROR: No Java EE modules detected in EAR archive. Deployment aborted. == (oracle.jdevimpl.deploy.ear.WeblogicAssembler)
    I have followed the steps mention in the below link :
    http://technology.amis.nl/2010/12/29/quickly-creating-reploying-and-testing-a-webservice-interface-for-adf-business-components/
    I'm using Jdeveloper 11.1.2.4 on windows.
    Please suggest what i could be doing wrong.
    Regards,
    Himanshu

    Does the deployment profile include Java EE modules?
    Refer
    Java EE Developer: ERROR: No j2ee modules detected in EAR archive. Deployment aborted. == (oracle.jdeveloper.deploy.Veto…

Maybe you are looking for

  • Google Maps Navigation and Google Music problem

    Hello, I love the LG G2 but it has a few concerning issues. First, is the squealling, hissing, cracking, popping, etc. during phone calls, but I have seen that brought up by others. The second problem that I've discovered, and the most upsetting to m

  • How to solve the problems of adobe application manager

    i am facing a problem while installing adobe photoshop cs6 it shows adobe application manager is not working correctly. what should i do?

  • Problem with image Im mobile Display....

    hi all .... i m devloping one project in that i a creating one image based on data that comes from database and i want to show that image on jsp .....it is work perfectly in "IE browser" but when the same code i run on blackberry simulator.....it doe

  • Ways to initialize an object

    Hypothetically, say I was to create an NSString object in a program. I could use NSString *string = @"This is a string."; or NSString *string = [[NSString alloc] initWithString: @"This is a string."]; or [NSString stringWithString: @"This is a string

  • Creating an Enhancement Set

    Does anyone know how to create an enhancement set. Ive tried checking the menu's but i cannot find how to do this anywhere.