3.x plugins are not compatible with 4.x.
You will need to update the build.gradle to point at the correct maven source repo.
Also, you will likely need to update imports due to “repackage” class location changes. (Yet again. Hopefully they’ve made up their mind and these won’t move again.)
Nathan I. Keiter
|
Lead Network Applications Programmer
|
Benefits Advisory Council Member
|
I.D.E.A Council Member
Gettysburg College | Information Technology | DataSystems
Campus Box 2453 | 300 North Washington Street | Gettysburg, PA 17325
Phone: 717.337.6993
--
http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
dotcms+un...@googlegroups.com.
To post to this group, send email to dot...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/dotcms/ff9422e9-4820-4b15-b1e1-07917335559a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Oh, my mistake. Looking at the link you provided it seems you are using the 4.0 version.
Did you try uploading it in eclipse to check dependencies?
Also, I’d stay away from OSGI quartz jobs. They are unreliable.
Restarting the server might give you a temporary fix, but it could go silly again. Something having to do with the quartz engine running in core, but the classes for OSGI sometimes get “lost” or inaccessible to quartz over time. You have to really stay on top of it, or you could go a whole month without realizing your job isn’t firing anymore.
cron fired servlets are much more reliable. I don’t have a 4.x example uploaded yet., but here’s a 3.x example: https://github.com/nkeiter/generic-dotCMS-plugin-code-examples/tree/master/dotcms3.5.1/osgi/org.example.nkeiter.ip.restricted.servlet
Basically from the context of the server, you hit the URL. The server’s own IP should be the only one that works. (You have to configure that.) https://github.com/nkeiter/generic-dotCMS-plugin-code-examples/blob/master/dotcms3.5.1/osgi/org.example.nkeiter.ip.restricted.servlet/src/main/java/org/example/nkeiter/ip/restricted/servlet/servlet/IpRestrictedServlet.java
Nathan I. Keiter
|
Lead Network Applications Programmer
|
Benefits Advisory Council Member
|
I.D.E.A Council Member
Gettysburg College | Information Technology | DataSystems
Campus Box 2453 | 300 North Washington Street | Gettysburg, PA 17325
Phone: 717.337.6993
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/494ed5ea0e68461383a3c7d3920afac7%40exch13c.ms.gettysburg.edu.
Does a restart fix the issue? If it does, then you are chasing a quartz ghost.
I mean just make sure there’s no red lines in eclipse, meaning eclipse thinks it should compile.
Nathan I. Keiter
|
Lead Network Applications Programmer
|
Benefits Advisory Council Member
|
I.D.E.A Council Member
Gettysburg College | Information Technology | DataSystems
Campus Box 2453 | 300 North Washington Street | Gettysburg, PA 17325
Phone: 717.337.6993
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/cf570df2-c946-48f3-956f-7821de71eb99%40googlegroups.com.
If it’s inconvenient to restart the dotCMS, you could try restarting the OSGI framework as a pre-test.
Nathan I. Keiter
|
Lead Network Applications Programmer
|
Benefits Advisory Council Member
|
I.D.E.A Council Member
Gettysburg College | Information Technology | DataSystems
Campus Box 2453 | 300 North Washington Street | Gettysburg, PA 17325
Phone: 717.337.6993
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/cf570df2-c946-48f3-956f-7821de71eb99%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/05bda630-c6ed-41b0-b230-44b27db725d8%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to dotcms+unsubscribe@googlegroups.com.
To post to this group, send email to dot...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/05bda630-c6ed-41b0-b230-44b27db725d8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dotcms+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/CALDe1GOL-ii7ZpVR-%2B8CCu6dbJ8fhUUbXcEpOX%2BePukGhKPE1Q%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/05bda630-c6ed-41b0-b230-44b27db725d8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dotcms+un...@googlegroups.com.
To post to this group, send email to dot...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/CALDe1GOL-ii7ZpVR-%2B8CCu6dbJ8fhUUbXcEpOX%2BePukGhKPE1Q%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/105f8460-aaff-4f9c-8395-0d3b212a347f%40googlegroups.com.
Did you re-compile first?
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/865943af-cf8e-48cf-a473-11d252e7bc12%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/6acd0dc4-578c-4d09-982e-a83527b7cb81%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/CAKKUxWeqRiKMrE2OMdT2vLJWujgnNuKrSKTkV8NHNiVF0Wy6mQ%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/CAMAbHgUBGkoT-7NDNKe1eCSNKTb691b9HsWhaoH1NY%2BFhVb-LQ%40mail.gmail.com.
Yes Chris. Quartz is fine, I was just speaking to the combination of dotCMS + OSGI + Quartz. In fact static plugins should work fine with Quartz. In our experience the OSGI ones mysteriously stop firing after random time intervals. At this point I try to do everything in OSGI, and only have configuration plugins be static.
I’d love to see uptime stats on OSGI quartz for 4.x. Perhaps a job that writes to the DB once per day, then it could be audited to see if it’s still firing.
Nathan I. Keiter
|
Lead Network Applications Programmer
|
Benefits Advisory Council Member
|
I.D.E.A Council Member
Gettysburg College | Information Technology | DataSystems
Campus Box 2453 | 300 North Washington Street | Gettysburg, PA 17325
Phone: 717.337.6993
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/CALDe1GMkDpqPdkB-oSAxj7nnsMPAXkQzHxWD698Gido6248CKQ%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/5f0bb389-1d55-408e-a595-a7b5d462a537%40googlegroups.com.
Cool. Is that on Windows JVM or Linux JVM?
I’m wondering if a more complex job with more classes to load would cause issues?
Anyway, glad to hear it’s stable for you on 3.7. Maybe I’ll try it in the future on something not mission critical.
Nathan I. Keiter
|
Lead Network Applications Programmer
|
Benefits Advisory Council Member
|
I.D.E.A Council Member
Gettysburg College | Information Technology | DataSystems
Campus Box 2453 | 300 North Washington Street | Gettysburg, PA 17325
Phone: 717.337.6993
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/CAMAbHgVQgjYtL__whyok3gkTOegPTJqzQUpnA6ujfAuosjjuuw%40mail.gmail.com.
To unsubscribe from this group and stop receiving emails from it, send an email to dotcms+unsubscribe@googlegroups.com.
To post to this group, send email to dot...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/5f0bb389-1d55-408e-a595-a7b5d462a537%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dotcms+unsubscribe@googlegroups.com.
To post to this group, send email to dot...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/CAMAbHgVQgjYtL__whyok3gkTOegPTJqzQUpnA6ujfAuosjjuuw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dotcms+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/ac53e64b399644f6bd4c20f4a1b0566a%40exch13c.ms.gettysburg.edu.
To post to this group, send email to do...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/5f0bb389-1d55-408e-a595-a7b5d462a537%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dotcms+un...@googlegroups.com.
To post to this group, send email to dot...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/CAMAbHgVQgjYtL__whyok3gkTOegPTJqzQUpnA6ujfAuosjjuuw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dotcms+un...@googlegroups.com.
To post to this group, send email to dot...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/ac53e64b399644f6bd4c20f4a1b0566a%40exch13c.ms.gettysburg.edu.