<?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>JMischa</title>
	<atom:link href="http://mischakoelliker.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://mischakoelliker.wordpress.com</link>
	<description>Java, Services, Integration - Things I work with.</description>
	<lastBuildDate>Thu, 21 Jul 2011 10:52:36 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='mischakoelliker.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>JMischa</title>
		<link>http://mischakoelliker.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://mischakoelliker.wordpress.com/osd.xml" title="JMischa" />
	<atom:link rel='hub' href='http://mischakoelliker.wordpress.com/?pushpress=hub'/>
		<item>
		<title>WebLogic 10.3.4 Generic Installer Fails on Solaris</title>
		<link>http://mischakoelliker.wordpress.com/2011/01/31/weblogic-10-3-4-generic-installer-fails-on-solaris/</link>
		<comments>http://mischakoelliker.wordpress.com/2011/01/31/weblogic-10-3-4-generic-installer-fails-on-solaris/#comments</comments>
		<pubDate>Mon, 31 Jan 2011 22:55:48 +0000</pubDate>
		<dc:creator>Mischa Kölliker</dc:creator>
				<category><![CDATA[Oracle Service Bus]]></category>
		<category><![CDATA[WebLogic]]></category>

		<guid isPermaLink="false">http://mischakoelliker.wordpress.com/?p=56</guid>
		<description><![CDATA[(at least in certain disk space configurations) Good news for Solaris x64 users: Oracle Service Bus 11g PS3 is now supported on this platform. But the prerequisite wls1034_generic.jar installer fails on some disk configurations with the following error: Extracting 0%....................................................................................................100% Insufficient disk space! The installer requires: 190MB for the BEA Home at /home/trivadis/Oracle/Middleware, 450MB for [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mischakoelliker.wordpress.com&amp;blog=15443944&amp;post=56&amp;subd=mischakoelliker&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>(at least in certain disk space configurations)</p>
<p>Good news for Solaris x64 users: Oracle Service Bus 11g PS3 is now supported on this platform. But the prerequisite wls1034_generic.jar installer fails on some disk configurations with the following error:<br />
<code><br />
Extracting 0%....................................................................................................100%<br />
Insufficient disk space! The installer requires:<br />
190MB for the BEA Home at /home/trivadis/Oracle/Middleware,<br />
450MB for the product at /home/trivadis/Oracle/Middleware/utils/uninstall/WebLogic_Platform_10.3.4.0,<br />
/home/trivadis/Oracle/Middleware/wlserver_10.3 and<br />
1139MB temporary work space at /home/trivadis/tmp/bea2001687921370458260.tmp.<br />
There is only 1MB available at /home/trivadis/Oracle/Middleware.<br />
</code></p>
<p><strong>There is certainly more than 1MB available on the affected disk</strong>, in fact there are more than a 100 GB available! I did not really figure out what causes the space detection routine to fail, but I found a workaround to switch the available-space-check off:</p>
<p>Just create a file <span style="font-family:Courier, monospace;white-space:pre;">/home/bea/installoptions.bea </span>(this is where the generated file beahomelist usually gets placed).</p>
<p>Put the following line into this file:<br />
<code><br />
space.detection=false<br />
</code><br />
</p>
<p>Start the installer again and it will run like a breeze!</p>
<p>If you run into other problems and like to debug the installer, just start it with the following line:<br />
<code><br />
java -d64 -Xmx1024m <strong>-Dcom.bea.plateng.common.util.logging.useJDKlogger=true -log=./wls.log</strong> -jar /home/trivadis/wls1034_generic.jar<br />
</code><br />
</p>
<p>To even see debug log entries in wls.log, put the following line at the bottom in your <span style="font-family:Courier, monospace;white-space:pre;">/lib/logging.properties</span> file:<br />
<code><br />
com.bea.plateng.level = FINEST<br />
</code></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mischakoelliker.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mischakoelliker.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mischakoelliker.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mischakoelliker.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mischakoelliker.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mischakoelliker.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mischakoelliker.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mischakoelliker.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mischakoelliker.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mischakoelliker.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mischakoelliker.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mischakoelliker.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mischakoelliker.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mischakoelliker.wordpress.com/56/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mischakoelliker.wordpress.com&amp;blog=15443944&amp;post=56&amp;subd=mischakoelliker&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mischakoelliker.wordpress.com/2011/01/31/weblogic-10-3-4-generic-installer-fails-on-solaris/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0c3fb40371855208697c7f68bafa6195?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mischakoelliker</media:title>
		</media:content>
	</item>
		<item>
		<title>OSB&#8217;s Custom XPath functions and NULL values</title>
		<link>http://mischakoelliker.wordpress.com/2010/10/17/osbs-custom-xpath-functions-and-null-values/</link>
		<comments>http://mischakoelliker.wordpress.com/2010/10/17/osbs-custom-xpath-functions-and-null-values/#comments</comments>
		<pubDate>Sun, 17 Oct 2010 21:25:56 +0000</pubDate>
		<dc:creator>Mischa Kölliker</dc:creator>
				<category><![CDATA[Oracle Service Bus]]></category>
		<category><![CDATA[XPath]]></category>
		<category><![CDATA[XQuery]]></category>

		<guid isPermaLink="false">http://mischakoelliker.wordpress.com/?p=30</guid>
		<description><![CDATA[Oracle Service Bus features a nice possibility to write custom XPath functions. Recently we stumbled upon an interesting question: How can NULL values of basic types be transferred from Java to XQuery and back? Is it even possible? The short story: No, it isn’t.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mischakoelliker.wordpress.com&amp;blog=15443944&amp;post=30&amp;subd=mischakoelliker&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Oracle Service Bus features a nice possibility to write <a href="http://download.oracle.com/docs/html/E15866_01/custom_xpath.htm">custom XPath</a> functions. Eric already <a href="http://www.xenta.nl/blog/2010/05/10/oracle-service-bus-11g-using-custom-xpath-functions/">blogged </a>about it some time ago.<br />
Recently we stumbled upon an interesting question: How can NULL values of basic types be transferred from Java to XQuery and back? Is it even possible? The short story: No, it isn&#8217;t.</p>
<p>
As is known, there is no explicit NULL in XQuery. There are empty sequences, and you can mark an element with the  <code>xsi:nil</code> attribute to represent NULL: <code>&lt;elem xsi:nil="true"/&gt;</code>. But there is no NULL-equivalent for basic data types.</p>
<p>
Nevertheless, I checked how OSB&#8217;s XQuery implementation behaves, if one tries to transfer <code>null </code>values. Here is the result:</p>
<p>
First, we write three Java methods, taking a string parameter and returning <code>null</code>, an empty string and a whitespace-string.</p>
<pre class="brush: java;">
package com.trivadis.osb.xpath;

public class NullInXQuery {

	public static String retNull(String arg) {
		System.out.println(&quot;retNull(): arg: '&quot; + arg + &quot;'&quot;);
		return null;
	}

	public static String retEmpty(String arg) {
		System.out.println(&quot;retEmpty(): arg: '&quot; + arg + &quot;'&quot;);
		return &quot;&quot;;
	}

	public static String retSpace(String arg) {
		System.out.println(&quot;retSpace(): arg: '&quot; + arg + &quot;'&quot;);
		return &quot; &quot;;
	}
}
</pre>
<p>
Add an entry for each method in the configuration XML:</p>
<pre class="brush: xml;">
&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
&lt;xpf:xpathFunctions xmlns:xpf=&quot;http://www.bea.com/wli/sb/xpath/config&quot;&gt;
    &lt;xpf:category id=&quot;Testing Null behaviour Functions&quot;&gt;
        &lt;xpf:function&gt;
            &lt;xpf:name&gt;retNull&lt;/xpf:name&gt;
            &lt;xpf:namespaceURI&gt;http://trivadis.com/osb/nullinxquery&lt;/xpf:namespaceURI&gt;
            &lt;xpf:className&gt;com.trivadis.osb.xpath.NullInXQuery&lt;/xpf:className&gt;
            &lt;xpf:method&gt;java.lang.String retNull(java.lang.String)&lt;/xpf:method&gt;
            &lt;xpf:isDeterministic&gt;true&lt;/xpf:isDeterministic&gt;
            &lt;xpf:scope&gt;Pipeline&lt;/xpf:scope&gt;
            &lt;xpf:scope&gt;SplitJoin&lt;/xpf:scope&gt;
        &lt;/xpf:function&gt;
        &lt;xpf:function&gt;
            &lt;xpf:name&gt;retEmpty&lt;/xpf:name&gt;
            &lt;xpf:namespaceURI&gt;http://trivadis.com/osb/nullinxquery&lt;/xpf:namespaceURI&gt;
            &lt;xpf:className&gt;com.trivadis.osb.xpath.NullInXQuery&lt;/xpf:className&gt;
            &lt;xpf:method&gt;java.lang.String retEmpty(java.lang.String)&lt;/xpf:method&gt;
            &lt;xpf:isDeterministic&gt;true&lt;/xpf:isDeterministic&gt;
            &lt;xpf:scope&gt;Pipeline&lt;/xpf:scope&gt;
            &lt;xpf:scope&gt;SplitJoin&lt;/xpf:scope&gt;
        &lt;/xpf:function&gt;
        &lt;xpf:function&gt;
            &lt;xpf:name&gt;retSpace&lt;/xpf:name&gt;
            &lt;xpf:namespaceURI&gt;http://trivadis.com/osb/nullinxquery&lt;/xpf:namespaceURI&gt;
            &lt;xpf:className&gt;com.trivadis.osb.xpath.NullInXQuery&lt;/xpf:className&gt;
            &lt;xpf:method&gt;java.lang.String retSpace(java.lang.String)&lt;/xpf:method&gt;
            &lt;xpf:isDeterministic&gt;true&lt;/xpf:isDeterministic&gt;
            &lt;xpf:scope&gt;Pipeline&lt;/xpf:scope&gt;
            &lt;xpf:scope&gt;SplitJoin&lt;/xpf:scope&gt;
        &lt;/xpf:function&gt;
	&lt;/xpf:category&gt;
&lt;/xpf:xpathFunctions&gt;
</pre>
<p>
Finally call the functions within a ProxyService&#8217;s log action:</p>
<pre class="brush: xml;">
&lt;x&gt;
&lt;null&gt;{nulo9:retNull(&lt;elem xsi:nil=&quot;true&quot;/&gt;)}&lt;/null&gt;
&lt;empty&gt;{nulo9:retEmpty(&quot;&quot;)}&lt;/empty&gt;
&lt;space&gt;{nulo9:retSpace(&quot; &quot;)}&lt;/space&gt;
&lt;/x&gt;
</pre>
<p>As you can see, we try to pass a nilled element to the Java method (hoping it will be converted to <code>null</code>). Further we pass an empty string and a string containing whitespace only.The methods themselves return <code>null</code>, an empty string and a whitespace-string.</p>
<p>
After you execute the ProxyService, you will see the following in the stdout log file:</p>
<pre class="brush: plain;">
retNull(): arg: ''
retEmpty(): arg: ''
retSpace(): arg: ' '
&lt;17.10.2010 22:58 Uhr MESZ&gt; &lt;Debug&gt; &lt;ALSB Logging&gt; &lt;BEA-000000&gt; &lt; [PipelinePairNode1, PipelinePairNode1_request, stage1, REQUEST] &lt;x&gt;
  &lt;null/&gt;
  &lt;empty/&gt;
  &lt;space&gt;&lt;/space&gt;
&lt;/x&gt;&gt;
</pre>
<p>
So, there seems to be no way to pass <code>null</code> between Java and XQuery in either direction. <code>null</code> will always be converted into an empty string, the same applies to a nilled element.</p>
<p>
For other basic data types, the situation seems to be somewhat inconsistent. For instance, if you try the same with a custom XPath function taking and returning <code>java.lang.Integer</code>, you will receive the following error if you call the custom XPath function with a <code>&lt;elem xsi:nil="true"/&gt;</code> parameter value:</p>
<pre class="brush: plain;">
weblogic.xml.query.exceptions.XQueryDynamicException: {err}XP0021: &quot;&quot;: can not cast to {http://www.w3.org/2001/XMLSchema}integer: error: decimal: Invalid decimal value: expected at least one digit
</pre>
<p>
The same Java method returning a <code>java.lang.Integer</code> <code>null</code> leads to:</p>
<pre class="brush: plain;">
weblogic.xml.query.exceptions.XQueryTypeException: line 5, column 28: {err}XP0006: &quot;0 ({http://www.w3.org/2001/XMLSchema}integer)&quot;: bad value for type {http://www.w3.org/2001/XMLSchema}int
</pre>
<p>For <code>java.sql.Date</code>, however, the situation looks similar at first. For a method taking and returning <code>java.sql.Date</code>, passing <code>&lt;elem xsi:nil="true"/&gt;</code> leads to:</p>
<pre class="brush: plain;">
weblogic.xml.query.exceptions.XQueryDynamicException: {err}XP0021: &quot;&quot;: can not cast to {http://www.w3.org/2001/XMLSchema}date: error: date: Invalid date value: wrong type
</pre>
<p>But the same Java method returning a <code>java.sql.Date</code> <code>null</code> in contrast runs smoothly!</p>
<p>If somebody knows a practical and consistent way to pass <code>null</code> between Java and XQuery, you are welcome to add a comment!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mischakoelliker.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mischakoelliker.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mischakoelliker.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mischakoelliker.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mischakoelliker.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mischakoelliker.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mischakoelliker.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mischakoelliker.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mischakoelliker.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mischakoelliker.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mischakoelliker.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mischakoelliker.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mischakoelliker.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mischakoelliker.wordpress.com/30/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mischakoelliker.wordpress.com&amp;blog=15443944&amp;post=30&amp;subd=mischakoelliker&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mischakoelliker.wordpress.com/2010/10/17/osbs-custom-xpath-functions-and-null-values/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0c3fb40371855208697c7f68bafa6195?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mischakoelliker</media:title>
		</media:content>
	</item>
		<item>
		<title>See you at Swiss Oracle User Group SIG Middleware event &#8211; Sept. 15, 2010</title>
		<link>http://mischakoelliker.wordpress.com/2010/09/01/swiss-oracle-user-group-sig-middleware-event/</link>
		<comments>http://mischakoelliker.wordpress.com/2010/09/01/swiss-oracle-user-group-sig-middleware-event/#comments</comments>
		<pubDate>Wed, 01 Sep 2010 20:36:20 +0000</pubDate>
		<dc:creator>Mischa Kölliker</dc:creator>
				<category><![CDATA[Conference]]></category>
		<category><![CDATA[Oracle Service Bus]]></category>

		<guid isPermaLink="false">http://mischakoelliker.wordpress.com/?p=24</guid>
		<description><![CDATA[I will share our experiences with Oracle Service Bus 11g at the SOUG SIG Middleware. See you there!<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mischakoelliker.wordpress.com&amp;blog=15443944&amp;post=24&amp;subd=mischakoelliker&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I will share <a href="http://www.trivadis.com">our</a> experiences with Oracle Service Bus 11g at the <a href="http://www.soug.ch/events/sig-100915-agenda.html">SOUG SIG Middleware</a>. See you there!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mischakoelliker.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mischakoelliker.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mischakoelliker.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mischakoelliker.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mischakoelliker.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mischakoelliker.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mischakoelliker.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mischakoelliker.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mischakoelliker.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mischakoelliker.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mischakoelliker.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mischakoelliker.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mischakoelliker.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mischakoelliker.wordpress.com/24/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mischakoelliker.wordpress.com&amp;blog=15443944&amp;post=24&amp;subd=mischakoelliker&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mischakoelliker.wordpress.com/2010/09/01/swiss-oracle-user-group-sig-middleware-event/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0c3fb40371855208697c7f68bafa6195?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mischakoelliker</media:title>
		</media:content>
	</item>
		<item>
		<title>Oracle Service Bus &#8211; Upgrade to OEPE 11.1.1.6</title>
		<link>http://mischakoelliker.wordpress.com/2010/08/31/oracle-service-bus-upgrade-to-oepe-11-1-1-6/</link>
		<comments>http://mischakoelliker.wordpress.com/2010/08/31/oracle-service-bus-upgrade-to-oepe-11-1-1-6/#comments</comments>
		<pubDate>Tue, 31 Aug 2010 20:28:02 +0000</pubDate>
		<dc:creator>Mischa Kölliker</dc:creator>
				<category><![CDATA[Oracle Service Bus]]></category>
		<category><![CDATA[OEPE]]></category>

		<guid isPermaLink="false">http://mischakoelliker.wordpress.com/?p=6</guid>
		<description><![CDATA[Oracle recently released its Service Bus tool suite Oracle Enterprise Pack for Eclipse (OEPE) 11.1.1.6. How do you install it in an existing environment without reinstalling OSB afterwards? Simply adjust a few config files manually and it works like a breeze.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mischakoelliker.wordpress.com&amp;blog=15443944&amp;post=6&amp;subd=mischakoelliker&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><span style="color:#333300;">Oracle </span><a href="http://blogs.oracle.com/gstachni/2010/08/oracle_enterprise_pack_for_ecl_2.html" target="_blank"><span style="color:#333300;">recently released</span></a><span style="color:#333300;"> its Service Bus tool suite </span><strong><span style="color:#333300;">Oracle Enterprise Pack for Eclipse (OEPE) 11.1.1.6</span></strong><span style="color:#333300;">. This Eclipse 3.6 Helios based version offers </span><strong><span style="color:#333300;">Oracle Coherence Tools</span></strong><span style="color:#333300;"> and supports </span><strong><span style="color:#333300;">Weblogic Scripting Tools (WLST)</span></strong><span style="color:#333300;"> via the PyDev Eclipse plugin. There are lots of other nice features added compared to 11.1.1.5.</span></p>
<p><strong><span style="color:#333300;">But</span></strong><span style="color:#333300;"> how do you install it in an existing environment without reinstalling OSB afterwards?</span></p>
<p><span style="color:#333300;">Simply unzipping the </span><a href="http://www.oracle.com/technetwork/developer-tools/eclipse/downloads/oepe-1116-161753.html" target="_blank"><span style="color:#333300;">downloaded </span></a><span style="color:#333300;">zip file into a new folder within the middleware home does not work. You won&#8217;t be able to create Oracle Service Bus Configuration projects. Or, if you open existing projects you will miss the ability to add Service Bus projects to Service Bus Configuration projects (Eclipse tries to move one folder physically into another instead).</span></p>
<p><span style="color:#333300;">In fact, there is not much to do to get it working:<br />
</span></p>
<ol>
<li style="text-align:justify;"><a href="http://www.oracle.com/technetwork/developer-tools/eclipse/downloads/oepe-1116-161753.html" target="_blank"><span style="color:#333300;">Download</span></a><span style="color:#333300;"> OEPE 11.1.1.6
<p></span></li>
<li style="text-align:justify;"><span style="color:#333300;">Unzip it into your middleware home. Mine is located at </span><em><span style="color:#333300;">D:\Oracle\Middleware</span></em><span style="color:#333300;"> so I unzipped it into </span><em><span style="color:#333300;">D:\Oracle\Middleware\oepe11_1_1_6_0
<p></span></em></li>
<li><span style="color:#333300;">Create a file named </span><em><span style="color:#333300;">oracle.osb.ide.link</span></em><span style="color:#333300;"> in the directory </span><em><span style="color:#333300;">D:\Oracle\Middleware\oepe11_1_1_6_0\dropins\
<p></span></em></li>
<li style="text-align:justify;"><span style="color:#333300;">Open the file in a text editor an insert the following line:<br />
</span><em><span style="color:#333300;"> path=D:/Oracle/Middleware/Oracle_OSB1</span></em><span style="color:#333300;"><br />
The path points to your OSB installation directory. Notice the forward slashes.</p>
<p></span></li>
<li style="text-align:justify;"><span style="color:#333300;">Open the file </span><em><span style="color:#333300;">D:\Oracle\Middleware\oepe11_1_1_6_0\eclipse.ini</span></em><span style="color:#333300;"> in a text editor
<p></span></li>
<li><span style="color:#333300;">Modify the memory arguments according to this:<br />
</span><em><span style="color:#333300;"> -Xms256m<br />
-Xmx768m</p>
<p></span></em></li>
<li><span style="color:#333300;">Add the following lines to the end of the file (adjust paths according to your environment):<br />
</span><em><span style="color:#333300;"> -Dweblogic.home=D:\Oracle\Middleware\home_11gPS2\wlserver_10.3<br />
-Dharvester.home=D:\Oracle\Middleware\home_11gPS2\Oracle_OSB1\harvester<br />
-Dosb.home=D:\Oracle\Middleware\home_11gPS2\Oracle_OSB1<br />
-Dosgi.bundlefile.limit=500<br />
-Dosgi.nl=en_US</span></em></li>
</ol>
<p style="text-align:center;"><a href="http://mischakoelliker.files.wordpress.com/2010/08/eclipse-ini-changes.png"><img class="size-full wp-image-7 aligncenter" title="Modifications in eclipse.ini" src="http://mischakoelliker.files.wordpress.com/2010/08/eclipse-ini-changes.png?w=460&#038;h=249" alt="" width="460" height="249" /></a></p>
<p><span style="color:#333300;">That&#8217;s it. Start eclipse.exe. Some more tips probably ease your life:</span></p>
<ul>
<li><span style="color:#333300;">Create a fresh Eclipse workspace.
<p></span></li>
<li><span style="color:#333300;">This means all your runtime environments, servers and the like are gone. It&#8217;s vital to create the new ones with exactly the same names as they have got in the old workspace. Otherwise your OSB projects point to not existing resources and you will have a hard time getting everything back to work.
<p></span></li>
<li><span style="color:#333300;">Import all the OSB projects into the new workspace.
<p></span></li>
<li><span style="color:#333300;">If you have trouble with your existing Oracle Service Bus Configuration project, simply drop the old and create a new one. It is not much work to configure the target server and to add all the OSB projects to the OSB Configuration project via drag&amp;drop.</span></li>
</ul>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mischakoelliker.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mischakoelliker.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mischakoelliker.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mischakoelliker.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mischakoelliker.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mischakoelliker.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mischakoelliker.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mischakoelliker.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mischakoelliker.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mischakoelliker.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mischakoelliker.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mischakoelliker.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mischakoelliker.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mischakoelliker.wordpress.com/6/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mischakoelliker.wordpress.com&amp;blog=15443944&amp;post=6&amp;subd=mischakoelliker&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mischakoelliker.wordpress.com/2010/08/31/oracle-service-bus-upgrade-to-oepe-11-1-1-6/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0c3fb40371855208697c7f68bafa6195?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mischakoelliker</media:title>
		</media:content>

		<media:content url="http://mischakoelliker.files.wordpress.com/2010/08/eclipse-ini-changes.png" medium="image">
			<media:title type="html">Modifications in eclipse.ini</media:title>
		</media:content>
	</item>
	</channel>
</rss>
