From users-return-13880-apmail-tomee-users-archive=tomee.apache.org@tomee.apache.org Thu Oct 17 10:51:41 2013 Return-Path: X-Original-To: apmail-tomee-users-archive@www.apache.org Delivered-To: apmail-tomee-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id AC098109D9 for ; Thu, 17 Oct 2013 10:51:41 +0000 (UTC) Received: (qmail 9380 invoked by uid 500); 17 Oct 2013 10:51:40 -0000 Delivered-To: apmail-tomee-users-archive@tomee.apache.org Received: (qmail 9314 invoked by uid 500); 17 Oct 2013 10:51:40 -0000 Mailing-List: contact users-help@tomee.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@tomee.apache.org Delivered-To: mailing list users@tomee.apache.org Received: (qmail 9305 invoked by uid 99); 17 Oct 2013 10:51:39 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Oct 2013 10:51:39 +0000 X-ASF-Spam-Status: No, hits=2.8 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of rmannibucau@gmail.com designates 209.85.216.169 as permitted sender) Received: from [209.85.216.169] (HELO mail-qc0-f169.google.com) (209.85.216.169) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Oct 2013 10:51:34 +0000 Received: by mail-qc0-f169.google.com with SMTP id x12so1416093qcv.28 for ; Thu, 17 Oct 2013 03:51:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=BRo5W+yF3+B1ZMBfaSDvbA6XIXeI0L5sCrhKU66XZgs=; b=zH6TMaHx9nKIyHY5eUqg9h8jFqPTHr1PyR9aTM0GoG5CRhbDp37EyXAlhr3gI/LbEL WGiCKN/KlqhBooDKdzYehI1JoBcu1s9pZ2/tZN/IkPrf1ojkkoy5+rIBpcJCDvF+7l8d easG2cUGKWk8cpav5BdKTiBNI/9LAGvq7x2OvYtXcML/486crmgh+ZnkkEcA4UHUn7yy d/Wml//s3H0ZWOPq3pCsQh5/esHkhpJaxqimzh88DXQ/aNittNPTrRX8q6FRs6gDscM5 ayTEMvXxnzpKkmyOol2vzCDA3E49M329bv9b+DCy1vXVHuyEFfpyINAVKEYCvS0/Avxj MLDA== X-Received: by 10.224.16.8 with SMTP id m8mr11334302qaa.28.1382007073207; Thu, 17 Oct 2013 03:51:13 -0700 (PDT) MIME-Version: 1.0 Received: by 10.96.41.99 with HTTP; Thu, 17 Oct 2013 03:50:53 -0700 (PDT) In-Reply-To: <1381916270930-4665596.post@n4.nabble.com> References: <1381916270930-4665596.post@n4.nabble.com> From: Romain Manni-Bucau Date: Thu, 17 Oct 2013 12:50:53 +0200 Message-ID: Subject: Re: Default scheduler initialize error in case of oracle persisted scheduler beans To: "users@tomee.apache.org" Cc: OpenEJB Users Content-Type: multipart/alternative; boundary=001a11c2a41cacfe8804e8ed98f6 X-Virus-Checked: Checked by ClamAV on apache.org --001a11c2a41cacfe8804e8ed98f6 Content-Type: text/plain; charset=ISO-8859-1 Hi is it linked to the db or does it behave the same way with mysql/hsqldb? *Romain Manni-Bucau* *Twitter: @rmannibucau * *Blog: **http://rmannibucau.wordpress.com/* *LinkedIn: **http://fr.linkedin.com/in/rmannibucau* *Github: https://github.com/rmannibucau* 2013/10/16 tschuler > Hi! > > We are using latest TomEE 1.6.0 snapshot and try to persist scheduled beans > in an oracle database. > The TomEE startup fails because the default scheduler cannot be > initialized. > > Attached zip ( DefaultSchedulerInitializeError.zip > < > http://openejb.979440.n4.nabble.com/file/n4665596/DefaultSchedulerInitializeError.zip > > > ) includes the error message and simple tests for scheduler > initializations: > > - PersistedSchedulerBeanOracleTest.java: demonstrates failed startup for > oracle database > - PersistedSchedulerBeanMSSQLTest.java: demonstrates successful startup for > mssql database > - SchedulerBeanUnderTest.java: (needed as @Module and for further tests) > - DefaultSchedulerInitializeError.txt: Server startup exception while > default scheduler initialization > > To make the tests running an oracle/mssql database and an oracle/mssql jdbc > driver (ojdbc6.jar/sqljdbc4.jar) are needed, also URL, USERNAME and > PASSWORD > in Testclasses must be adapted. > The test creates the needed quartz tables while startup and deletes them > while shutdown. A simple test case (that does nothing right now) enforces > the server startup. > > Can you give a hint why default scheduler cannot be initialized while > server > startup? > > Best regards, > Thomas > > > > > -- > View this message in context: > http://openejb.979440.n4.nabble.com/Default-scheduler-initialize-error-in-case-of-oracle-persisted-scheduler-beans-tp4665596.html > Sent from the OpenEJB User mailing list archive at Nabble.com. > --001a11c2a41cacfe8804e8ed98f6--