• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Knute Snortum
  • Paul Clapham
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Frits Walraven
Bartenders:
  • Ganesh Patekar
  • Tim Holloway
  • salvin francis

re:java.lang.Exception: ORA-00020: maximum number of processes (150) exceeded?  RSS feed

 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can any one help in this regard. This very urgent issue for us.

We have similar error happening while accessing our DB. We are using ADF frame work of Oracle 10g. and Oracle Appserver.

For each session the application opens 13 Database connections. This we monitor in Appserver admin screen. When the connections are more than 150 we get the following error.
ORA-00020: maximum number of processes (150) exceeded?
We are using JDBC Data source and the data-sources.xml($ORACLE_HOME/j2ee/home/config) looks like this

<data-source name="jdev-connection-DB"
class="com.evermind.sql.OrionCMTDataSource"
location="jdbc/DBCoreDS"
xa-location="jdbc/xa/DBXADS"
ejb-location="jdbc/DBDS"
pooled-location="jdbc/DBPooledDS"
connection-driver="oracle.jdbc.driver.OracleDriver"
username="uname"
password="pwd"
url="jdbc racle:thin:@//localhost:1521/osid"
inactivity-timeout="30"
min-connections="0"
max-connections="150">
<property name="cacheScheme" value="1"/>

</data-source>
Though we have set the ApplicationModule property jbo.doconnectionpooling to "true" the unused connections are not getting released.

Do we have to connection pool the database connections as well .
Can anyone help us how to implement connection pooling of Database connection along with Application module pooling
 
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Originally posted by Subhashini Sekar:

Do we have to connection pool the database connections as well .[sic]


That would be my recommendation.
By tying connections to sessions, you're probably keeping them open a lot longer than necessary.

Originally posted by Subhashini Sekar:

Can anyone help us how to implement connection pooling of Database connection along with Application module pooling


You best bet will be our Oracle Forum.
I'll move this thread there for you.
 
Attractive, successful people love this tiny ad:
how do I do my own kindle-like thing - without amazon
https://coderanch.com/t/711421/engineering/kindle-amazon
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!