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

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

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

时间: 2024-11-10 00:10:41

Deploying JAR Package & JSP Page in EBS R12.2.4 WLS的相关文章

Oracle EBS R12 (12.1.3) Installation Linux(64 bit)

Oracle EBS R12 (12.1.3) Installation Linux(64 bit) Contents Objective. 3 1 Download & Unzip. 3 Download. 3 Unzip. 3 MD5 Checksums. 4 2 Pre-Install Task. 5 Disk Space. 5 Specific Software Requirements. 5 RPM... 6 JDK. 8 OS User & Group. 11 3 Instal

JSP page指令

JSP page指令: JSP文件: <%@ page language="java"%> <%@ page import="java.util.*"%> <%@ page isThreadSafe="false"%> <%@ page contentType="text/html; charset=UTF-8"%> <%@ page isELIgnored="t

EBS R12 修改 apps 密码[Z]

注意:修改密码时应保证所有用户已退出, 最好是关闭应用实例.不用关闭数据库.在修改密码之前一定要改备下数据库中的FND_ORACLE_USERID和FND_USER表.FNDCPASS工具会自动把APPS用户的密码和APPLSYS用户的密码和APPLSYS用户的密码同步设置成一样的.在修改完APPLSYS和APPS用户的密码后, 需要重新启动并发管理器.在修改完APPLSYS和APPS用户的密码后,要求将已经处在登录状态的用户完全退出, 然后重新登录.修改APPS用户的密码不支持直接在数据库中使

EBS R12 MOAC

MOAC简介 MOAC(Multi-Org Access Control)为多组织访问控制,是Oracle EBS R12的重要新功能.它可以实现在一个Responsibility下对多个OU(Operation Unit)进行操作,允许用户在不切换Responsibility的情况下,处理多个OU组织的事物. UseràResponsibilityàSingle Operation Mode/Multiple Operation Unit Mode 2.    MOAC          2.

Oracle EBS R12.2创建客户化模块

以下步骤描述EBS R12.2中如何注册客户化模块,参考Oracle support Creating a CustomApplication in Oracle E-Business Suite Release 12.2 (文档 ID 1577707.1) 1.下载补丁3636980,拷贝3636980\izu\admin目录下3个.txt文件到/tmp目录下进行修改 如:izuprod.txt改名为cuxhdprod.txt izuterr.txt改名为cuxhdterr.txt 2.修改n

Oracle EBS R12 - 怎样更改SYSADMIN的password

SQL> select * from v$version; BANNER -------------------------------------------------------------------------------- Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production PL/SQL Release 11.1.0.7.0 - Production CORE    11.1.0.7

破解EBS R12应用和数据库用户密码

1,如果你有某个EBS环境APPS用户密码,可以破解应用用户的密码 参考:Oracle EBS R12下如何破解用户密码 2,如果没有APPS用户密码,还想破解该环境A密码.要看"运气"了,如果有相应的Clone环境B,EBS DBA还没有修改$CONTEXT_FILE内容,并且具有环境A的数据查询权限,可以破解APPS密码 参考:Oracle EBS R12 - 利用PLSQL取得/破解apps密码和EBS中的用户密码 1)在环境B中创建上文中的包,在环境A中查询GUEST用户加密后

EBS R12应用启用过程

在虚拟机syfdemo的applmgr角色下执行appstart.sh脚本时依次执行以下过程: ------------------------------------------------脚本                       用途adopmnctl.sh         start, stop and check the status of OPMN                                OPMN(Oracle Process Manger Oracle)

org.apache.jasper.JasperException: An exception occurred processing JSP page /admin/jiaoshi/daochuEx

org.apache.jasper.JasperException: An exception occurred processing JSP page /admin/jiaoshi/daochuExc.jsp at line 163 这两句话表示创建一个新的文件失败.所以可能是当前用户没有文件路径的访问权限,也有可能是文件路径错误等其他关于文件路径的问题