<?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>underdog-blog &#187; TRA</title>
	<atom:link href="http://blog.underdog-projects.net/tag/tra/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.underdog-projects.net</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Sat, 23 Oct 2010 18:43:18 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
		<item>
		<title>adding IP-restriction to BusinessWorks processes</title>
		<link>http://blog.underdog-projects.net/2009/08/adding-ip-restriction-to-businessworks-processes/</link>
		<comments>http://blog.underdog-projects.net/2009/08/adding-ip-restriction-to-businessworks-processes/#comments</comments>
		<pubDate>Sun, 16 Aug 2009 23:16:07 +0000</pubDate>
		<dc:creator>jens</dc:creator>
				<category><![CDATA[TIBCO]]></category>
		<category><![CDATA[BusinessWorks]]></category>
		<category><![CDATA[TRA]]></category>

		<guid isPermaLink="false">http://blog.underdog-projects.net/?p=417</guid>
		<description><![CDATA[Recently I got into the situation that somebody used some interface a way it was not designed for and so created an out-of-memory situation which couldn&#8217;t be handled by the engine itself. So now I got the case that one client block the complete service due to invalid requests which he shouldn&#8217;t do in the [...]]]></description>
			<content:encoded><![CDATA[<p>Recently I got into the situation that somebody used some interface a way it was not designed for and so created an out-of-memory situation which couldn&#8217;t be handled by the engine itself. So now I got the case that one client block the complete service due to invalid requests which he shouldn&#8217;t do in the first place.<br />
In the short term there seemed to be only one solution, block the client. So I began to search around how this could be done.</p>
<p>The easiest way to achieve this would be to change the authentication for this service. Unluckily this service is used by a lot of other clients, so I can&#8217;t change it out of the blue. Next thing that came to my mind was using the underlying tomcat to do some IP-based blocking. After some searching around I gave that one up. Tibco has a really complex deployment model for BusinessWorks so I wasn&#8217;t able to even find the process-specific section for the tomcat engine.<br />
After some searching around in the documentation (actually several hours &#8211; hooray to a usable documentation) I found some parameter which allows you to block IPs with some TRA-file parameters. In case you want to look it up yourself it is in the BusinessWorks documentation under &#8216;Administration&#8217; -> Chapter 8 &#8216;Custom Engine Properties&#8217; -> &#8216;Available Custom Engine Properties&#8217; (and another hooray to the excellent formatting &#8211; Note to Tibco: HTML has tags, so you can do more with the content then continuous text &#8211; even some breaks would enhance the experience).<br />
So back to the point:</p>
<blockquote><p>
bw.plugin.http.server.allowIPAddresses<br />
bw.plugin.http.server.restrictIPAddresses
</p></blockquote>
<p>Both tags are rather self explanatory so you can use right away. Tibco says you can use it with a single IP, a list of IPs (comma-separated) or regular expression. As stated before this highlight of a documentation doesn&#8217;t say what reg-exp syntax means. I guess Tibco means they use the Tomcat engine for evaluation of these values an that means they use the Java syntax described <a href="http://java.sun.com/developer/technicalArticles/releases/1.4regex/">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.underdog-projects.net/2009/08/adding-ip-restriction-to-businessworks-processes/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>installing TIBCO TRA 5.6 on a debian 64bit</title>
		<link>http://blog.underdog-projects.net/2009/02/installing-tibco-tra-56-on-a-debian-64bit/</link>
		<comments>http://blog.underdog-projects.net/2009/02/installing-tibco-tra-56-on-a-debian-64bit/#comments</comments>
		<pubDate>Mon, 23 Feb 2009 22:59:40 +0000</pubDate>
		<dc:creator>jens</dc:creator>
				<category><![CDATA[TIBCO]]></category>
		<category><![CDATA[64-bit]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[TRA]]></category>

		<guid isPermaLink="false">http://blog.underdog-projects.net/?p=165</guid>
		<description><![CDATA[Recently I got a hardware upgrade so I could finally switch to a 64-bit environment. To fully use that machine I wanted to install TIBCO in 64-bit mode. After starting the installation I got this message: TIBINS202527: Error: ERROR: You are running a 64-bit product installer on a 32-bit system. This is not supported. The [...]]]></description>
			<content:encoded><![CDATA[<p>Recently I got a hardware upgrade so I could finally switch to a 64-bit environment. To fully use that machine I wanted to install TIBCO in 64-bit mode. After starting the installation I got this message:</p>
<blockquote><p>TIBINS202527: Error:	ERROR: You are running a 64-bit product installer on a 32-bit system.<br />
This is not supported.</p></blockquote>
<p>The Problem was I was running a 64-bit OS with a 64-bit Kernel:</p>
<pre class="prettyprint shell"> uname -a
Linux client1 2.6.28.5 #1 SMP PREEMPT Tue Feb 17 17:42:33 CET 2009 x86_64 GNU/Linux</pre>
<p>So I tried to find the problem. First I needed some more output what the installer is actually doing. So I used the logging option to get all the debug output.</p>
<pre class="prettyprint shell"> ./TRA.5.6.0-suite_linux24gl23_x86.bin -console -is:log output</pre>
<p>So when you look closer to this log you can see that the command which is running the installer looks like this:</p>
<blockquote><p>Executing launch script command: &#8220;/tmp/isjI8lFYy/bin/java&#8221; -cp &#8220;&#8221;:&#8221;TRA.5.6.0-suite_linux24gl23_x86.jar&#8221;:&#8221;TRA.5.6.0-simple_linux24gl23_x86.jar&#8221;:&#8221;tibrv.8.1.1-simple_linux24gl23_x86.jar&#8221;:&#8221;jre.1.5.0-simple_linux24gl23_x86_64.jar&#8221;:&#8221;Designer.5.6.0-simple_linux24gl23_x86_64.jar&#8221;:&#8221;tpcl.5.6.0-simple_linux24gl23_x86.jar&#8221;:&#8221;hawk.4.8.1-simple_linux24gl23_x86_64.jar&#8221;:&#8221;/tmp/isjA5jEsB/TRA.5.6.0-suite_linux24gl23_x86.jar&#8221;:&#8221;" -Dtemp.dir=&#8221;/tmp&#8221; -Dis.jvm.home=&#8221;/tmp/isjI8lFYy&#8221; -Dis.jvm.temp=&#8221;1&#8243; -Dis.media.home=&#8221;/tmp/isjA5jEsB/TRA.5.6.0-suite_linux24gl23_x86.jar&#8221; -Dis.launcher.file=&#8221;/home/jens/tmp/TIB_tra-suite_5.6.0_linux24gl23_x86_64/./TRA.5.6.0-suite_linux24gl23_x86.bin&#8221; -Dis.jvm.file=&#8221;/tmp/isjI8lFYy/jvm&#8221; -Dis.external.home=&#8221;/home/jens/tmp/TIB_tra-suite_5.6.0_linux24gl23_x86_64/.&#8221;   -Xms20m -Xmx128m  run -home TRA.5.6.0-suite_linux24gl23_x86.jar  &#8220;-console&#8221;</p></blockquote>
<p>Now that I had the command which is starting the installer I began to trace what this process is doing. To do a strace properly you just have to prepend &#8216;strace&#8217; and than redirect the error output to a file (cause it is quiet a lot). So after doing this I found something interesting in the log.</p>
<blockquote><p>[pid 32651] execve(&#8220;/bin/uname&#8221;, [0xffffffffdf47dc88, "-p"], [/* 1757 vars */]) = 0</p></blockquote>
<p>As you can see it runs the command &#8216;uname -p&#8217;. This command returns &#8216;unknown&#8217; for a default debian system. You also have this problem if you are running a self compiled kernel from kernel.org. As for the TIBCO supported systems (SUSE ans redhat) they return something different. After trying the same command on a openSUSE I found that &#8216;x86_64&#8242; should be the correct string. After I bit of trial and error I found out that the result of this command is written to a file name &#8216;kernelbits_jens.txt&#8217; in the temp directory.</p>
<p>So here the simple solution to the problem.<br />
You just need to create the arch file manually and make it read-only so the installer can&#8217;t overwrite it. Here the command:</p>
<pre class="prettyprint">echo 'x86_64' > kernelbits_`whoami`.txt</pre>
<p>Now the installer worked absolutely fine for me.<br />
I already notified the TIBCO support about the problem. As for now there will be no fix. But I hope they will correct this behavior for future installer.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.underdog-projects.net/2009/02/installing-tibco-tra-56-on-a-debian-64bit/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

