10g JBO-35001

Dear reader,
I've been asked to review and test JDeveloper 10g preview for Windows and encountered a strange thing, probably a bug.
I have made a simple JClient application, with one form (the main frame) a menu bar with 2 items, one of them is to start displaying a master-view of a table. This works fine, the first time. However when I select the item again, the panel doesn't get initialized anymore.
The error encountered is a jbo-35001. This means (from the source code):
** <b>JBO-35001: JboException</b>
** <p>
** <b>Cause:</b>: A binding is being reused in another view component.
** <p>
** <b>Action:</b>: Create another binding definition for the second
** component and bind that to the component.
It seems to think the panel is already used, even though it is recreated. This is the stack trace I get:
oracle.jbo.JboException: 35001
     at oracle.jbo.JboException.<init>(JboException.java:333)
     at oracle.adf.model.binding.DCControlBinding.setControl(DCControlBinding.java:382)
     at oracle.jbo.uicli.jui.JUTextFieldBinding.setControl(JUTextFieldBinding.java:84)
     at oracle.jbo.uicli.jui.JUTextFieldBinding.getControlModel(JUTextFieldBinding.java:637)
     at oracle.jbo.uicli.jui.JUPanelBinding.bindUIControl(JUPanelBinding.java:768)
     at nl.mreuvers.jdev905.movie.view.PanelMovieView.jbInit(PanelMovieView.java:72)
     at nl.mreuvers.jdev905.movie.view.PanelMovieView.setBindingContext(PanelMovieView.java:121)
     at nl.mreuvers.jdev905.movie.view.MainFrame.maintainMovies(MainFrame.java:100)
     at nl.mreuvers.jdev905.movie.view.menu.MainMenu.actionPerformed(MainMenu.java:61)
     at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1764)
     at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1817)
     at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:419)
     at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:257)
     at javax.swing.AbstractButton.doClick(AbstractButton.java:289)
     at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1113)
     at javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseReleased(BasicMenuItemUI.java:943)
     at java.awt.Component.processMouseEvent(Component.java:5134)
     at java.awt.Component.processEvent(Component.java:4931)
     at java.awt.Container.processEvent(Container.java:1566)
     at java.awt.Component.dispatchEventImpl(Component.java:3639)
     at java.awt.Container.dispatchEventImpl(Container.java:1623)
     at java.awt.Component.dispatchEvent(Component.java)
     at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java)
     at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3165)
     at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3095)
     at java.awt.Container.dispatchEventImpl(Container.java:1609)
     at java.awt.Window.dispatchEventImpl(Window.java)
     at java.awt.Component.dispatchEvent(Component.java)
     at java.awt.EventQueue.dispatchEvent(EventQueue.java:452)
     at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:197)
     at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
     at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)The actual line where it goes wrong is in:
nl.mreuvers.jdev905.movie.view.PanelMovieView.jbInit(PanelMovieView.java:72), and the line of code there is:
mtitle.setDocument((Document)panelBinding.bindUIControl("title", mtitle));The exception occurs in the jbInit() of the panel, with the first UI control that is to be bound...
This is the code used to initialize the view-panel (when the menu-item is clicked):
  public void maintainMovies() {
    BindingContext context = getPanelBinding().getBindingContext();
    topPanel.remove(dataPanel);
      // Clear the bindings   
    panelBinding.clearIterBindings();
    panelBinding.clear();  // ??
      // Remove all control bindings, as these seem to be mixed up
    ArrayList contrList = panelBinding.getCtrlBindingList();
    for(int i = 0; i < contrList.size(); i++) {
      System.out.println("Contr=" + contrList.get(i));
        // All print out true, so are removed
      System.out.println(panelBinding.removeControlBinding((DCControlBinding)contrList.get(i)));
    panelBinding.refreshControl();
    dataPanel = new PanelMovieView();
    ((PanelMovieView)dataPanel).setBindingContext(context);
    topPanel.add(dataPanel,BorderLayout.CENTER);
    topPanel.validate();
    hiddenNavBar.createViewBinding(panelBinding,hiddenNavBar,"MovieView",null,"MovieViewIter");
    navBar.setModel(JUNavigationBar.createPanelBinding(getPanelBinding(), navBar));
  }I don't know what to do anymore, I tried clearing the binding (see some code above), but it all has no effect. Is this a bug or am I doing something wrong? I hope someone has a idea. Thanks a lot for your time!
Regards Martijn

Dear reader,
I've been asked to review and test JDeveloper 10g preview for Windows and encountered a strange thing, probably a bug.
I have made a simple JClient application, with one form (the main frame) a menu bar with 2 items, one of them is to start displaying a master-view of a table. This works fine, the first time. However when I select the item again, the panel doesn't get initialized anymore.
The error encountered is a jbo-35001. This means (from the source code):
** <b>JBO-35001: JboException</b>
** <p>
** <b>Cause:</b>: A binding is being reused in another view component.
** <p>
** <b>Action:</b>: Create another binding definition for the second
** component and bind that to the component.
It seems to think the panel is already used, even though it is recreated. This is the stack trace I get:
oracle.jbo.JboException: 35001
     at oracle.jbo.JboException.<init>(JboException.java:333)
     at oracle.adf.model.binding.DCControlBinding.setControl(DCControlBinding.java:382)
     at oracle.jbo.uicli.jui.JUTextFieldBinding.setControl(JUTextFieldBinding.java:84)
     at oracle.jbo.uicli.jui.JUTextFieldBinding.getControlModel(JUTextFieldBinding.java:637)
     at oracle.jbo.uicli.jui.JUPanelBinding.bindUIControl(JUPanelBinding.java:768)
     at nl.mreuvers.jdev905.movie.view.PanelMovieView.jbInit(PanelMovieView.java:72)
     at nl.mreuvers.jdev905.movie.view.PanelMovieView.setBindingContext(PanelMovieView.java:121)
     at nl.mreuvers.jdev905.movie.view.MainFrame.maintainMovies(MainFrame.java:100)
     at nl.mreuvers.jdev905.movie.view.menu.MainMenu.actionPerformed(MainMenu.java:61)
     at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1764)
     at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1817)
     at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:419)
     at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:257)
     at javax.swing.AbstractButton.doClick(AbstractButton.java:289)
     at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1113)
     at javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseReleased(BasicMenuItemUI.java:943)
     at java.awt.Component.processMouseEvent(Component.java:5134)
     at java.awt.Component.processEvent(Component.java:4931)
     at java.awt.Container.processEvent(Container.java:1566)
     at java.awt.Component.dispatchEventImpl(Component.java:3639)
     at java.awt.Container.dispatchEventImpl(Container.java:1623)
     at java.awt.Component.dispatchEvent(Component.java)
     at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java)
     at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3165)
     at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3095)
     at java.awt.Container.dispatchEventImpl(Container.java:1609)
     at java.awt.Window.dispatchEventImpl(Window.java)
     at java.awt.Component.dispatchEvent(Component.java)
     at java.awt.EventQueue.dispatchEvent(EventQueue.java:452)
     at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:197)
     at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
     at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)The actual line where it goes wrong is in:
