tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tschuler <thomas.schu...@opentext.com>
Subject AW: Default scheduler initialize error in case of oracle persisted scheduler beans
Date Thu, 17 Oct 2013 11:07:40 GMT
Hi!

I checked MSSQL database (works) and the TomEE internal hsql database (works too).
I have no experiences with Mysql, sorry!
So it seems to be a problem for oracle databases only - as far as I know independent from
oracle database version and oracle jdbc driver version.

Best regards,
                Thomas


Von: Romain Manni-Bucau [via OpenEJB] [mailto:ml-node+s979440n4665604h34@n4.nabble.com]
Gesendet: Donnerstag, 17. Oktober 2013 12:52
An: Thomas Schuler
Betreff: Re: Default scheduler initialize error in case of oracle persisted scheduler beans

Hi

is it linked to the db or does it behave the same way with mysql/hsqldb?

*Romain Manni-Bucau*
*Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
*Blog: **http://rmannibucau.wordpress.com/*<http://rmannibucau.wordpress.com/>
*LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
*Github: https://github.com/rmannibucau*



2013/10/16 tschuler <[hidden email]</user/SendEmail.jtp?type=node&node=4665604&i=0>>

> 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.
>

________________________________
If you reply to this email, your message will be added to the discussion below:
http://openejb.979440.n4.nabble.com/Default-scheduler-initialize-error-in-case-of-oracle-persisted-scheduler-beans-tp4665596p4665604.html
To unsubscribe from Default scheduler initialize error in case of oracle persisted scheduler
beans, click here<http://openejb.979440.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4665596&code=dGhvbWFzLnNjaHVsZXJAb3BlbnRleHQuY29tfDQ2NjU1OTZ8LTE4NTIyNTQ0OTI=>.
NAML<http://openejb.979440.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>




--
View this message in context: http://openejb.979440.n4.nabble.com/Default-scheduler-initialize-error-in-case-of-oracle-persisted-scheduler-beans-tp4665596p4665605.html
Sent from the OpenEJB User mailing list archive at Nabble.com.
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message