senint
新手上路
贴子数量 : 11
注册日期 : 7/16/2002 在线情况 : 离线
|
发表于: 7/18/2002 - 01:31 |
我的websphere是连oracle数据库的,说我的那个用户没有访问权限,那个user到底需要什么权限,我在oracle数据库里建了这个用户,是普通用户。
另外为什么我开始的webshpere的http服务可以启动,当我装上webshpere application时http server就不能启动了,而http admin是可以启动的,说是系统原因,我又重装了一遍,也是这样,然后在应用服务器就出问题了(我是先装web server再装应用服务器的,下面是我启动应用服务报的错误:
************* End Display Current Environment *************
[02.07.18 09:14:27:363 GMT+08:00] 55050a7c Server U Version : 4.0.0
[02.07.18 09:14:27:393 GMT+08:00] 55050a7c Server U Edition: AE
[02.07.18 09:14:27:393 GMT+08:00] 55050a7c Server U Build date: Mon Apr 3
0 00:00:00 GMT+08:00 2001
[02.07.18 09:14:27:393 GMT+08:00] 55050a7c Server U Build number: n0117.0
4
[02.07.18 09:14:30:467 GMT+08:00] 55050a7c DBMgr F SMTL0026E?G?L?k??????
??????Gjava.sql.SQLException: ORA-01950: 对表格空间 'USERS'不具权限
at java.sql.SQLException.<init>(SQLException.java:45)
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:180)
at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:208)
at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:543)
at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1451)
at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:862
)
at oracle.jdbc.driver.OracleStatement.executeNonQuery(OracleStatement.ja
va:1846)
at oracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStatement.jav
a:1771)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStateme
nt.java:2361)
at oracle.jdbc.driver.OracleStatement.executeUpdate(OracleStatement.java
:865)
at com.ibm.ejs.cm.portability.PortabilityLayerImpl.createTable(Portabili
tyLayerImpl.java:216)
at com.ibm.ejs.cm.pool.ConnectO.createTable(ConnectO.java:1581)
at com.ibm.ejs.cm.proxy.ConnectionProxy.createTable(ConnectionProxy.java
:152)
at com.ibm.ejs.cm.lock.TableLockLock.<init>(TableLockLock.java:40)
at com.ibm.ejs.cm.portability.OraclePortabilityLayer.createLock(OraclePo
rtabilityLayer.java:155)
at com.ibm.ejs.sm.util.db.DBMgr.initialize(DBMgr.java:200)
at com.ibm.ejs.sm.server.AdminServer.initializeConnectionManager(AdminSe
rver.java:1114)
at com.ibm.ws.runtime.Server.initializeRuntime0(Server.java:599)
at com.ibm.ejs.sm.server.ManagedServer.initializeRuntime0(ManagedServer.
java:398)
at com.ibm.ejs.sm.server.AdminServer.initializeRuntime0(AdminServer.java
:1077)
at com.ibm.ws.runtime.Server.initializeRuntime(Server.java:549)
at com.ibm.ejs.sm.server.AdminServer.main(AdminServer.java:380)
at java.lang.reflect.Method.invoke(Native Method)
at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:63)
java.lang.Throwable
at com.ibm.ejs.ras.TraceLogger.fatalEvent(TraceLogger.java:218)
at com.ibm.ejs.ras.TraceEventGeneratorImpl.fireTraceEvent(Tr.java:1326)
at com.ibm.ejs.ras.TraceEventGeneratorImpl.fireTraceEvent(Tr.java:1270)
at com.ibm.ejs.ras.Tr.fatal(Tr.java:840)
at com.ibm.ejs.sm.util.db.DBMgr.initialize(DBMgr.java:210)
at com.ibm.ejs.sm.server.AdminServer.initializeConnectionManager(AdminSe
rver.java:1114)
at com.ibm.ws.runtime.Server.initializeRuntime0(Server.java:599)
at com.ibm.ejs.sm.server.ManagedServer.initializeRuntime0(ManagedServer.
java:398)
at com.ibm.ejs.sm.server.AdminServer.initializeRuntime0(AdminServer.java
:1077)
at com.ibm.ws.runtime.Server.initializeRuntime(Server.java:549)
at com.ibm.ejs.sm.server.AdminServer.main(AdminServer.java:380)
at java.lang.reflect.Method.invoke(Native Method)
at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:63)
[02.07.18 09:14:30:637 GMT+08:00] 55050a7c SystemOut U SMTL0026E?G?L?k??????
??????Gjava.sql.SQLException: ORA-01950: 对表格空间 'USERS'不具权限
at java.sql.SQLException.<init>(SQLException.java:45)
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:180)
at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:208)
at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:543)
at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1451)
at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:862
)
at oracle.jdbc.driver.OracleStatement.executeNonQuery(OracleStatement.ja
va:1846)
at oracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStatement.jav
a:1771)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStateme
nt.java:2361)
at oracle.jdbc.driver.OracleStatement.executeUpdate(OracleStatement.java
:865)
at com.ibm.ejs.cm.portability.PortabilityLayerImpl.createTable(Portabili
tyLayerImpl.java:216)
at com.ibm.ejs.cm.pool.ConnectO.createTable(ConnectO.java:1581)
at com.ibm.ejs.cm.proxy.ConnectionProxy.createTable(ConnectionProxy.java
:152)
at com.ibm.ejs.cm.lock.TableLockLock.<init>(TableLockLock.java:40)
at com.ibm.ejs.cm.portability.OraclePortabilityLayer.createLock(OraclePo
rtabilityLayer.java:155)
at com.ibm.ejs.sm.util.db.DBMgr.initialize(DBMgr.java:200)
at com.ibm.ejs.sm.server.AdminServer.initializeConnectionManager(AdminSe
rver.java:1114)
at com.ibm.ws.runtime.Server.initializeRuntime0(Server.java:599)
at com.ibm.ejs.sm.server.ManagedServer.initializeRuntime0(ManagedServer.
java:398)
at com.ibm.ejs.sm.server.AdminServer.initializeRuntime0(AdminServer.java
:1077)
at com.ibm.ws.runtime.Server.initializeRuntime(Server.java:549)
at com.ibm.ejs.sm.server.AdminServer.main(AdminServer.java:380)
at java.lang.reflect.Method.invoke(Native Method)
at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:63)
java.lang.Throwable
at com.ibm.ejs.ras.CBuffLogger.fatalEvent(CBuffLogger.java:195)
at com.ibm.ejs.ras.TraceEventGeneratorImpl.fireTraceEvent(Tr.java:1326)
at com.ibm.ejs.ras.TraceEventGeneratorImpl.fireTraceEvent(Tr.java:1270)
at com.ibm.ejs.ras.Tr.fatal(Tr.java:840)
at com.ibm.ejs.sm.util.db.DBMgr.initialize(DBMgr.java:210)
at com.ibm.ejs.sm.server.AdminServer.initializeConnectionManager(AdminSe
rver.java:1114)
at com.ibm.ws.runtime.Server.initializeRuntime0(Server.java:599)
at com.ibm.ejs.sm.server.ManagedServer.initializeRuntime0(ManagedServer.
java:398)
at com.ibm.ejs.sm.server.AdminServer.initializeRuntime0(AdminServer.java
:1077)
at com.ibm.ws.runtime.Server.initializeRuntime(Server.java:549)
at com.ibm.ejs.sm.server.AdminServer.main(AdminServer.java:380)
at java.lang.reflect.Method.invoke(Native Method)
at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:63)
D:\WebSphere\AppServer\bin>
[编辑 - 7/18/02 作者: senint] |
|
senint
新手上路
贴子数量 : 11
注册日期 : 7/16/2002 在线情况 : 离线
|
发表于: 7/18/2002 - 02:01 |
我现在已经把user设置为dba权限了,报的错有一点区别,不过还是报没有权限访问,我太急了,今天再搞不定这个webshpere,我可能就失业了,望各位帮帮小弟啰 |
|
senint
新手上路
贴子数量 : 11
注册日期 : 7/16/2002 在线情况 : 离线
|
发表于: 7/18/2002 - 05:31 |
难道websphere一定要装DB2才行吗 |
|
rambler
新手上路
贴子数量 : 23
注册日期 : 5/29/2002 在线情况 : 离线
|
发表于: 7/18/2002 - 07:06 |
参看红皮书Handbook(sg246176.pdf)第11.4.4节 |
|
anleli
新手上路
贴子数量 : 14
注册日期 : 5/28/2002 在线情况 : 离线
|
发表于: 7/18/2002 - 07:23 |
查看修改WebSphree安装目录下的admin.config文件中有关Oracle JDBC方面的配置信息。 ************************************************************
The following parameters are required to change when using Oracle as WebSphere repository:
I. Edit the admin.config with the following changes:
1. Add the Oracle JDBC Thin Driver jar file "classes12.zip" to the AdminServer's classpath
2. Enter the valuess for the parameter in the section " # Repository database settings"
# Repository database settings
com.ibm.ejs.sm.adminServer.dbdataSourceClassName=
com.ibm.ejs.sm.adminServer.dbserverName=
com.ibm.ejs.sm.adminServer.dbportNumber=
com.ibm.ejs.sm.adminServer.dbdatabaseName=
com.ibm.ejs.sm.adminServer.dbuser=
com.ibm.ejs.sm.adminServer.dbpassword=
com.ibm.ejs.sm.adminServer.dbdisable2Phase=true
For example: com.ibm.ejs.sm.adminserver.classpath= C:\download\Oracle\thin\classes12.zip; /C:/WebSphere/AppServer/properties;C:/WebSphere/AppServer/lib/bootstrap.jar
...
...
...
# Repository database settings
com.ibm.ejs.sm.adminServer.dbdataSourceClassName= oracle.jdbc.pool.OracleConnectionPoolDataSource com.ibm.ejs.sm.adminServer.dbserverName= HORIZON
com.ibm.ejs.sm.adminServer.dbportNumber= 1521
com.ibm.ejs.sm.adminServer.dbdatabaseName= ORCL
com.ibm.ejs.sm.adminServer.dbuser= ejsadmin
com.ibm.ejs.sm.adminServer.dbpassword= ejsadmin
com.ibm.ejs.sm.adminServer.dbdisable2Phase= true
# URL is only valid for Oracle
com.ibm.ejs.sm.adminServer.dbURL= jdbcracle:thin:@HORIZON:1521:ORCL
Notes:
- HORIZON is the hostname of the Oracle Database Server (IP address can be specified instead of hostname)
- 1521 is the Oracle Listener port number (default is 1521)
- ORCL is the ORACLE_SID
- ejadmin is the Oracle userid (can be other name).
This userid must be created by Oracle DBA prior to starting WebSphere
(不需要DBA的权限,只需要CONNECT和RESOURCE的权限)
II. Edit the setupCmdLine.bat Add the Oracle JDBC Thin Driver jar file "classes12.zip" to the line "SET DBDRIVER_JARS".
For example:
SET DBDRIVER_JARS= C:\download\Oracle\thin\classes12.zip |
|
unicorn
新手上路
贴子数量 : 1
注册日期 : 7/8/2002 在线情况 : 离线
|
发表于: 7/18/2002 - 08:21 |
在安装application server的时候会提示输入Password(验证权限用的),这个时候正确输入就ok了,否则以后app server会启动不了 |
|