For whatever reason you are somehow missing the following:

Caused by: java.lang.NoClassDefFoundError:
org/apache/log4j/spi/ThrowableInformation

Are you sure that log4j is available?  The fact that a log4j error is
showing up may be hiding the real error.

-Scott

On Jan 29, 2008 12:03 PM, jehan procaccia <[EMAIL PROTECTED]>
wrote:

> strangely , I had a cas v3 running OK for several days , but while only
> configuring look&feel (cas.css, jps theme, views ...) , I don't know how
> but I came to a point that cas  isn't running anymore :-( . Tomcat
> cannot start it , and shows in catalina.out the following error :
>
> Jan 29, 2008 5:57:38 PM org.apache.catalina.core.ContainerBase stop
> INFO: Container
> org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/cas].[cas]
> has not been started
> Jan 29, 2008 5:57:38 PM org.apache.catalina.core.ContainerBase stop
> INFO: Container
> org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/cas].[jsp]
> has not been started
> Jan 29, 2008 5:57:38 PM org.apache.catalina.core.ContainerBase stop
> INFO: Container
> org.apache.catalina.core.ContainerBase
> .[Catalina].[localhost].[/cas].[default]
> has not been started
> Jan 29, 2008 5:57:38 PM org.apache.commons.modeler.Registry
> unregisterComponent
> SEVERE: Error unregistering mbean
> javax.management.RuntimeErrorException: Error thrown in preDeregister
> method
>        at
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.preDeregisterInvoke(
> DefaultMBeanServerInterceptor.java:1053)
>        at
>
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.exclusiveUnregisterMBean
> (DefaultMBeanServerInterceptor.java:421)
>        at
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.unregisterMBean(
> DefaultMBeanServerInterceptor.java:403)
>        at
> com.sun.jmx.mbeanserver.JmxMBeanServer.unregisterMBean(JmxMBeanServer.java
> :506)
>        at
> org.apache.commons.modeler.Registry.unregisterComponent(Registry.java:643)
>        at
> org.apache.catalina.core.StandardContext.start(StandardContext.java:3999)
>        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.check(HostConfig.java:1206)
>        at
> org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:293)
>        at
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(
> LifecycleSupport.java:120)
>        at
> org.apache.catalina.core.ContainerBase.backgroundProcess(
> ContainerBase.java:1306)
>        at
>
> org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren
> (ContainerBase.java:1570)
>        at
>
> org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren
> (ContainerBase.java:1579)
>        at
> org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(
> ContainerBase.java:1559)
>        at java.lang.Thread.run(Thread.java:619)
> Caused by: java.lang.NoClassDefFoundError:
> org/apache/log4j/spi/ThrowableInformation
>        at org.apache.log4j.spi.LoggingEvent.<init>(LoggingEvent.java:154)
>        at org.apache.log4j.Category.forcedLog(Category.java:388)
>        at org.apache.log4j.Category.log(Category.java:853)
>        at
> org.apache.commons.logging.impl.Log4JLogger.error(Log4JLogger.java:251)
>        at
> org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java
> :3809)
>        at
> org.apache.catalina.core.StandardContext.stop(StandardContext.java:4357)
>        at
> org.apache.catalina.core.StandardContext.preDeregister(
> StandardContext.java:5009)
>        at
> org.apache.commons.modeler.BaseModelMBean.preDeregister(
> BaseModelMBean.java:1410)
>        at
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.preDeregisterInvoke(
> DefaultMBeanServerInterceptor.java:1048)
>        ... 19 more
> Jan 29, 2008 5:57:38 PM org.apache.catalina.core.NamingContextListener
> lifecycleEvent
> SEVERE: Creation of the naming context failed:
> javax.naming.NamingException: Context is read only
> 2008-01-29 17:57:39,501 WARN
> [org.springframework.ldap.support.LdapContextSource] - <Property
> 'userName' not set - anonymous context will be used for read-write
> operations>
> 2008-01-29 17:57:39,995 INFO
> [org.jasig.cas.web.flow.AuthenticationViaFormAction] - <FormObjectClass
> not set.  Using default class of
> org.jasig.cas.authentication.principal.UsernamePasswordCredentials with
> formObjectName credentials and validator
> org.jasig.cas.validation.UsernamePasswordCredentialsValidator.>
>
>
> If you have an idea on where I should start to find out what is wrng ,
> please let me know.
> Thanks.
>
> PS: I use cas from
>
> http://sourcesup.cru.fr/frs/download.php/1799/cas-toolbox-3.1.1-1.tar.gz
> I documented my positive (at that time ...) installation experience at :
>
> http://www-public.int-evry.fr/~procacci/wiki/bin/view/Documentations/InstallCasv3C5<http://www-public.int-evry.fr/%7Eprocacci/wiki/bin/view/Documentations/InstallCasv3C5>
>
> _______________________________________________
> Yale CAS mailing list
> [email protected]
> http://tp.its.yale.edu/mailman/listinfo/cas
>



-- 
-Scott Battaglia

LinkedIn: http://www.linkedin.com/in/scottbattaglia
_______________________________________________
Yale CAS mailing list
[email protected]
http://tp.its.yale.edu/mailman/listinfo/cas

Reply via email to