打印本文 打印本文 关闭窗口 关闭窗口
webshpere4.0AE + Oracle8i配置详细说明(中)
作者:武汉SEO闵涛  文章来源:敏韬网  点击数1101  更新时间:2009/4/22 22:10:34  文章录入:mintao  责任编辑:mintao

 (承接上文)

3 在使用下列命令创建Oracle 用户EJSADMIN时,应该定义一个WebSphere administration ID。在第一行作为变量的处,输入system作为ID,而manager是缺省得密码。而在第二行中,EJSADMIN_password 是EJSADMIN 的密码。(如图)

sqlplus system/manager

create user EJSADMIN identified by EJSADMIN_password;

grant connect,resource,dba to EJSADMIN;

quit

如果你使用的是EJB functionality或是使用WebSphere Application Server的例子,那么就应该在部署entity beans时定义一个ID。作为命令的第二行,EJB_password 是EJB 的密码。(如图)

sqlplus system/manager

create user EJB identified by EJB_password;

grant connect,resource,dba to EJB;

quit

如果你使用的是更高的版本或是不希望EJSADMIN 拥有dba的权限,就不要输入上面那条命令。而是完成下面的两步。

1  输入命令(如图)

sqlplus system/manager

create user EJSADMIN identified by EJSADMIN_password quota 100M on SYSTEM;

grant connect,resource to EJSADMIN;

create user EJB identified by EJB_password quota 100M on USERS;

grant connect,resource to EJB;

quit

2 在你再次启动WebSphere Administrative Console时,编辑 HitCount bean的data source .(选择Default Server,Default Container, HitCount Bean,和DataSource) 这样,User ID 和 密码,就会设置道EJB ,接着,点Apply.

 

4 使用EJSADMIN 这个User ID 来测试访问新的数据库。(如图)

 sqlplus ejsadmin/ejsadmin

在显示一条信息说明连结成功后。输入 exit.

 

3 安装WebSphere应用服务器

要安装WebSphere 应用程序服务器,应该作以下:

1 确定你是要在当前的Windows用户下安装WebSphere应用程序服务器。这个Windows用户应该在Administrative 组,或是有更高的用户权限。"Act as part of the operating system" and "Log on as a service."

2 如果在你的系统中有IBM HTTP 服务器,或是其他的Web 服务器正在运行,你应该停止这些Web 服务器

 如果你的系统中有比IBM HTTP Server 1.3.19更早的版本,你就必须卸载他们,这样你的WebSphere 应用程序服务器安装程序才能那装IBM HTTP Server 1.3.19.

3 如果你能从产品网站得到4.0版本,运行或是把下载的可执行文件解包

4 如果你打算使用Web server 或是 数据库,在超过当前WebSphere应用程序服务器的版本需要时,你就必须作下列方法中的一种。

l               从web站点下载最新的prereq.properties 文件http://www.ibm.com/software/webservers/appserv/tools.html 放到你将要安装WebSphere 应用程序服务器的那台机器的c:\tmp目录下

l              Disable the WebSphere Prerequisite Checker before installing WebSphere Application Server.

A 在要安装WebSphere应用程序服务器的机器上 ,从目录\nt 拷贝prereq.properties 这个文件到 c:\tmp目录下

B 编辑这个文件,查找prereq_checker=1 着一行,把它变为prereq_check = 0.

5 如果你没有下载新的prereq.properties 文件,或是disabled the Prerequisite Checker,输入下面的命令(如图)setup.exe -prereqfile c:\tmp\prereq.properties

你需要在你的temp 目录下游135MB 的内存(一般是在C驱)。即使你是安装到其他的驱动其中,因为这个安装shield package 会解压缩到temp目录。

[1] [2]  下一页

打印本文 打印本文 关闭窗口 关闭窗口