java.io.IOException: Failed to start a listener: winstone.ssl.HttpsListener

Jenkins JIRA | Thorsten Löber | 5 years ago
  1. 0

    [JENKINS-10810] Jenkins 1.427 doesn't work on AIX - Jenkins JIRA

    jenkins-ci.org | 1 year ago
    java.io.IOException: Failed to start a listener: winstone.ssl.HttpsListener
  2. 0

    I try to upgrade jenkins from 1.415 to 1.427 and get following error message: [Winstone 2011/08/24 09:55:47] - Beginning extraction from war file Jenkins home directory: /home/hudson/.hudson found at: $user.home/.hudson [Winstone 2011/08/24 09:55:56] - HTTP Listener started: port=8080 [Winstone 2011/08/24 09:55:56] - AJP13 Listener started: port=8009 Using one-time self-signed certificate [Winstone 2011/08/24 09:55:56] - Winstone shutdown successfully [Winstone 2011/08/24 09:55:56] - Container startup failed java.io.IOException: Failed to start a listener: winstone.ssl.HttpsListener at winstone.Launcher.spawnListener(Launcher.java:250) at winstone.Launcher.<init>(Launcher.java:206) at winstone.Launcher.main(Launcher.java:398) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:618) at Main._main(Main.java:268) at Main.main(Main.java:96) Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:67) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:522) at winstone.Launcher.spawnListener(Launcher.java:238) ... 8 more Caused by: java.lang.NoClassDefFoundError: sun.security.x509.CertAndKeyGen at winstone.ssl.HttpsListener.<init>(HttpsListener.java:111) ... 13 more Caused by: java.lang.ClassNotFoundException: sun.security.x509.CertAndKeyGen at java.net.URLClassLoader.findClass(URLClassLoader.java:496) at java.lang.ClassLoader.loadClass(ClassLoader.java:631) at java.lang.ClassLoader.loadClass(ClassLoader.java:597) ... 14 more Aug 24, 2011 9:55:56 AM hudson.WebAppMain$2 run SEVERE: Failed to initialize Jenkins java.lang.InterruptedException at java.lang.Object.wait(Native Method) at java.lang.Object.wait(Object.java:199) at org.jvnet.hudson.reactor.Reactor.execute(Reactor.java:244) at jenkins.model.Jenkins.executeReactor(Jenkins.java:813) at jenkins.model.Jenkins.<init>(Jenkins.java:727) at hudson.model.Hudson.<init>(Hudson.java:81) at hudson.model.Hudson.<init>(Hudson.java:77) at hudson.WebAppMain$2.run(WebAppMain.java:217) Exception in thread "pool-2-thread-1" java.lang.NullPointerException at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:191) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:94) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690) at java.lang.Thread.run(Thread.java:810) java version "1.6.0" Java(TM) SE Runtime Environment (build pap6460sr5-20090529_04(SR5)) IBM J9 VM (build 2.4, J2RE 1.6.0 IBM J9 2.4 AIX ppc64-64 jvmap6460sr5-20090519_35743 (JIT enabled, AOT enabled) J9VM - 20090519_035743_BHdSMr JIT - r9_20090518_2017 GC - 20090417_AA) JCL - 20090529_01

    Jenkins JIRA | 5 years ago | Thorsten Löber
    java.io.IOException: Failed to start a listener: winstone.ssl.HttpsListener
  3. 0

    I try to upgrade jenkins from 1.415 to 1.427 and get following error message: [Winstone 2011/08/24 09:55:47] - Beginning extraction from war file Jenkins home directory: /home/hudson/.hudson found at: $user.home/.hudson [Winstone 2011/08/24 09:55:56] - HTTP Listener started: port=8080 [Winstone 2011/08/24 09:55:56] - AJP13 Listener started: port=8009 Using one-time self-signed certificate [Winstone 2011/08/24 09:55:56] - Winstone shutdown successfully [Winstone 2011/08/24 09:55:56] - Container startup failed java.io.IOException: Failed to start a listener: winstone.ssl.HttpsListener at winstone.Launcher.spawnListener(Launcher.java:250) at winstone.Launcher.<init>(Launcher.java:206) at winstone.Launcher.main(Launcher.java:398) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:618) at Main._main(Main.java:268) at Main.main(Main.java:96) Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:67) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:522) at winstone.Launcher.spawnListener(Launcher.java:238) ... 8 more Caused by: java.lang.NoClassDefFoundError: sun.security.x509.CertAndKeyGen at winstone.ssl.HttpsListener.<init>(HttpsListener.java:111) ... 13 more Caused by: java.lang.ClassNotFoundException: sun.security.x509.CertAndKeyGen at java.net.URLClassLoader.findClass(URLClassLoader.java:496) at java.lang.ClassLoader.loadClass(ClassLoader.java:631) at java.lang.ClassLoader.loadClass(ClassLoader.java:597) ... 14 more Aug 24, 2011 9:55:56 AM hudson.WebAppMain$2 run SEVERE: Failed to initialize Jenkins java.lang.InterruptedException at java.lang.Object.wait(Native Method) at java.lang.Object.wait(Object.java:199) at org.jvnet.hudson.reactor.Reactor.execute(Reactor.java:244) at jenkins.model.Jenkins.executeReactor(Jenkins.java:813) at jenkins.model.Jenkins.<init>(Jenkins.java:727) at hudson.model.Hudson.<init>(Hudson.java:81) at hudson.model.Hudson.<init>(Hudson.java:77) at hudson.WebAppMain$2.run(WebAppMain.java:217) Exception in thread "pool-2-thread-1" java.lang.NullPointerException at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:191) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:94) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690) at java.lang.Thread.run(Thread.java:810) java version "1.6.0" Java(TM) SE Runtime Environment (build pap6460sr5-20090529_04(SR5)) IBM J9 VM (build 2.4, J2RE 1.6.0 IBM J9 2.4 AIX ppc64-64 jvmap6460sr5-20090519_35743 (JIT enabled, AOT enabled) J9VM - 20090519_035743_BHdSMr JIT - r9_20090518_2017 GC - 20090417_AA) JCL - 20090529_01

    Jenkins JIRA | 5 years ago | Thorsten Löber
    java.io.IOException: Failed to start a listener: winstone.ssl.HttpsListener
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  1. archenroot 1 times, last 1 week ago
  2. tyson925 5 times, last 2 weeks ago
  3. tzrlk 1 times, last 2 weeks ago
  4. musketyr 1 times, last 2 weeks ago
  5. kjhdofjosvs 3 times, last 3 weeks ago
63 more registered users
32 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.ClassNotFoundException

    sun.security.x509.CertAndKeyGen

    at java.net.URLClassLoader.findClass()
  2. Java RT
    ClassLoader.loadClass
    1. java.net.URLClassLoader.findClass(URLClassLoader.java:496)
    2. java.lang.ClassLoader.loadClass(ClassLoader.java:631)
    3. java.lang.ClassLoader.loadClass(ClassLoader.java:597)
    3 frames
  3. winstone.ssl
    HttpsListener.<init>
    1. winstone.ssl.HttpsListener.<init>(HttpsListener.java:111)
    1 frame
  4. Java RT
    Constructor.newInstance
    1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:67)
    3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    4. java.lang.reflect.Constructor.newInstance(Constructor.java:522)
    4 frames
  5. winstone
    Launcher.main
    1. winstone.Launcher.spawnListener(Launcher.java:238)
    2. winstone.Launcher.<init>(Launcher.java:206)
    3. winstone.Launcher.main(Launcher.java:398)
    3 frames
  6. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:618)
    4 frames
  7. Unknown
    Main.main
    1. Main._main(Main.java:268)
    2. Main.main(Main.java:96)
    2 frames