Jdev 10.1.2 Add Business Component Issue
Error appearing is "Unable to load Business Components. The package xml file is not in the proper package".
Under Jdev 9.0.5.2 you could create a business component then with that item highlighted select 'x' on the navigator toolbar to remove the Business Component from the project (Not erased). To add the same item back into the project you highlighted the package, selected '+' on the navigator toolbar highlighted the Business Component source files then click open then yes.
Under JDev 10.1.2.0.0 doing the same does not work. The business component is correctly removed from the project but there seems to be no way to add it back to the project/package (error above always appears).
Has anybody else seen this issue ?
I am mid-way through a major schema refactor and this is causing a big problem.
Based on the package (see FullName below), the metadata file would be called package.xml in this case.
It is there the Containee entries would be added.
For an Entity Object
<Containee
Name="YourEntityObject"
FullName="com.site.package.YourEntityObject"
ObjectType="Entity" >
</Containee>
For a View Object
<Containee
Name="YourViewObject"
FullName="com.site.package.YourViewObject"
ObjectType="ViewObject" >
</Containee>
where
YourEntityObject
- Name of the entity object business component to be added
(This may be based on a number of seperate files such as YourEntityObject.xml, YourEntityObject.java, YourEntityObjectRow.java etc, depending on options taken at design time).
YourViewObject
- Name of the view object business component to be added
(This may be based on a number of seperate files such as YourViewObject.xml, YourViewObject.java, YourViewObjectRow.java etc, depending on options taken at design time).
Similar Messages
-
Error while adding ADF Business Component
Hi All,
I am using JDev 11.1.1.3 and trying to create a new Application.
Under the Model Project of this Application when I am trying to add Business component I am getting following error:
" *Wizard Open Error*
*Illegal name. It is either a reserved word or an object of a given name already exists within the project.*
*com.java.DemoApp.Model*
*Exception: oracle.jbo.dt.objects.JboException* "
Steps I followed:
New Application --> Fusion Web Application (ADF) --> Gave App name and hit Finish Button.
Model and View Controller Projects got created.
Now when I am trying to add ADF Business Component I am Getting above error.
Please HelpHi John ,
Please find details and steps below:
1. Open Jdev
2. Click New Application
3. Create Fusion Web Application (ADF)
wizard will come up
Details entered:
Application Name: DemoApp
Directory: D:\Jdev\mywork\DemoApp
Application Package Prefix com.java.Demo
4. Hit Next Button
Project 1Name come (Step 2 of 5)
Project Name Model (Default Project Name)
Directory D:\Jdev\mywork\DemoApp\Model (Automatically Populated)
No changes done
5. Hit Next Button
Project 1 Java Settings come (Step 3 of 5)
Below values automatically populated
Default package com.java.Demo.model
Java Source Path D:\Jdev\mywork\DemoApp\Model\src
Output Directory D:\Jdev\mywork\DemoApp\Model\classes
No changes done
6. Hit Next button
Project 1Name come (Step 4 of 5)
Project Name ViewController (Default Project Name)
Directory D:\Jdev\mywork\DemoApp\ViewController (Automatically Populated)
No changes done
7. Hit Next Button
Project 1 Java Settings come (Step 4 of 5)
Below values automatically populated
Default package com.java.Demo.view
Java Source Path D:\Jdev\mywork\DemoApp\ViewController\src
Output Directory D:\Jdev\mywork\DemoApp\ViewController\classes
No changes done
8. Click Finish Button
9. Select Model Project under Application Navigator
10. Right Click and select New --> ADF Business Component --> Application Module --> Ok
Error Thrown..
Please let me know if more details required
Thanks and Regards
Manav Ratra -
Bug: Business Component Browser
Hi JDev team
In JDev 11g TP ADF BC Business Component Browser, I have an updateable VO based on an EO, that displays as follows:
http://members.iinet.net.au/~chriscmuir/pic4.png
You'll note how the field labels in the data viewer are greyed out, yet the fields are enabled.
I can't quite work out why this VO has decided to do this? The greyed out labels are normally for read-only VOs.
As such I think there is a bug here but can't work out why it's occurring. Is there anything I can check to assist you in tracking this one down?
Regards,
CMCan you email me a *.jar file with your workspace so I can see if it still reproduces in later builds? ([email protected])
Please include the URL to this thread in the mail for reference/tracking on my side. Thanks. -
Issue with "firstRecord" Business Component method of JAVA Data bean API.
Hi,
Following is my use-case scenario:
I have to add or associate child MVG business component (CUT_Address)
with the parent business component (Account) using JAVA Data bean API.
My requirement is: first to check whether child business component(i.e. CUT_address) exists. If it exists then associate it with parent business component (Account)
otherwise create new CUT_address and associate it with account.
Code (using JAVA Data bean APIs) Goes as follows:
SiebelBusObject sBusObj = connBean.getBusObject("Account");
parentBusComp = sBusObj.getBusComp("Account");
SiebelBusComp parentBusComp;
SiebelBusComp childBusComp;
// retrieve required account.. Please assume Account1 exists
parentBusComp.activateField("Name");
parentBusComp.clearToQuery();
parentBusComp.setSearchSpec("Name", "Account1");
sBusComp.executeQuery2(true, true);
sBusComp.firstRecord();
Counter = 0;
while (counter < Number_Of_Child_Records_To_Insert)
childBusComp = parentBusComp.getMVGBusComp("City");
associatedChildBusComp = childBusComp.getAssocBusComp();
childBusComp.activateField("City");
childBusComp.clearToQuery();
childBusComp.setSearchSpec("City", Vector_of_city[counter]);
sBusComp.executeQuery2(true, true);
if( sBusComp.firstRecord() )
// Child already exist and do processing accordingly
else
// Child does not exist and do processing accordingly
childBusComp.release();
childBusComp = null;
associatedChildBusComp.release();
associatedChildBusComp=null;
Now the issue with this code is: For the first iteration, SbusComp.firstRecord returns 0 if records does not exist. However from the second iteration, SbusComp.firstRecord returns 1 even if there is no record matching the search specification.
Any input towards the issue is highly appreciable.
Thanks,
Rohit.Setting the view mode to "AllView" helped.
Thanks for the lead!
In the end, I also had to invoke the business component method SetAdminMode with "true" as the argument so that I could also modify the records from my script. -
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 -
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 -
Not able to add a business component in Integration Scenario
Hi Experts,
I have Imported an Integration Scenario from ESR into ID. I am trying to assign a business component but its showing only the business systems in search result and not any business component. What would be the reason?
Regards,
Pranil ShindeHi,
I have created integration scenario in ESR using two actions for IB and OB interface. Then I have imoprted IS into ID.
Now in model configurator in ID, while assigning the business component to Inbound interface action, its not showing me the business compnent created in search result.
Regards,
Pranil
Edited by: pranil shinde on Feb 9, 2012 5:41 PM -
Bug: JDev 10.1.3.1 Oracle Business Component Browser NullPointerException
During the test of the Application Module using Business Components Browser (right click on TechnicianService -> Test):
Oracle Business Component Browser: If you try to double click on ViewLink1 node as explained in JDeveloper Manual and set the TechName variable then you’ll get a NullPointer Exception.
The workaround is to double click on Technicians Node and then set the TechName variable but it would be nice to have it patched.Hi,
this is what I crated as a test based on teh HR schema
1. DepartmentsView
2. EmployeesView with a bind parameter for QBE
3. DepartmentsView and EmployeesView linked via auto generated VL
When I test this and double click the link then I see two scenarios
- Departments and Employees are shown if the bind parameter has a default value
- Departments with no Employees are shown if there is no default value set
Double clicking the EmployeesView brings up the QBE dialog
Can you confirm that his usecase works for you as well? In this case the problem shows to be within you project
Frank -
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 -
Business component browsing may be unavaliable
Hey there guys,
Learning the basics of ADF here. Tried running my application module so I could take a look at my VOs and no data was showing up... I'm seeing "Business Object Browsing may be unavailable" and am struggling to figure out why... my google-fu is weak.
Possible compatibility issue? I'm running WLS 10.3.5, Oracle XE 11g release 2, jDev 11.1.1.6.0.
Jan 21, 2013 10:55:25 AM oracle.adf.share.ADFContext getCurrent
WARNING: Automatically initializing a DefaultContext for getCurrent.
Caller should ensure that a DefaultContext is proper for this use.
Memory leaks and/or unexpected behaviour may occur if the automatic initialization is performed improperly.
This message may be avoided by performing initADFContext before using getCurrent().
For more information please enable logging for oracle.adf.share.ADFContext at FINEST level.
Jan 21, 2013 10:55:26 AM oracle.mds
NOTIFICATION: PManager instance is created without multitenancy support as JVM flag "oracle.multitenant.enabled" is not set to enable multitenancy support.
Diagnostics: (Properties (re)loaded) Routing diagnostics to standard output (use -Djbo.debugoutput=silent to remove)
[00] Diagnostic Properties: Timing:false Functions:false Linecount:true Threshold:6
[01] Loading from individual XML files
[02] Loading the Containees for the Package 'oracle.fod.storefront.StorefrontModel'.
[03] Connected to Oracle JBO Server - Version: 11.1.1.61.92
[04] No XML file /oracle/fod/storefront/test/test.xml for metaobject oracle.fod.storefront.test.test
[05] MDS error (MetadataNotFoundException): MDS-00013: no metadata found for metadata object "/oracle/fod/storefront/test/test.xml"
[06] Cannot Load parent Package : oracle.fod.storefront.test.test
[07] Business Object Browsing may be unavailable
[08] No XML file /oracle/fod/storefront/uiview/uiview.xml for metaobject oracle.fod.storefront.uiview.uiview
[09] MDS error (MetadataNotFoundException): MDS-00013: no metadata found for metadata object "/oracle/fod/storefront/uiview/uiview.xml"
[10] Cannot Load parent Package : oracle.fod.storefront.uiview.uiview
[11] Business Object Browsing may be unavailable
[12] No XML file /oracle/fod/storefront/entity/entity.xml for metaobject oracle.fod.storefront.entity.entity
[13] MDS error (MetadataNotFoundException): MDS-00013: no metadata found for metadata object "/oracle/fod/storefront/entity/entity.xml"
[14] Cannot Load parent Package : oracle.fod.storefront.entity.entity
[15] Business Object Browsing may be unavailable
[16] Loading Typemap entries from oracle.jbo.common.OracleTypeMapEntries
[17] StringManager initialized and added to appscopeoracle.adf.share.HashMapScopeAdapter@1b979c0
[18] Stringmanager using default locale: 'en_US'
[19] CSMessageBundle (language base) being initialized
[20] OracleSQLBuilder reached getInterface
[21] * * * Use jdbc with no defineColumnType calls * * *
[22] Oracle SQL Builder Version 3.2.0.0.0
[23] ViewRowSetImpl's jbo.viewlink.consistent = default (2)
[24] Using DatabaseTransactionFactory implementation oracle.jbo.server.DatabaseTransactionFactory
[25] DBTransactionImpl.mDefaultValidationThreshold is 10
[26] mPCollUsePMgr is false
[27] ViewObjectImpl.mDefaultMaxRowsPerNode is 70
[28] ViewObjectImpl.mDefaultMaxActiveNodes is 30
[29] DBTransactionImpl Max Cursors is 50
[30] Default locking mode changed to: optimistic
[31] Created root application module: 'oracle.fod.storefront.test.TestAM'
[32] Locale is: 'en_US'
[33] ApplicationPoolImpl.resourceStateChanged wasn't release related. No notify invoked.
[34] Oracle SQLBuilder: Registered driver: oracle.jdbc.OracleDriver
[35] Creating a new pool resource
[36] Trying connection/2: url='jdbc:oracle:thin:@localhost:1521:XE' ...
[37] **** DBTransactionImpl establishNewConnection
[38] Successfully logged in
[39] JDBCDriverVersion: 11.2.0.3.0
[40] DatabaseProductName: Oracle
[41] DatabaseProductVersion: Oracle Database 11g Express Edition Release 11.2.0.2.0 - Production
[42] DBTransactionImpl initTransactionThanks for the reply Frank,
Unfortunately I have run my app module as you've said, but that's where I became concerned. The Business Component Browser pops up at that point which correctly displays all of the EOs and VOs on the lefthand side but as I look through them none of my data is being queried. The textboxes for my colums are blank and greyed out as I look through the objects, I cannot browse my data with the left/right arrows. This is why I started looking for suspect exceptions/warnings. -
SBL-DAT-00222: An error has occurred creating business component 'Admin SEA
Hello,
I am also facing simillar issue.
I am trying to create admin account through Siebel Data bean using Business object "Users" and business component "User";
It works from Web client. but fails from siebel databean program.
Following is an error in SCCObjManager log :-
Please ask your systems administrator to check your application configuration.
ObjMgrMiscLog Error 1 0000001650241a04:0 2012-08-13 14:26:48 (busobj.cpp (1666)) SBL-DAT-00222: An error has occurred creating business component 'Admin SEA Application' used by business object 'Users'.
Please suggest.
Siebel Environment details:-
Siebel 8.2.2.0.0 - Windows 2008 R2 SP1
Database - Oracle 11g
We are using database as security adapter.I have never worked with Databeans and neither with Siebel 8.2.2.
But when I look in Siebel 8.1.1.3 Tools at the Business Object 'Users', I don't see the business component 'Admin SEA Application'.
The Business Component does exist, but in a different Business Object.
Perhaps you should review the code of the Databean.
If all else fails, you can try to add it through Business Object 'Employee' and Business Component 'Employee'. -
Moving a business component to a business component package URGENT
Hi there,
Aim: I want to use one the attributes from an existing EO, by creating a VO which points to the EO.
Procedure taken: I've downloaded the EO.class and EO.xml file from the database to my local machine. I've opened the EO.class and EO.xml file within jdeveloper and it automatically adds it to my project path (not business component package). I've shown the dependencies of the two files and thus know which business component package (path) they belong to. I've created a business component package which is the same (path) as the one shown through dependency.
Problems: I try to move the EO.class and EO.xml file to business component package created but it won't move. I want to create a VO pointing to the EO but if the EO is within the project path and not a business component package it won't let me refer to it.
Question: How can I add the EO to the business component package?
Thanks in advanceIf this is the same issue as this thread, then please follow the discussion there.
Adding an existing Oracle Standard EO to my project
Thanks
Tapash -
Solution Manager 7.1 Upgrade - ST add on release Issue
Good day
I have the following issue where the ST add on's are = the target release of the upgrade. The release is only on a higher patch level in 7.1(SPS4)
The step is Configuration(3) in SOLMANUP, it will not get past the phase of deciding to keep the add on's, the error is:
For the following Add-on component(s) the KEEP YOURS decision is not longer valid,
since at least for one of the base components an Add-on upgrade has been included:
ST-ICO (changed base component: ST)
ST-PI (changed base component: SAP_BASIS)
ST-SER (changed base component: ST-PI)
You need to change the decision of the above Add-on(s).
Any ideas?
ThanksHi Miguel,
I am using SOLMANUP, I am using the installation/upgrade software and using SPS 4 as my target release. I am using SPS4_upgrade.xml in my download directory.
If I try using SPS 2 with SPS2_upgrade.xml it produces an error because my patch level of ST-PI is already patch 5 in my current system(Solution Manager 7.01 EHP1), and SPS 2 of Solution Manager 7.1 ST-PI = patch 4, that's why I am using SPS 4 stack as it is a higher level that my current patch level of ST-PI.
The issue is that the mentioned ST add-on's are the same release as the target release, the only difference is the patch level. The upgrade recognises that the source and target release is the same, but will not let me keep with Decision = Keep
Thanks
Derek -
How to customise the default business component wizard
I Would like to customize the default Business component wizard for my application so that some of the option should be dissabled. (e.g when I associate my business component with several tables I see a window which shows insert '+', delete 'x' etc) will come by default I would like to hide delete from this.
Can any one tell me how do I customise my Business application window?
Thanks
JitendraI looked into "Modifying Data Form Generation Templates" which says there will be template.properties but could not find this file.
Actually my problem is I would like to add/delete some of menu item in the default business component browser. If possible to do this ?
Or would like to create a browser something similar to BC4J browser which gives me a list of tables to browse and each table gets opened as a data frame (Frame is easy to modify). Something like MDI for Data Frame.
Any help on this would be helpful.
Thanks
null -
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
Maybe you are looking for
-
How to create feilds in Webi reports with where condition
I need to create a feild display name by keeping the constraint condition o Display value – dbo.Personnel.Fullname METRICPERSONNEL o Joining tables – dbo.MetricRequestTeam.MetricRequestKey, dbo.MetricRequest.MetricRequestKey o Constrain
-
Output in flat file master data loading
Hi gurus, iam loading master data to an info object from a flat file. In the output the headers ( info objects) names i was seeing only long descriptions, but not technical names given by me. How to see the technical names of the info objects in the
-
JDBC Adapter Communication Channel error
I am getting this error for a JDBC Adapter, I waondering if anybody could point me in the right direction. I have installed the driver: JDBC Driver: oracle.jdbc.driver.OracleDriver Connection: jdbc:oracle:thin:@146.146.78.74:1521:ts1 Error: Error whe
-
Enq: TX - row lock contention
DB version: 10.2.0.3 Could someone provide the possible reasons for this type of lock. I have an update locks atleast once or more a day with this type of lock and will not be finished until I kill off the session. I have run query below and also sev
-
Here is my problem: "To open "Adobe Photoshop CS5.1" you need to install the legacy Java SE 6 RUNTIME" after upgrading iMac to Yosemite, can anybody help?