Quartz Plugin

When uninstalling the Hibernate Plugin, the Quartz Plugin (probably others) do no longer work as they depend on Hibernate classes.

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: 1.0-RC
  • Component/s: None
  • Labels:
    None

Description

It is probably not very common to run Grails without the Hibernate Plugin, but in this case I do not need persistence and uninstalled the plugin. At the same time I need the Quartz plugin to run some periodic tasks. It seems the plugin is dependend on the hibernate classes and even my jobs definie

def sessionRequired = false

to indicate I do not need a hibernate session, graisl will not start up.

My fix for now is to include the hibernate plugin again, and have a in-memory db configured for all environments.

The best way to solve this is probably to find a way to deactivate the hibernate plugin while having all its jars in the classpath for whatever plugins depend on it.

Activity

Hide
Graeme Rocher added a comment -

This is not an issue with Grails itself, but up to the plugins to make sure they load gracefully without the hibernate plugin installed

Show
Graeme Rocher added a comment - This is not an issue with Grails itself, but up to the plugins to make sure they load gracefully without the hibernate plugin installed
Hide
Sergey Nebolsin added a comment -

Fixed in the master branch.

Show
Sergey Nebolsin added a comment - Fixed in the master branch.

People

Vote (1)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: