5 Replies Latest reply: Jun 7, 2013 3:43 PM by user6739500 RSS

    ADF application deploys successfully but run shows 'Loading' endlessly

    user6739500
      Hi,

      I have a simple ADF form, which deploys successfully on integrated server (10.3.5) and also runs correctly using the URL <host>:port/<contextroot>/faces/<formname>.jsp
      Same application compiles and deploys successfully (no errors) on stand alone wls 10.3.6 with ADF run time (11.1.1.6), but when I launch the jsp in the browser the same form shows 'Loading' endlessly.
      Both deployments were done to the adminserver

      Would appreciate any pointers

      Edited by: user6739500 on May 20, 2013 11:12 AM

      Edited by: user6739500 on May 20, 2013 11:49 AM
        • 1. Re: ADF application deploys successfully but run shows 'Loading' endlessly
          Zeeshan BaiG
          user6739500 wrote:
          Hi,

          I have a simple ADF form, which deploys successfully on integrated server (10.3.5) and also runs correctly using the URL <host>:port/<contextroot>/faces/<formname>.jsp
          Same application compiles and deploys successfully (no errors) on stand alone wls 10.3.6 with ADF run time (11.1.1.6), but when I launch the jsp in the browser the same form shows 'Loading' endlessly.
          Both deployments were done to the adminserver

          Would appreciate any pointers

          Edited by: user6739500 on May 20, 2013 11:12 AM

          Edited by: user6739500 on May 20, 2013 11:49 AM
          1. Check the log files what you see. The ideal way to run the application is without the .jsp or jspx extension in the URL

          2. To deploy to WLS server make sure you have created JDBC data source and pointed Application Module to use data source instead of URL

          3. if you are using ADF security make sure security is correct.

          Zeeshan
          • 2. Re: ADF application deploys successfully but run shows 'Loading' endlessly
            user6739500
            1) If I try to run without the jsp extn, I get browser Error 404--Not Found... (with jsp extn works fine on integrated wenlogic, and at least kicks off the jsp in the standalone wls)

            2) I checked log files: I see 3 errors (a, b and c below)
            a)
            SUBSYSTEM = HTTP USERID = <WLS Kernel> SEVERITY = Error THREAD = [ACTIVE] ExecuteThread: '13' for queue: 'weblogic.kernel.Default (self-tuning)' MSGID = BEA-101020 MACHINE = CACDTL01IF3278 TXID = CONTEXTID = e8b54f34fbd5cc14:-6f9eb06d:13ec37122cd:-8000-0000000000000061 TIMESTAMP = 1369078984422
            WatchAlarmType: AutomaticReset
            WatchAlarmResetPeriod: 30000
            >
            ####<May 20, 2013 12:43:05 PM PDT> <Alert> <Diagnostics> <CACDTL01IF3278> <AdminServer> <oracle.dfw.impl.incident.DiagnosticsDataExtractorImpl - Incident Dump Executor (created: Mon May 20 12:43:04 PDT 2013)> <<WLS Kernel>> <> <e8b54f34fbd5cc14:-6f9eb06d:13ec37122cd:-8000-0000000000000069> <1369078985210> <BEA-320016> <Creating diagnostic image in C:\oracle\wls1036\user_projects\domains\local_domain\servers\AdminServer\adr\diag\ofm\local_domain\adminserver\incident\incdir_1 with a lockout minute period of 1.>
            b)      at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
                 at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
            Caused By: java.sql.SQLException: ORA-01005: null password given; logon denied

            c)
            [2013-05-20T12:43:04.422-07:00] [AdminServer] [NOTIFICATION] [DFW-40101] [oracle.dfw.incident] [tid: [ACTIVE].ExecuteThread: '12' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <WLS Kernel>] [ecid: e8b54f34fbd5cc14:-6f9eb06d:13ec37122cd:-8000-0000000000000066,0] An incident has been signalled with the incident facts: [problemKey=DFW-99996 [ORA-1005][oracle.jbo.server.URLConnectionHelper.getConnection][Application1_application1] incidentSource=SYSTEM incidentTime=Mon May 20 12:43:04 PDT 2013 errorMessage=DFW-99996 executionContextId=e8b54f34fbd5cc14:-6f9eb06d:13ec37122cd:-8000-0000000000000061]
            [2013-05-20T12:43:04.820-07:00] [AdminServer] [NOTIFICATION] [DFW-40104] [oracle.dfw.incident] [tid: [ACTIVE].ExecuteThread: '12' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <WLS Kernel>] [ecid: e8b54f34fbd5cc14:-6f9eb06d:13ec37122cd:-8000-0000000000000066,0] [errid: 1] [detailLoc: C:\oracle\wls1036\user_projects\domains\local_domain\servers\AdminServer\adr\diag\ofm\local_domain\adminserver\incident\incdir_1] [probKey: DFW-99996 [ORA-1005][oracle.jbo.server.URLConnectionHelper.getConnection][Application1_application1]] incident 1 created with problem key "DFW-99996 [ORA-1005][oracle.jbo.server.URLConnectionHelper.getConnection][Application1_application1]"

            [Note: jdbc connection used for business components is shared IDE connection, password is saved, and I am able to see tables inside the connection in jdev in both ide and application db connection
            So I am not sure why I am seeing the error in 'b' and 'c' above)


            3) I am not using adf security

            Appreciate your efforts to help                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               
            • 3. Re: ADF application deploys successfully but run shows 'Loading' endlessly
              Zeeshan BaiG
              Caused By: java.sql.SQLException: ORA-01005: null password given; logon denied
              Verify your application module is using JDBC data source instead of URL connection

              Right Click app module click configuration > localAppModule (don't remember exact) but you will see there

              to use JDBC data source make sure it is created in WLS console as well under Services > Data sources tab and use the same JNDI name

              This might help http://techiecook.wordpress.com/2010/12/02/oracle-weblogic-adf-datasources/

              Edited by: Zeeshan BaiG on May 20, 2013 3:54 PM
              • 4. Re: ADF application deploys successfully but run shows 'Loading' endlessly
                Timo Hahn
                Check your application module if it uses jdbc data source. My guys it's that you use jdbc url. Change this to jdbc data source.

                Timo
                • 5. Re: ADF application deploys successfully but run shows 'Loading' endlessly
                  user6739500
                  Sorry for the delayed reply. Thanks for the help.. That resolved my issue