nl.mreuvers.jdev905.movie.view.PanelMovieView.jbInit(PanelMovieView.java:72), and the line of code there is:
mtitle.setDocument((Document)panelBinding.bindUIControl("title", mtitle));The exception occurs in the jbInit() of the panel, with the first UI control that is to be bound...
This is the code used to initialize the view-panel (when the menu-item is clicked):
  public void maintainMovies() {
    BindingContext context = getPanelBinding().getBindingContext();
    topPanel.remove(dataPanel);
      // Clear the bindings   
    panelBinding.clearIterBindings();
    panelBinding.clear();  // ??
      // Remove all control bindings, as these seem to be mixed up
    ArrayList contrList = panelBinding.getCtrlBindingList();
    for(int i = 0; i < contrList.size(); i++) {
      System.out.println("Contr=" + contrList.get(i));
        // All print out true, so are removed
      System.out.println(panelBinding.removeControlBinding((DCControlBinding)contrList.get(i)));
    panelBinding.refreshControl();
    dataPanel = new PanelMovieView();
    ((PanelMovieView)dataPanel).setBindingContext(context);
    topPanel.add(dataPanel,BorderLayout.CENTER);
    topPanel.validate();
    hiddenNavBar.createViewBinding(panelBinding,hiddenNavBar,"MovieView",null,"MovieViewIter");
    navBar.setModel(JUNavigationBar.createPanelBinding(getPanelBinding(), navBar));
  }I don't know what to do anymore, I tried clearing the binding (see some code above), but it all has no effect. Is this a bug or am I doing something wrong? I hope someone has a idea. Thanks a lot for your time!
Regards Martijn

Similar Messages

  • PanelBinding and JBO-35001

    Hello, we got a problem.
    We are using ADF with JClient-technologie and MDI Client-Server forms.
    We build a JPanel with the JDeveloper-Wizard and put that in an JInternalFrame which is invoked by a JDesktopPane. That works...
    But if we create the same JInternalFrame twice we get the exception JBO-35001. I read the workaround in the JDeveloper-Releasenotes but that does not fit to our problem.
    Has anybody a possible solution to that problem ???
    Here are some lines of the sourcecode...
    MasterMDI.java
    public static BindingContext ctx = new BindingContext();
    public DepartmentsPanel panel;
    public static void main(String args[])
    try
    // bootstrap application
    JUMetaObjectManager.setBaseErrorHandler(new JUErrorHandlerDlg());
    JUMetaObjectManager mgr = JUMetaObjectManager.getJUMom();
    mgr.setJClientDefFactory(null);
    //BindingContext ctx = new BindingContext();
    ctx.put(DataControlFactory.APP_PARAM_ENV_INFO, new JUEnvInfoProvider());
    ctx.setLocaleContext(new DefLocaleContext(null));
    HashMap map = new HashMap(4);
    map.put(DataControlFactory.APP_PARAMS_BINDING_CONTEXT, ctx);
    mgr.loadCpx("DataBindings.cpx", map);
    new MasterMDI();
    catch(Exception ex)
    JUMetaObjectManager.reportException(null, ex);
    System.exit(1);
    public void createDepartmentsPanel()
    panel = new DepartmentsPanel();
    panel.setBindingContext(ctx);
    panel.revalidate();
    // InternalFrame
    JInternalFrame iFrame = new JInternalFrame("Departments", true, true, true, true);
    // BorderLayout...
    iFrame.getContentPane().setLayout(new BorderLayout());
    // Center
    iFrame.getContentPane().add(panel, BorderLayout.CENTER);
    // show
    iFrame.pack();
    iFrame.setVisible(true);
    // JDesktopPane
    masterPane.add(iFrame);
    If we call the method createDepartmentsPanel for the first time it works... but not the second time...???
    I've also tried to call the release() - Method of the panel but this does not work...
    HAS ANYBODY A SOLUTION ???
    MM

    Hello, we got a problem.
    We are using ADF with JClient-technologie and MDI Client-Server forms.
    We build a JPanel with the JDeveloper-Wizard and put that in an JInternalFrame which is invoked by a JDesktopPane. That works...
    But if we create the same JInternalFrame twice we get the exception JBO-35001. I read the workaround in the JDeveloper-Releasenotes but that does not fit to our problem.
    Has anybody a possible solution to that problem ???
    Here are some lines of the sourcecode...
    MasterMDI.java
    public static BindingContext ctx = new BindingContext();
    public DepartmentsPanel panel;
    public static void main(String args[])
    try
    // bootstrap application
    JUMetaObjectManager.setBaseErrorHandler(new JUErrorHandlerDlg());
    JUMetaObjectManager mgr = JUMetaObjectManager.getJUMom();
    mgr.setJClientDefFactory(null);
    //BindingContext ctx = new BindingContext();
    ctx.put(DataControlFactory.APP_PARAM_ENV_INFO, new JUEnvInfoProvider());
    ctx.setLocaleContext(new DefLocaleContext(null));
    HashMap map = new HashMap(4);
    map.put(DataControlFactory.APP_PARAMS_BINDING_CONTEXT, ctx);
    mgr.loadCpx("DataBindings.cpx", map);
    new MasterMDI();
    catch(Exception ex)
    JUMetaObjectManager.reportException(null, ex);
    System.exit(1);
    public void createDepartmentsPanel()
    panel = new DepartmentsPanel();
    panel.setBindingContext(ctx);
    panel.revalidate();
    // InternalFrame
    JInternalFrame iFrame = new JInternalFrame("Departments", true, true, true, true);
    // BorderLayout...
    iFrame.getContentPane().setLayout(new BorderLayout());
    // Center
    iFrame.getContentPane().add(panel, BorderLayout.CENTER);
    // show
    iFrame.pack();
    iFrame.setVisible(true);
    // JDesktopPane
    masterPane.add(iFrame);
    If we call the method createDepartmentsPanel for the first time it works... but not the second time...???
    I've also tried to call the release() - Method of the panel but this does not work...
    HAS ANYBODY A SOLUTION ???
    MM

  • How to Hide JBO Exceptions in JSF Pages in ADF 10g

    Hi All,
    How to hide the JBO Exceptions in ADF 10g, for example JBO-27122: SQL error during statement preparation. I have been used the same customizing error handler which was specified in bcadfdevguide. But the method reportexception which will call disableappendcodes is not doing anything in my case.
    I want to show some decent errors instead of JBO errors to the user, appreciate if you help me on this.
    thank you.

    Hi Jobinesh,
    Thanks for the reply, actually i am looking to show the user our own customized error instead of JBO errors, i don't know whether the method skipexception will skip it or i can override it to show customized exceptions. and registering the customerrorhandler in databindings is different from registering the customphaselistener class in faces-config.xml which was usually done in 10g.
    But in my case, even though i followed everything what was specified in dev guide, i am not getting the result. Hence this post in forums :)
    Thanks.

  • Goodbye JBO might mean Goodbye 10g for us

    I'm greatly saddened that <jbo> support is being deprecated in JDev 10g...it was ideal for the sort of read-only Plumtree portal gadgets we've been writing for the past 18 months where we could easily pick up portal personal preferences etc and feed those into SetWhereClauseParam bind variables or DataSource whereclause etc...all within a single small JSP. We rarely needed to get involved in overriding Oracle methods etc...it was easily supportable.
    I have poured through the ADF bindings documents and I can't understand how we're going to easily upgrade our existing <jbo> based applications. Even developing a new non-Struts ADF application looks like it's going to be a big change for us...much more Java coding, re-training etc.
    Does anyone else feel this way?
    As a result, I'm seriously looking at alternative technologies to ADF. XSQL and JSTL SQL spring to mind. However, my initial trials with JSTL SQL were disappointing from a performance perspective --- a BC4J VO tuned correctly (fetch size = 100) was almost 10x faster than the equivalent JSTL SQL query; is this also due to db connection times with JSTL?
    So some questions:
    Is it possible to alter fetch size in JSTL SQL?
    Is it possible to retrieve a CLOB ising JSTL SQL?
    Thanks
    Paul

    ADF provides the find mode that makes using view criteria as easy or easier than <jbo:ViewCriteria>.
    See this online documentation topic, and its related links:
    http://helponline.oracle.com/jdeveloper/help/state?navSetId=jdeveloper&navId=4&vtTopicId=&vtTopicFile=jdeveloper/developing_mvc_applications/adf_pfindmode.html
    Declaratively, you can use the built-in "Find" action to toggle the binding container out of find mode. For more surgical control, with a line of code you can control find mode on an individual iterator binding level. Assuming "ctx" is the DataActionContext:
      ctx.getBindingContainer().findIteratorBinding("name").setFindMode(true);You can control whether a given iterator binding will allow find mode to be used on itself or not:
      ctx.getBindingContainer().findIteratorBinding("name").setAllowFindMode(false);You can create multiple iterator bindings over the same underlying view object, so for example one could remain in find mode (allowing the user to continue to see and modify /refine their search criteria) while via the other iterator binding the browse through a table of results produced by the current query-by-example critiera.
    Now ADF web and Swing clients all use the same mechanism, as it's a built-in feature of the binding layer instead of being a set of web-specific tags.
    I've got it in my queue of things to do to produce some addtional howto's on this topic.

  • 10g vs 11g: VO bind variable values stale on jbo.ampool.doampooling = false

    Hi gang
    (JDev 11g Build 5188)
    I'm currently doing some testing as recommended by the Fusion 11g Guide to test the ADF BC state management with jbo.ampool.doampooling = false (see sections 36 and 37). I'm seeing different behaviour under 11g vs 10g.
    I have a single updateable VO with a query restricted by a single bind variable. I have a single JSF page with the bind variable as an inputText control, the executeWithParams operation as a commandButton, and a table showing the results from the VO.
    Under 10g I can:
    1) Open the page
    2) Enter a value (say X) for the bind variable, hit the executeWithParams button and correctly see results in the table matching bind variable value X.
    3) Enter a different value for the bind variable (say Y), hit the executeWithParams button and correctly see results in the table matching value of the bind variable value Y.
    Under 11g I get different behaviour for # 3. Instead when I press the executeWithParams button with the value set to Y, the table still show results for the previous bind variable value X?
    It must be noted that if I set jbo.ampool.doampooling = true, the problem disappears, but presumably the error will reappear in a production system under load, so I need to track down what's happening here.
    Possibly I'm seeing a bug, but given the large amount of 11g changes and large amount of documentation I need to read on state management, it could just be I've missed something vital for 11g.
    Does anybody have any opinions what's happening here?
    Thanks for your help in advance.
    CM.

    Hi Chris,
    Yes, waking up in my lair after the long winter ;-)
    No problem for the version numbers.
    The reason I was asking was that the referenced issue was reported for JDeveloper 10.1.3.4.0
    So I'm not convinced this is the same issue.
    Bug 7517882 is fixed in 11.1.1.1.0, but a patch is available for 11.1.1.0.1
    I checked I could download it myself:
    1) in (classic) MetaLink, click tab "Patches & Updates"
    2) click "Simple Search"
    3) select "Search By" "Patch Number"
    4) enter the patch number: 7517882
    5) select the Platform "Microsoft Windows (32 bits)"
    6) click "Go"
    7) Download the patch for version 11.1.1.1.0
    8) click "View Readme" and follow instructions to install the patch.
    If you have any problem, open a SR requesting a support engineer to upload the patch on our FTP server.
    I would recommend you test the patch to ensure this is the same issue and the problem is fixed in your case after applying the patch.
    If not, you can easily de-install it anyway.
    For completeness, the following bugs were closed as duplicated of Bug 7517882
    Bug 7553275 - VOIMPL.GETBINDVARIABLE() RETURNS NULL AFTER APPLICATION MODULE ACTIVATION.
    (logged against 10.1.3.4.0)
    Bug 7556903 - JDEVELOPER 11G EXECUTEWITHPARAMS DOES NOT WORK CORRECTLY WITH AMPOOLING OFF
    (logged against 11.1.1.0.0)
    Regards,
    Didier.

  • JDeveloper 10g ADF (oracle.jbo.JboException) JBO-29000:

    Hello,
    I am using JDeveloper to create ADF and with one form I have this error:
    (oracle.jbo.JboException) JBO-29000: Unexpected exception caught: java.lang.NullPointerException, msg=null
    Details are:
    (oracle.jbo.JboException) JBO-29000: Unexpected exception caught: java.lang.NullPointerException, msg=null
    ----- LEVEL 1: DETAIL 0 -----
    (java.lang.NullPointerException) null
    Stack trace is:
    oracle.jbo.JboException: JBO-29000: Unexpected exception caught: java.lang.NullPointerException, msg=null
         at oracle.adf.model.binding.DCBindingContainer.reportException(DCBindingContainer.java:228)
         at oracle.adf.model.binding.DCBindingContainer.reportException(DCBindingContainer.java:274)
         at gui.operativniPlan.FormOperativniPlan.setBindingContext(FormOperativniPlan.java:187)
         at gui.operativniPlan.FormOperativniPlan.main(FormOperativniPlan.java:98)
    ## Detail 0 ##
    java.lang.NullPointerException
         at gui.operativniPlan.FormOperativniPlan.jbInit(FormOperativniPlan.java:59)
         at gui.operativniPlan.FormOperativniPlan.setBindingContext(FormOperativniPlan.java:184)
         at gui.operativniPlan.FormOperativniPlan.main(FormOperativniPlan.java:98)
    ----- LEVEL 1: DETAIL 0 -----
    java.lang.NullPointerException
         at gui.operativniPlan.FormOperativniPlan.jbInit(FormOperativniPlan.java:59)
         at gui.operativniPlan.FormOperativniPlan.setBindingContext(FormOperativniPlan.java:184)
         at gui.operativniPlan.FormOperativniPlan.main(FormOperativniPlan.java:98)
    Any idea where should I look for a problem?
    Regards,
    Nenad

    at gui.operativniPlan.FormOperativniPlan.setBindingContext(FormOperativniPlan.java:187)
    1. Check your face-config.xml, you might be setting a binding container reference in one of the manage bean properties.
    2. Check your bean source file and ensure you have a instance var defined with the same name from the face-config.xml and also you have setter/getters for the var.

  • ADF 10g: AM pool dropped to zero after the jbo.ampool.timetolive is reached

    Hi,
    JDev: 10.1.3.2.0.4066
    I have a problem where all appModules in the application module pool are removed when the jbo.ampool.timetolive threshold is reached, even the currently referenced ones. This causing serious performance issues in our application. I have seen reports from Steve Muench on his blog (http://radio-weblogs.com/0118231/2006/03/30.html) that this issue can happen under certain circumstances but the link is broken, so am not sure what the reason is. Does anyone have a link to where this was moved to? Steve also has added (Disabling jbo.ampool.timetolive on this forum of how to "disabled the time to live consideration" but the timetolive is still removing all the appModules in the pool. Why is the pool being completely wiped out after the timetolive?
    Here is the BC4J configuration that is being used:
    NB:
    * web session timeout is 45 minutes
    * I am using a JDBC pool as well
          <AppModuleConfig name="Oracle">
             <DeployPlatform>LOCAL</DeployPlatform>
             <JDBCName>cvclaims_Oracle</JDBCName>
             <jbo.TypeMapEntries>Java</jbo.TypeMapEntries>
             <jbo.project>Model</jbo.project>
             <AppModuleJndiName>my.adf.root.RootAppModule</AppModuleJndiName>        
             <java.naming.factory.initial>oracle.jbo.common.JboInitialContextFactory</java.naming.factory.initial>
             <ApplicationName>my.adf.root.RootAppModule</ApplicationName>        
             <jbo.locking.mode>optimistic</jbo.locking.mode>        
             <jbo.ampool.initpoolsize>50</jbo.ampool.initpoolsize>
             <jbo.ampool.maxpoolsize>100</jbo.ampool.maxpoolsize>
             <jbo.recyclethreshold>50</jbo.recyclethreshold>
             <jbo.ampool.maxavailablesize>50</jbo.ampool.maxavailablesize>
             <jbo.ampool.minavailablesize>50</jbo.ampool.minavailablesize>
             <jbo.poolmaxavailablesize>51</jbo.poolmaxavailablesize>
             <jbo.maxpoolsize>51</jbo.maxpoolsize>
             <jbo.initpoolsize>51</jbo.initpoolsize>
             <jbo.poolminavailablesize>51</jbo.poolminavailablesize>
             <jbo.ampool.maxinactiveage>2760000</jbo.ampool.maxinactiveage>
             <jbo.ampool.monitorsleepinterval>60000</jbo.ampool.monitorsleepinterval>
             <jbo.ampool.timetolive>2850000</jbo.ampool.timetolive>
          </AppModuleConfig> Here is the code that logs out a user:
                    // Check whether the URL is the LOGOUT URL
                    if (requestURL.endsWith(logoutUrl)) {
                        // Log out, invalidate the session.
                        // Tried the patch mentioned in this thread with no change:
                        // ADF BC/ Faces - Logout exception
                        // This linked blog reports that the below ADFContext
                        // addition fixed it:
                        // http://vgoldin.blogspot.com/2007/02/adf-invalidating-web-session-in-apache.html
                        // but there may be more than one problem here.
                        // Others have suggested just wrapping the invalidate code
                        // in try/catch.
                        // Trying both here.
                        try {
                            ADFContext.getCurrent().removeScope(ADFContext.SESSION_SCOPE);
                        } catch (Exception e) {
                            e.printStackTrace();
                        try {
                            session.invalidate();
                        } catch (Exception e) {
                            e.printStackTrace();
                        MDC.remove(MDC_USERNAME);
                        if (!logoutDestinationUrlChecked && logoutDestinationUrl.startsWith("/")) {
                            logoutDestinationUrlChecked = true;
                            logoutDestinationUrl = request.getContextPath() + logoutDestinationUrl;
                            // relative path, prefix with request context path;
                        log.debug("Session is invalidated, redirecting to " + logoutDestinationUrl);
                        // we do redirect instead of forward so that this filter
                        // will be visisted again for the requested logout
                        // destination
                        // forcing a new login when applicable.
                        response.sendRedirect(response.encodeRedirectURL(logoutDestinationUrl)); DumpPoolStatistics.jsp page output
    This page is explained in Steve Muench's blog
    head:Application module lifetime statistics
    Number of application module creations,3208
    Number of application module removals,3184
    head:State management statistics
    Number of transactional state activations,2073
    Number of transactional state passivations,2873
    head:Application pool use statistics
    Number of application pool check outs,193821
    Number of application pool check ins,193818
    Number of referenced application modules that were reused,183071
    Number of referenced application modules that were recycled,0
    Number of unreferenced application modules that were recycled,7594
    Number of application pool check out failures,8
    head:Application module statistics
    Total number of application modules in the pool,24
    Maximum number of application modules in the pool,50
    Average number of application modules in the pool,23
    Total number of available application modules in the pool,21
    Average number of available application modules in the pool,21
    Average number of unavailable application modules in the pool,2
    Total number of referenced application modules in the pool,24
    head:Application module age statistics
    Number of referenced instances unused for >10 min,7
    Number of referenced instances unused for >5 min,2
    Number of referenced instances unused for >1 min,6
    Number of referenced instances used during last 1 min,9
    Number of instances unused for >10 min,0
    Number of instances unused for >5 min,0
    Number of instances unused for >1 min,0
    Number of instances used during last 1 min,0
    head:Session statistics
    Number of sessions registered with the pool,32
    Average number of sessions referencing transactional state,427
    head:Session age statistics
    Number of sessions inactive for >10 min,14
    Number of sessions inactive for >5 min,2
    Number of sessions inactive for >1 min,7
    Number of sessions active during last 1 min,9 The above DumpPoolStatistics page shows the AM pool shortly after the timetolive has kicked in. There is 24 app modules in the pool despite the jbo.ampool.minavailablesize being 50. There is also 32 users in the application so I would of expected there to be a corresponding number of appModules.
    Thanks
    Barry
    Edited by: Bar on Mar 9, 2011 5:18 PM
    Edited by: Bar on Mar 9, 2011 5:20 PM

    I believe my problem is that the jbo.ampool.minavailablesize is higher than the normal load on the system. This is stopping app modules to be removed once the jbo.ampool.maxinactiveage time is reached, therefore the only time an AM is removed is when the jbo.ampool.timetolive limit is reached.
    e.g.
    * 35 users log into the application in the morning. The AM pool contains 35 AM's
    * GC on the pool happens. If an AM has reached the jbo.ampool.maxinactiveage then they will not be removed because it would mean that the pool (currently 35) drops below the jbo.ampool.minavailablesize (50)
    * GC happens again and the jbo.ampool.timetolive threshold is now reached on all AM's so they are all removed from the pool.

  • JBO-30011 on running JClient Applet for ADF (10g)

    After starting an (JClient) Applet created using "Swing/JClient for ADF" for an existing BC4J project following exception is thrown on startup:
    oracle.jbo.common.ampool.ApplicationPoolException: JBO-30011: A null session cookie application id, session id, or application pool reference (null, null, bcpackage.AppModuleLocal) was specified during cookie construction. The cookie could not be constructed.
    at oracle.jbo.common.ampool.SessionCookieImpl.<init>(SessionCookieImpl.java:112)
    at oracle.jbo.common.ampool.SessionCookieImpl.<init>(SessionCookieImpl.java:149)
    at oracle.jbo.common.ampool.DefaultSessionCookieFactory.createSessionCookie(DefaultSessionCookieFactory.java:32)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.createSessionCookie(ApplicationPoolImpl.java:415)
    at oracle.adf.model.bc4j.DataControlFactoryImpl.findOrCreateSessionCookie(DataControlFactoryImpl.java:154)
    at oracle.adf.model.bc4j.DataControlFactoryImpl.createSession(DataControlFactoryImpl.java:220)
    at oracle.jbo.uicli.mom.JUMetaObjectManager.createDataControl(JUMetaObjectManager.java:678)
    at oracle.jbo.uicli.mom.JUMetaObjectManager.createApplicationObject(JUMetaObjectManager.java:629)
    at oracle.jbo.uicli.mom.JUMetaObjectManager.createApplicationObject(JUMetaObjectManager.java:399)
    at form.AppletUserlog.startApp(AppletUserlog.java:253)
    at form.AppletUserlog.start(AppletUserlog.java:229)
    at sun.applet.AppletPanel.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    Generated forms or panels are working well. Does anybody have the same problem ?

    I believe my problem is that the jbo.ampool.minavailablesize is higher than the normal load on the system. This is stopping app modules to be removed once the jbo.ampool.maxinactiveage time is reached, therefore the only time an AM is removed is when the jbo.ampool.timetolive limit is reached.
    e.g.
    * 35 users log into the application in the morning. The AM pool contains 35 AM's
    * GC on the pool happens. If an AM has reached the jbo.ampool.maxinactiveage then they will not be removed because it would mean that the pool (currently 35) drops below the jbo.ampool.minavailablesize (50)
    * GC happens again and the jbo.ampool.timetolive threshold is now reached on all AM's so they are all removed from the pool.

  • JBO-33001 bc4j.xcfg missing with Jdev 9.0.5.1 embedded OC4J

    I've got an application that I've been trying to migrate from Jdev 10g Preview (9.0.5) to Production (9.0.5.1) for a week now. The steps I've had to follow so far are:
    1) Install Jdev 9.0.5.1
    2) Run it and allow all workspaces/settings to be migrated
    3) Shut down and rename the system9.0.5.1.1605 to something else.
    4) Restart and say No to migrate
    5) Open my application workspaces again.
    This procedure seemed to get me correct library settings working with the correct XML schemas. However, now I can't test my BC4J/UIX application. I get the following message when I right-click on a DataAction and choose Run:
    500 Internal Server Error
    oracle.jbo.JboException: JBO-33001: Cannot find the configuration file /com/paslists/model/common/bc4j.xcfg in the classpath
         at oracle.jbo.client.Configuration.loadFromClassPath(Configuration.java:344)
         at oracle.jbo.common.ampool.PoolMgr.createPool(PoolMgr.java:272)
         at oracle.jbo.common.ampool.PoolMgr.findPool(PoolMgr.java:473)
         at oracle.jbo.common.ampool.ContextPoolManager.findPool(ContextPoolManager.java:165)
         at oracle.adf.model.bc4j.DataControlFactoryImpl.findOrCreateSessionCookie(DataControlFactoryImpl.java:135)
         at oracle.adf.model.bc4j.DataControlFactoryImpl.createSession(DataControlFactoryImpl.java:220)
         at oracle.adf.model.bc4j.DataControlFactoryImpl.createSession(DataControlFactoryImpl.java:97)
         at oracle.jbo.uicli.mom.JUMetaObjectManager.loadCpx(JUMetaObjectManager.java:612)
         at oracle.adf.model.servlet.ADFBindingFilter.initializeBindingContext(ADFBindingFilter.java:328)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:173)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:600)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
         at java.lang.Thread.run(Thread.java:534)
    This is happening in the embedded OC4J. How do I fix this?

    I've managed to resolve this error. Somehow, my entire Model project got mis-represented in my ViewController. The package name was "model" in my Model project, yet somehow all of the Binding Contexts (UImodel.xml) files contains "com_paslists_model_..." for the name of my Application Module. To resolve the error, I first had to fix the references to my Application Module in the DataBindings.cpx file. Then, I had to exit Jdev completely and edit the UImodel.xml files by hand, replacing the invalid reference to my DataControl using the correct entry in the DataBindings.cpx file.
    Now, everything seems to function correctly.
    I don't know how this got so messed up, unless it was an error with migration.

  • JBO-29000 error in running a JSP - Oracle JDeveloper 10.1.2.1.0 (Build 1913

    Hi,
    I was working on the Oracle ADF workshop with the above version of JDeveloper and Oracle 9i as database. As per the instructions in the workshop I developed a JSP, browseCustomers.jsp and Ran it.
    In the "Enbedded OC4J Sever" panel in the JDeveloper I got the following:
    =====================================================
    Embedded OC4J startup time: 6564 ms.
    05/11/06 20:14:03 Oracle Application Server Containers for J2EE 10g (10.1.2.0.2) initialized
    Target URL -- http://24.99.98.235:8988/CustomerMaintenance-ViewController-context-root/browseCustomers.do
    Nov 6, 2005 8:14:12 PM org.apache.struts.util.PropertyMessageResources <init>
    INFO: Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true
    Nov 6, 2005 8:14:12 PM org.apache.struts.util.PropertyMessageResources <init>
    INFO: Initializing, config='org.apache.struts.action.ActionResources', returnNull=true
    Nov 6, 2005 8:14:12 PM org.apache.struts.util.PropertyMessageResources <init>
    INFO: Initializing, config='view.ApplicationResources', returnNull=true
    Nov 6, 2005 8:14:15 PM org.apache.struts.action.RequestProcessor processException
    WARNING: Unhandled Exception thrown: class oracle.jbo.JboException
    Nov 6, 2005 8:27:10 PM org.apache.struts.action.RequestProcessor processException
    WARNING: Unhandled Exception thrown: class oracle.jbo.JboException
    In the IE Browser I got the following (I just mentioned first two lines):
    ==================================================
    oracle.jbo.JboException: JBO-29000: Unexpected exception caught: oracle.toplink.exceptions.SessionLoaderException, msg=Exception Description: Several [1] SessionLoaderExceptions were thrown:
    I browsed through the discussion forum for a possible solution to this kind of problem but I'm lost. I didn't find any definite solution to this. Can anyone help me to get rid of this error.
    Thanks
    Agnivb

    Any resolution on this?

  • Can a war file created in 10g JDev run from 9ias Server v9.0.2.0.1

    Hi,
    I've created a small struts based project from 10g JDeveloper tutorials available on the OTN. I've packaged it to a WAR file and deployed it to the 9iAS server v9.0.2.0.1. The deployment is successful, but when i run the application from the URL, i get the following error,
    "java.lang.NoClassDefFoundError: oracle/jbo/mom/PropertyNameValueDef
         at oracle.adf.controller.struts.actions.DefaultStrutsPageLifecycleFactory.getJSPLifeCycle(DefaultStrutsPageLifecycleFactory.java:34)
         at oracle.adf.controller.struts.actions.DefaultStrutsPageLifecycleFactory.getPageLifecycle(DefaultStrutsPageLifecycleFactory.java:27)
         at oracle.adf.controller.struts.actions.DataActionMapping.freeze(DataActionMapping.java:212)
         at org.apache.struts.config.impl.ModuleConfigImpl.freeze(ModuleConfigImpl.java:503)
         at org.apache.struts.action.ActionServlet.init(ActionServlet.java:474)
         at javax.servlet.GenericServlet.init(GenericServlet.java:44)
         at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.HttpApplication.loadServlet(HttpApplication.java:1687)
         at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.HttpApplication.findServlet(HttpApplication.java:4020)
         at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.HttpApplication.getRequestDispatcher(HttpApplication.java:2218)
         at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:585)
         at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.AJPRequestHandler.run(AJPRequestHandler.java:151)
         at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].util.ThreadPoolThread.run(ThreadPoolThread.java:64)
    the url i gave was,
    "http://<server-address>:<port>/<context-root>/browseDepartments.do"

    I have a question here..
    Will reconfiguring iAS to use J2SE 1.4 conflict with Oracle Portal (9.0.4). I mean we have everything running smooth for Portal so we want to make sure that reconfiguring iAS for J2SE 1.4 won't have any affect on Portal.
    I hope you can reply me on this or refer me to some other document.
    Thanks in advance.

  • Compilation errors in default toolbox application in jdev 10g

    jdev version: 10.1.3.3
    OA Framework version (as per the instance): 12.1.3
    First of all I could not find OA Framework Dev Guide for 12.1.3. So I am referring to OAF 12.1.2 dev guide. Please let me know if this is ok. If not, please let me know where I can refer OAF 12.1.3 dev guide.
    Now, I am Setting up my development environment on windows as per the OAF dev guide. I completed tasks 1 to 6 as instructed in the guide.
    In final task 7 "Test your setup", when I rebuild the application, I am getting 2 errors as follows:
    Project: C:\Jdeveloper10g\jdevhome\jdev\myprojects\LabSolutions.jpr
    C:\Jdeveloper10g\jdevhome\jdev\myprojects\oracle\apps\fnd\framework\toolbox\labsolutions\Supplier.java
    Error: cannot read classfile: XMLDomainInterface.class on classpath C:\Jdeveloper10g\jdevbin\BC4J\lib\bc4jmt.jar/oracle/jbo/domain/XMLDomainInterface.class
    Error(162,28): XMLDomainInterface not found in interface oracle.jbo.domain.XMLDomainWriter in class oracle.jbo.domain.Date in class oracle.apps.fnd.framework.toolbox.labsolutions.Supplier
    I dont have any clue about these errors. I would highly appreciate if some OA Framework expert can provide some help/suggestion in this regard.
    Thanks

    Thanks for the reply Gyan!
    I am referring following metalink note for jdev patch/version:
    How to find the correct version of JDeveloper to use with eBusiness Suite 11i or Release 12.x [ID 416708.1]
    As per the metalink note, for R12.1.3
    12.1.3 (patch 9239090 or patch 8919491) Patch 9879989 10G JDEVELOPER WITH OA EXTENSION ARU FOR R12.1.3
    Does it mean that for R12.1.3 we can use any of the 3 jdev patches - 9239090 / 8919491 / 9879989 ?
    Or we have to use 9879989 only? Please advise.
    My collegue was already having patch 8919491. So I am using the same.
    Thanks
    P.S. I have been using Oracle Forums since 5 years. Just that I am using it with new ID now. Anyway, thanks for sharing forum announcement!

  • Msg=JBO-26061: Error while opening JDBC connection

    I developed an application connecting to a database and the application worked fine. After that I moved the tables into the different database user and server.
    I opened the application in JDeveloper and I configured the new Database connection and New DB user test passed in “Connection Navigator”. When I run the application I am getting the following error message in the browser.
    Please help me.
    ========================================
    JBO-30003: The application pool (oracle.srtutorial.datamodel.SRPublicServiceLocal) failed to checkout an application module due to the following exception:oracle.jbo.JboException: JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-29000: Unexpected exception caught: oracle.jbo.DMLException, msg=JBO-26061: Error while opening JDBC connection.     at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2002)     at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2793)     at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:453)     at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:233)     at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:424)     at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:419)     at oracle.adf.model.bc4j.DCJboDataControl.rebuildApplicationModule(DCJboDataControl.java:1536)     at oracle.adf.model.bc4j.DCJboDataControl.beginRequest(DCJboDataControl.java:1396)     at oracle.adf.model.binding.DCDataControlReference.getDataControl(DCDataControlReference.java:99)     at oracle.adf.model.BindingContext.get(BindingContext.java:457)     at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:280)     at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:248)     at oracle.adf.model.binding.DCUtil.findContextObject(DCUtil.java:383)     at oracle.adf.model.binding.DCIteratorBinding.<init>(DCIteratorBinding.java:127)     at oracle.jbo.uicli.binding.JUIteratorBinding.<init>(JUIteratorBinding.java:60)     at oracle.jbo.uicli.binding.JUIteratorDef.createIterBinding(JUIteratorDef.java:87)     at oracle.jbo.uicli.binding.JUIteratorDef.createIterBinding(JUIteratorDef.java:51)     at oracle.adf.model.binding.DCIteratorBindingDef.createExecutableBinding(DCIteratorBindingDef.java:277)     at oracle.adf.model.binding.DCBindingContainerDef.createExecutables(DCBindingContainerDef.java:296)     at oracle.adf.model.binding.DCBindingContainerDef.createBindingContainer(DCBindingContainerDef.java:425)     at oracle.adf.model.binding.DCBindingContainerReference.createBindingContainer(DCBindingContainerReference.java:54)     at oracle.adf.model.binding.DCBindingContainerReference.getBindingContainer(DCBindingContainerReference.java:44)     at oracle.adf.model.BindingContext.get(BindingContext.java:483)     at oracle.adf.model.BindingContext.findBindingContainer(BindingContext.java:313)     at oracle.adf.model.BindingContext.findBindingContainerByPath(BindingContext.java:633)     at oracle.adf.model.BindingRequestHandler.isPageViewable(BindingRequestHandler.java:265)     at oracle.adf.model.BindingRequestHandler.beginRequest(BindingRequestHandler.java:169)     at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:161)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:620)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:369)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:865)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:447)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:215)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)     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.1.1) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)     at java.lang.Thread.run(Thread.java:595)## Detail 0 ##oracle.jbo.JboException: JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-29000: Unexpected exception caught: oracle.jbo.DMLException, msg=JBO-26061: Error while opening JDBC connection.     at oracle.jbo.pool.ResourcePool.useResource(ResourcePool.java:336)     at oracle.jbo.server.ConnectionPool.getConnectionInternal(ConnectionPool.java:87)     at oracle.jbo.server.ConnectionPool.getConnection(ConnectionPool.java:66)     at oracle.jbo.server.ConnectionPoolManagerImpl.getConnection(ConnectionPoolManagerImpl.java:56)     at oracle.jbo.server.DBTransactionImpl.establishNewConnection(DBTransactionImpl.java:911)     at oracle.jbo.server.DBTransactionImpl.initTransaction(DBTransactionImpl.java:1156)     at oracle.jbo.server.DBTransactionImpl.initTxn(DBTransactionImpl.java:5891)     at oracle.jbo.server.DBTransactionImpl2.connect(DBTransactionImpl2.java:120)     at oracle.jbo.common.ampool.DefaultConnectionStrategy.connect(DefaultConnectionStrategy.java:194)     at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolConnect(ApplicationPoolMessageHandler.java:454)     at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolMessage(ApplicationPoolMessageHandler.java:343)     at oracle.jbo.server.ApplicationModuleImpl.doPoolMessage(ApplicationModuleImpl.java:7763)     at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:4074)     at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2161)     at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:1961)     at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2793)     at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:453)     at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:233)     at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:424)     at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:419)     at oracle.adf.model.bc4j.DCJboDataControl.rebuildApplicationModule(DCJboDataControl.java:1536)     at oracle.adf.model.bc4j.DCJboDataControl.beginRequest(DCJboDataControl.java:1396)     at oracle.adf.model.binding.DCDataControlReference.getDataControl(DCDataControlReference.java:99)     at oracle.adf.model.BindingContext.get(BindingContext.java:457)     at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:280)     at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:248)     at oracle.adf.model.binding.DCUtil.findContextObject(DCUtil.java:383)     at oracle.adf.model.binding.DCIteratorBinding.<init>(DCIteratorBinding.java:127)     at oracle.jbo.uicli.binding.JUIteratorBinding.<init>(JUIteratorBinding.java:60)     at oracle.jbo.uicli.binding.JUIteratorDef.createIterBinding(JUIteratorDef.java:87)     at oracle.jbo.uicli.binding.JUIteratorDef.createIterBinding(JUIteratorDef.java:51)     at oracle.adf.model.binding.DCIteratorBindingDef.createExecutableBinding(DCIteratorBindingDef.java:277)     at oracle.adf.model.binding.DCBindingContainerDef.createExecutables(DCBindingContainerDef.java:296)     at oracle.adf.model.binding.DCBindingContainerDef.createBindingContainer(DCBindingContainerDef.java:425)     at oracle.adf.model.binding.DCBindingContainerReference.createBindingContainer(DCBindingContainerReference.java:54)     at oracle.adf.model.binding.DCBindingContainerReference.getBindingContainer(DCBindingContainerReference.java:44)     at oracle.adf.model.BindingContext.get(BindingContext.java:483)     at oracle.adf.model.BindingContext.findBindingContainer(BindingContext.java:313)     at oracle.adf.model.BindingContext.findBindingContainerByPath(BindingContext.java:633)     at oracle.adf.model.BindingRequestHandler.isPageViewable(BindingRequestHandler.java:265)     at oracle.adf.model.BindingRequestHandler.beginRequest(BindingRequestHandler.java:169)     at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:161)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:620)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:369)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:865)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:447)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:215)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)     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.1.1) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)     at java.lang.Thread.run(Thread.java:595)## Detail 0 ##oracle.jbo.JboException: JBO-29000: Unexpected exception caught: oracle.jbo.DMLException, msg=JBO-26061: Error while opening JDBC connection.     at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:545)     at oracle.jbo.pool.ResourcePool.useResource(ResourcePool.java:326)     at oracle.jbo.server.ConnectionPool.getConnectionInternal(ConnectionPool.java:87)     at oracle.jbo.server.ConnectionPool.getConnection(ConnectionPool.java:66)     at oracle.jbo.server.ConnectionPoolManagerImpl.getConnection(ConnectionPoolManagerImpl.java:56)     at oracle.jbo.server.DBTransactionImpl.establishNewConnection(DBTransactionImpl.java:911)     at oracle.jbo.server.DBTransactionImpl.initTransaction(DBTransactionImpl.java:1156)     at oracle.jbo.server.DBTransactionImpl.initTxn(DBTransactionImpl.java:5891)     at oracle.jbo.server.DBTransactionImpl2.connect(DBTransactionImpl2.java:120)     at oracle.jbo.common.ampool.DefaultConnectionStrategy.connect(DefaultConnectionStrategy.java:194)     at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolConnect(ApplicationPoolMessageHandler.java:454)     at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolMessage(ApplicationPoolMessageHandler.java:343)     at oracle.jbo.server.ApplicationModuleImpl.doPoolMessage(ApplicationModuleImpl.java:7763)     at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:4074)     at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2161)     at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:1961)     at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2793)     at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:453)     at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:233)     at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:424)     at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:419)     at oracle.adf.model.bc4j.DCJboDataControl.rebuildApplicationModule(DCJboDataControl.java:1536)     at oracle.adf.model.bc4j.DCJboDataControl.beginRequest(DCJboDataControl.java:1396)     at oracle.adf.model.binding.DCDataControlReference.getDataControl(DCDataControlReference.java:99)     at oracle.adf.model.BindingContext.get(BindingContext.java:457)     at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:280)     at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:248)     at oracle.adf.model.binding.DCUtil.findContextObject(DCUtil.java:383)     at oracle.adf.model.binding.DCIteratorBinding.<init>(DCIteratorBinding.java:127)     at oracle.jbo.uicli.binding.JUIteratorBinding.<init>(JUIteratorBinding.java:60)     at oracle.jbo.uicli.binding.JUIteratorDef.createIterBinding(JUIteratorDef.java:87)     at oracle.jbo.uicli.binding.JUIteratorDef.createIterBinding(JUIteratorDef.java:51)     at oracle.adf.model.binding.DCIteratorBindingDef.createExecutableBinding(DCIteratorBindingDef.java:277)     at oracle.adf.model.binding.DCBindingContainerDef.createExecutables(DCBindingContainerDef.java:296)     at oracle.adf.model.binding.DCBindingContainerDef.createBindingContainer(DCBindingContainerDef.java:425)     at oracle.adf.model.binding.DCBindingContainerReference.createBindingContainer(DCBindingContainerReference.java:54)     at oracle.adf.model.binding.DCBindingContainerReference.getBindingContainer(DCBindingContainerReference.java:44)     at oracle.adf.model.BindingContext.get(BindingContext.java:483)     at oracle.adf.model.BindingContext.findBindingContainer(BindingContext.java:313)     at oracle.adf.model.BindingContext.findBindingContainerByPath(BindingContext.java:633)     at oracle.adf.model.BindingRequestHandler.isPageViewable(BindingRequestHandler.java:265)     at oracle.adf.model.BindingRequestHandler.beginRequest(BindingRequestHandler.java:169)     at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:161)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:620)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:369)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:865)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:447)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:215)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)     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.1.1) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)     at java.lang.Thread.run(Thread.java:595)## Detail 0 ##oracle.jbo.DMLException: JBO-26061: Error while opening JDBC connection.     at oracle.jbo.server.ConnectionPool.createConnection(ConnectionPool.java:220)     at oracle.jbo.server.ConnectionPool.instantiateResource(ConnectionPool.java:135)     at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:536)     at oracle.jbo.pool.ResourcePool.useResource(ResourcePool.java:326)     at oracle.jbo.server.ConnectionPool.getConnectionInternal(ConnectionPool.java:87)     at oracle.jbo.server.ConnectionPool.getConnection(ConnectionPool.java:66)     at oracle.jbo.server.ConnectionPoolManagerImpl.getConnection(ConnectionPoolManagerImpl.java:56)     at oracle.jbo.server.DBTransactionImpl.establishNewConnection(DBTransactionImpl.java:911)     at oracle.jbo.server.DBTransactionImpl.initTransaction(DBTransactionImpl.java:1156)     at oracle.jbo.server.DBTransactionImpl.initTxn(DBTransactionImpl.java:5891)     at oracle.jbo.server.DBTransactionImpl2.connect(DBTransactionImpl2.java:120)     at oracle.jbo.common.ampool.DefaultConnectionStrategy.connect(DefaultConnectionStrategy.java:194)     at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolConnect(ApplicationPoolMessageHandler.java:454)     at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolMessage(ApplicationPoolMessageHandler.java:343)     at oracle.jbo.server.ApplicationModuleImpl.doPoolMessage(ApplicationModuleImpl.java:7763)     at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:4074)     at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2161)     at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:1961)     at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2793)     at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:453)     at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:233)     at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:424)     at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:419)     at oracle.adf.model.bc4j.DCJboDataControl.rebuildApplicationModule(DCJboDataControl.java:1536)     at oracle.adf.model.bc4j.DCJboDataControl.beginRequest(DCJboDataControl.java:1396)     at oracle.adf.model.binding.DCDataControlReference.getDataControl(DCDataControlReference.java:99)     at oracle.adf.model.BindingContext.get(BindingContext.java:457)     at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:280)     at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:248)     at oracle.adf.model.binding.DCUtil.findContextObject(DCUtil.java:383)     at oracle.adf.model.binding.DCIteratorBinding.<init>(DCIteratorBinding.java:127)     at oracle.jbo.uicli.binding.JUIteratorBinding.<init>(JUIteratorBinding.java:60)     at oracle.jbo.uicli.binding.JUIteratorDef.createIterBinding(JUIteratorDef.java:87)     at oracle.jbo.uicli.binding.JUIteratorDef.createIterBinding(JUIteratorDef.java:51)     at oracle.adf.model.binding.DCIteratorBindingDef.createExecutableBinding(DCIteratorBindingDef.java:277)     at oracle.adf.model.binding.DCBindingContainerDef.createExecutables(DCBindingContainerDef.java:296)     at oracle.adf.model.binding.DCBindingContainerDef.createBindingContainer(DCBindingContainerDef.java:425)     at oracle.adf.model.binding.DCBindingContainerReference.createBindingContainer(DCBindingContainerReference.java:54)     at oracle.adf.model.binding.DCBindingContainerReference.getBindingContainer(DCBindingContainerReference.java:44)     at oracle.adf.model.BindingContext.get(BindingContext.java:483)     at oracle.adf.model.BindingContext.findBindingContainer(BindingContext.java:313)     at oracle.adf.model.BindingContext.findBindingContainerByPath(BindingContext.java:633)     at oracle.adf.model.BindingRequestHandler.isPageViewable(BindingRequestHandler.java:265)     at oracle.adf.model.BindingRequestHandler.beginRequest(BindingRequestHandler.java:169)     at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:161)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:620)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:369)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:865)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:447)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:215)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)     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.1.1) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)     at java.lang.Thread.run(Thread.java:595)## Detail 0 ##java.sql.SQLException: Io exception: The Network Adapter could not establish the connection     at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:138)     at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:175)     at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:287)     at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:328)     at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:430)     at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:151)     at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:32)     at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:608)     at java.sql.DriverManager.getConnection(DriverManager.java:525)     at java.sql.DriverManager.getConnection(DriverManager.java:140)     at oracle.jbo.server.ConnectionPool.createConnection(ConnectionPool.java:189)     at oracle.jbo.server.ConnectionPool.instantiateResource(ConnectionPool.java:135)     at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:536)     at oracle.jbo.pool.ResourcePool.useResource(ResourcePool.java:326)     at oracle.jbo.server.ConnectionPool.getConnectionInternal(ConnectionPool.java:87)     at oracle.jbo.server.ConnectionPool.getConnection(ConnectionPool.java:66)     at oracle.jbo.server.ConnectionPoolManagerImpl.getConnection(ConnectionPoolManagerImpl.java:56)     at oracle.jbo.server.DBTransactionImpl.establishNewConnection(DBTransactionImpl.java:911)     at oracle.jbo.server.DBTransactionImpl.initTransaction(DBTransactionImpl.java:1156)     at oracle.jbo.server.DBTransactionImpl.initTxn(DBTransactionImpl.java:5891)     at oracle.jbo.server.DBTransactionImpl2.connect(DBTransactionImpl2.java:120)     at oracle.jbo.common.ampool.DefaultConnectionStrategy.connect(DefaultConnectionStrategy.java:194)     at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolConnect(ApplicationPoolMessageHandler.java:454)     at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolMessage(ApplicationPoolMessageHandler.java:343)     at oracle.jbo.server.ApplicationModuleImpl.doPoolMessage(ApplicationModuleImpl.java:7763)     at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:4074)     at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2161)     at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:1961)     at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2793)     at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:453)     at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:233)     at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:424)     at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:419)     at oracle.adf.model.bc4j.DCJboDataControl.rebuildApplicationModule(DCJboDataControl.java:1536)     at oracle.adf.model.bc4j.DCJboDataControl.beginRequest(DCJboDataControl.java:1396)     at oracle.adf.model.binding.DCDataControlReference.getDataControl(DCDataControlReference.java:99)     at oracle.adf.model.BindingContext.get(BindingContext.java:457)     at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:280)     at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:248)     at oracle.adf.model.binding.DCUtil.findContextObject(DCUtil.java:383)     at oracle.adf.model.binding.DCIteratorBinding.<init>(DCIteratorBinding.java:127)     at oracle.jbo.uicli.binding.JUIteratorBinding.<init>(JUIteratorBinding.java:60)     at oracle.jbo.uicli.binding.JUIteratorDef.createIterBinding(JUIteratorDef.java:87)     at oracle.jbo.uicli.binding.JUIteratorDef.createIterBinding(JUIteratorDef.java:51)     at oracle.adf.model.binding.DCIteratorBindingDef.createExecutableBinding(DCIteratorBindingDef.java:277)     at oracle.adf.model.binding.DCBindingContainerDef.createExecutables(DCBindingContainerDef.java:296)     at oracle.adf.model.binding.DCBindingContainerDef.createBindingContainer(DCBindingContainerDef.java:425)     at oracle.adf.model.binding.DCBindingContainerReference.createBindingContainer(DCBindingContainerReference.java:54)     at oracle.adf.model.binding.DCBindingContainerReference.getBindingContainer(DCBindingContainerReference.java:44)     at oracle.adf.model.BindingContext.get(BindingContext.java:483)     at oracle.adf.model.BindingContext.findBindingContainer(BindingContext.java:313)     at oracle.adf.model.BindingContext.findBindingContainerByPath(BindingContext.java:633)     at oracle.adf.model.BindingRequestHandler.isPageViewable(BindingRequestHandler.java:265)     at oracle.adf.model.BindingRequestHandler.beginRequest(BindingRequestHandler.java:169)     at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:161)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:620)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:369)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:865)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:447)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:215)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)     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.1.1) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)     at java.lang.Thread.run(Thread.java:595)
    ========================================

    Io exception: The Network Adapter could not establish the connection..
    I'd check in tools->embedded oc4j server preferences (current workspace app / data sources) and do a refresh now.
    Next, make sure your app module config files reference the right connection by right clicking the app module and selecting configuration. lastly, make sure the project points to the right database connection by right clicking project -> properties, business components.

  • JCLoginDialog in JDev 10g

    I'm using generated JCLoginDialog for JDBC connection in JClient application. I followed all instructions from help (modified getInfo() and bc4j.xcfg) and get problem that login dialog appears three times. I insert correct usr/psw, than press OK every time dialog appears end get success!?
    I put some code to see what's going:
    if (isUsernameEmpty || isPasswordEmpty || exc != null) {
    System.out.println(isUsernameEmpty + ", "+isPasswordEmpty+", "+exc);
    if (!popupDialog()) {
    throw new IllegalArgumentException("Login Cancelled");
    ((Hashtable)connEnvironment).put(Configuration.DB_USERNAME_PROPERTY, mUserName.getText().trim());
    ((Hashtable)connEnvironment).put(Configuration.DB_PASSWORD_PROPERTY, new String(mPassword.getPassword()).trim());
    Here is the output:
    false, true, null
    false, false, oracle.jbo.JboException: JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-29000: Unexpected exception caught: oracle.jbo.DMLException, msg=JBO-26061: Error while opening JDBC connection.
    false, false, oracle.jbo.JboException: JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-29000: Unexpected exception caught: oracle.jbo.DMLException, msg=JBO-26061: Error while opening JDBC connection.
    Anybody have the same problem?
    Thanks in advance.

    I used separate text editor (couldn't find option in JDeveloper 10g context menu for application module "Configuration...") to erase entries "password" and "DeployPassword". bc4j.xcfg now it looks like this:
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <BC4JConfig>
    <AppModuleConfigBag>
    <AppModuleConfig name="AppModuleLocal">
    <AppModuleJndiName>pn.model.AppModule</AppModuleJndiName>
    <DeployPlatform>LOCAL</DeployPlatform>
    <JDBCName>ts</JDBCName>
    <ApplicationName>pn.model.AppModule</ApplicationName>
    <jbo.project>Model</jbo.project>
    </AppModuleConfig>
    </AppModuleConfigBag>
    <ConnectionDefinition name="ts">
    <ENTRY name="JDBC_PORT" value="1521"/>
    <ENTRY name="ConnectionType" value="JDBC"/>
    <ENTRY name="HOSTNAME" value="localhost"/>
    <ENTRY name="user" value="terrasoft"/>
    <ENTRY name="ConnectionName" value="ts"/>
    <ENTRY name="SID" value="ORCL"/>
    <ENTRY name="JdbcDriver" value="oracle.jdbc.driver.OracleDriver"/>
    <ENTRY name="ORACLE_JDBC_TYPE" value="thin"/>
    </ConnectionDefinition>
    </BC4JConfig>
    Is this OK?
    Thanks,
    Djordje

  • Can SimpleDateFormat for BC4J be used in Jdev 10g?

    I recently migrated a struts/bc4j app from Jdev 9.0.3.4, we use SimpleDateFormat quite extensivly in Entity and View Objects, however the AttributeDefImple.getFormattedAttribute method is throwing the following exception:
    Error Message: JBO-29000: Unexpected exception caught: java.lang.IllegalArgumentException, msg=Cannot format given Object as a Date
    Error Message: Cannot format given Object as a Date
    oracle.jbo.JboException: JBO-29000: Unexpected exception caught: java.lang.IllegalArgumentException, msg=Cannot format given Object as a Date
         at oracle.jbo.server.AttributeDefImpl.getFormattedAttribute(AttributeDefImpl.java:2849)
         at oracle.jbo.html.HtmlServices.getAttributeStringValue(HtmlServices.java:881)
         at oracle.jdeveloper.html.HTMLFieldRendererImpl.getHTMLValue(HTMLFieldRendererImpl.java:432)
         at oracle.jdeveloper.html.HTMLFieldRendererImpl.getHTMLValue(HTMLFieldRendererImpl.java:409)
         at oracle.jdeveloper.html.HTMLFieldRendererImpl.setValueFromRow(HTMLFieldRendererImpl.java:442)
         at oracle.jdeveloper.html.ReadOnlyField.renderToString(ReadOnlyField.java:27)
         at oracle.jbo.html.jsp.datatags.RenderValueTag.doStartTag(RenderValueTag.java:33)
         at main.jspService(main.jsp:65)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.compileAndServe(JspPageTable.java:569)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:304)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
         at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:604)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
         at java.lang.Thread.run(Thread.java:534)
    ## Detail 0 ##
    java.lang.IllegalArgumentException: Cannot format given Object as a Date
         at java.text.DateFormat.format(DateFormat.java:279)
         at java.text.Format.format(Format.java:133)
         at oracle.jbo.format.DefaultDateFormatter.format(DefaultDateFormatter.java:84)
         at oracle.jbo.server.AttributeDefImpl.getFormattedAttribute(AttributeDefImpl.java:2843)
         at oracle.jbo.html.HtmlServices.getAttributeStringValue(HtmlServices.java:881)
         at oracle.jdeveloper.html.HTMLFieldRendererImpl.getHTMLValue(HTMLFieldRendererImpl.java:432)
         at oracle.jdeveloper.html.HTMLFieldRendererImpl.getHTMLValue(HTMLFieldRendererImpl.java:409)
         at oracle.jdeveloper.html.HTMLFieldRendererImpl.setValueFromRow(HTMLFieldRendererImpl.java:442)
         at oracle.jdeveloper.html.ReadOnlyField.renderToString(ReadOnlyField.java:27)
         at oracle.jbo.html.jsp.datatags.RenderValueTag.doStartTag(RenderValueTag.java:33)
         at main.jspService(main.jsp:65)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.compileAndServe(JspPageTable.java:569)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:304)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
         at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:604)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
         at java.lang.Thread.run(Thread.java:534)
    this breaks the jbo datatags datatable and rendervalue plus some custom code I have to get the formatted dates using HtmlServices.getAttributeStringValue(...)
    So is Simple Date Format broken in 10g? Is this the wrong way to go about view/entity formatting? I don't see what I could be doing wrong, this all works fine in 9.0.3.4, I am not including any old jars from 9.0.3.4 either...any ideas?

    Problem solved.
    I was including BC4J Generic Domains library in my project. Which contains yet another implemetation of oracle.jbo.domains.Date this one is not what we want to use :) The problem arose because the IDE detected the correct Date class while the embedded server chose the wrong one, so just removed that library and I was good to go. This problem also reared it's ugly head when I tried to use the infamous FlexiDate class and it complained that it couldn't find a constructor in it's superclass that took a byte array as input.

