Jenkins is now using embedded jetty

507 views
Skip to first unread message

Indra Gunawan (ingunawa)

unread,
Dec 14, 2014, 9:20:42 PM12/14/14
to jenkins...@googlegroups.com
Ever since version 1.535, java –jar jenkins.war now runs on Jetty8:  (issue 18366)
After we upgrade to LTS version 1.554.3 Now we see this in the Jenkins log every time :

Dec 14, 2014 9:12:33 PM winstone.Logger logInternal
INFO: Beginning extraction from war file
Dec 14, 2014 9:12:35 PM org.eclipse.jetty.util.log.JavaUtilLog info
INFO: jetty-8.y.z-SNAPSHOT
Dec 14, 2014 9:12:37 PM org.eclipse.jetty.util.log.JavaUtilLog info
INFO: NO JSP Support for , did not find org.apache.jasper.servlet.JspServlet


I googled this topic and my conclusion is that  either we switch to Jetty and deploy Jenkins in Jetty or we figure out how to  install jetty-jsp package for example on this Fedora 20:

Is that correct?
I do not think there is jetty-jsp RPM readily available for CentOS 5/RHEL 5.x where we use to deploy Jenkins.

Thank you.

-Indra

 

James Nord

unread,
Dec 15, 2014, 8:02:18 AM12/15/14
to jenkins...@googlegroups.com
Hi,

Jenkins does not need JSP support - it uses alternate technology for building its web pages.

So you can safely ignore this message.

/James
--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/D0B38572.18449%25ingunawa%40cisco.com.
For more options, visit https://groups.google.com/d/optout.


Indra Gunawan (ingunawa)

unread,
Dec 15, 2014, 11:45:09 AM12/15/14
to jenkins...@googlegroups.com
How do you monitor/debug Jenkins now since this Monitoring plugin will fail to load without JSP support now.

Thank you.
-Indra

btn_in_20x15.png

Indra Gunawan (ingunawa)

unread,
Dec 15, 2014, 12:38:38 PM12/15/14
to jenkins...@googlegroups.com
I guess this plugin requires jsp:

Dec 15, 2014 9:37:29 AM jenkins.InitReactorRunner$1 onTaskFailed
SEVERE: Failed Loading plugin monitoring
java.io.IOException: Failed to initialize
at hudson.ClassicPluginStrategy.load(ClassicPluginStrategy.java:369)
at hudson.PluginManager$2$1$1.run(PluginManager.java:357)
at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:169)
at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282)
at jenkins.model.Jenkins$7.runTask(Jenkins.java:899)
at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:210)
at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.IllegalStateException
at org.eclipse.jetty.servlet.ServletContextHandler$Context.addListener(ServletContextHandler.java:1216)
at org.jvnet.hudson.plugins.monitoring.HudsonMonitoringFilter.init(HudsonMonitoringFilter.java:23)
at hudson.util.PluginServletFilter.addFilter(PluginServletFilter.java:75)
at org.jvnet.hudson.plugins.monitoring.PluginImpl.start(PluginImpl.java:57)
at hudson.ClassicPluginStrategy.startPlugin(ClassicPluginStrategy.java:377)
at hudson.ClassicPluginStrategy.load(ClassicPluginStrategy.java:366)
... 9 more

-Indra

btn_in_20x15.png

SamL

unread,
Jan 13, 2016, 1:58:13 PM1/13/16
to Jenkins Users, ingu...@cisco.com
Hello Folks,

I am running into this issue with Jenkins 1.625.3 running on Ubuntu 14.04

Is there a work around to this issue?

Thanks
-Sam

Mark Waite

unread,
Jan 13, 2016, 8:31:05 PM1/13/16
to Jenkins Users, ingu...@cisco.com
Could you explain the behavior you're seeing which makes that an issue?  What does Jenkins do when that log message appears?

Did you install from the operating system package manager (apt-get or aptitude are my favorites) or in some other way?  If some other way, have you considered switching to use the operating system package manager?

Mark Waite

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages