Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home
« Groups Home
Message from discussion Shutting down Ebean
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Alex  
View profile  
 More options Oct 19 2009, 2:00 am
From: Alex <alxa...@googlemail.com>
Date: Mon, 19 Oct 2009 08:00:41 +0200
Local: Mon, Oct 19 2009 2:00 am
Subject: [ebean] Re: Shutting down Ebean
Hi

> I haven't tried this yet.  The code looks fine ... the line
> "serverConfig.addClass(Hello.class);" ... should probably be outside that if
> statement (you always register the bean even if you don't run the DDL).

ok

> You don't (shouldn't) need that explicit call to
> ShutdownManager.shutdown();  Ebean registers a shutdown hook ... we should
> never need to code that ourselves. I'm pretty sure you added that after you
> got this issue.

yes, that was the reason why I've added that.

> I think we are running different JVM's (Linux, MacOS and I'm using Windows
> mostly).
> So yeah, I'll give it a go tonight. A ~1min wait/hang at shutdown ... I'll
> probably look to use MySql so as to discount H2 background threads from the
> issue.

great, thanks, alx

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.