Re: [cas-user] Including config files from outside the WAR file

2010-02-12 Thread Jeff Chapin
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Final note, I was able to get this working. I just happened to have the syntax wrong on my original attempt, as well as missing the extra comment in cas-servlet.xml. I now have everything working as I wanted. I am keeping the cas.properties in side th

Re: [cas-user] Including config files from outside the WAR file

2010-02-12 Thread Marvin Addison
> I moved some properties from cas.properties and placed them in a > file at $CAS_HOME/host.properties, and redeployed. If you removed properties from cas.properties, don't forget that you may also need to update cas-servlet.xml which makes reference to the cas.properties file. Following is the c

Re: [cas-user] Including config files from outside the WAR file

2010-02-12 Thread Jeff Chapin
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 It may be an issue of me needing to work through and test a little more, but I moved some properties from cas.properties and placed them in a file at $CAS_HOME/host.properties, and redeployed. When restarting the cas servlet in tomcat, errors were thro

Re: [cas-user] Including config files from outside the WAR file

2010-02-12 Thread Marvin Addison
> I spoke too soon, it appears. This is not working as I had hoped. What's the problem exactly? We use this same strategy and it works very well for us. I'm a big fan of invariant wars across multiple hosts with host-specific data factored out to the filesystem. M -- You are currently subscri

Re: [cas-user] Including config files from outside the WAR file

2010-02-12 Thread Jeff Chapin
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I spoke too soon, it appears. This is not working as I had hoped. Jeff Jeff Chapin wrote: > As soon as I sent that, I found this: > > > class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"> > > >

Re: [cas-user] Including config files from outside the WAR file

2010-02-12 Thread Jeff Chapin
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 As soon as I sent that, I found this: file:/apps/local/share/etc/host.properties So I answered my own question. Sorry. Jeff Jeff Chapin wrote: > Is it possible to reference files outsid

[cas-user] Including config files from outside the WAR file

2010-02-12 Thread Jeff Chapin
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Is it possible to reference files outside the war file? I would like to store some configuration options on each host, things like hostname, database to connect to, etc, in a file such as /cas_config/local_options, and simply copy the same .war file a