私はウェブアプリケーションを持っています。そして、jdbc データベース プーリング システムがあります。
minIdleとinitialSizeの値が 50 の場合、次のエラーが発生します。
[ WARN] [http-nio-8080-exec-25 03:11:33] (SqlExceptionHelper.java:logExceptions:144) SQL Error: 12519, SQLState: 66000
[ERROR] [http-nio-8080-exec-25 03:11:33] (SqlExceptionHelper.java:logExceptions:146) Listener refused the connection with the following error:
ORA-12519, TNS:no appropriate service handler found
これは、多くの接続を取得するように XE oracle を構成する必要があるためです。
私はこのようなことをします:
ALTER SYSTEM SET processes=10000 scope=spfile
しかし、これは私を助けませんでした。
また:
SQL> connect
Enter user-name: system
Enter password:
Connected.
SQL> select count(*) from v$process;
COUNT(*)
----------
44
SQL> show parameter processes;
NAME TYPE VALUE
------------------------------------ ----------- -----------------------
aq_tm_processes integer 0
db_writer_processes integer 1
gcs_server_processes integer 0
global_txn_processes integer 1
job_queue_processes integer 4
log_archive_max_processes integer 4
processes integer 100
SQL>
Windows 7 x64 を使用しています。これがOracle Express Editionです。