BUG? Default Project Properties, Business Components: Base Classes
Is it just me, or is there a bug in the Default Project Properties Dialog when attemptiong to specify custom classes for the Business Component Base Classes.
I have extended EntityCache and can successfully specify it as a base class via the Project Properties dialog, but in Default Project Properties, I get an error stating: "The selected class is not a valid superclass. Either is does not implement the interface oracle.jbo.server.EntityCache or it has an invalid modifier".
FYI: My custom library has been added to the Default Project Properties->Libraries.
Any help?
Does it work if you use the:
Tools | Preferences... | Business Components > Base Classes panel instead?
Similar Messages
-
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 -
Modifying default Project Properties? (Mouse click sound, etc.)
Am I able to configure default properties?
E.g. On every slide of every software demo I create, I have to change the following:
- Slide quality - High
- Highlight Box timing - Rest of slide.
- Mouse click sound - Custom
- Show mouse click - Custom
- etc.
Obviously, this is the most time consuming process and it increases my time investment 20-fold.
Have I overlooked something? Google & searching has been no help...which makes me feel like I'm the only one with the problem...which leads me to believe I'm doing something wrong!If you open the Edit > Preferences dialog without having any project open, then go to Defaults > Object Defaults, you can set up some of the things you want. For example, you can change the default duration of highlight boxes. But this doesn't allow you to configure the mouse or slide settings the way you want for all projects.
I think your best option is just to set up a Captivate template with all the slides done the way you want and use that to initiate each project. -
ADF BC Base Classes Configuration by Application possible ?
I configured the base classes to use in Tools -> Preferences -> Business Components -> Base Classes
This works fine, but when changing to other application I have the same base classes which is a problem if you have different base classes per application.
Is this possible, any workaround ?
Thanks,
Claudio.I think you should make changes at project level instead of IDE level.
Tools -> Project Properties -> Business Components -> Base Classes
Hope this helps.
Luis R. -
Default Subpackage Names for Business Components (11g); Bug?
Does anyone know how to enable the ability to specify the default packages under Tools -> Default Project Properties ->Business Components -> Packages?
Mine are all greyed out.
Also, even when I have the bare minimum of an ADF model project, before even checking "Initialize Project for Business Components", the defalt packages are greyed out.
Further, once I do check "Initialize Project for Business Components", the section for Default Subpackage Names is complete gone.
I want to be able to specifiy the subpackages, so that when I regenerate entities etc. from tables the components go to the right packages.
Thanks for any help.This seems like a bug to me. If you select Initialize Project for Business Components, everything is enabled. And stays that way even after you open a different application.
But , You can set these values under Tools - Preferences - Business Components - Packages. This works nicely. Once you set these, create a new application and things will be fine. If you have existing application, it may require some xml file (.jpr) manipulation. That seems to be a nicer approach. I don't know what is the purpose of Default Project Properties, when you can set everything by Tools - Preferences. -
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 -
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 -
Deploying Business Components as CORBA objects in JDev 3.0
I have two JDeveloper 3.0 projects: a "server" project
containing business components generated from my Oracle8i schema
using the wizards, and a "client" project containing an Infobus
application that uses the business components. I have
successfully deployed these locally and have now tried to deploy
the "server" application module as a CORBA object in my Oracle8i
schema (I have successfully deployed and used the "HelloCORBA"
tutorial CORBA object).
When I test my deployment using the Business Component Tester,
however, I get the following messages:-
javax.naming.NameNotFoundException
Nothing bound for specified name.
Has anyone any idea what I might be doing wrong? I haven't.
Howard
nullHoward,
Make sure that the JNDI path in the tester is correct.
The following steps might help you out:
1.Determine the JNDI path for your CORBA object. You can check
this in the deployment profile(choose 'Properties' from the
context menu of the .prf file in the 'deployment' folder. Also,
you can browse your connection (double click on the connection
in the 'Connections' folder) to determine the exact path for
your object.
2.In the 'Connect' pane of the Tester
-choose 'Oracle8i' as the 'Middle Tier Server Type'
-choose the appropriate IIOP connection
-Make sure that the JNDI path is correct
This should get it working...
Please let us know if you have any questions.
Howard (guest) wrote:
: I have two JDeveloper 3.0 projects: a "server" project
: containing business components generated from my Oracle8i
schema
: using the wizards, and a "client" project containing an
Infobus
: application that uses the business components. I have
: successfully deployed these locally and have now tried to
deploy
: the "server" application module as a CORBA object in my
Oracle8i
: schema (I have successfully deployed and used the "HelloCORBA"
: tutorial CORBA object).
: When I test my deployment using the Business Component Tester,
: however, I get the following messages:-
: javax.naming.NameNotFoundException
: Nothing bound for specified name.
: Has anyone any idea what I might be doing wrong? I haven't.
: Howard
null -
When I'm changing the default java version in the Default Project Properties to 1.5.0_05-b05 and creating a new project; the new project still has java version 1.5.0_05 (Default).
Bug?
/Per-ArneI have just made the test of setting JDK 1.5.0_04 as the default version of Java and when I created a new project it worked perfectly. The change was made by downloading JDK 5 update 4 from Sun; making it accessible to JDeveloper by defining a new J2SE Definition in JDeveloper (from Default Project Properties) and selecting it as the default version of Java.
Please note that even though 1.5.0_05-b05 was not selected by default, it was selectable for the new project, so it's not a big deal, but I still think that it must be a bug under the hood that should be corrected.
The reason that I tried to change the default Java version was that Sun's version was 1.5.0_05-b05 and JDeveloper's was "only" 1.5.0_05-b03. ;-) -
Project Systems Business Content - Residual Order Plan
Hi all,
I a issue which I hope someone can help me with:
I am lodading data into cube 0PS_C08 and then into 0PS_C04 as per the BC. When I view the BC restricted key figure "residual order plan" i get nothing (blank).
I look in R/3 I have values for residual order plan. I have looked at the Help on SAP and they say there is some config that needs to be done in SPRO. I dont really understand what config needs to be done can someone help?
Many thanks,
LeoHi,
We are searching for project versions(project systems) business content :
Base tables :
VSAFVC_CN Version: Operation in order
VSAFVV_CN Version: Quantities/Dates/Values in order operation
VSAUFK_CN Version: Order master data
VSEBAN_CN Version: Purchase requisition
VSEBKN_CN Version: Purchase requisition account assignment
VSJEST_CN Version: Individual status per object
VSJSTO_CN Version: Information on status object
VSKBED_CN Version: Capacity requirement records
VSKBEZ_CN Version: Additional data for table KBED (ind. capacities)
VSKBKO_CN Version: Capacity requirements header for an order
VSKOPF Version: Header - general data for a version -
VSKPER_CN Version: Workforce Planning
VSMLST_CN Version: Milestone
VSNPTX_CN Version: PS texts (network)
VSPRHI_CN Version: WBS, edges (hierarchy pointer)
VSPROJ_CN Version: Project definition
VSPRPS_CN Version: WBS element (work breakdown struc. ele.) mast. data
VSPRTE_CN Version: Scheduling data for project item
VSPRTX_CN Version: PS texts (WBS)
VSPSTX_CN Version: PS texts (header)
VSRPSCO_CN Version: Cumulation table for project reporting
VSSTEU Version: Control table - one entry per version object -
I didn't find any relevent business content for above tables.
If anybody extracted these ,please let me know where and how they extracted.I will assign points.
Thank you,
GSR -
Project Systems - Business Content
Hi,
We are trying to install Project Systems Business Systems. We are in process of creating technical specs.
In the help.sap.com or best practices ,There is no detail explanation is available (Source field,source table or logic to get the field).
Some of the data sources don't have documentation.
I hope many of you implemented Project Systems.
Please share your experiences about finding Source fields and tables.
Please share the documents : [email protected]
Thank you,
GSP
Thank you,
GSRHi,
We are searching for project versions(project systems) business content :
Base tables :
VSAFVC_CN Version: Operation in order
VSAFVV_CN Version: Quantities/Dates/Values in order operation
VSAUFK_CN Version: Order master data
VSEBAN_CN Version: Purchase requisition
VSEBKN_CN Version: Purchase requisition account assignment
VSJEST_CN Version: Individual status per object
VSJSTO_CN Version: Information on status object
VSKBED_CN Version: Capacity requirement records
VSKBEZ_CN Version: Additional data for table KBED (ind. capacities)
VSKBKO_CN Version: Capacity requirements header for an order
VSKOPF Version: Header - general data for a version -
VSKPER_CN Version: Workforce Planning
VSMLST_CN Version: Milestone
VSNPTX_CN Version: PS texts (network)
VSPRHI_CN Version: WBS, edges (hierarchy pointer)
VSPROJ_CN Version: Project definition
VSPRPS_CN Version: WBS element (work breakdown struc. ele.) mast. data
VSPRTE_CN Version: Scheduling data for project item
VSPRTX_CN Version: PS texts (WBS)
VSPSTX_CN Version: PS texts (header)
VSRPSCO_CN Version: Cumulation table for project reporting
VSSTEU Version: Control table - one entry per version object -
I didn't find any relevent business content for above tables.
If anybody extracted these ,please let me know where and how they extracted.I will assign points.
Thank you,
GSR -
Unable to import package. This file is not a Business Components XML file
Hi,
I am using Jdeveloper 9.0.3(Build 1325) and trying to extend a VO. Project > Import Business Components and select the VO, AM or EO xml because Sourcing Negotiation creation does not have a server.xml and I am getting the following message "Unable to import package. This file is not a Business Components XML file.". Should I make something else to enable extension?? Does a patch required to make extensions. Any help would be appreciated.What I know is that server.xml is not a must. This is the easiest way to import appropriate xml files. My question is, when I am trying to Project>Import Business Components > xxxVO.xml I am getting the above error although the xxxVO.xml is a Business Component. I wanna know that should some patch be applied to Jdeveloper (Build 1325)?? (by the way at first I tried with Build 1312 and the same error raised)
-
BUG 10.1.3 EA -- BME-99003 in Business Components Diagram with imported EOs
Following a hands-on exercise in the Oracle JDeveloper 10g Handbook (pages 343 - 345):
-- Create new application workspace, say HRApp, using default Web Application Template.
-- Edit Model project properties to create new library with classpath that points to business domain objects in a project folder from a different workspace.
-- Import the Business Components from the other project's folder, say "businessdomain.xml".
-- Create a BC Diagram in the Model project of the HRApp application.
-- Create a new View Object in the BC Diagram by dragging from Component Palette, rename to "JobsView".
-- Drag entity object representation from new library, say "Jobs.xml" onto View Object.
-- See error message below.
Johnny Lee
Message
BME-99003: An error occurred, so processing could not continue.
Cause
The application has tried to de-reference an invalid pointer. This exception should have been dealt with programmatically. The current activity may fail and the system may have been left in an unstable state. The following is a stack trace.
java.lang.NullPointerException
at oracle.jbo.dt.modeler.diagram.dropHandler.BC4JXMLDropHandler.processObjects(BC4JXMLDropHandler.java:82)
at oracle.bm.addinUtil.IDEAppContext$4.performAction(Unknown Source)
at oracle.bm.diagrammer.LockMonitor.performLockedAction(Unknown Source)
at oracle.bm.diagrammer.BaseDiagram.performDiagramLockedAction(Unknown Source)
at oracle.bm.addinUtil.IDEAppContext.dropNavigatorNodeLater(Unknown Source)
at oracle.bm.addinUtil.IDEAppContext$5.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Action
If further errors occur, you should restart the application.
Also, report the problem on the JDeveloper forum on otn.oracle.com, or contact Oracle support, giving the information from this message.
________________________________________________________________________________We have not been able to reproduce the exact same error, there would be a problem if we were trying to write to the library file, as those objects are read only, of course. Can you tell me, the entity object that you are referencing, has it ever appeared on a diagram? An easy way to tell, if you don't know is by looking at its XML file and see if it has an ID=some long string entry.
-
Cannot compile Library project in Flash builder 4: Unable to locate specified base class
I am migrating from Flex builder 3 to Flash builder 4, during that process I found that Flash builder could'nt compile Flex Library projects which contains components in the form of mxml files. Compiler throws "Unable to locate specified base class".
I have narrowed it down to by creating a flex library project named test library, below its screenshot with its package structure
ControlA is based on componentA
when i compile this project, mxml compiler throws this error
Unable to locate specified base class 'components.componentA' for component class 'ControlA'.
I cannot upload project code because file uploads are disabled on this forum so I am going to paste the code for both componentA and controlA
componentA
<?xml version="1.0" encoding="utf-8"?>
<mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml" xmlns:local="*" width="400" height="300">
</mx:Canvas>
ControlA
<?xml version="1.0" encoding="utf-8"?>
<components:componentA xmlns:mx="http://www.adobe.com/2006/mxml" xmlns:components="components.*" width="400" height="300">
</components:componentA>
To further test it, I have made another library project with same package structure using pure AS3, and it compiled without errorsIt might be this happens and other errors if you forget to Run Flash Builder 4.5 Buritto and startup the other version FB4.
It uses the same project listings and that can be confusing since you're not expecting the old version to be aware of new Buritto (MobileApplications) projects you added (thinking) only to the BETA version installed elseware no doubt.
Well it might not be your problem but worthy of noting for other's I'm sure.
Otherwise you've double checked you're using SDK 4.5 Hero with it too! right? -
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.
Maybe you are looking for
-
iPad Air AV Adaptor I used to be able to connect my iPad 3 to any TV using either the 30 pin to AV adaptor or HDMI adaptor. I could mirror, watch Netflix or Hulu, and Videos. Now I have an iPad Air and nothing works. I tried a 30 pin to lightning ada
-
i have succesfully added a video podcast to itunes thru iweb. the pod cast is up and running on itunes. i made the second podcast and put it into iweb. how do i get it to go to itunes? thanks for helpin the newb!
-
[Solved] Headphones not muting built-in speakers on a laptop
I have bought a new laptop a Packard Bell MX61 and so far so good, everything works very well with linux until now. Today I plugged my headphones and the speakers didn't mute, I have searched the web and it seems this is starting to be common, as it
-
Vrf routes into global route table
Dear All I am stuck with a design I am trying to come up with for our EDGE network and looking for ideas from the community. It is similar to what is described here: http://www.cisco.com/en/US/docs/solutions/Enterprise/Network_Virtualization/ServEdge
-
How do I import collections from PE version 5 to PE version 10
Have changed my computer and installed the latest version of PE. I have saved the collection structure in PE v.5 as an XML file and imported this into V10 but this only imports the collection headings and NOT the photos associated with the collection