Compile JSP Files in R12.2.4

Ramaraju

    Hi,

    How can we compile JSP files using command line. Could you please give me the steps.

     

    Thanks,

    Ramaraju

      • 1. Re: Compile JSP Files in R12.2.4
        Narsi M-Oracle

        Hello Ramaraju,

         

        Please review "JSP Page Handling and File Locations in Release 12.2 (Doc ID 1928874.1)"

        Hope it helps!!!

         

         

        Regards,

        Narsi

        1 位用户发现它有用
        • 2. Re: Compile JSP Files in R12.2.4
          Ramaraju

          Thanks Narsi.

          Could you please look into following post and help on upgrdation.

          Online Patching Error Log

           

          Thanks,

          Ramaraju

          • 3. Re: Compile JSP Files in R12.2.4
            Ramaraju

            Hi Narsi,

            Please confirm below

            1. If we compile all jsp files using 'ojspCompile.pl', should we down middletier services before this?

            2. If we compile single jsp file using 'ojspCompile.pl', should we down middletier services before this?


            Thanks,

            Ramaraju

            • 4. Re: Compile JSP Files in R12.2.4
              Narsi M-Oracle

              Hello,

               

              I would always advise to stop middle tier services before compiling or even deploying new jsp.

               

              Best Regards,

              Narsi Mogulapalli

              • 5. Re: Compile JSP Files in R12.2.4
                Ramaraju

                Thank you Narsi.

                • 6. Re: Compile JSP Files in R12.2.4
                  Ramaraju

                  Hi Narsi,

                  After Custom JSP file compiled successfully, developers said that the changes are not effected.

                  $ perl ojspCompile.pl --compile -s 'bsiHomePageTempl.jsp' --flush

                  Log file:

                  6061 STARTING Wed Feb  3 03:23:23 2016

                  PROG: ojspCompile.pl rev 120.24 (2012/02/20 08:59:14)

                  PERL: /u02/oracle/VISMA/fs1/FMW_Home/webtier/perl/bin/perl

                  ARGS: --compile -s bsiHomePageTempl.jsp --flush

                  CONF: /u02/oracle/VISMA/fs1/inst/apps/VISMA_hydaswini/appl/admin/ojspCompile.conf

                  PERL5LIB:

                           (dir) /u02/oracle/VISMA/fs1/FMW_Home/webtier/perl/lib/5.10.0/x86_64-linux-thread-multi

                           (dir) /u02/oracle/VISMA/fs1/FMW_Home/webtier/perl/lib/5.10.0

                           (dir) /u02/oracle/VISMA/fs1/FMW_Home/webtier/perl/lib/site_perl/5.10.0/x86_64-linux-thread-multi

                           (dir) /u02/oracle/VISMA/fs1/FMW_Home/webtier/perl/lib/site_perl/5.10.0

                           (dir) /u02/oracle/VISMA/fs1/EBSapps/appl/au/12.0.0/perl

                           (dir) /u02/oracle/VISMA/fs1/FMW_Home/webtier/ohs/mod_perl/lib/site_perl/5.10.0/x86_64-linux-thread-multi

                           (dir) /u02/oracle/VISMA/fs1/FMW_Home/webtier/perl/lib/site_perl

                  PATH:

                           (dir) /u02/oracle/VISMA/fs1/EBSapps/comn/util/jdk32/bin

                           (dir) /u02/oracle/VISMA/fs1/FMW_Home/webtier/bin

                           (dir) /u02/oracle/VISMA/fs_ne/EBSapps/appl/ad/bin

                           (dir) /u02/oracle/VISMA/fs1/FMW_Home/modules/org.apache.ant_1.7.1/bin

                           (dir) /u02/oracle/VISMA/fs1/inst/apps/VISMA_hydaswini/admin/scripts

                           (dir) /u02/oracle/VISMA/fs1/FMW_Home/webtier/perl/bin

                           (dir) /u02/oracle/VISMA/fs1/EBSapps/10.1.2/bin

                           (dir) /u02/oracle/VISMA/fs1/EBSapps/appl/fnd/12.0.0/bin

                           (dir) /u02/oracle/VISMA/fs1/EBSapps/appl/ad/12.0.0/bin

                           (dir) /u02/oracle/VISMA/fs1/EBSapps/comn/util/jdk32/jre/bin

                           (dir) /u02/oracle/VISMA/fs1/EBSapps/comn/util/jdk32/bin

                           (dir) /u02/oracle/VISMA/fs1/EBSapps/10.1.2/OPatch

                           (dir) /u02/oracle/VISMA/fs1/EBSapps/10.1.2/bin

                           (dir) /usr/bin

                           (dir) /usr/sbin

                           (dir) /u02/oracle/VISMA/fs1/EBSapps/comn/util/jdk32/jre/bin

                           (dir) /u02/oracle/VISMA/11.2.0/perl/bin

                           (dir) /u02/oracle/VISMA/11.2.0/bin

                           (dir) /usr/bin

                           (dir) /usr/sbin

                           (dir) /u02/oracle/VISMA/11.2.0/appsutil/jre/bin

                           (dir) /bin

                       (symlink) /usr/bin/X11

                  (dir) /usr/local/bin

                           (dir) /usr/lib64/qt-3.3/bin

                           (dir) /usr/kerberos/bin

                           (dir) /usr/local/bin

                           (dir) /bin

                           (dir) /usr/bin

                           (dir) .

                  OJSPC: (using built-in Jspc)

                  JAVA: /u02/oracle/VISMA/fs1/EBSapps/comn/util/jdk32/bin/java

                  JAVA VERSION: java version "1.7.0_25"

                  Java(TM) SE Runtime Environment (build 1.7.0_25-b15)

                  Java HotSpot(TM) Server VM (build 23.25-b01, mixed mode)

                  CLASSPATH:

                       [invalid]

                          (file) /u02/oracle/VISMA/fs1/FMW_Home/wlserver_10.3/server/lib/weblogic.jar

                          (file) /u02/oracle/VISMA/fs1/FMW_Home/Oracle_EBS-app1/shared-libs/ebs-appsborg/WEB-INF/lib/ebsAppsborgManifest.jar

                          (file) /u02/oracle/VISMA/fs1/FMW_Home/oracle_common/modules/oracle.uix_11.1.1/uix2.jar

                          (file) /u02/oracle/VISMA/fs1/FMW_Home/oracle_common/modules/oracle.jmx_11.1.1/jmxframework.jar

                          (file) /u02/oracle/VISMA/fs1/EBSapps/comn/shared-libs/ebs-3rdparty/WEB-INF/lib/ebs3rdpartyManifest.jar

                           (dir) /u02/oracle/VISMA/fs1/EBSapps/comn/java/classes

                          (file) /u02/oracle/VISMA/fs1/EBSapps/10.1.2/jlib/ewt3.jar

                          (file) /u02/oracle/VISMA/fs1/EBSapps/10.1.2/forms/java/frmall.jar

                          (file) /u02/oracle/VISMA/fs1/EBSapps/10.1.2/j2ee/OC4J_BI_Forms/applications/formsapp/formsweb/WEB-INF/lib/frmsrv.jar

                          (file) /u02/oracle/VISMA/fs1/FMW_Home/webtier/lib/xmlparserv2.jar

                  Detected static list of JSPs in -s criteria with --flush option;

                  (if this detection was not intended, please set EASY=0 in /u02/oracle/VISMA/fs1/inst/apps/VISMA_hydaswini/appl/admin/ojspCompile.conf)

                  Forcibly recompiling list:

                          (file) bsiHomePageTempl.jsp

                  OJSPC VERSION: 10i 10.3.6.0

                  quick compile:

                    files to compile...1

                  translating and compiling:

                  COMMAND: exec java weblogic.appc  -library '/u02/oracle/VISMA/fs1/FMW_Home/oracle_common/modules/oracle.uix_11.1.1/uix11.war,/u02/oracle/VISMA/fs1/FMW_Home/oracle_common/webcenter/modules/oracle.portlet.server_11.1.1/oracle.producer.wsrp.war,/u02/oracle/VISMA/fs1/FMW_Home/oracle_common/webcenter/modules/oracle.portlet.server_11.1.1/oracle.producer.jpdk.war,/u02/oracle/VISMA/fs1/FMW_Home/oracle_common/webcenter/modules/oracle.portlet.server_11.1.1/wc-producer-web-lib.war,/u02/oracle/VISMA/fs1/FMW_Home/oracle_common/webcenter/modules/oracle.portlet.server_11.1.1/wlp-producer-full-web-lib.war,/u02/oracle/VISMA/fs1/FMW_Home/oracle_common/webcenter/modules/oracle.portlet.server_11.1.1/wlp-light-core-web-lib.war,/u02/oracle/VISMA/fs1/FMW_Home/oracle_common/webcenter/modules/oracle.portlet.server_11.1.1/wlp-wsrp-producer-core-web-lib.war,/u02/oracle/VISMA/fs1/FMW_Home/oracle_common/webcenter/modules/oracle.portlet.server_11.1.1/wlp-framework-common-web-lib.war,/u02/oracle/VISMA/fs1/FMW_Home/wlserver_10.3/common/deployable-libraries/jstl-1.2.war,/u02/oracle/VISMA/fs1/EBSapps/comn/shared-libs/ebs-product,/u02/oracle/VISMA/fs1/EBSapps/comn/shared-libs/ebs-3rdparty,/u02/oracle/VISMA/fs1/FMW_Home/Oracle_EBS-app1/shared-libs/ebs-fmw' -compiler 'none' -keepgenerated '' /u02/oracle/VISMA/fs1/FMW_Home/Oracle_EBS-app1/applications/oacore/html '' <file>

                  PARALLEL COMPILATION: 1

                  [6061] translating: 18s elapsed, 1 successful 0 failed

                  TRANSLATED: 1 [failed: 0] in 18s

                  COMMAND: exec javac -nowarn <file>

                  PARALLEL COMPILATION: 1

                  [6061] compiling: 2s elapsed, 1 successful 0 failed

                  COMPILED: 1 [failed: 0] in 2s

                  6061 FINISHING Wed Feb  3 03:23:43 2016

                   

                  Is there any other steps to do?

                   

                  Thanks,

                  Ramaraju

                  • 7. Re: Compile JSP Files in R12.2.4
                    Narsi M-Oracle

                    Hello Ramaraju,

                     

                    Not sure though.

                    I don't see any failures as per the log you've provided.

                    Have you already started services and checked if changes in effect ?

                     

                     

                    Regards,

                    Narsi

                    • 8. Re: Compile JSP Files in R12.2.4
                      Ramaraju

                      Yes Narsi,

                      I have started services and informed to the development team. But they said didn't see any changes. That's why I am asking is there any more steps to do?


                      Thanks,

                      Ramaraju

                      • 9. Re: Compile JSP Files in R12.2.4
                        Ramaraju

                        Our developers working on many custom JSP files. Every time we need to stop the middle tier services before compiling jsp file.

                        In EBS R11i, just we bounced the Apache then all changes were affected.

                        In R12.2.4 we have WebLogic, Is there any way to bounce the WebLogic only? If  so please provide the steps.

                         

                        Thanks,

                        Ramaraju

                        • 10. Re: Compile JSP Files in R12.2.4
                          Bashar.

                          In 12.2 you still can use adapcctl.sh to bounce the webtier only.

                           

                          Regards,

                          Bashar

                          • 11. Re: Compile JSP Files in R12.2.4
                            2696565

                            Just adding from my personal experience.

                             

                            We tried with apache bounce but changes were not reflecting but we were able to see the changes after doing the below.

                             

                            -bounce apache (use adapcctl.sh stop)

                            -bounce oacore (use ./admanagedsrvctl.sh stop managed server name)

                            -bounce oafm (use ./admanagedsrvctl.sh stop managed server name)

                             

                            hope this helps.

                             

                            Thanks!

                            • 12. Re: Compile JSP Files in R12.2.4
                              2696565

                              Also dont forget to run adcgnjar utility if you copy any files into JAVA_TOP before bounce.

                              • 13. Re: Compile JSP Files in R12.2.4
                                Ramaraju

                                Hi 2696565,

                                Thank you for sharing valuable information.

                                How can I find 'managed server name' ? Please help me.

                                 

                                Thanks,

                                Ramaraju

                                • 14. Re: Compile JSP Files in R12.2.4
                                  Ramaraju

                                  We have following managed servers. Can we restart only oacore_server1 & oafm_server1 servers or all ?

                                  AdminServer(admin)

                                  forms-c4ws_server1

                                  forms_server1

                                  oacore_server1

                                  oafm_server1

                                   

                                  Thanks,

                                  Ramaraju

                                  1 2 上一个 下一个