SlideShare a Scribd company logo
Imaging activity is causing performance issues in Production
When running SOA composites and applications we are getting multiple errors of the following
types:
1. [TopLink Warning]: 2011.02.19 10:19:56.413--UnitOfWork(1606199273)--Exception
[TOPLINK-4002] (Oracle TopLink - 11g Release 1 (11.1.1.3.0) (Build 100323)):
oracle.toplink.exceptions.DatabaseException
Internal Exception: java.sql.SQLException: Unexpected exception while enlisting
XAConnection java.sql.SQLException: XA error: XAResource.XAER_RMERR start() failed on
resource 'SOADataSource_SOA': XAER_RMERR : A resource manager error has occured in the
transaction branch
javax.transaction.xa.XAException: Unexpected error during start for XAResource
'SOADataSource': Transaction timed out after 31 seconds
2. java.sql.SQLException: Connection has been administratively disabled. Try later.
at weblogic.jdbc.common.internal.ConnectionEnv.checkIfEnabled(ConnectionEnv.java:895)
at weblogic.jdbc.wrapper.PoolConnection.checkConnection(PoolConnection.java:58)
at weblogic.jdbc.wrapper.Connection.preInvocationHandler(Connection.java:93)
at
weblogic.jdbc.wrapper.PoolConnection_oracle_jdbc_driver_T4CConnection.getAutoCommit(Un
known Source)
at org.quartz.impl.jdbcjobstore.AttributeRestoringConnectionInvocationHandler
.setAutoCommit(AttributeRestoringConnectionInvocationHandler.java:83)
at org.quartz.impl.jdbcjobstore.AttributeRestoringConnectionInvocationHandler
.invoke(AttributeRestoringConnectionInvocationHandler.java:65).
3. ####<Mar 15, 2015 1:46:04 AM PDT> <Info> <EJB> <crete.sdsu.edu> <soa_server1>
<[ACTIVE] ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)'>
<SenaSupportAdmin> <BEA1-06D26210EA85137D24B4>
<16a6b0192850dcba:1286999d:14c0628f21e:-8000-0000000000004315> <1426409164448> <BEA-
010227> <EJB Exception occurred during invocation from home or business:
weblogic.ejb.container.internal.StatelessEJBHomeImpl@23ce6cf1 threw exception:
java.lang.RuntimeException:
Internal Exception: java.sql.SQLException: Internal error: Cannot obtain XAConnection
weblogic.common.resourcepool.ResourceDisabledException: Pool SOADataSource is
Suspended, cannot allocate resources to applications..
After checking the soa_server log we seen lot of errors like we have seen above.
These types of error are basically slow down the performance of production system. As we saw
there is lot of errors but some errors are related to Soa_infra database. In above error list we saw
some connection pooling errors. All the above internal errors are mostly related to DATABASE.
 Following are some root causes for this error.
The problem can occur due to several different reasons such as:
1. Database connection timeout
2. Slow database
3. Large message or payload size
4. Network interruption
5. Transaction timeout
 Solution:
1. Increase the connect timeout from all data sources such as for example
SOALocalTxDataSource, SOADataSource, OraSDPMDataSource, mds-soa and mds-
owsm.
2. Set inactivity timeout to some positive number.
3. Potential fix for slow database.
4. Potential fix for large payloads.
In our case we can resolve this issue by increasing a capacity from properties of connection
pool of each database. In our case it varies from 0 to 100 in case of some data sources.
Please see below screenshot.
So in future to avoid this error we can maximize capacity up to 200 and also
CONNECT_TIMEOUT more than 300000.
REFERENCES:
1. java.sql.SQLException: Cannot obtain XAConnection
weblogic.common.resourcepool.ResourceDisabledException: Connection Pool is Suspended (Doc ID
1446899.1).
2. SOA Database Connectivity Issues Showing DatabaseException Internal Exception:
java.sql.SQLException (Doc ID 1309181.1).
3. https://community.oracle.com/thread/2171885

More Related Content

What's hot

Pharmacy management system fyp documentation
Pharmacy management system fyp documentationPharmacy management system fyp documentation
Pharmacy management system fyp documentation
Abubakr Cheema
 
