You are correct, if you've used the cas overlay template to build it then 
it would include tomcat embed libraries and you would need to remove them 
from the war file that it built to deploy on your own tomcat server.


On Thursday, February 23, 2017 at 11:34:09 AM UTC-5, armando.mart1s wrote:
>
> Hi,
>
> I'm trying to configure a cas server with ldap support but when i start my 
> tomcat8, i always have this error :
>
> 2017-02-23 17:11:45,449 WARN 
> [org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext]
>  
> - <Exception encountered during context initialization - cancelling refresh 
> attempt: org.springframework.beans.factory.BeanCreationException: Error 
> creating bean with name 'servletContainer' defined in class path resource 
> [org/apereo/cas/config/CasEmbeddedContainerConfiguration.class]: Bean 
> instantiation via factory method failed; nested exception is 
> org.springframework.beans.BeanInstantiationException: Failed to instantiate 
> [org.springframework.boot.context.embedded.EmbeddedServletContainerFactory]: 
> Factory method 'servletContainer' threw exception; nested exception is 
> java.lang.LinkageError: loader constraint violation: loader (instance of 
> org/apache/catalina/loader/WebappClassLoader) previously initiated loading 
> for a different type with name "org/apache/coyote/ProtocolHandler">
>
>
> It seems to me that there is a conflict between a cas java class and a 
> tomcat8 java class. But i don't understand how i can solve this problem....
>
> Thanks
>
> -- 
> Armando Martins
>

-- 
- CAS gitter chatroom: https://gitter.im/apereo/cas
- CAS mailing list guidelines: https://apereo.github.io/cas/Mailing-Lists.html
- CAS documentation website: https://apereo.github.io/cas
- CAS project website: https://github.com/apereo/cas
--- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/2a7df723-2088-4225-9673-ef16dd699798%40apereo.org.

Reply via email to