<?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>my2cents &#187; Java</title>
	<atom:link href="http://www.frightanic.com/category/software-development/java/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.frightanic.com</link>
	<description>&#34;The Earth was made round so that we would not see too far down the road&#34; - Karen Blixen</description>
	<lastBuildDate>Wed, 01 Feb 2012 08:20:43 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>UnknownHostException with &#8216;%&#8217; in IPv6 address</title>
		<link>http://www.frightanic.com/2011/12/23/unknownhostexception-with-in-ipv6-address/</link>
		<comments>http://www.frightanic.com/2011/12/23/unknownhostexception-with-in-ipv6-address/#comments</comments>
		<pubDate>Fri, 23 Dec 2011 08:46:56 +0000</pubDate>
		<dc:creator>frightanic</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Software Development]]></category>
		<category><![CDATA[dns]]></category>
		<category><![CDATA[dnsjava]]></category>
		<category><![CDATA[jee]]></category>

		<guid isPermaLink="false">http://www.frightanic.com/?p=808</guid>
		<description><![CDATA[Recently I tried to use dnsjava to resolve whatever address request.getRemoteAddr() would return. This worked very well in most cases. However, in some cases I would see something like: java.net.UnknownHostException: Invalid address: fe80::1d9:b65a:ed86:7940%11 Not being much of a networking expert I was puzzled about the &#8216;%11&#8242;. Once again superuser.com came to rescue:  http://superuser.com/questions/99746/why-is-there-a-in-the-ipv6-address.]]></description>
			<content:encoded><![CDATA[<p>Recently I tried to use <a href="http://www.dnsjava.org/" target="_blank">dnsjava</a> to resolve whatever address request.getRemoteAddr() would return. This worked very well in most cases. However, in some cases I would see something like:</p>
<pre class="brush:java">java.net.UnknownHostException: Invalid address: fe80::1d9:b65a:ed86:7940%11</pre>
<p>Not being much of a networking expert I was puzzled about the &#8216;%11&#8242;. Once again superuser.com came to rescue:  <a href="http://superuser.com/questions/99746/why-is-there-a-in-the-ipv6-address" target="_blank">http://superuser.com/questions/99746/why-is-there-a-in-the-ipv6-address</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.frightanic.com/2011/12/23/unknownhostexception-with-in-ipv6-address/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Corporate culture: Oracle vs. Sun</title>
		<link>http://www.frightanic.com/2011/11/19/corporate-culture-oracle-vs-sun/</link>
		<comments>http://www.frightanic.com/2011/11/19/corporate-culture-oracle-vs-sun/#comments</comments>
		<pubDate>Sat, 19 Nov 2011 19:45:32 +0000</pubDate>
		<dc:creator>frightanic</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[Devoxx]]></category>
		<category><![CDATA[Devoxx 2011]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[Sun]]></category>

		<guid isPermaLink="false">http://www.frightanic.com/?p=805</guid>
		<description><![CDATA[At the technical panel discucssion on Friday morning at Devoxx there was the interesting question &#8220;Does Oracle&#8217;s corporate culture stand in the way of success for Java?&#8221;. Even more interesting was the answer from either Brian Goetz or Mark Reinold (don&#8217;t remember), both big wings at Oracle&#8230; &#8220;I think Java became a success despite Sun&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<p>At the technical panel discucssion on Friday morning at Devoxx there was the interesting question &#8220;Does Oracle&#8217;s corporate culture stand in the way of success for Java?&#8221;. Even more interesting was the answer from either Brian Goetz or Mark Reinold (don&#8217;t remember), both big wings at Oracle&#8230;</p>
<p>&#8220;I think Java became a success <em>despite</em> Sun&#8217;s corporate culture. Priorities at Sun changed quite rapidly from time to time. At Oracle it takes longer to make a plan but then with stick with it&#8221; (something along the lines of that)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.frightanic.com/2011/11/19/corporate-culture-oracle-vs-sun/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Oracle is in deep trouble</title>
		<link>http://www.frightanic.com/2011/11/17/oracle-is-in-deep-trouble/</link>
		<comments>http://www.frightanic.com/2011/11/17/oracle-is-in-deep-trouble/#comments</comments>
		<pubDate>Thu, 17 Nov 2011 19:25:16 +0000</pubDate>
		<dc:creator>frightanic</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[Devoxx]]></category>
		<category><![CDATA[Devoxx 2011]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[Oracle]]></category>

		<guid isPermaLink="false">http://www.frightanic.com/?p=788</guid>
		<description><![CDATA[The two keynotes at Devoxx 2011 yesterday by Henrik Ståhl and Cameron Purdy from Oracle and today by Google&#8217;s Tim Bray couldn&#8217;t have been more different. If that is all Oracle&#8217;s got to bring to the table then I fear they&#8217;re in big trouble&#8230; While Henrik Ståhl showed at least some passion and inspiration (neatly [...]]]></description>
			<content:encoded><![CDATA[<p>The two keynotes at Devoxx 2011 yesterday by Henrik Ståhl and Cameron Purdy from Oracle and today by Google&#8217;s Tim Bray couldn&#8217;t have been more different. If that is all Oracle&#8217;s got to bring to the table then I fear they&#8217;re in big trouble&#8230;</p>
<p>While Henrik Ståhl showed at least some passion and inspiration (neatly hidden underneath the Scandinavian cover) Cameron Purdy seemed to be nearly falling asleep himself flipping through his overloaded Oracle marketing slides. That he brought a colleague on stage who demonstrated the &#8220;cloud features&#8221; &#8211; gosh, how I hate this over-hyped cloud stuff &#8211; of the upcoming Glassfish 4.0 to<em> him</em>, instead of the audience, was seriously odd.</p>
<p>Tim Bray might be as high profile at Google Android as Ståhl/Purdy are at Oracle but there was pure passion pouring out of his mouth. Passion for software, passion for code, passion for improvement &#8211; and he spoke for himself and much less for Google*. He was vibrant and inspiring. Also, he was very humble and particularly respectful towards the Android competitors. Not a single rant or joke about iPhone or Windows Mobile 7 which he expects to catch up to Apple/Google pretty soon.</p>
<p>Tim Bray @Devoxx 2011:</p>
<ol>
<li>&#8220;Information wants to be free.&#8221;</li>
<li>&#8220;The absence of women is the elephant in the living room. It must be discussed.&#8221; on the lack of women @Devoxx showing <a href="http://en.wikipedia.org/wiki/Banksy" target="_blank">Banksy</a>&#8216;s famous <a href="http://images.fanpop.com/images/image_uploads/red-elephant-banksy-338521_800_501.jpg" target="_blank" rel="lightbox[788]">red elephant photo</a></li>
<li>&#8220;If you are not working on mobile you are away from the action.&#8221;</li>
<li>&#8220;&#8230;wouldn&#8217;t you rather feed the poor, cloth the naked, cure the sick?&#8221; on why it&#8217;d be so much more important to develop apps for people in the third world rather than for us westerns who lead a lifestyle that lacks nothing (mobile Internet access dwarfs &#8220;cable-based&#8221; access particularly in underdeveloped countries)</li>
<li>&#8220;The importance of static type checking is proportional to the number of APIs your coding against, but inversely proportional to easyness of unit testing.&#8221; or so</li>
</ol>
<p>* I&#8217;m neither an Android developer, and I don&#8217;t intend to become one, nor is it the mobile platform of my choice. I&#8217;m all Apple <img src='http://www.frightanic.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.frightanic.com/2011/11/17/oracle-is-in-deep-trouble/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Solving Maven install: &#8220;unzip: command not found&#8221;</title>
		<link>http://www.frightanic.com/2011/10/23/solving-maven-install-unzip-command-not-found/</link>
		<comments>http://www.frightanic.com/2011/10/23/solving-maven-install-unzip-command-not-found/#comments</comments>
		<pubDate>Sun, 23 Oct 2011 19:52:29 +0000</pubDate>
		<dc:creator>frightanic</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[Software Development]]></category>
		<category><![CDATA[Maven]]></category>
		<category><![CDATA[OS X]]></category>
		<category><![CDATA[SSH]]></category>

		<guid isPermaLink="false">http://www.frightanic.com/?p=779</guid>
		<description><![CDATA[With a newly set up Maven project I tried deploying the site using mvn site:deploy. The command kept failing with the following error Embedded error: Error performing commands for file transfer Exit code: 0 - bash: unzip: command not found for the longest time. I tried all kinds of funny things although I was 100% [...]]]></description>
			<content:encoded><![CDATA[<p>With a newly set up Maven project I tried deploying the site using <code>mvn site:deploy</code>. The command kept failing with the following error</p>
<pre>Embedded error: Error performing commands for file transfer
Exit code: 0 - bash: unzip: command not found</pre>
<p>for the longest time. I tried all kinds of funny things although I was 100% certain that I do have unzip in path. I was a bit embarresed when I finally realized that this error message was the result of the command executed over SSH on the <em>remote</em> host (Debian Linux) &#8211; the one the site was deployed to.</p>
<p>After that it was a piece of cake. Just had to install unzip on Linux using APT: <code>apt-get install unzip</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.frightanic.com/2011/10/23/solving-maven-install-unzip-command-not-found/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Maven hbm2ddl: fixing java.lang.ArrayStoreException: sun.reflect.annotation.EnumConstantNotPresentExceptionProxy</title>
		<link>http://www.frightanic.com/2011/08/06/maven-hbm2ddl-fixing-java-lang-arraystoreexception-sun-reflect-annotation-enumconstantnotpresentexceptionproxy/</link>
		<comments>http://www.frightanic.com/2011/08/06/maven-hbm2ddl-fixing-java-lang-arraystoreexception-sun-reflect-annotation-enumconstantnotpresentexceptionproxy/#comments</comments>
		<pubDate>Sat, 06 Aug 2011 13:33:33 +0000</pubDate>
		<dc:creator>frightanic</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[Software Development]]></category>
		<category><![CDATA[hbm2ddl]]></category>
		<category><![CDATA[Hibernate]]></category>
		<category><![CDATA[Maven]]></category>

		<guid isPermaLink="false">http://www.frightanic.com/?p=736</guid>
		<description><![CDATA[Creating a DDL in the Maven build with the hibernate3-maven-plugin fails if you explicitly configure an array of javax.persistence.CascadeType values in your JPA annotations. The stacktrace is similar to javax.persistence.PersistenceException: [PersistenceUnit: spontacts] Unable to configure EntityManagerFactory at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:265) at org.codehaus.mojo.hibernate3.configuration.JPAComponentConfiguration.createConfiguration(JPAComponentConfiguration.java:28) ... Caused by: java.lang.ArrayStoreException: sun.reflect.annotation.EnumConstantNotPresentExceptionProxy at sun.reflect.annotation.AnnotationParser.parseEnumArray(AnnotationParser.java:673) at sun.reflect.annotation.AnnotationParser.parseArray(AnnotationParser.java:462) Once I realized what the actual [...]]]></description>
			<content:encoded><![CDATA[<p>Creating a DDL in the Maven build with the <a href="http://mojo.codehaus.org/maven-hibernate3/hibernate3-maven-plugin/" target="_blank">hibernate3-maven-plugin</a> fails if you explicitly configure an array of <a href="http://download.oracle.com/javaee/5/api/javax/persistence/CascadeType.html" target="_blank">javax.persistence.CascadeType</a> values in your JPA annotations. The stacktrace is similar to</p>
<pre class="brush:java">javax.persistence.PersistenceException: [PersistenceUnit: spontacts] Unable to configure EntityManagerFactory
	at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:265)
	at org.codehaus.mojo.hibernate3.configuration.JPAComponentConfiguration.createConfiguration(JPAComponentConfiguration.java:28)
...
Caused by: java.lang.ArrayStoreException: sun.reflect.annotation.EnumConstantNotPresentExceptionProxy
	at sun.reflect.annotation.AnnotationParser.parseEnumArray(AnnotationParser.java:673)
	at sun.reflect.annotation.AnnotationParser.parseArray(AnnotationParser.java:462)</pre>
<p>Once I realized what the actual cause is, the fix was simple. Turns out that the CascadeType is not in the classpath when Maven runs the hbm2ddl goal. Hence you need to add a dependency to JPA to the hibernate3-maven-plugin:</p>
<pre class="brush:xml">&lt;plugin&gt;
	&lt;groupId&gt;org.codehaus.mojo&lt;/groupId&gt;
	&lt;artifactId&gt;hibernate3-maven-plugin&lt;/artifactId&gt;
	&lt;dependencies&gt;
		&lt;dependency&gt;
			&lt;groupId&gt;org.hibernate.javax.persistence&lt;/groupId&gt;
			&lt;artifactId&gt;hibernate-jpa-2.0-api&lt;/artifactId&gt;
			&lt;version&gt;1.0.0.Final&lt;/version&gt;
		&lt;/dependency&gt;
	&lt;/dependencies&gt;
	&lt;executions&gt;
		...
	&lt;/executions&gt;
	&lt;configuration&gt;
		...
	&lt;/configuration&gt;
&lt;/plugin&gt;</pre>
<p>A solution to this exception in a different context was posted here: <a href="http://javahowto.blogspot.com/2008/10/solve-javalangarraystoreexception.html" target="_blank">http://javahowto.blogspot.com/2008/10/solve-javalangarraystoreexception.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.frightanic.com/2011/08/06/maven-hbm2ddl-fixing-java-lang-arraystoreexception-sun-reflect-annotation-enumconstantnotpresentexceptionproxy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to debug a Maven mojo with Eclipse</title>
		<link>http://www.frightanic.com/2011/02/04/how-to-debug-a-maven-mojo-with-eclipse/</link>
		<comments>http://www.frightanic.com/2011/02/04/how-to-debug-a-maven-mojo-with-eclipse/#comments</comments>
		<pubDate>Thu, 03 Feb 2011 22:25:41 +0000</pubDate>
		<dc:creator>frightanic</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[Software Development]]></category>
		<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[Maven]]></category>
		<category><![CDATA[mojo]]></category>

		<guid isPermaLink="false">http://www.frightanic.com/?p=653</guid>
		<description><![CDATA[Checkout the mojo source code Run mvn install on the mojo Change to the project that uses the mojo for its build Run mvnDebug &#60;whatever options&#62; -&#62; Maven waits for a debugger to attach before executing Setup a new remote debugging configuration in Eclipse, using the plugin project for source and connecting to localhost:8000 (Maven [...]]]></description>
			<content:encoded><![CDATA[<ul>
<li>Checkout the mojo source code</li>
<li> Run mvn install on the mojo</li>
<li> Change to the project that uses the mojo for its build</li>
<li>Run <code>mvnDebug &lt;whatever options&gt;</code> -&gt; Maven waits for a debugger to attach before executing</li>
<li> Setup a new remote debugging configuration in Eclipse, using the plugin project for source and connecting to  <code>localhost:8000</code> (Maven tells you which port when you run <code>mvnDebug</code>)</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.frightanic.com/2011/02/04/how-to-debug-a-maven-mojo-with-eclipse/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Extra lazy one-to-many mapping with Hibernate</title>
		<link>http://www.frightanic.com/2010/11/21/extra-lazy-one-to-many-mapping-with-hibernate/</link>
		<comments>http://www.frightanic.com/2010/11/21/extra-lazy-one-to-many-mapping-with-hibernate/#comments</comments>
		<pubDate>Sun, 21 Nov 2010 13:04:51 +0000</pubDate>
		<dc:creator>frightanic</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[Software Development]]></category>

		<guid isPermaLink="false">http://www.frightanic.com/?p=611</guid>
		<description><![CDATA[Assume entity A has a one-to-many relationship to B. So, you&#8217;d have a method like A#getBs(). However, sometimes you might/will only need the number of Bs and not the entities themselves i.e. you need the count. However, if you called A#getBs()#getSize() you&#8217;d effectively initialize the collection and thereby loading entities into memory for no reason. [...]]]></description>
			<content:encoded><![CDATA[<p>Assume entity A has a one-to-many relationship to B. So, you&#8217;d have a  method like A#getBs(). However, sometimes you might/will only need the <em>number</em> of Bs and not the entities themselves i.e. you need the count. However, if you called A#getBs()#getSize()  you&#8217;d effectively initialize the collection and thereby loading entities  into memory for no reason.</p>
<p>Today I learned that Hibernate has an extra-lazy mode that detects such  cases. It issues the proper &#8220;select count(id) from A&#8221; SQL statement instead of &#8220;select &#8230; from A&#8221; in the  background: <a href="http://docs.jboss.org/hibernate/stable/core/api/org/hibernate/annotations/LazyCollectionOption.html" target="_blank">@LazyCollection(LazyCollectionOption.EXTRA)</a></p>
<p>The enum&#8217;s JavaDoc is very terse but there&#8217;s a nice article here:  <a href="http://sites.google.com/a/pintailconsultingllc.com/java/hibernate-extra-lazy-collection-fetching">http://sites.google.com/a/pintailconsultingllc.com/java/hibernate-extra-lazy-collection-fetching</a> (also stresses the difference of list vs. bag semantics). If you happen  to have a copy of &#8220;<a href="http://www.manning.com/bauer2/" target="_blank">Java Persistence with Hibernate</a>&#8221; you&#8217;d find this  in chapter 13.1.3 on page 567.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.frightanic.com/2010/11/21/extra-lazy-one-to-many-mapping-with-hibernate/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OpenID with Spring Security 3 and Google OpenID</title>
		<link>http://www.frightanic.com/2010/08/04/openid-with-spring-security-3-and-google-openid/</link>
		<comments>http://www.frightanic.com/2010/08/04/openid-with-spring-security-3-and-google-openid/#comments</comments>
		<pubDate>Wed, 04 Aug 2010 07:10:30 +0000</pubDate>
		<dc:creator>frightanic</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[Software Development]]></category>
		<category><![CDATA[OpenID]]></category>
		<category><![CDATA[Spring]]></category>
		<category><![CDATA[Spring Security]]></category>

		<guid isPermaLink="false">http://www.frightanic.com/?p=572</guid>
		<description><![CDATA[So much information on Spring OpenID is outdated so quickly&#8230;Lots of articles and blog entries describe solutions with Spring Security 2.x which is slightly different from 3.x. I recommend sticking with the sample application at http://repo1.maven.org/maven2/org/springframework/security/spring-security-samples-openid/&#60;your_version&#62;/spring-security-samples-openid-&#60;your_version&#62;.war as a reference. Also, I found http://www.packtpub.com/article/opening-up-to-openid-with-spring-security quite helpful. One caveat though is worth mentioning here: the Spring sample [...]]]></description>
			<content:encoded><![CDATA[<p>So much information on Spring OpenID is outdated so quickly&#8230;Lots of articles and blog entries describe solutions with Spring Security 2.x which is slightly different from 3.x.</p>
<p>I recommend sticking with the sample application at <a href="http://repo1.maven.org/maven2/org/springframework/security/spring-security-samples-openid/" target="_blank">http://repo1.maven.org/maven2/org/springframework/security/spring-security-samples-openid/&lt;your_version&gt;/spring-security-samples-openid-&lt;your_version&gt;.war</a> as a reference. Also, I found <a href="http://www.packtpub.com/article/opening-up-to-openid-with-spring-security" target="_blank">http://www.packtpub.com/article/opening-up-to-openid-with-spring-security</a> quite helpful.</p>
<p>One caveat though is worth mentioning here: the Spring sample application does not work with Google and Yahoo OpenID (and probably many more). The reason is explained in the above article, just scroll down to &#8220;The OpenID user registration problem&#8221;.</p>
<p>For my sample application I didn&#8217;t implement registration just yet. So, when I used Google&#8217;s generic OpenID URL https://www.google.com/accounts/o8/id for the input field in openidlogin.jsp I was able to authenticate against my Google account but Spring complained as none of the user names listed in applicationContext-security.xml matched what Google returned. Quick-fix: check your application&#8217;s log file for &#8220;Verification succeeded for: https://www.google.com/acc&#8221;&#8230;.That URL is the effective user name you should paste to applicationContext-security.xml.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.frightanic.com/2010/08/04/openid-with-spring-security-3-and-google-openid/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mysterious DDMS logo (Android development)</title>
		<link>http://www.frightanic.com/2010/05/11/mysterious-ddms-logo-android-development/</link>
		<comments>http://www.frightanic.com/2010/05/11/mysterious-ddms-logo-android-development/#comments</comments>
		<pubDate>Tue, 11 May 2010 21:27:47 +0000</pubDate>
		<dc:creator>frightanic</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[Software Development]]></category>
		<category><![CDATA[Android]]></category>
		<category><![CDATA[Dalvik]]></category>
		<category><![CDATA[DDMS]]></category>

		<guid isPermaLink="false">http://www.frightanic.com/?p=552</guid>
		<description><![CDATA[When you start the Dalvik Debug Monitor Server (DDMS) in your Android development environment you might notice its mysterious logo: I asked my myself: where the heck is this place? What&#8217;s the story behind that? My first guess was northern Scandinavia. Turns out I wasn&#8217;t quite right but not very wrong either. I compared it with various [...]]]></description>
			<content:encoded><![CDATA[<p>When you start the <a href="http://developer.android.com/guide/developing/tools/ddms.html" target="_blank">Dalvik Debug Monitor Server</a> (DDMS) in your Android development environment you might notice its mysterious logo:</p>
<p><a href="http://www.frightanic.com/blog/wp-content/uploads/2010/05/ddms-logo.png" rel="lightbox[552]"><img class="alignnone size-medium wp-image-553" title="ddms-logo" src="http://www.frightanic.com/blog/wp-content/uploads/2010/05/ddms-logo-300x235.png" alt="" width="300" height="235" /></a></p>
<p>I asked my myself: where the heck is this place? What&#8217;s the story behind that? My first guess was northern Scandinavia. Turns out I wasn&#8217;t quite right but not very wrong either.</p>
<p>I compared it with various coastlines on Google Maps and found a matching spot in northern Iceland. I zoomed closer and bingo! in the center of the logo is a town called Dalvik. Now it all makes sense. There&#8217;s even a few words about the link between the town Dalvik and Android on <a href="http://en.wikipedia.org/wiki/Dalvik_virtual_machine" target="_blank">Wikipedia</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.frightanic.com/2010/05/11/mysterious-ddms-logo-android-development/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Solution to &#8220;Error 404: SRVE0190E&#8221; on WebSphere 6.1</title>
		<link>http://www.frightanic.com/2010/05/10/solution-to-error-404-srve0190e-on-websphere-6-1/</link>
		<comments>http://www.frightanic.com/2010/05/10/solution-to-error-404-srve0190e-on-websphere-6-1/#comments</comments>
		<pubDate>Mon, 10 May 2010 12:11:33 +0000</pubDate>
		<dc:creator>frightanic</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[Software Development]]></category>
		<category><![CDATA[WebSphere]]></category>

		<guid isPermaLink="false">http://www.frightanic.com/?p=544</guid>
		<description><![CDATA[If you use ServletFilters that are mapped to URLs/resources that don&#8217;t physically exist (e.g. such as Paul Tuckey&#8217;s UrlRewriteFilter) IBM WebSphere 6.1 will answer such requests with &#8220;Error 404: SRVE0190E&#8221;. If WebSphere runs in trace mode you&#8217;ll see a FileNotFoundException in the log file. This is yet another idiotic WebSphere behavior that you need to [...]]]></description>
			<content:encoded><![CDATA[<p>If you use <a href="http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/servlet/Filter.html" target="_blank">ServletFilter</a>s that are mapped to URLs/resources that don&#8217;t physically exist (e.g. such as Paul Tuckey&#8217;s <a href="http://tuckey.org/urlrewrite/" target="_blank">UrlRewriteFilter</a>) IBM WebSphere 6.1 will answer such requests with &#8220;Error 404: SRVE0190E&#8221;. If WebSphere runs in trace mode you&#8217;ll see a FileNotFoundException in the log file.</p>
<p>This is yet another idiotic WebSphere behavior that you need to work around. Set</p>
<pre>com.ibm.ws.webcontainer.invokefilterscompatibility=true</pre>
<p>in Servers -&gt; Server -&gt; Web Container Settings -&gt; Web Container -&gt;  Custom Properties.</p>
<p>IBM has more information in their <a href="http://publib.boulder.ibm.com/infocenter/wasinfo/v6r0/topic/com.ibm.websphere.express.doc/info/exp/ae/rweb_custom_props.html" target="_blank">custom properties documentation</a> (search for &#8220;Invoking the filter capability&#8221;) and on the <a href="http://www-01.ibm.com/support/docview.wss?uid=swg24014758" target="_blank">respective support document</a> (for fix pack 6.1.07). Since the URLs to those documents might become invalid in the future <a href="http://www.frightanic.com/blog/wp-content/uploads/2010/05/IBM-PK33090.pdf">I persisted the latter in a PDF</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.frightanic.com/2010/05/10/solution-to-error-404-srve0190e-on-websphere-6-1/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
	</channel>
</rss>