Failles de sécurité Web et Symfony
Failles de sécurité Web et SymfonyFailles de sécurité Web et Symfony
Failles de sécurité Web et Symfony
Chamalaine Soufi
 
DDBMS Paper with Solution
DDBMS Paper with SolutionDDBMS Paper with Solution
DDBMS Paper with Solution
Gyanmanjari Institute Of Technology
 
Database backup & recovery
Database backup & recoveryDatabase backup & recovery
Database backup & recovery
Mustafa Khan
 
Ssrf
SsrfSsrf
"Changing Role of the DBA" Skills to Have, to Obtain & to Nurture - Updated 2...
"Changing Role of the DBA" Skills to Have, to Obtain & to Nurture - Updated 2..."Changing Role of the DBA" Skills to Have, to Obtain & to Nurture - Updated 2...
"Changing Role of the DBA" Skills to Have, to Obtain & to Nurture - Updated 2...
Markus Michalewicz
 
Sql injection
Sql injectionSql injection
Sql injection
Nuruzzaman Milon
 
Unrestricted file upload CWE-434 - Adam Nurudini (ISACA)
Unrestricted file upload CWE-434 -  Adam Nurudini (ISACA)Unrestricted file upload CWE-434 -  Adam Nurudini (ISACA)
Unrestricted file upload CWE-434 - Adam Nurudini (ISACA)
Adam Nurudini
 
Srs
SrsSrs
01 oracle architecture
01 oracle architecture01 oracle architecture
01 oracle architecture
Smitha Padmanabhan
 
Active and main memory database
Active and main memory databaseActive and main memory database
Active and main memory database
District Administration
 
What's new in Oracle 19c & 18c Recovery Manager (RMAN)
What's new in Oracle 19c & 18c Recovery Manager (RMAN)What's new in Oracle 19c & 18c Recovery Manager (RMAN)
What's new in Oracle 19c & 18c Recovery Manager (RMAN)
Satishbabu Gunukula
 
Pi Day 2022 - from IoT to MySQL HeatWave Database Service
Pi Day 2022 -  from IoT to MySQL HeatWave Database ServicePi Day 2022 -  from IoT to MySQL HeatWave Database Service
Pi Day 2022 - from IoT to MySQL HeatWave Database Service
Frederic Descamps
 
Backup and recovery in sql server database
Backup and recovery in sql server databaseBackup and recovery in sql server database
Backup and recovery in sql server database
Anshu Maurya
 
Oracle backup and recovery
Oracle backup and recoveryOracle backup and recovery
Oracle backup and recovery
Yogiji Creations
 
Srs template 1
Srs template 1Srs template 1
Srs template 1
Tarveen Raza
 
Active database system
Active database systemActive database system
Active database system
Adeolu Olaniyan
 
Client server architecture
Client server architectureClient server architecture
Client server architecture
Bhargav Amin
 
Denormalization
DenormalizationDenormalization
Denormalization
Amna Magzoub
 
Réplication de base de données oracle avec Golden Gate
Réplication de base de données oracle avec Golden GateRéplication de base de données oracle avec Golden Gate
Réplication de base de données oracle avec Golden Gate
Mor THIAM
 

What's hot (20)

Pharmacy management system fyp documentation
Pharmacy management system fyp documentationPharmacy management system fyp documentation
Pharmacy management system fyp documentation
 
Failles de sécurité Web et Symfony
Failles de sécurité Web et SymfonyFailles de sécurité Web et Symfony
Failles de sécurité Web et Symfony
 
DDBMS Paper with Solution
DDBMS Paper with SolutionDDBMS Paper with Solution
DDBMS Paper with Solution
 
Database backup & recovery
Database backup & recoveryDatabase backup & recovery
Database backup & recovery
 
Ssrf
SsrfSsrf
Ssrf
 
"Changing Role of the DBA" Skills to Have, to Obtain & to Nurture - Updated 2...
"Changing Role of the DBA" Skills to Have, to Obtain & to Nurture - Updated 2..."Changing Role of the DBA" Skills to Have, to Obtain & to Nurture - Updated 2...
"Changing Role of the DBA" Skills to Have, to Obtain & to Nurture - Updated 2...
 
Sql injection
Sql injectionSql injection
Sql injection
 
