I have removed the reference to the Hibernate persistence provider in my
persistence.xml. Now I get these two errors when I deploy:
Error in allocating a connection. Cause: Connection could not be allocated
because: java.net.ConnectException : Error opening socket to server localhost
on port 1
I'm not 100% sure what you mean by that, but, taking the simplest explanation
:P I can connect to the DB (pgsql) using a variety of tools, and I can ping the
connection pool from the GlassFish admin tool. I'm specifying the dialect in
my persistence.xml, and connectivity with the DBMS seems to
I don't know if it is the issue you are facing, but I get that same error
message when I forget to start the database and run a Seam application.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4064186#4064186
Reply to the post :
http://www.jboss.com/index.htm