<?xml version="1.0" encoding="UTF-8"?> <rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
><channel><title>Mohanjith&#039;s Blog &#187; CAS</title> <atom:link href="http://mohanjith.net/blog/topics/cas/feed" rel="self" type="application/rss+xml" /><link>http://mohanjith.net/blog</link> <description>MOHA blogging news and thoughts...</description> <lastBuildDate>Wed, 14 Dec 2011 14:18:18 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3</generator> <item><title>CAS JDBC Service registry trouble</title><link>http://mohanjith.net/blog/2008/02/cas-jdbc-service-registry-trouble.html</link> <comments>http://mohanjith.net/blog/2008/02/cas-jdbc-service-registry-trouble.html#comments</comments> <pubDate>Fri, 22 Feb 2008 21:32:00 +0000</pubDate> <dc:creator>S H Mohanjith</dc:creator> <category><![CDATA[CAS]]></category> <category><![CDATA[Hibernate]]></category> <category><![CDATA[JA-SIG]]></category> <category><![CDATA[Spring]]></category><guid
isPermaLink="false">http://mohanjith.net/wordpress/?p=46</guid> <description><![CDATA[TweetI had a interesting time trying to figure out why the JA-SIG CAS service registry status was being reset when ever I restarted CAS. After much frustration I figured out the problem was in the schema that hibernate has automatically created. I&#8217;ll explain my setup, I was using MySQL for storing the service registry data [...]]]></description> <content:encoded><![CDATA[<p><span
style="float: right; margin: 5px 0px 0px 5px;" ><a
class="twitter-share-button"  data-via="mohanjith" data-count="vertical" data-related="" data-lang="en" data-url="http://mohanjith.net/blog/2008/02/cas-jdbc-service-registry-trouble.html" data-text="CAS JDBC Service registry trouble" href="http://twitter.com/share?via=mohanjith&#038;count=vertical&#038;related=&#038;lang=en&#038;url=http%3A%2F%2Fmohanjith.net%2Fblog%2F2008%2F02%2Fcas-jdbc-service-registry-trouble.html&#038;text=CAS%20JDBC%20Service%20registry%20trouble" >Tweet</a></span>I had a interesting time trying to figure out why the <a
href="http://www.ja-sig.org/products/cas/">JA-SIG CAS</a> service registry status was being reset when ever I restarted CAS. After much frustration I figured out the problem was in the schema that hibernate has automatically created.</p><p>I&#8217;ll explain my setup, I was using MySQL for storing the service registry data via <a
href="http://www.springframework.org/">Spring</a> entity manager and <a
href="http://www.hibernate.org/">Hibernate</a>.</p><p>Hibernate was creating <code>BIT(1)</code> for boolean atributes instead of <code>TINYINT(1)</code>. Because of this MySQL was not returning anything meaningful for the status. I have now changed the schema, and removed/commented the propery <code>hibernate.hbm2ddl.auto</code> in the enitity manager bean. It seem to work perfectly.</p><p>Hope someone in a similar situation will find this information useful.i</p><div
id="fb-like" style=""><iframe
src="http://www.facebook.com/plugins/like.php?href=http://mohanjith.net/blog/2008/02/cas-jdbc-service-registry-trouble.html&amp;layout=standard&amp;show_faces=true&amp;width=300&amp;action=like&amp;font=&amp;colorscheme=light&amp;locale=en_US" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:300px; height:30px"></iframe></div>]]></content:encoded> <wfw:commentRss>http://mohanjith.net/blog/2008/02/cas-jdbc-service-registry-trouble.html/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>CAS Server 3.2 Final released</title><link>http://mohanjith.net/blog/2008/02/cas-server-32-final-released.html</link> <comments>http://mohanjith.net/blog/2008/02/cas-server-32-final-released.html#comments</comments> <pubDate>Tue, 19 Feb 2008 18:46:00 +0000</pubDate> <dc:creator>S H Mohanjith</dc:creator> <category><![CDATA[CAS]]></category> <category><![CDATA[JA-SIG]]></category><guid
isPermaLink="false">http://mohanjith.net/wordpress/?p=45</guid> <description><![CDATA[TweetToday, the CAS development team announced the CAS Server 3.2 release. The release includes a number of enhancements, bug fixes, and new features. This includes updated dependencies (Spring 2.5.1, Log4j, Acegi Security, Spring LDAP, Spring Web Flow) as well as bug fixes in the SPNEGO module and Services Management tool. It also includes enhancements to [...]]]></description> <content:encoded><![CDATA[<p><span
style="float: right; margin: 5px 0px 0px 5px;" ><a
class="twitter-share-button"  data-via="mohanjith" data-count="vertical" data-related="" data-lang="en" data-url="http://mohanjith.net/blog/2008/02/cas-server-32-final-released.html" data-text="CAS Server 3.2 Final released" href="http://twitter.com/share?via=mohanjith&#038;count=vertical&#038;related=&#038;lang=en&#038;url=http%3A%2F%2Fmohanjith.net%2Fblog%2F2008%2F02%2Fcas-server-32-final-released.html&#038;text=CAS%20Server%203.2%20Final%20released" >Tweet</a></span>Today, the CAS development team announced the CAS Server 3.2 release. The release includes a number of enhancements, bug fixes, and new features. This includes updated dependencies (Spring 2.5.1, Log4j, Acegi Security, Spring LDAP, Spring Web Flow) as well as bug fixes in the SPNEGO module and Services Management tool. It also includes enhancements to enable/disable single sign out at the server level.</p><p>Finally, it includes a new Hard Timeout Expiration Policy, an updated Spring Configuration mechanism (and modularized Spring configuration files) as well as a utilizing a production-ready auditing/statistics tool/API (Inspektr).</p><p>You can download the release from the usual location: <a
href="http://www.jasig.org/products/cas/downloads/" target="_blank">http://www.jasig.org/products<wbr>/cas/downloads/</a></p><p>This is a major release and you should take a look at the major new features (the updated Spring Configuration mechanism and the Inspektr auditing tool) and see how/if it changes your deployment.</p><p>Great work Scott Battaglia and the others who contributed.</p><div
id="fb-like" style=""><iframe
src="http://www.facebook.com/plugins/like.php?href=http://mohanjith.net/blog/2008/02/cas-server-32-final-released.html&amp;layout=standard&amp;show_faces=true&amp;width=300&amp;action=like&amp;font=&amp;colorscheme=light&amp;locale=en_US" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:300px; height:30px"></iframe></div>]]></content:encoded> <wfw:commentRss>http://mohanjith.net/blog/2008/02/cas-server-32-final-released.html/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>JA-SIG CAS services registry persistence</title><link>http://mohanjith.net/blog/2008/02/ja-sig-cas-services-registry.html</link> <comments>http://mohanjith.net/blog/2008/02/ja-sig-cas-services-registry.html#comments</comments> <pubDate>Sat, 16 Feb 2008 15:58:00 +0000</pubDate> <dc:creator>S H Mohanjith</dc:creator> <category><![CDATA[CAS]]></category> <category><![CDATA[JA-SIG]]></category> <category><![CDATA[Java]]></category><guid
isPermaLink="false">http://mohanjith.net/wordpress/?p=42</guid> <description><![CDATA[TweetI was pulling my hair trying to get JA-SIG CAS to work with persistet service registry. By default CAS comes with a in-memory services registry, this is not at all acceptable in production, so I went about following the instructions in http://www.ja-sig.org/wiki/display/CASUM/Configuring under ServicesRegistry and Database Connection. I didn&#8217;t pay much attention to &#8220;Package your [...]]]></description> <content:encoded><![CDATA[<p><span
style="float: right; margin: 5px 0px 0px 5px;" ><a
class="twitter-share-button"  data-via="mohanjith" data-count="vertical" data-related="" data-lang="en" data-url="http://mohanjith.net/blog/2008/02/ja-sig-cas-services-registry.html" data-text="JA-SIG CAS services registry persistence" href="http://twitter.com/share?via=mohanjith&#038;count=vertical&#038;related=&#038;lang=en&#038;url=http%3A%2F%2Fmohanjith.net%2Fblog%2F2008%2F02%2Fja-sig-cas-services-registry.html&#038;text=JA-SIG%20CAS%20services%20registry%20persistence" >Tweet</a></span>I was pulling my hair trying to get JA-SIG CAS to work with persistet service registry. By default CAS comes with a in-memory services registry, this is not at all acceptable in production, so I went about following the instructions in <a
href="http://www.ja-sig.org/wiki/display/CASUM/Configuring">http://www.ja-sig.org/wiki/display/CASUM/Configuring</a> under ServicesRegistry and Database Connection. I didn&#8217;t pay much attention to &#8220;Package your webapp and go for a try&#8221;, instead I chose to put in the necessary jars into the lib/ directory manually.</p><p>Eventhough I got all the necessary jars in place I was being confronted to a &#8220;java.lang.NoClassDefFoundError: org/hibernate/ejb/HibernatePersistence&#8221;. I double checked still no avail. I tried Googling, but didn&#8217;t lead me to anything very useful.</p><p>All the problems went away once I made the changes to the CAS distribution and recompiled. WOW, that was a ride of the life time. It was weird that JDBC authentication handler worked alright by placing the jars in place manually but services registry wouldn&#8217;t work the same way.</p><p>I guess this post will help someone who runs into the same problem.</p><div
id="fb-like" style=""><iframe
src="http://www.facebook.com/plugins/like.php?href=http://mohanjith.net/blog/2008/02/ja-sig-cas-services-registry.html&amp;layout=standard&amp;show_faces=true&amp;width=300&amp;action=like&amp;font=&amp;colorscheme=light&amp;locale=en_US" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:300px; height:30px"></iframe></div>]]></content:encoded> <wfw:commentRss>http://mohanjith.net/blog/2008/02/ja-sig-cas-services-registry.html/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: basic (User agent is rejected)
Database Caching 11/19 queries in 0.024 seconds using memcached
Object Caching 0/0 objects using memcached
Content Delivery Network via cdn.mohanjith.net

Served from: mohanjith.net @ 2012-02-11 16:58:41 -->