Unrestricted file upload CWE-434 - Adam Nurudini (ISACA)
Unrestricted file upload CWE-434 -  Adam Nurudini (ISACA)Unrestricted file upload CWE-434 -  Adam Nurudini (ISACA)
Unrestricted file upload CWE-434 - Adam Nurudini (ISACA)
 
Srs
SrsSrs
Srs
 
01 oracle architecture
01 oracle architecture01 oracle architecture
01 oracle architecture
 
Active and main memory database
Active and main memory databaseActive and main memory database
Active and main memory database
 
What's new in Oracle 19c & 18c Recovery Manager (RMAN)
What's new in Oracle 19c & 18c Recovery Manager (RMAN)What's new in Oracle 19c & 18c Recovery Manager (RMAN)
What's new in Oracle 19c & 18c Recovery Manager (RMAN)
 
Pi Day 2022 - from IoT to MySQL HeatWave Database Service
Pi Day 2022 -  from IoT to MySQL HeatWave Database ServicePi Day 2022 -  from IoT to MySQL HeatWave Database Service
Pi Day 2022 - from IoT to MySQL HeatWave Database Service
 
Backup and recovery in sql server database
Backup and recovery in sql server databaseBackup and recovery in sql server database
Backup and recovery in sql server database
 
Oracle backup and recovery
Oracle backup and recoveryOracle backup and recovery
Oracle backup and recovery
 
Srs template 1
Srs template 1Srs template 1
Srs template 1
 
Active database system
Active database systemActive database system
Active database system
 
Client server architecture
Client server architectureClient server architecture
Client server architecture
 
Denormalization
DenormalizationDenormalization
Denormalization
 
Réplication de base de données oracle avec Golden Gate
Réplication de base de données oracle avec Golden GateRéplication de base de données oracle avec Golden Gate
Réplication de base de données oracle avec Golden Gate
 

Viewers also liked

The simple truth
The simple truthThe simple truth
The simple truth
drexelgroup6
 
Las redes sociales
Las redes socialesLas redes sociales
Las redes sociales
Alonso Bautista
 
Presentation dmwcfu420
Presentation dmwcfu420Presentation dmwcfu420
Presentation dmwcfu420
William Clarke
 
Planning the blog
Planning the blogPlanning the blog
Planning the blog
andreagonzalez3187
 
Agenda enero27 2014
Agenda enero27 2014Agenda enero27 2014
Agenda enero27 2014
JUA MANUEL GONZALEZ
 
Privacy Balance Sought - Letter to Editor - Applied Clinical Trials 2001
Privacy Balance Sought - Letter to Editor - Applied Clinical Trials 2001Privacy Balance Sought - Letter to Editor - Applied Clinical Trials 2001
Privacy Balance Sought - Letter to Editor - Applied Clinical Trials 2001
lmoench
 
Redes sociales
Redes socialesRedes sociales
Risk assessment of pharmacueticals
Risk assessment of pharmacueticalsRisk assessment of pharmacueticals
Risk assessment of pharmacueticals
lmoench
 
Schema Upgradation from previous version to latest version in Oracle database
Schema Upgradation from previous version to latest version in Oracle databaseSchema Upgradation from previous version to latest version in Oracle database
Schema Upgradation from previous version to latest version in Oracle database
Rajendra Ladkat
 
Bosch certificate
Bosch certificateBosch certificate
Bosch certificate
Doddi Sravankumar
 
6 Steps to Accelerate the Development Cycle | Life Science Parker Hannifin
6 Steps to Accelerate the Development Cycle | Life Science Parker Hannifin6 Steps to Accelerate the Development Cycle | Life Science Parker Hannifin
6 Steps to Accelerate the Development Cycle | Life Science Parker Hannifin
Parker Hannifin Corporation
 
Patient centric site training to enhance clinical trial performance
Patient centric site training to enhance clinical trial performancePatient centric site training to enhance clinical trial performance
Patient centric site training to enhance clinical trial performance
lmoench
 
Instructivo para la instalacion en linux de la impresora multifuncional canon...
Instructivo para la instalacion en linux de la impresora multifuncional canon...Instructivo para la instalacion en linux de la impresora multifuncional canon...
Instructivo para la instalacion en linux de la impresora multifuncional canon...
Alexis Mendoza
 
