Rundeck deb package and launcher do not start. Ubuntu 14.4 (Mint), Java 8

490 views
Skip to first unread message

Lance N.

unread,
Nov 13, 2014, 2:24:34 PM11/13/14
to rundeck...@googlegroups.com
I'm on Linux Mint (Ubuntu 14.04) and Oracle Java 1.8.0_25-b17. I've tried both the .deb and the launcher jar for 2.3.2 (currently on the download page). Both have the same problem.

Jetty starts but does not load the rundeck app.
HTTP error 503- Service unavailable

The startup log from the launcher. The service startup log looks the same.


WARNING: HTTPS is not enabled, specify -Drundeck.ssl.config=/home/lance/tools/rundeck/server/config/ssl.properties to enable.
2014-11-13 11:13:40.186:INFO:oejs.Server:jetty-7.6.0.v20120127
2014-11-13 11:13:41.587:INFO:oejw.StandardDescriptorProcessor:NO JSP Support for /, did not find org.apache.jasper.servlet.JspServlet
2014-11-13 11:13:42.368:INFO:/:Initializing Spring root WebApplicationContext
2014-11-13 11:13:44,361 [main] ERROR context.ContextLoader  - Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'pluginManager' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.NullPointerException: Cannot invoke method getAt() on null object
at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:733)
at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:233)
at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1214)
at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:676)
at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:455)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:90)
at org.eclipse.jetty.server.Server.doStart(Server.java:261)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
at com.dtolabs.rundeck.RunServer.run(RunServer.java:112)
at com.dtolabs.rundeck.RunServer.main(RunServer.java:72)
at com.dtolabs.rundeck.ExpandRunServer.invokeMain(ExpandRunServer.java:690)
at com.dtolabs.rundeck.ExpandRunServer.execute(ExpandRunServer.java:647)
at com.dtolabs.rundeck.ExpandRunServer.run(ExpandRunServer.java:304)
at com.dtolabs.rundeck.ExpandRunServer.main(ExpandRunServer.java:113)
Caused by: java.lang.NullPointerException: Cannot invoke method getAt() on null object
... 15 more
2014-11-13 11:13:44,364 [main] ERROR context.GrailsContextLoader  - Error initializing the application: Error creating bean with name 'pluginManager' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.NullPointerException: Cannot invoke method getAt() on null object
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'pluginManager' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.NullPointerException: Cannot invoke method getAt() on null object
at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:733)
at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:233)
at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1214)
at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:676)
at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:455)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:90)
at org.eclipse.jetty.server.Server.doStart(Server.java:261)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
at com.dtolabs.rundeck.RunServer.run(RunServer.java:112)
at com.dtolabs.rundeck.RunServer.main(RunServer.java:72)
at com.dtolabs.rundeck.ExpandRunServer.invokeMain(ExpandRunServer.java:690)
at com.dtolabs.rundeck.ExpandRunServer.execute(ExpandRunServer.java:647)
at com.dtolabs.rundeck.ExpandRunServer.run(ExpandRunServer.java:304)
at com.dtolabs.rundeck.ExpandRunServer.main(ExpandRunServer.java:113)
Caused by: java.lang.NullPointerException: Cannot invoke method getAt() on null object
... 15 more
2014-11-13 11:13:44,364 [main] ERROR context.GrailsContextLoader  - Error initializing Grails: Error creating bean with name 'pluginManager' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.NullPointerException: Cannot invoke method getAt() on null object
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'pluginManager' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.NullPointerException: Cannot invoke method getAt() on null object
at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:733)
at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:233)
at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1214)
at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:676)
at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:455)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:90)
at org.eclipse.jetty.server.Server.doStart(Server.java:261)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
at com.dtolabs.rundeck.RunServer.run(RunServer.java:112)
at com.dtolabs.rundeck.RunServer.main(RunServer.java:72)
at com.dtolabs.rundeck.ExpandRunServer.invokeMain(ExpandRunServer.java:690)
at com.dtolabs.rundeck.ExpandRunServer.execute(ExpandRunServer.java:647)
at com.dtolabs.rundeck.ExpandRunServer.run(ExpandRunServer.java:304)
at com.dtolabs.rundeck.ExpandRunServer.main(ExpandRunServer.java:113)
Caused by: java.lang.NullPointerException: Cannot invoke method getAt() on null object
... 15 more
2014-11-13 11:13:44.365:WARN:oejw.WebAppContext:Failed startup of context o.e.j.w.WebAppContext{/,file:/home/lance/tools/rundeck/server/exp/webapp/},/home/lance/tools/rundeck/server/exp/webapp
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'pluginManager' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.NullPointerException: Cannot invoke method getAt() on null object
at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:733)
at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:233)
at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1214)
at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:676)
at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:455)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:90)
at org.eclipse.jetty.server.Server.doStart(Server.java:261)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
at com.dtolabs.rundeck.RunServer.run(RunServer.java:112)
at com.dtolabs.rundeck.RunServer.main(RunServer.java:72)
at com.dtolabs.rundeck.ExpandRunServer.invokeMain(ExpandRunServer.java:690)
at com.dtolabs.rundeck.ExpandRunServer.execute(ExpandRunServer.java:647)
at com.dtolabs.rundeck.ExpandRunServer.run(ExpandRunServer.java:304)
at com.dtolabs.rundeck.ExpandRunServer.main(ExpandRunServer.java:113)
Caused by: 
java.lang.NullPointerException: Cannot invoke method getAt() on null object
at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:733)
at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:233)
at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1214)
at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:676)
at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:455)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:90)
at org.eclipse.jetty.server.Server.doStart(Server.java:261)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
at com.dtolabs.rundeck.RunServer.run(RunServer.java:112)
at com.dtolabs.rundeck.RunServer.main(RunServer.java:72)
at com.dtolabs.rundeck.ExpandRunServer.invokeMain(ExpandRunServer.java:690)
at com.dtolabs.rundeck.ExpandRunServer.execute(ExpandRunServer.java:647)
at com.dtolabs.rundeck.ExpandRunServer.run(ExpandRunServer.java:304)
at com.dtolabs.rundeck.ExpandRunServer.main(ExpandRunServer.java:113)
2014-11-13 11:13:44.391:INFO:oejs.AbstractConnector:Started SelectChann...@0.0.0.0:4440

