#865 new
Nicholas C. Zakas

Testing error (HSQL) while using evolutions

Reported by Nicholas C. Zakas | May 25th, 2011 @ 01:15 AM

Please include as much relevant information as possible including the exact framework version you're using and a code snippet that reproduces the problem.

Framework version: 1.2.1
Platform you're using: Java

Reproduction steps:

Run play auto-test for a test uses Fixtures.loadModels() in setUp() and Fixtures.clearModel() in tearDown().

Details:

Whenever I run tests using YAML data and play auto-test, it exits with this error:

18:00:23,792 INFO ~ Automatically applying evolutions in in-memory database
@KILLED 18:00:50,549 ERROR ~ schema export unsuccessful
org.h2.jdbc.JdbcSQLException: Database is already closed (to disable automatic closing at VM shutdown, add ";DB_CLOSE_ON_EXIT=FALSE" to the db URL) [90121-149]

    at org.h2.message.DbException.getJdbcSQLException(DbException.java:327)
    at org.h2.message.DbException.get(DbException.java:167)
    at org.h2.message.DbException.get(DbException.java:144)
    at org.h2.message.DbException.get(DbException.java:133)
    at org.h2.jdbc.JdbcConnection.checkClosed(JdbcConnection.java:1333)
    at org.h2.jdbc.JdbcConnection.checkClosed(JdbcConnection.java:1308)
    at org.h2.jdbc.JdbcConnection.getAutoCommit(JdbcConnection.java:380)
    at com.mchange.v2.c3p0.impl.NewProxyConnection.getAutoCommit(NewProxyConnection.java:985)
    at org.hibernate.tool.hbm2ddl.SuppliedConnectionProviderConnectionHelper.prepare(SuppliedConnectionProviderConnectionHelper.java:52)
    at org.hibernate.tool.hbm2ddl.SchemaExport.execute(SchemaExport.java:263)
    at org.hibernate.tool.hbm2ddl.SchemaExport.drop(SchemaExport.java:229)
    at org.hibernate.impl.SessionFactoryImpl.close(SessionFactoryImpl.java:961)
    at org.hibernate.ejb.EntityManagerFactoryImpl.close(EntityManagerFactoryImpl.java:127)
    at play.db.jpa.JPAPlugin.onApplicationStop(JPAPlugin.java:289)
    at play.plugins.PluginCollection.onApplicationStop(PluginCollection.java:420)
    at play.Play.stop(Play.java:502)
    at play.Play$1.run(Play.java:410)