Terence Moses Resume
Terence Moses ResumeTerence Moses Resume
Terence Moses Resume
Terence Moses
 
Faiz's resume 130316
Faiz's resume 130316Faiz's resume 130316
Faiz's resume 130316
ahmad faiz
 
POA-A-175-RITES
POA-A-175-RITESPOA-A-175-RITES
POA-A-175-RITESChayan Das
 

Viewers also liked (17)

The simple truth
The simple truthThe simple truth
The simple truth
 
Las redes sociales
Las redes socialesLas redes sociales
Las redes sociales
 
Presentation dmwcfu420
Presentation dmwcfu420Presentation dmwcfu420
Presentation dmwcfu420
 
Planning the blog
Planning the blogPlanning the blog
Planning the blog
 
Agenda enero27 2014
Agenda enero27 2014Agenda enero27 2014
Agenda enero27 2014
 
Privacy Balance Sought - Letter to Editor - Applied Clinical Trials 2001
Privacy Balance Sought - Letter to Editor - Applied Clinical Trials 2001Privacy Balance Sought - Letter to Editor - Applied Clinical Trials 2001
Privacy Balance Sought - Letter to Editor - Applied Clinical Trials 2001
 
Redes sociales
Redes socialesRedes sociales
Redes sociales
 
Risk assessment of pharmacueticals
Risk assessment of pharmacueticalsRisk assessment of pharmacueticals
Risk assessment of pharmacueticals
 
Schema Upgradation from previous version to latest version in Oracle database
Schema Upgradation from previous version to latest version in Oracle databaseSchema Upgradation from previous version to latest version in Oracle database
Schema Upgradation from previous version to latest version in Oracle database
 
Bosch certificate
Bosch certificateBosch certificate
Bosch certificate
 
6 Steps to Accelerate the Development Cycle | Life Science Parker Hannifin
6 Steps to Accelerate the Development Cycle | Life Science Parker Hannifin6 Steps to Accelerate the Development Cycle | Life Science Parker Hannifin
6 Steps to Accelerate the Development Cycle | Life Science Parker Hannifin
 
Patient centric site training to enhance clinical trial performance
Patient centric site training to enhance clinical trial performancePatient centric site training to enhance clinical trial performance
Patient centric site training to enhance clinical trial performance
 
Instructivo para la instalacion en linux de la impresora multifuncional canon...
Instructivo para la instalacion en linux de la impresora multifuncional canon...Instructivo para la instalacion en linux de la impresora multifuncional canon...
Instructivo para la instalacion en linux de la impresora multifuncional canon...
 
Terence Moses Resume
Terence Moses ResumeTerence Moses Resume
Terence Moses Resume
 
Faiz's resume 130316
Faiz's resume 130316Faiz's resume 130316
Faiz's resume 130316
 
BOSCH LETTER
BOSCH LETTERBOSCH LETTER
BOSCH LETTER
 
POA-A-175-RITES
POA-A-175-RITESPOA-A-175-RITES
POA-A-175-RITES
 

Similar to SOA Database Connectivity Issues Showing DatabaseException Internal Exception

How to connect sql server to oracle server
How to connect sql server to oracle serverHow to connect sql server to oracle server
How to connect sql server to oracle server
Gustavo Bernardo
 
Weblogic 12c Graphical Mode installation steps in Windows
Weblogic 12c Graphical Mode installation steps in Windows Weblogic 12c Graphical Mode installation steps in Windows
Weblogic 12c Graphical Mode installation steps in Windows
webservicesm
 
12c weblogic installation steps for Windows
12c weblogic installation steps for Windows12c weblogic installation steps for Windows
12c weblogic installation steps for Windows
Cognizant
 
Analyzing a memory leak problem
Analyzing a memory leak problemAnalyzing a memory leak problem
Analyzing a memory leak problem
Raúl Castillo
 
Ob loading data_oracle
Ob loading data_oracleOb loading data_oracle
Ob loading data_oracle
Steve Xu
 
Scaling asp.net websites to millions of users
Scaling asp.net websites to millions of usersScaling asp.net websites to millions of users
Scaling asp.net websites to millions of users
oazabir
 
Blind sql injection
Blind sql injectionBlind sql injection
Blind sql injection
Kagi Adrian Zinelli
 
