You can receive the following error
message because of slow connections to the database.
Exception [TOPLINK-4002] (Oracle
TopLink - 11g Release 1 (11.1.1.1.0) (Build
090304)): oracle.toplink.exceptions.DatabaseException
Internal Exception:
java.sql.SQLException: Internal error: Cannot obtain
XAConnection
weblogic.common.resourcepool.ResourceDeadException: Pool
SOADataSource has been disabled because
of hanging connection tests, cannot
allocate resources to applications.
If this occurs, perform the following
steps:
- Open
the DOMAIN_HOME\bin\setSOADomainEnv.cmd file.
- Uncomment
the lines shown in bold.
- # 8331492: Value of weblogic.resourcepool.max_test_wait_secs is 10
- # seconds. It can be increased by uncommenting line below if your database
- # connections are slow. See SOA documentation for more details.
- EXTRA_JAVA_PROPERTIES="${EXTRA_JAVA_PROPERTIES}
- -Dweblogic.resourcepool.max_test_wait_secs=30"
- export EXTRA_JAVA_PROPERTIES
Save your changes and restart the managed Oracle
WebLogic Server.
No comments:
Post a Comment