码迷,mamicode.com
首页 > 编程语言 > 详细

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

时间:2018-05-01 12:43:03      阅读:259      评论:0      收藏:0      [点我收藏+]

标签:set   qrcode   sbo   lse   class   logfile   分享图片   ini   cal   

2018年5月1日 10:05

技术分享图片

技术分享图片

# Uninstall JAR JSP QRCODE

1、# 查找QRCODE相关文件位置

[root@ebs ~]# 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

[root@ebs ~]# su - applmgr

[applmgr@ebs ~]$ source /u01/install/VISION/fs1/EBSapps/appl/APPSEBSDB_ebs.env

[applmgr@ebs ~]$ env $OA_HTML

env: /u01/install/VISION/fs1/FMW_Home/Oracle_EBS-app1/applications/oacore/html: Permission denied

[applmgr@ebs ~]$ 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包路径

[oracle@ebs 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

[oracle@ebs ~]$ source /u01/install/VISION/fs1/EBSapps/appl/APPSEBSDB_ebs.env

[oracle@ebs classes]$ cd $FND_TOP/patch/115/bin

[oracle@ebs 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 文件

[oracle@ebs _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页面加载

[oracle@ebs _pages]$ cd $OA_HTML/WEB-INF/lib

[oracle@ebs 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

标签:set   qrcode   sbo   lse   class   logfile   分享图片   ini   cal   

原文地址:https://www.cnblogs.com/quanweiru/p/8975723.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!