Blind sql injection
Blind sql injectionBlind sql injection
Blind sql injection
Kagi Adrian Zinelli
 
Sql interview question part 8
Sql interview question part 8Sql interview question part 8
Sql interview question part 8
kaashiv1
 
Ebook8
Ebook8Ebook8
Ebook8
kaashiv1
 
Release Notes.doc
Release Notes.docRelease Notes.doc
Release Notes.doc
GigiKent17
 
Sql Injection and Entity Frameworks
Sql Injection and Entity FrameworksSql Injection and Entity Frameworks
Sql Injection and Entity Frameworks
Rich Helton
 
New and improved hacking oracle from web apps sumit sidharth
New and improved hacking oracle from web apps   sumit sidharthNew and improved hacking oracle from web apps   sumit sidharth
New and improved hacking oracle from web apps sumit sidharth
owaspindia
 
Windowsosauthent
WindowsosauthentWindowsosauthent
Windowsosauthent
oracle documents
 
Wl application architecture3
Wl application architecture3Wl application architecture3
Wl application architecture3
వెంకీ బాబు
 
Oracle database error with solution
Oracle database error with solutionOracle database error with solution
Oracle database error with solution
Ravi Kumar Lanke
 
SQL Injection - Newsletter
SQL Injection - NewsletterSQL Injection - Newsletter
SQL Injection - Newsletter
Smitha Padmanabhan
 
Adaptive rfc troubleshooting guide
Adaptive rfc  troubleshooting guideAdaptive rfc  troubleshooting guide
Adaptive rfc troubleshooting guide
Dar Pinsor
 
Creating and connecting to odi master and work repositories
Creating and connecting to odi master and work repositoriesCreating and connecting to odi master and work repositories
Creating and connecting to odi master and work repositories
Abdoulaye M Yansane
 
Testing web applications
Testing web applicationsTesting web applications
Testing web applications
msksaba
 

Similar to SOA Database Connectivity Issues Showing DatabaseException Internal Exception (20)

How to connect sql server to oracle server
How to connect sql server to oracle serverHow to connect sql server to oracle server
How to connect sql server to oracle server
 
Weblogic 12c Graphical Mode installation steps in Windows
Weblogic 12c Graphical Mode installation steps in Windows Weblogic 12c Graphical Mode installation steps in Windows
Weblogic 12c Graphical Mode installation steps in Windows
 
12c weblogic installation steps for Windows
12c weblogic installation steps for Windows12c weblogic installation steps for Windows
12c weblogic installation steps for Windows
 
Analyzing a memory leak problem
Analyzing a memory leak problemAnalyzing a memory leak problem
Analyzing a memory leak problem
 
Ob loading data_oracle
Ob loading data_oracleOb loading data_oracle
Ob loading data_oracle
 
Scaling asp.net websites to millions of users
Scaling asp.net websites to millions of usersScaling asp.net websites to millions of users
Scaling asp.net websites to millions of users
 
Blind sql injection
Blind sql injectionBlind sql injection
Blind sql injection
 
Blind sql injection
Blind sql injectionBlind sql injection
Blind sql injection
 
Sql interview question part 8
Sql interview question part 8Sql interview question part 8
Sql interview question part 8
 
Ebook8
Ebook8Ebook8
Ebook8
 
Release Notes.doc
Release Notes.docRelease Notes.doc
Release Notes.doc
 
Sql Injection and Entity Frameworks
Sql Injection and Entity FrameworksSql Injection and Entity Frameworks
Sql Injection and Entity Frameworks
 
New and improved hacking oracle from web apps sumit sidharth
New and improved hacking oracle from web apps   sumit sidharthNew and improved hacking oracle from web apps   sumit sidharth
New and improved hacking oracle from web apps sumit sidharth
 
Windowsosauthent
WindowsosauthentWindowsosauthent
Windowsosauthent
 
Wl application architecture3
Wl application architecture3Wl application architecture3
Wl application architecture3
 
Oracle database error with solution
Oracle database error with solutionOracle database error with solution
Oracle database error with solution
 
SQL Injection - Newsletter
SQL Injection - NewsletterSQL Injection - Newsletter
SQL Injection - Newsletter
 
Adaptive rfc troubleshooting guide
Adaptive rfc  troubleshooting guideAdaptive rfc  troubleshooting guide
Adaptive rfc troubleshooting guide
 
