Marvin Addison a écrit :
I "just" want an instance of cas which authenticate with a LDAP bind.
Got it. The problems start with the serviceRegistryDao bean where
you've got a Jpa implementation of the service registry,
JpaServiceRegistryDaoImpl. Change that bean to use the memory-backed
version, org.jasig.cas.services.InMemoryServiceRegistryDaoImpl, and
you can delete all subsequent beans that reference Jpa, data sources,
and transactions.
M
The deploy fails because the class
org.jasig.cas.authentication.DefaultAuthenticationManagerImpl is not
found
Is it a missing dependency ?
The other problem is about MANIFEST.MF but I have not already mentioned
it because I thought it was not important.
Bernard
11 mai 2010 17:28:12
org.apache.catalina.startup.HostConfig checkResources
INFO: Repli (undeploy) de l'application web ayant pour chemin de
contexte /cas
11 mai 2010 17:28:12 org.apache.catalina.startup.HostConfig deployWAR
INFO: D�ploiement de l'archive cas.war de l'application web
11 mai 2010 17:28:12 org.apache.catalina.startup.ContextConfig init
GRAVE: Exception fixing docBase: {0}
java.io.FileNotFoundException:
/opt/csw/share/tomcat6/webapps/cas/META-INF/MANIFEST.MF (Ce fichier ou
ce répertoire n'existe pas)
at java.io.FileOutputStream.open(Native Method)
at
java.io.FileOutputStream.<init>(FileOutputStream.java:179)
at
java.io.FileOutputStream.<init>(FileOutputStream.java:131)
at
org.apache.catalina.startup.ExpandWar.expand(ExpandWar.java:312)
at
org.apache.catalina.startup.ExpandWar.expand(ExpandWar.java:158)
at
org.apache.catalina.startup.ContextConfig.fixDocBase(ContextConfig.java:883)
at
org.apache.catalina.startup.ContextConfig.init(ContextConfig.java:1012)
at
org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:279)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
at
org.apache.catalina.core.StandardContext.init(StandardContext.java:5338)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4086)
at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
at
org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:830)
at
org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:719)
at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490)
at
org.apache.catalina.startup.HostConfig.check(HostConfig.java:1217)
at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:293)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
at
org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1337)
at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1601)
at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1610)
at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1590)
at java.lang.Thread.run(Thread.java:595)
2010-05-11 17:28:18,201 INFO
[org.jasig.cas.services.DefaultServicesManagerImpl] - <Loaded 0
services.>
2010-05-11 17:28:18,411 ERROR
[org.springframework.web.context.ContextLoader] - <Context
initialization failed>
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'centralAuthenticationService' defined in ServletContext
resource [/WEB-INF/spring-configuration/applicationContext.xml]: Cannot
resolve reference to bean 'authenticationManager' while setting bean
property 'authenticationManager'; nested exception is
org.springframework.beans.factory.CannotLoadBeanClassException: Cannot
find class
[org.jasig.cas.authentication.DefaultAuthenticationManagerImpl] for
bean with name 'authenticationManager' defined in ServletContext
resource [/WEB-INF/deployerConfigContext.xml]; nested exception is
java.lang.ClassNotFoundException:
org.jasig.cas.authentication.DefaultAuthenticationManagerImpl
--
______________________________________________________________________
Bernard DEBORD
D.S.I. Grenoble Universités
351 av. de la bibliothèque 38400 St Martin d'Hères
Tél: (33 0)4 56 52 90 53 Fax: (33 0)4 56 52 90 01
______________________________________________________________________
-- You are currently subscribed to [email protected] as: [email protected] To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-user
|