oracle iSQLPLUS配置设置图文说明


当前第2页 返回上一页

172.20.61.185 - - [27/Sep/2012:17:24:40 +0800] "GET /isqlplus/cabo/images/cache/c-ghc.gif HTTP/1.1" 200 133

172.20.61.185 - - [27/Sep/2012:17:24:40 +0800] "GET /isqlplus/cabo/images/cache/zhs/b-login.gif HTTP/1.1" 200 715

172.20.61.185 - - [27/Sep/2012:17:24:40 +0800] "GET /isqlplus/cabo/images/cache/c-skir.gif HTTP/1.1" 200 66

172.20.61.185 - - [27/Sep/2012:17:24:43 +0800] "GET /favicon.ico HTTP/1.1" 404 135

172.20.61.185 - - [27/Sep/2012:17:24:52 +0800] "POST /isqlplus/login.uix HTTP/1.1" 200 11618

172.20.61.185 - - [27/Sep/2012:17:24:52 +0800] "GET /isqlplus/cabo/images/t.gif HTTP/1.1" 304 0

172.20.61.185 - - [27/Sep/2012:17:24:52 +0800] "GET /isqlplus/images/logo.gif HTTP/1.1" 304 0

172.20.61.185 - - [27/Sep/2012:17:24:52 +0800] "GET /isqlplus/cabo/jsLibs/MarlinCoreA4.js HTTP/1.1" 304 0

172.20.61.185 - - [27/Sep/2012:17:24:52 +0800] "GET /isqlplus/images/logout.gif HTTP/1.1" 200 360

172.20.61.185 - - [27/Sep/2012:17:24:52 +0800] "GET /isqlplus/cabo/styles/cache/blaf-A0-zh_CN-ie-windows.css HTTP/1

.1" 304 0

172.20.61.185 - - [27/Sep/2012:17:24:52 +0800] "GET /isqlplus/cabo/images/cache/c-ghss.gif HTTP/1.1" 304 0

172.20.61.185 - - [27/Sep/2012:17:24:52 +0800] "GET /isqlplus/cabo/images/cache/zhs/tb-56-0.gif HTTP/1.1" 200 971

172.20.61.185 - - [27/Sep/2012:17:24:52 +0800] "GET /isqlplus/images/help.gif HTTP/1.1" 304 0

172.20.61.185 - - [27/Sep/2012:17:24:52 +0800] "GET /isqlplus/cabo/images/cache/c-ghsc.gif HTTP/1.1" 304 0

172.20.61.185 - - [27/Sep/2012:17:24:52 +0800] "GET /isqlplus/cabo/images/cache/c-ghc.gif HTTP/1.1" 304 0

172.20.61.185 - - [27/Sep/2012:17:24:52 +0800] "GET /isqlplus/cabo/images/cache/c-ghse.gif HTTP/1.1" 304 0

172.20.61.185 - - [27/Sep/2012:17:24:52 +0800] "GET /isqlplus/cabo/i

[oracle@DB-Server log]$ more global-application.log

12/04/22 13:31:07 Started

12/04/22 13:31:08 defaultWebApp: jsp: init

12/04/22 13:31:08 defaultWebApp: 9.0.4.1.0 Started

12/04/22 14:07:13 defaultWebApp: 9.0.4.1.0 Stopped

12/04/22 14:07:13 Stopped (JVM termination)

12/09/27 17:23:20 Started

12/09/27 17:23:27 defaultWebApp: jsp: init

12/09/27 17:23:27 defaultWebApp: 9.0.4.1.0 Started

12/11/08 17:43:38 Started

12/11/08 17:43:39 defaultWebApp: jsp: init

12/11/08 17:43:39 defaultWebApp: 9.0.4.1.0 Started

12/11/08 17:54:01 defaultWebApp: 9.0.4.1.0 Stopped

12/11/08 17:54:01 Stopped (Shutdown executed by jazn.com/admin from 127.0.0.1 (localhost), 2)

12/11/08 17:55:42 Started

12/11/08 17:55:43 defaultWebApp: jsp: init

12/11/08 17:55:43 defaultWebApp: 9.0.4.1.0 Started

配置问题

1:变更session的有效期:

在$ORACLE_HOME/oc4j/j2ee/oc4j_applications/applications/isqlplus/isqlplus/WEB-INF下的web.xml文件中。

设置:

<session-config>

<session-timeout>15</session-timeout>

</session-config>

为分钟状态。

2:限制登录

[oracle@DB-Server WEB-INF]$ vi web.xml

<?xml version = '1.0' encoding = 'windows-1252'?>

<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">

<web-app>

<display-name>iSQL*Plus</display-name>

<description>iSQL*Plus Configuration File</description>

<servlet>

<servlet-name>config</servlet-name>

<servlet-class>oracle.sqlplus.iplus.core.Config</servlet-class>

<init-param>

<param-name>iSQLPlusAllowUserMarkup</param-name>

<param-value>none</param-value>

<description>Valid values are: none | all</description>

</init-param>

<init-param>

<param-name>iSQLPlusConnectIdList</param-name>

<param-value>wgods;bics;orcl</param-value>

<description>The database(s) to which iSQL*Plus users are restricted. The list should contain the Oracle SIDs or SERVICE NAMEs

, separated by a semicolon (;). If there are no entries, database access is not restricted through iSQL*Plus.</description>

</init-param>

其中的<param-value>代表$ORACLE_HOME/network/admin/tnsnames.ora中的名字,如果设置服务名后,只能从下拉框选择。

如果<param-value>没有设置值,那么可以手动输入SID。如下所示:

3:修改iSQL*PLUS端口