Creating and connecting to odi master and work repositories
Creating and connecting to odi master and work repositoriesCreating and connecting to odi master and work repositories
Creating and connecting to odi master and work repositories
 
Testing web applications
Testing web applicationsTesting web applications
Testing web applications
 

SOA Database Connectivity Issues Showing DatabaseException Internal Exception

  • 1. Imaging activity is causing performance issues in Production When running SOA composites and applications we are getting multiple errors of the following types: 1. [TopLink Warning]: 2011.02.19 10:19:56.413--UnitOfWork(1606199273)--Exception [TOPLINK-4002] (Oracle TopLink - 11g Release 1 (11.1.1.3.0) (Build 100323)): oracle.toplink.exceptions.DatabaseException Internal Exception: java.sql.SQLException: Unexpected exception while enlisting XAConnection java.sql.SQLException: XA error: XAResource.XAER_RMERR start() failed on resource 'SOADataSource_SOA': XAER_RMERR : A resource manager error has occured in the transaction branch javax.transaction.xa.XAException: Unexpected error during start for XAResource 'SOADataSource': Transaction timed out after 31 seconds 2. java.sql.SQLException: Connection has been administratively disabled. Try later. at weblogic.jdbc.common.internal.ConnectionEnv.checkIfEnabled(ConnectionEnv.java:895) at weblogic.jdbc.wrapper.PoolConnection.checkConnection(PoolConnection.java:58) at weblogic.jdbc.wrapper.Connection.preInvocationHandler(Connection.java:93) at weblogic.jdbc.wrapper.PoolConnection_oracle_jdbc_driver_T4CConnection.getAutoCommit(Un known Source) at org.quartz.impl.jdbcjobstore.AttributeRestoringConnectionInvocationHandler .setAutoCommit(AttributeRestoringConnectionInvocationHandler.java:83) at org.quartz.impl.jdbcjobstore.AttributeRestoringConnectionInvocationHandler .invoke(AttributeRestoringConnectionInvocationHandler.java:65). 3. ####<Mar 15, 2015 1:46:04 AM PDT> <Info> <EJB> <crete.sdsu.edu> <soa_server1> <[ACTIVE] ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)'> <SenaSupportAdmin> <BEA1-06D26210EA85137D24B4> <16a6b0192850dcba:1286999d:14c0628f21e:-8000-0000000000004315> <1426409164448> <BEA- 010227> <EJB Exception occurred during invocation from home or business: weblogic.ejb.container.internal.StatelessEJBHomeImpl@23ce6cf1 threw exception: java.lang.RuntimeException: Internal Exception: java.sql.SQLException: Internal error: Cannot obtain XAConnection weblogic.common.resourcepool.ResourceDisabledException: Pool SOADataSource is Suspended, cannot allocate resources to applications.. After checking the soa_server log we seen lot of errors like we have seen above. These types of error are basically slow down the performance of production system. As we saw there is lot of errors but some errors are related to Soa_infra database. In above error list we saw some connection pooling errors. All the above internal errors are mostly related to DATABASE.
  • 2.  Following are some root causes for this error. The problem can occur due to several different reasons such as: 1. Database connection timeout 2. Slow database 3. Large message or payload size 4. Network interruption 5. Transaction timeout  Solution: 1. Increase the connect timeout from all data sources such as for example SOALocalTxDataSource, SOADataSource, OraSDPMDataSource, mds-soa and mds- owsm. 2. Set inactivity timeout to some positive number. 3. Potential fix for slow database. 4. Potential fix for large payloads. In our case we can resolve this issue by increasing a capacity from properties of connection pool of each database. In our case it varies from 0 to 100 in case of some data sources. Please see below screenshot.
  • 3. So in future to avoid this error we can maximize capacity up to 200 and also CONNECT_TIMEOUT more than 300000. REFERENCES: 1. java.sql.SQLException: Cannot obtain XAConnection weblogic.common.resourcepool.ResourceDisabledException: Connection Pool is Suspended (Doc ID 1446899.1). 2. SOA Database Connectivity Issues Showing DatabaseException Internal Exception: java.sql.SQLException (Doc ID 1309181.1). 3. https://community.oracle.com/thread/2171885