Hello,

My today's build fails : although I've mentioned

        <dependency>
            <groupId>${cas.groupId}</groupId>
           
<artifactId>cas-server-support-json-service-registry</artifactId>
            <version>${cas.version}</version>
            <scope>runtime</scope>
        </dependency>

in my pom.xml, Service registry used to work, The log shows :

2016-10-05 17:26:06,164 INFO
[org.apereo.cas.services.AbstractResourceBasedServiceRegistryDao] -
<Watching service registry directory at /etc/chl/cas5/services>

perfect, but :

2016-10-05 17:26:15,845 WARN
[org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext]
- <Exception encountered during context initialization - cancelling
refresh at
tempt: org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'serviceRegistryInitializer' defined in class
path resource
[org/apereo/cas/config/CasCoreServicesConfiguration.class]: Bean
instantiation via factory method failed; nested exception is
org.springframework.beans.BeanInstantiationException: Failed to
instantiate [org.apereo.cas.services.ServiceRegistryInitializer]:
Factory method 'serviceRegistryInitializer' threw exception; nested
exception is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'embeddedJsonServiceRegistry' defined in
class path resource
[org/apereo/cas/config/CasCoreServicesConfiguration.class]: Bean
instantiation via factory method failed; nested exception is
org.springframework.beans.BeanInstantiationException: Failed to
instantiate [org.apereo.cas.services.ServiceRegistryDao]: Factory method
'embeddedJsonServiceRegistry' threw exception; nested exception is
java.lang.RuntimeException: java.io.FileNotFoundException: class path
resource [services] cannot be resolved to URL because it does not exist>

it seems that embeddedJsonServiceRegistry (looking services in
classpath:/services) is instantiated instead of jsonServiceRegistry
found in  cas-server-support-json-service-registry module.

Environment is the same as last week (Tomcat 8.5.4 / java 8u101).

Regards.

-- 
Philippe MARASSE

Responsable pôle Infrastructures - DSIO
Centre Hospitalier Henri Laborit
CS 10587 - 370 avenue Jacques Cœur 
86021 Poitiers Cedex
Tel : 05.49.44.57.19


-- 
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 cas-user+unsubscr...@apereo.org.
To post to this group, send email to cas-user@apereo.org.
Visit this group at https://groups.google.com/a/apereo.org/group/cas-user/.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/a6683d22-fd8d-4fab-461d-36aef4202524%40ch-poitiers.fr.
For more options, visit https://groups.google.com/a/apereo.org/d/optout.

Attachment: smime.p7s
Description: Signature cryptographique S/MIME

Reply via email to