oracle 9i jdeveloper开发手册,Oracle9iAS (之四): 安装Oracle9i JDeveloper, 从JDeveloper 直接部署J2EE至Oracle9i...

如果你用Oracle9iAS做服务器, 你最好用Oracle9iDS做开发。JDeveloper 是 Oracle9iDS 之一。 JDeveloper 和 9iAS 的关系是风与沙的关系(你是风儿我是沙)。

安装 JDeveloper 是世界上最容易的事(很像安装 Tomcat). 你只要在你的硬盘上开一文件夹,像 ( C:\jdev903 ), 然后把下载的 Jdev903.zip 解压至 C:\jdev903 之中就可。   然后双击

C:\jdev903\jdev\bin\jdevw.exe.  便起动了 JDeveloper.

下讲 风与沙 的联结:(以下是俺的笔记)

II. Configure Oracle9IAS to allow connection and deployment from JDeveloper.

1. Deploy Oc4jDcmServlet.ear (come with JDeveloper) on PC to Oracle9IAS (unix)

under DOS, go to: $JDEV\dcm\lib  (here $JDEV is where you installed JDeveloper)

C:\jdev903\dcm\lib>java -jar /jdev903/j2ee/home/admin.jar

ormi://lexus.GrumpyNetworks.ca:1811

ias_admin lexus2003 -deploy

-file Oc4jDcmServlet.ear -deploymentName

C:\jdev903\dcm\lib>java -jar /jdev903/j2ee/home/admin.jar

ormi://lexus.GrumpyNetworks.ca:1811

ias_admin lexus2003

-bindWebApp Oc4jDcmServlet Oc4jDcmServlet

emd-web-site /Oc4jDcmServletAPI

C:\jdev903\dcm\lib>

2. Modify the EM servlet configuration on the Oracle9iAS server.

In ${ORACLE_HOME}/sysman/j2ee/application-deployments/em/emd/orion-web.xml,

comment out the following lines: (Please use  view --> Source to see it)

In ${ORACLE_HOME}/sysman/j2ee/config/em-app.xml,

add the following lines:

where $ORACLE_HOME is the location of the Oracle9iAS Infrastructure

installed.

3. Re-start Enterprise Manager

(1). Make sure that DISPLAY is set, either DISPLAY=:0.0 on the server console or

DISPLAY=142.205.14.63:0.0 (my eXceed -- an X Server)

(2). emctl stop   (will propmt you with admin password: lexus****)

(3). emctl start

4. From JDeveloper, create a connection ( connLEXUS ) to Oracle9iAS

connectionName:  connLEXUS

connectionType:  Oracle9iAS - Romote DCM

userName:        ias_admin

passWord:        lexus2003

EM OC4J server:  lexus.GrumpyNetworks.ca

EM OC4J Port:    1810

9IAS Home:       /usr4/app/oracle/9ias_rl2

(not the Infrasture Home)

5. Create deployment profile

6. Deploy the application, say loginServer

$ORACLE_HOME=/usr4/app/oracle/9ias_rl2

$ORACLE_HOME/j2ee/home/config/default-web-site.xml will

have an added entry:

name="loginServer"

root="/loginServer"/>

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值