1 2 Previous Next 16 Replies Latest reply: Aug 15, 2011 9:00 PM by 808191 RSS

    ADF Runtime 11.1.2 with Weblogic 10.3.5 Unresolved Webapp Library reference

    user569197
      I am getting an error when I try to deploy a simple application on the weblogic server.

      This is what I did:

      Installed weblogic 10.3.5 on Linux.
      configured domain
      Installed ADF Runtime 11.1.1.5 (ofm_appdev_generic_11.1.1.5.0_disk1_1of1.zip).
      Configured the managed server for ADF runtime using EM.
      Applied two patches for 11.1.2
      12611176 and patch:12556632
      upgraded ADF Runtime using upgradeADF

      When I tried to deploy an application it gives the following error.

      weblogic.application.ModuleException: Failed to load webapp: 'Order'
      at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:393)
      at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:180)
      at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
      at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:518)
      at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
      Truncated. see log file for complete stacktrace
      Caused By: weblogic.management.DeploymentException: Error: Unresolved Webapp Library references for "ServletContext@481164864[app:Order module:Order path:/Order spec-version:2.5]", defined in weblogic.xml [Extension-Name: jsf, Specification-Version: 2, exact-match: false]
      at weblogic.servlet.internal.WebAppServletContext.processWebAppLibraries(WebAppServletContext.java:2754)
      at weblogic.servlet.internal.WebAppServletContext.<init>(WebAppServletContext.java:415)
      at weblogic.servlet.internal.WebAppServletContext.<init>(WebAppServletContext.java:493)
      at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:418)
      at weblogic.servlet.internal.WebAppModule.registerWebApp(WebAppModule.java:972)

      When I open the configure domain utility using config.sh, it still shows the Oracle JRF - 11.1.1.0 [oracle_common] (selected).
      So obviously, it didn't upgrade the ADF runtime version.


      Could anybody tell me what I am missing?

      Appreciate your help.

      Thanks,
      Siva
        • 1. Re: ADF Runtime 11.1.2 with Weblogic 10.3.5 Unresolved Webapp Library reference
          raphael rodrigues - oracle
          I have some troubles when I applied those patches, my solution for this was very simple. I installed the wls 10.3.5 that came together jdev 11.1.2. After that, everything works fine.
          • 2. Re: ADF Runtime 11.1.2 with Weblogic 10.3.5 Unresolved Webapp Library reference
            user569197
            Thanks for the reply.

            Yes the deployment (with ear) works fine in the integrated weblogic server that came with 11.1.2. But it's not working in the standalone server.
            • 3. Re: ADF Runtime 11.1.2 with Weblogic 10.3.5 Unresolved Webapp Library reference
              Timo Hahn
              Open the console app of the stand alone wls, go to the deployment section, make sure you see libraries and apps and check if you see a jrf 2.x (or jsf2.x) library.
              If yes check if the libraries are targeted to the managed server.

              Timo
              • 4. Re: ADF Runtime 11.1.2 with Weblogic 10.3.5 Unresolved Webapp Library reference
                user569197
                Thanks Timo,

                Let me try it out.

                Thanks!
                • 5. Re: ADF Runtime 11.1.2 with Weblogic 10.3.5 Unresolved Webapp Library reference
                  user569197
                  Hi Timo,

                  That was the issue.

                  I checked the deployment libraries and the Library jsf(2.0,1.0.0.0_2-0-2) was available only in the AdminServer.
                  As you suggested, I copied/targeted that library to my managed server and its working fine now.

                  THANK YOU VERY MUCH for your quick response to my issue.

                  -Siva
                  • 6. Re: ADF Runtime 11.1.2 with Weblogic 10.3.5 Unresolved Webapp Library reference
                    808191
                    Hi Siva,
                    Could you share how you run upgradeADF successfully?
                    i'm facing this error:

                    wls:/offline> upgradeADF('/home/oracle/wls1035/user_projects/domains/base_domain')
                    Traceback (innermost last):
                    File "<console>", line 1, in ?
                    NameError: upupgradeADF

                    and also did you install weblogic 10.3.5 standalone or from SOA Suite/WebCenter?

                    Thanks,
                    Ricky
                    • 7. Re: ADF Runtime 11.1.2 with Weblogic 10.3.5 Unresolved Webapp Library reference
                      Timo Hahn
                      Check my blog about installing the patch http://tompeez.wordpress.com/2011/06/25/upgrading-wls-10-3-5-with-adf-runtime-11-1-2-0-0-sherman-patch/
                      and http://tompeez.wordpress.com/2011/06/29/follow-up-upgrading-wls-10-3-5-with-adf-runtime-11-1-2-0-0-sherman-patch/

                      Second part is the interesting for you

                      Timo

                      Edited by: Timo Hahn on 14.08.2011 16:07
                      • 8. Re: ADF Runtime 11.1.2 with Weblogic 10.3.5 Unresolved Webapp Library reference
                        808191
                        Thanks Timo.
                        I tried, but still got error with upgradeADF. See below:


                        [oracle@server1 bin]$ pwd
                        /home/oracle/wls1035/oracle_common/common/bin
                        [oracle@singa bin]$ ./wlst.sh
                        CLASSPATH=/home/oracle/wls1035/patch_wls1035/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/home/oracle/wls1035/patch_oepe1050/profiles/ default/sys_manifest_classpath/weblogic_patch.jar:/home/oracle/wls1035/patch_ocp360/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/home/ oracle/wls1035/jrockit_160_24_D1.1.2-4/lib/tools.jar:/home/oracle/wls1035/wlserver_10.3/server/lib/weblogic_sp.jar:/home/oracle/wls1035/wlserver_10.3 /server/lib/weblogic.jar:/home/oracle/wls1035/modules/features/weblogic.server.modules_10.3.5.0.jar:/home/oracle/wls1035/wlserver_10.3/server/lib/web services.jar:/home/oracle/wls1035/modules/org.apache.ant_1.7.1/lib/ant-all.jar:/home/oracle/wls1035/modules/net.sf.antcontrib_1.1.0.0_1-0b2/lib/ant-c ontrib.jar::/home/oracle/wls1035/oracle_common/modules/oracle.jrf_11.1.1/jrf-wlstman.jar:/home/oracle/wls1035/oracle_common/common/wlst/lib/adfscript ing.jar:/home/oracle/wls1035/oracle_common/common/wlst/lib/adf-share-mbeans-wlst.jar:/home/oracle/wls1035/oracle_common/common/wlst/lib/mdswlst.jar:/ home/oracle/wls1035/oracle_common/common/wlst/resources/auditwlst.jar:/home/oracle/wls1035/oracle_common/common/wlst/resources/igfwlsthelp.jar:/home/ oracle/wls1035/oracle_common/common/wlst/resources/jps-wlst.jar:/home/oracle/wls1035/oracle_common/common/wlst/resources/jrf-wlst.jar:/home/oracle/wl s1035/oracle_common/common/wlst/resources/oamap_help.jar:/home/oracle/wls1035/oracle_common/common/wlst/resources/oamAuthnProvider.jar:/home/oracle/w ls1035/oracle_common/common/wlst/resources/ossoiap_help.jar:/home/oracle/wls1035/oracle_common/common/wlst/resources/ossoiap.jar:/home/oracle/wls1035 /oracle_common/common/wlst/resources/ovdwlsthelp.jar:/home/oracle/wls1035/oracle_common/common/wlst/resources/sslconfigwlst.jar:/home/oracle/wls1035/ oracle_common/common/wlst/resources/wsm-wlst.jar

                        PATH=/home/oracle/wls1035/wlserver_10.3/server/bin:/home/oracle/wls1035/modules/org.apache.ant_1.7.1/bin:/home/oracle/wls1035/jrockit_160_24_D1.1.2-4 /jre/bin:/home/oracle/wls1035/jrockit_160_24_D1.1.2-4/bin:/home/oracle/wls1035/OPatch:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/oracle/bin

                        Your environment has been set.

                        CLASSPATH=/home/oracle/wls1035/patch_wls1035/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/home/oracle/wls1035/patch_oepe1050/profiles/ default/sys_manifest_classpath/weblogic_patch.jar:/home/oracle/wls1035/patch_ocp360/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/home/ oracle/wls1035/jrockit_160_24_D1.1.2-4/lib/tools.jar:/home/oracle/wls1035/wlserver_10.3/server/lib/weblogic_sp.jar:/home/oracle/wls1035/wlserver_10.3 /server/lib/weblogic.jar:/home/oracle/wls1035/modules/features/weblogic.server.modules_10.3.5.0.jar:/home/oracle/wls1035/wlserver_10.3/server/lib/web services.jar:/home/oracle/wls1035/modules/org.apache.ant_1.7.1/lib/ant-all.jar:/home/oracle/wls1035/modules/net.sf.antcontrib_1.1.0.0_1-0b2/lib/ant-c ontrib.jar::/home/oracle/wls1035/oracle_common/modules/oracle.jrf_11.1.1/jrf-wlstman.jar:/home/oracle/wls1035/oracle_common/common/wlst/lib/adfscript ing.jar:/home/oracle/wls1035/oracle_common/common/wlst/lib/adf-share-mbeans-wlst.jar:/home/oracle/wls1035/oracle_common/common/wlst/lib/mdswlst.jar:/ home/oracle/wls1035/oracle_common/common/wlst/resources/auditwlst.jar:/home/oracle/wls1035/oracle_common/common/wlst/resources/igfwlsthelp.jar:/home/ oracle/wls1035/oracle_common/common/wlst/resources/jps-wlst.jar:/home/oracle/wls1035/oracle_common/common/wlst/resources/jrf-wlst.jar:/home/oracle/wl s1035/oracle_common/common/wlst/resources/oamap_help.jar:/home/oracle/wls1035/oracle_common/common/wlst/resources/oamAuthnProvider.jar:/home/oracle/w ls1035/oracle_common/common/wlst/resources/ossoiap_help.jar:/home/oracle/wls1035/oracle_common/common/wlst/resources/ossoiap.jar:/home/oracle/wls1035 /oracle_common/common/wlst/resources/ovdwlsthelp.jar:/home/oracle/wls1035/oracle_common/common/wlst/resources/sslconfigwlst.jar:/home/oracle/wls1035/ oracle_common/common/wlst/resources/wsm-wlst.jar:/home/oracle/wls1035/utils/config/10.3/config-launch.jar::/home/oracle/wls1035/wlserver_10.3/common/ derby/lib/derbynet.jar:/home/oracle/wls1035/wlserver_10.3/common/derby/lib/derbyclient.jar:/home/oracle/wls1035/wlserver_10.3/common/derby/lib/derbyt ools.jar::

                        Initializing WebLogic Scripting Tool (WLST) ...

                        Welcome to WebLogic Server Administration Scripting Shell

                        Type help() for help on available commands

                        wls:/offline> upgradeADF('/home/oracle/wls1035/user_projects/domains/base_domain')
                        Traceback (innermost last):
                        File "<console>", line 1, in ?
                        NameError: upgradeADF
                        wls:/offline>

                        Any idea?

                        Thanks,
                        Ricky
                        • 9. Re: ADF Runtime 11.1.2 with Weblogic 10.3.5 Unresolved Webapp Library reference
                          Timo Hahn
                          Looks like you are running the upgradeADF command from the wrong directory. Check if the wlst folder holds a file adfWLSTCommands.py.
                          Make sure you run the wlst.sh from the ../bin folder where you find the adfWLSTCommands.py file in the wlst folder.


                          Timo
                          • 10. Re: ADF Runtime 11.1.2 with Weblogic 10.3.5 Unresolved Webapp Library reference
                            808191
                            Hi Timo,
                            strange, i don't see adfWLSTCommands.py in my wlst folder.

                            i've successfully patch
                            [oracle@server1 bin]$ opatch lsinventory -jdk /home/oracle/wls1035/jdk160_24
                            Invoking OPatch 11.2.0.1.6

                            Oracle Interim Patch Installer version 11.2.0.1.6
                            Copyright (c) 2011, Oracle Corporation. All rights reserved.


                            Oracle Home : /home/oracle/wls1035
                            Oracle Home Inventory : /home/oracle/wls1035/sainventory
                            OPatch version : 11.2.0.1.6
                            Product information : /home/oracle/wls1035/product.xml
                            Log file location : /home/oracle/wls1035/cfgtoollogs/opatch/opatch2011-08-15_08-06-07AM.log

                            Patch history file: /home/oracle/wls1035/cfgtoollogs/opatch/opatch_history.txt

                            Lsinventory Output file location : /home/oracle/wls1035/cfgtoollogs/opatch/lsinv/lsinventory2011-08-15_08-06-07AM.txt

                            --------------------------------------------------------------------------------
                            Installed Product:

                            SA_JDEV 11.1.1.5.0

                            Interim patches (1) :

                            Patch 12611176 : applied on Mon Aug 15 14:57:28 SGT 2011
                            Unique Patch ID: 13811804
                            Created on 1 Jun 2011, 02:43:13 hrs PST8PDT
                            Bugs fixed:
                            12565152, 12555836, 12593880, 12396868, 12611176


                            --------------------------------------------------------------------------------

                            OPatch succeeded.


                            [oracle@server1 bin]$ pwd
                            /home/oracle/wls1035/oracle_common/common/bin
                            [oracle@server1 bin]$ ls -lrt
                            total 156
                            -rwxr-x--- 1 oracle oinstall 101 Apr 2 2009 nm.required.properties
                            -rwxr-x--- 1 oracle oinstall 1879 Jan 20 2010 wlst.sh
                            -rw-r----- 1 oracle oinstall 1636 Jan 20 2010 wlst.cmd
                            -rwxr-x--- 1 oracle oinstall 777 Jan 20 2010 unpack.sh
                            -rw-r----- 1 oracle oinstall 640 Jan 20 2010 unpack.cmd
                            -rwxr-x--- 1 oracle oinstall 133 Jan 20 2010 setWasHome.sh
                            -rw-r----- 1 oracle oinstall 59 Jan 20 2010 setWasHome.cmd
                            -rwxr-x--- 1 oracle oinstall 767 Jan 20 2010 setHomeDirs.sh
                            -rw-r----- 1 oracle oinstall 762 Jan 20 2010 setHomeDirs.cmd
                            -rwxr-x--- 1 oracle oinstall 773 Jan 20 2010 pack.sh
                            -rw-r----- 1 oracle oinstall 638 Jan 20 2010 pack.cmd
                            -rwxr-x--- 1 oracle oinstall 777 Jan 20 2010 config.sh
                            -rw-r----- 1 oracle oinstall 640 Jan 20 2010 config.cmd
                            -rwxr-x--- 1 oracle oinstall 483 Apr 2 2010 getproperty.sh
                            -rw-r----- 1 oracle oinstall 567 Apr 2 2010 getproperty.cmd
                            -rwxr-x--- 1 oracle oinstall 6139 Jul 15 2010 wsadmin.sh
                            -rw-r----- 1 oracle oinstall 5812 Jul 15 2010 wsadmin.cmd
                            -rwxr-x--- 1 oracle oinstall 6373 Jul 15 2010 was_config.sh
                            -rw-r----- 1 oracle oinstall 5786 Jul 15 2010 was_config.cmd
                            -rwxr-x--- 1 oracle oinstall 1608 Nov 8 2010 setWlstEnvExtns.sh
                            -rwxr-x--- 1 oracle oinstall 1542 Nov 8 2010 setWlstEnvExtns.cmd
                            -rwxr-x--- 1 oracle oinstall 1918 Nov 8 2010 setNMProps.sh
                            -rwxr-x--- 1 oracle oinstall 2085 Nov 8 2010 setNMProps.cmd
                            -rwxr-x--- 1 oracle oinstall 5037 Apr 18 23:19 setWsadminEnv.sh
                            -rwxr-x--- 1 oracle oinstall 4762 Apr 18 23:19 setWsadminEnv.cmd
                            -rwxr-x--- 1 oracle oinstall 353 Apr 18 23:19 setWasConfigEnv.sh
                            -rwxr-x--- 1 oracle oinstall 315 Apr 18 23:19 setWasConfigEnv.cmd
                            -rwxr-x--- 1 oracle oinstall 4580 Apr 18 23:19 setOjbstEnv.sh
                            -rwxr-x--- 1 oracle oinstall 4275 Apr 18 23:19 setOjbstEnv.cmd
                            -rwxr-x--- 1 oracle oinstall 112 Aug 15 05:13 setWlstEnv.sh
                            -rwxr-x--- 1 oracle oinstall 93 Aug 15 05:13 setWlstEnv.cmd
                            [oracle@server1 bin]$

                            Anything else i should re-check?

                            Thanks,
                            Ricky
                            • 11. Re: ADF Runtime 11.1.2 with Weblogic 10.3.5 Unresolved Webapp Library reference
                              808191
                              Hi Timo,
                              i found adfWLSTCommands.py here:

                              [oracle@server1 wlst]$ pwd
                              /home/oracle/wls1035/common/wlst

                              [oracle@server1 wlst]$ ls -lrt
                              total 108
                              -rwxr-xr-x 1 oracle oinstall 5165 Jun 1 17:43 URLConnWLST.py
                              -rwxr-xr-x 1 oracle oinstall 55583 Jun 1 17:43 mdsWLSTCommands.py
                              -rwxr-xr-x 1 oracle oinstall 2998 Jun 1 17:43 adfWLSTCommands.py
                              -rwxr-xr-x 1 oracle oinstall 14293 Jun 1 17:43 ADFShareHelperWLST.py
                              -rwxr-xr-x 1 oracle oinstall 13176 Jun 1 17:43 adfmWLSTCommands.py
                              drwxr-xr-x 2 oracle oinstall 4096 Aug 15 06:57 lib

                              then where should i run wlst.sh to execute upgradeADF?

                              Thanks,
                              Ricky
                              • 12. Re: ADF Runtime 11.1.2 with Weblogic 10.3.5 Unresolved Webapp Library reference
                                Timo Hahn
                                You find the adfWLSTCommands.py command in the wlst folder, not in the bin folder. From the bin folder use 'cd ../wlst' and check in there.

                                Timo
                                • 13. Re: ADF Runtime 11.1.2 with Weblogic 10.3.5 Unresolved Webapp Library reference
                                  Timo Hahn
                                  Check /home/oracle/wls1035/oracle_common/common/wlst


                                  Timo
                                  • 14. Re: ADF Runtime 11.1.2 with Weblogic 10.3.5 Unresolved Webapp Library reference
                                    808191
                                    Nope. can not find adfWLSTCommands.py

                                    [oracle@server1 common]$ cd /home/oracle/wls1035/oracle_common/common/wlst
                                    [oracle@server1 wlst]$ ls -lrt
                                    total 532
                                    -rw-r----- 1 oracle oinstall 37734 Apr 19 2010 webserviceMgmt.py
                                    -rw-r----- 1 oracle oinstall 8148 Jun 4 2010 Opss.py
                                    -rw-r----- 1 oracle oinstall 26502 Sep 20 2010 jpsCmdHelp.py
                                    -rw-r----- 1 oracle oinstall 91477 Sep 20 2010 jpsWlstCmd.py
                                    -rw-r----- 1 oracle oinstall 44344 Sep 23 2010 wsmManage.py
                                    -rwx------ 1 oracle oinstall 17095 Mar 23 00:51 oracle-tracing.py
                                    -rwx------ 1 oracle oinstall 14283 Mar 23 00:51 oracle-logging.py
                                    -rwx------ 1 oracle oinstall 16258 Mar 23 00:51 oracledms.py
                                    -rwx------ 1 oracle oinstall 9384 Mar 23 00:51 oracledfw.py
                                    -rw-r----- 1 oracle oinstall 3300 Mar 26 13:32 OracleLibOVD.py
                                    -rw-r----- 1 oracle oinstall 3120 Mar 26 13:48 igfConfig.py
                                    -rw-r----- 1 oracle oinstall 10820 Mar 26 13:57 auditwlst.py
                                    -rw-r----- 1 oracle oinstall 43964 Mar 26 13:57 sslconfig.py
                                    -rw-r----- 1 oracle oinstall 18528 Mar 26 14:02 ossoiapCmd.py
                                    -rw-r----- 1 oracle oinstall 4074 Mar 26 14:02 configOAMSSOService.py
                                    -rw-r----- 1 oracle oinstall 23204 Mar 26 14:02 configOAMAuthnProvider.py
                                    -rwxr-x--- 1 oracle oinstall 4728 Apr 9 07:19 URLConnWLST.py
                                    -rwxr-x--- 1 oracle oinstall 13061 Apr 9 07:19 ADFShareHelperWLST.py
                                    -rwxr-x--- 1 oracle oinstall 50220 Apr 9 07:19 mdsWLSTCommands.py
                                    -rwxr-x--- 1 oracle oinstall 13242 Apr 9 07:19 adfmWLSTCommands.py
                                    -rwxr-x--- 1 oracle oinstall 34508 Apr 18 23:19 oracle-jrf-config.py
                                    drwxr-x--- 2 oracle oinstall 4096 Aug 15 05:13 resources
                                    drwxr-x--- 2 oracle oinstall 4096 Aug 15 05:39 lib

                                    [oracle@server1 wls1035]$ find /home/oracle/wls1035 -name adfWLSTCommands.py
                                    /home/oracle/wls1035/common/wlst/adfWLSTCommands.py
                                    /home/oracle/wls1035/.patch_storage/12611176_Jun_1_2011_02_43_13/original_patch/files/common/wlst/adfWLSTCommands.py

                                    Edited by: 805188 on 14-Aug-2011 09:27
                                    1 2 Previous Next