Re: Cannot create PoolableConnectionFactory

2010-03-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 RayDon, On 3/1/2010 12:46 PM, RayDon1 wrote: > Caused by: org.postgresql.util.PSQLException: Connection refused. Seems pretty straightforward. > SERVER > Active Internet connections (servers and established) > Proto Recv-Q Send-Q Local Address

RE: Cannot create PoolableConnectionFactory

2010-03-01 Thread Caldarale, Charles R
> From: RayDon1 [mailto:crdoi...@yahoo.com] > Subject: RE: Cannot create PoolableConnectionFactory > > > > name="jdbcConnectionString" > auth="Container" > type="javax.sql.DataSource" >

RE: Cannot create PoolableConnectionFactory

2010-03-01 Thread RayDon1
> Post the element you're using to define the connection pool. > Does it have appropriate security credentials specified in it? Can you > connect to the PostGreSQL server using those credentials by some means > other than Tomcat? > > - Chuck > The user and password are valid an

RE: Cannot create PoolableConnectionFactory

2010-03-01 Thread Caldarale, Charles R
> From: RayDon1 [mailto:crdoi...@yahoo.com] > Subject: Cannot create PoolableConnectionFactory > > org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create > PoolableConnectionFactory (Connection refused. Check that the hostname > and port are correct and that the postmaster is accepting TCP/

Re: Cannot create PoolableConnectionFactory

2009-03-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mel, On 3/23/2009 1:24 AM, Mel McGuire wrote: > No problem seen with mysql or the mysql command line utility. > Tomcat comes up and down alright. [snip] > url="jdbc:mysql://localhost:3306/nlocalhost" > removeAbandoned="true

Re: Cannot create PoolableConnectionFactory (Unexpected exception encountered during query.)

2008-12-30 Thread Stefan Riegel
Thanks a lot David, everything works fine for the moment. The latest, original tomcat 6 did the trick. This resolved also some other issues with autoexpanding WAR files and with logging. On the other hand, I have to figure out writing the init script and installing tomcat as a unix daemon. Hope

Re: Cannot create PoolableConnectionFactory (Unexpected exception encountered during query.)

2008-12-29 Thread David Smith
Thanks ... the config in your context.xml and web.xml look normal enough. I would recommend you change your JDK from OpenJDK to Sun's JDK though. Also was this installed from a Ubuntu's package or installed from a tomcat.apache.org download? If installed from Ubuntu, do a search of Ubuntu's docs

Re: Cannot create PoolableConnectionFactory (Unexpected exception encountered during query.)

2008-12-29 Thread Stefan Riegel
Here it comes: --- context.xml in META-INF --- WEB-INF/web.xml password="also-correct" driverClassName="com.mysql.jdbc.Driver" url="jdbc:mysql://localhost:3306/swex-products" /> -- web.xml in WEB-

Re: Cannot create PoolableConnectionFactory (Unexpected exception encountered during query.)

2008-12-29 Thread David Smith
Can you post relevant parts of your config? Replace the username, password and hostnames with fakes, but otherwise post exactly what you have in your specific environment. --David Stefan Riegel wrote: > Hi all, > > I'm trying to connect to a MySQL database based on the Tomcat Docs > example. See