问题
I have Installed weblogic 10.3.5 with jrocket 1.6.0_33. Oracle Fusion Middleware 11.1.1 on Windows Environment. On database side I have Oracle database 11gR2 RAC environment with Two instance on Linux Environment. I have created
GRIDLINK DataSource with XA DRIVERS.
NAME: test
JNDI: jdbc/testDS
NOTE: I have used SCAN IP for this DataSource configuration.
FAN ENABLED checked.
ONS HOST : scan-ip:6200
Not using "ONS Wallet".
DataSource was created successfully. Testing is done. Now when I start Application for 1st time and Click on any TAB, The Managed Server through some error on its console screen.
<error> <JDBC> <BEA-001131> <Received an exception when closing a cached statement for the pool "test": SQLRecoverableException: Closed Coonection.>
What should I do to resolve this error.
回答1:
You should discover what's really happening when you enable debug on the weblogic instance in question. Here are the flags you can setup on server start as arguments.
-Dweblogic.debug.DebugJDBCRAC=true
-Dweblogic.debug.DebugJDBCONS=true
-Dweblogic.debug.DebugJDBCUCP=true
来源:https://stackoverflow.com/questions/37272785/weblogic-jdbc-datasource-error-bea-001131-closed-connection