• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Postgress double connections
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Postgress double connections


  • Subject: Re: Postgress double connections
  • From: Johann Werner via Webobjects-dev <email@hidden>
  • Date: Sat, 25 Apr 2020 17:06:43 +0200

Hi Michael,

as far as I remember that is the adapter creating an additional connection to
retrieve the list of available data types that (often?) is not closed due to a
bug. You can alter your connection string by adding the param
useBundledJdbcInfo:

dbConnectURLGLOBAL=jdbc:postgresql://your-db-server:5432/your-db-name?useBundledJdbcInfo=true

By this it uses a local copy of the info and skips the retrieval from DB. As
the set of available DB data types is quite constant that should be fully
sufficient for 99% of use cases.

jw


> Am 25.04.2020 um 16:39 schrieb Michael Kondratov via Webobjects-dev
> <email@hidden>:
>
> Hi!
>
>       One of my webobjects applications creates two connections to Postgress
> database after start up instead of one. Any ideas why it may be happening?
>
>
>
> Michael


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Postgress double connections (From: Michael Kondratov via Webobjects-dev <email@hidden>)

  • Prev by Date: Postgress double connections
  • Next by Date: Re: buildability? basic questions...
  • Previous by thread: Postgress double connections
  • Next by thread: PWA
  • Index(es):
    • Date
    • Thread