I was actually thinking about trying that. Deploying it as default worked. 
Thanks.

On Friday, April 14, 2017 at 1:58:29 AM UTC-6, Nour Krichene wrote:
>
> Hello,
>
> I think that you don't need to add dependency when building the management 
> CAS web app
> Try to build it like it is by default and deploy the file .war in the 
> server
> If it does not work try to deploy it in another server (new one) and test 
> it so that you can detect the source of the problem
> What is your OS ?
>
>
> On Thursday, April 13, 2017 at 11:31:45 PM UTC+2, bobbintb wrote:
>>
>> I got CAS configured with LDAP and working and now I am trying to get the 
>> management webapp working. I downloaded the Maven overlay, and added the 
>> LDAP dependency according to the documentation:
>>
>> <dependency>
>>      <groupId>org.apereo.cas</groupId>
>>      <artifactId>cas-management-webapp-support-ldap</artifactId>
>>      <version>${cas.version}</version>
>> </dependency>
>>
>> I built it and deployed the WAR to Tomcat but Tomcat will not start it. 
>> It keeps giving me this error:
>>
>> FAIL - Application at context path /cas-services could not be started
>> FAIL - Encountered exception org.apache.catalina.LifecycleException: Failed 
>> to start component 
>> [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/cas-services]]
>>
>> My CAS prefix is /cas-test and the management prefix is /cas-services. I 
>> left my management.properties mostly as is for the time being, just updating 
>> the existing values:
>>
>>
>> cas.server.name: https://localhost:8443
>> cas.server.prefix: https://localhost:8443/cas-test
>>
>> cas.mgmt.adminRoles=ROLE_ADMIN
>> cas.mgmt.userPropertiesFile=file:/etc/cas/config/users.properties
>> cas.mgmt.serverName=https://localhost:8443
>>
>> server.context-path=/cas-services
>> server.port=8443
>>
>> spring.thymeleaf.mode=HTML
>> logging.config=file:/etc/cas/config/log4j2.xml
>>
>> My cas.properties is also pretty minimal for now:
>> cas.server.name: https://localhost:8443
>> cas.server.prefix: https://localhost:8443/cas-test
>>
>> cas.adminPagesSecurity.ip=127\.0\.0\.1
>>
>> logging.config: file:/etc/cas/config/log4j2.xml
>>
>> #LDAP connection info
>> cas.authn.accept.users=
>> cas.authn.ldap[0].type=AUTHENTICATED
>> cas.authn.ldap[0].ldapUrl=ldaps://my.ldap.org:636
>> cas.authn.ldap[0].useSsl=true
>> cas.authn.ldap[0].useStartTls=false
>> cas.authn.ldap[0].connectTimeout=5000
>> cas.authn.ldap[0].baseDn=ou=active,ou=users,ou=data,o=org
>> cas.authn.ldap[0].userFilter=cn={user}
>> cas.authn.ldap[0].subtreeSearch=true
>> cas.authn.ldap[0].usePasswordPolicy=true
>> cas.authn.ldap[0].bindDn=cn=userproxy,ou=services,o=org
>> cas.authn.ldap[0].bindCredential=*****
>>
>> I had a similar issue with CAS but that was due to an incorrect setting in 
>> the bindDn. I don't think any of my settings are incorrect or missing. Any 
>> suggestions?
>>
>> -- 
>> - 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/b5cc0e3e-02c6-4fe9-95a0-287de422b121%40apereo.org
>>  
>> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/b5cc0e3e-02c6-4fe9-95a0-287de422b121%40apereo.org?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
- 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/7eea5a3a-2252-4082-844b-e39ff8add0cf%40apereo.org.

Reply via email to