Jdeveloper 10g + JUnit

Hi everybody my problem is:
I'm using Jdeveloper 10g, JSF, ADF Faces.
I'm trying to do a test case using JUnit with JDeveloper but the method corresponding to test case requiere an objects
javax.faces.context.ExternalContext;
javax.faces.context.FacesContext;
something like this:
ExternalContext objExternalContext = FacesContext.getCurrentInstance().getExternalContext();
so, like the test case isn't executing in a web context this object(objExternalContext) is null and the test case present the famous exception NullPointerException and can't finish the test case.
Any suggestion to create and run a test case in a web context will be a great help.
Thanks in advantage.
Mauricio.

Maybe httpunit can help here:
http://www.oracle.com/technology/products/jdev/howtos/10g/httpunit/index.html

Similar Messages

  • Installing JUnit in Jdeveloper 10g 10.1.3.1

    Please help me to install JUnit in JDeveloper 10g 10.1.3.1. I have searched in the site they suggested me to click on 'check for updates' menu option. But if click on check for updates option after click next on welcome page I have selected 'search update centers' radio button and then have clicked on add button which asking to enter Name and Location. But I am not understanding what enter there. I have tried by entering OTN, http://www.oracle.com/technology/software/products/jdev/index.html. I have got any results.
    Please help awaiting for reply

    Hi,
    You don't need to add anything. If you have a functional internet connection that JDeveloper can use, then you will already be able to see Oracle's official update centers in the list (you should see "Official Oracle Extensions and Updates" as the first item).
    If you're having trouble with internet connectivity from JDeveloper, check out the Web Browser and Proxy page in Preferences and make sure any proxy settings you require to contact the internet are configured properly.
    Thanks,
    Brian

  • JUnit 4 AfterClass annotation alternative in JUnit 3 in JDeveloper 10g

    hi
    A JUnit 4.6 test class like this ...
    public class MyJUnit4TestClass
         @BeforeClass public static void myBeforeClassMethod()
         { System.out.println("MyJUnit4TestClass.myBeforeClassMethod() : begin"); }
         @AfterClass public static void myAfterClassMethod()
         { System.out.println("MyJUnit4TestClass.myAfterClassMethod() : begin"); }
         @Before public void myBeforeMethod()
         { System.out.println("MyJUnit4TestClass.myBeforeMethod() : begin"); }
         @After public void myAfterMethod()
         { System.out.println("MyJUnit4TestClass.myAfterMethod() : begin"); }
         @Test public void myFirstTest()
         { System.out.println("MyJUnit4TestClass.myFirstTest() : begin"); }
         @Test public void mySecondTest()
         { System.out.println("MyJUnit4TestClass.mySecondTest() : begin"); }
         public static void main(String[] pArguments)
              org.junit.runner.JUnitCore.main("junitafterclassstuff.junit4stuff.MyJUnit4TestClass");
    } ... results in output like this ...
    JUnit version 4.6
    MyJUnit4TestClass.myBeforeClassMethod() : begin
    .MyJUnit4TestClass.myBeforeMethod() : begin
    MyJUnit4TestClass.mySecondTest() : begin
    MyJUnit4TestClass.myAfterMethod() : begin
    .MyJUnit4TestClass.myBeforeMethod() : begin
    MyJUnit4TestClass.myFirstTest() : begin
    MyJUnit4TestClass.myAfterMethod() : begin
    MyJUnit4TestClass.myAfterClassMethod() : begin
    Time: 0
    OK (2 tests)Given that JDeveloper 10g (10.1.3.4.0) does not support JUnit 4 (see threads Mature testing: TestNG or JUnit 4 for JDeveloper? and JUnit4 and Jdev 10.1.3.1), I am trying to find an alternative for the JUnit 4 AfterClass annotation in the JUnit version that is integrated (which seems to be 3.8.1).
    I could write code like this ...
    public class MyJUnit3TestClass extends TestCase
         protected static boolean fBeforeClassHasRun = false;
         protected static void myBeforeClassMethod()
              System.out.println("MyJUnit3TestClass.myBeforeClassMethod() : begin");
              fBeforeClassHasRun = true;
          * under which conditions or with which JUnit API hook can I call
          * this method, similar to the JUnit 4 AfterClass annotation
         protected static void myAfterClassMethod()
         { System.out.println("MyJUnit3TestClass.myAfterClassMethod() : begin"); }
         protected void setUp() throws Exception
              super.setUp();
              if (!fBeforeClassHasRun)
                   myBeforeClassMethod();
              System.out.println("MyJUnit3TestClass.setUp() : setting up");
         protected void tearDown() throws Exception
              super.tearDown();
              System.out.println("MyJUnit3TestClass.tearDown() : tearing down");
         public void testMyFirstTest()
         { System.out.println("MyJUnit3TestClass.testMyFirstTest() : begin"); }
         public void testMySecondTest()
         { System.out.println("MyJUnit3TestClass.testMySecondTest() : begin"); }
    } ... resulting in output like this ...
    MyJUnit3TestClass.myBeforeClassMethod() : begin
    MyJUnit3TestClass.setUp() : setting up
    MyJUnit3TestClass.testMySecondTest() : begin
    MyJUnit3TestClass.tearDown() : tearing down
    MyJUnit3TestClass.setUp() : setting up
    MyJUnit3TestClass.testMyFirstTest() : begin
    MyJUnit3TestClass.tearDown() : tearing downBut what can I do to call MyJUnit3TestClass.myAfterClassMethod() after all the tests in the class have been run, and as such let it behave similar to what the JUnit 4 AfterClass annotation allows me to do?
    many thanks
    Jan Vervecken

    repost

  • Oracle Jdeveloper 10g (10.1.2.0.0)

    Dear, Can you assist me to download Oracle Jdevelop 10g (10.1.2.0.0), I'm trying from last 3 hours date 11th June 2005.
    Thanks & Best Regards
    Shahebaz Shaikh

    Dear Naif,
    Could you send me a copy of Jdev as well.
    I don't mind having the preview version of latest Jdev (10.1.3?), which has JSF feature.
    my email is [email protected]
    Thanks in advance
    Alan

  • How to create a "pjc" using jdeveloper 10g

    Hi guys
    I am trying to make my first pjc (pluggable java component) using jdeveloper (default installation with Oracle developer 10g). I was following the [Jdeveloper 9 documentation||http://www.oracle.com/technetwork/developer-tools/forms/index-087743.html] from OTN and got stuck once after creating the PJC1.java
    According to the documentation, the property inspector should allow me to change various properties for the newly created .java file and let me add new events with the events tab. In my case, once after I select the java item from UI, the property inspector doesn't show anything. No tabs for properties or events :O
    If somebody could point me towards Oracle documentation for Jdeveloper 10g, it would grateful.
    regards,
    raj
    Edited by: rthampi on Apr 27, 2013 8:50 PM

    CraigB wrote:
    Oracle jDeveloper 10.1.2.1.0 was the last version the inclued the Forms PJC Wizards. All versions after this didn't include them. You can actually develop a PJC using any IDE, but I have found using the PJC Wizard to be extreamly helpful. Java is not my strongest skill and I don't do a lot of Java PJC development so I keep this version installed for when I need to work on PJCs.
    Craig...Thank you Craig. We are with Oracle ERP R12 from 2009 June and almost all our legacy applications were either made a part of the ERP suite, or hosted with Weblogic server 10.3.6. As leading the development team, my biggest challenge is making the custom applications migrated to 11g forms/Reports "behave" exactly like the ERP suite.
    We wanted to design a parameter screen for the reports, almost like with ERP Suite, where the parameter columns are dynamically created during runtime and the biggest challenge was to limit the MAXIMUM LENGTH for those columns, thus started our venture to find an appropriate solution. After spending almost 20 years in the field of software development, I just didn't want to copy a jar file from the web and get over with it. Instead I wanted to understand what the codes do.
    Anyway, Francois was kind enough to provide the .java with his pjc blog and I created a new pjc based on this .java code :) and my objective was satisfied. If Oracle really wants to "kill" the forms/reports, I think they just should do that, instead of removing few highly sought components with so called "Newer versions"
    Ridiculously the documentation library for JDeveloper 10.1.0 is empty, even though it is listed with Oracle documentation library.
    Cheers guys
    raj

  • JDeveloper 10g production, status JHeadstart?

    Dear all,
    As is mentioned on the JDeveloper site, 10g is finally in production (version 9.0.5.1, build 1605).
    Does this have impact on the JHeadstart release?
    Is the latest JHeadstart release already working with this version?
    Thanks in advance,
    Ralph Deguelle

    Ralph and others,
    At this moment JHeadstart 10g (9.0.4.5) is not yet certified against the JDeveloper 10g (9.0.5.1) production release. Of course we plan to certify as soon as possible. Our target release date for this certification is the 29th of April. The version number for this JHeadstart 10g release will be the same as for JDeveloper: 9.5.0.1. We will publish this release on the supplement option folder for the license holders and on OTN for people that want to evaluate JHeadstart. For a list of planned new features see below.
    In addition to this release we have planned another release JHeadstart 10g 10.0.1 (version number may change) that will support Oracle ADF. In this release JHeadstart will fully allign with ADF and we plan to include lots of new features that will enable you to generate more quickly and more advanced layout styles. For a list of planned features see below. Planned release date for 10.0.1 is end of June. Supplement Option holders will be able to acquire this release through the supplement option.
    NEW FEATURES JHEADSTART 10g 9.0.5.1
    The JHeadstart 10g (9.5.0.1) release will include the following new features:
    - description on how to use Toplink in combination with JHeadstart
    - improvements in the Toplink deployment code so no post generation is necessary
    - Generation of regions in JSP's
    - Link from the Application Structure Editor to the BC4J property editor to more easily record meta data on the different levels
    - Link from the Application Structure Editor to the JHeadstart Application Generator to quickly generate your application without having to leave the editor
    - Added poplist to properties region and domain in the bc4j property editor to prevent typing errors.
    - Bug fixes, a complete list will be made available in the readme of
    NEW FEATURES PLANNED FOR JHEADSTART 10g (10.0.1)
    Below you can find a list of the features that we plan to include in the 10.0.1 release. This list is not complete yet. We plan to publish a viewlet in the coming weeks
    - complete allignment with Oracle ADF
    - automatic generation of Application Structure File based on the ADF Business Components.
    - quick search
    - advanced search and option to publish result in same page
    - all master-detail layout combinations
    - unlimited nesting of groups
    - actions items (custom buttons and links)
    - more refined mechanism to preserve post generation modification
    - flexible JSP template mechanism that provides you full control of the generated look and feel including the layout
    - large number of smaller enhancements
    Ton van Kooten
    JHeadstart Team
    Oracle

  • ADF is not working in JDeveloper 10g

    Hi all,
    I've been trying to get ADF to work with JDeveloper 10g but to no avail. I've followed the steps from the following link: http://www.oracle.com/technetwork/developer-tools/jdev/how-to-adf-faces-10gjdev-085657.html
    the only thing that i fail to follow is in creating the library. I have only the adf-faces-api.jar and adf-faces-impl.jar but not the share-1_1_18.jar
    I do not know whether this is creating the problem as my error message is not helpful.
    part of the error msg:
    May 8, 2013 12:25:11 PM com.sun.faces.config.rules.ConverterRule end
    WARNING: [ConverterRule]{faces-config/converter} Merge(javax.faces.Long,null)
    May 8, 2013 12:25:11 PM com.sun.faces.config.rules.ConverterRule end
    WARNING: [ConverterRule]{faces-config/converter} Merge(null,java.lang.Long)
    May 8, 2013 12:25:11 PM com.sun.faces.config.rules.ConverterRule end
    WARNING: [ConverterRule]{faces-config/converter} Merge(javax.faces.Float,null)
    May 8, 2013 12:25:11 PM com.sun.faces.config.rules.ConverterRule end
    WARNING: [ConverterRule]{faces-config/converter} Merge(null,java.lang.Float)
    May 8, 2013 12:25:11 PM com.sun.faces.config.rules.ConverterRule end
    WARNING: [ConverterRule]{faces-config/converter} Merge(javax.faces.Double,null)
    May 8, 2013 12:25:11 PM com.sun.faces.config.rules.ConverterRule end
    WARNING: [ConverterRule]{faces-config/converter} Merge(null,java.lang.Double)
    May 8, 2013 12:25:11 PM com.sun.faces.config.rules.ValidatorRule end
    WARNING: [ValidatorRule]{faces-config/validator} Merge(javax.faces.LongRange)
    May 8, 2013 12:25:11 PM com.sun.faces.config.rules.ValidatorRule end
    WARNING: [ValidatorRule]{faces-config/validator} Merge(oracle.adf.DateTimeRange)
    May 8, 2013 12:25:11 PM com.sun.faces.config.rules.ValidatorRule end
    WARNING: [ValidatorRule]{faces-config/validator} Merge(oracle.adf.RegExp)
    May 8, 2013 12:25:11 PM com.sun.faces.config.rules.ValidatorRule end
    WARNING: [ValidatorRule]{faces-config/validator} Merge(oracle.adf.ByteLength)
    May 8, 2013 12:25:11 PM com.sun.faces.config.rules.ConverterRule end
    WARNING: [ConverterRule]{faces-config/converter} Merge(oracle.adf.Color,null)
    May 8, 2013 12:25:11 PM com.sun.faces.config.rules.ConverterRule end
    WARNING: [ConverterRule]{faces-config/converter} Merge(null,java.awt.Color)
    May 8, 2013 12:25:11 PM com.sun.faces.config.rules.ConverterRule end
    WARNING: [ConverterRule]{faces-config/converter} Merge(javax.faces.DateTime,null)
    May 8, 2013 12:25:11 PM com.sun.faces.config.rules.ConverterRule end
    WARNING: [ConverterRule]{faces-config/converter} Merge(oracle.adf.DateTime,null)
    May 8, 2013 12:25:11 PM com.sun.faces.config.rules.ConverterRule end
    WARNING: [ConverterRule]{faces-config/converter} Merge(null,java.util.Date)
    May 8, 2013 12:25:11 PM com.sun.faces.config.rules.ConverterRule end
    WARNING: [ConverterRule]{faces-config/converter} Merge(null,java.util.Calendar)
    I've been trying to resolve this by creating a new project but once i input adf tags the problem arise again.
    Please help. Thanks!
    Edited by: 1003893 on May 7, 2013 9:28 PM

    Now that I've looked at the linked article...
    That was showing you how to use a very early version of ADF Faces (a pre-release, in fact) with a very old version of JDeveloper. That document is nearly 9 years old.
    Starting with JDeveloper 10.1.3, ADF Faces is "built-in"
    And since JDeveloper 10.1.3.x, we have had both the JDeveloper 11.1.1.x and 11.1.2.x series released.
    Why are you still using 10.1.2.x?

  • Error while running OA Framework (Suppliers Page) in Jdeveloper 10g

    Hi All,
    Currently working on R12 and OA Framwork Version is 12.0.3. As per metalink note 416708.1 ....installed jdeveloper verison p6509325_R12_GENERIC. Error Message....Can you please let me there is any workaround for this?
    OA Framework Version InformationOA Framework Version 12.0.3
    MDS Version 9.0.6.0.0 (build 26)
    UIX Version 2.3.6.2
    BC4J Version 10.1.3.3
    I am running into following error message while a running a Suppliers Page in Jdeveloper 10g.
    oracle.apps.fnd.framework.OAException: java.lang.NullPointerException
         at oracle.apps.fnd.framework.OAException.wrapperException(Unknown Source)
         at oracle.apps.fnd.framework.OAException.wrapperException(Unknown Source)
         at oracle.apps.fnd.framework.OAException.wrapperInvocationTargetException(Unknown Source)
         at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(Unknown Source)
         at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(Unknown Source)
         at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.invokeMethod(Unknown Source)
         at oracle.apps.pos.supplier.webui.ByrPurchCO.processRequest(ByrPurchCO.java:60)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
         at OA.jspService(_OA.java:71)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    ## Detail 0 ##
    java.lang.NullPointerException
         at oracle.apps.pos.supplier.server.ByrSuppAMImpl.initializeOrg(ByrSuppAMImpl.java:1447)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(Unknown Source)
         at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(Unknown Source)
         at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.invokeMethod(Unknown Source)
         at oracle.apps.pos.supplier.webui.ByrPurchCO.processRequest(ByrPurchCO.java:60)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
         at OA.jspService(_OA.java:71)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    java.lang.NullPointerException
         at oracle.apps.pos.supplier.server.ByrSuppAMImpl.initializeOrg(ByrSuppAMImpl.java:1447)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(Unknown Source)
         at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(Unknown Source)
         at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.invokeMethod(Unknown Source)
         at oracle.apps.pos.supplier.webui.ByrPurchCO.processRequest(ByrPurchCO.java:60)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
         at OA.jspService(_OA.java:71)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)

    Check the page function and make sure that you are providing all the parameters for page functions. Also make sure that it is the page where the process starts and it is not expecting any value from any other page.
    --Shiv                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Error while running OA Framework (HelloWorld.jpr) in Jdeveloper 10g

    Hi all,
    I have a created sample HelloWorld Page thru Jdeveloper 10g with OA Extension on R12 Instance. I am running to following error when I run the page from Jdeveloper 10g. Can you please help me out in resolving this issue?
    I would really appreciate your help. Thx
    java.lang.ExceptionInInitializerError     at oracle.apps.fnd.common.WebRequestUtil.validateContextPrivate(WebRequestUtil.java:439)     at oracle.apps.fnd.common.WebRequestUtil.validateContext(WebRequestUtil.java:322)     at oracle.apps.fnd.common.WebRequestUtil.validateContext(WebRequestUtil.java:225)     at OAErrorPage.jspService(_OAErrorPage.java:62)     [OAErrorPage.jsp]     at com.orionserver[Oracle Containers for J2EE 10g (10.1.3.3.0) ].http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)     at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)     at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)     at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:259)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:51)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:193)     at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:283)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:198)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.EvermindPageContext.handlePageThrowable(EvermindPageContext.java:847)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.EvermindPageContext.handlePageException(EvermindPageContext.java:813)     at runregion.jspService(_runregion.java:193)     [runregion.jsp]     at com.orionserver[Oracle Containers for J2EE 10g (10.1.3.3.0) ].http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)     at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)     at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)     at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)     at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)     at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)     at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)     at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)     at java.lang.Thread.run(Thread.java:595)Caused by: java.lang.IllegalArgumentException: WebAppsContext.getJDBCConnection() == null     at oracle.apps.fnd.functionSecurity.FunctionSecurity.init(FunctionSecurity.java:1602)     at oracle.apps.fnd.functionSecurity.FunctionSecurity.<init>(FunctionSecurity.java:188)     at oracle.apps.fnd.sso.SSOUtil.getLocalPwdChangeUrl(SSOUtil.java:709)     at oracle.apps.fnd.sso.SSOUtil.getLocalPwdChangeUrl(SSOUtil.java:765)     at oracle.apps.fnd.sso.SSOManager.<clinit>(SSOManager.java:2209)     ... 37 more

    Hi
    Thanks for your reply. I have checked my Runtime Connection. Everything looks good. The following are settings done.
    1) Project Properties -> Oracle Applications -> Runtime Connection
    Dbc FileName: C:\Jdev10g_R12\jdevhome\jdev\dbc_files\secure\dld.dbc
    username: kthalakoti (Apps Username & password as given)
    password: ************
    Applcation Short Name: AK
    Responsibility Key: FWK_TBX_TUTORIAL
    2) Project Properties -> Oracle Applications -> Database Connection
    User Name: apps
    Connect String:
    jdbc:oracle:thin:@//mrpdev24.sirf.com:1521/DLD
    Can you please help me out where I'm getting wrong?
    Thanks
    3) Project Properties -> Oracle Applications -> Run Options
    Selected Options: OADiagnostic
    OADeveloperMode

  • Drop Down Menu on Jdeveloper 10g - REVISED

    Hello Gurus, I am using Jdeveloper 10g. I know that drop down menus are not supported in Jdeveloper10g/ADF and available from it's next release onwards which is Jdeveloper 11g. Hence, to develop drop down menus on a menu bar I am using HTML and Java script. The issue that I am facing - the horizontal menubar displays always on the top of the webpage overlapping other web page objects. This is not where we want to display the menu bar. Instead, it needs to show up somewhere on the middle of the web page. No matter what I do, it displays the menu bar on top most part of the web page. Always. Below is the code snippet. Any help in this regard is highly appreciated. Thank you for your time and efforts.
    ================================================
    </af:document>
    <body>
    <script type="text/javascript" src="/menu_scr.js"> </script>
    <afh:html>
    <table id="m1mainSXMenu2" cellspacing="1" cellpadding="5" style=";width:">
    <tr align="center">
    <td onmouseover="chgBg(m1,'m1tlm0',3);exM(m1,'m1mn1','m1tlm0',event)" onmouseout="chgBg(m1,'m1tlm0',0);coM(m1,'m1mn1')" id="m1tlm0" style="background-color:#B2CFEB;" class="m1mit" >Sample folder 1</td>
    <td onmouseover="chgBg(m1,'m1tlm1',3);exM(m1,'m1mn2','m1tlm1',event)" onmouseout="chgBg(m1,'m1tlm1',0);coM(m1,'m1mn2')" id="m1tlm1" style="background-color:#B2CFEB;" class="m1mit" >Sample folder 2</td>
    <td onmouseover="chgBg(m1,'m1tlm2',3);exM(m1,'m1mn3','m1tlm2',event)" onmouseout="chgBg(m1,'m1tlm2',0);coM(m1,'m1mn3')" id="m1tlm2" style="background-color:#B2CFEB;" class="m1mit" >Sample folder 1</td>
    <td onmouseover="chgBg(m1,'m1tlm3',3);exM(m1,'m1mn4','m1tlm3',event)" onmouseout="chgBg(m1,'m1tlm3',0);coM(m1,'m1mn4')" id="m1tlm3" style="background-color:#B2CFEB;" class="m1mit" >Sample folder 2</td>
    <td onmouseover="chgBg(m1,'m1tlm4',3);exM(m1,'m1mn5','m1tlm4',event)" onmouseout="chgBg(m1,'m1tlm4',0);coM(m1,'m1mn5')" id="m1tlm4" style="background-color:#B2CFEB;" class="m1mit" >Sample folder 1</td>
    <td onmouseover="chgBg(m1,'m1tlm5',3);exM(m1,'m1mn6','m1tlm5',event)" onmouseout="chgBg(m1,'m1tlm5',0);coM(m1,'m1mn6')" id="m1tlm5" style="background-color:#B2CFEB;" class="m1mit" >Sample folder 2</td>
    </tr>
    </table>
    </afh:html>
    </body>
    </af:document>

    coyotestev wrote:
    How do i add contacts?
    please visit the FAQ/Support page;
    https://support.skype.com/en/
    IF YOU FOUND OUR POST USEFUL THEN PLEASE GIVE "KUDOS". IF IT HELPED TO FIX YOUR ISSUE PLEASE MARK IT AS A "SOLUTION" TO HELP OTHERS. THANKS!
    ALTERNATIVE SKYPE DOWNLOAD LINKS | HOW TO RECORD SKYPE VIDEO CALLS | HOW TO HANDLE SUSPICIOS CALLS AND MESSAGES
    SEE MORE TIPS, TRICKS, TUTORIALS AND UPDATES in
    | skypefordummies.blogspot.com | 

  • How to configure JMS queue on OC4J server. Development in JDeveloper 10G

    Hi there,
    I have to configure a JMS for an Asynchronous process in my Application which will be running in Oracle 10G Application Server. Development Environment is Oracle JDeveloper 10G.
    I am facing a problem on how to configure JMS queue.
    Steps Followed are:
    in the <JDevloperHome>/j2ee/home/config
    1. Made the new queue and connection factory's JMS entry in jms.xml.
    2. Specifed the queue in oc4j-connectors.xml.
    3. played around with application.xml
    and tried all combinations, but the message producer always failed to lookup the queue.
    Need help on the steps to follow so that the producer can post the message in the queue.
    Also please help how to configure the MDB to listen to the queue.
    Thanx and Regards
    Subham

    If you were dealing with Oracle 10g app server as opposed to standalone, I might be better able to help you.
    One thing though, when you are configuring your MDB in the orion-ejb-jar.xml file, do not forget to specify attribute listener-threads, otherwise no matter how many beans you have in your MDB pool, only one bean will be listening to the queue. Many listener-threads equal to max number of beans in pool.

  • Problem in using JDeveloper 10g with JHeadstart

    I am using JDeveloper 9.0.3 and jheadstart 9.0.4.5 and I would like to test jdeveloper 10g preview with JHeadstart.
    So, I have downloaded the JDeveloper 10g to test it with my old application.
    Having run the Jdeveloper for the first time, I realized that Jdeveloper
    installed the jheadstart automatically and following message was shown in the message window :
    E:\Software\10g\JDev10g\jdev\lib\ext\jheadstart\PrjWizard.jar!\META-INF\jdev-ext.xml
    Error: <Line 12, Column 24>: XSD-2034: (Error) Element 'description' not expected.
    Error: <Line 13, Column 17>: XSD-2034: (Error) Element 'help' not expected.
    Error: <Line 17, Column 27>: XSD-2034: (Error) Element 'dependency_addin' not expected.
    Converting JDeveloper 9.0.3 extension manifest to 9.0.5
    E:\Software\10g\JDev10g\jdev\lib\ext\jheadstart\JhsShare.jar!\META-INF\jdev-ext.xml
    Converting JDeveloper 9.0.3 extension manifest to 9.0.5
    E:\Software\10g\JDev10g\jdev\lib\ext\jheadstart\MvcFrameworkServiceFileViewer.jar!\META-INF\jdev-ext.xml
    Converting JDeveloper 9.0.3 extension manifest to 9.0.5
    E:\Software\10g\JDev10g\jdev\lib\ext\jheadstart\JHeadstartDesignerGenerator.jar!\META-INF\jdev-ext.xml
    Converting JDeveloper 9.0.3 extension manifest to 9.0.5
    E:\Software\10g\JDev10g\jdev\lib\ext\jheadstart\JAGLauncher.jar!\META-INF\jdev-ext.xml
    Converting JDeveloper 9.0.3 extension manifest to 9.0.5
    E:\Software\10g\JDev10g\jdev\lib\ext\jheadstart\Bc4jPropertyEditor.jar!\META-INF\jdev-ext.xml
    Converting JDeveloper 9.0.3 extension manifest to 9.0.5
    E:\Software\10g\JDev10g\jdev\lib\ext\jheadstart\JASEditor.jar!\META-INF\jdev-ext.xml
    Converting JDeveloper 9.0.3 extension manifest to 9.0.5
    So I try to test one of my old application with this configuration. After Jdeveloper migrated my workspace and projects and business componenet
    to the newer version, I run the application generator. It worked fine without any problem but after running the application, I got an error page showing
    that my bc4j.xcfg is not in the path.
    On the other hand, I found out that when I wanted to view my UIX pages, 2 dialog boxes appeared. The first one asked to upgrade
    to UIX 2.2's new expression language syntax and the other which is on the top of the first one, showing that UIX runtime failed to render the page
    with following detail :
    javax.servlet.ServletException: No page broker found!
         at oracle.cabo.servlet.PageBrokerHandler.handleRequest(Unknown Source)
         at oracle.cabo.servlet.UIXServlet.doGet(Unknown Source)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at oracle.cuervo.share.servlet.PreviewServletContainer.handleRequest(PreviewServletContainer.java:305)
         at oracle.cuervo.share.servlet.PreviewServletContainer.handleRequest(PreviewServletContainer.java:229)
         at oracle.cabo.ide.addin.preview.UIXRenderThread._reallyLoad(UIXRenderThread.java:263)
         at oracle.cabo.ide.addin.preview.UIXRenderThread.runImpl(UIXRenderThread.java:203)
         at oracle.cabo.ide.addin.preview.BasePreviewThread.run(BasePreviewThread.java:79)
    I think that I should have set some setting before use JHeadstart with JDeveloper.
    Could anybody help me ?

    Alex,
    The document Sandra referred to applies to JDeveloper 10g preview (9.0.5.0). JHeadstart 9.0.4.5 will NOT work with JDeveloper 109 production (9.0.5.1).
    We plan to release a new version end of april that is compatible with 9.0.5.1. See this thread for more info: JDeveloper 10g production, status JHeadstart?
    Steven Davelaar,
    JHeadstart Team.

  • How to use Jdeveloper 10g (10.1.3.4.0) or 11g to create J2ME apps?

    I can't find any tutorials or documentation in how to do this in the current version of Jdeveloper 10g or 11g.
    All I could find was the Jdeveloper Wireless Extension 9.0.5 but this doesn't work in either versions.
    Also I don't want to do browser apps or I would just do the Mobile ADF, I want to do MIdlets more specifically one that will connect to a Web Service.
    If any one could point me in the right direction I would greatly appreciate it!

    Due to improvements in network coverage and communications, the need for a truly disconnected/on device application is diminishing. If your requirements can be mostly met with an online solution, I would recommend checking out ADF Mobile in 11g that support you to create a browser application optimized for mobile browsers.
    What is the scenario that you are trying to support? Feel free to reply to this thread or to me directly. There are efforts in the works, and I'd like to hear what you are trying to build.
    Thanks,
    Joe Huang

  • J2ME wiht JDeveloper 10g version 10.1.3

    Hi,
    I need to work with j2me and JDeveloper 10 version 10.1.3, I tried to install JWE for JDeveloper 10g(9.0.5) but this doesn´t work well.
    What extensions do i need?

    Currentrly there isn't a J2ME extension to JDeveloper 10.1.3.
    If you are trying to develop an application for a mobile device you might be interested in this tutorial:
    http://www.oracle.com/technology/products/jdev/101/tutorials/wireless/mobile2.html

  • Problem creating WebDav connection to review XML schema in JDeveloper 10g

    I am trying to review some XML schema and cannot seem to create a WebDav connection. I entered all the relevant info and keep getting the following error :Testing connection...
    Connection test failed: unable to connect
    Unable to connect to WebDav Connection1 (http://localhost:8080/)
    May require proxy to connect to the location,
    when I tried to test the connection. The tips given in the help section didn't work either. Could someone please help me?

    Thanks for your prompt response.
    I had done that before yet, it still doesn't work.
    Please, bear with this newbie, for a second.
    I think it may be relevant to mention that I am trying to create a connection on my local network.
    Had no problems when I try to connect to enterprise manager,or iSQL*plus console, or creating a database connection through Jdeveloper, or even to the HTTP server through the browser. I am using windowsXP platform BTW, if it makes a difference, and Jdeveloper 10g. When I try to create the webDav Connection it still gives me the connection failed error, .....
    Testing connection...
    Connection test failed: unable to connect
    May require proxy to connect to the location
    Additionally ran this script ....
    DECLARE
    HTTP_PORT pls_integer := 8080;
    FTP_PORT pls_integer := 2100;
    config xmltype;
    BEGIN
    SELECT updateXML(dbms_xdb.cfg_get(),
    '/xdbconfig/sysconfig/protocolconfig/httpconfig/http-port/text()',
    HTTP_PORT) INTO config
    FROM DUAL;
    DBMS_XDB.CFG_UPDATE(config);
    SELECT updateXML(dbms_xdb.cfg_get(),
    '/xdbconfig/sysconfig/protocolconfig/ftpconfig/ftp-port/text()',
    FTP_PORT) INTO config
    FROM DUAL;
    DBMS_XDB.CFG_UPDATE(config);
    END;
    COMMIT;
    -- Updates configuration
    BEGIN
    DBMS_XDB.CFG_REFRESH;
    COMMIT;
    END;
    -- Creates /home Directory
    DECLARE
    result boolean;
    BEGIN
    result := dbms_xdb.createFolder('/home');
    dbms_xdb.setAcl('/home','/sys/acls/all_all_acl.xml');
    commit;
    END;
    list
    OUTPUT from script....
    PL/SQL procedure successfully completed.
    Commit complete.
    PL/SQL procedure successfully completed.
    DECLARE
    ERROR at line 1:
    ORA-31003: Parent / already contains child entry home
    ORA-06512: at "XDB.DBMS_XDB", line 195
    ORA-06512: at line 4
    Still no luck! What I am i doing wrong?
    Any pointers will be appreciated.

Maybe you are looking for

  • How can i return a SDO_GEOMETRY value in a Java-Stored-Function?

    For a example, Ive got a java-function witch returns a oracle.sdoapi.geom.Geometry like: public static Geometry GetQPoint(String sF_TABLE_NAME, long lFID) And now, Ill try to deploy this function as a PL-SQL stored-function like: GET_Q_POINT( F_TABLE

  • Can do everything but Remote Control.

    I have a 99 client Pro subscription.  One particular computer will let me login and do everything but Remote Control.  I can use the File Manger, Chat, etc.  Remote Control client shows an error after it tries to authenticate. Other clients work just

  • Vertical rules in paragraph style?

    Hi, I'm about to design a book with a lot of interviews. To make it a bit easier for the reader to follow I've designed a thin colored line to the left of the paragraph indicating who's saying what (see pic). The problem is that I can't seem to make

  • F@#$ Paintbrush wont work,

    OK why does paintbrush not work?? All I get is the circle with the line through it. Is there something I need to set to get the stupid thing to do its job??? It works when I open a new page but not on the file I need it to work on WTF adobe?

  • Need a table to check Planned delivery time & Total replenishment lead time

    Hi Experts, I want a report of Planned delivery time & Total replenishment lead time (MM02) for the material. Thanks in Advance.