5 Replies Latest reply: Oct 16, 2012 1:53 AM by AhmadAl-Zamer88 RSS

    Jdeveloper 10g on weblogic

    AhmadAl-Zamer88
      First of all , I am not sure if this the right place to post this thread, if not sorry.

      what I am trying to do is deploy an old project written with jdeveloper 10g(version 10.1.3.2.0.4066) on weblogic (WebLogic Server Version: 10.3.3.0).
      followed the steps in the [http://download.oracle.com/otn_hosted_doc/jdeveloper/11/demos/wls/wls.html] video. for a test run: created one page that displays records from employees table in the HR schema.
      it deploys fine, but when I try to access the page it gives me the following exception:
      oracle.jbo.common.ampool.ApplicationPoolException: JBO-30003: The application pool (project1.AppModuleLocal) failed to checkout an application module due to the following exception:
           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.(DCIteratorBinding.java:127)
           at oracle.jbo.uicli.binding.JUIteratorBinding.(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 weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
           at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:330)
           at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
           at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.doIt(WebAppServletContext.java:3684)
           at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3650)
           at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
           at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
           at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2268)
           at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174)
           at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446)
           at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
           at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
      and end up with a large number of inactive sessions on the the database.
      tried with database connection configured in the IDE and a data source defined in the weblogic server.
      when looked around most suggested that it was an error with the database; but that is not the issue since the bc4j tester works fine and when testing the data soruce in the server is fine.
      it works fine on oc4j.
        • 1. Re: Jdeveloper 10g on weblogic
          Timo Hahn
          This isn't a db problem, it's an configuration problem. Have you actually followed Shay's video and first tried to deploy the FOD sample and see if this runs OK?
          This ensures that your server instance is configured OK.

          Is this runs and your app still throws this error we know that we only have to look at your app.

          Timo
          • 2. Re: Jdeveloper 10g on weblogic
            dvohra21
            ++oracle.jbo.common.ampool.ApplicationPoolException: JBO-30003: The application pool (project1.AppModuleLocal) failed to checkout an application module due to the following exception+:+

            What is the following exception? Is another sub-exception generated?
            • 3. Re: Jdeveloper 10g on weblogic
              Frank Nimphius-Oracle
              Hi,

              1. JDeveloper 10g applications must be migrated to 11g before you can run them on WLS
              2. The problem you face is that the database connection you use in your application is not available on the deployment server. If you use JDBC data source (default in newer 11g releases) then you need to open the WLS console and create the same JDBC data source as you used in ADF BC (just the name, e.g. jdbc/hrconn).

              Frank
              • 4. Re: Jdeveloper 10g on weblogic
                AhmadAl-Zamer88
                that's is the problem, this is the entire message that I get. when I searched to find solution found some others that had similar problems ,but they had more detailed exception messages, is there a way to get more detailed messages?
                • 5. Re: Jdeveloper 10g on weblogic
                  AhmadAl-Zamer88
                  tried the data source, but for some reason always end up with too many checked out connections and end up not being able to get a new connection- cannot even test the data source from the weblogic console- , then have to manually restart the data source so that I can access the page?
                  for now- since this is test application- all the option are left as the default.