Re: [Resin-interest] Limiting access to caucho-status

2009-03-06 Thread Ronan Lucio

David,

david day escreveu:

Is there a way to limit access to site/caucho-status URL either per


IP or per user/password?

Have you checked out Location  directive?

This works nicely.

  Location /caucho-status
SetHandler default-handler
Order Deny,Allow
Deny from all
Allow from 192.168.
  /Location
  


I did it. I helped, but caucho-status still answers when accessed via 
hostname:resin's port

It helps but it isn't 100%.

Thanks again,
Ronan
___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


[Resin-interest] [OT] The Resin Linked In group is open for anyone interested in Resin

2009-03-06 Thread Stargazer
Those with a Linked In account might find this interesting:
http://www.linkedin.com/groupInvitation?gid=132759



___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


Re: [Resin-interest] LDAP Connection Pooling

2009-03-06 Thread Scott Ferguson

On Mar 5, 2009, at 6:13 PM, Matt White wrote:

 Hello!

 I have an webapp that we deploy in Resin that does a whole lot of  
 LDAP queries.

 As the application is written right now each query creates a new
 connection, performs the query, and then drops the connection. This
 takes on the order of 300-500ms. We're querying attributes that are
 indexed, and the queries themselves return results very quickly - it's
 the connection bring-up and tear down that takes so long. This wasn't
 much of an issue until we started throwing AJAX-y bits in there that
 do things like autocomplete fields based on LDAP queries.

 Obviously, this is the sort of thing that connection pooling was  
 made for.

 I have started digging looking for examples of how to use LDAP
 connection pools, and it occurred to me that Resin may have something
 like this already built in, very similar to JDBC datasources more
 than once I started implementing something only to realize that Resin
 already had that functionally built in.

 I've been searching at the docs feverishly, but I'm not completely
 sure if I'm understanding what I'm reading.

 Does Resin have functionally built-in to do high-performance LDAP
 connection pools? We need to be able to bind to the directory as an
 authenticated user to perform our searches.

No, Resin doesn't have LDAP pools.  I'm not sure if it's possible.   
Because the LDAP implementations directly hook into javax.naming,  
there's nowhere for Resin to insert itself to pool the connections.

-- Scott



 Thanks!

 - Matt


 ___
 resin-interest mailing list
 resin-interest@caucho.com
 http://maillist.caucho.com/mailman/listinfo/resin-interest



___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


Re: [Resin-interest] LDAP Connection Pooling

2009-03-06 Thread Knut Forkalsrud
You probably already found this with a google search, but I'll point it out
anyway.  Sun describes simple pooling for the JNDI/LDAP stuff:
http://java.sun.com/products/jndi/tutorial/ldap/connect/pool.html

In addition the Spring framework has their own take on LDAP connection
pooling:
http://www.springsource.org/ldap

Disclaimer: I haven't used any of these.

-Knut


On Fri, Mar 6, 2009 at 10:04 AM, Matt White mwh...@leporidae.net wrote:

 On Fri, Mar 6, 2009 at 11:48 AM, Scott Ferguson f...@caucho.com wrote:

  No, Resin doesn't have LDAP pools.  I'm not sure if it's possible.
  Because the LDAP implementations directly hook into javax.naming,
  there's nowhere for Resin to insert itself to pool the connections.

 Thanks Scott!

 Thanks what I needed to know.

 - Matt


 ___
 resin-interest mailing list
 resin-interest@caucho.com
 http://maillist.caucho.com/mailman/listinfo/resin-interest

___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest