If JBoss is going down in order ??? !!! , then my fix is taking care of
doing a clean shutdown of hypersonic ! - if You pull the electricity from
under the machine or kill pid - that do not ! allow JMX - inturn - to call
stopService(); then You can not quote my shutdown fix for hypersonic ...
=|;-)

on 1-08-27 19.59, marc fleury at [EMAIL PROTECTED] wrote:

> I put some fixmes on your code :9
> 
> I don't see the command really working well.
> 
> The problem with the shutdown is that it doesn't really shutdown the db, it
> leaves it running (on linux at least) and the net result is that sometimes
> the properties file says it wasn't shut down properly and then it fails. It
> fails because for some reason the thread never really moves forward and
> reach "HSQL 1.4 started".  If it does then everything is fine. Go figure.
> 
> So what hangs the DB is the following sequence
> 1- unclean shutdown of hsql
> 2- restart
> 3- start of hsql takes time
> 3'- if 3 is finished before 4 then everything else is ok if not then...
> 4- JMX boot proceeds
> 5- hsql never really recovers or prints the "hsql 1.4 started"
> 6- JBoss is hung in boot somehow
> 
> Right now if you remove step 1 or 3' is true, it works, it seems the
> shutdown procedure you coded in there is not foolproof.
> 
> One thing that would really be nice would be to build a callback in the boot
> sequence of hsql so that the mbean would be notified and would wait until
> exiting the "preRegister" right now I put a "wait()" that works but it is
> not the best solution.  If you do that then you can probably code a
> hardcoded shutdown, something outside the JDBC call, go native?
> 
> marcf
> 
> 
> |-----Original Message-----
> |From: [EMAIL PROTECTED]
> |[mailto:[EMAIL PROTECTED]]On Behalf Of Peter
> |Fagerlund
> |Sent: Monday, August 27, 2001 1:36 PM
> |To: [EMAIL PROTECTED]
> |Subject: Re: [JBoss-dev] RE: [JBoss-user] BindException on
> |InstantDBsinceUpgrading to JBoss 2.4 + Tomcat 3.2.3 Package
> |
> |
> |on 1-08-27 18.52, David Jencks at [EMAIL PROTECTED] wrote:
> |> Also the hang happens no matter what the next mbean is.
> |
> |oki so
> |
> |- no lingering thread !
> |- db corrupt ? (not closed by ctrl c, port:8082, util.Shutdown())
> |- hangs only on RH ?
> |
> |2.4 comes with data in the .script file ... it seems
> |"deserialising" data at
> |restart - after a unclean shutdown ? (only ?) - hangs the db ?
> |throw out the
> |.script file and close clean ? ...
> |
> |/peter_f
> |


there was some consern with serialised data comming back online ! ... after
a clean shutdown and restart, that i not fully could reproduce on my end,
back then ... so lets keep it on watch ? ...

/peter_f


> |_______________________________________________
> |Jboss-development mailing list
> |[EMAIL PROTECTED]
> |http://lists.sourceforge.net/lists/listinfo/jboss-development
> 
> 
> _______________________________________________
> Jboss-development mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-development


_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to