Deploying JAR Package & JSP Page in EBS R12.2.4 WLS

來源:互聯網
上載者:User

標籤:set   qrcode   sbo   lse   class   logfile   分享圖片   ini   cal   

2018年5月1日 10:05

# Uninstall JAR JSP QRCODE

1、# 尋找QRCODE相關檔案位置

[[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、# 清除QRCODE相關檔案

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

# 清理乾淨QRCODE後,訪問則會提示 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 到 $OA_HTML ,qrcode.jar 到 $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/

# 如果沒有此自訂路徑,請增加此路徑

2、# JSP編譯屬性檔案增加編譯JAR包路徑

[[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 this file manually. They are managed

# automatically and will be overwritten when AutoConfig runs.

# For more information about 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、# 編譯 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!

# 編譯成功後,會在以下目錄產生相應的 class 檔案

[[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

# 依R12.1.X正常到這裡就應該完工了,但R12.2.X做完這些步驟只能給你一個空白頁

4、# R12.2.4 改用了 WLS,故還需要在$OA_HTML/WEB-INF/lib/qrcode.jar 放置JAR包給jsp頁面載入

[[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

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.