<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Selim Hendrickson's Weblog</title>
	<atom:link href="http://selimhendrickson.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://selimhendrickson.wordpress.com</link>
	<description>So that I don't have to solve it again.</description>
	<lastBuildDate>Thu, 12 Jan 2012 13:39:43 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='selimhendrickson.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Selim Hendrickson's Weblog</title>
		<link>http://selimhendrickson.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://selimhendrickson.wordpress.com/osd.xml" title="Selim Hendrickson&#039;s Weblog" />
	<atom:link rel='hub' href='http://selimhendrickson.wordpress.com/?pushpress=hub'/>
		<item>
		<title>DelegatedServiceDomainMBean ClassNotFoundException when using JMX OSB API</title>
		<link>http://selimhendrickson.wordpress.com/2012/01/12/delegatedservicedomainmbean-classnotfoundexception-when-using-jmx-osb-api/</link>
		<comments>http://selimhendrickson.wordpress.com/2012/01/12/delegatedservicedomainmbean-classnotfoundexception-when-using-jmx-osb-api/#comments</comments>
		<pubDate>Thu, 12 Jan 2012 13:39:34 +0000</pubDate>
		<dc:creator>selimhendrickson</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[DelegatedServiceDomainMBean]]></category>
		<category><![CDATA[jar]]></category>
		<category><![CDATA[JMX]]></category>
		<category><![CDATA[oracle]]></category>
		<category><![CDATA[OSB]]></category>

		<guid isPermaLink="false">http://selimhendrickson.wordpress.com/?p=60</guid>
		<description><![CDATA[I have been trying to make the sample code at http://docs.oracle.com/cd/E21764_01/doc.1111/e15867/app_jmx_monitoring.htm work for all  morning now. I hope to write a post about getting these statistics and putting them in to a report, but for now I just wanted to point out this missing piece in the instructions. The official documentation lists the following jars as requested; [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=selimhendrickson.wordpress.com&amp;blog=3940800&amp;post=60&amp;subd=selimhendrickson&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I have been trying to make the sample code at <a href="http://docs.oracle.com/cd/E21764_01/doc.1111/e15867/app_jmx_monitoring.htm">http://docs.oracle.com/cd/E21764_01/doc.1111/e15867/app_jmx_monitoring.htm</a> work for all  morning now. I hope to write a post about getting these statistics and putting them in to a report, but for now I just wanted to point out this missing piece in the instructions.</p>
<p>The official documentation lists the following jars as requested;</p>
<ul>
<li>weblogic.jar</li>
<li>sb-kernel-api.jar</li>
<li>com.bea.common.configfwk_version.jar</li>
<li>com.bea.core.management.core_version.jar</li>
<li>om.bea.core.management.jmx_version.jar</li>
</ul>
<p>Unfortunately, this list is not complete (at least for my configuration) . First thing you need is the wlfullclient.jar. This jar needs to be built before being used. In order to build it;</p>
<ol>
<li>Go to $WLHOME/server/lib</li>
<li>Issue  java -jar wljarbuilder.jar</li>
</ol>
<p>After the process completes, you should have it in the same folder.</p>
<p>You still need class DelegatedServiceDomainMBean in your classpath. This class resides in  sb-kernel-impl.jar.</p>
<p>So the final list is;</p>
<ul>
<li>weblogic.jar</li>
<li>sb-kernel-api.jar</li>
<li>sb-kernel-impl.jar</li>
<li>com.bea.common.configfwk_version.jar</li>
<li>com.bea.core.management.core_version.jar</li>
<li>om.bea.core.management.jmx_version.jar</li>
<li>wlfullclient.jar</li>
</ul>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/selimhendrickson.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/selimhendrickson.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/selimhendrickson.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/selimhendrickson.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/selimhendrickson.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/selimhendrickson.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/selimhendrickson.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/selimhendrickson.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/selimhendrickson.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/selimhendrickson.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/selimhendrickson.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/selimhendrickson.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/selimhendrickson.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/selimhendrickson.wordpress.com/60/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=selimhendrickson.wordpress.com&amp;blog=3940800&amp;post=60&amp;subd=selimhendrickson&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://selimhendrickson.wordpress.com/2012/01/12/delegatedservicedomainmbean-classnotfoundexception-when-using-jmx-osb-api/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/25224295186eba545457ed86f6c11739?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">selimhendrickson</media:title>
		</media:content>
	</item>
		<item>
		<title>sudo make me a sandwich :)</title>
		<link>http://selimhendrickson.wordpress.com/2012/01/10/sudo-make-me-a-sandwich/</link>
		<comments>http://selimhendrickson.wordpress.com/2012/01/10/sudo-make-me-a-sandwich/#comments</comments>
		<pubDate>Tue, 10 Jan 2012 12:10:05 +0000</pubDate>
		<dc:creator>selimhendrickson</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[cartoon]]></category>
		<category><![CDATA[sudo]]></category>
		<category><![CDATA[xkcd]]></category>

		<guid isPermaLink="false">http://selimhendrickson.wordpress.com/?p=51</guid>
		<description><![CDATA[This one is a classic. I wish&#8230; &#160; Taken from XKCD.com<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=selimhendrickson.wordpress.com&amp;blog=3940800&amp;post=51&amp;subd=selimhendrickson&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This one is a classic. I wish&#8230;</p>
<p><a href="http://xkcd.com/149/"><img class="alignnone" title="sudo make me a sandwich" src="http://imgs.xkcd.com/comics/sandwich.png" alt="" width="360" height="299" /></a></p>
<p>&nbsp;</p>
<p>Taken from XKCD.com</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/selimhendrickson.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/selimhendrickson.wordpress.com/51/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/selimhendrickson.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/selimhendrickson.wordpress.com/51/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/selimhendrickson.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/selimhendrickson.wordpress.com/51/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/selimhendrickson.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/selimhendrickson.wordpress.com/51/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/selimhendrickson.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/selimhendrickson.wordpress.com/51/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/selimhendrickson.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/selimhendrickson.wordpress.com/51/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/selimhendrickson.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/selimhendrickson.wordpress.com/51/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=selimhendrickson.wordpress.com&amp;blog=3940800&amp;post=51&amp;subd=selimhendrickson&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://selimhendrickson.wordpress.com/2012/01/10/sudo-make-me-a-sandwich/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/25224295186eba545457ed86f6c11739?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">selimhendrickson</media:title>
		</media:content>

		<media:content url="http://imgs.xkcd.com/comics/sandwich.png" medium="image">
			<media:title type="html">sudo make me a sandwich</media:title>
		</media:content>
	</item>
		<item>
		<title>Web Service Contract Compatible/Incompatible changes</title>
		<link>http://selimhendrickson.wordpress.com/2012/01/09/web-service-contract-compatibleincompatible-changes/</link>
		<comments>http://selimhendrickson.wordpress.com/2012/01/09/web-service-contract-compatibleincompatible-changes/#comments</comments>
		<pubDate>Mon, 09 Jan 2012 15:34:27 +0000</pubDate>
		<dc:creator>selimhendrickson</dc:creator>
				<category><![CDATA[Web Services]]></category>
		<category><![CDATA[Schema]]></category>
		<category><![CDATA[WSDL]]></category>
		<category><![CDATA[XML]]></category>

		<guid isPermaLink="false">http://selimhendrickson.wordpress.com/?p=52</guid>
		<description><![CDATA[Recently I ran into a question on StackOverflow regarding what would be compatible (non-breaking) changes to a Web Service contract. I had spent some time in the past on this particular subject while I was researching contract versioning. There is a great book on this subject from Thomas Erl et al; The name is Web Service [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=selimhendrickson.wordpress.com&amp;blog=3940800&amp;post=52&amp;subd=selimhendrickson&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Recently I ran into a question on StackOverflow regarding what would be compatible (non-breaking) changes to a Web Service contract. I had spent some time in the past on this particular subject while I was researching contract versioning. There is a great book on this subject from Thomas Erl et al; The name is <a href="http://www.amazon.com/Web-Service-Contract-Design-Versioning/dp/013613517X">Web Service Contract Design &amp; Versioning for SOA</a>.</p>
<p>Here is what they have to say;</p>
<p><strong>Compatible Changes</strong></p>
<ul>
<li>adding a new WSDL operation definition and associated message definitions</li>
<li>adding a new WSDL port type definition and associated operation definitions</li>
<li>adding new WSDL binding and service definitions</li>
<li>adding a new optional XML Schema element or attribute declaration to a message definition</li>
<li>reducing the constraint granularity of an XML Schema element or attribute of a message definition type</li>
<li>adding a new XML Schema wildcard to a message definition type</li>
<li>adding a new optional WS-Policy assertion</li>
<li>adding a new WS-Policy alternative</li>
</ul>
<p><strong>Incompatible Changes</strong></p>
<ul>
<li>renaming an existing WSDL operation definition</li>
<li>removing an existing WSDL operation definition</li>
<li>changing the MEP of an existing WSDL operation definition</li>
<li>adding a fault message to an existing WSDL operation definition</li>
<li>adding a new required XML Schema element or attribute declaration to a message definition</li>
<li>increasing the constraint granularity of an XML Schema element or attribute declaration of a message definition</li>
<li>renaming an optional or required XML Schema element or attribute in a message definition</li>
<li>removing an optional or required XML Schema element or attribute or wildcard from a message definition</li>
<li>adding a new required WS-Policy assertion or expression</li>
<li>adding a new ignorable WS-Policy expression (most of the time)</li>
</ul>
<p>HTH.</p>
<p>Disclaimer: As I&#8217;ve mentioned, this is work done by the authors of the book and I&#8217;m merely sharing it. I&#8217;m also not affiliated in anyway; just liked the book <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/selimhendrickson.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/selimhendrickson.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/selimhendrickson.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/selimhendrickson.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/selimhendrickson.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/selimhendrickson.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/selimhendrickson.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/selimhendrickson.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/selimhendrickson.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/selimhendrickson.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/selimhendrickson.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/selimhendrickson.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/selimhendrickson.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/selimhendrickson.wordpress.com/52/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=selimhendrickson.wordpress.com&amp;blog=3940800&amp;post=52&amp;subd=selimhendrickson&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://selimhendrickson.wordpress.com/2012/01/09/web-service-contract-compatibleincompatible-changes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/25224295186eba545457ed86f6c11739?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">selimhendrickson</media:title>
		</media:content>
	</item>
		<item>
		<title>Book review: SOA Cookbook: Master SOA process architecture, modeling, and simulation in BPEL, TIBCO&#8217;s BusinessWorks, and BEA&#8217;s Weblogic Integration by Michael Havis</title>
		<link>http://selimhendrickson.wordpress.com/2010/04/23/book-review-soa-cookbook-master-soa-process-architecture-modeling-and-simulation-in-bpel-tibcos-businessworks-and-beas-weblogic-integration-by-michael-havis/</link>
		<comments>http://selimhendrickson.wordpress.com/2010/04/23/book-review-soa-cookbook-master-soa-process-architecture-modeling-and-simulation-in-bpel-tibcos-businessworks-and-beas-weblogic-integration-by-michael-havis/#comments</comments>
		<pubDate>Fri, 23 Apr 2010 14:12:20 +0000</pubDate>
		<dc:creator>selimhendrickson</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://selimhendrickson.wordpress.com/?p=37</guid>
		<description><![CDATA[I recently finished reading this interesting book. It is intended to be a practical book like the others from Packt Publishing, but don&#8217;t be mistaken when I say practical. This book cuts the hype and rather than the regular architect/business compliant talk that is not really worth much for the regular developer, focuses on different [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=selimhendrickson.wordpress.com&amp;blog=3940800&amp;post=37&amp;subd=selimhendrickson&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I recently finished reading this interesting book. It is intended to be a practical book like the others from Packt Publishing, but don&#8217;t be mistaken when I say practical. This book cuts the hype and rather than the regular architect/business compliant talk that is not really worth much for the regular developer, focuses on different approaches on developing SOA. On the other hand despite the name, this is  not a tutorial book either. It rather fills in the gap between what the everyday developer needs to just get the job done and what the fancy architect preaches. It gives you best practices and eye opener approaches to different problems.</p>
<p>The book takes touches on many subjects and leverages different tools to demonstrate these. At times, it also deviates from what the tools offer and sets on to suggest custom solutions. The examples in the book are sufficiently complex to demonstrate subjects unlike many out there with trivial scenarios which do not in any way relate to what waits out there in the wild. I also particularly like the Process centric approach the writer takes.</p>
<p>I would definitely suggest this book to any serious developer working on integration. There are many good ideas to take from this book, although after reading it you&#8217;ll probably end up needing to dig deeper into these ideas.</p>
<p><a href="http://www.amazon.com/SOA-Cookbook-architecture-BusinessWorks-Integration/dp/1847195482/ref=sr_1_2?ie=UTF8&amp;s=books&amp;qid=1272030328&amp;sr=8-2">Here</a> is the amazon page..</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/selimhendrickson.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/selimhendrickson.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/selimhendrickson.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/selimhendrickson.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/selimhendrickson.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/selimhendrickson.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/selimhendrickson.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/selimhendrickson.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/selimhendrickson.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/selimhendrickson.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/selimhendrickson.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/selimhendrickson.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/selimhendrickson.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/selimhendrickson.wordpress.com/37/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=selimhendrickson.wordpress.com&amp;blog=3940800&amp;post=37&amp;subd=selimhendrickson&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://selimhendrickson.wordpress.com/2010/04/23/book-review-soa-cookbook-master-soa-process-architecture-modeling-and-simulation-in-bpel-tibcos-businessworks-and-beas-weblogic-integration-by-michael-havis/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/25224295186eba545457ed86f6c11739?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">selimhendrickson</media:title>
		</media:content>
	</item>
		<item>
		<title>How to fix broker instance after password change?</title>
		<link>http://selimhendrickson.wordpress.com/2009/10/12/how-to-fix-broker-instance-after-password-change/</link>
		<comments>http://selimhendrickson.wordpress.com/2009/10/12/how-to-fix-broker-instance-after-password-change/#comments</comments>
		<pubDate>Mon, 12 Oct 2009 11:27:21 +0000</pubDate>
		<dc:creator>selimhendrickson</dc:creator>
				<category><![CDATA[WMB]]></category>
		<category><![CDATA[IBM]]></category>
		<category><![CDATA[Websphere Message Broker]]></category>

		<guid isPermaLink="false">http://selimhendrickson.wordpress.com/?p=34</guid>
		<description><![CDATA[Hello all, My current company has a policy that expires passwords every month, therefore DB2 and WMB services that are tied to this  account to Log On needs to be changed as well. Also the broker instance(s) need to be updated with the new password for the data store. Here is a quick checklist to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=selimhendrickson.wordpress.com&amp;blog=3940800&amp;post=34&amp;subd=selimhendrickson&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Hello all,</p>
<p>My current company has a policy that expires passwords every month, therefore DB2 and WMB services that are tied to this  account to Log On needs to be changed as well. Also the broker instance(s) need to be updated with the new password for the data store. Here is a quick checklist to fix the situation. Please note that this list is not exhaustive;</p>
<p>1. Fix DB2 services &#8211; The easiest way to do this is switch to services view in Windows and spot the services that are failing to start. Next right click these services and from the context menu select properties. Select the Log On tab and change the password used for these services. Please note that some services use the local system account while others use a selected account and it is these services which use a selected account that fail. (I don&#8217;t know why services use a different approach as of now so if you know I would appreciate if you can tell me)</p>
<p>2. Next you need to fix the service password for your configuration manager. For this you need to issue amqsichangeconfigmgr &lt;config_mgr_name&gt; -a &lt;password&gt;. Start your configuration manager by issuing a mqsistart command following this.</p>
<p>3. The last piece you need to fix is your broker instance. For this you need to fix both service password and data source password. Issue a mqsichangebroker &lt;broker&gt; -a &lt;password&gt; -p &lt;password&gt;. Start your broker instance by issuing a mqsistart command.</p>
<p>Environment: WMB 6.1.0.4 and DB2 v9.1 on Windows XP</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/selimhendrickson.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/selimhendrickson.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/selimhendrickson.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/selimhendrickson.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/selimhendrickson.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/selimhendrickson.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/selimhendrickson.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/selimhendrickson.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/selimhendrickson.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/selimhendrickson.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/selimhendrickson.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/selimhendrickson.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/selimhendrickson.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/selimhendrickson.wordpress.com/34/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=selimhendrickson.wordpress.com&amp;blog=3940800&amp;post=34&amp;subd=selimhendrickson&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://selimhendrickson.wordpress.com/2009/10/12/how-to-fix-broker-instance-after-password-change/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/25224295186eba545457ed86f6c11739?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">selimhendrickson</media:title>
		</media:content>
	</item>
		<item>
		<title>Debugging Websphere Message Broker flows</title>
		<link>http://selimhendrickson.wordpress.com/2009/06/29/debugging-websphere-message-broker-flows/</link>
		<comments>http://selimhendrickson.wordpress.com/2009/06/29/debugging-websphere-message-broker-flows/#comments</comments>
		<pubDate>Mon, 29 Jun 2009 10:05:55 +0000</pubDate>
		<dc:creator>selimhendrickson</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Debug]]></category>
		<category><![CDATA[IBM Websphere Message Controller]]></category>

		<guid isPermaLink="false">http://selimhendrickson.wordpress.com/?p=24</guid>
		<description><![CDATA[Hi all, It&#8217;s been a long time. The past few months were pretty hectic. I haver tons of drafts for new posts including complete tutorials but I guess they will have to wait for at least another month. In the meantime here  is a small quick guide to enabling debugging for Websphere Message Broker flows. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=selimhendrickson.wordpress.com&amp;blog=3940800&amp;post=24&amp;subd=selimhendrickson&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Hi all,</p>
<p>It&#8217;s been a long time. The past few months were pretty hectic. I haver tons of drafts for new posts including complete tutorials but I guess they will have to wait for at least another month. In the meantime here  is a small quick guide to enabling debugging for Websphere Message Broker flows. If you are like me, aside from tracing you always like a decent debugger for tracing code.</p>
<p>1. Install the Rational Agent Controller</p>
<p>Please remember that you need to choose a JDK other than the IBM JDK installed with the WMB. It is wise to choose a Java 5 JDK. This is the JDK the Rational Agent Controller uses to start a debugger instance and connect to the execution group.</p>
<p>2. Assign debug port to execution group and enable debugging</p>
<p>You need to assign a debug port to the execution group you want the debugger to attach to and enable debugging. Please remember that this can constitute a security vulnerability since the debug port should be accessible from outside.</p>
<p><img class="alignnone size-full wp-image-28" title="Set execution group debug port" src="http://selimhendrickson.files.wordpress.com/2009/06/set_port1.jpg?w=500&#038;h=441" alt="Set execution group debug port" width="500" height="441" /></p>
<p>Next you should enable debugging;</p>
<p><img class="alignnone size-full wp-image-29" title="Enable debugging" src="http://selimhendrickson.files.wordpress.com/2009/06/enable_debug1.jpg?w=500" alt="Enable debugging"   /></p>
<p>3. Go to tthe command console and shoot;</p>
<p>mqsichangeproperties &lt;broker-name&gt; -e &lt;execution-group-name&gt; -o ComIbmJVMManager -n jvmDebugPort -v &lt;port-number&gt;</p>
<p>4. Restart the broker</p>
<p>5. Restart the broker toolkit</p>
<p>6. Create debug configuration</p>
<p>Create a new debug configuration by going to Debug&#8230; / Message Broker Debug / Add&#8230;</p>
<p>In the new configuration first click the &#8220;Select Execution Group&#8230;&#8221; which will result in the broker toolkit to query execution groups previously configured to discover the ones which have debugging enabled. Choose the execution group you have configured. Enter the debug port you have picked and add the Source folder to the debug configuration.</p>
<p><img class="alignnone size-full wp-image-30" title="Run Configuration" src="http://selimhendrickson.files.wordpress.com/2009/06/run_config.jpg?w=500&#038;h=400" alt="Run Configuration" width="500" height="400" /></p>
<p>7. Add breakpoints to you flow and use the debug configuration you have created to debug your flows.</p>
<p>Environment: Rational Agent Controller v6.0.1, Websphere Message Broker 6.1.0.4</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/selimhendrickson.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/selimhendrickson.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/selimhendrickson.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/selimhendrickson.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/selimhendrickson.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/selimhendrickson.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/selimhendrickson.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/selimhendrickson.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/selimhendrickson.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/selimhendrickson.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/selimhendrickson.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/selimhendrickson.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/selimhendrickson.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/selimhendrickson.wordpress.com/24/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=selimhendrickson.wordpress.com&amp;blog=3940800&amp;post=24&amp;subd=selimhendrickson&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://selimhendrickson.wordpress.com/2009/06/29/debugging-websphere-message-broker-flows/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/25224295186eba545457ed86f6c11739?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">selimhendrickson</media:title>
		</media:content>

		<media:content url="http://selimhendrickson.files.wordpress.com/2009/06/set_port1.jpg" medium="image">
			<media:title type="html">Set execution group debug port</media:title>
		</media:content>

		<media:content url="http://selimhendrickson.files.wordpress.com/2009/06/enable_debug1.jpg" medium="image">
			<media:title type="html">Enable debugging</media:title>
		</media:content>

		<media:content url="http://selimhendrickson.files.wordpress.com/2009/06/run_config.jpg" medium="image">
			<media:title type="html">Run Configuration</media:title>
		</media:content>
	</item>
		<item>
		<title>Update.. And a quick tip on changing the language settings for Websphere MQ Explorer</title>
		<link>http://selimhendrickson.wordpress.com/2008/10/07/update-and-a-quick-tip-on-changing-the-language-settings-for-websphere-mq-explorer/</link>
		<comments>http://selimhendrickson.wordpress.com/2008/10/07/update-and-a-quick-tip-on-changing-the-language-settings-for-websphere-mq-explorer/#comments</comments>
		<pubDate>Tue, 07 Oct 2008 10:03:49 +0000</pubDate>
		<dc:creator>selimhendrickson</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Websphere MQ]]></category>

		<guid isPermaLink="false">http://selimhendrickson.wordpress.com/?p=22</guid>
		<description><![CDATA[Hello all, Obviously I haven&#8217;t posted anything in a while now. The reason for this is, I have accepted a new job and now working in Switzerland (More info on this later).. Since I have relocated and didn&#8217;t have a project for the past 3 months, I didn&#8217;t have anything to post. I have recently [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=selimhendrickson.wordpress.com&amp;blog=3940800&amp;post=22&amp;subd=selimhendrickson&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Hello all,</p>
<p>Obviously I haven&#8217;t posted anything in a while now. The reason for this is, I have accepted a new job and now working in Switzerland (More info on this later).. Since I have relocated and didn&#8217;t have a project for the past 3 months, I didn&#8217;t have anything to post. I have recently started my new assignment which is a very cool one so expect to hear a lot more from me in the coming days.  So here is a small tip on changing the langauge settings..</p>
<p>In my case, I have a computer with Windows XP which has German language as it&#8217;s primary language. When I installed MQ Explorer it picked up German as it&#8217;s main language which is a showstopper for me. Fortunately it is very easy to change it back into English:</p>
<ul>
<li>Open &lt;InstallDir&gt;/Eclipse SDK30/eclipse/configuration/config.ini</li>
<li>Add these two lines before eof</li>
</ul>
<p>org.osgi.framework.language=en<br />
osgi.nl=en_US</p>
<p>Reboot and there it is <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/selimhendrickson.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/selimhendrickson.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/selimhendrickson.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/selimhendrickson.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/selimhendrickson.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/selimhendrickson.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/selimhendrickson.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/selimhendrickson.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/selimhendrickson.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/selimhendrickson.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/selimhendrickson.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/selimhendrickson.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/selimhendrickson.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/selimhendrickson.wordpress.com/22/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=selimhendrickson.wordpress.com&amp;blog=3940800&amp;post=22&amp;subd=selimhendrickson&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://selimhendrickson.wordpress.com/2008/10/07/update-and-a-quick-tip-on-changing-the-language-settings-for-websphere-mq-explorer/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/25224295186eba545457ed86f6c11739?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">selimhendrickson</media:title>
		</media:content>
	</item>
		<item>
		<title>DDD 4-day Immersion by Eric Evans</title>
		<link>http://selimhendrickson.wordpress.com/2008/07/17/ddd-4-day-immersion-by-eric-evans/</link>
		<comments>http://selimhendrickson.wordpress.com/2008/07/17/ddd-4-day-immersion-by-eric-evans/#comments</comments>
		<pubDate>Thu, 17 Jul 2008 11:03:36 +0000</pubDate>
		<dc:creator>selimhendrickson</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[book]]></category>
		<category><![CDATA[event]]></category>
		<category><![CDATA[Software design]]></category>
		<category><![CDATA[training]]></category>

		<guid isPermaLink="false">http://selimhendrickson.wordpress.com/?p=13</guid>
		<description><![CDATA[There is going to be a 4 day course on Domain Driven Design by the guy who literally wrote the book on it Here are the details: http://www.domainlanguage.com/services/training/index.html<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=selimhendrickson.wordpress.com&amp;blog=3940800&amp;post=13&amp;subd=selimhendrickson&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>There is going to be a 4 day course on Domain Driven Design by the guy who literally wrote <a title="the book" href="http://domaindrivendesign.org/books/" target="_blank">the book</a> on it <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Here are the details: <a title="http://www.domainlanguage.com/services/training/index.html" href="http://http://www.domainlanguage.com/services/training/index.html" target="_blank"><span style="font-family:Tahoma;">http://www.domainlanguage.com/services/training/index.html</span></a><!--[if gte mso 9]&gt;  Normal 0   false false false        MicrosoftInternetExplorer4  &lt;![endif]--><!--[if gte mso 9]&gt;   &lt;![endif]--><!--  /* Font Definitions */  @font-face 	{font-family:Tahoma; 	panose-1:2 11 6 4 3 5 4 4 2 4; 	mso-font-charset:0; 	mso-generic-font-family:swiss; 	mso-font-pitch:variable; 	mso-font-signature:1627421319 -2147483648 8 0 66047 0;}  /* Style Definitions */  p.MsoNormal, li.MsoNormal, div.MsoNormal 	{mso-style-parent:""; 	margin-top:0cm; 	margin-right:0cm; 	margin-bottom:3.0pt; 	margin-left:0cm; 	text-align:justify; 	line-height:15.0pt; 	mso-pagination:widow-orphan; 	font-size:10.0pt; 	mso-bidi-font-size:12.0pt; 	font-family:Tahoma; 	mso-fareast-font-family:Arial; 	mso-bidi-font-family:Arial;} @page Section1 	{size:612.0pt 792.0pt; 	margin:72.0pt 90.0pt 72.0pt 90.0pt; 	mso-header-margin:36.0pt; 	mso-footer-margin:36.0pt; 	mso-paper-source:0;} div.Section1 	{page:Section1;} --><!--[if gte mso 10]&gt; &lt;!   /* Style Definitions */  table.MsoNormalTable 	{mso-style-name:"Table Normal"; 	mso-tstyle-rowband-size:0; 	mso-tstyle-colband-size:0; 	mso-style-noshow:yes; 	mso-style-parent:""; 	mso-padding-alt:0cm 5.4pt 0cm 5.4pt; 	mso-para-margin:0cm; 	mso-para-margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:10.0pt; 	font-family:"Times New Roman"; 	mso-ansi-language:#0400; 	mso-fareast-language:#0400; 	mso-bidi-language:#0400;} --> <!--[endif]--></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/selimhendrickson.wordpress.com/13/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/selimhendrickson.wordpress.com/13/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/selimhendrickson.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/selimhendrickson.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/selimhendrickson.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/selimhendrickson.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/selimhendrickson.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/selimhendrickson.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/selimhendrickson.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/selimhendrickson.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/selimhendrickson.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/selimhendrickson.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/selimhendrickson.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/selimhendrickson.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/selimhendrickson.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/selimhendrickson.wordpress.com/13/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=selimhendrickson.wordpress.com&amp;blog=3940800&amp;post=13&amp;subd=selimhendrickson&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://selimhendrickson.wordpress.com/2008/07/17/ddd-4-day-immersion-by-eric-evans/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/25224295186eba545457ed86f6c11739?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">selimhendrickson</media:title>
		</media:content>
	</item>
		<item>
		<title>Deploying Hibernate Apps on OC4J</title>
		<link>http://selimhendrickson.wordpress.com/2008/06/26/deploying-hibernate-apps-on-oc4j/</link>
		<comments>http://selimhendrickson.wordpress.com/2008/06/26/deploying-hibernate-apps-on-oc4j/#comments</comments>
		<pubDate>Thu, 26 Jun 2008 17:40:34 +0000</pubDate>
		<dc:creator>selimhendrickson</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[hibernate]]></category>
		<category><![CDATA[oc4j]]></category>
		<category><![CDATA[oracle]]></category>

		<guid isPermaLink="false">http://selimhendrickson.wordpress.com/?p=10</guid>
		<description><![CDATA[I&#8217;ve spent a good deal of time today trying to deploy an application I&#8217;ve recently completed on Oracle IAS 10g. I still haven&#8217;t decided if I like the beast or not. I already knew about the bug regarding the antlr.jar, but in the past I dealt with it by renaming the antlr.jar in the toplink [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=selimhendrickson.wordpress.com&amp;blog=3940800&amp;post=10&amp;subd=selimhendrickson&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve spent a good deal of time today trying to deploy an application I&#8217;ve recently completed on Oracle IAS 10g. I still haven&#8217;t decided if I like the beast or not. I already knew about the bug regarding the antlr.jar, but in the past I dealt with it by renaming the antlr.jar in the toplink directory under JDeveloper. Since I had to deploy on a server that already hosts a dozen of other applications developed by other people, this was not an option.</p>
<p>Luckily, it wasn&#8217;t very hard to figure out my way. After tweaking the deployment options for a while, I noticed on the third step of the deployment wizard, there was an option to modify classloading. I turned of loading of the toplink library for my app, and voila. It started working like a charm.</p>
<p>A quick note for the people who has no idea about this issue: The antlr.jar version required by the hibernate causes problems since a different version of antlr is included with the toplink library.</p>
<p>My Setup: Oracle IAS 10.1.3.3 on Linux</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/selimhendrickson.wordpress.com/10/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/selimhendrickson.wordpress.com/10/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/selimhendrickson.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/selimhendrickson.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/selimhendrickson.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/selimhendrickson.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/selimhendrickson.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/selimhendrickson.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/selimhendrickson.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/selimhendrickson.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/selimhendrickson.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/selimhendrickson.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/selimhendrickson.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/selimhendrickson.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/selimhendrickson.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/selimhendrickson.wordpress.com/10/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=selimhendrickson.wordpress.com&amp;blog=3940800&amp;post=10&amp;subd=selimhendrickson&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://selimhendrickson.wordpress.com/2008/06/26/deploying-hibernate-apps-on-oc4j/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/25224295186eba545457ed86f6c11739?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">selimhendrickson</media:title>
		</media:content>
	</item>
		<item>
		<title>Compiling C++ code for JNI binding on Windows with MinGW</title>
		<link>http://selimhendrickson.wordpress.com/2008/06/10/compiling-c-code-for-jni-binding-on-windows-with-mingw/</link>
		<comments>http://selimhendrickson.wordpress.com/2008/06/10/compiling-c-code-for-jni-binding-on-windows-with-mingw/#comments</comments>
		<pubDate>Tue, 10 Jun 2008 06:14:51 +0000</pubDate>
		<dc:creator>selimhendrickson</dc:creator>
				<category><![CDATA[C++]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[MinGW]]></category>

		<guid isPermaLink="false">http://selimhendrickson.wordpress.com/?p=4</guid>
		<description><![CDATA[Yesterday I spent a good part of my day trying to use the JNI bridge. I was trying to build a very simple spike (basically a HelloWorld example) and call that code from Java. After the usual process of generating headers and including it in C++ code, I run my java code just to get [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=selimhendrickson.wordpress.com&amp;blog=3940800&amp;post=4&amp;subd=selimhendrickson&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Yesterday I spent a good part of my day trying to use the JNI bridge. I was trying to build a very simple spike (basically a HelloWorld example) and call that code from Java. After the usual process of generating headers and including it in C++ code, I run my java code just to get the following exception;</p>
<p><code><br />
Exception in thread "main" java.lang.UnsatisfiedLinkError:      jnidemojava.Main.nativePrint()V<br />
at jnidemojava.Main.nativePrint(Native Method)<br />
at jnidemojava.Main.main(Main.java:27)</code></p>
<p>After searching for long hours, inspecting the compiled DLL using <a href="http://www.ucware.com/apev/index.htm" target="_blank">Anywhere PE Viewer</a>, etc. I found out that that GCC compiler exports function names in shared libraries with a suffix indicating the number of bytes required to hold the arguments passed to the function which is known as name mangling. Therefore, the JNI bridge cannot locate the necessary method! In order to fix this,</p>
<p><code>-Wall -D_JNI_IMPLEMENTATION_ -Wl,--kill-at</code></p>
<p>should be added to compiler options during compilation of the DLL. This is explained on the <a href="http://www.mingw.org/mingwfaq.shtml#faq-jni-dll" target="_blank">MinGW frequently asked questions</a>.</p>
<p>Thanks to the folks on the Java forums. Here is the link I found out about this information. There are other posible reasons causing you trouble so I&#8217;m including <a href="http://forum.java.sun.com/thread.jspa?threadID=5200233" target="_blank">the link</a> here which discusses other possible solutions.</p>
<p>BTW, my setup is:</p>
<p>Win XP + MinGW 5.1.4 + MSYS 1.0 + Netbeans 6.1 + Sun JDK 6</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/selimhendrickson.wordpress.com/4/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/selimhendrickson.wordpress.com/4/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/selimhendrickson.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/selimhendrickson.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/selimhendrickson.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/selimhendrickson.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/selimhendrickson.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/selimhendrickson.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/selimhendrickson.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/selimhendrickson.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/selimhendrickson.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/selimhendrickson.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/selimhendrickson.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/selimhendrickson.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/selimhendrickson.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/selimhendrickson.wordpress.com/4/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=selimhendrickson.wordpress.com&amp;blog=3940800&amp;post=4&amp;subd=selimhendrickson&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://selimhendrickson.wordpress.com/2008/06/10/compiling-c-code-for-jni-binding-on-windows-with-mingw/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/25224295186eba545457ed86f6c11739?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">selimhendrickson</media:title>
		</media:content>
	</item>
	</channel>
</rss>
