Thanks but I don't yet see how this would solve my problem?  When I look at the 
tutorial it shows setting up a tomcat pool that connects to oracle under a 
specific user name and password.

But in my case I want to limit the number of connections to the Oracle instance 
itself independent of the user id and password.  For example let's say I have 
100 geoserver workspaces, each of which manage a pool of connections to a 
specific Oracle schema (with all such schemas in one oracle instance).  Each 
such pool would login to Oracle under a different user and password.  I might 
want each pool to have as many as 50 active connections, and yet I want to see 
that regardless, no more than 200 total connections (in all the pools combined) 
will be created.

In the above scenario of 100 workspaces with 50 connections each you might 
normally see as many as 5,000 connections.  I'm looking for something that will 
see that regardless, the total connections are kept below a limit of say 200.  
So three particular pools might create 50 connections and if a 4th pool tries 
to create a new connection (to this specific oracle instance regardless of 
schema) that connection will block waiting for the limit to go below 200.

Does JNDI create a way of doing that?

Thanks, Walter

-----Original Message-----
From: Rob L [mailto:robert.langf...@salford.gov.uk] 
Sent: Monday, June 13, 2016 8:45 AM
To: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] Can geoserver 2.8 manage number of database 
connections to a given Oracle instance?

Walter,

Have a look at using a JNDI connection.

http://docs.geoserver.org/maintain/en/user/tutorials/tomcat-jndi/tomcat-jndi.html#tomcat-jndi
<http://docs.geoserver.org/maintain/en/user/tutorials/tomcat-jndi/tomcat-jndi.html#tomcat-jndi>
  




--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Can-geoserver-2-8-manage-number-of-database-connections-to-a-given-Oracle-instance-tp5271268p5271381.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic 
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity planning 
reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to