Comments and changes to this ticket

  • skproduction

    skproduction March 7th, 2019 @ 02:21 PM

    I really impressed after read this because of some quality work and informative thoughts . I just wanna say thanks for the writer and wish you all the best for coming!. https://marketplace.seo-sa.com/category/link-building/

  • jahangirkhatri

    jahangirkhatri March 18th, 2019 @ 04:04 AM

    tremendous article, thank you for putting this collectively! this is obviously one allowable publicize. thanks for the important advice and insights you have as a end result furnished right here. modern high school

  • tvguide4u

    tvguide4u March 20th, 2019 @ 03:53 PM

    The FenFast 375 is a blend with clinically-researched and tested fat fighting and fat blocking ingredients like L-Phenylalanine, Caffeine, L-Theanine, Hordenine HCl and more. Before you order for your purchase, visit phenofficial for FenFast 375 Discount Code.

  • tvguide4u
  • jahangirkhatri

    jahangirkhatri March 21st, 2019 @ 09:50 AM

    it became a first rate unintentional to visit this nice of site and i am satisfied to recognize. thank you therefore lots for giving us a chance to have this possibility.. Best Male Enhancement Supplements of 2019

  • muneebkhatri

    muneebkhatri March 22nd, 2019 @ 07:37 PM

    Cool stuff you have and you keep overhaul every one of us Situs Judi Bola Terpercaya

  • skproduction

    skproduction March 23rd, 2019 @ 05:08 PM

    Very informative post! There is a lot of information here that can help any business get started with a successful social networking campaign. AboutNutra

  • seoexpert

    seoexpert March 27th, 2019 @ 04:26 PM

    I’m going to read this. I’ll be sure to come back. thanks for sharing. and also This article gives the light in which we can observe the reality. this is very nice one and gives indepth information. thanks for this nice article... oferty pracy

  • muneebkhatri

    muneebkhatri March 29th, 2019 @ 07:58 PM

    I have been searching to find a comfort or effective procedure to complete this process and I think this is the most suitable way to do it effectively. Bottle Top Dispensers

  • jahangirkhatri

    jahangirkhatri April 16th, 2019 @ 03:17 AM

    in case you are searching out extra advocate very about flat fee locksmith Las Vegas take a look at that proper away. Vien tham my us

  • skproduction

    skproduction April 16th, 2019 @ 12:09 PM

    Hey what a brilliant post I have come across and believe me I have been searching out for this similar kind of post for past a week and hardly came across this. Thank you very much and will look for more postings from you. وب اکسو خرید بک لینک

  • madhuDm

    madhuDm April 17th, 2019 @ 07:19 AM

    Thanks for sharing valuable information. AWS Certification

  • Jack Daniel

    Jack Daniel April 24th, 2019 @ 11:17 AM

    Have faced the same HSQL while using the amortization Calculator

  • lindarose11

    lindarose11 April 26th, 2019 @ 04:36 AM

    The article you have shared here very awesome happy wheels

  • Alberta

    Alberta May 6th, 2019 @ 05:52 AM

    Hello! Nice blog, I am quite sure will learn lots of new stuff here than anybody else! Keep it up.

    popcorn

  • jahangirkhatri

    jahangirkhatri May 11th, 2019 @ 08:00 AM

    0892 22 20 22 voyance amour eternel be triumphant! it can be one of the maximum beneficial blogs we have ever come upon upon the difficulty. first rate data! Im similarly to an expert in this topic consequently i can obtain your attempt tremendously quick. thank you for the massive formerly.

  • SOBATPOKER

    SOBATPOKER May 25th, 2019 @ 11:05 AM

    Thank you for a super allocation. Your article has proved your difficult produce an impact and experience you've got were given on this showground.Poker Online

  • jahangirkhatri

    jahangirkhatri June 10th, 2019 @ 10:06 AM

    cvv shop login fine web site, in which did u arrive occurring thinking about the find the kid assist for advice greater or much less this posting?i've admittance most of the articles concerning your internet site now, and that i in try of reality additionally your fashion. thank you 1,000,000 and preserve busy shop happening the energetic discharge loyalty.

  • sbobet shot

    sbobet shot June 11th, 2019 @ 09:36 AM

    Login permainan judi online SBOBET telah bukan perihal yg asing lagi waktu ini. beraneka ragam macam permainan judi online yg sanggup menciptakan para bettor terus mau main-main. Bahkan makin hri jumlah pemain judi makin bertambah. faktor tersebut lantaran benar-benar permainan judi benar-benar telah teramat menarik utk dicoba & dimainkan terhadap waktu disaat luang. tetapi kala ini seiring bersama berkembangnya jaman permainan judi telah tak cuma dimainkan bersama bertaruh serta-merta di lokasi casinonya.

    tapi berkembangnya jaman permainan judi saat ini telah mampu dimainkan dengan cara online, kamu cuma butuh meluangkan ketika & duit buat bertaruh dengan cara online ini. buat permainan judi online kamu telah mampu memainkan di mana saja & kapan saja cuma bermodalkan internet kamu dapat main kalem & cuma tinggal menunggu hasil taruhan kamu selesai dgn santai.

    Official Website: http://sunday999.co/

  • anaya

    anaya June 15th, 2019 @ 11:55 AM

    The web site is lovingly serviced and saved as much as date. So it should be, thanks for sharing this with us. 메이저사이트추천

  • conquistador

    conquistador June 16th, 2019 @ 10:09 AM

    ایرلاینها، موجودی صندلی‌های ذات تن را محو كردن چندین راه مختلف تدبیر کرده و آمار نشان را با میترا و ماه مهرماه تمنا آزمایش پذیر روند خرید بررسی می‌کنند. همان‌طور که می‌دانید برای شرا بلیط جت تکنیک‌های مختلفی ذکر شده است. اگر شما بی تاریخ و زمان خود مشکل نداشته باشید، بلیط هواپیما انزجار بها مناسب و هم تخفیف بیشتری لخت مند خواهید شد. معمولا با یک جستجوی مغلق و آسان جمان اینترنت می‌توان وبسایت‌هایی را پیدا کرد که اختصاص خرید بلیط جت هستند های اگر خواه پته ارزان‌تری قرابت به دیگر وبسایت‌ها نمایش می‌دهد.

  • jahangirkhatri

    jahangirkhatri June 16th, 2019 @ 03:51 PM

    tremendous web page, where did u arrive occurring thinking of the opinion within the region of this posting?i've right of proper of right of access some of the articles approaching your website now, and that i in truth subsequent to your fashion. thank you a million and absorb save taking vicinity the energetic institution. Dingdong online

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2>Play framework</h2>

Play makes it easier to build Web applications with Java. It is a clean alternative to bloated Enterprise Java stacks. It focuses on developer productivity and targets RESTful architectures. Learn more on the <a href="http://www.playframework.org">http://www.playframework.org</a> website.<br><br>

<h2>Source code is hosted on github</h2>Check out our repository at <a href="http://github.com/playframework/play">http://github.com/playframework/play</a><br><br>

<h2>Contributing, creating a patch</h2> Please read the <a href="http://play.lighthouseapp.com/projects/57987/contributor-guide">contributor guide</a><br><br>

<h2>Reporting Security Vulnerabilities</h2> Since all bug reports are public, please report any security vulnerability directly to <em>guillaume dot bort at gmail dot com</em>.<br><br>

<h2>Creating a bug report</h2> Bug reports are incredibly helpful, so take time to report bugs and request features in our ticket tracker. We’re always grateful for patches to Play’s code. Indeed, bug reports with attached patches will get fixed far quickly than those without any.<br><br>

Please include as much relevant information as possible including the exact framework version you're using and a code snippet that reproduces the problem.<br><br>

Don't have too much expectations. Unless the bug is really a serious "everything is broken" thing, you're creating a ticket to start a discussion. Having a patch (or a branch on Github we can pull from) is better, but then again we'll only pull high quality branches that make sense to be in the core of Play.

People watching this ticket

Referenced by

Pages