[JIRA] (JENKINS-12334) jenkins does not start in jboss container
[ https://issues.jenkins-ci.org/browse/JENKINS-12334?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=158860#comment-158860 ] Kohsuke Kawaguchi commented on JENKINS-12334: - Relevant source code is https://github.com/ceki/slf4j/blob/master/slf4j-api/src/main/java/org/slf4j/LoggerFactory.java#L147 The error appears to be that JBoss makes some old slf4j binding visible in the classloader? The comment from torbent on Jan 12th is likely different problem as if one runs in Winstone, there's no interference with the classloader. > jenkins does not start in jboss container > - > > Key: JENKINS-12334 > URL: https://issues.jenkins-ci.org/browse/JENKINS-12334 > Project: Jenkins > Issue Type: Bug > Components: core >Affects Versions: current > Environment: JBoss 5.1 EAP >Reporter: Terry Sposato >Priority: Blocker > Labels: jenkins > > Using latest RC version of jenkins, starting jboss up gives these errors: > 2012-01-09 16:07:06,859 INFO [org.jboss.bootstrap.microcontainer.ServerImpl] > (main) JBoss (Microcontainer) [5.1.0 (build: SVNTag=JBPAPP_5_1_0 > date=201009150028)] Started in 32s:316ms > 2012-01-09 16:07:07,305 INFO [jenkins.InitReactorRunner] (pool-14-thread-2) > Started initialization > 2012-01-09 16:07:09,553 INFO [jenkins.InitReactorRunner] (pool-14-thread-4) > Listed all plugins > 2012-01-09 16:07:13,601 INFO [jenkins.InitReactorRunner] (pool-14-thread-2) > Prepared all plugins > 2012-01-09 16:07:18,630 ERROR [STDERR] (Initializing plugin copyartifact) > SLF4J: slf4j-api 1.6.x (or later) is incompatible with this binding. > 2012-01-09 16:07:18,630 ERROR [STDERR] (Initializing plugin copyartifact) > SLF4J: Your binding is version 1.5.5 or earlier. > 2012-01-09 16:07:18,630 ERROR [STDERR] (Initializing plugin copyartifact) > SLF4J: Upgrade your binding to version 1.6.x. or 2.0.x > 2012-01-09 16:07:18,637 WARNING [hudson.ExtensionFinder$GuiceFinder] > (Initializing plugin copyartifact) Failed to instantiate. Skipping this > component > com.google.inject.ProvisionException: Guice provision errors: > 1) Error injecting constructor, java.lang.NoSuchMethodError: > org.slf4j.impl.StaticLoggerBinder.getSingleton()Lorg/slf4j/impl/StaticLoggerBinder; > at org.jenkinsci.main.modules.sshd.SSHD.(SSHD.java:40) > 1 error > at > com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:52) > at com.google.inject.Scopes$1$1.get(Scopes.java:59) > at > hudson.ExtensionFinder$AbstractGuiceFinder$2$1.get(ExtensionFinder.java:365) > at > com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41) > at > com.google.inject.internal.SingleFieldInjector.inject(SingleFieldInjector.java:54) > at > com.google.inject.internal.MembersInjectorImpl.injectMembers(MembersInjectorImpl.java:118) > at > com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:117) > at > com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:87) > at > com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:259) > at > com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46) > at > com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1018) > at > com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40) > at com.google.inject.Scopes$1$1.get(Scopes.java:59) > at > hudson.ExtensionFinder$AbstractGuiceFinder$2$1.get(ExtensionFinder.java:365) > at > com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41) > at > com.google.inject.internal.InjectorImpl$3$1.call(InjectorImpl.java:965) > at > com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1011) > at > com.google.inject.internal.InjectorImpl$3.get(InjectorImpl.java:961) > at > hudson.ExtensionFinder$AbstractGuiceFinder._find(ExtensionFinder.java:336) > at > hudson.ExtensionFinder$AbstractGuiceFinder.find(ExtensionFinder.java:327) > at hudson.ExtensionFinder._find(ExtensionFinder.java:147) > at > hudson.ClassicPluginStrategy.findComponents(ClassicPluginStrategy.java:289) > at hudson.ExtensionList.load(ExtensionList.java:278) > at hudson.ExtensionList.ensureLoaded(ExtensionList.java:231) > at hudson.ExtensionList.iterator(ExtensionList.java:138) > at jenkins.model.Jenkins.getDescriptorByType(Jenkins.java:1046) > at > hudson.plugins.copyartifact.Build
[JIRA] (JENKINS-12334) jenkins does not start in jboss container
[ https://issues.jenkins-ci.org/browse/JENKINS-12334?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=158861#comment-158861 ] torbent commented on JENKINS-12334: --- Well, it may or may not be the same problem, but it has (some of?) the same symptoms ;-) A snippet from my logfile (well, I think it was actually displayed in the html interface), attempting to start a 1.450: {quote}org.jvnet.hudson.reactor.ReactorException: java.lang.Error: java.lang.reflect.InvocationTargetException at org.jvnet.hudson.reactor.Reactor.execute(Reactor.java:246) at jenkins.InitReactorRunner.run(InitReactorRunner.java:43) at jenkins.model.Jenkins.executeReactor(Jenkins.java:823) at jenkins.model.Jenkins.(Jenkins.java:735) at hudson.model.Hudson.(Hudson.java:81) at hudson.model.Hudson.(Hudson.java:77) at hudson.WebAppMain$2.run(WebAppMain.java:217) Caused by: java.lang.Error: java.lang.reflect.InvocationTargetException at hudson.init.InitializerFinder.invoke(InitializerFinder.java:124) at hudson.init.InitializerFinder$TaskImpl.run(InitializerFinder.java:184) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:259) at jenkins.model.Jenkins$5.runTask(Jenkins.java:812) at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:187) 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) Caused by: java.lang.reflect.InvocationTargetException 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 hudson.init.InitializerFinder.invoke(InitializerFinder.java:120) ... 8 more Caused by: java.lang.NullPointerException at org.jenkinsci.main.modules.sshd.SSHD.init(SSHD.java:133) ... 13 more {quote} I'm keeping an eye on several "doesn't work after 1.446" issues, including this one. I don't mind submitting another report if it's not the same problem? ;-) > jenkins does not start in jboss container > - > > Key: JENKINS-12334 > URL: https://issues.jenkins-ci.org/browse/JENKINS-12334 > Project: Jenkins > Issue Type: Bug > Components: core >Affects Versions: current > Environment: JBoss 5.1 EAP >Reporter: Terry Sposato >Priority: Blocker > Labels: jenkins > > Using latest RC version of jenkins, starting jboss up gives these errors: > 2012-01-09 16:07:06,859 INFO [org.jboss.bootstrap.microcontainer.ServerImpl] > (main) JBoss (Microcontainer) [5.1.0 (build: SVNTag=JBPAPP_5_1_0 > date=201009150028)] Started in 32s:316ms > 2012-01-09 16:07:07,305 INFO [jenkins.InitReactorRunner] (pool-14-thread-2) > Started initialization > 2012-01-09 16:07:09,553 INFO [jenkins.InitReactorRunner] (pool-14-thread-4) > Listed all plugins > 2012-01-09 16:07:13,601 INFO [jenkins.InitReactorRunner] (pool-14-thread-2) > Prepared all plugins > 2012-01-09 16:07:18,630 ERROR [STDERR] (Initializing plugin copyartifact) > SLF4J: slf4j-api 1.6.x (or later) is incompatible with this binding. > 2012-01-09 16:07:18,630 ERROR [STDERR] (Initializing plugin copyartifact) > SLF4J: Your binding is version 1.5.5 or earlier. > 2012-01-09 16:07:18,630 ERROR [STDERR] (Initializing plugin copyartifact) > SLF4J: Upgrade your binding to version 1.6.x. or 2.0.x > 2012-01-09 16:07:18,637 WARNING [hudson.ExtensionFinder$GuiceFinder] > (Initializing plugin copyartifact) Failed to instantiate. Skipping this > component > com.google.inject.ProvisionException: Guice provision errors: > 1) Error injecting constructor, java.lang.NoSuchMethodError: > org.slf4j.impl.StaticLoggerBinder.getSingleton()Lorg/slf4j/impl/StaticLoggerBinder; > at org.jenkinsci.main.modules.sshd.SSHD.(SSHD.java:40) > 1 error > at > com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:52) > at com.google.inject.Scopes$1$1.get(Scopes.java:59) > at > hudson.ExtensionFinder$AbstractGuiceFinder$2$1.get(ExtensionFinder.java:365) > at > com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41) > at > com.google.inject.internal.SingleFieldInjector.inject(SingleFieldInjector.java:54) > at > com.google.inject.internal.MembersInjectorImpl.injectMembers(MembersInjectorImpl.java:118) > a
[JIRA] (JENKINS-12334) jenkins does not start in jboss container
[ https://issues.jenkins-ci.org/browse/JENKINS-12334?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=158863#comment-158863 ] Alex Lehmann commented on JENKINS-12334: i believe there is an issue for winstone with slf4j already JENKINS-12446 > jenkins does not start in jboss container > - > > Key: JENKINS-12334 > URL: https://issues.jenkins-ci.org/browse/JENKINS-12334 > Project: Jenkins > Issue Type: Bug > Components: core >Affects Versions: current > Environment: JBoss 5.1 EAP >Reporter: Terry Sposato >Priority: Blocker > Labels: jenkins > > Using latest RC version of jenkins, starting jboss up gives these errors: > 2012-01-09 16:07:06,859 INFO [org.jboss.bootstrap.microcontainer.ServerImpl] > (main) JBoss (Microcontainer) [5.1.0 (build: SVNTag=JBPAPP_5_1_0 > date=201009150028)] Started in 32s:316ms > 2012-01-09 16:07:07,305 INFO [jenkins.InitReactorRunner] (pool-14-thread-2) > Started initialization > 2012-01-09 16:07:09,553 INFO [jenkins.InitReactorRunner] (pool-14-thread-4) > Listed all plugins > 2012-01-09 16:07:13,601 INFO [jenkins.InitReactorRunner] (pool-14-thread-2) > Prepared all plugins > 2012-01-09 16:07:18,630 ERROR [STDERR] (Initializing plugin copyartifact) > SLF4J: slf4j-api 1.6.x (or later) is incompatible with this binding. > 2012-01-09 16:07:18,630 ERROR [STDERR] (Initializing plugin copyartifact) > SLF4J: Your binding is version 1.5.5 or earlier. > 2012-01-09 16:07:18,630 ERROR [STDERR] (Initializing plugin copyartifact) > SLF4J: Upgrade your binding to version 1.6.x. or 2.0.x > 2012-01-09 16:07:18,637 WARNING [hudson.ExtensionFinder$GuiceFinder] > (Initializing plugin copyartifact) Failed to instantiate. Skipping this > component > com.google.inject.ProvisionException: Guice provision errors: > 1) Error injecting constructor, java.lang.NoSuchMethodError: > org.slf4j.impl.StaticLoggerBinder.getSingleton()Lorg/slf4j/impl/StaticLoggerBinder; > at org.jenkinsci.main.modules.sshd.SSHD.(SSHD.java:40) > 1 error > at > com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:52) > at com.google.inject.Scopes$1$1.get(Scopes.java:59) > at > hudson.ExtensionFinder$AbstractGuiceFinder$2$1.get(ExtensionFinder.java:365) > at > com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41) > at > com.google.inject.internal.SingleFieldInjector.inject(SingleFieldInjector.java:54) > at > com.google.inject.internal.MembersInjectorImpl.injectMembers(MembersInjectorImpl.java:118) > at > com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:117) > at > com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:87) > at > com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:259) > at > com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46) > at > com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1018) > at > com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40) > at com.google.inject.Scopes$1$1.get(Scopes.java:59) > at > hudson.ExtensionFinder$AbstractGuiceFinder$2$1.get(ExtensionFinder.java:365) > at > com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41) > at > com.google.inject.internal.InjectorImpl$3$1.call(InjectorImpl.java:965) > at > com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1011) > at > com.google.inject.internal.InjectorImpl$3.get(InjectorImpl.java:961) > at > hudson.ExtensionFinder$AbstractGuiceFinder._find(ExtensionFinder.java:336) > at > hudson.ExtensionFinder$AbstractGuiceFinder.find(ExtensionFinder.java:327) > at hudson.ExtensionFinder._find(ExtensionFinder.java:147) > at > hudson.ClassicPluginStrategy.findComponents(ClassicPluginStrategy.java:289) > at hudson.ExtensionList.load(ExtensionList.java:278) > at hudson.ExtensionList.ensureLoaded(ExtensionList.java:231) > at hudson.ExtensionList.iterator(ExtensionList.java:138) > at jenkins.model.Jenkins.getDescriptorByType(Jenkins.java:1046) > at > hudson.plugins.copyartifact.BuildSelectorParameter.initAliases(BuildSelectorParameter.java:100) > at > hudson.plugins.copyartifact.CopyArtifactPlugin.postInitialize(CopyArtifactPlugin.java:35) > at hudson.PluginManager$2$1$2.run(PluginManager.java:310) > at > org.jvnet.hudson.reactor.TaskGraphBuilder
[JIRA] (JENKINS-12334) jenkins does not start in jboss container
[ https://issues.jenkins-ci.org/browse/JENKINS-12334?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=158877#comment-158877 ] SCM/JIRA link daemon commented on JENKINS-12334: Code changed in jenkins User: Kohsuke Kawaguchi Path: changelog.html maven-plugin/pom.xml pom.xml war/pom.xml http://jenkins-ci.org/commit/jenkins/ef1ad6ca29c313fa0b4bc6f5dcd8344046221049 Log: [FIXED JENKINS-12334 JENKINS-12446 JENKINS-12650] Bundle slf4j binding to the war. See the comment in war/pom.xml for detailed discussion. This is fundamentally a "damned if I do, damned if I don't" situation, but given that JENKINS-12334 is a fatal error, and the downside of bundling the binding jar is "multiple binding" warning, it seems like the lesser evil is to bundle it and risk some warnings. > jenkins does not start in jboss container > - > > Key: JENKINS-12334 > URL: https://issues.jenkins-ci.org/browse/JENKINS-12334 > Project: Jenkins > Issue Type: Bug > Components: core >Affects Versions: current > Environment: JBoss 5.1 EAP >Reporter: Terry Sposato >Priority: Blocker > Labels: jenkins > > Using latest RC version of jenkins, starting jboss up gives these errors: > 2012-01-09 16:07:06,859 INFO [org.jboss.bootstrap.microcontainer.ServerImpl] > (main) JBoss (Microcontainer) [5.1.0 (build: SVNTag=JBPAPP_5_1_0 > date=201009150028)] Started in 32s:316ms > 2012-01-09 16:07:07,305 INFO [jenkins.InitReactorRunner] (pool-14-thread-2) > Started initialization > 2012-01-09 16:07:09,553 INFO [jenkins.InitReactorRunner] (pool-14-thread-4) > Listed all plugins > 2012-01-09 16:07:13,601 INFO [jenkins.InitReactorRunner] (pool-14-thread-2) > Prepared all plugins > 2012-01-09 16:07:18,630 ERROR [STDERR] (Initializing plugin copyartifact) > SLF4J: slf4j-api 1.6.x (or later) is incompatible with this binding. > 2012-01-09 16:07:18,630 ERROR [STDERR] (Initializing plugin copyartifact) > SLF4J: Your binding is version 1.5.5 or earlier. > 2012-01-09 16:07:18,630 ERROR [STDERR] (Initializing plugin copyartifact) > SLF4J: Upgrade your binding to version 1.6.x. or 2.0.x > 2012-01-09 16:07:18,637 WARNING [hudson.ExtensionFinder$GuiceFinder] > (Initializing plugin copyartifact) Failed to instantiate. Skipping this > component > com.google.inject.ProvisionException: Guice provision errors: > 1) Error injecting constructor, java.lang.NoSuchMethodError: > org.slf4j.impl.StaticLoggerBinder.getSingleton()Lorg/slf4j/impl/StaticLoggerBinder; > at org.jenkinsci.main.modules.sshd.SSHD.(SSHD.java:40) > 1 error > at > com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:52) > at com.google.inject.Scopes$1$1.get(Scopes.java:59) > at > hudson.ExtensionFinder$AbstractGuiceFinder$2$1.get(ExtensionFinder.java:365) > at > com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41) > at > com.google.inject.internal.SingleFieldInjector.inject(SingleFieldInjector.java:54) > at > com.google.inject.internal.MembersInjectorImpl.injectMembers(MembersInjectorImpl.java:118) > at > com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:117) > at > com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:87) > at > com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:259) > at > com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46) > at > com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1018) > at > com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40) > at com.google.inject.Scopes$1$1.get(Scopes.java:59) > at > hudson.ExtensionFinder$AbstractGuiceFinder$2$1.get(ExtensionFinder.java:365) > at > com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41) > at > com.google.inject.internal.InjectorImpl$3$1.call(InjectorImpl.java:965) > at > com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1011) > at > com.google.inject.internal.InjectorImpl$3.get(InjectorImpl.java:961) > at > hudson.ExtensionFinder$AbstractGuiceFinder._find(ExtensionFinder.java:336) > at > hudson.ExtensionFinder$AbstractGuiceFinder.find(ExtensionFinder.java:327) > at hudson.ExtensionFinder._find(ExtensionFinder.java:147) > at > hudson.ClassicPluginStrategy.findComponents(ClassicPluginStrategy.java:289) > at hudson.ExtensionList.load(ExtensionList.java:278) >
[JIRA] (JENKINS-12334) jenkins does not start in jboss container
[ https://issues.jenkins-ci.org/browse/JENKINS-12334?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kohsuke Kawaguchi resolved JENKINS-12334. - Assignee: Kohsuke Kawaguchi Resolution: Fixed > jenkins does not start in jboss container > - > > Key: JENKINS-12334 > URL: https://issues.jenkins-ci.org/browse/JENKINS-12334 > Project: Jenkins > Issue Type: Bug > Components: core >Affects Versions: current > Environment: JBoss 5.1 EAP >Reporter: Terry Sposato >Assignee: Kohsuke Kawaguchi >Priority: Blocker > Labels: jenkins > > Using latest RC version of jenkins, starting jboss up gives these errors: > 2012-01-09 16:07:06,859 INFO [org.jboss.bootstrap.microcontainer.ServerImpl] > (main) JBoss (Microcontainer) [5.1.0 (build: SVNTag=JBPAPP_5_1_0 > date=201009150028)] Started in 32s:316ms > 2012-01-09 16:07:07,305 INFO [jenkins.InitReactorRunner] (pool-14-thread-2) > Started initialization > 2012-01-09 16:07:09,553 INFO [jenkins.InitReactorRunner] (pool-14-thread-4) > Listed all plugins > 2012-01-09 16:07:13,601 INFO [jenkins.InitReactorRunner] (pool-14-thread-2) > Prepared all plugins > 2012-01-09 16:07:18,630 ERROR [STDERR] (Initializing plugin copyartifact) > SLF4J: slf4j-api 1.6.x (or later) is incompatible with this binding. > 2012-01-09 16:07:18,630 ERROR [STDERR] (Initializing plugin copyartifact) > SLF4J: Your binding is version 1.5.5 or earlier. > 2012-01-09 16:07:18,630 ERROR [STDERR] (Initializing plugin copyartifact) > SLF4J: Upgrade your binding to version 1.6.x. or 2.0.x > 2012-01-09 16:07:18,637 WARNING [hudson.ExtensionFinder$GuiceFinder] > (Initializing plugin copyartifact) Failed to instantiate. Skipping this > component > com.google.inject.ProvisionException: Guice provision errors: > 1) Error injecting constructor, java.lang.NoSuchMethodError: > org.slf4j.impl.StaticLoggerBinder.getSingleton()Lorg/slf4j/impl/StaticLoggerBinder; > at org.jenkinsci.main.modules.sshd.SSHD.(SSHD.java:40) > 1 error > at > com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:52) > at com.google.inject.Scopes$1$1.get(Scopes.java:59) > at > hudson.ExtensionFinder$AbstractGuiceFinder$2$1.get(ExtensionFinder.java:365) > at > com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41) > at > com.google.inject.internal.SingleFieldInjector.inject(SingleFieldInjector.java:54) > at > com.google.inject.internal.MembersInjectorImpl.injectMembers(MembersInjectorImpl.java:118) > at > com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:117) > at > com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:87) > at > com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:259) > at > com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46) > at > com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1018) > at > com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40) > at com.google.inject.Scopes$1$1.get(Scopes.java:59) > at > hudson.ExtensionFinder$AbstractGuiceFinder$2$1.get(ExtensionFinder.java:365) > at > com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41) > at > com.google.inject.internal.InjectorImpl$3$1.call(InjectorImpl.java:965) > at > com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1011) > at > com.google.inject.internal.InjectorImpl$3.get(InjectorImpl.java:961) > at > hudson.ExtensionFinder$AbstractGuiceFinder._find(ExtensionFinder.java:336) > at > hudson.ExtensionFinder$AbstractGuiceFinder.find(ExtensionFinder.java:327) > at hudson.ExtensionFinder._find(ExtensionFinder.java:147) > at > hudson.ClassicPluginStrategy.findComponents(ClassicPluginStrategy.java:289) > at hudson.ExtensionList.load(ExtensionList.java:278) > at hudson.ExtensionList.ensureLoaded(ExtensionList.java:231) > at hudson.ExtensionList.iterator(ExtensionList.java:138) > at jenkins.model.Jenkins.getDescriptorByType(Jenkins.java:1046) > at > hudson.plugins.copyartifact.BuildSelectorParameter.initAliases(BuildSelectorParameter.java:100) > at > hudson.plugins.copyartifact.CopyArtifactPlugin.postInitialize(CopyArtifactPlugin.java:35) > at hudson.PluginManager$2$1$2.run(PluginManager.java:310) > at > org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.j
[JIRA] (JENKINS-12334) jenkins does not start in jboss container
[ https://issues.jenkins-ci.org/browse/JENKINS-12334?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=160263#comment-160263 ] Alex Lehmann edited comment on JENKINS-12334 at 3/14/12 10:52 PM: -- JENKINS-12867: this is the indentical error message, however the fix wasn't out at the time the 2nd issue was written was (Author: alexlehm): this is the indentical error message, however the fix wasn't out at the time the 2nd issue was written > jenkins does not start in jboss container > - > > Key: JENKINS-12334 > URL: https://issues.jenkins-ci.org/browse/JENKINS-12334 > Project: Jenkins > Issue Type: Bug > Components: core >Affects Versions: current > Environment: JBoss 5.1 EAP >Reporter: Terry Sposato >Assignee: Kohsuke Kawaguchi >Priority: Blocker > Labels: jenkins > > Using latest RC version of jenkins, starting jboss up gives these errors: > 2012-01-09 16:07:06,859 INFO [org.jboss.bootstrap.microcontainer.ServerImpl] > (main) JBoss (Microcontainer) [5.1.0 (build: SVNTag=JBPAPP_5_1_0 > date=201009150028)] Started in 32s:316ms > 2012-01-09 16:07:07,305 INFO [jenkins.InitReactorRunner] (pool-14-thread-2) > Started initialization > 2012-01-09 16:07:09,553 INFO [jenkins.InitReactorRunner] (pool-14-thread-4) > Listed all plugins > 2012-01-09 16:07:13,601 INFO [jenkins.InitReactorRunner] (pool-14-thread-2) > Prepared all plugins > 2012-01-09 16:07:18,630 ERROR [STDERR] (Initializing plugin copyartifact) > SLF4J: slf4j-api 1.6.x (or later) is incompatible with this binding. > 2012-01-09 16:07:18,630 ERROR [STDERR] (Initializing plugin copyartifact) > SLF4J: Your binding is version 1.5.5 or earlier. > 2012-01-09 16:07:18,630 ERROR [STDERR] (Initializing plugin copyartifact) > SLF4J: Upgrade your binding to version 1.6.x. or 2.0.x > 2012-01-09 16:07:18,637 WARNING [hudson.ExtensionFinder$GuiceFinder] > (Initializing plugin copyartifact) Failed to instantiate. Skipping this > component > com.google.inject.ProvisionException: Guice provision errors: > 1) Error injecting constructor, java.lang.NoSuchMethodError: > org.slf4j.impl.StaticLoggerBinder.getSingleton()Lorg/slf4j/impl/StaticLoggerBinder; > at org.jenkinsci.main.modules.sshd.SSHD.(SSHD.java:40) > 1 error > at > com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:52) > at com.google.inject.Scopes$1$1.get(Scopes.java:59) > at > hudson.ExtensionFinder$AbstractGuiceFinder$2$1.get(ExtensionFinder.java:365) > at > com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41) > at > com.google.inject.internal.SingleFieldInjector.inject(SingleFieldInjector.java:54) > at > com.google.inject.internal.MembersInjectorImpl.injectMembers(MembersInjectorImpl.java:118) > at > com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:117) > at > com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:87) > at > com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:259) > at > com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46) > at > com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1018) > at > com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40) > at com.google.inject.Scopes$1$1.get(Scopes.java:59) > at > hudson.ExtensionFinder$AbstractGuiceFinder$2$1.get(ExtensionFinder.java:365) > at > com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41) > at > com.google.inject.internal.InjectorImpl$3$1.call(InjectorImpl.java:965) > at > com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1011) > at > com.google.inject.internal.InjectorImpl$3.get(InjectorImpl.java:961) > at > hudson.ExtensionFinder$AbstractGuiceFinder._find(ExtensionFinder.java:336) > at > hudson.ExtensionFinder$AbstractGuiceFinder.find(ExtensionFinder.java:327) > at hudson.ExtensionFinder._find(ExtensionFinder.java:147) > at > hudson.ClassicPluginStrategy.findComponents(ClassicPluginStrategy.java:289) > at hudson.ExtensionList.load(ExtensionList.java:278) > at hudson.ExtensionList.ensureLoaded(ExtensionList.java:231) > at hudson.ExtensionList.iterator(ExtensionList.java:138) > at jenkins.model.Jenkins.getDescriptorByType(Jenkins.java:1046) > at > hudson.plugins.copyartifact.Build
[JIRA] (JENKINS-12334) jenkins does not start in jboss container
[ https://issues.jenkins-ci.org/browse/JENKINS-12334?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=160443#comment-160443 ] SCM/JIRA link daemon commented on JENKINS-12334: Code changed in jenkins User: Kohsuke Kawaguchi Path: maven-plugin/pom.xml pom.xml war/pom.xml http://jenkins-ci.org/commit/jenkins/7cc71cd78ea5839bec9a4c881c00751dde9b5b5a Log: [FIXED JENKINS-12334 JENKINS-12446 JENKINS-12650] Bundle slf4j binding to the war. See the comment in war/pom.xml for detailed discussion. This is fundamentally a "damned if I do, damned if I don't" situation, but given that JENKINS-12334 is a fatal error, and the downside of bundling the binding jar is "multiple binding" warning, it seems like the lesser evil is to bundle it and risk some warnings. Cherry-picked-from: ef1ad6ca29c313fa0b4bc6f5dcd8344046221049 > jenkins does not start in jboss container > - > > Key: JENKINS-12334 > URL: https://issues.jenkins-ci.org/browse/JENKINS-12334 > Project: Jenkins > Issue Type: Bug > Components: core >Affects Versions: current > Environment: JBoss 5.1 EAP >Reporter: Terry Sposato >Assignee: Kohsuke Kawaguchi >Priority: Blocker > Labels: jenkins > > Using latest RC version of jenkins, starting jboss up gives these errors: > 2012-01-09 16:07:06,859 INFO [org.jboss.bootstrap.microcontainer.ServerImpl] > (main) JBoss (Microcontainer) [5.1.0 (build: SVNTag=JBPAPP_5_1_0 > date=201009150028)] Started in 32s:316ms > 2012-01-09 16:07:07,305 INFO [jenkins.InitReactorRunner] (pool-14-thread-2) > Started initialization > 2012-01-09 16:07:09,553 INFO [jenkins.InitReactorRunner] (pool-14-thread-4) > Listed all plugins > 2012-01-09 16:07:13,601 INFO [jenkins.InitReactorRunner] (pool-14-thread-2) > Prepared all plugins > 2012-01-09 16:07:18,630 ERROR [STDERR] (Initializing plugin copyartifact) > SLF4J: slf4j-api 1.6.x (or later) is incompatible with this binding. > 2012-01-09 16:07:18,630 ERROR [STDERR] (Initializing plugin copyartifact) > SLF4J: Your binding is version 1.5.5 or earlier. > 2012-01-09 16:07:18,630 ERROR [STDERR] (Initializing plugin copyartifact) > SLF4J: Upgrade your binding to version 1.6.x. or 2.0.x > 2012-01-09 16:07:18,637 WARNING [hudson.ExtensionFinder$GuiceFinder] > (Initializing plugin copyartifact) Failed to instantiate. Skipping this > component > com.google.inject.ProvisionException: Guice provision errors: > 1) Error injecting constructor, java.lang.NoSuchMethodError: > org.slf4j.impl.StaticLoggerBinder.getSingleton()Lorg/slf4j/impl/StaticLoggerBinder; > at org.jenkinsci.main.modules.sshd.SSHD.(SSHD.java:40) > 1 error > at > com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:52) > at com.google.inject.Scopes$1$1.get(Scopes.java:59) > at > hudson.ExtensionFinder$AbstractGuiceFinder$2$1.get(ExtensionFinder.java:365) > at > com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41) > at > com.google.inject.internal.SingleFieldInjector.inject(SingleFieldInjector.java:54) > at > com.google.inject.internal.MembersInjectorImpl.injectMembers(MembersInjectorImpl.java:118) > at > com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:117) > at > com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:87) > at > com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:259) > at > com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46) > at > com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1018) > at > com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40) > at com.google.inject.Scopes$1$1.get(Scopes.java:59) > at > hudson.ExtensionFinder$AbstractGuiceFinder$2$1.get(ExtensionFinder.java:365) > at > com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41) > at > com.google.inject.internal.InjectorImpl$3$1.call(InjectorImpl.java:965) > at > com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1011) > at > com.google.inject.internal.InjectorImpl$3.get(InjectorImpl.java:961) > at > hudson.ExtensionFinder$AbstractGuiceFinder._find(ExtensionFinder.java:336) > at > hudson.ExtensionFinder$AbstractGuiceFinder.find(ExtensionFinder.java:327) > at hudson.ExtensionFinder._find(ExtensionFinder.java:147) > at > hudson.ClassicPluginStrategy.findComponents(ClassicPluginStr