Business Components Issue
Hi All,
When i am trying to edit EO Object in Jdeveloper getting the following error:
SQL Error : OALL8 is in an inconsistent State , Exception : java.sql.SQLException
Unable to understand what caused this problem ? I was trying to create the Entity Expert Class to this EO.
When i click on Details Button it shows me the following code
java.sql.SQLException: OALL8 is in an inconsistent state
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:146)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:208)
at oracle.jdbc.driver.T4C8Oall.marshal(T4C8Oall.java:352)
at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:193)
at oracle.jdbc.driver.T4CStatement.executeForDescribe(T4CStatement.java:801)
at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1039)
at oracle.jdbc.driver.T4CStatement.executeMaybeDescribe(T4CStatement.java:841)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1134)
at oracle.jdbc.driver.OracleStatement.executeQuery(OracleStatement.java:1274)
at oracle.jbo.server.OracleSQLBuilderImpl.getTables(OracleSQLBuilderImpl.java:2847)
at oracle.jbo.dt.ui.main.DtuUtil.getTableList(DtuUtil.java:1061)
at oracle.jbo.dt.ui.pkg.PKTableOptionPanel.getTableList(PKTableOptionPanel.java:482)
at oracle.jbo.dt.ui.entity.EOTableListThread.run(EONamePanel.java:1290)
Hi ,
If you have generated any validation methods while modifying it , you can remove those methods(java methods ) by unchecking them .
By any chance did you make any change in EOImpl.java ??
Try this , Right click on VO edit, Unshuttle the EO and shuttle it back click on apply and rebuilt the project and test the page .
--Keerthi
Similar Messages
-
JDev 10.1.3.3 - issues with imported Business Components
Hi,
I have got some issues with importing Business Components in JDev 10.1.3.3.
I cannot discover/use the imported components.
What I did is the folowing:
1. In a existing project I extended the default base-classes to create our own layer
2. created a project called ModelShared
2a. configured the project to use the base-classes I created in step 1
2b. created an entitybased-viewobject (RefCodesByDomain)
2c. created bc deployment-descriptors
3. created a project called RelatieModel in the same workspace as ModelShared
3a. added dependencies to the deployment-descriptors as well as the project created in step 2
3b. configured the project to use the base-classes I created in step 1
3c. imported business components
Although I did not recieve any errors during the import of business components, I am unable to add the vo (RefCodesByDomain) to a service.
I do see the package which contains the vo but is has no entries.
Importing the business components to a new BC Project in a seperate workspace did succeed (I could reuse the vo).
I tested a little further and the folowing occurred:
4. I created a new vo in the ModelShared Project
5. I deployed the ModelShared
6. Restarted JDeveloper
7. Got the folowing error message in the console window when expanding a service in my datacontrol pallette:
INFO: oracle.adf.share.config.ADFConfigFactory No META-INF/adf-config.xml found
1-sep-2008 13:23:27 oracle.adf.dt.controls.DataControlsTreeWillExpandListener treeWillExpand
FINER: THROW
java.lang.NullPointerException
at oracle.adf.dt.objects.JUDTViewReferenceAccessorDefinition.init(JUDTViewReferenceAccessorDefinition.java:108)
at oracle.adf.dt.objects.JUDTViewReferenceAccessorDefinition.<init>(JUDTViewReferenceAccessorDefinition.java:98)
at oracle.adfdt.internal.meta.bc4j.BC4JDataControlDefinition.createViewObjectDefinition(BC4JDataControlDefinition.java:228)
at oracle.adfdt.internal.meta.bc4j.BC4JDataControlDefinition.addViewObjects(BC4JDataControlDefinition.java:208)
at oracle.adfdt.internal.meta.bc4j.BC4JDataControlDefinition.loadStructure(BC4JDataControlDefinition.java:110)
at oracle.adfdt.internal.meta.bc4j.BC4JDataControlDefinition.getStructure(BC4JDataControlDefinition.java:407)
at oracle.adf.dt.controls.treemodel.jsr227.JSR227DataControlTreeNode.loadChildNodes(JSR227DataControlTreeNode.java:129)
8. In my other "fresh" bc project I was able to use the newly created vo.
9. When I added a VO to my shared project, all projects that are refering to the shared project loose their vo's in the data-controlpannel
Do you have any suggestions?
Regards,
RomanoHi,
since this appears to be a WebCenter related issue, I suggest to try the Webcenter forum WebCenter Portal or to log a bug
Frank -
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 -
Oracle ADF Business Components Vs PL/SQL Application
Hi,
Has anybody used Oracle Application Development Framework's Business Components (ADF BC)? What are the disadvantages and issues that you faced? Can anyone compare PL/SQL with ADF BC?
Would like to know the advantages and dis-advantages of both the technologies(PL/SQL and ADF BC).
Can anybody help on this?Hi,
Not sure what exactly you are looking for.
But let me explain so that you can get some idea of their working and ofcourse difference.
ADF BC which are nothing but the Entity Objects (EO) and View Objects (VO) which are the Java representation of the DB.
EO is like database table and is a 1-o-1 representation of the underline database table as a Java class file.
VO is like database view and is always based upon some custom SQL or combination of one or more EOs.
For developing a Database based application you always layer where you can handle the database objects and can also write the business logic or validation for the
data entered at the UI.
PLSQL is straight forward is the language to write business logic at the database level.
I hope this will give you some details.
Thanks,
KKCHOPRA -
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 -
Business Components Import problem
Hi,
I am having trouble using the Imports option in the Project Properties of my Model project (Project Properties -> Business Components -> Imports). I have a jar that I want to import to the project. However, when I click the Import button, locate my file and click Open, nothing happens. It doesn't import the jar, nor does it close the Import File dialog.
Is this a bug? I am able to get around it for now by modifying the Model.jpr and Model.jpx files but this isn't a long term solution.
Thanks,
TracyIf you are attempting to import ADF BC objects packaged in a jar/adflib this is a known issue in the preview that has been resolved in more recent builds.
--Ric -
Possible Bug: Business Components and packaging preferences
I'm using JDev 11g TP2
When I set up package preferences for business components, it is completely ignoring the package I setup for the Entity object.
Example:
From the menu Tools>Preferences
Under the section Business Components>Packages.
I set the following:
Business Component: left blank - it uses the default [prefix].model
Entity: entity
Association: entity.association
View Object: view
View Link: view.links
the rest have been left at default settings.
Then I create a new diagram so I can add existing database tables to the application. I drag and drop the selected tables from the application resources to the diagram. It creates the entity objects in the [prefix].model package, not the [prefix].model.entity package like I was expecting. However the associations get created correctly in the [prefix].model.entity.association package.
Is this possibly a bug, or just a training issue for me?
ThanksNo worries Ric. Unfortunately I don't have access to your latest builds but I'll still raise the issues in case they are relevant.
Regards,
CM. -
BUG: Business Components using Datasources on Websphere - statement closed
Hi,
This is an unusual combinatation, we are deploying business components projects on websphere with a SQL Server database. This was originally deployed all to Oracle. We have managed to convert the project sucessfully (JDeveloper 10.1.3) and on Websphere, however when we moved our application module configurations (bc4j.xcfg) to use JNDI data sources which works in Jdeveloper, we are encountering problems using websphere with business components and datasources.
The statement closed error occurs when trying to calling executequery() method on the view object, not the first time the JSP page is accessed, but the second time. Refresh page all is good. Access page again error occurs. Very consistent.
Our code will often do applicationmodule.findViewObject("name"), if not found then create it, otherwise use the vo and kapow bombs out on the executequery method if reusing the view object.
ERROR
DSRA9110E: Statement is closed.oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation.
Statement: SELECT Groups.GROU_ID FROM GROUPS Groups WHERE (GROU_ID=1)
at oracle.jbo.server.QueryCollection.buildResultSet(QueryCollection.java(Compiled Code))
at oracle.jbo.server.QueryCollection.executeQuery(QueryCollection.java(Compiled Code))
at oracle.jbo.server.ViewObjectImpl.executeQueryForCollection(ViewObjectImpl.java(Compiled Code))
at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java(Compiled Code))
at oracle.jbo.server.ViewRowSetImpl.executeQueryForMasters(ViewRowSetImpl.java(Inlined Compiled Code))
at oracle.jbo.server.ViewRowSetImpl.executeQuery(ViewRowSetImpl.java(Inlined Compiled Code))
at oracle.jbo.server.ViewObjectImpl.executeQuery(ViewObjectImpl.java(Compiled Code))The datasource uses the connection pooling driver class com.microsoft.sqlserver.jdbc.SQLServerConnectionPoolDataSource.
Ampooling is on. It appears the jdbc prepared statement is being closed but bc4j is expecting to still be open?
Any ideas on diagnosing the issue or app module config changes greatly appreciated.
MarkHi Steve,
This is not a composition association. Actually, this is an association from a table to an intersection (many-to-many) table. The code in my service is based on the SRDemo, see SRServiceImpl#updateSkillsForCurrentStaff(List) and is called on a save button from a shuttle page.
The current master is the master I want it to belong to. The link to the master gets correctly saved in the database (just as in the SRDemo). We can also navigate from the master view row to the find the detail view row using the generated RowIterator. However, this does not work from the master entity row to the detail entity row. The problem is really at the entity level.
Thanx
Olivier -
Reusable business components not found
Hi,
We have had this problem sporatically for quite some time now. We are using JDev 11.1.2.1.0 and are importing our business components as a jar file. We will work on our application for days and then out of the blue we receive this error when we run the application locally.
Business Components: Unable to find referenced object
Object: it.FAEditTable.entityobjects.Awardperiod.
Validating Business Component: it.faedittable.viewobjects.AwardperiodView
Owner: it.faedittable.viewobjects.AwardperiodView.Awardperiod
BC Project: it.faedittable.model.Model
I have to muck around with it until I can get it to work again. Usually requires any of removing the jar file from the libraries and classpath tab and re adding it, deleting the imported files and reimporting them, playing with the model.jpx file or rebooting my machine.
I will usually get this message with it
Business Components: There are warnings in this object that need correction (Model).
One or more of the imported Business Component Projects are not on the classpath.
Because of this, there may be missing referenced objects from the missing import(s).
Import: Model
this is becoming quite annoying to say the least.
If anyone has any insight or a possible reason for this it will be greatly appreciated!
thanks
LanaHi,
thank you for the replies. I have checked and the classpath is in the correct location. I have removed/re added the jar file, closed/re opened the application and rebooted my machine but was still getting the errors. Because this is a converted application (from 10g) we now have two model.jpx files.
The model.jpx file that was created in 10g (which is where the error was referencing) had a line that was pointing to a directory in the jar file that doesn't exist so I simply removed it and the rebuild was successful. Just for the heck of it I readded the code and it still works! This code also existed in the 10g version (I was assuming the model.jpx that was created in 10g was not referenced in 11g but that is where my errors are coming from).
We have had in the past, success with altering the code in the model.jpx files both 10g and 11g - it usually involves removing or adding one or more containee tags. What we have noticed however, and this may or may not be related is only some of our tables can be seen in the 'imports' page of the model.jpx. For example, we have separated our tables into different folders in the jar component - all tables related to FA are placed in FAEditTable folder, all AR tables are placed in AREditTable folder for ease of use. When the model.jpx file is created there are several containee tags which are referencing (in the PackageName) the different folders in the jar file. Also created at that time is one AppContainee tag which points to the reusable jar file. When we open the model.jpx file and click on the Imports link in the Overview tab only those folders that do NOT have entries by way of the containee tag display the 'Contents' of that package as displayed below in the Imports page
Packages from Model:
it.FAEditTable.entityobjects
it.AREditTable.entityobjects
Contents of it.AREditTable.entityobjects:
AccountsReceivable
AccountPaidDate
The contents of FAEditTable.entityobjects will not display any tables but the AREditTable.entityobjects will (AccountsReceivable and AccountPaidDate). The FAEditTable folder has a containee tag in the model.jpx file but the AREditTable does not. The source of the model.jpx would look like this:
<Containee
Name="entityobjects"
ObjectType="JboPackage"
PackageName="it.FAEditTable.entityobjects" />
<AppContainee
Name="Model"
ObjectType="JboProject">
<DesignTime>
<Attr Name="_SourceName" Value="ReusableComponents.jar"/>
</DesignTime>
</AppContainee>
I hope this makes sense to everyone. I may try excluding the model.jpx file that was created in 10g for awhile and see if the problem happens again.
This jar file issue was also a problem when we were using 10g versions.
Trying to reproduce this error would be a daunting task as this application was created in 10g then converted over to 11g. I would also have to add the HRSchema tables to a new project and deploy as a jar file but if I find anything else I will let you know Chris!!
again, thanks for the help!
Lana -
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). -
Intermittent bug: Business Components from Tables wizard exception
Hi JDev team
Just to flag an exception I periodically get in JDev 11g TP with the Business Components from Tables wizard, once I've pressed Finish in the wizard:
java.lang.NullPointerException
at oracle.jbo.dt.ui.pkg.PKEntityThread.createRelatedViewLinks(PKEntityThread.java:1085)
at oracle.jbo.dt.ui.pkg.PKEntityThread.createTableViews(PKEntityThread.java:966)
at oracle.jbo.dt.ui.pkg.PKEntityThread.createObjects(PKEntityThread.java:424)
at oracle.jbo.dt.jdevx.ui.pkg.XPKComponentWizardEntityThread.createObjects(XPKComponentWizard.java:454)
at oracle.jbo.dt.ui.pkg.PKEntityThread.run(PKEntityThread.java:396)It is raised when the dialog displays showing the work JDev is doing after completing the wizard to create my business components.
I'm not able to consistently reproduce this issue, though I've encountered it several times. Don't quote me, but it appears to happen the first time I use the wizard in a new JDev session, but is not reproducible again in the same session. However it doesn't always happen when I restart JDev and I'm sorry I can't be more precise.
Hopefully the exception trace will give you enough information to track this issue down.
Regards,
CM.Hi Ric
Unfortunately not really, it's a basic schema we use to test new software. One unusual thing is a hierarchical fk on the same table. But as I said the exception doesn't always occur, but annoyingly does seem to occur when I'm demoing the 11g TP version to clients. I was just hoping the stack trace would help out.
I'll keep an eye on it and if I can work out why it's occurring I'll update this post.
Thanks for following this up.
Cheers,
CM. -
Problem on Business Components
Hi,
i repost this problem because i didn't succeed on resolev it. See below :
Business Components: Unable to find referenced object
Object: easyges.commercial.eos.affaires.
Owner: easyges.eos.GdaDemandeAffectationPFk1Assoc2
BC Project: easyges.view.ViewController
This appears in he message log window on opening the application.
What can i do to correct this issue?
Thanks for any help,
DAVIDSounds like the association GdaDemandeAffectationPFk1Assoc2 references an invalid (missing, renamed) Entity Object. Open the association file in the Source view and observe for warnings/errors indicators - these are the yellow/red indicators on the scroll bar. Alternatively selecting View | Status should produce a "No issues".
-
MapViewer: how to manage user selections in business components Java class
Hi list,
I'm a GIS developer with experience on Mapserver and Mapguide. Buit I'm totally new on Oracle Mapviewer and I'm doing a feasibility study on a project where I basically have a very simple GIS use case, but I don't know if it is possible to manage by use Oracle ADF Java API and Oracle Mapviewer.
I would like to use JDeveloper / ADF Business Components / ADF Faces.
This is the use case:
- Mapviewer should display a polygon layer from Oracle Spatial
- Mapviewer should display a polygon layer from WFS
- User should be able to select a polygon on Oracle Spatial layer and another polygon in WFS layer
- ADF Face map control should:
a) hilglight these two polygon
b) execute my buiseness component Java function passing the user selection (id?... coordinates?... or anything useful to get these two polygons in the business Java function) as parameter.
Is it possible?...
Any suggestions (or samples) for point b)?...
Thanks in advance for any helpHi Arnd,
Thanks for answer.
Can you adreess me to some ADF project that include ADF Geographic Map control?
I've carefully studied what explained in manuls contained in JDeveloper Help. I've made something, but I have some issue I can't solve.
Here you are in details what I've made:
1) I've installed Mapviewer Quick Starter Kit
2) I've configured themes and base map by use on MapBuilder
3) I've built an ADF application with separated business and model-view-controller projects
4) I've created entities and views in ADF business project
5) I've created a JSF page in model-view-controller project
6) I've put inside page an ADF Geographic Map assigning my base map and his related toolbar.
Up to now it worked fine. My problems started at this point, on the attempt to add themes to be exposed to user interaction.
PROBLEM 1
I've seen that there are basically two options to add theme for user interaction:
a) add a predefined themes
b) add a color/point/graph bindable themes
Option b) seems not fit for my needs.
Color theme is only for regions and forces me to set a range of colors (I want to set exatctly two different color for two different table attribute value).
Lines seem not covered from any of them.
So the solution should be option a), predefined themes. But predefined theme seems not selectable and I don't know how to attach a selection listener.
Please note (about selection listener) that in JDeveloper Help, book "Web User Intercace Developer Guide", "Using ADF Geographic Component" there is a code sample, but the explaination on how to enter the backing bean method is truncated (it says "For example," and stop, nothing else).
My questions are: predefined theme can be selectable? And how can I attach the selection listener?.
PROBLEM 2
Up to now I've made no test on WFS themes, but of course, also these themes should be exposed to user interaction in the same way of predefined layers.
Is it possible?...
PROBLEM 3
Legends activated by ADF Map Toolbar seem not working for predefied themes, they display nothing.
Is it possible to fix or workaround in some way?...
PROBLEM 4
Are there any way to print maps?...
Best regards
Francesco -
Can not see the menu of New Business Components Package in jdeveloper
I am just follow the developer guide.
and when I create the Business Components Package, the guide said that
========================================
In the JDeveloper Navigator, select the OA Project where you want to create your package.
From the main menu, choose File > New to open the New Object Gallery.
In the Categories tree, expand the Business Tier node, and select Business Components (BC4J).
In the Items list, select Business Components Package to open the Business Components Package Wizard. You can also right-click on the OA Project and select New Business Components Package to navigate directly to the Business Components Package Wizard.
=====================================
In fact I can not see the menu about Business Components (BC4J) in the File/new/buisness tier/Business Components (BC4J).
I can only see the File/new/buisness tier/ADF Business Components.
And can not find the "Business Components Package" under ADF Business Components either.
I am using the JDev Extension for OA (p5856648_R12_GENERIC.zip) and EBS 12.0.0.
And I create an OA Workspace and OA Project.
can anyone help?James,
Use search facility on forum. Chk thread Re: OAF Toolbox Tutorial Help - Search
--Shiv -
Problem to deploy to a WebService interface for ADF Business Components to Weblogic Server
Hi,
I'm trying to deploy a custom application ,in which i have exposed ADF Business Components through a WebService interface, to a standalone weblogic server.
Application Module is configured with a Service Interface for ordinary ViewObjects.
Now I want to create a EAR file of this application to deploy it on the weblogic server.
But I got an error while deploying it.The error i am getting is shown below.
ERROR: No Java EE modules detected in EAR archive. Deployment aborted. == (oracle.jdevimpl.deploy.ear.WeblogicAssembler)
I have followed the steps mention in the below link :
http://technology.amis.nl/2010/12/29/quickly-creating-reploying-and-testing-a-webservice-interface-for-adf-business-components/
I'm using Jdeveloper 11.1.2.4 on windows.
Please suggest what i could be doing wrong.
Regards,
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…
Maybe you are looking for
-
Solaric boot up problem after poweroff
Hi Everybody, I have a solaris 10 8/07 installation on X86. I have problem regarding boot up after power off. Its not booting in multiuser mode and hangs up at the blue screen. Could we do something in the single user mode to rectify the problem, bec
-
Rotated Photos in iPhoto Annoyingly Revert in iMovie
I have posted this also in the iMovie HD forum, but have had no response there. Others have complained that despite having the latest iPhoto update, photos taken in portrait mode (which appear sideways when imported), and rotated in iPhoto, revert to
-
Hi I am having four Key figures k1,k2,k3k4 and four characterstic c1,c2,c3 and c4.Now if I write a routine with k1 giving some conditions then only the records satisfyig that conditions will be updated in the cube.If I write a routine for characters
-
Cumulative Column - Date Range
Hi, we have defined a sales cube with following strucuture (example) example (sample data as stored in info cube) Date company_code sales_value 050905 C1 $2300 060905 c1 $2000 070905 c1 $2500 Now the ex
-
How can i just get the album without those songs in a preorder?