Configuring JDeveloper For Use With Oracle Applications 11i and R12

JDeveloper 配置

这是摘自MOS上的文档

In this Document

Goal
Fix
 Configuration steps
 Known issues
 Gathering Troubleshooting data for Oracle Support
References

Applies to:

Oracle Applications Framework - Version 11.5.9 to 11.5.10.0 [Release 11.5.9 to 11.5.10]
Oracle Applications Framework - Version 12.0.0 to 12.0.2 [Release 12]
Information in this document applies to any platform.
Oracle Applications Framework - Version: 12.0.0 to 12.0.2
Information in this document applies to any platform.
JDeveloper for Oracle Applications

Goal

The steps below provide instructions on how  to configure JDeveloper for Oracle Applications 11i.   These steps are also relevant for Release 12 version of JDeveloper

Fix

Configuration steps

1.  Verify that the Project Settings are correct in JDeveloper:

a) select the project and then select menu option "Project--&gtProject Settings"

b) under the "common--&gtOracle Applications--&gtRuntime connection" section, check the settings are all correct:

  • DBC filename should point to the explicit path and filename of the DBC file from the Middle Tier server    (that you copied to your PC) 
  • The username and password should be correct for an Apps user  (a user who has the FWK_TBX_TUTORIAL responsibility assigned)
  • Application Short Name should be ICX (in capital letters) and Responsibility Key should be FWK_TBX_TUTORIAL    
        NOTE - the Application Short Name is shipped as AK by default

2.  Check Applications user connectivity

a) For the username and password from the project settings, run the following SQL.  This needs to return a value of "Y" otherwise your username/password combination is not valid

select fnd_web_sec.validate_login('','') from dual;

for example:

select fnd_web_sec.validate_login('FWKTESTER','WELCOME') from dual;

b) Repeat the above test for the GUEST username and password that is defined in the DBC file you are using.  For example:

select fnd_web_sec.validate_login('GUEST','ORACLE') from dual;

3. Check PC to Database connectivity:

a) Check the RDBMS sqlnet.ora file.   Check if "tcp.validnode_checking = yes"   If so, then the IP address or hostname for your needs to be added to the "tcp.invited_nodes"

b) Navigate to "Connections" --&gt "Database" and select the connection you have created there and click on "Open Connection"   This should display the APPS schema and allow you to navigate to see the DB objects for the APPS user.     This step ensures that there are no basic connectivity issue with JDBC from your PC to the database.

4.  Re-copy the dbc file from the eBiz Web Server

This should have already been done, but if the DBC file has been recreated or the security setting changed then it is possible the file is not synchronized.

Known issues

1. Release 11i only.     If your PC is accessing an Apps Database server across a WAN or if processing time on the PC seems very slow, try adding the following entries to the ide.properties file which will increase the timeout values used by JDeveloper.   This file is located in the  %JDEV_USER_HOME%\system9.0.3.5.1437 directory and should be edited before you launch JDeveloper.

 # Added to increase timeout parameters
 # 10 minutes
 JRAD.OC4J_TIMEOUT=600000
 # 5 minutes
 JRAD.JSP_TIMEOUT=300000
 # default 30 seconds
 JRAD.RUNREG_TIMEOUT=240000
 #  End of timeout additions

2.  If you are accessing the environment via a secure VPN connection then please set your Embedded OC4J host name (Tools --&gt Preferences --&gt Embedded OC4J) to be the dynamically allocated IP address that the VPN server assigns to your machine. If you do not do this then, whenever there is a java exception, the exception details page will be blank and no exception thread dump information will be displayed. 

3. If you are using a non-US English setting in your Control Panel -> Regional Settings, temporarily set Control Panel -> Regional Settings to "English (American)" and re-test after restarting JDeveloper.  This will confirm your issue is not due to issues with language support.  

Alternatively you can set Java Options to explicitly tell JDeveloper to use US English as the language by adding the following entries-

Release 11i

1. Navigate: Project > Project Settings > Configurations > Development > Runner
2. In the "java options" add the following text at the end of the string (case sensitive)

-Duser.language=en -Duser.region=US -Duser.country=US

Release 12

1.  Right-click a project in the navigator and choose Project Properties from the context menu. 
2.  Open the Run/Debug page.    
3.  Select a run configuration and click Edit . This opens the Edit Run Configuration dialog. 
4.  On the Launch Settings page, in the "java options" add the following text at the end of the string (case sensitive)

-Duser.language=en -Duser.region=US -Duser.country=US

Gathering Troubleshooting data for Oracle Support

If you experience a configuration issue that you are unable to fix, please provide the following data when creating a Service Request: 

