Re: [v1.1.1] Classloader problem

2007-08-22 Thread Damien Barthe
Hello, thanks for the tip. I try to put the spring lib and the spring app into the /lib directory of the EAR. I also try to install these JAR in Geronimo (it put the lib in the repository)...and unfortunately the 2 webapps continue to have a different instance of the Service... (NB : I use

Please help me to understand JAAS login for stanalone cilent

2007-08-22 Thread Oleg Nitz
Hi All, I am trying to set up JAAS login for standalone client. On server I have successfully deployed EAR with the following security section in geronimo-application.xml: security xmlns=http://geronimo.apache.org/xml/ns/security-1.1; default-principal realm-name=irbis

Re: Geronimo 1.1.1's Javamail does not work for some SMTP server with more than 1 beginning lines

2007-08-22 Thread Rick McGuire
Chua Chee Seng wrote: Hi Rick, Thanks for the reply. I would be happy to help out testing it. However, I am very new to this community and some guidance is really appreciated. :-) This should be fairly simple. I built a 1.1.1 version of SMTP code and placed it here:

Re: [v1.1.1] Classloader problem

2007-08-22 Thread David Jencks
On Aug 22, 2007, at 1:59 AM, Damien Barthe wrote: Hello, thanks for the tip. I try to put the spring lib and the spring app into the /lib directory of the EAR. I also try to install these JAR in Geronimo (it put the lib in the repository)...and unfortunately the 2 webapps continue to

Re: Please help me to understand JAAS login for stanalone cilent

2007-08-22 Thread David Blevins
Hi Oleg, This feature was added to the standalone client in Geronimo 2.0. -David On Aug 22, 2007, at 7:09 AM, Oleg Nitz wrote: Hi All, I am trying to set up JAAS login for standalone client. On server I have successfully deployed EAR with the following security section in

Database Pool Monitoring

2007-08-22 Thread Christopher Gibbs
Does anyone know of a way to monitor the number of connections being used in a particular database pool? We have set a high max number of connections but we would like to know exactly how many connections it us using up. Thanks. - Chris

Re: Database Pool Monitoring

2007-08-22 Thread Jay D. McHugh
Chris, I do not believe that there is any place in the admin console that shows how many connections are being used in a database pool. I am pretty sure that as soon as you use one that it grabs the minimum immediately. For myself, I use the monitoring tools that come with my database. I

Re: [v1.1.1] Classloader problem

2007-08-22 Thread Kevan Miller
On Aug 22, 2007, at 11:50 AM, David Jencks wrote: On Aug 22, 2007, at 1:59 AM, Damien Barthe wrote: Hello, thanks for the tip. I try to put the spring lib and the spring app into the /lib directory of the EAR. I also try to install these JAR in Geronimo (it put the lib in the

Re: Please help me to understand JAAS login for stanalone cilent

2007-08-22 Thread David Jencks
IIRC there was a way to do a remote login from a non-j2ee app client in 1.1 but it was very hard and I don't remember how to get it to work. Can you switch to 2.0.1? I'm not sure if the jndi security parameters will result in a successful login but I think you can use the

Re: Please help me to understand JAAS login for stanalone cilent

2007-08-22 Thread David Blevins
David, do you know if the SecurityProvider in Geronimo will supply a default value of realm when plain user/pass login is done? If so than JNDI login as follows should work: props.setProperty(java.naming.security.principal, admin); props.setProperty(java.naming.security.credentials,

Re: Geronimo 1.1.1's Javamail does not work for some SMTP server with more than 1 beginning lines

2007-08-22 Thread Chua Chee Seng
Hi Rick, It does not work. When executed, the debugging console is showing these lines:- 220-xxx.xxx.xxx ESMTP Exim x.xx #1 Mon, 20 Aug 2007 16:29:11 +0800 220-We do not authorize the use of this system to transport unsolicted, 220 and/or bulk email. It then stopped there until a Read timed

Re: Geronimo 1.1.1's Javamail does not work for some SMTP server with more than 1 beginning lines

2007-08-22 Thread Chua Chee Seng
Hi Johnanes, Thank you for your reply, but I think the client account and the smtp are fine, as when I substituded it with Sun's Javamail implementation it works fine. The source code shows that it doesn't support multilines 220, and Rick is going to fix it very soon. :-) Thank you very much

Re: Geronimo 1.1.1's Javamail does not work for some SMTP server with more than 1 beginning lines

2007-08-22 Thread Chua Chee Seng
Sorry, correction:- Should be: line.isContinued() is always returning true Regards, Chee Seng Chua Chee Seng wrote: Hi Rick, It does not work. When executed, the debugging console is showing these lines:- 220-xxx.xxx.xxx ESMTP Exim x.xx #1 Mon, 20 Aug 2007 16:29:11 +0800 220-We