Search |
||
Failed to serialize hudson.model.Actionable#actions for class hudson.maven.MavenBuildPosted by felipegaucho on October 3, 2009 at 9:43 AM PDT
The problemI just started a new Glassfish v2.1 and deployed a Hudson 1.327 on it. Unfortunatelly, after configuring my first build, it always failed due to a serialization problem:
[INFO] ------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to serialize hudson.model.Actionable#actions for class hudson.maven.MavenBuild
access denied (java.io.SerializablePermission enableSubclassImplementation)
[INFO] ------------------------------------------------------------------------
[INFO] Trace
java.lang.RuntimeException: Failed to serialize hudson.model.Actionable#actions for class hudson.maven.MavenBuild
at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:160)
at hudson.util.RobustReflectionConverter$2.visit(RobustReflectionConverter.java:131)
at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:130)
at hudson.util.RobustReflectionConverter.doMarshal(RobustReflectionConverter.java:116)
at hudson.util.RobustReflectionConverter.marshal(RobustReflectionConverter.java:89)
For a full month I asked that issue in several mailing lists and
nothing changed, I even submitted an
issue on the Hudson project. The first attempt to solve the problem was
the classical to remove everything and reinstall the software
from the scratch, supposing the Hudson installation was corrupted
somehow. A second desperate attempt was to apply
grant {
permission java.io.SerializablePermission
"enableSubclassImplementation";
permission java.io.SerializablePermission
"enableSubstitution";
};
This code should be included in the file Done, the drama is over and our Old Hudson is cured from its permission pandemia ... ! Thanks Phillipe, you saved the day ... and thanks Fabrizio to be around during the rain ...* It was in the manual, and after the explanation it seems trivial, but why people took so long to answer my questions? Time to Glassfish people to blog more and better about our preferred server permissions file. »
Related Topics >>
Blogs Comments
Comments are listed in date ascending order (oldest first)
|
||
|
|