转到$ORACLE_HOME/oc4j/j2ee/isqlplus/config下,编辑http-web-site.xml文件

问题锦集

1:中文环境,按钮字体出现乱码。可以选址语言。切换到英文环境即可看到按钮的字体

解决办法

[oracle@DB-Server zhs]$ cd $ORACLE_HOME/jdk/jre/lib

[oracle@DB-Server lib]$ ls

audio font.properties.ja.Redhat6.2 font.properties.zh_CN.Redhat2.1 images

charsets.jar font.properties.ja.Redhat7.2 font.properties.zh_CN.Sun jce.jar

cmm font.properties.ja.Redhat7.3 font.properties.zh_CN_UTF8.Sun jsse.jar

content-types.properties font.properties.ja.Redhat8.0 font.properties.zh_HK.Sun jvm.hprof.txt

ext font.properties.ja.Turbo font.properties.zh_HK_UTF8.Sun jvm.jcov.txt

flavormap.properties font.properties.ja.Turbo6.0 font.properties.zh_HK_UTF8.Sun2003 locale

font.properties font.properties.ko_KR.Sun font.properties.zh.Turbo logging.properties

font.properties_back font.properties.ko_KR_UTF8.Sun font.properties.zh_TW.Redhat plugin.jar

font.properties.ja font.properties.ko_KR_UTF8.Sun2003 font.properties.zh_TW.Redhat2.1 psfontj2d.properties

font.properties.ja_JP.Sun font.properties.ko.Redhat font.properties.zh_TW.Sun psfont.properties.ja

font.properties.ja_JP.Sun2003 font.properties.ko.Redhat2.1 font.properties.zh_TW_UTF8.Sun rt.jar

font.properties.ja_JP_UTF8.Sun font.properties.Redhat6.1 font.properties.zh_TW_UTF8.Sun2003 security

font.properties.ja_JP_UTF8.Sun2003 font.properties.Redhat8.0 fonts sunrsasign.jar

font.properties.ja.Redhat3 font.properties.SuSE8.0 i386 zi

font.properties.ja.Redhat6.1 font.properties.zh_CN.Redhat im

[oracle@DB-Server lib]$

备份font.properties

[oracle@DB-Server lib]$ cp font.properties font.properties_back

[oracle@DB-Server lib]$ cp font.properties.zh_CN.Redhat font.properties

查看font.properties文件,确认文件中指定的字体文件zysong.ttf在系统内存在。若不存在需要修改此文件或安装这个字体

[oracle@DB-Server lib]$ tail -10 font.properties

fontset.dialoginput.plain=\

-b&h-luxi mono-medium-r-normal--*-%d-*-*-m-*-iso8859-1,\

-isas-song ti-medium-r-normal--*-%d-*-*-c-*-gb2312.1980-0

fontset.default=\

-b&h-luxi sans-medium-r-normal--*-%d-*-*-p-*-iso8859-1,\

-isas-song ti-medium-r-normal--*-%d-*-*-c-*-gb2312.1980-0

filename.-misc-zysong18030-medium-r-normal--*-%d-*-*-c-*-iso10646-1=/usr/share/fonts/zh_CN/TrueType/zysong.ttf

[oracle@DB-Server lib]$

转到/usr/share/fonts目录下,发现没有zh_CN目录,新建目录zh_CN/TrueType,去网上下载字体zysong.ttf放在/usr/share/fonts/zh_CN/TrueType目录下。

然后

[oracle@DB-Server fonts]$ cd $ORACLE_HOME/oc4j/j2ee/oc4j_applications/applications/isqlplus/isqlplus/cabo/images/cache/zhs/

[oracle@DB-Server zhs]$ ls

b-0dac.gif b-54.gif b-cancel.gif b-execute.gif b-login.gif b-save.gif tb-56-0.gif

b-0dac.imx b-54.imx b-cancel.imx b-execute.imx b-login.imx b-save.imx tb-56-0.imx

[oracle@DB-Server zhs]$ rm *

[oracle@DB-Server zhs]$ isqlplusctl stop

iSQL*Plus 10.2.0.1.0

Copyright (c) 2003, 2005, Oracle. All rights reserved.

getnameinfo failed

getnameinfo failed

Stopping iSQL*Plus ...

iSQL*Plus stopped.

[oracle@DB-Server zhs]$ isqlplusctl start

iSQL*Plus 10.2.0.1.0

Copyright (c) 2003, 2005, Oracle. All rights reserved.

getnameinfo failed

getnameinfo failed

Starting iSQL*Plus ...

iSQL*Plus started.

[oracle@DB-Server zhs]$

2:以DBA账号登录时,如果不指定连接标识符,则会报如下错误:ORA-12154:TNS:could not resolve the connect identifier specified.

 


标签:Oracle

返回前面的内容

相关阅读 >>

oracle如何删除表数据

简单实例解释oracle分页查询

oracle如何实现跨库查询

oracle中的索引讲解

java下使用oracle存储过程(详解)

oracle数学相关函数小结

oracle中ifelse的三种实现方式详解

oracle中decode函数的如何使用

oracle sid存在解決方法

linux环境下oracle安装参数设置方法详解

更多相关阅读请进入《oracle》频道 >>


数据库系统概念 第6版
书籍

数据库系统概念 第6版

机械工业出版社

本书主要讲述了数据模型、基于对象的数据库和XML、数据存储和查询、事务管理、体系结构等方面的内容。



打赏

取消

感谢您的支持,我会继续努力的!

扫码支持
扫码打赏,您说多少就多少

打开支付宝扫一扫,即可进行扫码打赏哦

分享从这里开始,精彩与您同在

评论

管理员已关闭评论功能...