3 Replies Latest reply on Apr 20, 2011 11:49 AM by Reinhard Nappert

    ClassNotFoundException: org.jboss.util.Log 4jLoggerFactory

    Reinhard Nappert Newbie

      Hi,

       

      I installed the JBoss 6.0.0 Final Application Server. When I satrt it in "default" mode, it works fine. If I start it up in "all" mode, it can not find the above mentioned class. I noticed that this class is not included in jbossall-client.jar or jboss-iiop-client.jar anymore.

       

      This happens during the start of the CorbaORBService.

       

      Any idea, how to overcome this issue?

       

      Thanks,

      -Reinhard

        • 1. ClassNotFoundException: org.jboss.util.Log 4jLoggerFactory
          jaikiran pai Master

          Please post the entire exception stacktrace.

          • 2. ClassNotFoundException: org.jboss.util.Log 4jLoggerFactory
            Reinhard Nappert Newbie

            here we are:

            09:29:16,644 ERROR [STDERR] java.lang.ClassNotFoundException: org.jboss.util.Log4jLoggerFactory

            09:29:16,645 ERROR [STDERR]     at java.net.URLClassLoader$1.run(URLClassLoader.java:202)

            09:29:16,646 ERROR [STDERR]     at java.security.AccessController.doPrivileged(Native Method)

            09:29:16,646 ERROR [STDERR]     at java.net.URLClassLoader.findClass(URLClassLoader.java:190)

            09:29:16,646 ERROR [STDERR]     at sun.misc.Launcher$ExtClassLoader.findClass(Launcher.java:229)

            09:29:16,646 ERROR [STDERR]     at java.lang.ClassLoader.loadClass(ClassLoader.java:307)

            09:29:16,646 ERROR [STDERR]     at java.lang.ClassLoader.loadClass(ClassLoader.java:248)

            09:29:16,647 ERROR [STDERR]     at java.lang.Class.forName0(Native Method)

            09:29:16,647 ERROR [STDERR]     at java.lang.Class.forName(Class.java:169)

            09:29:16,647 ERROR [STDERR]     at org.jacorb.util.ObjectUtil.classForName(ObjectUtil.java:133)

            09:29:16,647 ERROR [STDERR]     at org.jacorb.config.JacORBConfiguration.initLogging(JacORBConfiguration.java:561)

            09:29:16,648 ERROR [STDERR]     at org.jacorb.config.JacORBConfiguration.<init>(JacORBConfiguration.java:122)

            09:29:16,648 ERROR [STDERR]     at org.jacorb.config.JacORBConfiguration.getConfiguration(JacORBConfiguration.java:95)

            09:29:16,648 ERROR [STDERR]     at org.jacorb.orb.ORB.set_parameters(ORB.java:1410)

            09:29:16,648 ERROR [STDERR]     at org.omg.CORBA.ORB.init(ORB.java:337)

            09:29:16,648 ERROR [STDERR]     at org.jboss.iiop.CorbaORBService.start(CorbaORBService.java:262)

            09:29:16,649 ERROR [STDERR]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

            09:29:16,649 ERROR [STDERR]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

            09:29:16,649 ERROR [STDERR]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

            09:29:16,649 ERROR [STDERR]     at java.lang.reflect.Method.invoke(Method.java:597)

            09:29:16,649 ERROR [STDERR]     at org.jboss.reflect.plugins.introspection.ReflectionUtils.invoke(ReflectionUtils.java:60)

            09:29:16,650 ERROR [STDERR]     at org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(ReflectMethodInfoImpl.java:168)

            09:29:16,650 ERROR [STDERR]     at org.jboss.joinpoint.plugins.BasicMethodJoinPoint.dispatch(BasicMethodJoinPoint.java:66)

            09:29:16,650 ERROR [STDERR]     at org.jboss.kernel.plugins.dependency.KernelControllerContextAction$JoinpointDispatchWrapper.execute(KernelControllerContextAction.java:257)

            09:29:16,650 ERROR [STDERR]     at org.jboss.kernel.plugins.dependency.ExecutionWrapper.execute(ExecutionWrapper.java:47)

            09:29:16,651 ERROR [STDERR]     at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchExecutionWrapper(KernelControllerContextAction.java:125)

            09:29:16,651 ERROR [STDERR]     at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchJoinPoint(KernelControllerContextAction.java:72)

            09:29:16,651 ERROR [STDERR]     at org.jboss.kernel.plugins.dependency.LifecycleAction.installActionInternal(LifecycleAction.java:202)

            09:29:16,651 ERROR [STDERR]     at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:54)

            09:29:16,651 ERROR [STDERR]     at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:42)

            09:29:16,652 ERROR [STDERR]     at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)

            09:29:16,652 ERROR [STDERR]     at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)

            09:29:16,652 ERROR [STDERR]     at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)

            09:29:16,652 ERROR [STDERR]     at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:379)

            09:29:16,652 ERROR [STDERR]     at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2044)

            09:29:16,653 ERROR [STDERR]     at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1083)

            09:29:16,653 ERROR [STDERR]     at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1322)

            09:29:16,653 ERROR [STDERR]     at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1246)

            09:29:16,653 ERROR [STDERR]     at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1139)

            09:29:16,653 ERROR [STDERR]     at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:894)

            09:29:16,654 ERROR [STDERR]     at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:641)

            09:29:16,654 ERROR [STDERR]     at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:182)

            09:29:16,654 ERROR [STDERR]     at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:58)

            09:29:16,654 ERROR [STDERR]     at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)

            09:29:16,655 ERROR [STDERR]     at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:55)

            09:29:16,655 ERROR [STDERR]     at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:179)

            09:29:16,655 ERROR [STDERR]     at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1832)

            09:29:16,655 ERROR [STDERR]     at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1550)

            09:29:16,655 ERROR [STDERR]     at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1571)

            09:29:16,656 ERROR [STDERR]     at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1491)

            09:29:16,656 ERROR [STDERR]     at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:379)

            09:29:16,656 ERROR [STDERR]     at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2044)

            09:29:16,656 ERROR [STDERR]     at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1083)

            09:29:16,656 ERROR [STDERR]     at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1322)

            09:29:16,657 ERROR [STDERR]     at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1246)

            09:29:16,657 ERROR [STDERR]     at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1139)

            09:29:16,657 ERROR [STDERR]     at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:939)

            09:29:16,657 ERROR [STDERR]     at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:654)

            09:29:16,658 ERROR [STDERR]     at org.jboss.deployers.plugins.deployers.DeployersImpl.change(DeployersImpl.java:1983)

            09:29:16,658 ERROR [STDERR]     at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:1076)

            09:29:16,658 ERROR [STDERR]     at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:679)

            09:29:16,658 ERROR [STDERR]     at org.jboss.system.server.profileservice.deployers.MainDeployerPlugin.process(MainDeployerPlugin.java:106)

            09:29:16,658 ERROR [STDERR]     at org.jboss.profileservice.dependency.ProfileControllerContext$DelegateDeployer.process(ProfileControllerContext.java:143)

            09:29:16,659 ERROR [STDERR]     at org.jboss.profileservice.dependency.ProfileDeployAction.deploy(ProfileDeployAction.java:151)

            09:29:16,659 ERROR [STDERR]     at org.jboss.profileservice.dependency.ProfileDeployAction.installActionInternal(ProfileDeployAction.java:94)

            09:29:16,659 ERROR [STDERR]     at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:54)

            09:29:16,659 ERROR [STDERR]     at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:42)

            09:29:16,659 ERROR [STDERR]     at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)

            09:29:16,660 ERROR [STDERR]     at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)

            09:29:16,660 ERROR [STDERR]     at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)

            09:29:16,660 ERROR [STDERR]     at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:379)

            09:29:16,660 ERROR [STDERR]     at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2044)

            09:29:16,660 ERROR [STDERR]     at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1083)

            09:29:16,661 ERROR [STDERR]     at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1322)

            09:29:16,661 ERROR [STDERR]     at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1246)

            09:29:16,661 ERROR [STDERR]     at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1139)

            09:29:16,661 ERROR [STDERR]     at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:939)

            09:29:16,661 ERROR [STDERR]     at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:654)

            09:29:16,662 ERROR [STDERR]     at org.jboss.profileservice.dependency.ProfileActivationWrapper$BasicProfileActivation.start(ProfileActivationWrapper.java:190)

            09:29:16,662 ERROR [STDERR]     at org.jboss.profileservice.dependency.ProfileActivationWrapper.start(ProfileActivationWrapper.java:87)

            09:29:16,662 ERROR [STDERR]     at org.jboss.profileservice.dependency.ProfileActivationService.activateProfile(ProfileActivationService.java:215)

            09:29:16,662 ERROR [STDERR]     at org.jboss.profileservice.dependency.ProfileActivationService.activate(ProfileActivationService.java:159)

            09:29:16,663 ERROR [STDERR]     at org.jboss.profileservice.bootstrap.AbstractProfileServiceBootstrap.activate(AbstractProfileServiceBootstrap.java:112)

            09:29:16,663 ERROR [STDERR]     at org.jboss.profileservice.resolver.BasicResolverFactory$ProfileResolverFacade.deploy(BasicResolverFactory.java:87)

            09:29:16,663 ERROR [STDERR]     at org.jboss.profileservice.bootstrap.AbstractProfileServiceBootstrap.start(AbstractProfileServiceBootstrap.java:91)

            09:29:16,663 ERROR [STDERR]     at org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstrap.start(BasicProfileServiceBootstrap.java:132)

            09:29:16,663 ERROR [STDERR]     at org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstrap.start(BasicProfileServiceBootstrap.java:56)

            09:29:16,664 ERROR [STDERR]     at org.jboss.bootstrap.impl.base.server.AbstractServer.startBootstraps(AbstractServer.java:827)

            09:29:16,664 ERROR [STDERR]     at org.jboss.bootstrap.impl.base.server.AbstractServer$StartServerTask.run(AbstractServer.java:417)

            09:29:16,664 ERROR [STDERR]     at java.lang.Thread.run(Thread.java:619)

            09:29:16,664 ERROR [STDERR] Configuration Error, could not create logger!

            • 3. ClassNotFoundException: org.jboss.util.Log 4jLoggerFactory
              Reinhard Nappert Newbie

              I found out what the issue was: I had a jacorb.jar file in my java.ext.dir, which used this LoggerFactory. After removing it, I do not see this issue anymore