<?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>muh.</title>
	<atom:link href="http://zefiris.net/mo/wordpress/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://zefiris.net/mo/wordpress</link>
	<description></description>
	<lastBuildDate>Fri, 23 Jul 2010 07:51:16 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Skype update  für iOS 4 / Version 2.1.0</title>
		<link>http://zefiris.net/mo/wordpress/?p=159</link>
		<comments>http://zefiris.net/mo/wordpress/?p=159#comments</comments>
		<pubDate>Thu, 22 Jul 2010 08:27:49 +0000</pubDate>
		<dc:creator>mo</dc:creator>
				<category><![CDATA[Nerding]]></category>

		<guid isPermaLink="false">http://zefiris.net/mo/wordpress/?p=159</guid>
		<description><![CDATA[Skype finally made it possible to get push notifications for incoming messages and incoming calls on the iOS platform Also, and not less important, one can switch to other applications while a call is in progress and continue talking. Oh man, I was missing this feature &#8230; that means, I can finally really use skype [...]]]></description>
			<content:encoded><![CDATA[<p>Skype finally made it possible to get push notifications for incoming messages and incoming calls on the iOS platform <img src='http://zefiris.net/mo/wordpress/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>Also, and not less important, one can switch to other applications while a call is in progress and continue talking. Oh man, I was missing this feature &#8230; that means, I can finally really use skype on the iPhone.</p>
<p>One downer though is, that a iPhone 3GS is required</p>
<p>Also, apparently Skype is no longer planning on charging additional fees for calls over 3g / umts. I&#8217;m not sure this plan included charging for calls over Edge &#8211; which is (barely) useable.</p>
<p>Quote from http://blogs.skype.com/en/2010/07/iphone_multitasking_3g.html</p>
<blockquote><p>In light of that, we no longer have plans to charge a supplement to make calls over 3G. We’re delighted to make it easier for you to talk for even longer and do even more together using Skype.</p></blockquote>
<p>The exciting question now is, can we use skype on the go .. ? <img src='http://zefiris.net/mo/wordpress/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Well, in Telekom.de Mobile network, the quick answer is: &#8220;No&#8221;<br />
If your provider does not slow down VOIP Packets, you&#8217;re well off &#8230;<br />
A friend of mine is using another provider (and another phone, but it has nothing to do with the phone itself) and is well able to use skype over 3g (umts) and even over edge.</p>
<p>If your network provider is slowing down VOIP packets, you&#8217;ll have to tunnel your internet traffic through a VPN to a point, where it does not get slowed down.<br />
The following configuration _would_ work:<br />
iphone &#8212; 3g internet connection &#8212; pptp-vpn-server on a dsl connection &#8212; internet</p>
<p>The data between the iphone and a &#8220;free&#8221; internet connection gets encrypted and tunneled &#8211; the network provider inbetween does not know, what kind of data is being sent. That&#8217;d be fine, if VPN was working stable on the iphone. But it does not work stable. VPN Connections drain the battery rather quickly (a major point &#8211; so one can&#8217;t stay reachable for many hours on the go) and second, iOS4 (at least on iphone) does not support automatic reconnect for vpn connections as far as I know.</p>
<p>The reason the latter is very problematic is simple:<br />
If you drive around a little, you&#8217;ll probably loose 3g/umts connection once in a while and default back to gprs or edge. When this happens, open connections like VPNs break. It&#8217;s possible to prevent this, though quite complicated [<em>It's possible to prevent this from the provider's side</em>]. I assume, the same happens when you switch to another 3g/umts cell, but I&#8217;m not sure about this.</p>
<p>So, VPN is not working reliably.<br />
I assume, it&#8217;s possible to set up a small script to automagically reestablish broken vpn connections on a jailbroken device. But, for one, I do not like to jailbreak mine, and second, afaik, I cannot jailbreak mine (wrong model number &#8230;).</p>
<p>Well, too bad. Thumbs up for skype &#8211; thumbs down for telekom. They&#8217;re going to loose me as a customer in the next contract cycle in around a year.</p>
<p>Supplemental: I called the tcom support to make sure I understand it correctly. According to the support, it&#8217;s possible to book a VoIP-plan &#8211; which costs ~35€ per month extra. Otherwise, they do not allow VoIP in their network. I still don&#8217;t understand why they want to get rid of me as a customer &#8211; and I guess a lot of others too &#8211; but .. well &#8211; so be it. For the moment, skype is no option for me on the go. For one, I think it&#8217;s &#8220;forbidden&#8221; by telecom if you do not book a VoIP-plan &#8211; second, the plan is just too expensive.</p>
<p>The really annoying thing is, I would never ever have actually used the telefone line to call and receive calls from the peers I am using to talk to via skype. These are oversea contacts &#8211; it&#8217;s just plain too expensive.</p>
<p>More information on the topic in german:</p>
<ul>
<li>[german] <a href="http://www.tomshardware.de/Skype-Telekom-VoIP-Miller-iPhone,news-242691.html">http://www.tomshardware.de/Skype-Telekom-VoIP-Miller-iPhone,news-242691.html</a></li>
<li>[german] <a href="http://www.wiwo.de/unternehmen-maerkte/iphone-telekom-droht-skype-nutzern-431895/">http://www.wiwo.de/unternehmen-maerkte/iphone-telekom-droht-skype-nutzern-431895/</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://zefiris.net/mo/wordpress/?feed=rss2&#038;p=159</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iTunes Podcast pulishing delay</title>
		<link>http://zefiris.net/mo/wordpress/?p=160</link>
		<comments>http://zefiris.net/mo/wordpress/?p=160#comments</comments>
		<pubDate>Sat, 10 Jul 2010 10:22:11 +0000</pubDate>
		<dc:creator>mo</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://zefiris.net/mo/wordpress/?p=160&#038;iphone=true</guid>
		<description><![CDATA[I&#8217;m working for a client who is using wordpress with podpress plugin to create podcast feeds. That works great, the plugin creates a valid feed and works as expected when used directly in a podcast client (rythmbox was the one I tested it with). However, the itunes feed was not updated for two days. I [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m working for a client who is using wordpress with podpress plugin to create podcast feeds.<br />
That works great, the plugin creates a valid feed and works as expected when used directly in a podcast client (rythmbox was the one I tested it with).<br />
However, the itunes feed was not updated for two days. I pinged the iTunes service &#8211; it took another day to list the new episode. That&#8217;s far to long for a timecritical publication like in the case of my client.<br />
I&#8217;m not happy about this at all!</p>
<p>Edit: (12th July)<br />
Facebook shows similar issues that resolved itself after a while.<br />
( http-caching came up as a possible issue &#8211; though feeds should not _have_ a cache set and imho, if so, should be ignored &#8230; )</p>
]]></content:encoded>
			<wfw:commentRss>http://zefiris.net/mo/wordpress/?feed=rss2&#038;p=160</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>EeePC 901 &amp; LaFonera &#8211; WLan probs</title>
		<link>http://zefiris.net/mo/wordpress/?p=141</link>
		<comments>http://zefiris.net/mo/wordpress/?p=141#comments</comments>
		<pubDate>Tue, 27 Apr 2010 15:25:24 +0000</pubDate>
		<dc:creator>mo</dc:creator>
				<category><![CDATA[Nerding]]></category>
		<category><![CDATA[eeepc]]></category>
		<category><![CDATA[lafonera]]></category>
		<category><![CDATA[wlan]]></category>
		<category><![CDATA[wpa]]></category>

		<guid isPermaLink="false">http://zefiris.net/mo/wordpress/?p=141</guid>
		<description><![CDATA[I&#8217;m having problems with my wireless network with a laFonera AP. The AP is using WPA1/2 combo mode Every minute or so, the connection is completly dead for a around 20 seconds. That&#8217;s obviously driving me mad .. By sheer chance, I restricted the rate from 54mbit to 11mbit &#8211; which solved the problem. However, [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m having problems with my wireless network with a laFonera AP. The AP is using WPA1/2 combo mode</p>
<p>Every minute or so, the connection is completly dead for a around 20 seconds. That&#8217;s obviously driving me mad ..</p>
<p>By sheer chance, I restricted the rate from 54mbit to 11mbit &#8211; which solved the problem. However, I&#8217;m still not sure why this happened.</p>
]]></content:encoded>
			<wfw:commentRss>http://zefiris.net/mo/wordpress/?feed=rss2&#038;p=141</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Moonlight, first impressions</title>
		<link>http://zefiris.net/mo/wordpress/?p=122</link>
		<comments>http://zefiris.net/mo/wordpress/?p=122#comments</comments>
		<pubDate>Wed, 30 Dec 2009 03:04:47 +0000</pubDate>
		<dc:creator>mo</dc:creator>
				<category><![CDATA[Nerding]]></category>
		<category><![CDATA[mono]]></category>
		<category><![CDATA[moonlight]]></category>
		<category><![CDATA[silverlight]]></category>

		<guid isPermaLink="false">http://zefiris.net/mo/wordpress/?p=122</guid>
		<description><![CDATA[I was wanting to do more Flash/Flex development, but something always held me back &#8230; for one, I don&#8217;t like underlying programming language, ActionScript (3.0) very much, and for another, it&#8217;s very restrictive. Being restrictive and well-sandboxed is a good thing, especially in a browser plugin (well, Adobe has had it&#8217;s shares of security nightmares&#8230; [...]]]></description>
			<content:encoded><![CDATA[<p>I was wanting to do more Flash/Flex development, but something always held me back &#8230; for one, I don&#8217;t like underlying programming language, ActionScript (3.0) very much, and for another, it&#8217;s very restrictive.<br />
Being restrictive and well-sandboxed is a good thing, especially in a browser plugin (well, Adobe has had it&#8217;s shares of security nightmares&#8230; even Firefox reminded people to update their Flash installation at some point, a couple of months ago, remember?).</p>
<p>Moonlight seems like a real alternative. It&#8217;s an open source re-implementation of Microsoft&#8217;s Silverlight.<br />
Waiiiiiiit. Microsoft? Yeah, I&#8217;m not the biggest fan of their work, however, Moonlight seems like the better of two evils.<br />
For one, you can develop with Mono, and the code should run fairly nicely in Silverlight and Moonlight. Second, although it&#8217;s based on Silverlight, it&#8217;s a reimplementation. The source is actually available and under a open source license (LGPL 2 according to wikipedia). A couple of days back, I read Microsoft stating, that they won&#8217;t sue Linux users using Mono (or was it Moonlight in particular?). That doesn&#8217;t mean too much and I haven&#8217;t yet read up on this topic enough to understand the implications &#8230; as far as I get it, several key technologies in Silverlight are patent protected by Microsoft. And, as a _user_ of software that uses patent protected mechanisms, you can be sued. Sounds like someone who wrote these laws got too much sun. However, MS&#8217;s statement, given that they don&#8217;t follow some evil hidden agenda, might actually be a good thing.</p>
<p>So, I&#8217;m hoping for continued progress on Moonlight and Silverlight, and to have some time to really get to know this new toy.</p>
<p>Btw, If you&#8217;re interested in using Moonlight, I suggest you download a diskimage for virtualbox or vmware from <a href="http://www.go-mono.com/mono-downloads/download.html">go-mono.com/mono-downloads</a>. This way, you don&#8217;t need to replace (perhaps used) libraries with cutting edge dev libraries that might harm your sys or drive your packet manager mad.</p>
<ul>
<li>Moonlight: <a href="http://www.mono-project.com/Moonlight">http://www.mono-project.com/Moonlight</a></li>
<li>Silverlight: <a href="http://silverlight.net/">http://silverlight.net/</a></li>
</ul>
<p>Read more about the patent problematic on <a href="http://en.wikipedia.org/wiki/Mono_%28software%29#Mono_and_Microsoft.E2.80.99s_patents">the wikipedia article on Mono</a><br />
There&#8217;s a dedicated <a href="http://en.wikipedia.org/wiki/Moonlight_%28runtime%29">article on Moonlight on wikipedia too.</a></p>
]]></content:encoded>
			<wfw:commentRss>http://zefiris.net/mo/wordpress/?feed=rss2&#038;p=122</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iPhone Tethering with Ubuntu 9.10 via Bluetooth Part 2</title>
		<link>http://zefiris.net/mo/wordpress/?p=116</link>
		<comments>http://zefiris.net/mo/wordpress/?p=116#comments</comments>
		<pubDate>Wed, 30 Dec 2009 02:44:03 +0000</pubDate>
		<dc:creator>mo</dc:creator>
				<category><![CDATA[Nerding]]></category>
		<category><![CDATA[bluetooth]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[tethering]]></category>
		<category><![CDATA[timeout]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://zefiris.net/mo/wordpress/?p=116</guid>
		<description><![CDATA[A ceasefire &#8230; Ubuntu seems now, in 1 out of 2 attempts able to connect to the iphone. There&#8217;s two possibilities as far as I can tell for it to fail (both times initiating the connection via gnome network manager applet): 1.) A &#8220;hard failure&#8221;: The bluez-daemon doesn&#8217;t respond. Restarting bluetooth (turning it off and [...]]]></description>
			<content:encoded><![CDATA[<p>A ceasefire &#8230; Ubuntu seems now, in 1 out of 2 attempts able to connect to the iphone.</p>
<p>There&#8217;s two possibilities as far as I can tell for it to fail (both times initiating the connection via gnome network manager applet):<br />
1.) A &#8220;hard failure&#8221;: The bluez-daemon doesn&#8217;t respond. Restarting bluetooth (turning it off and on via the bluetooth applet) usually helps. Also helps, turning off the iphone bluetooth. I suspect, that the bluetooth daemon tries to do something and gets stuck &#8230; and cannot stop, until the other side turns off its radio (bluetooth). Just speculation, but for me, that helps. You can either watch /var/log/syslog (with tail -f for example) or suspect this failure, if the connection was rejected very fast<br />
2.) A &#8220;soft failure&#8221;: The bluetooth connection is established and the bnep device is up and running, but no address was yet issued by the dhcpd on the iphone. dhclient is used for configuration, and networkmanager (possibly fed with configuration from the gnome networkmanager applet, but this is, again, just speculation) sets a timeout of 1 minute. That doesn&#8217;t seem to be long enough. The iphone goes into tethering mode (turns the bar blue) but no address is issued (or received). So, after the timeout, the bnep connection is disposed and you can try again &#8230; I couldn&#8217;t find a workaround or solution for this problem. I just try again and again if this happens. That usually helps.</p>
<p>Hope this is of some help to you.<br />
I was hoping that the iphone would, at some point, be able to act as an accesspoint rather than relying on bluetooth, but I doubt that&#8217;ll happen any time soon. If I have too much time on my hands, I&#8217;ll try to understand the timeout problem better.</p>
<p>Lovelytv posted an interesting comment, take a look on his/her blog. I&#8217;ll try it asap:<br />
<a href="http://www.ubuntugeek.com/iphone-tethering-on-ubuntu-9-10-karmic.html">http://www.ubuntugeek.com/iphone-tethering-on-ubuntu-9-10-karmic.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://zefiris.net/mo/wordpress/?feed=rss2&#038;p=116</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>iPhone Tethering with Ubuntu 9.10 via Bluetooth</title>
		<link>http://zefiris.net/mo/wordpress/?p=111</link>
		<comments>http://zefiris.net/mo/wordpress/?p=111#comments</comments>
		<pubDate>Tue, 08 Dec 2009 11:25:59 +0000</pubDate>
		<dc:creator>mo</dc:creator>
				<category><![CDATA[Nerding]]></category>
		<category><![CDATA[bluetooth]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[networkmanager]]></category>
		<category><![CDATA[tethering]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://zefiris.net/mo/wordpress/?p=111</guid>
		<description><![CDATA[I&#8217;m trying to use tethering on the iphone via bluetooth on Ubuntu 9.10, but it&#8217;s not working out too well. Using the network-manager-gnome-applet, it sometimes work, sometimes it doesn&#8217;t. Output in /var/log/syslog indicates, that it networkmanager doesn&#8217;t wait long enough to receive an address on the bnep0 via dhcp (ip over bluetooth network device) from [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m trying to use tethering on the iphone via bluetooth on Ubuntu 9.10, but it&#8217;s not working out too well.<br />
Using the network-manager-gnome-applet, it sometimes work, sometimes it doesn&#8217;t. Output in /var/log/syslog indicates, that it networkmanager doesn&#8217;t wait long enough to receive an address on the bnep0 via dhcp (ip over bluetooth network device) from the iphone &#8211; sometimes. Sometimes, it&#8217;s the response comes in fast enough and the connection is ready for use.<br />
The odd and annoying thing is, settings to the dhclient configuration don&#8217;t seem to have any affect. I was trying to let it wait longer, but the one minute limit doesn&#8217;t seem to be affected by it. Rather, the network manager kills the dhclient instead of the dhclient giving up on its own.<br />
The other problem I&#8217;m having is, that somehow, the bluetooth device/connection or whatever you want to call it, doesn&#8217;t seem to get unregistered correctly and the next time I try to connect, the bluetoothd (called from networkmanager) doesn&#8217;t respond (in time?).</p>
<p>Have to debug this &#8230; I wasn&#8217;t a big fan of networkmanager, or rather the networkmanager-gnome-applet in the past. Now, I&#8217;m positively annoyed by it. It uses gconf xml structures to save it&#8217;s settings. Which is hard to edit at any rate (IP addresses saved as 32bit integers&#8230; but not in hex or binary, no, as decimals&#8230; who does something like that?) and it&#8217;s utterly lacking some settings that I would expect from it. Also, I couldn&#8217;t change any properties on the iphone-tethering-connection. Man, that sucks! Have no time right now, but I have to take a look into the codebase&#8230; may be time for me to send a patch &#8230; what is open source without participation anyways? <img src='http://zefiris.net/mo/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Edit: Ok, there is a nice editor for gconf <img src='http://zefiris.net/mo/wordpress/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  But that didn&#8217;t help at this point <img src='http://zefiris.net/mo/wordpress/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
<p>Edit: <a href="http://zefiris.net/mo/wordpress/?p=116">Read also my second post on this issue </a></p>
]]></content:encoded>
			<wfw:commentRss>http://zefiris.net/mo/wordpress/?feed=rss2&#038;p=111</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>IPhone and skype</title>
		<link>http://zefiris.net/mo/wordpress/?p=107</link>
		<comments>http://zefiris.net/mo/wordpress/?p=107#comments</comments>
		<pubDate>Wed, 21 Oct 2009 12:13:14 +0000</pubDate>
		<dc:creator>mo</dc:creator>
				<category><![CDATA[Nerding]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[skype]]></category>
		<category><![CDATA[t-mobile]]></category>

		<guid isPermaLink="false">http://zefiris.net/mo/wordpress/?p=107&#038;iphone=true</guid>
		<description><![CDATA[Skype isn&#8217;t allowed in t-mobile net. I was hoping that it would work if I routed all data via a vpn, through my home internet connection. Well, no luck, but that opens an interesting possibility: if it&#8217;s not a firewall filtering, a modified version of skyoe should work.]]></description>
			<content:encoded><![CDATA[<p>Skype isn&#8217;t allowed in t-mobile net. I was hoping that it would work if I routed all data via a vpn, through my home internet connection. Well, no luck,  but that opens an interesting possibility: if it&#8217;s not a firewall filtering, a modified version of skyoe should work.</p>
]]></content:encoded>
			<wfw:commentRss>http://zefiris.net/mo/wordpress/?feed=rss2&#038;p=107</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>JBoss connection pool not restoring after db restarts</title>
		<link>http://zefiris.net/mo/wordpress/?p=103</link>
		<comments>http://zefiris.net/mo/wordpress/?p=103#comments</comments>
		<pubDate>Tue, 20 Oct 2009 18:28:20 +0000</pubDate>
		<dc:creator>mo</dc:creator>
				<category><![CDATA[Nerding]]></category>
		<category><![CDATA[connection pool]]></category>
		<category><![CDATA[hibernate]]></category>
		<category><![CDATA[jboss]]></category>

		<guid isPermaLink="false">http://zefiris.net/mo/wordpress/?p=103&#038;iphone=true</guid>
		<description><![CDATA[In my last post I wrote about JBoss connection pooling issues with SQL Server 2005 when switching between single and multiuser mode. I also ran into problems when the db was restarted. The scenario is the same, JBoss 5 with Hibernate backed by a jboss datasource (pooled) to a SQL Server. After the db was [...]]]></description>
			<content:encoded><![CDATA[<p>In my last post I wrote about JBoss connection pooling issues with SQL Server 2005 when switching between single and multiuser mode.<br />
I also ran into problems when the db was restarted. The scenario is the same, JBoss 5 with Hibernate backed by a jboss datasource (pooled) to a SQL Server.<br />
After the db was restarted, connections weren&#8217;t reclaimed and caused subsequent errors.<br />
Validating the connection before using it helped, I added these properties to the datasource:</p>
<div class="codecolorer-container xml default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br /></div></td><td><div class="xml codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;new-connection-sql<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>Select statement on a existing table (keep the resultset small)<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/new-connection-sql<span style="color: #000000; font-weight: bold;">&gt;</span></span></span><br />
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;check-valid-connection-sql<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>Select statement on a existing table (keep the resultset small)<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/check-valid-connection-sql<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></div></td></tr></tbody></table></div>
]]></content:encoded>
			<wfw:commentRss>http://zefiris.net/mo/wordpress/?feed=rss2&#038;p=103</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>JBoss datasource and SQL Server single_user mode</title>
		<link>http://zefiris.net/mo/wordpress/?p=94</link>
		<comments>http://zefiris.net/mo/wordpress/?p=94#comments</comments>
		<pubDate>Sat, 10 Oct 2009 21:27:16 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Nerding]]></category>
		<category><![CDATA[datasource]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[jboss]]></category>
		<category><![CDATA[jta]]></category>
		<category><![CDATA[multi_user mode]]></category>
		<category><![CDATA[single_user mode]]></category>
		<category><![CDATA[sql server]]></category>
		<category><![CDATA[timeout]]></category>

		<guid isPermaLink="false">http://zefiris.net/mo/wordpress/?p=94</guid>
		<description><![CDATA[We&#8217;ve been having problems when SQL Server 2005 goes into single user mode (due to maintenance, backups etc.). We use a JBoss datasource in spring and JTA, however, services couldn&#8217;t be restored after sql server goes back into multiuser mode. Solution is simple, just set a timeout (in the datasource.xml file) on the connection and [...]]]></description>
			<content:encoded><![CDATA[<p>We&#8217;ve been having problems when SQL Server 2005 goes into single user mode (due to maintenance, backups etc.). We use a JBoss datasource in spring and JTA, however, services couldn&#8217;t be restored after sql server goes back into multiuser mode.</p>
<p>Solution is simple, just set a timeout (in the datasource.xml file) on the connection and they&#8217;ll get restored after the timeout is over:</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">&lt;idle-timeout-minutes&gt;1&lt;/idle-timeout-minutes&gt;</div></td></tr></tbody></table></div>
<p>See my next posts about problems I ran into when the database restarts.</p>
]]></content:encoded>
			<wfw:commentRss>http://zefiris.net/mo/wordpress/?feed=rss2&#038;p=94</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Apache POI and ooxml</title>
		<link>http://zefiris.net/mo/wordpress/?p=72</link>
		<comments>http://zefiris.net/mo/wordpress/?p=72#comments</comments>
		<pubDate>Sun, 14 Jun 2009 13:12:43 +0000</pubDate>
		<dc:creator>mo</dc:creator>
				<category><![CDATA[Nerding]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[ooxml]]></category>
		<category><![CDATA[poi]]></category>

		<guid isPermaLink="false">http://zefiris.net/mo/wordpress/?p=72</guid>
		<description><![CDATA[It&#8217;s a pain! Give this a try yourself, search for &#8220;ooxml apache poi&#8221; on the net. You&#8217;ll find trillions of websites claiming that Apache POI has support for ooxml and how great that is, or that it&#8217;s coming up. However, that&#8217;s not completly true &#8230; Apache Poi has support for xslx, that&#8217;s the Excel 2007 [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s a pain! Give this a try yourself, search for &#8220;ooxml apache poi&#8221; on the net. You&#8217;ll find trillions of websites claiming that Apache POI has support for ooxml and how great that is, or that it&#8217;s coming up.</p>
<p>However, that&#8217;s not completly true &#8230; Apache Poi has support for xslx, that&#8217;s the Excel 2007 xml-format, but it&#8217;s still lacking high-level access for Word 2007 and the other Office 2007 formats.</p>
<p>The only thing I was after was extracting the text &#8230; and that&#8217;s easy <img src='http://zefiris.net/mo/wordpress/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>Using the POITextExtractor however is trivial &#8230; and seems to work fine for doc (Word till including 2003), docx (ooxml-Word2007), xls (Excel till including 2003), xlsx (ooxml-Excel2007), ppt (PowerPoint till including 2003), pptx (ooxml-PowerPoint 2007)</p>
<div class="codecolorer-container java default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="java codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">POITextExtractor extractor <span style="color: #339933;">=</span> <br />
ExtractorFactory.<span style="color: #006633;">createExtractor</span><span style="color: #009900;">&#40;</span> a_input_stream <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<a href="http://www.google.com/search?hl=en&amp;q=allinurl%3Astring+java.sun.com&amp;btnI=I%27m%20Feeling%20Lucky"><span style="color: #003399;">String</span></a> result <span style="color: #339933;">=</span> extractor.<span style="color: #006633;">getText</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div></div>
]]></content:encoded>
			<wfw:commentRss>http://zefiris.net/mo/wordpress/?feed=rss2&#038;p=72</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