Greg Schueler

unread,
Nov 13, 2014, 2:37:29 PM11/13/14
to rundeck...@googlegroups.com
Hi, try Java 7, currently Rundeck doesn't work with Java 8
--
Greg Schueler
--
You received this message because you are subscribed to the Google Groups "rundeck-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rundeck-discu...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Lance N.

unread,
Nov 13, 2014, 4:22:33 PM11/13/14
to rundeck...@googlegroups.com
When I run the .deb on Java Oracle 7, it starts correctly. Somehow /tmp/rundeck became owned by root, but I changed it to rundeck/rundeck and now starts to the login screen.

When I run the launcher jar, I get this:
[INFO] Using Grails 1.3.7
Grails Local Repo: grails-app/plugins
Application Version: 1.6.2
Running pre-compiled script
Environment set to development
Plugin [hibernate-1.3.7] not installed. ...
Plugin [code-coverage-1.2.5] not installed. ...
Plugin [maven-publisher-0.8.1] not installed. ...
Plugin [codenarc-0.16.1] not installed. ...
Plugin [jetty-1.2-SNAPSHOT] not installed. ...
Plugin [executor-0.3] not installed. ...
Plugin [quartz-0.4.2] not installed. ...
Plugin [h2-0.2.6] not installed. ...
Resolving new plugins. Please wait... ...
Installing zip /home/lance/.ivy2/cache/org.grails.plugins/jetty/zips/jetty-1.2-SNAPSHOT.zip... ...
    [mkdir] Created dir: /home/lance/open/rundeck/rundeckapp/plugins/jetty-1.2-SNAPSHOT
    [unzip] Expanding: /home/lance/.ivy2/cache/org.grails.plugins/jetty/zips/jetty-1.2-SNAPSHOT.zip into /home/lance/open/rundeck/rundeckapp/plugins/jetty-1.2-SNAPSHOT
Installed plugin jetty-1.2-SNAPSHOT to location /home/lance/open/rundeck/rundeckapp/plugins/jetty-1.2-SNAPSHOT. ...
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 6.285 s
[INFO] Finished at: 2014-11-13T13:10:56-08:00
[INFO] Final Memory: 46M/489M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.grails:grails-maven-plugin:1.3.7:maven-compile (default) on project rundeck: Unable to start Grails: java.lang.reflect.InvocationTargetException: java.lang.NullPointerException: Cannot invoke method getAt() on null object -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:


When I build from source, I get this:

[INFO] Using Grails 1.3.7
Grails Local Repo: grails-app/plugins
Application Version: 1.6.2
Running pre-compiled script
Environment set to development
Plugin [hibernate-1.3.7] not installed. ...
Plugin [code-coverage-1.2.5] not installed. ...
Plugin [maven-publisher-0.8.1] not installed. ...
Plugin [codenarc-0.16.1] not installed. ...
Plugin [jetty-1.2-SNAPSHOT] not installed. ...
Plugin [executor-0.3] not installed. ...
Plugin [quartz-0.4.2] not installed. ...
Plugin [h2-0.2.6] not installed. ...
Resolving new plugins. Please wait... ...
Installing zip /home/lance/.ivy2/cache/org.grails.plugins/jetty/zips/jetty-1.2-SNAPSHOT.zip... ...
    [mkdir] Created dir: /home/lance/open/rundeck/rundeckapp/plugins/jetty-1.2-SNAPSHOT
    [unzip] Expanding: /home/lance/.ivy2/cache/org.grails.plugins/jetty/zips/jetty-1.2-SNAPSHOT.zip into /home/lance/open/rundeck/rundeckapp/plugins/jetty-1.2-SNAPSHOT
Installed plugin jetty-1.2-SNAPSHOT to location /home/lance/open/rundeck/rundeckapp/plugins/jetty-1.2-SNAPSHOT. ...
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 6.285 s
[INFO] Finished at: 2014-11-13T13:10:56-08:00
[INFO] Final Memory: 46M/489M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.grails:grails-maven-plugin:1.3.7:maven-compile (default) on project rundeck: Unable to start Grails: java.lang.reflect.InvocationTargetException: java.lang.NullPointerException: Cannot invoke method getAt() on null object -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
Reply all
Reply to author
Forward
0 new messages