JDeveloper 3.0 business component WebDB
Is it possible to build a web site with Jdeveloper 3.0 using business component and WebDB 2.2 or higher
thanks
Hi,
JDeveloper 3.0's Business Components for Java and WebDB are two different technologies. WebDB generates server-side PL/SQL packages that dynamically render HTML web pages based on database tables, stored procedures, etc.
JDeveloper 3.0's Business Components for Java framework is a pure Java way to write middle-tier application logic for Java Applications or applets, or for JSPs or servlets. You can deploy the Business Components for Java to Oracle8i and an EJB or CORBA object, locally to the file system, or to Visibroker.
You could certainly have the two technologies existing in the same database and have BC4J-based applications available from a website developed with WebDB as just straight links, but we do not support building WebDB components against the Business Components for Java framework. Building a JSP Web Application using the JDeveloper 3.0 wizards is the closest thing in terms of having an HTML front-end.
Please let me know if I've answered or misunderstood your question.
Laura
Similar Messages
-
JDeveloper business component browser is very slow
Hi everyone,
A view that runs very fast -- 2 seconds -- through SQL Developer takes an extremely long time -- several minutes -- when using the business component browser in JDeveloper. Any suggestions would be appreciated as I am a newbie with JDeveloper.
Here is the WHERE clause:
WHERE b_id = :pBId -- Integer
AND o_id = :pOId -- Integer
AND (((TO_CHAR(TO_TIMESTAMP(LinesVEO.ENDING_DATE), 'yyyy-mm-dd') = :pEndingDate))) -- String
Thanks.
JamesHi Shay,
Done...the query in the output looks like the query that I am running in SQL Developer (which runs very fast).
WHERE b_id = :pBId -- Integer
AND o_id = :pOId -- Integer
AND (((TO_CHAR(TO_TIMESTAMP(LinesVEO.ENDING_DATE), 'yyyy-mm-dd') = :pEndingDate))) -- String
AND LinesVEO.ENDING_DATE = :pEndingDate
Changing the date condition significantly changed the performance -- a minute is much better than several minutes. But, I would like to get it to a few seconds if possible.
What should I do next? -
JBO-25200 in Business Component Browser in JDeveloper 9.3.3
I create Application Module for ODBC bridge database (Access). It works fine in JDeveloper 9.3.2. But in JDeveloper 9.3.3 I receive JBO-25200 error when I try test it in Business Component Browser.
Why?Are you able to run the query directly in Database:
SELECT Customers.CUSTOMER_ID, Customers.CUST_FIRST_NAME, Customers.CUST_LAST_NAME, Customers.CUST_ADDRESS, Customers.PHONE_NUMBERS, Customers.NLS_LANGUAGE, Customers.NLS_TERRITORY, Customers.CREDIT_LIMIT, Customers.CUST_EMAIL, Customers.ACCOUNT_MGR_ID, Customers.CUST_GEO_LOCATION, Employees.FIRST_NAME, Employees.ROWID, Employees.LAST_NAME FROM CUSTOMERS Customers, EMPLOYEES Employees WHERE Customers.ACCOUNT_MGR_ID = Employees.MANAGER_ID ORDER BY Customers.CUSTOMER_ID
Thanks,
Navaneeth -
Error opening a business component view object - ExtendedTextArea missing
Hi,
I'm running the HRSystem demo from the oracle developer day, and get an error opening any business component view object, for example, JobsView.xml. The error is:
oracle.classloader.util.AnnotatedNoClassDefFoundError:
Missing class: oracle.javatools.ui.ExtendedTextArea
Dependent class: java.awt.Component
Loader: jre.bootstrap:1.6.0_05
Code-Source: unknown
Configuration: jre bootstrap
The missing class is not available from any code-source or loader in the system.
at oracle.classloader.PolicyClassLoader.handleClassNotFound (PolicyClassLoader.java:2180) [C:/Oracle/Middleware/jdeveloper/modules/oracle.classloader_11.1.1.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@14642381]
at oracle.classloader.PolicyClassLoader.internalLoadClass (PolicyClassLoader.java:1733) [C:/Oracle/Middleware/jdeveloper/modules/oracle.classloader_11.1.1.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@14642381]
at oracle.classloader.PolicyClassLoader.access$000 (PolicyClassLoader.java:143) [C:/Oracle/Middleware/jdeveloper/modules/oracle.classloader_11.1.1.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@14642381]
at oracle.classloader.PolicyClassLoader$LoadClassAction.run (PolicyClassLoader.java:331) [C:/Oracle/Middleware/jdeveloper/modules/oracle.classloader_11.1.1.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@14642381]
at java.security.AccessController.doPrivileged (Native method) [unknown, by unknown]
at oracle.classloader.PolicyClassLoader.loadClass (PolicyClassLoader.java:1692) [C:/Oracle/Middleware/jdeveloper/modules/oracle.classloader_11.1.1.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@14642381]
at oracle.classloader.PolicyClassLoader.loadClass (PolicyClassLoader.java:1674) [C:/Oracle/Middleware/jdeveloper/modules/oracle.classloader_11.1.1.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@14642381]
at java.lang.ClassLoader.loadClassInternal (ClassLoader.java:319) [jre bootstrap, by jre.bootstrap:1.6.0_05]
at java.lang.Class.getDeclaredMethods0 (Native method) [unknown, by unknown]
at java.lang.Class.privateGetDeclaredMethods (Class.java:2427) [jre bootstrap, by jre.bootstrap:1.6.0_05]
at java.lang.Class.getDeclaredMethod (Class.java:1935) [jre bootstrap, by jre.bootstrap:1.6.0_05]
at java.awt.Component.isCoalesceEventsOverriden (Component.java:5726) [jre bootstrap, by jre.bootstrap:1.6.0_05]
at java.awt.Component.access$100 (Component.java:162) [jre bootstrap, by jre.bootstrap:1.6.0_05]
at java.awt.Component$2.run (Component.java:5680) [jre bootstrap, by jre.bootstrap:1.6.0_05]
at java.awt.Component$2.run (Component.java:5678) [jre bootstrap, by jre.bootstrap:1.6.0_05]
at java.security.AccessController.doPrivileged (Native method) [unknown, by unknown]
at java.awt.Component.checkCoalescing (Component.java:5677) [jre bootstrap, by jre.bootstrap:1.6.0_05]
at java.awt.Component.<init> (Component.java:5646) [jre bootstrap, by jre.bootstrap:1.6.0_05]
at java.awt.Container.<init> (Container.java:245) [jre bootstrap, by jre.bootstrap:1.6.0_05]
at javax.swing.JComponent.<init> (JComponent.java:581) [jre bootstrap, by jre.bootstrap:1.6.0_05]
at javax.swing.JPanel.<init> (JPanel.java:65) [jre bootstrap, by jre.bootstrap:1.6.0_05]
at javax.swing.JPanel.<init> (JPanel.java:92) [jre bootstrap, by jre.bootstrap:1.6.0_05]
at javax.swing.JPanel.<init> (JPanel.java:100) [jre bootstrap, by jre.bootstrap:1.6.0_05]
at oracle.jbo.ui.wizard.JboWizardPanel.<init> (JboWizardPanel.java:94) [C:/Oracle/Middleware/jdeveloper/modules/oracle.adf.model_11.1.1/bc4jwizard.jar (from system property C:\Oracle\Middleware\jdeveloper\modules\oracle.adf.model_11.1.1\bc4jwizard.jar), by main:11.0]
at oracle.jbo.dt.ui.main.dlg.DtuWizardPanel.<init> (DtuWizardPanel.java:67) [C:/Oracle/Middleware/jdeveloper/jdev/extensions/oracle.BC4J.jar (from system property C:\Oracle\Middleware\jdeveloper\jdev\extensions\oracle.BC4J.jar), by main:11.0]
at oracle.ecsf.dt.ui.SearchPanel.<init> (SearchPanel.java:84) [C:/Oracle/Middleware/jdeveloper/jdev/extensions/oracle.ecsf.dt.jar (from system property C:\Oracle\Middleware\jdeveloper\jdev\extensions\oracle.ecsf.dt.jar), by main:11.0]
at oracle.ecsf.dt.ui.SearchPage.jbInit (SearchPage.java:79) [C:/Oracle/Middleware/jdeveloper/jdev/extensions/oracle.ecsf.dt.jar (from system property C:\Oracle\Middleware\jdeveloper\jdev\extensions\oracle.ecsf.dt.jar), by main:11.0]
at oracle.ecsf.dt.ui.SearchPage.<init> (SearchPage.java:63) [C:/Oracle/Middleware/jdeveloper/jdev/extensions/oracle.ecsf.dt.jar (from system property C:\Oracle\Middleware\jdeveloper\jdev\extensions\oracle.ecsf.dt.jar), by main:11.0]
at oracle.ecsf.dt.ui.SearchFlatEditorListener.initEditor (SearchFlatEditorListener.java:41) [C:/Oracle/Middleware/jdeveloper/jdev/extensions/oracle.ecsf.dt.jar (from system property C:\Oracle\Middleware\jdeveloper\jdev\extensions\oracle.ecsf.dt.jar), by main:11.0]
at oracle.jbo.dt.jdevx.ui.editors.common.JeoEditorMulticaster.dispatchInitEditor (JeoEditorMulticaster.java:56) [C:/Oracle/Middleware/jdeveloper/jdev/extensions/oracle.BC4J.jar (from system property C:\Oracle\Middleware\jdeveloper\jdev\extensions\oracle.BC4J.jar), by main:11.0]
at oracle.jbo.dt.jdevx.ui.editors.JeoEditor.getGUI (JeoEditor.java:282) [C:/Oracle/Middleware/jdeveloper/jdev/extensions/oracle.BC4J.jar (from system property C:\Oracle\Middleware\jdeveloper\jdev\extensions\oracle.BC4J.jar), by main:11.0]
at oracle.jbo.dt.jdevx.ui.editors.JeoEditor.getPanel (JeoEditor.java:310) [C:/Oracle/Middleware/jdeveloper/jdev/extensions/oracle.BC4J.jar (from system property C:\Oracle\Middleware\jdeveloper\jdev\extensions\oracle.BC4J.jar), by main:11.0]
at oracle.jbo.dt.jdevx.ui.editors.JeoEditor.setContext (JeoEditor.java:341) [C:/Oracle/Middleware/jdeveloper/jdev/extensions/oracle.BC4J.jar (from system property C:\Oracle\Middleware\jdeveloper\jdev\extensions\oracle.BC4J.jar), by main:11.0]
at oracle.ideimpl.editor.EditorState.createEditor (EditorState.java:158) [C:/Oracle/Middleware/jdeveloper/ide/lib/ideimpl.jar (from system property PCLMain.createExtensionManagerLoader()), by main:11.0]
at oracle.ideimpl.editor.EditorState.getOrCreateEditor (EditorState.java:94) [C:/Oracle/Middleware/jdeveloper/ide/lib/ideimpl.jar (from system property PCLMain.createExtensionManagerLoader()), by main:11.0]
at oracle.ideimpl.editor.SplitPaneState.canSetEditorStatePos (SplitPaneState.java:231) [C:/Oracle/Middleware/jdeveloper/ide/lib/ideimpl.jar (from system property PCLMain.createExtensionManagerLoader()), by main:11.0]
at oracle.ideimpl.editor.SplitPaneState.setCurrentEditorStatePos (SplitPaneState.java:194) [C:/Oracle/Middleware/jdeveloper/ide/lib/ideimpl.jar (from system property PCLMain.createExtensionManagerLoader()), by main:11.0]
at oracle.ideimpl.editor.TabGroupState.createSplitPaneState (TabGroupState.java:103) [C:/Oracle/Middleware/jdeveloper/ide/lib/ideimpl.jar (from system property PCLMain.createExtensionManagerLoader()), by main:11.0]
at oracle.ideimpl.editor.TabGroup.addTabGroupState (TabGroup.java:379) [C:/Oracle/Middleware/jdeveloper/ide/lib/ideimpl.jar (from system property PCLMain.createExtensionManagerLoader()), by main:11.0]
at oracle.ideimpl.editor.EditorManagerImpl.createEditor (EditorManagerImpl.java:1400) [C:/Oracle/Middleware/jdeveloper/ide/lib/ideimpl.jar (from system property PCLMain.createExtensionManagerLoader()), by main:11.0]
at oracle.ideimpl.editor.EditorManagerImpl.createEditor (EditorManagerImpl.java:1334) [C:/Oracle/Middleware/jdeveloper/ide/lib/ideimpl.jar (from system property PCLMain.createExtensionManagerLoader()), by main:11.0]
at oracle.ideimpl.editor.EditorManagerImpl.openEditor (EditorManagerImpl.java:1260) [C:/Oracle/Middleware/jdeveloper/ide/lib/ideimpl.jar (from system property PCLMain.createExtensionManagerLoader()), by main:11.0]
at oracle.ide.editor.EditorUtil.openDefaultEditorInFrame (EditorUtil.java:164) [C:/Oracle/Middleware/jdeveloper/ide/extensions/oracle.ide.jar (from system property PCLMain.createExtensionManagerLoader()), by main:11.0]
at oracle.ide.editor.EditorUtil.openDefaultEditorInFrame (EditorUtil.java:127) [C:/Oracle/Middleware/jdeveloper/ide/extensions/oracle.ide.jar (from system property PCLMain.createExtensionManagerLoader()), by main:11.0]
at oracle.ide.editor.EditorUtil.openExplicitDefaultEditorInFrame (EditorUtil.java:67) [C:/Oracle/Middleware/jdeveloper/ide/extensions/oracle.ide.jar (from system property PCLMain.createExtensionManagerLoader()), by main:11.0]
at oracle.jbo.dt.jdevx.JdvIde.editSourceFile (JdvIde.java:1826) [C:/Oracle/Middleware/jdeveloper/jdev/extensions/oracle.BC4J.jar (from system property C:\Oracle\Middleware\jdeveloper\jdev\extensions\oracle.BC4J.jar), by main:11.0]
at oracle.jbo.dt.ui.main.DtuMenuManager.doFlatEditMenuAction (DtuMenuManager.java:1706) [C:/Oracle/Middleware/jdeveloper/jdev/extensions/oracle.BC4J.jar (from system property C:\Oracle\Middleware\jdeveloper\jdev\extensions\oracle.BC4J.jar), by main:11.0]
at oracle.jbo.dt.ui.main.DtuMenuManager.performMenuAction (DtuMenuManager.java:1595) [C:/Oracle/Middleware/jdeveloper/jdev/extensions/oracle.BC4J.jar (from system property C:\Oracle\Middleware\jdeveloper\jdev\extensions\oracle.BC4J.jar), by main:11.0]
at oracle.jbo.dt.ui.main.DtuMenuManager.doMenuAction (DtuMenuManager.java:1377) [C:/Oracle/Middleware/jdeveloper/jdev/extensions/oracle.BC4J.jar (from system property C:\Oracle\Middleware\jdeveloper\jdev\extensions\oracle.BC4J.jar), by main:11.0]
at oracle.jbo.dt.jdevx.ui.JdxMenuManager.doMenuAction (JdxMenuManager.java:892) [C:/Oracle/Middleware/jdeveloper/jdev/extensions/oracle.BC4J.jar (from system property C:\Oracle\Middleware\jdeveloper\jdev\extensions\oracle.BC4J.jar), by main:11.0]
at oracle.jbo.dt.jdevx.deployment.ui.JxdMenuManager.doMenuAction (JxdMenuManager.java:66) [C:/Oracle/Middleware/jdeveloper/jdev/extensions/oracle.bc4jdt.deploy.jar (from system property C:\Oracle\Middleware\jdeveloper\jdev\extensions\oracle.bc4jdt.deploy.jar), by main:11.0]
at oracle.jbo.dt.ui.main.DtuMenuManager.doAction (DtuMenuManager.java:1363) [C:/Oracle/Middleware/jdeveloper/jdev/extensions/oracle.BC4J.jar (from system property C:\Oracle\Middleware\jdeveloper\jdev\extensions\oracle.BC4J.jar), by main:11.0]
at oracle.jbo.dt.ui.main.DtuMenuManager.doAction (DtuMenuManager.java:1348) [C:/Oracle/Middleware/jdeveloper/jdev/extensions/oracle.BC4J.jar (from system property C:\Oracle\Middleware\jdeveloper\jdev\extensions\oracle.BC4J.jar), by main:11.0]
at oracle.jbo.dt.jdevx.ui.JdxMenuManager.doActionPerformed (JdxMenuManager.java:694) [C:/Oracle/Middleware/jdeveloper/jdev/extensions/oracle.BC4J.jar (from system property C:\Oracle\Middleware\jdeveloper\jdev\extensions\oracle.BC4J.jar), by main:11.0]
at oracle.jbo.dt.jdevx.ui.JdxMenuInvoker.run (JdxMenuManager.java:2111) [C:/Oracle/Middleware/jdeveloper/jdev/extensions/oracle.BC4J.jar (from system property C:\Oracle\Middleware\jdeveloper\jdev\extensions\oracle.BC4J.jar), by main:11.0]
at java.awt.event.InvocationEvent.dispatch (InvocationEvent.java:209) [jre bootstrap, by jre.bootstrap:1.6.0_05]
at java.awt.EventQueue.dispatchEvent (EventQueue.java:597) [jre bootstrap, by jre.bootstrap:1.6.0_05]
at java.awt.EventDispatchThread.pumpOneEventForFilters (EventDispatchThread.java:273) [jre bootstrap, by jre.bootstrap:1.6.0_05]
at java.awt.EventDispatchThread.pumpEventsForFilter (EventDispatchThread.java:183) [jre bootstrap, by jre.bootstrap:1.6.0_05]
at java.awt.EventDispatchThread.pumpEventsForHierarchy (EventDispatchThread.java:173) [jre bootstrap, by jre.bootstrap:1.6.0_05]
at java.awt.EventDispatchThread.pumpEvents (EventDispatchThread.java:168) [jre bootstrap, by jre.bootstrap:1.6.0_05]
at java.awt.EventDispatchThread.pumpEvents (EventDispatchThread.java:160) [jre bootstrap, by jre.bootstrap:1.6.0_05]
at java.awt.EventDispatchThread.run (EventDispatchThread.java:121) [jre bootstrap, by jre.bootstrap:1.6.0_05]
I searched for this class, and it is supposed to be in uic.jar. However, when I opened that jar file it was not there. Did I set something up wrong, or is this a bug in jdeveloper?When I am trying to open a VO inside JDeveloper for editing. The issue appears only to be with the VO's, even the ones that were automatically created at the start of the tutorial. Other types of objects can be opened for editing without incident.
Here is my versioning info:
ADF Business Components 11.1.1.52.5
CVS Version Internal to Oracle JDeveloper 11g (client-only)
Java(TM) Platform 1.6.0_05
Oracle IDE 11.1.1.0.31.52.05
Versioning Support 11.1.1.0.31.52.05 -
How to setup new OC4J instance to host jdev business component (EJB)
From Jdeveloper 9.0.3 I want to deploy a business component to an new oc4j instance running under 9ias version 9.0.3.
In jdeveloper I have built and tested an application server connection (type=Oracle Application Sever Remote DCM) to my new oc4j instance on 9ias. My understanding is that the jdeveloper deployment profile wizard will help me construct a profile to build what is known as an "EJB session bean".
Using EmWebSite, I have created and started the new oc4j instance, and i constructed a datasource to be used for the database connection.
Is there anything else that I will need to do to the new 9ias oc4j instance prior to building the deployment profile in jdeveloper, and then running the deployment? For instance, does this new oc4j instance somehow have the necessary hooks in it to support this bc4j component? Do I need to install any missing jar files? Do I need to define rmi ports ? Do I need to configure BC4J support?
BTW ... I have tried to pursue this topic from the Jdeveloper side but the support personnel are not familar with 9ias 903, nor are they familar with 9ias Remote DCM deployment.Yes, you should be able to deploy an BC4J application without making any other changes to an IAS instance. For standalone OC4J please look at http://otn.oracle.com/products/jdev/htdocs/config_oc4j_for_bc4j.html
regards
Debu -
More than one business component (views) in the same JSP page
Hi, I am trying to have more than one business component (views) in the same JSP page as Input Form.
For example:
There are two BC4J:
Person:
Code.
Name.
Address:
Person_code
Street.
City.
There is a master detail relationship between them and there is a link between both views in the application module.
I want to create a JSP page with an Input form for both views. When the user decides to create a Person, I need to insert in both tables.
Insert code and name into Person table.
Insert Person_code, Street and City into Address table.
It is possible to do in Forms but I am not sure if I can be able to do this in JDeveloper 10G.
ThanksSorry I lost the tabs
Person has two attributes Code and Name.
Address has three attributes Person_coden Street, City. -
"Error loading Business Component" in all projects (10.1.3 EA)
I have just started getting the following error message prompt when I attempt to expand any of my projects in the Appplication Navigator:
Error loading Business Component:
<path to>\Model.jpr
Exception: java.lang.NullPointerException
Here is a sample stack trace:
java.lang.NullPointerException
at oracle.jbo.dt.jdevx.ui.JdxVcsListener.<init>(JdxLoader.java:1723)
at oracle.jbo.dt.jdevx.ui.JdxJboAddin.initVCSListener(JdxJboAddin.java:684)
at oracle.jbo.dt.jdevx.ui.JdxJboAddin.initJboProject(JdxJboAddin.java:203)
at oracle.jbo.dt.jdevx.ui.JdxLoader.doOpenProject(JdxLoader.java:1500)
at oracle.jbo.dt.jdevx.ui.JdxLoader.openProject(JdxLoader.java:1454)
at oracle.jbo.dt.jdevx.ui.JdxLoader.update(JdxLoader.java:147)
at oracle.ide.model.IdeSubject.notifyObservers(IdeSubject.java:94)
at oracle.ide.model.Node.notifyObservers(Node.java:458)
at oracle.ide.model.UpdateMessage.fireObjectOpened(UpdateMessage.java:681)
at oracle.ide.model.Node$1$4.run(Node.java:1527)
at oracle.ide.model.Node$1.invokeLaterIfNeeded(Node.java:1587)
at oracle.ide.model.Node$1.nodeOpened(Node.java:1520)
at oracle.ide.model.Node.fireNodeOpened(Node.java:1139)
at oracle.ide.model.Node.open(Node.java:573)
at oracle.ide.model.Node.ensureOpen(Node.java:976)
at oracle.ide.model.DataContainer$2.run(DataContainer.java:147)
at oracle.ide.model.Node.runWhileSynchronized(Node.java:809)
at oracle.ide.model.DataContainer.getSharedPropertiesOnly(DataContainer.java:152)
at oracle.ide.model.Project.getPropertiesImpl(Project.java:1047)
at oracle.ide.model.Project.getProperties(Project.java:320)
at oracle.jdeveloper.model.PathsConfiguration.getInstance(PathsConfiguration.java:89)
at oracle.jdeveloper.model.PathsConfiguration.getInstance(PathsConfiguration.java:84)
at oracle.jdeveloper.library.ProjectLibrary.getSourcePath(ProjectLibrary.java:67)
at oracle.jdeveloper.model.PathsConfiguration.getSourcePath(PathsConfiguration.java:146)
at oracle.jdeveloper.model.JavaProject$5.getValue(JavaProject.java:523)
at oracle.jdeveloper.model.JavaProject$CachingProjectChangeListener.projectOpened(JavaProject.java:478)
at oracle.ide.model.Project$StorageListener.fireProjectOpened(Project.java:1118)
at oracle.ide.model.Project$StorageListener.mav$fireProjectOpened(Project.java)
at oracle.ide.model.Project$NL.nodeOpened(Project.java:1077)
at oracle.ide.model.Node.fireNodeOpened(Node.java:1139)
at oracle.ide.model.Node.open(Node.java:573)
at oracle.adf.dt.providers.DCXDataControlProvider.addControlsToArrayList(DCXDataControlProvider.java:51)
at oracle.adf.dt.DataControlManager.getAllDataControls(DataControlManager.java:128)
at oracle.adf.dt.controls.treemodel.DataControlsTreeModel.<init>(DataControlsTreeModel.java:50)
at oracle.adf.dt.controls.treemodel.DataControlsTreeModel.<init>(DataControlsTreeModel.java:35)
at oracle.adf.dt.controls.treemodel.DataControlsTreeModel.<init>(DataControlsTreeModel.java:30)
at oracle.adf.dt.controls.treemodel.DataControlsTreeModel.<init>(DataControlsTreeModel.java:25)
at oracle.adf.dt.controls.DataControlsTree.createDataControlsTreeModel(DataControlsTree.java:81)
at oracle.adf.dt.controls.ModelCreator.run(DataControlsTree.java:113)
at oracle.adf.dt.controls.DataControlsTree.internalPopulateFromActiveWorkSpace(DataControlsTree.java:76)
at oracle.adf.dt.dbpanel.DataBindingPanelTree.update(DataBindingPanelTree.java:102)
at oracle.ide.model.IdeSubject.notifyObservers(IdeSubject.java:94)
at oracle.ide.model.Node.notifyObservers(Node.java:458)
at oracle.ide.IdeViewHandler.fireActiveProjectChanged(IdeViewHandler.java:147)
at oracle.ide.IdeViewHandler.activateProjectInWorkspace(IdeViewHandler.java:135)
at oracle.ide.IdeViewHandler.viewSelectionChanged(IdeViewHandler.java:166)
at oracle.ide.view.View.fireViewSelectionChanged(View.java:531)
at oracle.ideri.navigator.DefaultNavigatorWindow.fireViewSelectionChanged(DefaultNavigatorWindow.java:613)
at oracle.ide.view.View.updateSelectionImpl(View.java:484)
at oracle.ide.view.View.updateSelection(View.java:324)
at oracle.ideri.navigator.DefaultNavigatorWindow$3.viewSelectionChanged(DefaultNavigatorWindow.java:1011)
at oracle.ide.view.View.fireViewSelectionChanged(View.java:531)
at oracle.ide.view.View$4.actionPerformed(View.java:356)
at javax.swing.Timer.fireActionPerformed(Timer.java:271)
at javax.swing.Timer$DoPostEvent.run(Timer.java:201)
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)
I am unable to edit any of my business components. I get NullPointerExceptions when I try.
Any clue what's going on here and how to fix it? If I need to re-install, which directories do I need to copy over from the original installation to the new one in order to pick up where I left off (minus the errors, of course! )?
Thanks for any help!
AndyPardon the -bump-. I figured I'd give it one more try for feedback before I re-install and transfer all my settings, connections etc.
Thanks,
Andy -
Oracle 8 Lite & J Developer - Business Component Wizard
When I run the Business Component Wizard against the Oracle 8 Lite database it checks the connection ok, but fails with SQL Error [POL-5130] table or view not found.
This is at the step 3 of 3 - where it shows the available tables etc.
The default tables exist with data and this has been verified using SQL Plus
Any ideas ?
nullOracle8 Lite & JDeveloper & Business Component - combination is not working. The next version (JDeveloper) will fix that (atleast that is what oracle finland told me)
-
Issue Connecting from Oracle Business Component Browser - adf-config.xml
There are similar posts in the forum to this, but I wasn't able to glean from them what I should do.
Essentially, I tried Connecting by:
right clicking on a node under a Model project, and selected TEST.
When the Oracle Business Component Browser - Connect Dialog window opened, I clicked CONNECT.The Oracle Business Component Browser (Local) seems to have opened fine, but in the message log I see this:
"jar:file:/C:/JDeveloper/jdev/doc/studio_doc/ohj/bc4j_f1.jar!/bc4j_f1.hs"
Feb 10, 2007 10:16:30 AM oracle.adf.share.config.ADFConfigFactory findOrCreateADFConfig
INFO: oracle.adf.share.config.ADFConfigFactory No META-INF/adf-config.xml found
I'm not experienced enough to know whether this is significant or not, nor if so what I need to do about this.
Thank you to anyone who can help a newer person out with this.
Matt
Studio Edition Version 10.1.3.1.0.3984
Build JDEVADF_10.1.3.1.0_NT_061009.1404.3984
ADF Business Components 10.1.3.39.84
BPEL Designer 10.1.3.1.0 (Build 061009.0802)
Java™ Platform 1.5.0_06
CVS Version Internal to Oracle JDeveloper (client-only)
I found this release note, which mentions both adf-client.xml and JClient; I'm still too new to know whether this helps with this or not, but I'm hoping it does for someone out there.
Thanks again.
ON: http://www.oracle.com/technology/products/jdev/htdocs/10.1.3.0.3/readme.html
JClient Security Still Requires AM Property Setting (4889913)
JClient applications should continue to use application module configuration property jbo.security.enforce for enabling authentication and authorization.
The authorizationEnforce property in adf-config.xml new in 10.1.3 is not yet supported for JClient
Message was edited by: Matt
matt.techHi,
the adf-config.xaml file is not created by default and not needed by default. you need this to define custom skins or ADF Security.
For an example of adfs-config.xml doe skins see SRDemo sample app
Frank -
11g ADF Business Component Browser + ADF BC security
Hi gang
I was hoping somebody could help me out with the ADF BC security features as outlined section 28.4.3 of the Fusion Developer's Guide for JDev 11g.
1) I note once you've defined a Policy Store via the ADF Security wizard, each time you run the ADF Business Component Browser a login dialog then shows requiring a user to be authenticated. Is there anyway to turn this off for the ADF BC model project for testing purposes without removing the whole Policy Store set of files?
2) The EO + EO attributes allow the role "unauthenticated-role" as a permission, documented online as:
"Select when you want to grant access privileges to unauthenticated users. All users, including unauthenticated users, for example, those *not*required* to log on to the application, are automatically considered by Oracle Platform Security to be a member of the anonymous-role."
(Note my emphasis in the quote)
Given this, once the ADF Security is enabled, the login dialog always appear for the ADF Business Component Browser. How do you login in an unauthenticated fashion to test an unauthenticated user's privileges against an authenticated privileges?
Hope you can help with thanks,
CM.Chris,
you should be able to switch it on/off by setting
authorizationEnforce="false"
authenticationRequire="false"/>
in the .adf\META-INF\adf-config.xml file
you can edit this file from within JDeveloper
Frank -
Business Component Browser Navigation Bar
Is it necessary to extend the JUNavigationBar within 10.1.2 in order to get one that displays the page-scroll (that is visible within the Business Component Browser)?
I understand that one would have to add a second iterator (for the page rowset a'la the Web-components used within the ADF chapters within the Programmers manual for 10.1.2), but one would expect that the BCB Navigation bar would be available to developers - somewhere....
Oh well, enough already. I'm going for away for a weekend down the pub... lucky me!Sorry, I was killing time....
In the JDeveloper 10g handbook - one of the teen-chapters I think - there is at least one example using ADF (maybe with UIX) where yoiu can drag-n-drop a rowset-iterator onto a form, but then add in a second iterator to move by a set number of rows. So if your first iterator navigates ten rows, your second iterator would return the next ten rows.
As for the solution, I chose to do this...,
[The project is open-source, or - more accurately - will be when released.]
package MAGEMLexport;
import java.awt.*;
import java.awt.event.*;
import java.net.*;
import java.util.*;
import javax.swing.*;
import oracle.jbo.uicli.controls.*;
* Specialized version of the JUNavigationBar for the MiMiR application.
* @author Paul Jan Mehmet
* @version 1.2.0.0 [Initial Release]
public class MiMiRJUNavigationBar extends JUNavigationBar
implements ActionListener
private static ImageIcon pageIcons[] = new ImageIcon[2];
private static String imageDir = "images/";
private static String pageImages[] = {"prevpage.gif", "nextpage.gif"};
static final int PAGE_FORWARD = 99;
static final int PAGE_BACKWARDS = -99;
// Load images only once...
static
Class me = MiMiRJUNavigationBar.class;
for(int i = 0; i < pageImages.length; i++)
URL icon = me.getResource(imageDir + pageImages);
if(icon != null)
pageIcons[i] = new ImageIcon(icon);
private ArrayList listeners = new ArrayList();
private int target;
private MiMiRJButton pageButtons[] = new MiMiRJButton[2];
private String pageTooltips[] = {"Page back", "Page forward"};
private int scrollRange = 10;
* Creates a new MiMiRJUNavigationBar object.
public MiMiRJUNavigationBar()
super();
addPageButtons();
try
jbInit();
catch(Exception e)
e.printStackTrace();
private void jbInit()
throws Exception
this.setSize(new Dimension(400, 30));
* Adds to the MiMiRJUNavigationListeners Collection.
* @param mjunl The Object implementing the MiMiRJUNavigationListener Interface.
public synchronized void addMiMiRJUNavigationListener(
MiMiRJUNavigationListener mjunl
listeners.add(mjunl);
* Removes from the MiMiRJUNavigationListeners Collection.
* @param mjunl The Object implementing the MiMiRJUNavigationListener Interface.
public synchronized void removeMiMiRJUNavigationListener(
MiMiRJUNavigationListener mjunl
listeners.add(mjunl);
* The action to act when an ActionEvent is triggered.
* @param e The ActionEvent triggered.
public void actionPerformed(ActionEvent e)
super.actionPerformed(e);
Object source = e.getSource();
if(source instanceof MiMiRJButton)
int key = ((MiMiRJButton)source).getKey();
switch(key)
case PAGE_FORWARD :
scrollPage(true);
break;
case PAGE_BACKWARDS :
scrollPage(false);
break;
default :}
_updateButtonStates();
else // Normal JButton in JUNavigator
for(int i = 0; i < JUNavigationBar.BUTTON_EXECUTE; i++)
if(source == super.getButton(i))
target = i;
break;
fireMiMiRJUNavigationEvent();
private synchronized void fireMiMiRJUNavigationEvent()
MiMiRJUNavigationEvent mjune = new MiMiRJUNavigationEvent(this, target);
Iterator i = listeners.iterator();
while(i.hasNext())
((MiMiRJUNavigationListener)i.next()).navigationEvent(mjune);
protected void addPageButtons()
String buttons[] = {"pageBack", "pageForward"};
for(int i = 0; i < buttons.length; i++)
int unary = (i == 1)
? PAGE_FORWARD : PAGE_BACKWARDS;
if(MiMiRJUNavigationBar.pageIcons[i] != null)
pageButtons[i] =
new MiMiRJButton(MiMiRJUNavigationBar.pageIcons[i], unary);
else
pageButtons[i] =
new MiMiRJButton(MiMiRJUNavigationBar.pageImages[i], unary);
pageButtons[i].setBorderPainted(false);
pageButtons[i].setFocusPainted(false);
pageButtons[i].setMargin(new Insets(0, 0, 0, 0));
pageButtons[i].setBorder(
BorderFactory.createLineBorder(java.awt.Color.lightGray, 0)
pageButtons[i].setEnabled(false);
pageButtons[i].setToolTipText(pageTooltips[i]);
this.add(pageButtons[i]);
pageButtons[i].addActionListener(this);
_updateButtonStates();
protected void _updateButtonStates()
super._updateButtonStates();
pageButtons[0].setEnabled(
getButton(BUTTON_PREV).isEnabled() &&
(getModel().getCurrentRowIndexInRange() >= scrollRange)
pageButtons[1].setEnabled(
getButton(BUTTON_NEXT).isEnabled() &&
((getModel().getCurrentRowIndexInRange() + scrollRange) < getModel()
.getAllRowsInRange().length)
* Sets the size - in rows - that the MiMiRJUNavigationBar will scroll
* when the page buttons are pressed.
* @param scrollRange The int number of rows to scroll.
public void setScrollRange(final int scrollRange)
this.scrollRange = scrollRange;
* Returns the size - in rows - that the MiMiRJUNavigationBar will scroll
* when the page buttons are pressed.
* @return int The number of rows to scroll.
public int getScrollRange()
return scrollRange;
protected void scrollPage(boolean forward)
int direction = forward
? 1 : (-1);
getModel().setCurrentRowIndexInRange(
getModel().getCurrentRowIndexInRange() + (direction * scrollRange) -
Business component errors messages
I would like to customize the Business component errors messages in order for it to be more explicite
For example, I would like to translate the following error message:
DAC-305: DbAccess commitTransaction failed. Session: modelSessionInfo
JBO-26041: Failed to post data to database during "Delete": SQL Statement " DELETE FROM HW_MODEL HwModel WHERE MODEL_ID=:1".
ORA-02292: integrity constraint (ISM.CT_MODEL_FK) violated - child record found
into a more comprehensive message, i.e. :
You must delete all dependent items before this model
can I cature the business component errors messages and create a dictionary
How can I do that?
Thank for you reply
nullVincent,
Here is something that was posted last year.
http://technet.oracle.com:89/ubb/Forum2/HTML/002476.html
I've been looking for something like this too.
Personally, I think the answer above is ridiculous. Why doesn't JDeveloper allow you to put in an error message along with the validation that you create? Instead you get this ugly, ugly message along the lines of:
"JBO-27011: Attribute set with value 6 for OffsetCode in TaxCodeLkp failed"
Yeesh, does it get any uglier than that? Come on guys, give us a string we can specify when creating the validation that you store in the XML and pull out and display. Use this ugly message when there is nothing specified.
Can anyone from Oracle explain why we have to jump through hoops to do something so basic to development of Business Applications? How did you miss this?
Joe -
Business Component Browser cant find the Database Connection
Hi all,
I created a project with JdevTP3, created a database connection, the entities from the tables and the view objects. I'm trying to test it with Business Component Browser and it always give me the message :
(oracle.jbo.ConfigException) JBO-33003: Connection name <conn_name> not defined
I'm using a JDBC URL connection with a XE database. I've also tried with a IDE connection, copying it to the project. The same error.
I reinstalled the jdev and nothing. It seems to be a easy one but I'm new with JDeveloper.
Tks.Hi,
yes, i have everything installed without spaces (C:\jdev11gtp3). I right-clicked the app module, it shows me the "select business components configuration" dialog where the JDBC URL connectio is and when i click connect it shows me the message :
(oracle.jbo.ConfigException) JBO-33003: Connection name ORACLE_RSC not defined
If I click <stack> in the error windows it shows me :
oracle.jbo.jbotester.ErrorHandler$ExceptionWrapper: JBO-29000: Unexpected exception caught: oracle.jbo.ConfigException, msg=JBO-33003: Connection name ORACLE_RSC not defined
at oracle.jbo.jbotester.ErrorHandler.displayError(ErrorHandler.java:90)
at oracle.jbo.jbotester.ErrorHandler.displayError(ErrorHandler.java:83)
at oracle.jbo.jbotester.MainFrame.main(MainFrame.java:434)
## Detail 0 ##
oracle.jbo.ConfigException: JBO-33003: Connection name ORACLE_RSC not defined
at oracle.jbo.client.Configuration.initializeFromConnectionName(Configuration.java:1082)
at oracle.jbo.client.Configuration.getConfiguration(Configuration.java:596)
at oracle.jbo.client.Configuration.getConfiguration(Configuration.java:499)
at oracle.jbo.jbotester.MainFrame.processArgs(MainFrame.java:580)
at oracle.jbo.jbotester.MainFrame.main(MainFrame.java:428)
----- Level 1: Detail 0 -----
oracle.jbo.ConfigException: JBO-33003: Connection name ORACLE_RSC not defined
at oracle.jbo.client.Configuration.initializeFromConnectionName(Configuration.java:1082)
at oracle.jbo.client.Configuration.getConfiguration(Configuration.java:596)
at oracle.jbo.client.Configuration.getConfiguration(Configuration.java:499)
at oracle.jbo.jbotester.MainFrame.processArgs(MainFrame.java:580)
at oracle.jbo.jbotester.MainFrame.main(MainFrame.java:428)
But there is a ORACLE_RSC JDBD URL connection that i used to fetch the tables to create to entities...
any ideas???
Tks.. -
Business Component Browser dies when using bind parameter
Hi,
I'm using JDeveloper 11.1.1.0.2 on Windows XP
When I start the Business Component Browser and open a ViewObject using a bind parameter, causing to query more than one row, CPU goes to 100%
Half the time I get an java.lang.OutOfMemoryError: Java heap space
The table I use containts only 100 rows...
Is this a bug perhaps?
Greetings,
HJHsame here . . .
any others? -
Deploy Business Component Project with 3.2
I use the JDeveloper 3.2 to create a simple Buciness Component Project, with an application module, which contains only a table object(entity & view object). I follow the step of deplyment in the
on-line help to deploy the project as an EJB session Bean for 8i, (set the application Module's remote mode to "EJB Session Bean", create the deployment profile, than deploy it.) However, I got a lot of error message with the following err-code. Where am I wrong? Please help me. Thank You...
ORA-29521 referenced name string could not be found
ORA-29534 referenced object string.string could not be resolved
(I have successfully deploy a Business Component Project with JDeveloper 3.1.2 in another environment with the same Database schema. I have no idea why can't I deploy the project with
3.2?)
ERicfter granted Java2 permissions, the above problem was solved, however, I got the following error message
when I deploy the business project:
Loading EJB Jar file and Comm Stubs Jar file...
Cannot locate the LoadJava server: Unknown reasons
*** Errors occurred while deploying the EJB to 8i JVM ***
can anyone help me?
ERic
Maybe you are looking for
-
Need to exchange ink bought a new printer and have old ink
Hi I recently bought a new printer the HP ENVY 7645 . My old printer C310 stopped working. I now have plenty of unused new ink I would like to exchange for new ink for my new printer. I just spoke to a customer service person and they have me a c
-
ZEN Vision M: Album art stuck. Can't chan
I've come across a strange problem and was hoping someone could help. Any help is much appreciated. Before we start, Album Art = AA Ok, I have 2 albums named 'Greatest Hits', one by Sublime and one by The Offspring. I was adding AA using MediaMonkey
-
Webutil bean not found when using call_form with no_share_library_data
Hi, I have two Forms modules and i navigate from Form A to Form B using a call_form. If i call Form B with NO_SHARE_LIBRARY_DATA param, i get a webutil error: "oracle.forms.webutil.file.filefunctions bean not found" If i call it with SHARE_LIBRARY_DA
-
Hi All, I have a doubt in OSB. In BPEL if any project is deployed and we test that BPEL process instance will get created in em console for the process.If error occurs at any stage of the BPEL process we can see where the error has occured and what e
-
Mac app store will not open/missing
app store .app will not open- it appears to be missing from my version of OSX (10.6.8) entirely somehow, meaning I can';t update to Mavericks. I've searched the OSX forums to no avail and performed system updates. Any help?