users@glassfish.java.net

Re: Glassfish v3 connection pool problems

From: Anissa Lam <Anissa.Lam_at_Sun.COM>
Date: Wed, 04 Nov 2009 12:02:07 -0800

Nothing change for v2.

In your blog, you mentioned:
There is a special meta-string that can be used in property values to represent a zero length string. ()
This special string can be used in asadmin's set subcommand, in the Admin GUI's property table and in the IDE wizards.

I have no idea if backend is still honoring this,  GUI just pass in whatever user enters.  I  think GUI shouldn't rely on something like this which I doubt is documented anywhere and I consider that un-official.   It needs to support an empty value password case for v3.   Thus the changes.


thanks
Anissa.

vince kraemer wrote:
when did http://blogs.sun.com/vkraemer/entry/no_passwordcredential_found become obsolete in v2?

vbk

Anissa Lam wrote:
Hi Marina,

I agree with you,  thats exactly why i need to change the behavior for v3.
In v2,  there is no way for user to specify a property with "" through GUI,  for something like this:
   <property name="password" value="" />

Now,  In v3,  if user create a property with Name but didn't fill in the value in the value column,  GUI will assume the user wants an empty value, and pass that to the backend.  Resulting in  <property name="property-with-empty-value"   value="" />

It is now the user's  responsibility to remove any property that they don't want   instead of relying  on GUI to filter that out.

thanks
Anissa

Marina Vatkina wrote:
How about an empty password that was not possible to set via GUI in v2.x?

thanks,
-marina

glassfish@javadesktop.org wrote:
This seems like an issue when there are some properties with "" as values for them. When i remove such properties and try to ping the connection pool, it succeeds.
There is an issue related to the removal of the properties with "" values when the pool is created. This would be done the admin GUI (same behavior as in V2). Please refer https://glassfish.dev.java.net/issues/show_bug.cgi?id=10780 .
[Message sent by forum member 'sm157516' (shalini.muthukrishnan@sun.com)]

http://forums.java.net/jive/thread.jspa?messageID=370436

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
For additional commands, e-mail: users-help@glassfish.dev.java.net



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
For additional commands, e-mail: users-help@glassfish.dev.java.net


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
For additional commands, e-mail: users-help@glassfish.dev.java.net



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
For additional commands, e-mail: users-help@glassfish.dev.java.net