Maybe you are looking for

  • A volume failed to mount/Operation cannot be completed

    We bought a MacBook on the weekend. Our Apple concierge insisted that we can keep our music, videos and photos on our Windows XP desktop and "share" the files on the Mac--in other words, we can pull down what we need to edit or save on the Mac as nee

  • My Macbook pro keeps crashing and I have no idea why. Would anyone be able to help?

    I have a Macbook pro OS X 10.7.5 It is only a little over a year old and it keeps crashing. Any help would be great! Process:         crsud [47] Path:            /usr/libexec/crsud Identifier:      crsud Version:         ??? (???) Code Type:       X8

  • Problems of running java program by crontab in Linux

    I have a java application program which runs great when started in command line, or in shell script, or Perl. However, when it is started by crontab in Linux, it stops in the middle when images are to be generated. I guess there might be some setting

  • Migrating users from one domain to another(Interforest)

    Scenario- Two Domains A & B in two different forests. A - holds exchange server in DMZ and 2 domain controllers in A used by exchange also in DMZ B holds all users and computers and 2 Domain controllers used for authentication . Now I want to migrate

  • Display of messages in webdynpro ABAP views

    Hi, In a ABAP WD component I have 2 views, connected through a navigation link. If in the first view, a message is displayed using the message manager, a message area is shown on the top of the view with the message in it. If now I navigate to the ot