-
Improvement
-
Resolution: Unresolved
-
Major
Classes from servlet container (such as HttpServletRequest) are not guaranteed to be remotable. For example, it could be because the container classloader hides the class file from RemoteClassLoader. Or it could be that the servlet container uses a newer versions of JDK than the slave JVM.
Therefore, instead of letting these classes transferred to slave JVM, we should come up with a blacklist that causes the master to immediately refuse to send the class file image.
That way, the tests we run can catch the problem, instead of leaving it up to a small number of unlucky users to discover them.
This is expected to improve the "I got NoClassDefFoundError: class Xyz failed to load but I don't know why it failed to load" problem, which is hard to diagnose because the exception is missing the root cause.
- is blocking
-
JENKINS-43314 external job monitoring missing class
- Reopened
-
JENKINS-46386 Agent sometimes fails to launch in custom cloud provider
- Resolved
-
JENKINS-62006 Getting java.lang.ClassNotFoundException: javax.servlet.ServletException while running hudson.util.ProcessTree.get()
- Closed
- is duplicated by
-
JENKINS-38370 Identify APIs that are only intended for use from the Master JVM
- Closed
- is related to
-
JENKINS-26476 Remote FilePath.chmod fails with ClassNotFoundException: javax.servlet.ServletException
- Resolved
- relates to
-
JENKINS-35184 Failed to load jenkins.util.SystemProperties on slaves due to ServletContext
- Resolved
-
JENKINS-39669 Builds fail when loading jenkins.util.SystemProperties caused by java.lang.NoClassDefFoundError: javax/servlet/ServletContextListener
- Resolved
-
JENKINS-61787 jenkins.model.Jenkins loaded from parser callable via TestNameTransformer
- Resolved
-
JENKINS-40863 Shell task ClassNotFoundException: javax.servlet.ServletException
- Resolved
-
JENKINS-19453 Slave launcher fails after NoClassDefFoundError: Could not initialize class jenkins.model.Jenkins$MasterComputer
- Closed
-
JENKINS-38371 Enforce @MasterJVMOnly annotation classes blacklist on agents when using hpi:run
- Open
- links to