Skip to main content

GlassFishV2, PostgreSqlPool ping issue

1 reply [Last post]
grj99
Offline
Joined: 2010-01-30

Hi All,

Learning GlassFishV2.1.1-b31g with postgresql 8.4-701. I'm trying to ping to a connection pool PostgreSqlPool with port 3306. Error message is

java.lang.RuntimeException: javax.resource.ResourceException: Connection could not be allocated because: Protocol error. Session setup failed.

Any suggestions?

Thanks GRJ99

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
genekhart
Offline
Joined: 2005-12-25

i believe port 3306 is for mysql. try port 5432 for postgresql