Issue with email-confirmation-2.0.6

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Issue with email-confirmation-2.0.6

SAgrawal14
Hello,
I am having an issue with the email-confirmation plugin ( version 2.0.6).
I installed asynchronous-mail plugin (version 0.6), and for meeting its dependency installed quartz2 plugin (version 0.2.3) and placed quartz-2.1.0 jar in library. I have deleted the previously installed quartz plugin ( version 1.0-RC2). I upgraded email-confirmation plugin from 1.0.5 to 2.0.6 since the prior one needs quartz plugin. Also, the code for using email-confirmation was modified as per the changes in the new version( using event listeners in place of closures). I made changes to the complie dependency in email-confirmation-2.0.6 from quartz-1.0-RC2 to quartz2-0.2.3.
When email-confirmation-2.0.6 is installed, following exception occurs:
GrailsJobFactory.java:49: cannot find symbol
symbol : method newJob(org.quartz.spi.TriggerFiredBundle,org.quartz.Scheduler)
location: class org.quartz.simpl.PropertySettingJobFactory
return super.newJob(bundle,scheduler);

But it works perfectly well on uninstalling email-confirmation-2.0.6. Kindly guide me on the issue.

Thank You


Thank You,

SA
Reply | Threaded
Open this post in threaded view
|

Re: Issue with email-confirmation-2.0.6

Marc Palmer Local

On 26 Sep 2012, at 10:11, Shubham Agrawal <[hidden email]> wrote:

> Hello,
> I am having an issue with the email-confirmation plugin ( version 2.0.6).
> I installed asynchronous-mail plugin (version 0.6), and for meeting its dependency installed quartz2 plugin (version 0.2.3) and placed quartz-2.1.0 jar in library. I have deleted the previously installed quartz plugin ( version 1.0-RC2). I upgraded email-confirmation plugin from 1.0.5 to 2.0.6 since the prior one needs quartz plugin. Also, the code for using email-confirmation was modified as per the changes in the new version( using event listeners in place of closures). I made changes to the complie dependency in email-confirmation-2.0.6 from quartz-1.0-RC2 to quartz2-0.2.3.
> When email-confirmation-2.0.6 is installed, following exception occurs:
> GrailsJobFactory.java:49: cannot find symbol
> symbol : method newJob(org.quartz.spi.TriggerFiredBundle,org.quartz.Scheduler)
> location: class org.quartz.simpl.PropertySettingJobFactory
> return super.newJob(bundle,scheduler);
>
> But it works perfectly well on uninstalling email-confirmation-2.0.6. Kindly guide me on the issue.
>

Hi,

This would appear to be a Quartz dependency clash. Email-confirmation does not use Quartz directly, it only has a Job artefact as provided by the Quartz plugin.

It looks like the Quartz 2 plugin is not 100% compatible with the Quartz 1 plugin.

If anybody can tell me what I need to do to change email-confirmation to work with both Q1 and Q2 plugins, I'll make the change.

I have no idea right now...

Marc


~ ~ ~
Marc Palmer
Freelancer (Grails/Groovy/Java/UX)

Grails Plugins: http://grailsrocks.com
Blog: http://www.anyware.co.uk | Resumé: http://www.anyware.co.uk/marc
Contributor @ http://grails.org | Founder @ http://noticelocal.com
Developer @ http://weceem.org | Member @ http://spottymushroom.com
Twitter: http://twitter.com/wangjammer5 


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply | Threaded
Open this post in threaded view
|

Re: Issue with email-confirmation-2.0.6

basejump (Josh)
Can you point me to code that sets the job up? I can take a look and see if anything obvious jumps out.
Its not 100% compatible but I tried to keep it as close as possible for the artifact config so plugins like yours would work.

On Sep 26, 2012, at 11:24 AM, Marc Palmer wrote:

