Business Components Load Error
Hi.
I'm using JDeveloper 11.1.2.1.0 and I can see the following message in the Message log;
Business Components: Load error - (null)
Business Components: Load error.
Object: (null)
With a reference to the Model jpr file for the project.
The application runs ok despite this message, but I'm concerned there may be problems lurking. I'm guessing this may be a hangover from attempting to remove a View Object definition from the Model project - which itself seems quite problematic (running into caching problems etc).
So, does anybody:
a) know how to resolve this load error issue and / or remove the null object reference
b) know of any problems it may cause if it cannot be removed
Thanks for your help.
Do you have a source control system (svn, git,...) you use with the application?
The Model,jpr file is corrupt which may cause trouble later. Right now everything looks working, but there might some display problems when you open e.g. the application module or VO.
Save the current (corrupt?) jpr file and try to restore it from the repository until you find one which loads without the problem. Once you have on select the project in the application navigator and click on refresh (ctrl-r). This should add missing content back again.
Timo
Similar Messages
-
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.
GregNew 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 -
Error loading business components
Hi,
When I start JDeveloper I get message "Error loading business components".
Does it have any impact on further activities ?
How to correct this ?
MarkI have similar problems in latest JDev 10.1.3 update 3.
In JDeveloper 10.1.2 this happened on VO based on entities from different packages.
In this version it seems to happen after the garbage collection does its job (I'm supposing).
What's more annoying is that in JDev 10.1.2 I had a workaround (open a simple VO when entering the IDE) and even when the error occured, you could stll enter all model component and their classes in edit mode.
In JDev 10.1.3 it's a blocking error, ALL model components become read-only + their classes (EntityImpl) are NOT reachable and the Data component palette is unusable??
The only workaround is to reopen the IDE??
Thanks
Fred -
Error Loading Business Components for Project
Good Afternoon,
I am running JDeveloper ver. 10.1.2
when I open JDeveloper I get the pop up:
Error Loading Business Components for Project
U:\Jdev\mywork\CUSTLEVR\CUSTLEVR\CUSTLEVR.jprYou could simply edit the .jpr file outside the Jdeveloper and remove <ownerMap /> element.
Additionaly, there are some <properties> in the bottom of the file, that need to be removed as well - try experimenting with them. -
Load Error - Business Components
I created a project that has business components and when I close down JDeveloper and reopen I get the following message below
More Information:
We use a central objects and import them into each project that must use them. I am assuming that the issue is the projects are not seeing the central ADF Objects. But I would like to know how to Fix this without rebuilding everything all over again....
JDeveloper Version: 10.1.3.0.4.3673
Enviroment: Creating ADF Client ( Swing ) Application
Error Messages:
Object prices.phoenix.conformity.adf
Project: xxx
The following object refeered to object that could not be found:
Prices.phoenix.conformity.adf.CProductOfferView
Could not find the following objects:
Prices.phoenix.dbo.Banner
Stack Trace:
[ pre]
oracle.jbo.dt.objects.JboException: The following object(s) referred to
objects that could not be found:
prices.phoenix.conformity.adf.C_ProductOfferViewEx
Could not find the following referenced object(s):
prices.phoenix.dbo.Banner
at
oracle.jbo.dt.objects.JboException.throwException(JboException.java:81)
at
oracle.jbo.dt.objects.JboPackage.loadResolveReferencesXML(JboPackage.jav
a:1397)
at
oracle.jbo.dt.objects.JboPackage.finishObjectsLoad(JboPackage.java:1042)
at
oracle.jbo.dt.objects.JboPackage.loadFromXMLFile(JboPackage.java:972)
at
oracle.jbo.dt.objects.JboPackage.loadFromXMLFile(JboPackage.java:951)
at
oracle.jbo.dt.objects.JboBaseObject.loadFromXMLFile(JboBaseObject.java:2
555)
at
oracle.jbo.dt.objects.JboPackage.loadFromXMLFile(JboPackage.java:880)
at
oracle.jbo.dt.objects.JboPackage.checkForLoad(JboPackage.java:451)
at
oracle.jbo.dt.objects.JboPackage.findContainedObjectByName(JboPackage.ja
va:440)
at
oracle.jbo.dt.objects.JboPackage.findObjectByName(JboPackage.java:1999)
at
oracle.jbo.dt.objects.JboApplication.findObjectByName(JboApplication.jav
a:943)
at
oracle.adf.dt.providers.BC4JDataControlProvider.createDataControls(BC4JD
ataControlProvider.java:153)
at
oracle.adf.dt.providers.BC4JDataControlProvider.addControlsToArrayList(B
C4JDataControlProvider.java:98)
at
oracle.adf.dt.DataControlManager.getAllDataControls(DataControlManager.j
ava:129)
at
oracle.adf.dt.controls.treemodel.DataControlsTreeModel.<init>(DataContro
lsTreeModel.java:50)
at
oracle.adf.dt.controls.treemodel.DataControlsTreeModel.<init>(DataContro
lsTreeModel.java:35)
at
oracle.adf.dt.controls.treemodel.DataControlsTreeModel.<init>(DataContro
lsTreeModel.java:30)
at
oracle.adf.dt.controls.treemodel.DataControlsTreeModel.<init>(DataContro
lsTreeModel.java:25)
at
oracle.adf.dt.controls.DataControlsTree.createDataControlsTreeModel(Data
ControlsTree.java:81)
at
oracle.adf.dt.controls.ModelCreator.run(DataControlsTree.java:113)
at
oracle.adf.dt.controls.DataControlsTree.internalPopulateFromActiveWorkSp
ace(DataControlsTree.java:76)
at
oracle.adf.dt.dbpanel.DataBindingPanelTree.dataControlSetChanged(DataBin
dingPanelTree.java:115)
at
oracle.adf.dt.DataControlManager.notifyDataControlSetChanged(DataControl
Manager.java:54)
at
oracle.adf.dt.dbpanel.DataBindingPanel.populateTreeIfNecessary(DataBindi
ngPanel.java:99)
at
oracle.adf.dt.dbpanel.DataBindingDockeableWindow.dockableShown(DataBindi
ngDockeableWindow.java:140)
at
oracle.ide.docking.DockableWindow$ShowHideTranslator.dockableShown(Docka
bleWindow.java:68)
at
oracle.ideimpl.docking.DockStationImpl.fireDockableEvent(DockStationImpl
.java:961)
at
oracle.ideimpl.docking.DockStationImpl.fireDockableEvent(DockStationImpl
.java:1001)
at
oracle.ideimpl.docking.TitledPanel.fireDockableShown(TitledPanel.java:62
7)
at
oracle.ideimpl.docking.TitledPanel.setPageVisible(TitledPanel.java:828)
at
oracle.ideimpl.docking.TitledPanel.showClient(TitledPanel.java:758)
at
oracle.ideimpl.docking.TitledPanel.setClientVisible(TitledPanel.java:745
at
oracle.ideimpl.docking.TitledPanel.setClientVisible(TitledPanel.java:738
at
oracle.ideimpl.docking.TitledPanel.loadVisibilityLayout(TitledPanel.java
:1799)
at
oracle.ideimpl.docking.DockPanel.loadVisibilityLayout(DockPanel.java:200
at
oracle.ideimpl.docking.AbstractDockPanelHost.loadVisibilityLayout(Abstra
ctDockPanelHost.java:94)
at
oracle.ideimpl.docking.DockStationImpl.onStartup(DockStationImpl.java:14
08)
at
oracle.ideimpl.docking.DockStationImpl.loadLayout(DockStationImpl.java:1
353)
at
oracle.ideimpl.docking.DockStationListener.init(DockStationListener.java
:36)
at oracle.ide.layout.Layouts.activate(Layouts.java:758)
at oracle.ide.layout.Layouts.activateLayout(Layouts.java:176)
at
oracle.ideimpl.MainWindowImpl$2.runImpl(MainWindowImpl.java:743)
at
oracle.javatools.util.SwingClosure$1Closure.run(SwingClosure.java:50)
at
java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:199)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThrea
d.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)
[ /pre]
Message was edited by:
cchobanik
Message was edited by:
cchobanik
Message was edited by:
cchobanikJust to let everyone know the issue is a result of this error:
Compile Errors
Cory -
Associations and Links does not load when creating Business Components
Hi guys,
I am having a problem when I create my business components from table. Let's say that I start a new fusion web application. I then create my business components, enter the proper database connection settings. After everything is done, I am only getting my entities and my views, without any associations and links.
The thing is that it worked the first time. Everything loaded as it should. I then asked a collegue of mine to try on his computer. Surprise, everything loads perfectly just like it did the first time I did it.
I then tried on one of my linux virtual machine, via the same PC that I am having the problem. Again, the same problem, even if this is another JDeveloper instance (vm).
I have read the thread 2187263 that mentions to re-create the DB connection. Again, it is not working.
Associations and View Links missing in JDeveloper 11.1.1.3 and 11.1.1.4
I saw this under the "Messages - Log" tab in JDeveloper :
Aug 7, 2012 11:09:06 AM oracle.jdbc.driver
SEVERE: 3F794B56 Throwing SQLException: 3
Aug 7, 2012 11:09:06 AM oracle.jdbc.driver
SEVERE: 6C9DD8BE Throwing SQLException: ORA-00936: missing expression
I am using JDeveloper 11.1.1.6.
Any help would do, since I do not want to uninstall JDeveloper and reinstall it again and again...Yes. In SQL Developer, when I click "Modify" on one of my tables, and then on "Foreign Keys", I can see them all.
Like I said, it worked on a different workstation, and it worked before on my computer. -
How to load data from XML DOM into tables using Business Components
<p>
Hi,
</p>
<p>
I need to upload XML file (it's not a problem) an load data (DOM tree) from this file into relationan tables. This filelooks like this:
</p>
<p>
<font face="courier new,courier" size="2"><Departments>
<Department>
<DepartmentName>OPERATIONS</DepartmentName>
<Localization>BOSTON</Localization>
<Employees>
<Employee>
<LastName>TURNER</LastName>
<Job>SALESMAN</Job>
<Manager>7698</Manager>
<HireDate>1981-09-08</HireDate>
<Salary>1500</Salary>
<Commerce>0</Commerce>
</Employee>
</Employees>
</Department>
</Departments></font>
</p>
<p>
Is there any Business Components support to obtain this ? What about primary and foreign keys values (there is no in XML file). How to place this XML data in appropriate tables ?
</p>
<p>
Kuba
</p>Pl post details of exact OS and database versions, along with a sample of the XML file and description of the tables. What have you tried so far ?
http://docs.oracle.com/cd/E11882_01/server.112/e22490/ldr_control_file.htm#i1005614
HTH
Srini -
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 PMis 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 -
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.... -
Error While Create Business Components From Tables Wizard -- need help asap
Hi , i have created a view and while create Business Components through wizard for that view i am getting following error.
ENTITY CREATION FAILED FOR THE FOLLOWING DATABASE OBJECT
NO PRIMARY KEY ATTRIBUTES AND DOES NOT SUPPORT ROWID . USE ENTITY WIZARD TO CREATE THE ENTITY OBJECT.
very urgent.
Regards
bhanu prakashthanks shay .
Jdeveloper version :: 10.1.3.1.0
view Syntax is :
SELECT
oh.order_number||'- ('||ol.line_number||'-'||ol.shipment_number||')' so_line,
oh.cust_po_number customer_po,
ol.flow_status_code status,
ol.shipping_method_code carrier,
ol.ordered_item item_no,
nvl(xxapplication_express_pkg.getcustomerpart(ol.inventory_item_id, hca.cust_account_id), ' ') customer_item_number,
nvl(mtl.description , 'na') description,
nvl(org.organization_name , 'oak park') ship_from,
hcsu.location||' ('||hl.city||' '||hl.state||' '||hl.postal_code||')' ship_to,
nvl(ol.promise_date, sysdate) promised_date,
nvl(ol.ordered_quantity, 0) order_quality ,
xxapps.xx_eg_calculated_onhand(ol.line_id) available_qty,
nvl(ol.shipped_quantity, 0) shipped_quality ,
ol.order_quantity_uom uom,
hp.party_name customer_name,
jrs.name sales_person_name,
0 refer
FROM
oe_order_headers_all oh,
oe_order_lines_all ol,
hz_cust_accounts hca,
hz_parties hp ,
hz_cust_site_uses_all hcsu,
hz_cust_acct_sites_all hcas,
hz_party_sites hps,
hz_locations hl,
org_organization_definitions org ,
mtl_system_items_b mtl ,
jtf_rs_salesreps jrs
WHERE
oh.header_id = ol.header_id and
oh.org_id = ol.org_id and
oh.sold_to_org_id = hca.cust_account_id and
hca.party_id = hp.party_id and
hcas.cust_account_id = hca.cust_account_id and
hcsu.cust_acct_site_id = hcas.cust_acct_site_id and
hcas.party_site_id = hps.party_site_id and
hps.location_id = hl.location_id and
hcsu.site_use_id = oh.ship_to_org_id and
hcsu.site_use_code = 'SHIP_TO' and
org.organization_id = ol.ship_from_org_id and
org.organization_id = mtl.organization_id and
ol.inventory_item_id = mtl.inventory_item_id and
ol.ship_from_org_id = mtl.organization_id and
ol.salesrep_id = jrs.salesrep_id and
ol.org_id = jrs.org_id
Regards
Bhanu Prakash -
New Business Components doesn't load with their foreign keys
Hi,
When your database schema has already been defined and nothing moves, the creation of Business Components in JDeveloper works pretty well.
When you are developing a real application and sometimes the customer changes his mind or something, you have to add some Business Components later in the process.
My question, why associations and links doesn't follow the creation of new business object?
Example 1
I load every database object I need. All associations and links are created.
Example 2
I have let say three tables. I create my new Business Components by selecting only 2 tables out of 3. If there are foreign keys, they are loaded.
Now, I want to create the last business components (table 3 of 3), and this table got foreign keys pointing to one of the two previous tables I just loaded.
Surprise, it won't load any foreign key.
I have tried multiples ways to synchronise object, I don't see it working. So I have to create every associations and links myself. Anybody knows a trick that they want to share for this kind of situation?
Thanks
Edited by: benster on Feb 7, 2013 3:01 PMHi,
actuallly Chris Muir brought up the idea to make the entity wizard more intelligent of this. However, this is currently a suggestion by him and we work with the developers to get this idea validated and eventually in the product. Since then you will have to create relations manually. Note however that in this ADF BC behaves like the EJB entities from table wizard that also can only look up dependencies if the table is part of the selection. In your case, you select a single table and the table has a FK to another table. However, the other table is not part of the selection so why would ADF BC want to create the key relation ship. Before you say, it could parse your project, let me add that related objects may be saved in ADF libraries, which means we would parse the class path, which may be a long time waiting for you for the IDE to get back to you. So this requzrement - though valid - needs a different approach in the wizards. Until then you will have to build it manually.
Frank -
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 -
I successfully constructed and ran project in a workspace and
then saved it. Upon reopening it, I get an Information popup
describing a Load error on the only project in the workspace:
Load error.
Project: C:\Program Files\Oracle\JDeveloper 3.0
\myprojects\scc_soa.jpr
Exception: oracle.jbo.dt.objects.JboException
Load error.
Project: C:Progam Files\Oracle\JDeveloper 3.0
\myprojects\scc_soa.jpr
Object: lightInfo
Exception: java.lang.ClassCastException
The curious thing is that after dismissing the popup, the
applet/application runs. However, I cannot use the visual
designer on the class that defines my query nor deploy the app.
How can I trace down the problem?
nullLaura -
Thanks for the replies! The application I'm working on is an
Infobus project that was working against an 7.3.4 database. Last
monday night the database was upgraded to 8.0.4. Yesterday, the
problems persisted with the load errors, so I'm planning on
rebuilding the project/workspace and migrating the old
application on top of newly created business components.
- Scott
JDeveloper Team (guest) wrote:
: Hi Scott,
: The AppModule can be created in one of two ways. When you go
: through the Business Component wizard, on the page where you
: select your tables and views, there are two checkboxes below:
one
: for 'Create View Objects and Links' and a second for 'Create
App
: Module'. If you selected those in the BC Wizard, your app
module
: would be created by default based on all the entities you
: selected.
: The other way to do it is to select the package where all
your
: entities and views are located, and select Create AppModule
from
: the right-mouse menu (or go to the File\New gallery). If you
go
: this way, you hand-pick which views to include in the App
Module
: versus having them all put there by default.
: Tables without primary keys should not be a problem unless the
: database is a 7.3.x. In 8.x, we use the rowid column as a
: substitute for a primary key, but there were structural
changes
: to the rowid element between 7 and 8, so we can't do that for
7.
: What type of project are you trying to migrate from 2.0? Is
it a
: DBServlet or Infobus project?
: Laura
: Scott (guest) wrote:
: : Laura -
: : I did create the project with Business Components.
: : In Business Components Project Wizard: Step 3 of 3, I
selected
: : many tables and views from my schema. I do have an appModule
: but
: : do not recall how it was created (and I am unable to edit it
: : same exceptions as before).
: : I think the problem may be with a couple of the dozen or so
: : tables and views in the schema that are referenced by the
: : project (too much to type!). One of the tables does not have
a
: : primary key. This table is used in a view that is
constructed
: : with an outer join and an optimizer hint. I have started in
: : another workspace to re-build my application, verifying each
: new
: : component added to the project. Neither the table nor the
view
: : could be added through the
: : File/New/BusinessComponents/EntityObject method. I could
send
: : the project/workspace with the table/view descriptions if
the
: : entities mentioned above are supported by the Business
: Component
: : model.
: : What I would really like to do is migrate the application I
: : developed in JD2 to JD3 without having to re-construct it or
: : redesign the database.
: : JDeveloper Team (guest) wrote:
: : : Scott,
: : : Can you provide some details to help track down the
possible
: : : source of this problem?
: : : 1. I am assuming you have created a 'Project containing
: : Business
: : : Components' and then run through the Business Component
: Wizard
: : to
: : : create entity objects, and possibly also view objects and
an
: : : appModule. If this is not the case, could you let me know
: : what
: : : steps you performed when you 'constructed and ran project'.
: : : 2. Can you provide some information about the database
schema
: : you
: : : created your entity objects on (table descriptions, etc.).
: : : If there is way too much information to type, let me know
and
: : : we'll figure out a way for you to send us your project so
we
: : can
: : : see what is causing the problem.
: : : Thanks,
: : : Laura
: : : Scott (guest) wrote:
: : : : I successfully constructed and ran project in a
workspace
: : and
: : : : then saved it. Upon reopening it, I get an Information
: popup
: : : : describing a Load error on the only project in the
: workspace:
: : : : Load error.
: : : : Project: C:\Program Files\Oracle\JDeveloper 3.0
: : : : \myprojects\scc_soa.jpr
: : : : Exception: oracle.jbo.dt.objects.JboException
: : : : Load error.
: : : : Project: C:Progam Files\Oracle\JDeveloper 3.0
: : : : \myprojects\scc_soa.jpr
: : : : Object: lightInfo
: : : : Exception: java.lang.ClassCastException
: : : : The curious thing is that after dismissing the popup,
the
: : : : applet/application runs. However, I cannot use the
visual
: : : : designer on the class that defines my query nor deploy
the
: : app.
: : : : How can I trace down the problem?
null -
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,
HimanshuDoes 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… -
I have an iPod Nano v4 or 5 and when I connect it to my Hyundai Santa Fe I get an iPod Loading error message. The cable works with the dealer's iPod which is a newer model. The cable came with the car when I purchased it. Please advise. Thanks.
Hi Bander Bunny!
I have a couple of articles that should be able to help you troubleshoot this issue a little further. You may want to try uninstalling and reinstalling iTunes first. This has to be done in a specific manner, and this article can help you do that:
Removing and reinstalling iTunes, QuickTime, and other software components for Windows Vista or Windows 7
http://support.apple.com/kb/ht1923
Another option is that you may want to try syncing your iPod nano manually. Here's is an article that pertains to manually managing the content of your iPod nano:
Managing content manually on iPhone, iPad, and iPod
http://support.apple.com/kb/ht1535
It's also possible that this issue resides with your iPod nano. Here is a website that will help you troubleshoot the iPod nano:
Apple - Support - iPod Troubleshooting Assistants
http://www.apple.com/support/ipod/five_rs/
Thanks for using the Apple Support Communities. Have a good one!
-Braden
Maybe you are looking for
-
Best way to draw an asset if I want to change the colour of it?
If I draw something manually, can I still change the colour by actionscript? I want to draw a cat, and the cat colour depends on the the user choice in the previous 'screen'. How should I go about this? Thanks.
-
Error while exporting cwm2 cube
Hello, I've created some dimensions and cubes using cwm2 packages. I want to make backup of the creation scripts, using CWM2_OLAP_EXPORT utility (EXPORT_CUBE method). My database version is 10g r. 2 (10.2.0.1.0). I've exported some cubes successfully
-
I'm using FM7.0 on Unix and I am trying to convert a file to PDF. The file has a lot of figures, tables and cross-references. It also has conditional text. When I try the Save As pdf it chugs along then I get an error. This is what is in the error lo
-
"Failed to open page" keeps happening and happening!
[ Edited by Apple Discussions Moderator; Please start a new topic about your technical issue. ] I updated to Safari 2.0.3 with OS 10.4.5 Now, repeatedly, when I go to all sorts of web pages, I get the dreaded "fail to open page" message. Almost unive
-
Getting the title of an HTML document displayed inside a JEDitorPane
Hello everybody, I am currently working on an HTML help file browser displaying the document inside a JEditorPane. Now I wanna do this: get the current document's title (inside <title>...</title>) and set the title of the JInternalFrame containing th