<?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>Pauli Borodulin</title>
	<atom:link href="http://pauli.borodulin.fi/blog/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://pauli.borodulin.fi/blog</link>
	<description>Systems Specialist and CS Student</description>
	<lastBuildDate>Fri, 25 Sep 2009 13:53:56 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Sun Java JDK 1.6 update 16 on CentOS 5.3</title>
		<link>http://pauli.borodulin.fi/blog/?p=83</link>
		<comments>http://pauli.borodulin.fi/blog/?p=83#comments</comments>
		<pubDate>Fri, 25 Sep 2009 13:50:30 +0000</pubDate>
		<dc:creator>boro</dc:creator>
				<category><![CDATA[Tech stuff]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[work]]></category>

		<guid isPermaLink="false">http://pauli.borodulin.fi/blog/?p=83</guid>
		<description><![CDATA[Today I needed to install Sun Java SDK 1.6 on CentOS 5.3. Unfortunately, Sun Java does not appear to be packaged in CentOS. Instead, there are instructions at http://wiki.centos.org/HowTos/JavaOnCentOS on how to install Sun Java using a &#8220;helper&#8221; SRPM (source RPM) package from the JPackage Project. The latest generic JPackage SRPM is for 1.6 update [...]]]></description>
			<content:encoded><![CDATA[<p>Today I needed to install Sun Java SDK 1.6 on CentOS 5.3. Unfortunately, Sun Java does not appear to be packaged in CentOS. Instead, there are instructions at <a title="HowTo Install Java on CentOS 4 and CentOS 5" href="http://wiki.centos.org/HowTos/JavaOnCentOS" target="_blank">http://wiki.centos.org/HowTos/JavaOnCentOS</a> on how to install Sun Java using a &#8220;helper&#8221; SRPM (source RPM) package from the <a title="JPackage Project homepage" href="http://www.jpackage.org/" target="_blank">JPackage Project</a>. The latest generic JPackage SRPM is for 1.6 update 11 and it does not work for update 16 without minor modifications.</p>
<p>I created a new version for 1.6 update 16 by extracting the old version using rpm2cpio, modifying the spec file and recreating the SRPM using rpmbuild. I tested the package on 32-bit CentOS 5.3 and it worked without problems.</p>
<p>The SRPM for Sun Java 1.6 update 16 is available <a href="http://pauli.borodulin.fi/misc/java-1.6.0-sun-1.6.0.16-1jpp.nosrc.rpm" target="_self">here</a>. It works with the instructions mentioned in the url in the beginning of this posting.</p>
]]></content:encoded>
			<wfw:commentRss>http://pauli.borodulin.fi/blog/?feed=rss2&amp;p=83</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Updated Mantis driver patch for the latest v4l-dvb</title>
		<link>http://pauli.borodulin.fi/blog/?p=81</link>
		<comments>http://pauli.borodulin.fi/blog/?p=81#comments</comments>
		<pubDate>Wed, 26 Aug 2009 10:28:28 +0000</pubDate>
		<dc:creator>boro</dc:creator>
				<category><![CDATA[Tech stuff]]></category>

		<guid isPermaLink="false">http://pauli.borodulin.fi/blog/?p=81</guid>
		<description><![CDATA[I ported Manu Abraham&#8217;s Mantis driver from his tree (revision 3c897a20ff8b) to the latest v4l-dvb tree (revision 28f8b0ebd224). I also ported the previous remote control support as an additional patch. The Mantis driver patch for the v4l-dvb tree is available here and the additional remote control patch is available here. Since I only have Mantis [...]]]></description>
			<content:encoded><![CDATA[<p>I ported Manu Abraham&#8217;s Mantis driver from his <a title="Manu Abraham's Mantis tree" href="http://www.jusst.de/hg/mantis">tree</a> (revision 3c897a20ff8b) to the latest <a title="V4L-DVB tree" href="http://linuxtv.org/hg/v4l-dvb">v4l-dvb tree</a> (revision 28f8b0ebd224). I also ported the previous remote control support as an additional patch. The Mantis driver patch for the v4l-dvb tree is available <a title="Patch: Manu Abraham's Mantis driver ported to v4l-dvb tree" href="http://pauli.borodulin.fi/misc/v4l-dvb-28f8b0ebd224_mantis-3c897a20ff8b.patch">here</a> and the additional remote control patch is available <a title="Patch: Additional remote control support" href="http://pauli.borodulin.fi/misc/v4l-dvb-28f8b0ebd224_mantis-3c897a20ff8b-rc.patch">here</a>. Since I only have Mantis VP-2033, I don&#8217;t know whether the support for other Mantis cards work. At least mine works fine.</p>
<p>Manu has done some big changes to the Mantis driver since the revision 3c897a20ff8b, but I could not view any channels with those changes. Until it gets fixed, I&#8217;ll stick to the revision 3c897a20ff8b.</p>
]]></content:encoded>
			<wfw:commentRss>http://pauli.borodulin.fi/blog/?feed=rss2&amp;p=81</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>How to compile community edition of Ingres 9.2 on 64-bit openSUSE 11.1</title>
		<link>http://pauli.borodulin.fi/blog/?p=50</link>
		<comments>http://pauli.borodulin.fi/blog/?p=50#comments</comments>
		<pubDate>Mon, 27 Jul 2009 12:00:52 +0000</pubDate>
		<dc:creator>boro</dc:creator>
				<category><![CDATA[Tech stuff]]></category>
		<category><![CDATA[Ingres]]></category>

		<guid isPermaLink="false">http://pauli.borodulin.fi/blog/?p=50</guid>
		<description><![CDATA[Thanks to Dejan Lekic (Deyan) on #ingres for inspiring me to write this short &#8220;how to&#8221; on building the community edition of Ingres 9.2 on 64-bit openSUSE 11.1. Currently (2009-07-24) there is no 64-bit Linux binaries of the community edition of Ingres 9.2 available at the Ingres ESD site. Because of this, the only way [...]]]></description>
			<content:encoded><![CDATA[<p>Thanks to Dejan Lekic (Deyan) on #ingres for inspiring me to write this short &#8220;how to&#8221; on building the community edition of Ingres 9.2 on 64-bit openSUSE 11.1. Currently (2009-07-24) there is no 64-bit Linux binaries of the community edition of Ingres 9.2 available at the Ingres ESD site. Because of this, the only way to run the community edition of 64-bit Ingres version 9.2 on Linux is to build it by yourself. In this posting I shortly describe the steps to get it built on 64-bit openSUSE 11.1.</p>
<p><span id="more-50"></span></p>
<p>To begin with, I downloaded the ISO image of openSUSE 11.1 64-bit installation DVD, which is available at <a title="openSUSE download site" href="http://software.opensuse.org/" target="_blank">openSUSE&#8217;s download site</a>. I then installed it  simply by using the defaults proposed by the installer. Since the default installation does not include the software necessary for building software (for example a C/C++ compiler), the very first thing to do is to install some necessary packages. I prefer command line tools, so I opened GNOME Terminal, used su to switch user to root (su -) and used zypper (zypper install <em>package</em>) to install the following packages:</p>
<ul>
<li>gcc33 (also installs cpp33, glibc-devel and linux-kernel-headers)</li>
<li>gcc33-c++ (also installs  libstdc++33 and libstdc++33-devel)</li>
<li>gcc33-32bit (also installs  glibc-devel-32bit)</li>
<li>libstdc++33-32bit</li>
<li>boost-jam</li>
<li>libXerces-c-devel (also installs libXerces-c28)</li>
<li>gtk2-devel (also installs several other dependencies)</li>
<li>rpm-devel (also installs popt-devel)</li>
<li>flex</li>
</ul>
<p>After all necessary packages had been installed, I had to create some symbolic links to make GCC 3.3 the default compiler for the system. This is because the gcc33* packages don&#8217;t create symlinks for commands cc, cpp and g++. The symlinks can be created using:</p>
<p><strong><code>ln -sf /usr/bin/gcc-3.3 /usr/bin/cc<br />
ln -sf /usr/bin/cpp-3.3 /usr/bin/cpp<br />
ln -sf /usr/bin/g++-3.3 /usr/bin/g++</code></strong></p>
<p>The build also needs both 32-bit and 64-bit version of Xerces library. The 64-bit version is already installed with the base installation, but installing 32-bit version side by side requires some special steps. You need to manually download the RPMs</p>
<ul>
<li><a title="libicu-4.0-7.1.i586.rpm" href="http://ftp.gwdg.de/pub/opensuse/distribution/11.1/repo/oss/suse/i586/libicu-4.0-7.1.i586.rpm">libicu-4.0-7.1.i586.rpm</a></li>
<li><a title="libXerces-c28-2.8.0-29.28.i586.rpm" href="http://ftp.gwdg.de/pub/opensuse/distribution/11.1/repo/oss/suse/i586/libXerces-c28-2.8.0-29.28.i586.rpm">libXerces-c28-2.8.0-29.28.i586.rpm</a></li>
<li><a title="libXerces-c-devel-2.8.0-29.28.i586.rpm" href="http://ftp.gwdg.de/pub/opensuse/distribution/11.1/repo/oss/suse/i586/libXerces-c-devel-2.8.0-29.28.i586.rpm">libXerces-c-devel-2.8.0-29.28.i586.rpm</a></li>
</ul>
<p>and install them (in the order listed) using &#8220;rpm -i &#8211;force <em>package.rpm</em>&#8220;. You also need to fix 32-bit C++ linking because of a missing symlink in openSUSE&#8217;s package:</p>
<p><strong><code>ln -sf /usr/lib/libstdc++.so.5 /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3-hammer/32/libstdc++.so</code></strong></p>
<p>I then created a new user &#8220;ingres&#8221; for building Ingres and again used su to switch user to ingres. The source code for community edition of Ingres 9.2 (build 134) can be downloaded from the <a title="Ingres ESD" href="http://esd.ingres.com/" target="_blank">Ingres ESD site</a> (under Community Projects / Ingres Database). After downloading the source code package under /home/ingres (ingres user&#8217;s home directory), I extracted it there using tar:</p>
<p><code>ingres@ingdev:~&gt; <strong>tar zfx ingres2006-9.2.0-134-gpl-src.tgz</strong><br />
ingres@ingdev:~&gt; <strong>cd ingres2006-9.2.0-134-gpl-src/</strong><br />
ingres@ingdev:~/ingres2006-9.2.0-134-gpl-src&gt; <strong>ls</strong><br />
cazipxp  Kerberos5  pax  src  xerces-c-src_2_5_0<br />
ingres@ingdev:~/ingres2006-9.2.0-134-gpl-src&gt;</code></p>
<p>Since 9.2 is pretty old, it is necessary to make some modifications to the source code. Otherwise the build will simply fail. The changes I had to make can be downloaded as patches from <a title="Community Ingres 9.2 patches" href="http://pauli.borodulin.fi/misc/ingres/9.2b134-opensuse11.1-patches/">http://pauli.borodulin.fi/misc/ingres/9.2b134-opensuse11.1-patches/</a>. You just need to apply each of them by running &#8220;patch -p0 &lt; <em>file.patch</em>&#8220;.</p>
<p>The INSTALL file contained in the src directory gives some general instructions in building Ingres. The first thing to do is to set up the build environment:</p>
<p><code>ingres@ingdev:~/ingres2006-9.2.0-134-gpl-src&gt; <strong>export ING_ROOT=`pwd`</strong><br />
ingres@ingdev:~/ingres2006-9.2.0-134-gpl-src&gt; <strong>source src/tools/port/jam/bldenv</strong><br />
Ingres build environment is now set<br />
Your ING_ROOT variable is set to /home/ingres/ingres2006-9.2.0-134-gpl-src<br />
ingres@ingdev:~/ingres2006-9.2.0-134-gpl-src&gt;</code></p>
<p>After the build environment had been set up, it was time for bootstrap and build:</p>
<p><code>ingres@ingdev:~/ingres2006-9.2.0-134-gpl-src&gt; <strong>cd $ING_SRC/tools/port/jam</strong><br />
ingres@ingdev:~/ingres2006-9.2.0-134-gpl-src/src/tools/port/jam&gt; <strong>jam</strong><br />
...found 28 targets...<br />
...updating 5 targets...<br />
MkDir1 /home/ingres/ingres2006-9.2.0-134-gpl-src/tools<br />
<em>[... some output suppressed ...]</em><br />
Chmod1 /home/ingres/ingres2006-9.2.0-134-gpl-src/tools/bin/iijam<br />
...updated 5 targets...<br />
ingres@ingdev:~/ingres2006-9.2.0-134-gpl-src/src/tools/port/jam&gt; <strong>mkjams</strong><br />
Creating $ING_SRC/tst-&gt;$ING_TST  link...<br />
Creating $ING_SRC/bin-&gt;$ING_TOOLS/bin  link...<br />
Building Jamfile files for: ingres<br />
Doing MANIFEST files<br />
<em>[... some output suppressed ...]</em><br />
tools: doing group<br />
ING_SRC: doing top<br />
ingres@ingdev:~/ingres2006-9.2.0-134-gpl-src/src/tools/port/jam&gt; <strong>cd $ING_SRC</strong><br />
ingres@ingdev:~/ingres2006-9.2.0-134-gpl-src/src&gt;</code></p>
<p>This was the final step before building Ingres. By running &#8220;jam -q&#8221;, you can start building it:</p>
<p><code>ingres@ingdev:~/ingres2006-9.2.0-134-gpl-src/src&gt; <strong>jam -q</strong><br />
...patience...<br />
...patience...<br />
[... some output suppressed ...]<br />
...updated 16316 targets...<br />
ingres@ingdev:~/ingres2006-9.2.0-134-gpl-src/src&gt;</code></p>
<p>The build is now ready. For the rest you can follow the instructions in the INSTALL file.</p>
<p><strong>UPDATE 2009-07-28</strong>: It is possible to use newer GCC. At least GCC 4.1 seemed to work by simply using packages gcc41, gcc41-32bit, gcc41-c++ and libstdc++41-32bit instead of the ones listed in the beginning. Remember to make the necessary symlinks.</p>
]]></content:encoded>
			<wfw:commentRss>http://pauli.borodulin.fi/blog/?feed=rss2&amp;p=50</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Tips for comparing Ingres patch bug fixes lists</title>
		<link>http://pauli.borodulin.fi/blog/?p=44</link>
		<comments>http://pauli.borodulin.fi/blog/?p=44#comments</comments>
		<pubDate>Fri, 10 Jul 2009 10:30:37 +0000</pubDate>
		<dc:creator>boro</dc:creator>
				<category><![CDATA[Tech stuff]]></category>
		<category><![CDATA[Ingres]]></category>
		<category><![CDATA[work]]></category>

		<guid isPermaLink="false">http://pauli.borodulin.fi/blog/?p=44</guid>
		<description><![CDATA[I like to keep Ingres installations up to date by upgrading them occasionally by using the latest patches from ESD. Since I am a responsible DBA, I always read through the list of fixed bugs (&#8220;Bugs addressed with this patch&#8221; section in the readme file). Some bug fixes even need special attention (marked with &#8220;ATTENTION&#8221;), [...]]]></description>
			<content:encoded><![CDATA[<p>I like to keep Ingres installations up to date by upgrading them occasionally by using the latest patches from <a title="Ingres - Electronic Software Distribution" href="http://esd.ingres.com" target="_blank">ESD</a>. Since I am a responsible DBA, I always read through the list of fixed bugs (&#8220;Bugs addressed with this patch&#8221; section in the readme file). Some bug fixes even need special attention (marked with &#8220;ATTENTION&#8221;), so it would be careless not to read the readme file, which is included with the patch.</p>
<p>Ingres patches are cumulative, meaning that each patch also contain the fixes included in the previous patches. Since the list of fixed bugs is ordered by  bug numbers and not chronologically, it&#8217;s pretty hard to figure what have been fixed since previous installed patch. For example there&#8217;s 145 new bug fixes between patches 13322 and 13435.</p>
<p>Here&#8217;s a simple tip, how to compare two readme files on Linux using command line tools. First, save the readme files on disk with names p13322.html and p13435.html. Then run</p>
<p><code>grep "Bug " p13322.html | perl -p -e 's/&lt;.*?&gt;//g' &gt; p13322.txt<br />
grep "Bug " p13435.html | perl -p -e 's/&lt;.*?&gt;//g' &gt; p13435.txt</code></p>
<p>Now you have a simple listing of bugs fixed in the patches. You can then use diff to compare, what have been fixed between 13322 and 13435:</p>
<p><code>diff -u p13322.txt p13435.txt | grep "^+" | less</code></p>
<p>The best thing would be, if Ingres Co. provided their customers a simple web application, which could be used to check these. Until that&#8230; use this tip or propose a better one!</p>
]]></content:encoded>
			<wfw:commentRss>http://pauli.borodulin.fi/blog/?feed=rss2&amp;p=44</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Perl script for listing open user sessions in Ingres</title>
		<link>http://pauli.borodulin.fi/blog/?p=38</link>
		<comments>http://pauli.borodulin.fi/blog/?p=38#comments</comments>
		<pubDate>Tue, 24 Mar 2009 07:15:45 +0000</pubDate>
		<dc:creator>boro</dc:creator>
				<category><![CDATA[Tech stuff]]></category>
		<category><![CDATA[Ingres]]></category>
		<category><![CDATA[work]]></category>

		<guid isPermaLink="false">http://pauli.borodulin.fi/blog/?p=38</guid>
		<description><![CDATA[I wrote a pretty simple Perl script which outputs a list of open user sessions in an Ingres installation (remote or local). This information can also be retrieved using Ingres utilities iinamu and iimonitor, but not in a very straigth-forward fashion. The script is also a decent example how to access an Ingres database using [...]]]></description>
			<content:encoded><![CDATA[<p>I wrote a pretty simple Perl script which outputs a list of open user sessions in an Ingres installation (remote or local). This information can also be retrieved using Ingres utilities iinamu and iimonitor, but not in a very straigth-forward fashion. The script is also a decent example how to access an Ingres database using Perl scripting language and Database Interface (DBI).</p>
<p>The script uses DBD-Ingres driver to access the imadb database, which is part of  the Ingres Management Architecture (IMA). The script retrieves the necessary data from the imadb and then prints it. A short, concise list of open sessions is printed first with a more verbose listing (&#8220;iimonitor show user sessions formatted&#8221; alike) following.</p>
<p>The version 1.0 of the script is available at <a href="http://pauli.borodulin.fi/misc/ingres/ima_sessions-v1.0.pl">http://pauli.borodulin.fi/misc/ingres/ima_sessions-v1.0.pl</a>. The requirements for running the script are listed in the beginning of the script.</p>
]]></content:encoded>
			<wfw:commentRss>http://pauli.borodulin.fi/blog/?feed=rss2&amp;p=38</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Revised VDR 1.6.0-2 installation</title>
		<link>http://pauli.borodulin.fi/blog/?p=36</link>
		<comments>http://pauli.borodulin.fi/blog/?p=36#comments</comments>
		<pubDate>Sun, 15 Feb 2009 00:37:59 +0000</pubDate>
		<dc:creator>boro</dc:creator>
				<category><![CDATA[Tech stuff]]></category>

		<guid isPermaLink="false">http://pauli.borodulin.fi/blog/?p=36</guid>
		<description><![CDATA[Since Debian Lenny is about to be released this weekend, I decided to upgrade my VDR box from Debian Etch to the upcoming Lenny. Instead of just doing dist-upgrade, I decided to do a complete reinstall from scratch including upgrading some of the components used by my VDR setup.
Now my current setup is:

FFmpeg revision 17245
DirectFB [...]]]></description>
			<content:encoded><![CDATA[<p>Since Debian Lenny is about to be released this weekend, I decided to upgrade my VDR box from Debian Etch to the upcoming Lenny. Instead of just doing dist-upgrade, I decided to do a complete reinstall from scratch including upgrading some of the components used by my VDR setup.</p>
<p>Now my current setup is:</p>
<ul>
<li>FFmpeg revision 17245</li>
<li>DirectFB 1.0.1</li>
<li>Xinelib 1.1.16.2</li>
<li>VDR 1.6.0-2, <em>with the following plugins</em></li>
<li>xineliboutput 1.0.4</li>
<li>epgsearch 0.9.24</li>
<li>femon 1.6.6</li>
<li>remote 0.4.0</li>
<li>skinsoppalusikka 1.6.3</li>
<li>streamdev 0.3.4</li>
<li>sc 0.9.1</li>
</ul>
<p>I also upgraded to the latest v4l-dvb tree for which I ported the Mantis driver by Manu Abraham.</p>
]]></content:encoded>
			<wfw:commentRss>http://pauli.borodulin.fi/blog/?feed=rss2&amp;p=36</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Calling NetBeans 6.1&#8217;s SecureCalculatorApp example web service using WSO2 WSF/PHP</title>
		<link>http://pauli.borodulin.fi/blog/?p=15</link>
		<comments>http://pauli.borodulin.fi/blog/?p=15#comments</comments>
		<pubDate>Thu, 02 Oct 2008 11:03:15 +0000</pubDate>
		<dc:creator>boro</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://pauli.borodulin.fi/blog/?p=15</guid>
		<description><![CDATA[I have been working to get WSO2 WSF/PHP 2.0.0 to work with the SecureCalculatorApp example web service provided with NetBeans 6.1. I want to be able to call a secure web service created with NetBeans 6.1&#8217;s user interface from an application written in PHP. SecureCalculatorApp example provides a really good starting point for a simple [...]]]></description>
			<content:encoded><![CDATA[<p>I have been working to get <a title="WSO2 WSF/PHP" href="http://wso2.org/projects/wsf/php" target="_blank">WSO2 WSF/PHP</a> 2.0.0 to work with the SecureCalculatorApp example web service provided with NetBeans 6.1. I want to be able to call a secure web service created with NetBeans 6.1&#8217;s user interface from an application written in PHP. SecureCalculatorApp example provides a really good starting point for a simple interoperability test.</p>
<p><span id="more-15"></span></p>
<p>NetBeans&#8217;s user interface for managing the security etc. settings of a web service is pretty simple and lacks a lot of the control for the configuration that is implicitly created by NB. This is unfortunate, because NB seems to create pretty advanced/complex configurations even there would not be need for such.</p>
<p>In WSF/PHP the security configuration of a web service (from the client viewpoint) can be defined by using <a title="WSF/PHP 2.0.0 API for WSPolicy" href="http://wso2.org/project/wsf/php/2.0.0/docs/security_api.html#wspolicy">WSPolicy class</a>. An instance of this class may be given as a parameter to WSClient, which will then use the configuration when calling the web service. WSPolicy object can be instantiated by two methods: either by defining the settings as an array of values or by feeding in a separate policy XML file. The array method does not allow managing all of the supported settings and can only be used in very simple cases.</p>
<p>Because of the restrictions of the array method, it is necessary to use a separate policy XML file to describe the configuration when calling a secure web service created using NB. The policy XML file can be manually formed by studying the web service&#8217;s WSDL, which in fact, contains all the necessary information inside its policy elements. Because the policy elements can&#8217;t just simple be copied and pasted to a separate file, it is usually easier to take an existing policy file as a template and then modify it to fulfill the requirements of the service based on the WSDL.</p>
<p>After creating a simple PHP script and the necessary policy file in XML, I was able to call the service as expected. Here are the files:</p>
<ul>
<li><a href="http://pauli.borodulin.fi/blog/wp-content/uploads/2008/10/policy.xml">Policy file for calling SecureCalculatorApp</a></li>
<li><a href="http://pauli.borodulin.fi/blog/wp-content/uploads/2008/10/ws-clientphp.txt">Web service client code in PHP</a></li>
</ul>
<p>Unfortunately, I didn&#8217;t get WSDL mode working. The problem seems to be that even the useWSA value is set to true on WSClient, addressing is not used in the WSDL mode. This prevents using WSDL mode with web services configured alike with NB 6.1&#8217;s SecureCalculatorApp.</p>
]]></content:encoded>
			<wfw:commentRss>http://pauli.borodulin.fi/blog/?feed=rss2&amp;p=15</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Glassfish and Web service request dumping for debugging</title>
		<link>http://pauli.borodulin.fi/blog/?p=12</link>
		<comments>http://pauli.borodulin.fi/blog/?p=12#comments</comments>
		<pubDate>Wed, 01 Oct 2008 07:47:44 +0000</pubDate>
		<dc:creator>boro</dc:creator>
				<category><![CDATA[Tech stuff]]></category>

		<guid isPermaLink="false">http://pauli.borodulin.fi/blog/?p=12</guid>
		<description><![CDATA[I have recently been working to get some web services to run on Glassfish, which uses Metro. The web services need to be called from different clients (some not even written in Java) and unfortunately not all clients work as documented. Sometimes it&#8217;s because of incorrect configuration, sometimes because of interoperability problems etc.
Comparing the requests [...]]]></description>
			<content:encoded><![CDATA[<p>I have recently been working to get some web services to run on Glassfish, which uses <a title="Metro" href="https://metro.dev.java.net/" target="_blank">Metro</a>. The web services need to be called from different clients (some not even written in Java) and unfortunately not all clients work as documented. Sometimes it&#8217;s because of incorrect configuration, sometimes because of interoperability problems etc.</p>
<p>Comparing the requests sent by different clients makes it easier to debug the reasons for the problems. Since not all clients allow dumping the created requests upon sending, it would be nice if it was possible to ask Metro to do it. Fortunately, this is possible through configuration. For doing this, Arun Gupta <a title="Arun Gupta: Message Logging in WSIT Updated" href="http://weblogs.java.net/blog/arungupta/archive/2006/12/message_logging_1.html" target="_blank">describes the possible properties</a> in his blog.</p>
<p>The easiest way is to add parameters</p>
<p><code>-Dcom.sun.xml.ws.assembler.client=true<br />
-Dcom.sun.xml.ws.assembler.server=true<br />
</code></p>
<p>to your Glassfish domain&#8217;s domain.xml as jvm-options elements.</p>
]]></content:encoded>
			<wfw:commentRss>http://pauli.borodulin.fi/blog/?feed=rss2&amp;p=12</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Upgraded VDR to version 1.6.0-2</title>
		<link>http://pauli.borodulin.fi/blog/?p=10</link>
		<comments>http://pauli.borodulin.fi/blog/?p=10#comments</comments>
		<pubDate>Sun, 21 Sep 2008 10:34:05 +0000</pubDate>
		<dc:creator>boro</dc:creator>
				<category><![CDATA[Tech stuff]]></category>

		<guid isPermaLink="false">http://pauli.borodulin.fi/blog/?p=10</guid>
		<description><![CDATA[I have recently upgraded my VDR setup with more recent software and plugin versions! My current setup consists of

FFmpeg revision 15245
DirectFB 1.0.1
Xinelib 1.1.15
VDR 1.6.0-2, with the following plugins
xineliboutput 1.0.1
epgsearch 0.9.24
remote 0.4.0
skinsoppalusikka 1.6.1
streamdev 0.3.4
sc 0.9.0

I&#8217;m using Matrox G550 and its tv-output to display the video image on my old 28&#8243; analog television.
The actual reason for the [...]]]></description>
			<content:encoded><![CDATA[<p>I have recently upgraded my VDR setup with more recent software and plugin versions! My current setup consists of</p>
<ul>
<li>FFmpeg revision 15245</li>
<li>DirectFB 1.0.1</li>
<li>Xinelib 1.1.15</li>
<li>VDR 1.6.0-2, <em>with the following plugins</em></li>
<li>xineliboutput 1.0.1</li>
<li>epgsearch 0.9.24</li>
<li>remote 0.4.0</li>
<li>skinsoppalusikka 1.6.1</li>
<li>streamdev 0.3.4</li>
<li>sc 0.9.0</li>
</ul>
<p>I&#8217;m using Matrox G550 and its tv-output to display the video image on my old 28&#8243; analog television.</p>
<p>The actual reason for the upgrade was to get a recent FFmpeg version to play videos using xineliboutput&#8217;s media player. Everything went well except that for some reason, there&#8217;s a problem with the OSD when playing videos using software scaling (hardware scaling made OSD look awful). I <a title="Posting about OSD problem" href="http://www.linuxtv.org/pipermail/vdr/2008-September/017863.html" target="_blank">posted a question</a> about the problem on the VDR mailing list to see, if anyone else has had this problem. It seems to be some kind of initialization problem during playback, but I have not yet been able to find out the cause for it.</p>
<p>For those who don&#8217;t know what VDR is: It can be used to make a computer to function as a video disk recorder (<a title="Wikipedia article about VDR" href="http://en.wikipedia.org/wiki/Video_Disk_Recorder" target="_blank">article in Wikipedia</a>).</p>
]]></content:encoded>
			<wfw:commentRss>http://pauli.borodulin.fi/blog/?feed=rss2&amp;p=10</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ingres: Tables and data files</title>
		<link>http://pauli.borodulin.fi/blog/?p=9</link>
		<comments>http://pauli.borodulin.fi/blog/?p=9#comments</comments>
		<pubDate>Tue, 01 Jul 2008 11:51:45 +0000</pubDate>
		<dc:creator>boro</dc:creator>
				<category><![CDATA[Tech stuff]]></category>
		<category><![CDATA[Ingres]]></category>

		<guid isPermaLink="false">http://pauli.borodulin.fi/blog/?p=9</guid>
		<description><![CDATA[I recently needed to know how much disk space each table in a Ingres 2006 R2 database took. Any Ingres DBA knows that by default Ingres stores the data under location II_DATABASE, but the filenames used for the data files are not too informative. Fortunately it is possible to check the filename of a table [...]]]></description>
			<content:encoded><![CDATA[<p>I recently needed to know how much disk space each table in a Ingres 2006 R2 database took. Any Ingres DBA knows that by default Ingres stores the data under location II_DATABASE, but the filenames used for the data files are not too informative. Fortunately it is possible to check the filename of a table using the following query in the corresponding database:</p>
<pre>SELECT file_name, file_ext FROM iifile_info WHERE table_name = 'mytable';</pre>
<p>The file_name column contains the name of the file for the table without extension and the column file_ext contains the extension. If the database uses multiple locations, it is also necessary to check the value of the column &#8216;location&#8217;, which will tell you the location of the file.</p>
<p>But this is not all. Ingres also stores all secondary indexes in separate files. It is also possible to see, using the table iifile_info, which index is stored in which file. This way it is even possible to hunt down indices that require more disk space than you expected.</p>
]]></content:encoded>
			<wfw:commentRss>http://pauli.borodulin.fi/blog/?feed=rss2&amp;p=9</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
