Launcher jar on windows: stack trace on startup #1326

Closed
gschueler opened this Issue Jul 9, 2015 · 7 comments

Projects

None yet

6 participants

@gschueler
Contributor

Using the launcher jar on windows causes a stacktrace in the log at startup, but no other issues.

2015-07-09 18:40:35,318 ERROR AssetSpecLoader - Error loading asset specification asset.pipeline.HtmlAssetFile
asset.pipeline.JsAssetFile
asset.pipeline.CssAssetFile: asset.pipeline.HtmlAssetFile
asset.pipeline.JsAssetFile
asset.pipeline.CssAssetFile
java.lang.ClassNotFoundException: asset.pipeline.HtmlAssetFile
asset.pipeline.JsAssetFile
asset.pipeline.CssAssetFile
        at org.eclipse.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:424)
        at org.eclipse.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:377)
        at asset.pipeline.AssetSpecLoader$_loadSpecifications_closure1.doCall(AssetSpecLoader.groovy:51)
        at asset.pipeline.AssetSpecLoader.loadSpecifications(AssetSpecLoader.groovy:46)
        at asset.pipeline.AssetSpecLoader.loadSpecifications(AssetSpecLoader.groovy:40)
        at asset.pipeline.AssetHelper.<clinit>(AssetHelper.groovy:31)
        at asset.pipeline.AssetsTagLib$_closure2.doCall(AssetsTagLib.groovy:61)
@gschueler gschueler added the bug label Jul 9, 2015
@gschueler gschueler added this to the 2.6.0 milestone Jul 9, 2015
@gschueler
Contributor

nb: upgrade asset-pipeline plugin to 2.0.10 or later

@gschueler gschueler modified the milestone: 2.5.3, 2.6.0 Jul 15, 2015
@gschueler gschueler modified the milestone: 2.5.3, 2.5.4 Aug 12, 2015
@gschueler gschueler modified the milestone: 2.6.2, 2.6.3 Dec 1, 2015
@ihvargas

hi! im having the same ERROR, but how can i upgrade asset-pipeline plugin into the rundeck jar?

@Zebra54
Zebra54 commented Feb 1, 2016

@ihvargas : Hello! ist there any answer to your question? I have the same problem.

@gschueler
Contributor

this fix is not completed yet, it has to happen in the rundeck build

@gschueler gschueler modified the milestone: 2.6.3, 2.6.4 Feb 25, 2016
@gschueler gschueler modified the milestone: 2.6.4, 2.6.5 Mar 4, 2016
@gschueler gschueler added a commit to gschueler/rundeck that referenced this issue Apr 15, 2016
@gschueler gschueler upgrade asset-pipeline for #1326 fccc332
@gschueler gschueler modified the milestone: 2.6.5, 2.6.6, 2.6.7, 2.7.0 Apr 15, 2016
@chromial

seems to still be present as of June 2016...

2016-06-13 20:00:47.294:INFO:/:Initializing Spring FrameworkServlet 'grails'
2016-06-13 20:00:47.508:INFO:oejs.AbstractConnector:Started SelectChannelConnector@0.0.0.0:4440
2016-06-13 20:01:36,448 ERROR AssetSpecLoader - Error loading asset specification asset.pipeline.HtmlAssetFile
asset.pipeline.JsAssetFile
asset.pipeline.CssAssetFile: asset.pipeline.HtmlAssetFile
asset.pipeline.JsAssetFile
asset.pipeline.CssAssetFile
java.lang.ClassNotFoundException: asset.pipeline.HtmlAssetFile
asset.pipeline.JsAssetFile
asset.pipeline.CssAssetFile
at org.eclipse.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:424)
at org.eclipse.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:377)
at asset.pipeline.AssetSpecLoader$_loadSpecifications_closure1.doCall(AssetSpecLoader.groovy:51)
at asset.pipeline.AssetSpecLoader.loadSpecifications(AssetSpecLoader.groovy:46)
at asset.pipeline.AssetSpecLoader.loadSpecifications(AssetSpecLoader.groovy:40)
at asset.pipeline.AssetHelper.(AssetHelper.groovy:31)
at asset.pipeline.AssetsTagLib$_closure2.doCall(AssetsTagLib.groovy:61)
at gsp_rundeck_userlogin_gsp$_run_closure1.doCall(gsp_rundeck_userlogin_gsp.groovy:40)
at gsp_rundeck_userlogin_gsp.run(gsp_rundeck_userlogin_gsp.groovy:55)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:565)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1360)
at grails.plugin.cache.web.filter.PageFragmentCachingFilter.doFilter(PageFragmentCachingFilter.java:198)
at grails.plugin.cache.web.filter.AbstractFilter.doFilter(AbstractFilter.java:63)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1331)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1331)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1331)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1331)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:477)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:539)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:227)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1031)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:406)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:186)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:965)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)
at org.eclipse.jetty.server.Dispatcher.forward(Dispatcher.java:288)
at org.eclipse.jetty.server.Dispatcher.forward(Dispatcher.java:115)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1331)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1331)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1331)

@jenulis
jenulis commented Aug 30, 2016

I'm still seeing this issue. Is it project to be fix in an upcoming version?

@jastorgalj

fix it manually. (sorry for my English).

download jar's asset-pipeline-core-2.11.1.jar and less-asset-pipeline-2.11.1.jar from maven (https://mvnrepository.com/artifact/com.bertramlabs.plugins/asset-pipeline-core/2.11.1) (https://mvnrepository.com/artifact/com.bertramlabs.plugins/less-asset-pipeline/2.11.1)
and i put them in to rundeck\server\exp\webapp\WEB-INF\lib. remove older versions, and add --skipinstall in the java excecution line.

this working fine for me.

@gschueler gschueler added a commit to gschueler/rundeck that referenced this issue Sep 2, 2016
@gschueler gschueler upgrade asset-pipeline for #1326 beffe46
@gschueler gschueler modified the milestone: 2.6.10, 2.7.0 Sep 2, 2016
@gschueler gschueler closed this Sep 2, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment