May 1, 2018 10:05
# Uninstall JAR JSP qrcode
1. # Find QRCode Related file locations
[Email protected] ~]# find/u01/-name ' *qrcode* '
/u01/install/vision/fs1/fmw_home/oracle_ebs-app1/applications/oacore/html/web-inf/classes/_pages/__ Getqrcode.class
/u01/install/vision/fs1/fmw_home/oracle_ebs-app1/applications/oacore/html/web-inf/classes/__getqrcode.class
/u01/install/vision/fs1/fmw_home/oracle_ebs-app1/applications/oacore/html/web-inf/lib/qrcode.jar
/u01/install/vision/fs1/fmw_home/oracle_ebs-app1/applications/oacore/html/getqrcode.jsp
/u01/install/vision/fs1/ebsapps/comn/java/classes/qrcode.jar
/u01/install/vision/fs1/ebsapps/comn/java/classes/oracle/apps/cux/jar/qrcode.jar
2. # Clear QRCode related files
Rm-f/u01/install/vision/fs1/fmw_home/oracle_ebs-app1/applications/oacore/html/web-inf/classes/_pages/__ Getqrcode.class
Rm-f/u01/install/vision/fs1/fmw_home/oracle_ebs-app1/applications/oacore/html/web-inf/classes/__ Getqrcode.class
Rm-f/u01/install/vision/fs1/fmw_home/oracle_ebs-app1/applications/oacore/html/web-inf/lib/qrcode.jar
Rm-f/u01/install/vision/fs1/fmw_home/oracle_ebs-app1/applications/oacore/html/getqrcode.jsp
Rm-f/u01/install/vision/fs1/ebsapps/comn/java/classes/qrcode.jar
Rm-f/u01/install/vision/fs1/ebsapps/comn/java/classes/oracle/apps/cux/jar/qrcode.jar
# after Clean qrcode, the access will prompt 404 Not Found
Http://192.168.12.24:8000/OA_HTML/getqrcode.jsp?SCODE=AAAAA
# Install JAR JSP qrcode in EBS WLS
1, #上载 getqrcode.jsp to $OA _html, Qrcode.jar to $JAVA _top/oracle/apps/cux/jar
[Email protected] ~]# su-applmgr
[Email protected] ~]$ source/u01/install/vision/fs1/ebsapps/appl/appsebsdb_ebs.env
[Email protected] ~]$ env $OA _html
ENV:/u01/install/vision/fs1/fmw_home/oracle_ebs-app1/applications/oacore/html:permission denied
[Email protected] ~]$ env $JAVA _top
ENV:/u01/install/vision/fs1/ebsapps/comn/java/classes:permission denied
# upload getqrcode.jsp to $OA _html
# upload Qrcode.jar to $JAVA _top/oracle/apps/cux/jar/
# If you do not have this custom path, increase this path
2. # JSP compilation properties file increase compilation jar package path
[Email protected] bin]$ VI $INST _top/appl/admin/ojspcompile.properties
# $Header: ojspcompile_fmw_properties.tmp 120.1 2012/02/20 09:03:44 ttsharma ship $
#
# ###############################################################
#
# do not edit settings in the this file manually. They is managed
# automatically and'll is overwritten when AutoConfig runs.
# for more information on AutoConfig, refer to the Oracle
# e-business Suite Setup Guide.
#
# ###############################################################
#
/u01/install/vision/fs1/fmw_home/wlserver_10.3/server/lib/weblogic.jar
/u01/install/vision/fs1/fmw_home/oracle_ebs-app1/shared-libs/ebs-appsborg/web-inf/lib/ebsappsborgmanifest.jar
/u01/install/vision/fs1/fmw_home/oracle_common/modules/oracle.uix_11.1.1/uix2.jar
/u01/install/vision/fs1/fmw_home/oracle_common/modules/oracle.jmx_11.1.1/jmxframework.jar
/u01/install/vision/fs1/ebsapps/comn/shared-libs/ebs-3rdparty/web-inf/lib/ebs3rdpartymanifest.jar
/u01/install/vision/fs1/ebsapps/comn/java/classes
/u01/install/vision/fs1/ebsapps/comn/java/classes/oracle/apps/cux/jar/qrcode.jar
/u01/install/vision/fs1/ebsapps/10.1.2/jlib/ewt3.jar
/u01/install/vision/fs1/ebsapps/10.1.2/forms/java/frmall.jar
/u01/install/vision/fs1/ebsapps/10.1.2/j2ee/oc4j_bi_forms/applications/formsapp/formsweb/web-inf/lib/ Frmsrv.jar
3. # Compile Jar Package & JSP page
[Email protected] ~]$ source/u01/install/vision/fs1/ebsapps/appl/appsebsdb_ebs.env
[Email protected] classes]$ CD $FND _top/patch/115/bin
[Email protected] bin]$ perl ojspcompile.pl--compile-s ' getqrcode.jsp '--flush
LogFile Set:/u01/install/vision/fs1/inst/apps/ebsdb_ebs/logs/appl/rgf/ojsp/ojspc_error.log
Starting ... (Compiling All)
Using 10i internal ojsp ver:10.3.6.0
Quick compile:
Files to compile ... 1
Translating and Compiling:
Translating JSPs ... 1/1 in 2m17s
Compiling JSPs ... 1/1 in 7s
finished!
# after successful compilation, the corresponding class file will be generated in the following directory
[[email protected] _pages]$ ls $OA _html/web-inf/classes/_pages/*getqrcode.class
/u01/install/vision/fs1/fmw_home/oracle_ebs-app1/applications/oacore/html/web-inf/classes/_pages/__ Getqrcode.class
# according to r12.1.x normal to here should be finished, but r12.2.x finish these steps can only give you a blank page
4, # R12.2.4 changed to WLS, it also need to place jar package in $oa_html/web-inf/lib/qrcode.jar to JSP page load
[Email protected] _pages]$ CD $OA _html/web-inf/lib
[Email protected] lib]$ pwd
/u01/install/vision/fs1/fmw_home/oracle_ebs-app1/applications/oacore/html/web-inf/lib
Deploying JAR Package & JSP Page in EBS R12.2.4 WLS