Hi, in fact that is a Spring missconfigured reason. If you interpret the exception message you could understand that there is some bean with a property/setter called "path" that only accept values prepended by classpah: or file:
Maybe your new property configure location.... Best regards El 12/06/2014 01:42, "Daniel Salzedo" <[email protected]> escribió: > I am building a CAS v4.0 server in a lab environment for the first > time, so it is entirely possible I have made some very basic mistake > somewhere. > > My setup is running Centos v5.10 with JDK v1.60. (I have to use these > specific versions as part of the project specifications I was given.) > I built the CAS applicationusing the Maven WAR overlay method and it > will run OK using the basic configuration from > > https://raw.githubusercontent.com/Jasig/cas/v4.0.0/cas-server-webapp/src/main/webapp/WEB-INF/deployerConfigContext.xml > . > > I need trying to get an authenticated LDAP bind setup using the sample > code at > http://jasig.github.io/cas/4.0.0/installation/LDAP-Authentication.html. > I have created an ldap.properties file and added it to the > propertyFileConfigurer.xml file under > $PROJECT_HOME/src/main/webapp/WEB-INF/spring-configuration and it > deploys OK. The problem I am having is the bindConnectionPool bean > will not create properly. This error comes up every time the app tries > to start. I've Googled it and can find no references to this error > anywhere: > > Caused by: org.springframework.beans.factory.BeanCreationException: > Error creating bean with name 'bindConnectionPool' defined in > ServletContext resource [/WEB-INF/deployerConfigContext.xml]: > Invocation of init method failed; nested exception is > java.lang.IllegalArgumentException: path must start with either > classpath: or file: > at > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1512) > ...... > Caused by: java.lang.IllegalArgumentException: path must start with > either classpath: or file: > at org.ldaptive.LdapUtils.getResource(LdapUtils.java:399) > ... > > I've attached my deployerConfigContext.xml file. Please let me know if > you have any suggestions on how to fix this, or what I am doing wrong > that may be causing this. > > Thanks, > Daniel. > > -- > 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 -- 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
