Skip to Content.
Sympa Menu

shibboleth-dev - Re: IdP 2.0: Error on startup with slf4j

Subject: Shibboleth Developers

List archive

Re: IdP 2.0: Error on startup with slf4j


Chronological Thread 
  • From: Chad La Joie <>
  • To:
  • Subject: Re: IdP 2.0: Error on startup with slf4j
  • Date: Tue, 11 Dec 2007 10:29:45 +0100
  • Organization: SWITCH

Yeah, that's not an error, it's a debug message. I hate it when projects throw exceptions in debug messages. I know about it and I'll take care of it before we ship, but it doesn't actually effect anything.

Franck Borel wrote:
Hi Chad,

I took the orginal tomcat version and it seems to work better ;-). But I get this error message:

INFO: Starting service Catalina
Dec 11, 2007 10:05:30 AM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.25
Dec 11, 2007 10:05:30 AM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
[trace] *******************************************************************
[debug] Starting Apache Velocity v1.5 (compiled: 2007-02-22 08:52:29)
[trace] RuntimeInstance initializing.
[debug] Default Properties File: org/apache/velocity/runtime/defaults/velocity.properties
[debug] Trying to use logger class org.apache.velocity.runtime.log.Log4JLogChute
[debug] Couldn't find class org.apache.velocity.runtime.log.Log4JLogChute or necessary supporting classes in classpath.
org/apache/log4j/Layout
java.lang.NoClassDefFoundError: org/apache/log4j/Layout
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:242)
at org.apache.velocity.util.ClassUtils.getClass(ClassUtils.java:63)
at org.apache.velocity.util.ClassUtils.getNewInstance(ClassUtils.java:95)
at org.apache.velocity.runtime.log.LogManager.createLogChute(LogManager.java:147)
at org.apache.velocity.runtime.log.LogManager.updateLog(LogManager.java:208)
at org.apache.velocity.runtime.RuntimeInstance.initializeLog(RuntimeInstance.java:728)
at org.apache.velocity.runtime.RuntimeInstance.init(RuntimeInstance.java:240)
at org.apache.velocity.runtime.RuntimeSingleton.init(RuntimeSingleton.java:113)
at org.apache.velocity.app.Velocity.init(Velocity.java:83)
at org.opensaml.DefaultBootstrap.initializeVelocity(DefaultBootstrap.java:117)
at org.opensaml.DefaultBootstrap.bootstrap(DefaultBootstrap.java:73)
at edu.internet2.middleware.shibboleth.common.config.OpensamlConfigBean.afterPropertiesSet(OpensamlConfigBean.java:50)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1197)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1166)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:426)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:249)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:155)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:246)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:291)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:352)
at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:245)
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:188)
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:49)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3764)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4216)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:920)
at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:883)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1022)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:736)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
at org.apache.catalina.core.StandardService.start(StandardService.java:448)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:700)
at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
[debug] Using SystemLogChute.
[debug] Default ResourceManager initializing. (class org.apache.velocity.runtime.resource.ResourceManagerImpl)
[debug] ResourceLoader instantiated: org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader
[trace] ClasspathResourceLoader : initialization complete.
[debug] ResourceCache: initialized (class org.apache.velocity.runtime.resource.ResourceCacheImpl)
[trace] Default ResourceManager initialization complete.
[debug] Loaded System Directive: org.apache.velocity.runtime.directive.Literal
[debug] Loaded System Directive: org.apache.velocity.runtime.directive.Macro
[debug] Loaded System Directive: org.apache.velocity.runtime.directive.Parse
[debug] Loaded System Directive: org.apache.velocity.runtime.directive.Include
[debug] Loaded System Directive: org.apache.velocity.runtime.directive.Foreach
[debug] Created '20' parsers.
[trace] Velocimacro : initialization starting.
[debug] Velocimacro : "velocimacro.library" is not set. Trying default library: VM_global_library.vm
[debug] Velocimacro : Default library not found.
[debug] Velocimacro : allowInline = true : VMs can be defined inline in templates
[debug] Velocimacro : allowInlineToOverride = false : VMs defined inline may NOT replace previous VM definitions
[debug] Velocimacro : allowInlineLocal = false : VMs defined inline will be global in scope if allowed.
[debug] Velocimacro : autoload off : VM system will not automatically reload global library macros
[trace] Velocimacro : Velocimacro : initialization complete.
[trace] RuntimeInstance successfully initialized.
Dec 11, 2007 10:05:36 AM org.apache.coyote.http11.Http11BaseProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Dec 11, 2007 10:05:36 AM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
Dec 11, 2007 10:05:36 AM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/14 config=null
Dec 11, 2007 10:05:36 AM org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
Dec 11, 2007 10:05:36 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 6092 ms


Does the included Tomcat, in SuSE, use the gcj compiled java classes? Every problem I've seen with gcj relates to classloading in some fashion or another and I know that the Tomcat that ships with RedHat uses gcj. Didn't know if SuSE did too.

I am not shure, I will take a look at it.

By the way, should I report this better in the users mailing list?

-- Franck

--
SWITCH
Serving Swiss Universities
--------------------------
Chad La Joie, Software Engineer, Security
Werdstrasse 2, P.O. Box, 8021 Zurich, Switzerland
phone +41 44 268 15 75, fax +41 44 268 15 68
,
http://www.switch.ch



Archive powered by MHonArc 2.6.16.

Top of Page