listener could not find available handler for requested type of server

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中:

  1. SQL> alter system set processes=400 scope=spfile;
  2. SQL> shutdown immediate;
  3. 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:

  1. set ORACLE_SID=XE

In the SQLPlus:

  1. SQL> alter system set processes=400 scope=spfile;
  2. SQL> shutdown immediate;
  3. 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





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

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值