Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-1442

java.lang.ClassNotFoundException: org.apache.juli.ClassLoaderLogManager

    Details

    • Type: Bug
    • Status: In Progress
    • Priority: Major
    • Resolution: Unresolved
    • Component/s: maven-plugin
    • Labels:
      None
    • Environment:
      Platform: PC, OS: Linux

      Description

      Our Runtimeenvironment is SUN-JDK 1.5.0_14, Tomcat 6.0.16, maven 2.0.5, ant
      1.7.0 and Groovy 1.5.4. The Maven2 buildscript uses the antrun-Plugin to perform
      several deployment tasks after build. One of this tasks is executing a
      Groovy-Script. When starting the Groovy-Script the following exception occures:

      [exec] Could not load Logmanager "org.apache.juli.ClassLoaderLogManager"

      [exec] java.lang.ClassNotFoundException: org.apache.juli.ClassLoaderLogManager

      [exec] at org.codehaus.groovy.tools.RootLoader.findClass(RootLoader.java:146)

      [exec] at java.lang.ClassLoader.loadClass(ClassLoader.java:306)

      [exec] at org.codehaus.groovy.tools.RootLoader.loadClass(RootLoader.java:118)

      [exec] at java.lang.ClassLoader.loadClass(ClassLoader.java:251)

      [exec] at java.util.logging.LogManager$1.run(LogManager.java:166)

      [exec] at java.security.AccessController.doPrivileged(Native Method)

      [exec] at java.util.logging.LogManager.<clinit>(LogManager.java:156)

      [exec] at java.util.logging.Logger.getLogger(Logger.java:254)

      [exec] at
      org.codehaus.groovy.runtime.DefaultGroovyMethods.<clinit>(DefaultGroovyMethods.java:68)

      [exec] at java.lang.Class.forName0(Native Method)

      [exec] at java.lang.Class.forName(Class.java:164)

      [exec] at
      org.codehaus.groovy.runtime.metaclass.MetaClassRegistryImpl.class$(MetaClassRegistryImpl.java:167)

      [exec] at
      org.codehaus.groovy.runtime.metaclass.MetaClassRegistryImpl.<init>(MetaClassRegistryImpl.java:167)

      [exec] at
      org.codehaus.groovy.runtime.metaclass.MetaClassRegistryImpl.<init>(MetaClassRegistryImpl.java:145)

      [exec] at groovy.lang.GroovySystem.<clinit>(GroovySystem.java:27)

      [exec] at
      org.codehaus.groovy.runtime.InvokerHelper.<clinit>(InvokerHelper.java:46)

      [exec] at groovy.lang.GroovyObjectSupport.<init>(GroovyObjectSupport.java:32)

      [exec] at groovy.lang.Binding.<init>(Binding.java:32)

      [exec] at groovy.lang.GroovyShell.<init>(GroovyShell.java:63)

      [exec] at groovy.ui.GroovyMain.processOnce(GroovyMain.java:490)

      [exec] at groovy.ui.GroovyMain.run(GroovyMain.java:308)

      [exec] at groovy.ui.GroovyMain.process(GroovyMain.java:294)

      [exec] at groovy.ui.GroovyMain.processArgs(GroovyMain.java:111)

      [exec] at groovy.ui.GroovyMain.main(GroovyMain.java:92)

      [exec] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

      [exec] at
      sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

      [exec] at
      sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

      [exec] at java.lang.reflect.Method.invoke(Method.java:585)

      [exec] at
      org.codehaus.groovy.tools.GroovyStarter.rootLoader(GroovyStarter.java:101)

      [exec] at org.codehaus.groovy.tools.GroovyStarter.main(GroovyStarter.java:130)

      [exec] Can't load log handler "1catalina.org.apache.juli.FileHandler"

      [exec] java.lang.ClassNotFoundException: 1catalina.org.apache.juli.FileHandler

      [exec] java.lang.ClassNotFoundException: 1catalina.org.apache.juli.FileHandler

      The Groovy-Script itself surprisingly executes after the exception without any
      error. Running the maven2-Buildscript standalone passes without any exception.

      brgds
      Bernd Clemenz

      1. application.properties
        0.2 kB
        tblack
      2. joblog.txt
        23 kB
        davidecavestro
      3. pom.xml
        4 kB
        tblack

        Activity

          People

          • Assignee:
            kohsuke Kohsuke Kawaguchi
            Reporter:
            bernd_clemenz bernd_clemenz
          • Votes:
            14 Vote for this issue
            Watchers:
            11 Start watching this issue

            Dates

            • Created:
              Updated: