Visit the Below Website to access unlimited exam questions for all IT vendors and Get Oracle Certifications for FREE
http://www.free-online-exams.com
http://www.free-online-exams.com
Problem: ORABPEL-12511, javax.resource.spi.ResourceAllocationException: Unable to allocate new connection
Symptoms:
PRODUTION BPEL CONNECTION POOL TO DE-HYDRATION STORE IN OAS has waiting threads
Observations:- one of the connection pool has waiting threads , while the other is free
when this happens INSTANCES ARE NOT FOUND IN BPEL CONSOLE - Missing instances
Observations:- one of the connection pool has waiting threads , while the other is free
when this happens INSTANCES ARE NOT FOUND IN BPEL CONSOLE - Missing instances
Log files:
<MSG_TEXT>Failed to set the internal configuration of the OC4J JMS Server with: XMLJMSServerConfig[file:/u01/app/oracle/products/OAS/1013/SOA/j2ee/oc4j_soa/config/jms.xml]</MSG_TEXT>
<SUPPL_DETAIL><![CDATA[java.lang.InstantiationException: ServerFile[PersistentMap,/u01/app/oracle/products/OAS/1013/SOA/j2ee/oc4j_soa/persistence/oc4j_soa_default_group_1/jms.state]: persistence file could not be locked. Resolve the sharing violation by ending the process currently holding the file lock or by using a different persistence directory for one or both processes.
at com.evermind.server.jms.JMSUtils.make(JMSUtils.java:1075)
at com.evermind.server.jms.JMSUtils.toInstantiationException(JMSUtils.java:1240)
at com.evermind.server.jms.JMSServer.recoverState(JMSServer.java:1831)
at com.evermind.server.jms.JMSServer.internalSetConfig(JMSServer.java:209)
at com.evermind.server.jms.JMSServer.setConfig(JMSServer.java:182)
at com.evermind.server.ApplicationServer.initializeJMS(ApplicationServer.java:2455)
at com.evermind.server.Application
<SUPPL_DETAIL><![CDATA[java.lang.InstantiationException: ServerFile[PersistentMap,/u01/app/oracle/products/OAS/1013/SOA/j2ee/oc4j_soa/persistence/oc4j_soa_default_group_1/jms.state]: persistence file could not be locked. Resolve the sharing violation by ending the process currently holding the file lock or by using a different persistence directory for one or both processes.
at com.evermind.server.jms.JMSUtils.make(JMSUtils.java:1075)
at com.evermind.server.jms.JMSUtils.toInstantiationException(JMSUtils.java:1240)
at com.evermind.server.jms.JMSServer.recoverState(JMSServer.java:1831)
at com.evermind.server.jms.JMSServer.internalSetConfig(JMSServer.java:209)
at com.evermind.server.jms.JMSServer.setConfig(JMSServer.java:182)
at com.evermind.server.ApplicationServer.initializeJMS(ApplicationServer.java:2455)
at com.evermind.server.Application
Solution:
1- Apply MLR# 9 Patch 8589928
2- Review information mentioned on below documents to verify the correctness of their setup
###########################################################################
1) "http://download.oracle.com/docs/cd/E10291_01/core.1013/e10294/toc.htm" (Oracle® Application Server Enterprise Deployment Guide)
2) "http://www.oracle.com/technology/tech/soa/pdf/oracle-soa-suite-xa-rac-guide.pdf" (Oracle SOA Suite 10g XA and RAC Database Configuration Guide)
===> Document contains BPEL Engine / Adapters -AQ , DB, ...- XA specific configurations
3) "http://download-uk.oracle.com/docs/cd/B31017_01/integrate.1013/b28994/toc.htm" (Oracle® Application Server Adapters for Files, FTP, Databases, and Enterprise Messaging User's Guide 10g Release 3 (10.1.3.1.0))
4) "http://www.oracle.com/technology/tech/soa/pdf/oracle-soa-suite-ha-faq.pdf" (Oracle SOA Suite High-Availability FAQ and Troubleshooting Guide)
5) As per information mentioned on bpel.xml file
<faultPolicyBindings>
<process faultPolicy="FaultPolicySynchronous"/>
</faultPolicyBindings>
Please Review information mentioned on "http://www.oracle.com/technology/products/ias/bpel/pdf/10133technotes.pdf" to confirm that you've defined below properties for the fault policy defined
===================the following configuration means 10 retries, at 60 second intervals===========================
<property name="retryMaxCount">10</property>
<property name="retryInterval">60</property>
==================================================================================================================
6) Please follow information mentioned on "http://download-uk.oracle.com/docs/cd/B31017_01/integrate.1013/b28994/app_trblshoot.htm" ==> A.4.2.2 I/O Exception: Network Adapter Could Not Establish the Connection in order to confirm that connectionString is correct, and the database and listener are up
7) (<jca:address location="eis/AQ/AQSIT" UIConnectionName="AQSIT") used on "DPW_invoke.wsdl_after_code_change" but not defined on "oc4j_ra__after_code_change", So please again we need to perform following action
+ Please create the conn factory "eis/AQ/AQSIT" in the AQ adapter , redeploy the BPEL process and retest
2- Review information mentioned on below documents to verify the correctness of their setup
###########################################################################
1) "http://download.oracle.com/docs/cd/E10291_01/core.1013/e10294/toc.htm" (Oracle® Application Server Enterprise Deployment Guide)
2) "http://www.oracle.com/technology/tech/soa/pdf/oracle-soa-suite-xa-rac-guide.pdf" (Oracle SOA Suite 10g XA and RAC Database Configuration Guide)
===> Document contains BPEL Engine / Adapters -AQ , DB, ...- XA specific configurations
3) "http://download-uk.oracle.com/docs/cd/B31017_01/integrate.1013/b28994/toc.htm" (Oracle® Application Server Adapters for Files, FTP, Databases, and Enterprise Messaging User's Guide 10g Release 3 (10.1.3.1.0))
4) "http://www.oracle.com/technology/tech/soa/pdf/oracle-soa-suite-ha-faq.pdf" (Oracle SOA Suite High-Availability FAQ and Troubleshooting Guide)
5) As per information mentioned on bpel.xml file
<faultPolicyBindings>
<process faultPolicy="FaultPolicySynchronous"/>
</faultPolicyBindings>
Please Review information mentioned on "http://www.oracle.com/technology/products/ias/bpel/pdf/10133technotes.pdf" to confirm that you've defined below properties for the fault policy defined
===================the following configuration means 10 retries, at 60 second intervals===========================
<property name="retryMaxCount">10</property>
<property name="retryInterval">60</property>
==================================================================================================================
6) Please follow information mentioned on "http://download-uk.oracle.com/docs/cd/B31017_01/integrate.1013/b28994/app_trblshoot.htm" ==> A.4.2.2 I/O Exception: Network Adapter Could Not Establish the Connection in order to confirm that connectionString is correct, and the database and listener are up
7) (<jca:address location="eis/AQ/AQSIT" UIConnectionName="AQSIT") used on "DPW_invoke.wsdl_after_code_change" but not defined on "oc4j_ra__after_code_change", So please again we need to perform following action
+ Please create the conn factory "eis/AQ/AQSIT" in the AQ adapter , redeploy the BPEL process and retest
References:
Note 461615.1 "OPMN Not Able to Start OC4J Component When 4 or More JVMs "
AQ Adapter: ORABPEL-12511, javax.resource.spi.ResourceAllocationException: Unable to allocate new connection + (Doc ID 730285.1)
"http://download.oracle.com/docs/cd/E10291_01/core.1013/e10294/toc.htm" (Oracle® Application Server Enterprise Deployment Guide)
"http://www.oracle.com/technology/tech/soa/pdf/oracle-soa-suite-xa-rac-guide.pdf" (Oracle SOA Suite 10g XA and RAC Database Configuration Guide)
===> Document contains BPEL Engine / Adapters -AQ , DB, ...- XA specific configurations
"http://download-uk.oracle.com/docs/cd/B31017_01/integrate.1013/b28994/toc.htm" (Oracle® Application Server Adapters for Files, FTP, Databases, and Enterprise Messaging User's Guide 10g Release 3 (10.1.3.1.0))
"http://www.oracle.com/technology/tech/soa/pdf/oracle-soa-suite-ha-faq.pdf" (Oracle SOA Suite High-Availability FAQ and Troubleshooting Guide)
"http://www.oracle.com/technology/tech/soa/pdf/oracle-soa-suite-xa-rac-guide.pdf" (Oracle SOA Suite 10g XA and RAC Database Configuration Guide)
===> Document contains BPEL Engine / Adapters -AQ , DB, ...- XA specific configurations
"http://download-uk.oracle.com/docs/cd/B31017_01/integrate.1013/b28994/toc.htm" (Oracle® Application Server Adapters for Files, FTP, Databases, and Enterprise Messaging User's Guide 10g Release 3 (10.1.3.1.0))
"http://www.oracle.com/technology/tech/soa/pdf/oracle-soa-suite-ha-faq.pdf" (Oracle SOA Suite High-Availability FAQ and Troubleshooting Guide)
2 comments:
Very nice post. I just stumbled upon your blog and wished to say that I have really enjoyed browsing your blog posts.
After all I'll be subscribing to your rss feed and I hope you write again very soon!
Review my web site ; ideas to Make Money Online
Hello, its good post concerning media print, we all be aware of media is a impressive source of data.
Visit my weblog ... brokerage account application
Post a Comment