24 Jul 2012 21:49
[groovy-user] can't shutdown java web app containing groovy jar
Hi,
I have a web app (jira), to which I have added the groovy-all.jar, in an OSGi bundle.
On shutting down the app I get the following error:
24-Jul-2012 20:44:50 org.apache.catalina.startup.Catalina$CatalinaShutdownHook run
SEVERE: The shutdown hook experienced an error while trying to stop the server
java.lang.NoClassDefFoundError: org/codehaus/groovy/runtime/GroovyCategorySupport$1
at java.lang.Class.getDeclaringClass(Native Method)
at java.lang.Class.getEnclosingClass(Class.java:1085)
....
Full list of exceptions here: https://gist.github.com/3172203
I do not really care about this, but it seems that when it's running as a windows service (not sure which java service wrapper is being employed), this error prevents the service from stopping.
If you google "Caused by: java.lang.ClassNotFoundException: org.codehaus.groovy.runtime.GroovyCategorySupport" you get hits from bunch of tomcat log files, most of which should probably not be exposed to everyone but whatever.
Has anyone got any ideas?
cheers, jame
RSS Feed