You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@slider.apache.org by "Steve Loughran (JIRA)" <ji...@apache.org> on 2014/08/22 16:30:11 UTC

[jira] [Commented] (SLIDER-351) Agent web app not starting on Windows

    [ https://issues.apache.org/jira/browse/SLIDER-351?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14106894#comment-14106894 ] 

Steve Loughran commented on SLIDER-351:
---------------------------------------

Full stack
{code}

2014-08-22 15:22:16,028 [main] WARN  mortbay.log (Slf4jLog.java:warn(76)) - failed Server@69aebd29: org.mortbay.util.MultiException[java.io.IOException: DerInputStream.getLength(): lengthTag=127, too big., java.io.IOException: DerInputStream.getLength(): lengthTag=127, too big.]
2014-08-22 15:22:16,028 [main] ERROR agent.AgentWebApp (AgentWebApp.java:start(109)) - Unable to start agent server
org.mortbay.util.MultiException[java.io.IOException: DerInputStream.getLength(): lengthTag=127, too big., java.io.IOException: DerInputStream.getLength(): lengthTag=127, too big.]
	at org.mortbay.jetty.Server.doStart(Server.java:188)
	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
	at org.apache.slider.server.appmaster.web.rest.agent.AgentWebApp$Builder.start(AgentWebApp.java:104)
	at org.apache.slider.server.appmaster.SliderAppMaster.startAgentWebApp(SliderAppMaster.java:832)
	at org.apache.slider.server.appmaster.SliderAppMaster.createAndRunCluster(SliderAppMaster.java:666)
	at org.apache.slider.server.appmaster.SliderAppMaster.runService(SliderAppMaster.java:481)
	at org.apache.slider.core.main.ServiceLauncher.launchService(ServiceLauncher.java:186)
	at org.apache.slider.core.main.ServiceLauncher.launchServiceRobustly(ServiceLauncher.java:471)
	at org.apache.slider.core.main.ServiceLauncher.launchServiceAndExit(ServiceLauncher.java:401)
	at org.apache.slider.core.main.ServiceLauncher.serviceMain(ServiceLauncher.java:626)
	at org.apache.slider.server.appmaster.SliderAppMaster.main(SliderAppMaster.java:1847)
java.io.IOException: DerInputStream.getLength(): lengthTag=127, too big.
	at sun.security.util.DerInputStream.getLength(DerInputStream.java:561)
	at sun.security.util.DerValue.init(DerValue.java:365)
	at sun.security.util.DerValue.<init>(DerValue.java:320)
	at sun.security.pkcs12.PKCS12KeyStore.engineLoad(PKCS12KeyStore.java:1220)
	at java.security.KeyStore.load(KeyStore.java:1214)
	at org.mortbay.jetty.security.SslSelectChannelConnector.createSSLContext(SslSelectChannelConnector.java:626)
	at org.mortbay.jetty.security.SslSelectChannelConnector.doStart(SslSelectChannelConnector.java:598)
	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
	at org.mortbay.jetty.Server.doStart(Server.java:235)
	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
	at org.apache.slider.server.appmaster.web.rest.agent.AgentWebApp$Builder.start(AgentWebApp.java:104)
	at org.apache.slider.server.appmaster.SliderAppMaster.startAgentWebApp(SliderAppMaster.java:832)
	at org.apache.slider.server.appmaster.SliderAppMaster.createAndRunCluster(SliderAppMaster.java:666)
	at org.apache.slider.server.appmaster.SliderAppMaster.runService(SliderAppMaster.java:481)
	at org.apache.slider.core.main.ServiceLauncher.launchService(ServiceLauncher.java:186)
	at org.apache.slider.core.main.ServiceLauncher.launchServiceRobustly(ServiceLauncher.java:471)
	at org.apache.slider.core.main.ServiceLauncher.launchServiceAndExit(ServiceLauncher.java:401)
	at org.apache.slider.core.main.ServiceLauncher.serviceMain(ServiceLauncher.java:626)
	at org.apache.slider.server.appmaster.SliderAppMaster.main(SliderAppMaster.java:1847)
java.io.IOException: DerInputStream.getLength(): lengthTag=127, too big.
	at sun.security.util.DerInputStream.getLength(DerInputStream.java:561)
	at sun.security.util.DerValue.init(DerValue.java:365)
	at sun.security.util.DerValue.<init>(DerValue.java:320)
	at sun.security.pkcs12.PKCS12KeyStore.engineLoad(PKCS12KeyStore.java:1220)
	at java.security.KeyStore.load(KeyStore.java:1214)
	at org.mortbay.jetty.security.SslSelectChannelConnector.createSSLContext(SslSelectChannelConnector.java:626)
	at org.mortbay.jetty.security.SslSelectChannelConnector.doStart(SslSelectChannelConnector.java:598)
	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
	at org.mortbay.jetty.Server.doStart(Server.java:235)
	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
	at org.apache.slider.server.appmaster.web.rest.agent.AgentWebApp$Builder.start(AgentWebApp.java:104)
	at org.apache.slider.server.appmaster.SliderAppMaster.startAgentWebApp(SliderAppMaster.java:832)
	at org.apache.slider.server.appmaster.SliderAppMaster.createAndRunCluster(SliderAppMaster.java:666)
	at org.apache.slider.server.appmaster.SliderAppMaster.runService(SliderAppMaster.java:481)
	at org.apache.slider.core.main.ServiceLauncher.launchService(ServiceLauncher.java:186)
	at org.apache.slider.core.main.ServiceLauncher.launchServiceRobustly(ServiceLauncher.java:471)
	at org.apache.slider.core.main.ServiceLauncher.launchServiceAndExit(ServiceLauncher.java:401)
	at org.apache.slider.core.main.ServiceLauncher.serviceMain(ServiceLauncher.java:626)
	at org.apache.slider.server.appmaster.SliderAppMaster.main(SliderAppMaster.java:1847)
2014-08-22 15:22:16,070 [main] ERROR main.ServiceLauncher (ServiceLauncher.java:error(342)) - Exception: Unable to start agent server: org.mortbay.util.MultiException[java.io.IOException: DerInputStream.getLength(): lengthTag=127, too big., java.io.IOException: DerInputStream.getLength(): lengthTag=127, too big.]
java.io.IOException: Unable to start agent server: org.mortbay.util.MultiException[java.io.IOException: DerInputStream.getLength(): lengthTag=127, too big., java.io.IOException: DerInputStream.getLength(): lengthTag=127, too big.]
	at org.apache.slider.server.appmaster.web.rest.agent.AgentWebApp$Builder.start(AgentWebApp.java:110)
	at org.apache.slider.server.appmaster.SliderAppMaster.startAgentWebApp(SliderAppMaster.java:832)
	at org.apache.slider.server.appmaster.SliderAppMaster.createAndRunCluster(SliderAppMaster.java:666)
	at org.apache.slider.server.appmaster.SliderAppMaster.runService(SliderAppMaster.java:481)
	at org.apache.slider.core.main.ServiceLauncher.launchService(ServiceLauncher.java:186)
	at org.apache.slider.core.main.ServiceLauncher.launchServiceRobustly(ServiceLauncher.java:471)
	at org.apache.slider.core.main.ServiceLauncher.launchServiceAndExit(ServiceLauncher.java:401)
	at org.apache.slider.core.main.ServiceLauncher.serviceMain(ServiceLauncher.java:626)
	at org.apache.slider.server.appmaster.SliderAppMaster.main(SliderAppMaster.java:1847)
Caused by: org.mortbay.util.MultiException[java.io.IOException: DerInputStream.getLength(): lengthTag=127, too big., java.io.IOException: DerInputStream.getLength(): lengthTag=127, too big.]
	at org.mortbay.jetty.Server.doStart(Server.java:188)
	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
	at org.apache.slider.server.appmaster.web.rest.agent.AgentWebApp$Builder.start(AgentWebApp.java:104)
	... 8 more
2014-08-22 15:22:16,072 [main] INFO  util.ExitUtil (ExitUtil.java:terminate(124)) - Exiting with status 32
{code}

I've installed the JCE on both JVMs in the system, apparently. (BTW, maybe we could print/checksum it on startup for better diags?)

> Agent web app not starting on Windows
> -------------------------------------
>
>                 Key: SLIDER-351
>                 URL: https://issues.apache.org/jira/browse/SLIDER-351
>             Project: Slider
>          Issue Type: Sub-task
>          Components: agent-provider, appmaster
>    Affects Versions: Slider 0.50
>         Environment: Windows server 2012, Java 7, with JCE installed.
>            Reporter: Steve Loughran
>            Assignee: Jonathan Maron
>
> Agent webapp failing on Windows with error
> {code}
> java.io.IOException: DerInputStream.getLength(): lengthTag=127, too big.
> 	at sun.security.util.DerInputStream.getLength(DerInputStream.java:561)
> 	at sun.security.util.DerValue.init(DerValue.java:365)
> 	at sun.security.util.DerValue.<init>(DerValue.java:320)
> 	at sun.security.pkcs12.PKCS12KeyStore.engineLoad(PKCS12KeyStore.java:1220){code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)