>
> On 26 Sep 2012, at 10:11, Shubham Agrawal <[hidden email]> wrote:
>
>> Hello,
>> I am having an issue with the email-confirmation plugin ( version 2.0.6).
>> I installed asynchronous-mail plugin (version 0.6), and for meeting its dependency installed quartz2 plugin (version 0.2.3) and placed quartz-2.1.0 jar in library. I have deleted the previously installed quartz plugin ( version 1.0-RC2). I upgraded email-confirmation plugin from 1.0.5 to 2.0.6 since the prior one needs quartz plugin. Also, the code for using email-confirmation was modified as per the changes in the new version( using event listeners in place of closures). I made changes to the complie dependency in email-confirmation-2.0.6 from quartz-1.0-RC2 to quartz2-0.2.3.
>> When email-confirmation-2.0.6 is installed, following exception occurs:
>> GrailsJobFactory.java:49: cannot find symbol
>> symbol : method newJob(org.quartz.spi.TriggerFiredBundle,org.quartz.Scheduler)
>> location: class org.quartz.simpl.PropertySettingJobFactory
>> return super.newJob(bundle,scheduler);
>>
>> But it works perfectly well on uninstalling email-confirmation-2.0.6. Kindly guide me on the issue.
>>
>
> Hi,
>
> This would appear to be a Quartz dependency clash. Email-confirmation does not use Quartz directly, it only has a Job artefact as provided by the Quartz plugin.
>
> It looks like the Quartz 2 plugin is not 100% compatible with the Quartz 1 plugin.
>
> If anybody can tell me what I need to do to change email-confirmation to work with both Q1 and Q2 plugins, I'll make the change.
>
> I have no idea right now...
>
> Marc
>
>
> ~ ~ ~
> Marc Palmer
> Freelancer (Grails/Groovy/Java/UX)
>
> Grails Plugins: http://grailsrocks.com
> Blog: http://www.anyware.co.uk | Resumé: http://www.anyware.co.uk/marc
> Contributor @ http://grails.org | Founder @ http://noticelocal.com
> Developer @ http://weceem.org | Member @ http://spottymushroom.com
> Twitter: http://twitter.com/wangjammer5 
>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>    http://xircles.codehaus.org/manage_email
>
>


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply | Threaded
Open this post in threaded view
|

Re: Issue with email-confirmation-2.0.6

Marc Palmer Local

On 26 Sep 2012, at 17:47, "Josh (basejump)" <[hidden email]> wrote:

> Can you point me to code that sets the job up? I can take a look and see if anything obvious jumps out.
> Its not 100% compatible but I tried to keep it as close as possible for the artifact config so plugins like yours would work.


Hi,

There isn't any code, its just a Job artefact.

https://github.com/Grailsrocks/grails-email-confirmation/blob/master/grails-app/jobs/com/grailsrocks/emailconfirmation/StaleEmailConfirmationJob.groovy

~ ~ ~
Marc Palmer
Freelancer (Grails/Groovy/Java/UX)

Grails Plugins: http://grailsrocks.com
Blog: http://www.anyware.co.uk | Resumé: http://www.anyware.co.uk/marc
Contributor @ http://grails.org | Founder @ http://noticelocal.com
Developer @ http://weceem.org | Member @ http://spottymushroom.com
Twitter: http://twitter.com/wangjammer5 


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply | Threaded
Open this post in threaded view
|

Re: Issue with email-confirmation-2.0.6

SAgrawal14
Even deleting the job doesn't fix this problem. Not sure if the problem is just that.

On Thu, Sep 27, 2012 at 1:41 AM, Marc Palmer <[hidden email]> wrote:

On 26 Sep 2012, at 17:47, "Josh (basejump)" <[hidden email]> wrote:

> Can you point me to code that sets the job up? I can take a look and see if anything obvious jumps out.
> Its not 100% compatible but I tried to keep it as close as possible for the artifact config so plugins like yours would work.


Hi,

There isn't any code, its just a Job artefact.

https://github.com/Grailsrocks/grails-email-confirmation/blob/master/grails-app/jobs/com/grailsrocks/emailconfirmation/StaleEmailConfirmationJob.groovy

~ ~ ~
Marc Palmer
Freelancer (Grails/Groovy/Java/UX)

Grails Plugins: http://grailsrocks.com
Blog: http://www.anyware.co.uk | Resumé: http://www.anyware.co.uk/marc
Contributor @ http://grails.org | Founder @ http://noticelocal.com
Developer @ http://weceem.org | Member @ http://spottymushroom.com
Twitter: http://twitter.com/wangjammer5


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



Thank You,

SA