1. Please upload the complete output from the "messages" window and "Embedded OC4J Server" window (make sure they are cleared before reproducing the problem.   This will ensure we have the full error stack to investigate

2. Please advise the output from the following SQL.  Please use the username you have setup in the JDev setup.  For example "fwktester"

REM        START OF SQL
set serveroutput on
set echo on
set feedback on
set pagesize 132
set linesize 90
col APPL_ID form. 99999999
col APPL_NAME form. a30
SELECT  r.application_id APPL_ID, a.application_name APPL_NAME, r.responsibility_key, r.responsibility_id
FROM    fnd_user u, fnd_user_resp_groups ur, fnd_responsibility r, fnd_application_tl a
WHERE   version = 'W'
  and  ur.responsibility_id = r.responsibility_id
  and  u.user_id = ur.user_id
  and r.application_id = a.application_id
  and  u.user_name = upper('&enter_user_name')
ORDER by 1
/
REM        END OF SQL

3. Please provide the output from the following SQL entering the resp_name of "toolbox" when prompted:

REM
REM        START OF SQL
REM
set echo on
set timing on
set feedback on
set long 10000
set pagesize 132
set linesize 95
column user_name form. a15
column responsibility_name form. a30
column responsibility_key form. a28
col APPL_ID form. 99999999
col application_short_name form. a5
SELECT  u.user_name, substr(d.responsibility_name,1,30) responsibility_name, r.responsibility_key, r.application_id APPL_ID, application_short_name
FROM    fnd_user u, fnd_user_resp_groups ur, fnd_responsibility r, fnd_responsibility_tl d,
fnd_application a
WHERE   ur.responsibility_id = r.responsibility_id
  and   u.user_id = ur.user_id
  and   r.responsibility_id = d.responsibility_id
  and   upper(d.responsibility_name) like upper('%&resp_name%')
  and   (r.end_date >= sysdate or r.end_date is null)
  and   (ur.end_date >= sysdate or ur.end_date is null)
  and   (u.end_date >= sysdate or u.end_date is null)
  and r.application_id = a.application_id
order by u.user_name, d.responsibility_name
/
REM
REM        END OF SQL
REM

4.  To get additional information messages in the JDeveloper console, you can enable JBO and JDBC debug messages

Release 11i

1.  Navigate: Project > Project Settings > Configurations > Development > Runner
2. In the "java options" add the following text at the end of the string (case sensitive)

-Djbo.debugoutput=console -Djbo.logging.trace.threshold=9 -Djbo.jdbc.driver.verbose=true -Djbo.jdbc.trace=true

Release 12

1.  Right-click a project in the navigator and choose Project Properties from the context menu. 
2.  Open the Run/Debug page.    
3.  Select a run configuration and click Edit . This opens the Edit Run Configuration dialog. 
4.  On the Launch Settings page, in the "java options" add the following text at the end of the string (case sensitive)

-Djbo.debugoutput=console -Djbo.logging.trace.threshold=9 -Djbo.jdbc.driver.verbose=true -Djbo.jdbc.trace=true

References

BUG:2262349 - FRAMEWORK ONLY WORKS WHEN REGIONAL SETTINGS IS ENGLISH (UNITED STATES)
NOTE:313760.1 - OAException Error FND-INVALID APPLICATION Occurs When Running The JDeveloper Tutorial
NOTE:357218.1 - Troubleshooting JDeveloper setup for Oracle Applications
NOTE:395437.1 - Oracle Application Framework Development FAQ Release 12
NOTE:395446.1 - Oracle Application Framework Troubleshooting Release 12
NOTE:416708.1 - How to find the correct version of JDeveloper to use with eBusiness Suite 11i or Release 12.x
NOTE:461485.1 - Error FND-INVALID APPLICATION Occurs When Running custom eBiz pages from JDeveloper
@NOTE:419982.1 - Error page while connecting to Oracle Applications 11i from Jdeveloper
NOTE:1332673.1 - JDeveloper 9i IDE is experiencing severe Latency, Freezes, and Buttons, Scrollbars, Checkboxes are Not Showing Up

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/24006748/viewspace-743979/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/24006748/viewspace-743979/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
资源包主要包含以下内容: ASP项目源码:每个资源包中都包含完整的ASP项目源码,这些源码采用了经典的ASP技术开发,结构清晰、注释详细,帮助用户轻松理解整个项目的逻辑和实现方式。通过这些源码,用户可以学习到ASP的基本语法、服务器端脚本编写方法、数据库操作、用户权限管理等关键技术。 数据库设计文件:为了方便用户更好地理解系统的后台逻辑,每个项目中都附带了完整的数据库设计文件。这些文件通常包括数据库结构图、数据表设计文档,以及示例数据SQL脚本。用户可以通过这些文件快速搭建项目所需的数据库环境,并了解各个数据表之间的关系和作用。 详细的开发文档:每个资源包都附有详细的开发文档,文档内容包括项目背景介绍、功能模块说明、系统流程图、用户界面设计以及关键代码解析等。这些文档为用户提供了深入的学习材料,使得即便是从零开始的开发者也能逐步掌握项目开发的全过程。 项目演示与使用指南:为帮助用户更好地理解和使用这些ASP项目,每个资源包中都包含项目的演示文件和使用指南。演示文件通常以视频或图文形式展示项目的主要功能和操作流程,使用指南则详细说明了如何配置开发环境、部署项目以及常见问题的解决方法。 毕业设计参考:对于正在准备毕业设计的学生来说,这些资源包是绝佳的参考材料。每个项目不仅功能完善、结构清晰,还符合常见的毕业设计要求和标准。通过这些项目,学生可以学习到如何从零开始构建一个完整的Web系统,并积累丰富的项目经验。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值