Page definition is not found while running JSR286 portlet in WebCenter app
Hi All,
I have ADF application which has 3 different task flows 1. my service 2. my car 3. my bike.
which I have placed into a single bounded task flow called repairTaskflow.
I have created a JSR286 portlet out of a repairTaskflow. I am trying to consume it in an Webcenter application. When I place the portlet on to the page in Web center application
and run the page. I see the following error in the console.
oracle.jbo.NoDefException: JBO-25002: Definition ***.xxxx.view.pageDefs.applications_task_flow_applications_task_flow_CreateEmptyApplicationPageDef of type Form Binding Definition is not found.
at oracle.jbo.mom.DefinitionManager.findDefObjectUsingMetadataObject(DefinitionManager.java:2703)
at oracle.jbo.mom.DefinitionManager.findDefObjectUsingMetadataObject(DefinitionManager.java:2715)
at oracle.adf.model.binding.DCBindingContainerDef.findDefObject(DCBindingContainerDef.java:292)
at oracle.adf.model.binding.DCBindingContainerReference.getDef(DCBindingContainerReference.java:107)
at oracle.adf.model.BindingContext.findBindingContainerDefByPath(BindingContext.java:1624)
at oracle.adf.controller.internal.binding.RegionUtils.findOrCreateBindingContainer(RegionUtils.java:246)
at oracle.adfinternal.controller.util.model.DataBindingActivityImpl.getActivityBindingContainer(DataBindingActivityImpl.java:233)
at oracle.adfinternal.controller.util.model.DataBindingActivityImpl.beforeExecute(DataBindingActivityImpl.java:77)
at oracle.adfinternal.controller.engine.ControlFlowEngine.executeActivity(ControlFlowEngine.java:969)
at oracle.adfinternal.controller.engine.ControlFlowEngine.doRouting(ControlFlowEngine.java:878)
at oracle.adfinternal.controller.engine.ControlFlowEngine.doRouting(ControlFlowEngine.java:777)
at oracle.adfinternal.controller.engine.ControlFlowEngine.routeFromActivity(ControlFlowEngine.java:551)
at oracle.adfinternal.controller.engine.ControlFlowEngine.performControlFlow(ControlFlowEngine.java:147)
at oracle.adfinternal.controller.application.NavigationHandlerImpl.handleAdfcNavigation(NavigationHandlerImpl.java:109)
at oracle.adfinternal.controller.application.NavigationHandlerImpl.handleNavigation(NavigationHandlerImpl.java:78)
at org.apache.myfaces.trinidadinternal.application.NavigationHandlerImpl.handleNavigation(NavigationHandlerImpl.java:43)
at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:130)
at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)
at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:148)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:879)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:312)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:185)
at org.apache.myfaces.portlet.faces.bridge.BridgeImpl.doFacesRender(BridgeImpl.java:1002)
Please find below the portlet.xml file
<portlet-app version="2.0" xsi:schemaLocation="http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd" xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<portlet id="adf_taskflow_WEB_INF_test_task_flow_xml">
<description>test-task-flow</description>
<portlet-name>test-task-flow</portlet-name>
<display-name>test-task-flow</display-name>
<portlet-class>oracle.portlet.bridge.adf.application.ADFBridgePortlet</portlet-class>
<init-param>
<name>javax.portlet.faces.defaultViewId.view</name>
<value>/adf.task-flow?adf.tfDoc=/WEB-INF/adfp-portlet-bridge-container.xml&adf.tfId=adfp-portlet-bridge-container&_fragmentTaskFlowDoc=/WEB-INF/test-task-flow.xml&_fragmentTaskFlowId=test-task-flow</value>
</init-param>
<supports>
<mime-type>text/html</mime-type>
<portlet-mode>VIEW</portlet-mode>
</supports>
<supported-locale>en</supported-locale>
<portlet-info>
<title>test-task-flow</title>
<short-title>test-task-flow</short-title>
</portlet-info>
<security-role-ref>
<role-name>valid-users</role-name>
</security-role-ref>
<container-runtime-option>
<name>com.oracle.portlet.requireIFrame</name>
<value>true</value>
</container-runtime-option>
<container-runtime-option>
<name>com.oracle.portlet.minimumWsrpVersion</name>
<value>2</value>
</container-runtime-option>
</portlet>
<portlet id="adf_taskflow_WEB_INF_single_task_flow_definition_xml">
<description>single-task-flow-definition</description>
<portlet-name>single-task-flow-definition</portlet-name>
<display-name>single-task-flow-definition</display-name>
<portlet-class>oracle.portlet.bridge.adf.application.ADFBridgePortlet</portlet-class>
<init-param>
<name>javax.portlet.faces.defaultViewId.view</name>
<value>/adf.task-flow?adf.tfDoc=/WEB-INF/adfp-portlet-bridge-container.xml&adf.tfId=adfp-portlet-bridge-container&_fragmentTaskFlowDoc=/WEB-INF/single-task-flow-definition.xml&_fragmentTaskFlowId=single-task-flow-definition</value>
</init-param>
<supports>
<mime-type>text/html</mime-type>
<portlet-mode>VIEW</portlet-mode>
</supports>
<supported-locale>en</supported-locale>
<portlet-info>
<title>single-task-flow-definition</title>
<short-title>single-task-flow-definition</short-title>
</portlet-info>
<container-runtime-option>
<name>com.oracle.portlet.requireIFrame</name>
<value>true</value>
</container-runtime-option>
<container-runtime-option>
<name>com.oracle.portlet.minimumWsrpVersion</name>
<value>2</value>
</container-runtime-option>
</portlet>
<portlet id="adf_taskflow_WEB_INF_applications_task_flow_xml">
<description>applications-task-flow</description>
<portlet-name>applications-task-flow</portlet-name>
<display-name>applications-task-flow</display-name>
<portlet-class>oracle.portlet.bridge.adf.application.ADFBridgePortlet</portlet-class>
<init-param>
<name>javax.portlet.faces.defaultViewId.view</name>
<value>/adf.task-flow?adf.tfDoc=/WEB-INF/adfp-portlet-bridge-container.xml&adf.tfId=adfp-portlet-bridge-container&_fragmentTaskFlowDoc=/WEB-INF/applications-task-flow.xml&_fragmentTaskFlowId=applications-task-flow</value>
</init-param>
<supports>
<mime-type>text/html</mime-type>
<portlet-mode>VIEW</portlet-mode>
</supports>
<supported-locale>en</supported-locale>
<portlet-info>
<title>applications-task-flow</title>
<short-title>applications-task-flow</short-title>
</portlet-info>
<container-runtime-option>
<name>com.oracle.portlet.requireIFrame</name>
<value>true</value>
</container-runtime-option>
<container-runtime-option>
<name>com.oracle.portlet.minimumWsrpVersion</name>
<value>2</value>
</container-runtime-option>
</portlet>
<custom-portlet-mode>
<portlet-mode>about</portlet-mode>
</custom-portlet-mode>
<custom-portlet-mode>
<portlet-mode>config</portlet-mode>
</custom-portlet-mode>
<custom-portlet-mode>
<portlet-mode>edit_defaults</portlet-mode>
</custom-portlet-mode>
<custom-portlet-mode>
<portlet-mode>preview</portlet-mode>
</custom-portlet-mode>
<custom-portlet-mode>
<portlet-mode>print</portlet-mode>
</custom-portlet-mode>
</portlet-app> In all the 3 task flow there is at least one method activity placed either as the default activity or part of activities.
In service page taskflow the default activity is a method activity. If I convert the service-task-flow alone as a portlet, it failed. showing the similar error : pagedef not found.
Then I created the portlet out of car task-flow whose default activity is a page. This time I can view the portlet, the car list page. Once I click create button on that page which again goes through a method activity, then it failed showing the error mentioned above
It seems where ever there are method activities on the taskflow, the portlet cannot find the pagedef and its throwing error . I have cross checked the deployed war file and all the pagedef's are bundled into it.
Any suggestions are much appreciated.
Thanks,
Morgan.
Edited by: Morgan Freeman on Aug 19, 2011 3:27 AM
Edited by: Morgan Freeman on Aug 19, 2011 3:30 AM
Edited by: Morgan Freeman on Aug 19, 2011 6:02 AM
Hi All,
I solved this issue. The path of pagedef files was not recognized when I publish the taskflows as portlets. Though it runs when I place it as a region on jspx file.
The folder structure where I placed pagedefs earlier was some thing like this in ViewController -> Application Resources
com.mycomp.view.pagedefs
When I wanted to consume the portlet in the portal application, all the pagedefs under this path were not visible to the portlet.
Once I change the pagedef folder to the immediate folder after the Application Resources, it found all the pagedefs
Now my folder structure in ViewController -> Application Resources
view.pagedefs
Is this a bug? or Am I missing some thing.
Thanks,
Morgan.
Similar Messages
-
Method oadbtransaction not found while running jsp page
Hi all,
We are trying to use the below method in jsp, but when are trying its giving error as the method OADBTransaction is not found in corresponding directory, can you please let us know from where we need to download this method from server so that we can run the jsp page from local directory.
Thanks in advance.
AppsContext context = ((OADBTransactionImpl)getOADBTransaction()).getAppsContext();
Regards
DebDeb,
To get the object of AppsContext we use following code in jsp
import = "oracle.apps.fnd.common.WebAppsContext"
WebAppsContext wctx = null;
int userId = 0;
try {
if (Utils.isAppsContextAvailable()) {
wctx = Utils.getAppsContext();
userId = wctx.getUserId();
catch (Exception e) {}Regards,
Gyan -
Error 404--Not Found - while running report in 11g
Dear All ,
I have my oracle application in 10g R1. Now we are migarting that to 11g .
There is a temporary directory where we are generating report output (PDF)
we are using an alias name web_reps for this folder .
Given the AliasMatch in forms.conf and in registry given the alias name for FORMS_MAPPING .
It was working with 10g . Tried the same in 11g so that report is generating in the folder (PDF)
but while openeing the file using web.showdocument () using the alias name it is giving the below error .
Error 404--Not Found
From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
10.4.5 404 Not Found
The server has not found anything matching the Request-URI. No indication is given of whether the condition is temporary or permanent.
If the server does not wish to make this information available to the client, the status code 403 (Forbidden) can be used instead. The 410 (Gone) status code SHOULD be used if the server knows, through some internally configurable mechanism, that an old resource is permanently unavailable and has no forwarding address.
If any body know this issue pls help .
Thanks
JyoAre you using apache in front of your weblogics, or just plain weblogic? Also please post the full version of your 11g installation (11.1.1.x or 11.1.2.x). If you are using no apache and the 11.1.1.x version for development (without apache) the forms servlet and the reports servlet are deployed on different weblogic instances running on a different port; meaning forms is available under e.g.
http://ias:9001/forms/frmservlet
whereas reports is available under
http://ias:9002/reports/rwservlet
but when running reports via web.show_document it assumes both are running on the same port. Also make sure your weblogic instances are up and running. So either you use apache for production (in 11.1.1.x or 11.1.2.x) or you go for 11.1.2 in development where the forms and the reports servlets are deployed on the very same port. As far as I am concerned I'd go for 11.1.2 as the production environment is nothing different from 11.1.1 and the development environment is a hell of a lot easier to install.
cheers -
Method not found while running tests using MTM.
Test method SupportSoft.RequestAssist.TestScenarios.TestSecnario.ValidatingAttachingFileRequestByUser threw exception: System.MissingMethodException: Method not found: 'Void SupportSoft.CommonUtilities.GUIInteraction.ImplicitWaitForElement(OpenQA.Selenium.IWebDriver,
System.String, System.String)'.
I am getting "System.MissingMethodException" for the scenarios which are using "ImplicitWaitForElement" method. The test case is passing in my machine and any other machine if we use the latest tfs created build of our automation code.
But when we trigger run from MTM, this issue is seen.
Please help me out here.
Thanks and Regards,
Payal Prajapati.Hi Payal,
>>The test case is passing in my machine and any other machine if we use the latest tfs created build of our automation code.
According to your description, you mean that when you run the automated test method from Test Explorer in the VS IDE, it works fine, am I right?
If yes, as you said the error message:
>>I am getting "System.MissingMethodException" for the scenarios which are using "ImplicitWaitForElement" method.
I suggest you could try to check if you associated with the automated test method in the MTM by opening your test case and then select the ASSCIATED AUTOMATION tab check if associated the automated test method.
(1) If the it is blank in the ASSCIATED AUTOMATION tab , I assume that you did not associated with the automated test method into the MTM, so I suggest you could try to associated with the automated test method in the MTM and then check this issue again.
About how to automated test method into a test case for the MTM,
please refer to the following steps:
1: You can create a test case from MTM and then you can input the test case ID and then press the Enter like the following screen shot.
2: After the test case edit window is opened, you can select the ASSOCIATED AUTOMATION option to open this Choose Test Window, and then associated the
automate test method.
For more information:
https://msdn.microsoft.com/en-us/library/dd380741.aspx?f=255&MSPPError=-2147217396
(2) If you could see the automated test method in ASSCIATED AUTOMATION tab from MTM like my screen shot, please try to copy this automated test case to Test Agent machine and then check if you can run it successfully.
Best Regards,
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Error 404 -- Not Found while accessing weblogic console
Hi
I get Error 404 Not Found while accessing the console or any other application
which is deployed on the server
while the server is running even i have restarted my server
it shows server running in the log files as well as on the command console .
but when i try to access console or any other application it gives me error page
404 Not Found
I am using weblogic 7 with SP2 on solaris
So please help me in debugging the problem
Thanks in advance....
PratapHi
I get Error 404 Not Found while accessing the console or any other application
which is deployed on the server
while the server is running even i have restarted my server
it shows server running in the log files as well as on the command console .
but when i try to access console or any other application it gives me error page
404 Not Found
I am using weblogic 7 with SP2 on solaris
So please help me in debugging the problem
Thanks in advance....
Pratap -
Error "Specifed Key not found" while installing Oracle 11g R2 db
Hi,
I am new to installing oracle 11gr2 DB. While installing at the stage of "install product" during the process of .Copy files its throwing the following error
*Specified Key not found
Please help me solving this problem. Your help is much appreciated.
Thanks in advance.979400 wrote:
Hi ..
I am getting the "Specified Key not found" while installing Oracle 11 g r2 on windows 8 (64 bit) and below is the installation log , Please help me .
Number one - you are hijacking someone else's thread. Please read the forum FAQ. The link to that is conveniently located in the upper right corner of this very page.
Number two - no oracle product is certified to run on Window 8. If you want to run an Oracle product, you need to use an OS which Oracle has certified for said product.
ID: oracle.install.driver.oui.OUISetupDriver:13
oracle.cluster.verification.PreReqNotSupportedException: Reference data is not available for verifying prerequisites on this operating system distribution
at oracle.cluster.verification.constraints.XmlTaskFactory.getTasks(XmlTaskFactory.java:248)
at oracle.ops.verification.framework.util.VerificationUtil.isPreReqSupported(VerificationUtil.java:4538)
at oracle.ops.verification.framework.util.VerificationUtil.isPreReqSupported(VerificationUtil.java:4487)
at oracle.cluster.verification.ClusterVerification.isPreReqSupported(ClusterVerification.java:6382)
at oracle.install.driver.oui.OUISetupDriver.verifyEnvironment(OUISetupDriver.java:299)
at oracle.install.driver.oui.OUISetupDriver.load(OUISetupDriver.java:422)
at oracle.install.ivw.db.driver.DBSetupDriver.load(DBSetupDriver.java:161)
at oracle.install.commons.base.driver.common.Installer.run(Installer.java:216)
at oracle.install.ivw.db.driver.DBInstaller.run(DBInstaller.java:129)
at oracle.install.commons.util.Application.startup(Application.java:869)
at oracle.install.commons.flow.FlowApplication.startup(FlowApplication.java:164)
at oracle.install.commons.flow.FlowApplication.startup(FlowApplication.java:181)
at oracle.install.commons.base.driver.common.Installer.startup(Installer.java:265)
at oracle.install.ivw.db.driver.DBInstaller.startup(DBInstaller.java:117)
at oracle.install.ivw.db.driver.DBInstaller.main(DBInstaller.java:148)
---# End Stacktrace #-----------------------------
---# Begin Stacktrace #---------------------------
ID: oracle.install.commons.util.exception.DefaultErrorAdvisor:16
oracle.cluster.verification.PreReqNotSupportedException: Reference data is not available for verifying prerequisites on this operating system distribution
at oracle.cluster.verification.constraints.XmlTaskFactory.getTasks(XmlTaskFactory.java:248)
at oracle.ops.verification.framework.util.VerificationUtil.isPreReqSupported(VerificationUtil.java:4538)
at oracle.ops.verification.framework.util.VerificationUtil.isPreReqSupported(VerificationUtil.java:4487)
at oracle.cluster.verification.ClusterVerification.isPreReqSupported(ClusterVerification.java:6382)
at oracle.install.driver.oui.OUISetupDriver.verifyEnvironment(OUISetupDriver.java:299)
at oracle.install.driver.oui.OUISetupDriver.load(OUISetupDriver.java:422)
at oracle.install.ivw.db.driver.DBSetupDriver.load(DBSetupDriver.java:161)
at oracle.install.commons.base.driver.common.Installer.run(Installer.java:216)
at oracle.install.ivw.db.driver.DBInstaller.run(DBInstaller.java:129)
at oracle.install.commons.util.Application.startup(Application.java:869)
at oracle.install.commons.flow.FlowApplication.startup(FlowApplication.java:164)
at oracle.install.commons.flow.FlowApplication.startup(FlowApplication.java:181)
at oracle.install.commons.base.driver.common.Installer.startup(Installer.java:265)
at oracle.install.ivw.db.driver.DBInstaller.startup(DBInstaller.java:117)
at oracle.install.ivw.db.driver.DBInstaller.main(DBInstaller.java:148)
---# End Stacktrace #----------------------------- -
CASE not found while executing CASE statement on Submit Form
Hi to all APEX users and developers.
I have several APEX applications and they are all working well, but recently I got one strange exception when I try to submit page:
Session: Fetch session header information
...metadata, fetch page info
...Validate item page affinity.
...Validate hidden_protected items.
Add error onto error stack
...Error data:
......message: Error processing request.
......additional_info: ORA-06592: CASE not found while executing CASE statement
......display_location: ON_ERROR_PAGE
......is_internal_error: true
......apex_error_code: APEX.UNHANDLED_ERROR
......ora_sqlcode: -6592
......ora_sqlerrm: ORA-06592: CASE not found while executing CASE statement
.....error_backtrace: ORA-06512: at "APEX_040100.WWV_FLOW", line 9273
......component.type: APEX_APPLICATION_AUTH
......component.id: 41350431648668800
......component.name: MNRFR
...Show Error on Error Page
......Performing rollback
Processes - point: AFTER_ERROR_HEADER
Processes - point: BEFORE_ERROR_FOOTER
End Page Processinga
Page has more than 120 items (most of them are hidden), so my first thought is that page has problem with posting so many items, but APEX error message doesn't hel me at all. Any help would be very appreciated :)
AlmirHi Almir,
actually it is the 100 page item limit. See (http://download.oracle.com/docs/cd/E17556_01/doc/user.40/e15517/limits.htm)
I also had a look into the source code and the code at the position where the error gets raised only supports 100 page items.
Can you have a look into the generated HTML code and look if you have a page items which is mapped to p_t101 or a higher number ?
I will file a bug to show a better error message.
Regards
Patrick
My Blog: http://www.inside-oracle-apex.com
APEX Plug-Ins: http://apex.oracle.com/plugins
Twitter: http://www.twitter.com/patrickwolf -
JBO-25002: Definition ...of type View Definition is not found
Hello,
I am using JDev 11.1.1.4.0.
I am having a problem creating read only VO, actually running on integrated weblogic server after creating one. I am getting this exception:
oracle.jbo.NoDefException: JBO-25002: Definition com.model.viewobject.OrderLineStatusVVO of type View Definition is not found.
at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:577)
at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:484)
at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:466)
I created this VO using very simple sql statement, "SELECT ORDER_LINE_STATUS FROM ORDER". JDev creates it and the AM has it listed fine. But when running, I get the above exception.
Many thanks in advance for your help.
Bones Jones
Edited by: Bones Jones on May 10, 2012 10:09 AMFixed it somehow, sort of...
It turned out my OrderLineStatusVVO.xml was not being deployed in the server. The server being integrated weblogic server, I had to dig it up a bit. The other VO xml files were present in the following folder:
C:\Users\[USERACCOUNT]\AppData\Roaming\JDeveloper\system11.1.1.4.37.59.23\o.j2ee\drs\[MYAPP]\ViewControllerWebApp.war\WEB-INF\Classes\com\model\viewobject
For some reason OrderLineStatusVVO.xml was not present. So I did what most of the top developers to, copy and paste. After that I am able to run the app.
Thank you so much for your help!
Bones Jones -
Getting error "Http 404 not found" while accessing CUCM GUI..
Hi,
Please help um getting error "Http 404 not found" while accessing CUCM GUI. Yesterday it was running fine bt nw its showing dis error.
Please find attached screenshot for ur referance.
Thanks & R's
HarishHi Aaron,
I have restarted dat service bt still the issue is persisting.
Now its showing attached error.
Thanks and R's
Harish -
JBO-25002: Definition model.EmpImpl of type Entity Definition is not found.
Created an App Module (AppModuleImpl) with a service method findempEmpno(...) - see first listing
Created a Java class (Class1) to access the App Module - see second listing
Also created an EO and supporting java classes: EmpImpl.java & EmpDefImpl.java
When run Class1 get the error message as per the third listing
Why am I getting the message: Exception in thread "main" oracle.jbo.NoDefException: JBO-25002: Definition model.EmpImpl of type Entity Definition is not found.*
when EmpDefImpl.java has been created?
Bottom line what wanting to do is to access an EO from the AM.
Thanks for any help - Casey
*=============== FIRST LISTING =================*
package model;
import model.common.AppModule;
import oracle.jbo.Key;
import oracle.jbo.server.ApplicationModuleImpl;
import oracle.jbo.server.EntityDefImpl;
import oracle.jbo.server.EntityImpl;
import oracle.jbo.server.ViewLinkImpl;
import oracle.jbo.server.ViewObjectImpl;
+// ---------------------------------------------------------------------+
+// --- File generated by Oracle ADF Business Components Design Time.+
+// --- Tue Sep 22 17:10:43 GMT 2009+
+// --- Custom code may be added to this class.+
+// --- Warning: Do not modify method signatures of generated methods.+
+// ---------------------------------------------------------------------+
+public class AppModuleImpl extends ApplicationModuleImpl implements AppModule {+
+/**+
* This is the default constructor (do not remove).
+public AppModuleImpl() {+
+}+
+/**+
* Container's getter for DeptView1.
* @return DeptView1
+public ViewObjectImpl getDeptView1() {+
return (ViewObjectImpl)findViewObject("DeptView1");
+}+
+/**+
* Container's getter for EmpView1.
* @return EmpView1
+public ViewObjectImpl getEmpView1() {+
return (ViewObjectImpl)findViewObject("EmpView1");
+}+
+/**+
* Container's getter for EmpView2.
* @return EmpView2
+public ViewObjectImpl getEmpView2() {+
return (ViewObjectImpl)findViewObject("EmpView2");
+}+
+/**+
* Container's getter for EmpView3.
* @return EmpView3
+public ViewObjectImpl getEmpView3() {+
return (ViewObjectImpl)findViewObject("EmpView3");
+}+
+/**+
* Container's getter for EmpSelfKeyLink1.
* @return EmpSelfKeyLink1
+public ViewLinkImpl getEmpSelfKeyLink1() {+
return (ViewLinkImpl)findViewLink("EmpSelfKeyLink1");
+}+
+/**+
* Container's getter for EmpForeignKeyLink1.
* @return EmpForeignKeyLink1
+public ViewLinkImpl getEmpForeignKeyLink1() {+
return (ViewLinkImpl)findViewLink("EmpForeignKeyLink1");
+}+
+public String findempEmpno(long empno) {+
EntityDefImpl empDef = EntityDefImpl.findDefObject("model.EmpImpl"); // LINE 73+
+Key empKey = new Key(new Object[] { empno });+
EntityImpl emp = empDef.findByPrimaryKey(getDBTransaction(), empKey);
+if (emp != null) {+
return (String)emp.getAttribute("Empno");
+} else {+
return null;
+}+
+}+
+}+
*=============== SECOND LISTING =================*
package model;
import oracle.jbo.client.Configuration;
import oracle.jbo.*;
import oracle.jbo.domain.Number;
import oracle.jbo.domain.*;
import model.*;
+public class Class1 {+
+public Class1() {+
super();
+}+
+public static void main(String[] args) {+
Class1 class1 = new Class1();
String amDef = "model.AppModule";
String config = "AppModuleLocal";
ApplicationModule am =
Configuration.createRootApplicationModule(amDef, config);
AppModuleImpl ami = (AppModuleImpl)am;
System.out.println(ami.findempEmpno(7788L)); // LINE 24+
Configuration.releaseRootApplicationModule(am, true);
+}+
+}+
*=============== THIRD LISTING =================*
D:\Oracle\Middleware\jdk160_11\bin\javaw.exe -client -classpath D:\JDeveloper\mywork\Application2\.adf;D:\JDeveloper\mywork\Application2\Model\classes;D:\Oracle\Middleware\jdeveloper\modules\oracle.idm_11.1.1\identitystore.jar;D:\Oracle\Middleware\jdeveloper\modules\oracle.adf.model_11.1.1\adfm.jar;D:\Oracle\Middleware\jdeveloper\modules\groovy-all-1.6.0.jar;D:\Oracle\Middleware\jdeveloper\adfdt\lib\adf-dt-at-rt.jar;D:\Oracle\Middleware\jdeveloper\adfdt\lib\adf-transactions-dt.jar;D:\Oracle\Middleware\jdeveloper\modules\oracle.adf.model_11.1.1\adfdt_common.jar;D:\Oracle\Middleware\jdeveloper\modules\oracle.xdk_11.1.0\xmlparserv2.jar;D:\Oracle\Middleware\jdeveloper\modules\oracle.adf.model_11.1.1\db-ca.jar;D:\Oracle\Middleware\jdeveloper\modules\oracle.adf.model_11.1.1\jdev-cm.jar;D:\Oracle\Middleware\jdeveloper\modules\oracle.ldap_11.1.1\ojmisc.jar;D:\Oracle\Middleware\jdeveloper\modules\oracle.adf.share_11.1.1\commons-el.jar;D:\Oracle\Middleware\jdeveloper\modules\oracle.adf.share_11.1.1\jsp-el-api.jar;D:\Oracle\Middleware\jdeveloper\modules\oracle.adf.share_11.1.1\oracle-el.jar;D:\Oracle\Middleware\modules\javax.activation_1.1.0.0_1-1.jar;D:\Oracle\Middleware\jdeveloper\modules\oracle.adf.share_11.1.1\adf-share-support.jar;D:\Oracle\Middleware\jdeveloper\modules\oracle.adf.share.ca_11.1.1\adf-share-ca.jar;D:\Oracle\Middleware\jdeveloper\modules\oracle.adf.share.ca_11.1.1\adf-share-base.jar;D:\Oracle\Middleware\jdeveloper\modules\oracle.adf.share_11.1.1\adflogginghandler.jar;D:\Oracle\Middleware\jdeveloper\modules\oracle.jmx_11.1.1\jmxframework.jar;D:\Oracle\Middleware\jdeveloper\modules\oracle.jmx_11.1.1\jmxspi.jar;D:\Oracle\Middleware\jdeveloper\modules\oracle.adf.model_11.1.1\bc4j-mbeans.jar;D:\Oracle\Middleware\jdeveloper\modules\oracle.adf.model_11.1.1\bc4jwizard.jar;D:\Oracle\Middleware\jdeveloper\modules\oracle.javatools_11.1.1\resourcebundle.jar;D:\Oracle\Middleware\jdeveloper\modules\oracle.ldap_11.1.1\ldapjclnt11.jar;D:\Oracle\Middleware\jdeveloper\modules\oracle.jps_11.1.1\jps-api.jar;D:\Oracle\Middleware\jdeveloper\modules\oracle.jps_11.1.1\jps-common.jar;D:\Oracle\Middleware\jdeveloper\modules\oracle.jps_11.1.1\jps-ee.jar;D:\Oracle\Middleware\jdeveloper\modules\oracle.jps_11.1.1\jps-internal.jar;D:\Oracle\Middleware\jdeveloper\modules\oracle.jps_11.1.1\jps-unsupported-api.jar;D:\Oracle\Middleware\jdeveloper\modules\oracle.jps_11.1.1\jacc-spi.jar;D:\Oracle\Middleware\jdeveloper\modules\oracle.pki_11.1.1\oraclepki.jar;D:\Oracle\Middleware\jdeveloper\modules\oracle.osdt_11.1.1\osdt_core.jar;D:\Oracle\Middleware\jdeveloper\modules\oracle.osdt_11.1.1\osdt_cert.jar;D:\Oracle\Middleware\jdeveloper\modules\oracle.osdt_11.1.1\osdt_xmlsec.jar;D:\Oracle\Middleware\jdeveloper\modules\oracle.iau_11.1.1\fmw_audit.jar;D:\Oracle\Middleware\modules\javax.security.jacc_1.0.0.0_1-1.jar;D:\Oracle\Middleware\jdeveloper\BC4J\jlib\bc4jtester.jar;D:\Oracle\Middleware\jdeveloper\modules\oracle.adf.model_11.1.1\bc4jsyscat.jar;D:\Oracle\Middleware\jdeveloper\jlib\ohj.jar;D:\Oracle\Middleware\jdeveloper\jlib\help-share.jar;D:\Oracle\Middleware\jdeveloper\modules\oracle.bali.share_11.1.1\share.jar;D:\Oracle\Middleware\jdeveloper\jlib\jewt4.jar;D:\Oracle\Middleware\jdeveloper\jlib\oracle_ice.jar;D:\Oracle\Middleware\jdeveloper\ide\lib\idert.jar;D:\Oracle\Middleware\jdeveloper\ide\lib\javatools.jar;D:\Oracle\Middleware\wlserver_10.3\server\lib\weblogic.jar;D:\Oracle\Middleware\jdeveloper\modules\oracle.mds_11.1.1\mdsrt.jar;D:\Oracle\Middleware\modules\javax.servlet_1.0.0.0_2-5.jar;D:\Oracle\Middleware\modules\javax.jsp_1.1.0.0_2-1.jar;D:\Oracle\Middleware\wlserver_10.3\server\ext\jdbc\oracle\11g\ojdbc6.jar;D:\Oracle\Middleware\jdeveloper\modules\oracle.adf.share_11.1.1\commons-cli-1.0.jar;D:\Oracle\Middleware\jdeveloper\modules\oracle.xmlef_11.1.1\xmlef.jar;D:\Oracle\Middleware\jdeveloper\modules\oracle.dms_11.1.1\dms.jar;D:\Oracle\Middleware\jdeveloper\modules\oracle.xdk_11.1.0\xml.jar;D:\Oracle\Middleware\jdeveloper\modules\oracle.javacache_11.1.1\cache.jar;D:\Oracle\Middleware\jdeveloper\modules\oracle.ucp_11.1.0.jar;D:\Oracle\Middleware\jdeveloper\modules\oracle.odl_11.1.1\ojdl.jar;D:\Oracle\Middleware\jdeveloper\modules\oracle.javatools_11.1.1\javatools-nodeps.jar;D:\Oracle\Middleware\jdeveloper\modules\oracle.nlsrtl_11.1.0\orai18n-collation.jar;D:\Oracle\Middleware\jdeveloper\modules\oracle.nlsrtl_11.1.0\orai18n-mapping.jar;D:\Oracle\Middleware\jdeveloper\modules\oracle.nlsrtl_11.1.0\orai18n-servlet.jar;D:\Oracle\Middleware\jdeveloper\modules\oracle.nlsrtl_11.1.0\orai18n-translation.jar;D:\Oracle\Middleware\jdeveloper\modules\oracle.nlsrtl_11.1.0\orai18n-utility.jar;D:\Oracle\Middleware\jdeveloper\modules\oracle.nlsrtl_11.1.0\orai18n.jar;D:\Oracle\Middleware\jdeveloper\modules\oracle.adf.share_11.1.1\adfsharembean.jar;D:\Oracle\Middleware\modules\javax.ejb_3.0.1.jar;D:\Oracle\Middleware\jdeveloper\modules\oracle.adf.model_11.1.1\adfbcsvc.jar;D:\Oracle\Middleware\jdeveloper\modules\oracle.adf.model_11.1.1\adfbcsvc-share.jar;D:\Oracle\Middleware\jdeveloper\modules\commonj.sdo_2.1.0.jar;D:\Oracle\Middleware\modules\org.eclipse.persistence_1.0.0.0_1-1-0.jar;D:\Oracle\Middleware\jdeveloper\modules\oracle.webservices_11.1.1\wsclient.jar;D:\Oracle\Middleware\modules\com.oracle.toplink_1.0.0.0_11-1-1-1-0.jar;D:\Oracle\Middleware\modules\com.bea.core.antlr.runtime_2.7.7.jar;D:\Oracle\Middleware\modules\javax.persistence_1.0.0.0_1-0-2.jar -Dhttp.proxyHost=ges-proxy.us.oracle.com -Dhttp.proxyPort=80 -Dhttp.nonProxyHosts=sdcousecgate02.oracle.com|sdcousecgate01.oracle.com|yourtraining.oracle.com|vx*.us.oracle.com|eg*.us.oracle.com|*.example.com|jp0001.jp.oracle.com|edr4r1*.us.oracle.com|edr3r1*.us.oracle.com|localhost|10.150.1.46|edbsr*p*.peoplesoft.com|edbsr*p*.us.oracle.com|japan-tele-sslvpn.oracle.com|emea-tele-sslvpn.oracle.com|aus-tele-sslvpn.oracle.com|adc-tele-sslvpn.oracle.com|*.oracle.retail.com|localhost.localdomain|127.0.0.1|::1 -Dhttps.proxyHost=ges-proxy.us.oracle.com -Dhttps.proxyPort=80 -Dhttps.nonProxyHosts=sdcousecgate02.oracle.com|sdcousecgate01.oracle.com|yourtraining.oracle.com|vx*.us.oracle.com|eg*.us.oracle.com|*.example.com|jp0001.jp.oracle.com|edr4r1*.us.oracle.com|edr3r1*.us.oracle.com|localhost|10.150.1.46|edbsr*p*.peoplesoft.com|edbsr*p*.us.oracle.com|japan-tele-sslvpn.oracle.com|emea-tele-sslvpn.oracle.com|aus-tele-sslvpn.oracle.com|adc-tele-sslvpn.oracle.com|*.oracle.retail.com|localhost.localdomain|127.0.0.1|::1 model.Class1
Sep 22, 2009 7:40:28 PM oracle.adf.share.config.ADFConfigFactory getInstance
INFO: ADF Config instance implementation in use is : oracle.adf.share.config.MDSConfigFactory
Sep 22, 2009 7:40:31 PM oracle.adf.share.jndi.MDSBackingStore isReadOnlyMDSStore
INFO: Read only backing store
Exception in thread "main" oracle.jbo.NoDefException: JBO-25002: Definition model.EmpImpl of type Entity Definition is not found.+
+ at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:499)+
+ at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:417)+
+ at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:399)+
+ at oracle.jbo.server.MetaObjectManager.findMetaObject(MetaObjectManager.java:750)+
+ at oracle.jbo.server.EntityDefImpl.findDefObject(EntityDefImpl.java:567)+
+ at model.AppModuleImpl.findempEmpno(AppModuleImpl.java:73)+
+ at model.Class1.main(Class1.java:24)+
Process exited with exit code 1.Duplicate of Re: JBO-25003: Object root of type View Object is not found.
Please close this thread. -
" APPLICATION NOT FOUND" while deploying Web dynpro java Application
Hi, I am getting a message that "application not found " While deploying the web dynpro java application .......... please give me a solution for this .
Hi Ram,
This error comes generally when your webdynpro project does not have an application. To create an application in your webdynpro project follow the underlying steps:
<Project>->WebDynpro->Applications ---> right click and create New Application.
Follow the steps to create the application.
Now if you create archive and deploy, it will not give you the error again.
Best Regards,
Ravi -
Payment Method supplement is not found while posting invoice thru' F-43
Dear Gurus,
I have configured Vendor Account group (OBD3) & created a vendor account (XK01).While posting thru' T code F-43,an error "Enter payment method supplement in line item 001" is found.But, payment method supplement field is not found while posting.Please solve my problem.hi ,
In F-43 when you enter the document & posting date, company code, currency , And Vendor number PRESS ENTER it will take you to next screen There you can find the PAYMENT METHOD tab under invoice reference .
hope this will help you . -
"An eligible Pages application was not found in the location /Applications." every time i try to update. what do i do?
lukasfromnull wrote:
You will need to buy the newest iWork so it works again. I had the same problem.
No, there is no need to re-purchase iWork. If it was installed from a retail boxed DVD, it needs to be reinstalled from the DVD. If a license was purchased electronically for the iWork '09 trial, reinstalling from the downloaded dmg will need to be done. If any of the apps were purchased from the Mac App Store, they can be reinstalled from the Mac App Store. -
HTTP 404 Not Found while accessing Human Resource Intelligence functions
Hi,
Can anyone help me in resolving
HTTP 404 Not Found while accessing Human Resource Intelligence functions
error
Instance : R12
ThanksHi,
Apache log file is not showing any errors.What log files have you checked? Please check error_log and access_log files, you should find more details about the error in these logs.
Thanks,
Hussein -
IPlanet 6.0 and struts (Extension of file not found, while displaying stati
i am trying to launch the strut appln in iPlanet 6.0 when i am making a reqest for jsp i am getting a message saying Error: 404 SC_NOT_FOUND
Extension of file not found, while displaying static content . i do not have any clue on this why i am getting this message.
Could anybody help me regarding thisHello,
I am experiencing the same problem too. My jsp accesses a javabean. I
noticed, most of the times, I thought, it happened when session was timed
out. But it also happended before the time-out too. I had it set as default
at 30 minutes.
If you find out a solution or some high lights please let me know.
Thanks a lots.
ThuThien Ho
[email protected]
(703) 428-2856
Jordi Lucas wrote:
Hi all,
I have the following problem.
When I try to execute a jsp, the server responds:
Error: 404 SC_NOT_FOUND
Extension of file not found, while displaying static content
This problem doesn't ocurred with all jsp's, it seems that only ocurrs
with the jsp's that call EJB's or JavaBean's.
Anyone has encountered with the same problem?
Any idea?
We are using Iplanet Application Server 6.0 SP3 and IPlanetWebServer 4.1
SP7.
Thanks in advance !
Jordi Lucas Essi Projects
Ingeniero de desarrollo
[email protected] t +34 977 221 182
http://www.essiprojects.com f +34 977 230 170
Maybe you are looking for
-
All PDF files became corrupted
All of my PDF files on my Windows Server 2008. When I try to open them I get the following error "Adobe Reader could not open 'filename' because it is either not a supported file type or because the file has been damaged (for example, it was sent as
-
Using Message Built-In - Message dialog box appears twice
Hi all, I'm using the message built-in to display messages in forms. I use the message command twice to make it appear as a dialog box.(Using it once displays it in status bar) Eg. Message('Hello World'); Message('Hello World'); Sometimes, the dialog
-
I have a iPhone 5 only had it 5 months on the screen it as *** up wiv a padlock wiv a circle around it.. Does anyone no wot this is and how do u remove it? I've been through my phone but can't find anything.. Thanks
-
Weblogic Server Installation in Master/Slave
Hi All, I have two linux server dedicated for weblogic server and I want to configure weblogic server on both the machines with one of them becomes a server and other machine will be a slave. I have searched a lot but couldn't find any adequate infor
-
Wl 6.0 libproxy and nes 3.6 problems....
Having a problem getting libproxy to function properly on nes 3.6 Added the proper entries for the plugin in obj.conf; reloaded. Nes instance starts up fine. If I attempt to access the url (i've defined by ppath) the app server never get's hit. It's