<?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>Snackycracky Techblog&#187; Snackycracky Blog</title>
	<atom:link href="http://blog.srvme.de/category/hibernate/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.srvme.de</link>
	<description></description>
	<lastBuildDate>Mon, 14 Jun 2010 21:33:18 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>migrate appfuse from xfire to cxf</title>
		<link>http://blog.srvme.de/2009/01/06/migrate-appfuse-from-xfire-to-cxf/</link>
		<comments>http://blog.srvme.de/2009/01/06/migrate-appfuse-from-xfire-to-cxf/#comments</comments>
		<pubDate>Tue, 06 Jan 2009 14:29:35 +0000</pubDate>
		<dc:creator>nils</dc:creator>
				<category><![CDATA[AppFuse]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[hibernate]]></category>
		<category><![CDATA[spring]]></category>
		<category><![CDATA[cxf]]></category>
		<category><![CDATA[maven]]></category>
		<category><![CDATA[migrate]]></category>
		<category><![CDATA[update]]></category>
		<category><![CDATA[webservice]]></category>

		<guid isPermaLink="false">http://snackycracky.wordpress.com/?p=204</guid>
		<description><![CDATA[edit the pom.xml file: change the spring version to 2.5.5. this is below &#60;!&#8211; Framework dependency versions &#8211;&#62; delete the dependency with the artifactId &#8216;xfire-java5&#8242; and &#8216;xfire-spring&#8217; insert the cxf dependencies: &#60;dependency&#62; &#60;groupId&#62;org.apache.cxf&#60;/groupId&#62; &#60;artifactId&#62;cxf-api&#60;/artifactId&#62; &#60;version&#62;2.1.3&#60;/version&#62; &#60;/dependency&#62; &#60;dependency&#62; &#60;groupId&#62;org.apache.cxf&#60;/groupId&#62; &#60;artifactId&#62;cxf-rt-frontend-jaxws&#60;/artifactId&#62; &#60;version&#62;2.1.3&#60;/version&#62; &#60;exclusions&#62; &#60;!-- http://www.jroller.com/melix/entry/apache_cxf_maven_javamail_awful --&#62; &#60;exclusion&#62; &#60;groupId&#62;org.apache.geronimo.specs&#60;/groupId&#62; &#60;artifactId&#62;geronimo-javamail_1.4_spec&#60;/artifactId&#62; &#60;/exclusion&#62; &#60;/exclusions&#62; &#60;/dependency&#62; &#60;dependency&#62; &#60;groupId&#62;org.apache.cxf&#60;/groupId&#62; &#60;artifactId&#62;cxf-rt-transports-http&#60;/artifactId&#62; &#60;version&#62;2.1.3&#60;/version&#62; &#60;/dependency&#62; [...]]]></description>
			<content:encoded><![CDATA[<p>edit the pom.xml file:</p>
<p>change the spring version to 2.5.5.<br />
this is below &lt;!&#8211; Framework dependency versions &#8211;&gt;<br />
delete the dependency with the artifactId &#8216;xfire-java5&#8242; and &#8216;xfire-spring&#8217;<br />
insert the cxf dependencies:</p>
<ul style="border:1px solid #D8D8D8;background-color:#F8F8F8;overflow:auto;width:100%;">
<pre>&lt;dependency&gt;
	&lt;groupId&gt;org.apache.cxf&lt;/groupId&gt;
  	&lt;artifactId&gt;cxf-api&lt;/artifactId&gt;
  	&lt;version&gt;2.1.3&lt;/version&gt;
&lt;/dependency&gt;
&lt;dependency&gt;
  	&lt;groupId&gt;org.apache.cxf&lt;/groupId&gt;
	&lt;artifactId&gt;cxf-rt-frontend-jaxws&lt;/artifactId&gt;
	&lt;version&gt;2.1.3&lt;/version&gt;
        &lt;exclusions&gt;
              &lt;!-- http://www.jroller.com/melix/entry/apache_cxf_maven_javamail_awful --&gt;
              &lt;exclusion&gt;
                   &lt;groupId&gt;org.apache.geronimo.specs&lt;/groupId&gt;
                   &lt;artifactId&gt;geronimo-javamail_1.4_spec&lt;/artifactId&gt;
              &lt;/exclusion&gt;
        &lt;/exclusions&gt;
&lt;/dependency&gt;
&lt;dependency&gt;
	&lt;groupId&gt;org.apache.cxf&lt;/groupId&gt;
	&lt;artifactId&gt;cxf-rt-transports-http&lt;/artifactId&gt;
	&lt;version&gt;2.1.3&lt;/version&gt;
&lt;/dependency&gt;</pre>
</ul>
<p>exclude also asm and the cglib from the hibernate dependency</p>
<ul style="border:1px solid #D8D8D8;background-color:#F8F8F8;overflow:auto;width:100%;">
<pre>&lt;exclusion&gt;
	&lt;groupId&gt;asm&lt;/groupId&gt;
	&lt;artifactId&gt;asm&lt;/artifactId&gt;
&lt;/exclusion&gt;
&lt;exclusion&gt;
	&lt;groupId&gt;asm&lt;/groupId&gt;
	&lt;artifactId&gt;asm-attrs&lt;/artifactId&gt;
&lt;/exclusion&gt;
&lt;exclusion&gt;
	&lt;groupId&gt;cglib&lt;/groupId&gt;
	&lt;artifactId&gt;cglib&lt;/artifactId&gt;
&lt;/exclusion&gt;</pre>
</ul>
<p>add the asm-all and cglib dependencies to the top level &lt;dependencies&gt;:</p>
<ul style="border:1px solid #D8D8D8;background-color:#F8F8F8;overflow:auto;width:100%;">
<pre>&lt;dependency&gt;
    &lt;groupId&gt;asm&lt;/groupId&gt;
    &lt;artifactId&gt;asm-all&lt;/artifactId&gt;
    &lt;version&gt;3.1&lt;/version&gt;
&lt;/dependency&gt;
&lt;dependency&gt;
    &lt;groupId&gt;cglib&lt;/groupId&gt;
    &lt;artifactId&gt;cglib&lt;/artifactId&gt;
    &lt;version&gt;2.2&lt;/version&gt;
&lt;/dependency&gt;</pre>
</ul>
<p>add the spring-core and spring-web dependency:</p>
<ul style="border:1px solid #D8D8D8;background-color:#F8F8F8;overflow:auto;width:100%;">
<pre>&lt;dependency&gt;
     &lt;groupId&gt;org.springframework&lt;/groupId&gt;
     &lt;artifactId&gt;spring-core&lt;/artifactId&gt;
     &lt;version&gt;${spring.version}&lt;/version&gt;
&lt;/dependency&gt;
&lt;dependency&gt;
      &lt;groupId&gt;org.springframework&lt;/groupId&gt;
      &lt;artifactId&gt;spring-web&lt;/artifactId&gt;
      &lt;version&gt;${spring.version}&lt;/version&gt;
&lt;/dependency&gt;</pre>
</ul>
<p>edit the web.xml file and change /WEB-INF/xfire-servlet.xml in the &lt;param-value&gt; of the &lt;!&#8211; Context Configuration locations for Spring XML files to /WEB-INF/cxf-servlet.xml</p>
<p>also replace the servlet named xfire to</p>
<ul style="border:1px solid #D8D8D8;background-color:#F8F8F8;overflow:auto;width:100%;">
<pre>&lt;servlet&gt;
      &lt;servlet-name&gt;CXFServlet&lt;/servlet-name&gt;
      &lt;servlet-class&gt;org.apache.cxf.transport.servlet.CXFServlet&lt;/servlet-class&gt;
      &lt;load-on-startup&gt;1&lt;/load-on-startup&gt;
&lt;/servlet&gt;</pre>
</ul>
<p>and also the xfire servlet mapping to</p>
<ul style="border:1px solid #D8D8D8;background-color:#F8F8F8;overflow:auto;width:100%;">
<pre>&lt;servlet-mapping&gt;
      &lt;servlet-name&gt;CXFServlet&lt;/servlet-name&gt;
      &lt;url-pattern&gt;/services/*&lt;/url-pattern&gt;
&lt;/servlet-mapping&gt; </pre>
</ul>
<p>delete WEB-INF/xfire-servlet.xml and make a new file there called cxf-servlet.xml which has this content:</p>
<ul style="border:1px solid #D8D8D8;background-color:#F8F8F8;overflow:auto;width:100%;">
<pre>&lt;beans xmlns="http://www.springframework.org/schema/beans"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xmlns:jaxws="http://cxf.apache.org/jaxws"
        xsi:schemaLocation="
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd"&gt;

        &lt;import resource="classpath:cxf/cxf.xml" /&gt;
        &lt;import resource="classpath:cxf/cxf-extension-soap.xml" /&gt;
        &lt;import resource="classpath:cxf/cxf-servlet.xml" /&gt;

        &lt;!-- #errorManager points to my manager(with the @webservice annotation)
             defined in my applicationContext.xml--&gt;
        &lt;jaxws:endpoint
          id="errorService"
          implementor="#errorManager"
          address="/ErrorService" /&gt;
&lt;/beans&gt;</pre>
</ul>
<p>now something i had to do:<br />
download cxf from <a title="here" href="http://www.apache.org/dyn/closer.cgi?path=%2Fcxf%2F2.1.3%2Fapache-cxf-2.1.3.tar.gz" target="_blank">here</a> and copy the cxf folder from META-INF there to your /WEB-INF/classes/ path. otherwise it will not find the cxf/cxf.xml &#8230;</p>
<p>execute:</p>
<ul style="border:1px solid #D8D8D8;background-color:#F8F8F8;overflow:auto;width:100%;">
<pre>mvn jetty:run</pre>
</ul>
<p>and check for your service at <a title="http://127.0.0.1:8080/services" href="http://127.0.0.1:8080/services" target="_blank">http://127.0.0.1:8080/services </a></p>
<p>i see this here:<br />
<img class="alignnone size-full wp-image-207" title="picture-4" src="http://snackycracky.files.wordpress.com/2009/01/picture-4.png" alt="picture-4" width="480" height="264" /></p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
supporting REST like services <a href="http://snackycracky.wordpress.com/2009/01/22/rest-soap-for-cxfapache-appfuse/">here</a><br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p>
<p>references:</p>
<p>http://cwiki.apache.org/CXF20DOC/writing-a-service-with-spring.html</p>
<p>http://forum.springframework.org/showthread.php?p=179390</p>
<p><a href="http://www.jroller.com/melix/entry/apache_cxf_maven_javamail_awful">http://www.jroller.com/melix/entry/apache_cxf_maven_javamail_awful  (</a> <a href="http://maas-frensch.com/peter/">p3t0r</a>)</p>
<!-- Social Bookmarks BEGIN -->
<div class="social_bookmark">
<a title="Click me to see the sites." href="#" onclick="$$('div.d204').each( function(e) { e.visualEffect('slide_down',{duration:2.5}) }); return false;"><strong><em>Bookmark It</em></strong></a>
<br />
<div class="d204" style="overflow:hidden">
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://buzz.yahoo.com/submit?submitUrl=http%3A%2F%2Fblog.srvme.de%2F2009%2F01%2F06%2Fmigrate-appfuse-from-xfire-to-cxf%2F&amp;submitHeadline=migrate+appfuse+from+xfire+to+cxf&amp;submitSummary=" rel="nofollow" title="Add to&nbsp;Buzz"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/buzz.png" title="Add to&nbsp;Buzz" alt="Add to&nbsp;Buzz" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http%3A%2F%2Fblog.srvme.de%2F2009%2F01%2F06%2Fmigrate-appfuse-from-xfire-to-cxf%2F&amp;title=migrate+appfuse+from+xfire+to+cxf" rel="nofollow" title="Add to&nbsp;Del.icio.us"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/delicious.png" title="Add to&nbsp;Del.icio.us" alt="Add to&nbsp;Del.icio.us" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fblog.srvme.de%2F2009%2F01%2F06%2Fmigrate-appfuse-from-xfire-to-cxf%2F&amp;title=migrate+appfuse+from+xfire+to+cxf" rel="nofollow" title="Add to&nbsp;digg"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/digg.png" title="Add to&nbsp;digg" alt="Add to&nbsp;digg" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/sharer.php?u=http%3A%2F%2Fblog.srvme.de%2F2009%2F01%2F06%2Fmigrate-appfuse-from-xfire-to-cxf%2F" rel="nofollow" title="Add to&nbsp;Facebook"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/facebook.png" title="Add to&nbsp;Facebook" alt="Add to&nbsp;Facebook" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http%3A%2F%2Fblog.srvme.de%2F2009%2F01%2F06%2Fmigrate-appfuse-from-xfire-to-cxf%2F&amp;title=migrate+appfuse+from+xfire+to+cxf" rel="nofollow" title="Add to&nbsp;Google Bookmarks"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/google.png" title="Add to&nbsp;Google Bookmarks" alt="Add to&nbsp;Google Bookmarks" /></a>
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.mister-wong.com/index.php?action=addurl&amp;bm_url=http%3A%2F%2Fblog.srvme.de%2F2009%2F01%2F06%2Fmigrate-appfuse-from-xfire-to-cxf%2F&amp;bm_description=migrate+appfuse+from+xfire+to+cxf" rel="nofollow" title="Add to&nbsp;Mister Wong"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/misterwong.png" title="Add to&nbsp;Mister Wong" alt="Add to&nbsp;Mister Wong" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.netscape.com/submit/?U=http%3A%2F%2Fblog.srvme.de%2F2009%2F01%2F06%2Fmigrate-appfuse-from-xfire-to-cxf%2F&amp;T=migrate+appfuse+from+xfire+to+cxf" rel="nofollow" title="Add to&nbsp;Netscape"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/netscape.png" title="Add to&nbsp;Netscape" alt="Add to&nbsp;Netscape" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://reddit.com/submit?url=http%3A%2F%2Fblog.srvme.de%2F2009%2F01%2F06%2Fmigrate-appfuse-from-xfire-to-cxf%2F&amp;title=migrate+appfuse+from+xfire+to+cxf" rel="nofollow" title="Add to&nbsp;reddit"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/reddit.png" title="Add to&nbsp;reddit" alt="Add to&nbsp;reddit" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fblog.srvme.de%2F2009%2F01%2F06%2Fmigrate-appfuse-from-xfire-to-cxf%2F&amp;title=migrate+appfuse+from+xfire+to+cxf" rel="nofollow" title="Add to&nbsp;Stumble Upon"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/stumbleupon.png" title="Add to&nbsp;Stumble Upon" alt="Add to&nbsp;Stumble Upon" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.technorati.com/faves?add=http%3A%2F%2Fblog.srvme.de%2F2009%2F01%2F06%2Fmigrate-appfuse-from-xfire-to-cxf%2F" rel="nofollow" title="Add to&nbsp;Technorati"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/technorati.png" title="Add to&nbsp;Technorati" alt="Add to&nbsp;Technorati" /></a>
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://tipd.com/submit.php?url=http%3A%2F%2Fblog.srvme.de%2F2009%2F01%2F06%2Fmigrate-appfuse-from-xfire-to-cxf%2F" rel="nofollow" title="Add to&nbsp;Tip'd"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/tipd.png" title="Add to&nbsp;Tip'd" alt="Add to&nbsp;Tip'd" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://twitter.com/home/?status=Check+out+migrate+appfuse+from+xfire+to+cxf+@+http%3A%2F%2Fblog.srvme.de%2F2009%2F01%2F06%2Fmigrate-appfuse-from-xfire-to-cxf%2F" rel="nofollow" title="Add to&nbsp;Twitter"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/twitter.png" title="Add to&nbsp;Twitter" alt="Add to&nbsp;Twitter" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u=http%3A%2F%2Fblog.srvme.de%2F2009%2F01%2F06%2Fmigrate-appfuse-from-xfire-to-cxf%2F&amp;t=migrate+appfuse+from+xfire+to+cxf" rel="nofollow" title="Add to&nbsp;Yahoo My Web"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/yahoo.png" title="Add to&nbsp;Yahoo My Web" alt="Add to&nbsp;Yahoo My Web" /></a>
<br />
<a style="font-size:90%;text-align: right; " title="Click me to hide the sites." href="#" onclick="$$('div.d204').each( function(e) { e.visualEffect('slide_up',{duration:0.5}) }); return false;">Hide Sites</a>
</div>
</div>
<!-- Social Bookmarks END -->
<script type="text/javascript">$$('div.d204').each( function(e) { e.visualEffect('slide_up',{duration:0.5}) }); </script>]]></content:encoded>
			<wfw:commentRss>http://blog.srvme.de/2009/01/06/migrate-appfuse-from-xfire-to-cxf/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title></title>
		<link>http://blog.srvme.de/2008/08/07/52/</link>
		<comments>http://blog.srvme.de/2008/08/07/52/#comments</comments>
		<pubDate>Thu, 07 Aug 2008 11:01:48 +0000</pubDate>
		<dc:creator>nils</dc:creator>
				<category><![CDATA[hibernate]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[networking]]></category>
		<category><![CDATA[choova chilli]]></category>
		<category><![CDATA[databases]]></category>
		<category><![CDATA[hotspotlogin.cgi]]></category>
		<category><![CDATA[logoff]]></category>
		<category><![CDATA[logout]]></category>
		<category><![CDATA[radius]]></category>
		<category><![CDATA[simultaneously]]></category>

		<guid isPermaLink="false">http://snackycracky.wordpress.com/?p=52</guid>
		<description><![CDATA[well its not that spectacular but for me it couldn&#8217;t be better: In my Application which i&#8217;m developing over a year now i need to access the radius database for user modifications. say simple: in my app i want to control who can access the internet. I opend the database port 3306 by uncommenting the [...]]]></description>
			<content:encoded><![CDATA[<p>well its not that spectacular but for me it couldn&#8217;t be better:</p>
<p>In my Application which i&#8217;m developing over a year now i need to access the radius database for user modifications. say simple: in my app i want to control who can access the internet.<br />
I opend the database port 3306 by uncommenting the bindto=127.0.0.1 in /etc/mysql/my.cnf or similar, which is not very clean. A xml connection for simple crud would be better but i am under time pressure &#8230;.<br />
With hibernate i was able to connect to the radius db besides the app database by defining another &#8220;dataSource&#8221; like this:<br />
<code><br />
&lt;bean id="dataSource" class="org.apache.commons.dbcp.BasicDataSource" destroy-method="close"&gt;<br />
</code></p>
<pre style="padding-left:30px;"><code> &lt;property name="driverClassName" value="@DB-DRIVERNAME@"/&gt;</code></pre>
<pre style="padding-left:30px;"><code> &lt;property name="url" value="@DB-URL@"/&gt;</code></pre>
<pre style="padding-left:30px;"><code> &lt;property name="username" value="@DB-USERNAME@"/&gt;</code></pre>
<pre style="padding-left:30px;"><code> &lt;property name="password" value="@DB-PASSWORD@"/&gt;</code></pre>
<pre style="padding-left:30px;"><code> &lt;property name="maxActive" value="100"/&gt;</code></pre>
<pre style="padding-left:30px;"><code> &lt;property name="maxIdle" value="30"/&gt;</code></pre>
<pre style="padding-left:30px;"><code> &lt;property name="maxWait" value="1000"/&gt;</code></pre>
<pre style="padding-left:30px;"><code> &lt;property name="defaultAutoCommit" value="true"/&gt;</code></pre>
<pre style="padding-left:30px;"><code> &lt;property name="removeAbandoned" value="true"/&gt;</code></pre>
<pre style="padding-left:30px;"><code> &lt;property name="removeAbandonedTimeout" value="60"/&gt;</code></pre>
<p><code> &lt;/bean&gt;<br />
&lt;bean id="dataSourceRadius" class="org.apache.commons.dbcp.BasicDataSource" destroy-method="close"&gt;<br />
</code></p>
<pre style="padding-left:30px;"><code> &lt;property name="driverClassName" value="com.mysql.jdbc.Driver"/&gt;</code></pre>
<pre style="padding-left:30px;"><code> &lt;property name="url" value="jdbc:mysql://x.x.x.x/radius?zeroDateTimeBehavior=convertToNull"/&gt;</code></pre>
<pre style="padding-left:30px;"><code> &lt;property name="username" value="radius"/&gt;</code></pre>
<pre style="padding-left:30px;"><code> &lt;property name="password" value="somepwd"/&gt;</code></pre>
<pre style="padding-left:30px;"><code> &lt;property name="maxActive" value="100"/&gt;</code></pre>
<pre style="padding-left:30px;"><code> &lt;property name="maxIdle" value="30"/&gt;</code></pre>
<pre style="padding-left:30px;"><code> &lt;property name="maxWait" value="1000"/&gt;</code></pre>
<pre style="padding-left:30px;"><code> &lt;property name="defaultAutoCommit" value="true"/&gt;</code></pre>
<pre style="padding-left:30px;"><code> &lt;property name="removeAbandoned" value="true"/&gt;</code></pre>
<pre style="padding-left:30px;"><code> &lt;property name="removeAbandonedTimeout" value="60"/&gt;</code></pre>
<p><code> &lt;/bean&gt;</code></p>
<p>i tried to modify the hotspotlogin.cgi perl script but i&#8217;m not really getting it. AND what i hate the most of all is that html code is printed line by line, in my eyes that is sooo messy &#8230; i heared that other login pages are out there so i have to study them today. I also want to control the logout process from my app, this is a little bit tricky too <img src='http://blog.srvme.de/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' />  i need to access the adress http://10.1.0.1:3990/logoff but with this addy i can&#8217;t say which user to log off &#8230;</p>
<!-- Social Bookmarks BEGIN -->
<div class="social_bookmark">
<a title="Click me to see the sites." href="#" onclick="$$('div.d52').each( function(e) { e.visualEffect('slide_down',{duration:2.5}) }); return false;"><strong><em>Bookmark It</em></strong></a>
<br />
<div class="d52" style="overflow:hidden">
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://buzz.yahoo.com/submit?submitUrl=http%3A%2F%2Fblog.srvme.de%2F2008%2F08%2F07%2F52%2F&amp;submitHeadline=&amp;submitSummary=" rel="nofollow" title="Add to&nbsp;Buzz"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/buzz.png" title="Add to&nbsp;Buzz" alt="Add to&nbsp;Buzz" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http%3A%2F%2Fblog.srvme.de%2F2008%2F08%2F07%2F52%2F&amp;title=" rel="nofollow" title="Add to&nbsp;Del.icio.us"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/delicious.png" title="Add to&nbsp;Del.icio.us" alt="Add to&nbsp;Del.icio.us" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fblog.srvme.de%2F2008%2F08%2F07%2F52%2F&amp;title=" rel="nofollow" title="Add to&nbsp;digg"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/digg.png" title="Add to&nbsp;digg" alt="Add to&nbsp;digg" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/sharer.php?u=http%3A%2F%2Fblog.srvme.de%2F2008%2F08%2F07%2F52%2F" rel="nofollow" title="Add to&nbsp;Facebook"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/facebook.png" title="Add to&nbsp;Facebook" alt="Add to&nbsp;Facebook" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http%3A%2F%2Fblog.srvme.de%2F2008%2F08%2F07%2F52%2F&amp;title=" rel="nofollow" title="Add to&nbsp;Google Bookmarks"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/google.png" title="Add to&nbsp;Google Bookmarks" alt="Add to&nbsp;Google Bookmarks" /></a>
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.mister-wong.com/index.php?action=addurl&amp;bm_url=http%3A%2F%2Fblog.srvme.de%2F2008%2F08%2F07%2F52%2F&amp;bm_description=" rel="nofollow" title="Add to&nbsp;Mister Wong"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/misterwong.png" title="Add to&nbsp;Mister Wong" alt="Add to&nbsp;Mister Wong" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.netscape.com/submit/?U=http%3A%2F%2Fblog.srvme.de%2F2008%2F08%2F07%2F52%2F&amp;T=" rel="nofollow" title="Add to&nbsp;Netscape"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/netscape.png" title="Add to&nbsp;Netscape" alt="Add to&nbsp;Netscape" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://reddit.com/submit?url=http%3A%2F%2Fblog.srvme.de%2F2008%2F08%2F07%2F52%2F&amp;title=" rel="nofollow" title="Add to&nbsp;reddit"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/reddit.png" title="Add to&nbsp;reddit" alt="Add to&nbsp;reddit" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fblog.srvme.de%2F2008%2F08%2F07%2F52%2F&amp;title=" rel="nofollow" title="Add to&nbsp;Stumble Upon"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/stumbleupon.png" title="Add to&nbsp;Stumble Upon" alt="Add to&nbsp;Stumble Upon" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.technorati.com/faves?add=http%3A%2F%2Fblog.srvme.de%2F2008%2F08%2F07%2F52%2F" rel="nofollow" title="Add to&nbsp;Technorati"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/technorati.png" title="Add to&nbsp;Technorati" alt="Add to&nbsp;Technorati" /></a>
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://tipd.com/submit.php?url=http%3A%2F%2Fblog.srvme.de%2F2008%2F08%2F07%2F52%2F" rel="nofollow" title="Add to&nbsp;Tip'd"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/tipd.png" title="Add to&nbsp;Tip'd" alt="Add to&nbsp;Tip'd" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://twitter.com/home/?status=Check+out++@+http%3A%2F%2Fblog.srvme.de%2F2008%2F08%2F07%2F52%2F" rel="nofollow" title="Add to&nbsp;Twitter"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/twitter.png" title="Add to&nbsp;Twitter" alt="Add to&nbsp;Twitter" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u=http%3A%2F%2Fblog.srvme.de%2F2008%2F08%2F07%2F52%2F&amp;t=" rel="nofollow" title="Add to&nbsp;Yahoo My Web"><img class="social_img" src="http://blog.srvme.de/wp-content/plugins/social-bookmarks/images/yahoo.png" title="Add to&nbsp;Yahoo My Web" alt="Add to&nbsp;Yahoo My Web" /></a>
<br />
<a style="font-size:90%;text-align: right; " title="Click me to hide the sites." href="#" onclick="$$('div.d52').each( function(e) { e.visualEffect('slide_up',{duration:0.5}) }); return false;">Hide Sites</a>
</div>
</div>
<!-- Social Bookmarks END -->
<script type="text/javascript">$$('div.d52').each( function(e) { e.visualEffect('slide_up',{duration:0.5}) }); </script>]]></content:encoded>
			<wfw:commentRss>http://blog.srvme.de/2008/08/07/52/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
