Jetty error "NoClassDefFoundError" after upgrade to 2.7.1 #2254

Open
theduusK opened this Issue Dec 29, 2016 · 1 comment

Projects

None yet

2 participants

@theduusK

Bug report

My Rundeck detail

  • Rundeck version: 2.7.1
  • install type: deb
  • OS Name/version: Debian Wheezy 7.8

Expected Behavior

No issues after upgrading :-)


Actual Behavior

After upgrading my Rundeck installation from 2.6.9-1 to latest 2.7.1, I encountered problems with the updated embedded Jetty server while starting up Rundeck:

Exception in thread "main" java.lang.NoClassDefFoundError: org/eclipse/jetty/server/nio/SelectChannelConnector at com.dtolabs.rundeck.RunServer.configureHTTPConnector(RunServer.java:134) at com.dtolabs.rundeck.RunServer.run(RunServer.java:94) at com.dtolabs.rundeck.RunServer.main(RunServer.java:66) Caused by: java.lang.ClassNotFoundException: org.eclipse.jetty.server.nio.SelectChannelConnector at java.net.URLClassLoader.findClass(URLClassLoader.java:381) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ... 3 more

My first assumption was the change in jaas-loginmodule.conf, but that wasn't the solution.


How to reproduce Behavior

Upgrading Rundeck (2.6.9-1) via dpkg and latest file "rundeck-2.7.1-1-GA.deb",
modifying the mentioned changes in changelog.


@theduusK theduusK changed the title from Jetty error "NoClassDefFoundError" after upgrading to 2.7.1 to Jetty error "NoClassDefFoundError" after upgrade to 2.7.1 Dec 29, 2016
@gschueler
Contributor

check if there are any remnant "rundeck-*2.6.9.jar" files

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment