Rick, extraAttributes has nothing to do with attributes release by CAS server. It is a facility added by cas-addons to simplify adding custom features to local CAS based on flexible, "untyped" configuration option added to RegisteredServices
Dmitriy. Sent from my iPhone On Feb 25, 2013, at 15:30, Richard Versace <[email protected]> wrote: > Thanks for all of the useful information. I have a much better understanding > of the "magic" than I did this morning. > > I have it working for the most part. I'm still struggling with the > extraAttributes piece. I am making the assumption that his has to do with > attribute release. If this is true then I can't get it to work. > > Based on the logfile all seems to be loading ok but it doesn't seem to be > releasing anything. > > But this can wait until tomorrow. > > Thanks again for all of the assistance. > > > On Mon, Feb 25, 2013 at 2:15 PM, Andrew Petro <[email protected]> wrote: >> Rick, >> >> It can be that easy. >> >> It can be more difficult. >> >> Besides nudging the metadata in your pom.xml, it's also a matter of looking >> at every file in your local overlay and comparing it with the latest in CAS >> and considering the differences in the vanilla CAS 3.4.12 and vanilla CAS >> 3.5.1 versions. As in, if the vanilla file changed, you might want to apply >> something like that change locally, or you might want to delete your local >> file, pull down the copy from CAS 3.5.1, and edit it anew. In some cases >> "might want" becomes "you must do this or it won't work" -- things are >> allowed to change between a 3.4 and a 3.5 version. >> >> But in general, yes, the Maven overlay practice is supposed to make upgrades >> easier by minimizing your local source files down to just the ones that are >> unique and special to your environment and making the version of the product >> you're overlaying upon a matter of declarative configuration in pom.xml. >> >> Hope this helps, >> >> Andrew >> >> >> >> >> On Mon, Feb 25, 2013 at 2:04 PM, Richard Versace <[email protected]> >> wrote: >>> So it was as easy as changing... >>> >>> <properties> >>> <cas.version>3.4.12</cas.version> >>> <apache.commons.pool.version>1.5.6</apache.commons.pool.version> >>> <ehcache.version>2.5.0</ehcache.version> >>> <cas-addons.version>1.0</cas-addons.version> >>> </properties> >>> >>> >>> to... >>> >>> <properties> >>> <cas.version>3.5.1</cas.version> >>> <apache.commons.pool.version>1.5.6</apache.commons.pool.version> >>> <ehcache.version>2.5.0</ehcache.version> >>> <cas-addons.version>1.2</cas-addons.version> >>> </properties> >>> >>> in the pom.xml file and it all works like magic??? >>> >>> Or did I miss something? >>> >>> >>> On Mon, Feb 25, 2013 at 11:59 AM, Richard Versace <[email protected]> >>> wrote: >>>> Dmitriy, >>>> >>>> Thanks for all of that. Now I need to figure out what to do with it. :o) >>>> >>>> If anyone can post anything that points to tips, tricks, posts about doing >>>> upgrades I would appreciate it. >>>> >>>> I guess the first time is always the hardest. >>>> >>>> Thanks again and in advance, >>>> >>>> Rick. >>>> >>>> >>>> >>>> On Mon, Feb 25, 2013 at 11:49 AM, Dmitriy Kopylenko >>>> <[email protected]> wrote: >>>>> Rick, >>>>> >>>>> your overlay currently builds on top of CAS 3.4.12. The minimum supported >>>>> version of CAS for cas-addons 1.0 and up is 3.5.1, as stated here: >>>>> https://github.com/Unicon/cas-addons/blob/master/README.md >>>>> >>>>> So, I'm afraid that an upgrade would be in order here (which is a good >>>>> thing in of itself). >>>>> >>>>> As for upgrade guidelines, I am not sure that there are any written ones >>>>> (someone could correct me). The biggest thing to watch for during the >>>>> upgrade would be that any custom components re-defined in CAS >>>>> configuration files e.g. login-webflow.xml, cas-servlet.xml, >>>>> deployerConfigContext.xml get properly ported into the newest >>>>> configuration files from the CAS version in question. >>>>> >>>>> Cheers, >>>>> Dmitriy. >>>>> >>>>> >>>>> >>>>> On Mon, Feb 25, 2013 at 10:59 AM, Richard Versace <[email protected]> >>>>> wrote: >>>>>> Here you go. >>>>>> >>>>>> >>>>>> On Mon, Feb 25, 2013 at 10:33 AM, Dmitriy Kopylenko >>>>>> <[email protected]> wrote: >>>>>>> Hi Rick. >>>>>>> >>>>>>> Can you please send the pom.xml of your CAS overlay? >>>>>>> >>>>>>> Thanks, >>>>>>> Dmitriy. >>>>>>> >>>>>>> On Feb 25, 2013, at 10:23 AM, Richard Versace <[email protected]> >>>>>>> wrote: >>>>>>> >>>>>>>> Misagh, >>>>>>>> >>>>>>>> Thanks for the hint, but as I said, I'm sort of coming in in the >>>>>>>> middle of the movie and that doesn't mean much to me right now. >>>>>>>> >>>>>>>> Could you give me another hint or point me to some documentation >>>>>>>> somewhere that could help me out? >>>>>>>> >>>>>>>> Thanks, >>>>>>>> >>>>>>>> Rick. >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> On Mon, Feb 25, 2013 at 9:50 AM, Misagh Moayyed <[email protected]> >>>>>>>> wrote: >>>>>>>>> Seems like the ‘c’ namespace is part of Spring 3.1. You could try the >>>>>>>>> alternative syntax that is: <constructor-arg index="0" value="xyz"/> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> -Misagh >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> From: Richard Versace [mailto:[email protected]] >>>>>>>>> Sent: Saturday, February 23, 2013 3:03 PM >>>>>>>>> To: [email protected] >>>>>>>>> Subject: Re: [cas-user] Assistance needed adding JSON presistance to >>>>>>>>> cas >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> Based on this... >>>>>>>>> >>>>>>>>> >>>>>>>>> >locate spring|grep tomcat|grep WEB-INF|grep -i release|grep jar|sort >>>>>>>>> >-u >>>>>>>>> >>>>>>>>> /opt/tomcat6/apache-tomcat-6.0.35/webapps/cas/WEB-INF/lib/spring-aop-3.0.5.RELEASE.jar >>>>>>>>> /opt/tomcat6/apache-tomcat-6.0.35/webapps/cas/WEB-INF/lib/spring-asm-3.0.5.RELEASE.jar >>>>>>>>> /opt/tomcat6/apache-tomcat-6.0.35/webapps/cas/WEB-INF/lib/spring-beans-3.0.5.RELEASE.jar >>>>>>>>> /opt/tomcat6/apache-tomcat-6.0.35/webapps/cas/WEB-INF/lib/spring-binding-2.2.1.RELEASE.jar >>>>>>>>> >>>>>>>>> I'd say 3.0.5. But it's just a guess >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> On Sat, Feb 23, 2013 at 5:09 AM, Misagh Moayyed <[email protected]> >>>>>>>>> wrote: >>>>>>>>> >>>>>>>>> Rick, could you explain what Spring version you’re using in your >>>>>>>>> Maven overlay? >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> -Misagh >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> From: Richard Versace [mailto:[email protected]] >>>>>>>>> Sent: Thursday, February 21, 2013 9:53 AM >>>>>>>>> To: [email protected] >>>>>>>>> Subject: [cas-user] Assistance needed adding JSON presistance to cas >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> Firstly, I'm new to the wild and wonderful world of server side java >>>>>>>>> apps and alI of the configuration and other magic that goes along >>>>>>>>> with it. >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> Secondly, I have a cas setup that consists of 2 load balanced nodes >>>>>>>>> that keep ticket info current using ehcache. >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> Thirdly, I'm trying to add persistence to the services registry using >>>>>>>>> the JSON method found here... >>>>>>>>> https://github.com/Unicon/cas-addons/wiki/Configuring-JSON-Service-Registry >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> I've muddled my way through most of the setup but now I'm stuck, I'm >>>>>>>>> sure not for the last time. >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> this line in deployerConfigContext.xml is giving me trouble... >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> xmlns:c="http://www.springframework.org/schema/c" >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> This assumption is based on this line in the catalina.out file at >>>>>>>>> startup... >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> 2013-02-21 11:01:49,880 ERROR >>>>>>>>> [org.springframework.web.context.ContextLoader] - <Context >>>>>>>>> initialization failed> >>>>>>>>> >>>>>>>>> org.springframework.beans.factory.parsing.BeanDefinitionParsingException: >>>>>>>>> Configuration problem: Unable to locate Spring NamespaceHandler for >>>>>>>>> XML schema namespace [http://www.springframework.org/schema/c] >>>>>>>>> >>>>>>>>> Offending resource: ServletContext resource >>>>>>>>> [/WEB-INF/deployerConfigContext.xml] >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> Based on the blind research I've done I'm thinking I don't have the >>>>>>>>> proper version of Spring. I haven't a clue on how to fix that. >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> I am using maven 2.? to package the war file. >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> Don't know what other info anyone may need because, like I said, I'm >>>>>>>>> new to this magic. >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> Any help would be appreciated. >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> Thanks, >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> Rick Versace. >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> -- >>>>>>>>> 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 >>>>>>>>> >>>>>>>>> >>>>>>>>> -- >>>>>>>>> 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 >>>>>>>> >>>>>>>> -- >>>>>>>> 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 >>>>>> >>>>>> -- >>>>>> 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 >>> >>> -- >>> 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 > > -- > 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
