/internal/workItems.shtm DWR invocation exception java.lang.NoSuchMethodError:
-
This is caused by the same issue as your medium priority pool not being able to save, probably (it is the same class you're trying to invoke methods in).
I know you say you don't have any overrides, but I'm not sure I believe you. It doesn't help that I know you've had the BackgroundProcessing class overridden in the past. The only other thing I believe would cause that error is duplicate jars in your Mango/lib/ folder (specifically, multiple ma-core-2.x.x.jar I would think).
-
I have previously pasted my overrides file listing straight from the console find command output, so that should eliminate the "not sure I believe you" issue. Here it is again:
$ find /opt/mango/overrides -type f /opt/mango/overrides/web/favicon.ico /opt/mango/overrides/web/MangoDailyScheduled.sh /opt/mango/overrides/web/images/favicon.ico /opt/mango/overrides/web/images/logo.png /opt/mango/overrides/web/images/Tides_icon.png /opt/mango/overrides/web/WEB-INF/tags/page.tag /opt/mango/overrides/web/WEB-INF/tags/html5/footer.tag /opt/mango/overrides/web/WEB-INF/tags/html5/footer.tag-orig /opt/mango/overrides/web/WEB-INF/tags/mobile-page.tag /opt/mango/overrides/properties/keystore.jks /opt/mango/overrides/properties/i18n.properties /opt/mango/overrides/properties/env.properties-derby~ /opt/mango/overrides/properties/env.properties-mysql~ /opt/mango/overrides/properties/env.properties /opt/mango/overrides/properties/env.properties.13Jan2015 /opt/mango/overrides/__MACOSX/classes/._.DS_Store /opt/mango/overrides/__MACOSX/classes/com/._.DS_Store /opt/mango/overrides/__MACOSX/classes/com/serotonin/m2m2/._.DS_Store /opt/mango/overrides/__MACOSX/classes/com/serotonin/m2m2/rt/._.DS_Store /opt/mango/overrides/__MACOSX/classes/com/serotonin/._.DS_Store /opt/mango/overrides/classes/log4j.xml
I don't know why there is a MACOSX override folder there as this is not a MAC. Can I delete it?
Only one Mango/lib core file:
$ ls /opt/mango/lib/ma-core* /opt/mango/lib/ma-core-2.7.4.jar
There are 156 files in /opt/mango/lib/. All are dated Feb 22:
$ ls -x /opt/mango/lib/ | wc -l 156
-
I do not know what that __MACOSX directory is, but that the override path is to com.serotonin.m2m2.rt is a good sign it could be related to your issue. Definitely deletable from my perspective.
Your jar count is also correct. I will try to find your system settings json in the spam folder, but I haven't seen that email yet.
-
I deleted __MACOSX/. I don't know where it came from, but I'm thinking perhaps one of you using a MAC inadvertently zipped it to me once. I can't think of another explanation. When circumstances force me to work up the courage to restart, I'll let you know how it went.
-
For what it's worth, /opt/mango/overrides/__MACOSX was dated Mar 16 2015. Again, I don't have a MAC.
-
I do not know either, I am not a MAC guy. I suspect you are correct in how it got there.
The Mango/classes directory is also on the classpath. Could your override be in there?
-
Thanks, I did not know to look there. I think you found the problem. I think I may have been asked to place some files there a while ago, and since they were not in /overrides/, I did not know to delete them during an upgrade. Can you please state very precisely which I should delete? Thanks.
$ find /opt/mango/classes/ -type f | xargs ls -l -rw-r--r-- 1 root root 1419 May 8 2015 /opt/mango/classes/com/serotonin/m2m2/rt/maint/BackgroundProcessing$1.class -rw-r--r-- 1 root root 5678 May 8 2015 /opt/mango/classes/com/serotonin/m2m2/rt/maint/BackgroundProcessing.class -rw-r--r-- 1 root root 3788 Feb 22 23:05 /opt/mango/classes/debug-log4j.xml -rw-r--r-- 1 root root 4349 Feb 22 23:05 /opt/mango/classes/env.properties -rw-r--r-- 1 root root 86283 Feb 22 23:05 /opt/mango/classes/i18n.properties -rw-r--r-- 1 root root 3756 Feb 22 23:05 /opt/mango/classes/log4j.xml -rw-r--r-- 1 mango mango 4323 Jun 24 2014 /opt/mango/classes/org/jfree/data/Range.class -rw-r--r-- 1 root root 34 Feb 22 23:05 /opt/mango/classes/swagger.properties
-
I didn't either, or I would have mentioned it sooner. You can delete your classes/com directory entirely.
-
Deleted. I presume this will only take effect after a restart?
-
Correct