• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

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

 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 VI Editor Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic