users@glassfish.java.net

Re: Glassfish issue - JDBC connection pool ping fails

From: plecesne <pierre.lecesne_at_gmail.com>
Date: Tue, 1 Dec 2009 01:57:32 -0800 (PST)

Hi,

Back on my issue...

Only my server is local ; my database is hosted remotely on "mydbserver" so
I'm pretty sure of these options. I'm not sure of datasource name and
network protocol, but I've tried different values and I always have the same
result.

Actually, I think the server doesn't even manage to reach the jndi registry
as, whatever my values are for the datasource classname and the additional
properties, the exceptions remain unchanged : "Connection refused" when
doing a lookup on the registry...

Has anyone an idea why my server couldn't reach the JNDI registry (assuming
that this is the issue) ?

Thank you all for your help.



aldaris wrote:
>
> Hi,
>
> Did you read http://docs.sun.com/app/docs/doc/820-4495/beanb?a=view ?
>
> I guess the servername should be 'localhost'.
> I'm not familiar with sybase, but with mysql, I need only to set:
> - servername (localhost)
> - databasename (mydb)
> - port (3306)
> - user (myuser)
> - password (mypass)
> fields.
>
> Are you certain about datasourcename and networkprotocol properties
> really exists for this type of connection pool?
>
> Regards,
> Peter
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>
>

-- 
View this message in context: http://old.nabble.com/Glassfish-issue---JDBC-connection-pool-ping-fails-tp26545369p26588115.html
Sent from the java.net - glassfish users mailing list archive at Nabble.com.