users@glassfish.java.net

wrong connection used?

From: Glenn Holmer <gholmer_at_weycogroup.com>
Date: Wed, 15 Jan 2014 15:17:34 -0600

Using GlassFish 4.0, writing some REST code. I can test all of my
endpoints in a browser, except for one: when I try it, there's an
exception like this:

Caused by: javax.resource.spi.ResourceAllocationException: Error in
allocating a connection. Cause: Connection could not be allocated
because: java.net.ConnectException : Error connecting to server
localhost on port 1527 with message Connection refused.

But I'm not using Derby (port 1527), I'm using Postgres (port 5432)! Why
would GlassFish be trying to connect like that? Has anybody else seen
anything like this?

-- 
Glenn Holmer
Weyco Group, Inc.
phone: 414-908-1809
fax: 414-908-1601