agora inbox for pljava-dev@postgresql.org  
help / color / mirror / Atom feed
Subject: [Pljava-dev] postmaster hangs if JVM does not close nicely in windows
Date: Fri, 04 Nov 2011 21:46:46 +0000
Message-ID: <x6r51nzhkp.fsf@2ndquadrant.com> (raw)
In-Reply-To: <1320410442.74423.YahooMailNeo@web35706.mail.mud.yahoo.com>
References: <1320410442.74423.YahooMailNeo@web35706.mail.mud.yahoo.com>

Nathan Egge <nathanegge at yahoo.com> writes:

> I ended up creating a patch for pl/Java that allowed me to get a
> Java event right before the JVM is destroyed (the onDestroyJavaVM
> event) which I could use to clean up and shutdown the services
> running, before pl/Java tried to stop the JVM.  This may be useful
> to anyone else who is running complex Java services inside their
> database, so I have attached my patch to the issue Tracker here:

Before applying that patch, I'd like to see it documented somewhere,
somehow, how to use it.  Can you write a short description of this
facility?

> http://pgfoundry.org/tracker/index.php?func=detail&aid=1011111&group_id=
> 1000038&atid=336


-- 
   Johann Oskarsson                http://www.2ndquadrant.com/    |[]
   PostgreSQL Development, 24x7 Support, Training and Services  --+--
                                                                  |
   Blog: http://my.opera.com/myrkraverk/blog/




view thread (2+ messages)

Message-ID: <x6r51nzhkp.fsf@2ndquadrant.com>
Permalink:  ../x6r51nzhkp.fsf@2ndquadrant.com/
Also on:    postgresql.org/message-id/x6r51nzhkp.fsf@2ndquadrant.com

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pljava-dev@postgresql.org
  Subject: Re: [Pljava-dev] postmaster hangs if JVM does not close nicely in windows
  In-Reply-To: <x6r51nzhkp.fsf@2ndquadrant.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox