listener could not find available handler for requested type of server
2012-03-03 16:57
519 查看
http://www.ispirer.com/wiki/sqlways/troubleshooting-guide/oracle/import/tns_listener
orcal默认参数“PROCESSES ” 指定orcale xe Server 为40个
解决方法,增加"PROCESSES "为100,200 或更多,步骤如下
在系统中
1.set ORACLE_SID=XE
在SQLPlus中:
SQL> alter system set processes=400 scope=spfile;
SQL> shutdown immediate;
SQL> startup;
Cause
As the default the parameter called PROCESSES is specified as 40 or something like that in the Oracle XE Server. This parameter controls the number of processes running simultaneously in one instance on Oracle. Usually it is not enough for
large databases with large amount of objects and data.
Solution
Please increase PROCESSES to 100, 200 or even higher.
To increase it, please perform the following steps:
In the System:
set ORACLE_SID=XE
In the SQLPlus:
SQL> alter system set processes=400 scope=spfile;
SQL> shutdown immediate;
SQL> startup;
] 2012-03-03 08:11:20:ERROR pool-1-thread-7 com.xiu.search.good.utils.CommonUtils - 商品折扣计算结果异常,商品id为84020,市场价为:0.02,销售价格为10000
[java] at org.apache.activemq.ActiveMQMessageConsumer.dispatch(ActiveMQMessageConsumer.java:1230)
[java] at org.apache.activemq.ActiveMQSessionExecutor.dispatch(ActiveMQSessionExecutor.java:134)
[java] at org.apache.activemq.ActiveMQSessionExecutor.iterate(ActiveMQSessionExecutor.java:205)
[java] at org.apache.activemq.thread.PooledTaskRunner.runTask(PooledTaskRunner.java:127)
[java] at org.apache.activemq.thread.PooledTaskRunner$1.run(PooledTaskRunner.java:48)
[java] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:897)
[java] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:919)
[java] at java.lang.Thread.run(Thread.java:736)
[java] Caused by: java.sql.SQLException: Listener refused the connection with the following error:
[java] ORA-12520, TNS:listener could not find available handler for requested type of server
[java] The Connection descriptor used by the client was:
[java] (DESCRIPTION =(ADDRESS_LIST =(ADDRESS = (PROTOCOL = TCP)(HOST = ract-scan.xiu.com)(PORT = 1521)))(CONNECT_DATA =(SERVER = DEDICATED)(SERVICE_NAME = swcsdb1.xiu.com)))
[java]
[java] at java.lang.Throwable.<init>(Throwable.java:67)
[java] at java.sql.SQLException.<init>(SQLException.java:101)
[java] at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
[java] at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:229)
[java] at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:387)
[java] at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:441)
[java] at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:165)
[java] at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:35)
[java] at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:801)
[java] at oracle.jdbc.pool.OracleDataSource.getPhysicalConnection(OracleDataSource.java:297)
[java] at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:221)
[java] at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:165)
[java] at org.springframework.jdbc.datasource.DataSourceUtils.doGetConnection(DataSourceUtils.java:113)
[java] at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:79)
[java] ... 16 more
orcal默认参数“PROCESSES ” 指定orcale xe Server 为40个
解决方法,增加"PROCESSES "为100,200 或更多,步骤如下
在系统中
1.set ORACLE_SID=XE
在SQLPlus中:
SQL> alter system set processes=400 scope=spfile;
SQL> shutdown immediate;
SQL> startup;
Cause
As the default the parameter called PROCESSES is specified as 40 or something like that in the Oracle XE Server. This parameter controls the number of processes running simultaneously in one instance on Oracle. Usually it is not enough for
large databases with large amount of objects and data.
Solution
Please increase PROCESSES to 100, 200 or even higher.
To increase it, please perform the following steps:
In the System:
set ORACLE_SID=XE
In the SQLPlus:
SQL> alter system set processes=400 scope=spfile;
SQL> shutdown immediate;
SQL> startup;
] 2012-03-03 08:11:20:ERROR pool-1-thread-7 com.xiu.search.good.utils.CommonUtils - 商品折扣计算结果异常,商品id为84020,市场价为:0.02,销售价格为10000
[java] at org.apache.activemq.ActiveMQMessageConsumer.dispatch(ActiveMQMessageConsumer.java:1230)
[java] at org.apache.activemq.ActiveMQSessionExecutor.dispatch(ActiveMQSessionExecutor.java:134)
[java] at org.apache.activemq.ActiveMQSessionExecutor.iterate(ActiveMQSessionExecutor.java:205)
[java] at org.apache.activemq.thread.PooledTaskRunner.runTask(PooledTaskRunner.java:127)
[java] at org.apache.activemq.thread.PooledTaskRunner$1.run(PooledTaskRunner.java:48)
[java] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:897)
[java] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:919)
[java] at java.lang.Thread.run(Thread.java:736)
[java] Caused by: java.sql.SQLException: Listener refused the connection with the following error:
[java] ORA-12520, TNS:listener could not find available handler for requested type of server
[java] The Connection descriptor used by the client was:
[java] (DESCRIPTION =(ADDRESS_LIST =(ADDRESS = (PROTOCOL = TCP)(HOST = ract-scan.xiu.com)(PORT = 1521)))(CONNECT_DATA =(SERVER = DEDICATED)(SERVICE_NAME = swcsdb1.xiu.com)))
[java]
[java] at java.lang.Throwable.<init>(Throwable.java:67)
[java] at java.sql.SQLException.<init>(SQLException.java:101)
[java] at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
[java] at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:229)
[java] at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:387)
[java] at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:441)
[java] at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:165)
[java] at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:35)
[java] at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:801)
[java] at oracle.jdbc.pool.OracleDataSource.getPhysicalConnection(OracleDataSource.java:297)
[java] at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:221)
[java] at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:165)
[java] at org.springframework.jdbc.datasource.DataSourceUtils.doGetConnection(DataSourceUtils.java:113)
[java] at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:79)
[java] ... 16 more
相关文章推荐
- ORA-12520: TNS:listener could not find available handler for requested type of server
- ORACLE ORA-12520 : TNS:listener could not find available handler for requested type of server
- TNS-12520 TNS:listener could not find available handler for requested type of server
- ORA-12520: TNS:listener could not find available handler for requested type of server
- ORA-12520 TNS:Listener count not find available handler for requested type of server错误解决办法
- ORA-12520 TNS:Listener count not find available handler for requested type of server错误解决办法
- ora-12516 tns listener could not find available handler with matching protocol
- Oracle报错ORA-12516 TNS:listener could not find available handler with matching protocol stack
- ora-12516 tns listener could not find available handler with matching protocol
- ORA-12520: TNS:listener could not find available handler
- ORA-12516: TNS:LISTENER COULD NOT FIND AVAILABLE HANDLER WITH MATCHING PROTOCOL STACK
- TNS:listener could not find available handler with matching protocol stack
- RAC 中 ORA-12516: TNS: listener could not find available handler with matching protocol stack
- Could not find MessageBodyWriter for response object of type: application/json
- Could not find method android() for arguments on root project '项目名' of type org.gradle.api.Project.
- TNS:listener could not find available handler with matching protocol stack 解决办法
- Could not find method android() for arguments on root project '项目名' of type org.gradle.api.Project.
- ORA-12516:TNS:listener could not find available handler with matching protocol stack
- ORA-12516, TNS: listener could not find available handler with matching protocol stack'
- ORA-12516, TNS:listener could not find available handler with matching protocol stack