We've externalized that configuration either using JNDI or Spring
configuration files located outside of the WAR file.



On Mon, Aug 10, 2009 at 11:43 AM, Andrew Feller <[email protected]> wrote:

> Eric,
>
> Thanks for taking the time with that response; most helpful.
>
> The only thing that I can think of is that I would like to include custom
> code for all of my CAS servers, however I need to include different
> versions
> of particular configuration files depending on the server.  My test servers
> use different Memcached configurations than my production servers do, etc.
>
> Do you have any thoughts on how this should be handled?
>
> Thanks once again,
> A-
>
>
>
> On 8/10/09 10:04 AM, "Eric Pierce" <[email protected]> wrote:
>
> > It works fine with pre-compiled JARs and source files.  If you have
> > JAR files you need to include, just create a
> > 'src/main/webapp/WEB-INF/lib' directory in your overlay directory and
> > drop the jars in.
> >
> > Overlay setup instructions are here:
> >
> http://www.ja-sig.org/wiki/display/CASUM/Maintaining+local+customizations+usin
> > g+Maven+2
> >
> > Maven is an incredible time saver.  When a new version of CAS comes
> > out, all I need to do is change the version numbers in pom.xml and
> > rebuild the project on my dev. server.  I can quickly test our local
> > modifications to make sure nothing broke with the upgrade, fix
> > anything that did break and push the changes (including the pom.xml)
> > into my SVN repo.  Then upgrading production is easy as:
> >
> > svn co https://www.ja-sig.org/svn/cas3/tags/cas-3-3-3-final/
> > cd cas-3-3-3-final
> > mvn clean package install
> > svn co https://dev.usf.edu/svn/CAS/3-3-3/cas-server-usf
> > cd cas-server-usf
> > mvn clean package install
> >
> > The WAR file is now in 'cas-server-usf/target' and is ready to be
> > deployed.  You can even configure Maven to deploy the WAR for you, but
> > I haven't gotten that fancy with it :)
> >
> > -Eric
> >
> >    Eric Pierce, RHCE -- University of South Florida -- (813) 974-8868
> > -- [email protected]
> >
> >
> >
> > On Mon, Aug 10, 2009 at 10:38 AM, Andrew Feller<[email protected]> wrote:
> >> Scott,
> >>
> >> I must admit I am ignorant about the overlay method.  Does this only
> work
> >> with pre-compiled code (JARs) or will it also compile code against CAS
> >> source pulled in the pom.xml?
> >>
> >> Thanks,
> >> A-
> >>
> >> On 8/10/09 8:58 AM, "Scott Battaglia" <[email protected]>
> wrote:
> >>
> >> Our recommendation is always to use the Maven2 WAR Overlay method which
> >> keeps your code and configuration separate from the main distribution.
> >>
> >>
> >>
> >> On Mon, Aug 10, 2009 at 8:17 AM, Matthias Debus <
> [email protected]>
> >> wrote:
> >>
> >> Hi all,
> >>
> >> I'm quite new to both Tomcat and CAS-Server but I got everything to
> work.
> >>
> >> Now, I'm quite unsure how to upgrade to the recent version (3.3.3). Is
> >> there any information on this? Do I have to build a new .war file?
> >>
> >> We're also using Alfresco which stores it's configuration outside the
> >> webapps tree, so that you can safely upgrade. Is this also possible
> >> with CAS?
> >>
> >> TIA!
> >>
> >> Greets,
> >> Matthias.
> >>
> >> --
> >> 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
> >>
> >> --
> >> Andrew Feller, Business System Programmer
> >> LSU University Information Services
> >> 200 Frey Computing Services Center
> >> Baton Rouge, LA 70803
> >> Office: 225.578.3737
> >> Fax: 225.578.6400
> >>
> >> --
> >> 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
>
> --
> Andrew Feller, Business System Programmer
> LSU University Information Services
> 200 Frey Computing Services Center
> Baton Rouge, LA 70803
> Office: 225.578.3737
> Fax: 225.578.6400
>
>
>
> --
> 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

Reply via email to