<?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>Strangeparty &#187; Message Broker</title>
	<atom:link href="http://www.strangeparty.com/taxonomy/ibm/message-broker/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.strangeparty.com</link>
	<description>A blog about life, linux and photography</description>
	<lastBuildDate>Mon, 16 Jan 2012 14:44:51 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Message Broker v8: Record, Replay and REST</title>
		<link>http://www.strangeparty.com/2012/01/06/message-broker-v8-record-replay-and-rest/</link>
		<comments>http://www.strangeparty.com/2012/01/06/message-broker-v8-record-replay-and-rest/#comments</comments>
		<pubDate>Fri, 06 Jan 2012 09:06:59 +0000</pubDate>
		<dc:creator>Anton Piatek</dc:creator>
				<category><![CDATA[IBM]]></category>
		<category><![CDATA[Message Broker]]></category>
		<category><![CDATA[My Job]]></category>
		<category><![CDATA[messagebroker]]></category>

		<guid isPermaLink="false">http://www.strangeparty.com/?p=880</guid>
		<description><![CDATA[<p>IBM WebSphere Message Broker v8 was released in December last year &#8211; There is an announcement and comparison of versions on the IBM website.</p> <p>IBM WebSphere Message Broker introduced Record and Replay as part of its version 8 release. I thought I would just write a brief quickstart guide to getting running with record and replay, and <span style="color:#777"> . . . &#8594; Read More: <a href="http://www.strangeparty.com/2012/01/06/message-broker-v8-record-replay-and-rest/">Message Broker v8: Record, Replay and REST</a></span>]]></description>
			<content:encoded><![CDATA[<p>IBM WebSphere Message Broker v8 was released in December last year &#8211; There is an <a href="http://www-01.ibm.com/common/ssi/ShowDoc.jsp?docURL=/common/ssi/rep_ca/1/897/ENUS211-391/index.html&amp;lang=en">announcement</a> and <a href="http://www-01.ibm.com/software/integration/messagebrokerproductline/versions/index.html">comparison of versions</a> on the IBM website.</p>
<p>IBM WebSphere Message Broker introduced Record and Replay as part of its version 8 release. I thought I would just write a brief quickstart guide to getting running with record and replay, and in particular with working with the new REST interface which comes with it. There is actually a <a href="ftp://public.dhe.ibm.com/software/integration/wbibrokers/docs/V8.0/Record_and_replay.pdf">Record and Replay specific PDF</a> available too, which contains all the details you might want for using Record and Replay (far more detail than I cover here). The main reason I am writing this, is it can be a little daunting trying to get Record and Replay going, as it does have a fair bit of configuration, and involves a few areas of a quite large product.</p>
<p><span id="more-880"></span></p>
<h3>Setting up Recording</h3>
<p>From your WMB install dir, run the db2 schema file to create the sample database for Record and Replay. Edit the file if you want to use a database name other than MB8RECORD, a specific schema or increase the storage size per message above 5mb.</p>
<blockquote>
<pre>db2 -tvf ddl/db2/DataCaptureSchema.sql</pre>
</blockquote>
<p>Set the password for your database</p>
<blockquote>
<pre>mqsisetdbparms MB8BROKER -n MBRECORD -u username -p password</pre>
</blockquote>
<p>Set the DataCaptureStore configurable service to set where to record to and which EG to do the recording (You can also do any of these configurable service steps via the Message Broker Explorer gui)</p>
<blockquote>
<pre>mqsicreateconfigurableservice MB8BROKER -c DataCaptureStore -o MyCaptureStore \
   -n "dataSourceName,egForRecord" -v "MBRECORD,default"</pre>
</blockquote>
<p>Define where to record messages from. Use a wildcard to set all configurable services. Note that double quotes (&#8220;&#8221;) are required on unix, windows will want single quotes (&#8221;)</p>
<blockquote>
<pre>mqsicreateconfigurableservice MB8BROKER -c DataCaptureSource -o MyCaptureSource \
   -n "dataCaptureStore,topic" -v "MyCaptureStore,$SYS/Broker/MB8BROKER/Monitoring/#"</pre>
</blockquote>
<p>Alternatively you can list the flows explicitly with topics like &#8220;<em>$SYS/Broker/MB8BROKER/Monitoring/ExecutionGroupName/FlowName</em>&#8221; While we are configuring everything, set a replay destination too. Set EG default to replay to queue &#8220;REPLAY&#8221; on queue manager MB8QMGR</p>
<blockquote>
<pre>mqsicreateconfigurableservice MB8BROKER -c DataDestination -o MyDestination \
   -n "egForReplay,endpoint,endpointType" -v "default,wmq:/msg/queue/REPLAY@MB8QMGR,WMQDestination"</pre>
</blockquote>
<h3>Setting up Monitoring</h3>
<p>Now your broker is configured for recording, you will need to setup something to be recorded. Event Monitoring is used to emit data to record, so either follow the monitoring sample, read the docs on <a href="http://publib.boulder.ibm.com/infocenter/wmbhelp/v7r0m0/topic/com.ibm.etools.mft.doc/ac60386_.htm">Event Monitoring</a> or edit the sample monitoring profile in <em>sample/RecordReplay/basicMonitoringProfile.xml </em>to replace NODENAME with the name of your flow&#8217;s input node. Of course you can also configure event monitoring from within the flow editor in the toolkit &#8211; simply select a node and you will find monitoring in the properties view. If you have the flow source already, it is much easier to set the monitoring in the toolkit than it is to do it via the command line. You can also then use the <em>mqsireportflowmonitoring</em> command afterwards to give you the xml monitoring profile being used (which is basically what you are setting in the toolkit when setting the monitoring options on a flow)</p>
<p>There are two specific properties which are worth mentioning when it comes to monitoring for Record and Replay.<br />
If you tick the include bitstream option in the toolkit then the body of your message will be recorded. Choose a sensible encoding, as if you select CDATA and your body will not be a valid XML element, you will break the monitoring and no event will be emitted. If in doubt, use the hexbinary or base64 encoding. It is worth saying that if you record MQ headers, and replay that message, the headers will be attempted to be reused. Other transport headers will just end up in the body of your message.<br />
The other option I wanted to mention was the UserData area of Event Monitoring. If you include $ExceptionList in your monitoring settings, then if an error occurs and an event is emitted, the exception list will be included in the monitoring message. This will be recorded, and will be available from the Record and Replay web interface and REST Api.</p>
<p>If you used a monitoring profile you will need to configure the profile with the following commands:</p>
<blockquote>
<pre>mqsicreateconfigurableservice MB8BROKER -c MonitoringProfiles -o MyProfile</pre>
<pre>mqsichangeconfigurableservice MB8BROKER -c MonitoringProfiles -o MyProfile \
   -n profileProperties -p "sample/RecordReplay/basicMonitoringProfile.xml"</pre>
<pre>mqsichangeflowmonitoring MB8BROKER -e default -f MyFlow -m  MyProfile</pre>
</blockquote>
<p>Monitoring normally defaults to off, so you will probably need to turn it on with:</p>
<blockquote>
<pre>mqsichangeflowmonitoring MB8BROKER -e default -f MyFlow -c active</pre>
</blockquote>
<p>You can check that monitoring is correctly active with the command</p>
<blockquote>
<pre>mqsireportflowmonitoring MB8BROKER -n -e default -f MyFlow</pre>
</blockquote>
<p>You should see output like</p>
<blockquote>
<pre>BIP8911I: Monitoring settings for flow 'MyFlow' in execution group 'default' -  State?: active, ProfileName: 'MyProfile'.
BIP8912I: Event: 'IN.transaction.End',  Event name: 'IN.transaction.End',  Configured?: yes,  State?: enabled.
BIP8912I: Event: 'IN.transaction.Rollback',  Event name: 'IN.transaction.Rollback',  Configured?: yes,  State?: enabled.</pre>
</blockquote>
<p>You can now put messages through your flow and they will be recorded.</p>
<h3>Enabling the REST interface and Web UI</h3>
<p>To enable the REST interface and Web UI you need to enable the HTTP server and set the port for it to run on. You will also need to set which ExecutionGroup will process requests to view recorded messages. (You can also do this via the MBX properties, see the properties for your broker, and for your DataCaptureStore ConfigurableService)</p>
<blockquote>
<pre>mqsichangeproperties MB8BROKER -b webadmin -o server -n enabled -v true
mqsichangeproperties MB8BROKER -b webadmin -o HTTPConnector -n port -v 8080
mqsichangeproperties MB8BROKER -o DataCaptureStore -c MyCaptureStore -n egForView -v default</pre>
</blockquote>
<p>You can also configure HTTPS if you prefer, details are in the product documentation.</p>
<h3>Viewing recorded data</h3>
<p>You can of course view all the data via a web browser by pointing to the url <em>http://localhost:8080</em> but you can also do it all via the command line. The following will get back the most recent 30 recorded pieces of data from your captureStore MyCaptureStore.</p>
<blockquote>
<pre>$curl "http://localhost:8080/datacapturestore/MyCaptureStore/"</pre>
</blockquote>
<p>This returns quite a large XML list of messages, so let&#8217;s try getting just one message.</p>
<blockquote>
<pre>$curl "http://localhost:8080/datacapturestore/DefaultCaptureStore/?numberOfEntriesPerPage=1"
&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;DataCaptureStore TotalResults="92" NumberOfEntriesPerPage="1" PageNumber="1"&gt;
&lt;DataCaptureEntry wmb_msgkey="414d51204d4238514d475220202020203d1bc14e4d290020:414d51204d4238514d475220202020203d1bc14e1b3a0020"
  has_bitstream="Y" has_exception="N" has_userdata="N" event_type="IN.transaction.End"
  event_name="IN.transaction.End" event_srcaddr="IN.transaction.End" broker_name="MB8BROKER"
  broker_uuid="d405fc08-0ec6-11e1-9d9b-7f0000010000" exgrp_name="default" exgrp_uuid="7fd654a2-3301-0000-0080-d4d9103989f9"
  msgflow_name="MyFlow" msgflow_uuid="0a4555a2-3301-0000-0080-e2ed33c9dfcd" appl_name="" appl_uuid="" library_name=""
  library_uuid="" node_name="IN" node_type="ComIbmMQInputNode" detail="IN" terminal_name="" key_fld_1_nm=""
  key_fld_2_nm="" key_fld_3_nm="" key_fld_4_nm="" key_fld_5_nm="" event_timestamp="2011-11-16 11:25:00.647"
  local_transaction_id="9f228bde-1045-11e1-9fac-7f0000010000-1" parent_transaction_id="" global_transaction_id=""/&gt;
&lt;/DataCaptureStore&gt;</pre>
</blockquote>
<p>You can of course filter on any of the data fields above as follows.</p>
<blockquote>
<pre>$curl "http://localhost:8080/datacapturestore/DefaultCaptureStore/?numberOfEntriesPerPage=1&amp;has_bitstream=Y"</pre>
</blockquote>
<p>Filtering is possible on all the above columns, with the addition that you can also set a timestamp range with The REST Api has documentation at <em>docs/REST/index.html </em>which covers all these options.</p>
<p>You can also query which DataCaptureStores are setup for viewing by loading the base url &#8220;http://localhost:8080/datacapturestore/&#8221;</p>
<p>You may then want to download the body of a recorded message. (My example has a shortened url as the message key rather long. Use the wmb_msgkey from your above list requests) Depending on how you set the data to be recorded in your monitoring profile, you will get back a different encoding data</p>
<blockquote>
<pre>$curl "http://localhost:8080/datacapturestore/DefaultCaptureStore/12345"
&lt;Data encoding="base64Binary"&gt;SGVsbG8gV29ybGQK&lt;/Data&gt;</pre>
</blockquote>
<p>You don&#8217;t have to get the data back as encoded payloads wrapped in XML. If you set download=true then you will just get the decoded bitstream</p>
<blockquote>
<pre>$curl "http://localhost:8080/datacapturestore/DefaultCaptureStore/12345?download=true"
HelloWorld</pre>
</blockquote>
<p>You can also download an ExceptionList if your message has one recorded; set payload=exceptionlist to get the exceptionlist instead of the bitstream. This can also be combined with download=true</p>
<blockquote>
<pre>$curl "http://localhost:8080/datacapturestore/DefaultCaptureStore/12345?payload=exceptionlist&amp;download=true"</pre>
</blockquote>
<h3>Replaying recorded data</h3>
<p>As we already defined a DataDestination called <em>MyDestination</em> above, we have somewhere we can replay to. Again, you can do this via the web browser quite easily, but doing it with curl isn&#8217;t hard either.</p>
<blockquote>
<pre>$curl "http://localhost:8080/datacapturestore/DefaultCaptureStore/12345" -d "replaydestination=MyDestination"</pre>
</blockquote>
<h3>Viewing more about your broker</h3>
<p>There are lots of other details about your broker and what is deployed on it available via &#8220;http://localhost:8080/admin&#8221;. See the REST Api documentation for full details</p>
<blockquote>
<pre>$curl "http://localhost:7101/admin"
&lt;?xml version="1.0"?&gt;
&lt;brokerResponse brokerName="MB8BROKER" completionCode="ok"&gt;
&lt;executiongroup name="default" runstate="running" path="/admin/executiongroup/default"&gt;&lt;/executiongroup&gt;
&lt;executiongroup name="test" runstate="running" path="/admin/executiongroup/test"&gt;&lt;/executiongroup&gt;
&lt;log name="Log" runstate="" path="/admin/log/Log"&gt;&lt;/log&gt;
&lt;adminqueue name="Administration Queue" runstate="" path="/admin/adminqueue/Administration Queue"&gt;&lt;/adminqueue&gt;
&lt;/brokerResponse&gt;</pre>
<pre>$curl "http://localhost:7101/admin/executiongroup/test/"
&lt;?xml version="1.0"?&gt;
&lt;brokerResponse brokerName="MB8BROKER" completionCode="ok"&gt;
&lt;application name="TestXpath" runstate="running" path="/admin/executiongroup/test/application/TestXpath"&gt;&lt;/application&gt;
&lt;/brokerResponse&gt;</pre>
<pre>$curl "http://localhost:7101/admin/executiongroup/test/properties"
&lt;?xml version="1.0"?&gt;
&lt;brokerResponse brokerName="MB8BROKER" completionCode="ok"&gt;
&lt;Name&gt;test&lt;/Name&gt;&lt;ShortDescription&gt;&lt;/ShortDescription&gt;&lt;LongDescription&gt;&lt;/LongDescription&gt;
&lt;Type&gt;ExecutionGroup&lt;/Type&gt;&lt;UUID&gt;3adf66ca-3301-0000-0080-814338bb17bb&lt;/UUID&gt;&lt;FlowDebugPort&gt;0&lt;/FlowDebugPort&gt;
&lt;TraceNodes&gt;on&lt;/TraceNodes&gt;&lt;Running&gt;true&lt;/Running&gt;
&lt;/brokerResponse&gt;</pre>
</blockquote>
<p>&#8220;http://localhost:7101/admin/executiongroup/test/extendedproperties&#8221; will return a very large amount of information.</p>
<p>Several /admin paths also support recurse=true, for example to see everything deployed on your broker use &#8221;http://localhost:8080/admin?recurse=true&#8221;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>This was only a brief introduction to Record and Replay in WMB 8, and there is much more detail in the normal documentation. Hopefully a future update to WMB will bring more power and functionality to this area, as well as some more database support. Obviously I can&#8217;t say what will be added, let alone when, but I hope you get some value out of what is there currently.</p>
<p><em>edit 16/01/12 &#8211; corrections as supplied by Sebastian</em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.strangeparty.com/2012/01/06/message-broker-v8-record-replay-and-rest/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Message Broker v8 with MySQL</title>
		<link>http://www.strangeparty.com/2011/12/15/message-broker-v8-with-mysql/</link>
		<comments>http://www.strangeparty.com/2011/12/15/message-broker-v8-with-mysql/#comments</comments>
		<pubDate>Thu, 15 Dec 2011 09:22:30 +0000</pubDate>
		<dc:creator>Anton Piatek</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[IBM]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Message Broker]]></category>
		<category><![CDATA[My Job]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[messagebroker]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[odbc]]></category>
		<category><![CDATA[wmb]]></category>

		<guid isPermaLink="false">http://www.strangeparty.com/?p=884</guid>
		<description><![CDATA[<p>Now that you know that you can use Message Broker v8 on Ubuntu for development, you may be wondering if you can use some of the databases that are more common on Linux, such as MySQL. You can!</p> <p>IBM WebSphere Message Broker now uses UnixODBC to connect to many databases. Though not supported by IBM, <span style="color:#777"> . . . &#8594; Read More: <a href="http://www.strangeparty.com/2011/12/15/message-broker-v8-with-mysql/">Message Broker v8 with MySQL</a></span>]]></description>
			<content:encoded><![CDATA[<p>Now that you know that you can use <a href="http://www.strangeparty.com/2011/12/14/websphere-message-broker-on-ubuntu/">Message Broker v8 on Ubuntu</a> for development, you may be wondering if you can use some of the databases that are more common on Linux, such as MySQL. You can!</p>
<p>IBM WebSphere Message Broker now uses UnixODBC to connect to many databases. Though not supported by IBM, you can actually connect to MySQL from Message Broker using UnixODBC.</p>
<p><span id="more-884"></span></p>
<p>If you are on Ubuntu, you can install the MySQL UnixODBC dirver and the MySQL server with apt-get:</p>
<blockquote>
<pre>apt-get install libmyodbc mysql-server</pre>
</blockquote>
<p>Your environment variable <em>$ODBCINI</em> should point to your <em>odbc.ini</em>, mine points to /var/mqsi/odbc/odbc.ini and the base file was copied from <em>/opt/IBM/mqsi/8.0.0.0/ODBC/unixodbc/odbc.ini</em></p>
<p>You need to set a database definition for a mysql database, something like the following (assuming &#8220;wmb&#8221; is the name of your MySQL database created later)</p>
<blockquote>
<pre>[MYSQL]
Description     = MYSQL DB
Driver          = MySQL
Database        = wmb
Server          = 127.0.0.1
Port            = 3306</pre>
</blockquote>
<p>You also need to make sure your <em>$ODBCSYSINI</em> points to the folder (not the file) where your <em>odbcinst.ini</em> file has been copied to. Mine is set to <em>/var/mqsi/odbc</em> and the <em>odbcinst.ini</em> file was copied from <em>/opt/mqsi/8.0.0.0/ODBC/unixodbc/odbcinst.ini</em>, you also need to add a definition to explain to UnixODBC how to connect to a mysql database</p>
<p>The following should be enough to get UnixODBC working with MySQL</p>
<blockquote>
<pre>#Sample from package libmyodbc
[MySQL]
Description     = MySQL driver
Driver          = /usr/lib/odbc/libmyodbc.so
Setup           = /usr/lib/odbc/libodbcmyS.so
CPTimeout       =
CPReuse         =</pre>
</blockquote>
<p>Now create a mysql database (<em>mysqladmin create wmb</em>). You may need to GRANT some permissions to your user in MySQL, or add yourself to the mysql group and logout and back in again.</p>
<p>You can now check the database connection using the WMB mqsicvp command, which will also describe which database functions are available:</p>
<pre>mqsicvp -n MYSQL -u anton -p password</pre>
<pre>BIP8270I: Connected to Datasource 'MYSQL' as user 'anton'. The datasource platform is 'MySQL', version '5.1.58-1ubuntu1'.
===========================
databaseProviderVersion      = 5.1.58-1ubuntu1
driverVersion                = 05.01.0006
driverOdbcVersion            = 03.51
driverManagerVersion         = 03.52.0002.0002
driverManagerOdbcVersion     = 03.52
databaseProviderName         = MySQL
datasourceServerName         = 127.0.0.1 via TCP/IP
databaseName                 = wmb
odbcDatasourceName           = MYSQL
driverName                   = libmyodbc5.so
supportsStoredProcedures     = Yes
procedureTerm                = stored procedure
accessibleTables             = No
accessibleProcedures         = No
identifierQuote              = `
specialCharacters            = None
describeParameter            = No
schemaTerm                   =
tableTerm                    = table
sqlSubqueries                = 31
activeEnvironments           = 0
maxDriverConnections         = 0
maxCatalogNameLength         = 192
maxColumnNameLength          = 192
maxSchemaNameLength          = 0
maxStatementLength           = 8192
maxTableNameLength           = 192
supportsDecimalType          = Yes
supportsDateType             = Yes
supportsTimeType             = No
supportsTimeStampType        = No
supportsIntervalType         = No
supportsAbsFunction          = Yes
supportsAcosFunction         = Yes
supportsAsinFunction         = Yes
supportsAtanFunction         = Yes
supportsAtan2Function        = Yes
supportsCeilingFunction      = Yes
supportsCosFunction          = Yes
supportsCotFunction          = Yes
supportsDegreesFunction      = Yes
supportsExpFunction          = Yes
supportsFloorFunction        = Yes
supportsLogFunction          = Yes
supportsLog10Function        = Yes
supportsModFunction          = Yes
supportsPiFunction           = Yes
supportsPowerFunction        = Yes
supportsRadiansFunction      = Yes
supportsRandFunction         = Yes
supportsRoundFunction        = Yes
supportsSignFunction         = Yes
supportsSinFunction          = Yes
supportsSqrtFunction         = Yes
supportsTanFunction          = Yes
supportsTruncateFunction     = Yes
supportsConcatFunction       = Yes
supportsInsertFunction       = Yes
supportsLcaseFunction        = Yes
supportsLeftFunction         = Yes
supportsLengthFunction       = Yes
supportsLTrimFunction        = Yes
supportsPositionFunction     = Yes
supportsRepeatFunction       = Yes
supportsReplaceFunction      = Yes
supportsRightFunction        = Yes
supportsRTrimFunction        = Yes
supportsSpaceFunction        = Yes
supportsSubstringFunction    = Yes
supportsUcaseFunction        = Yes
supportsExtractFunction      = Yes
supportsCaseExpression       = Yes
supportsCastFunction         = Yes
supportsCoalesceFunction     = Yes
supportsNullIfFunction       = Yes
supportsConvertFunction      = No
supportsSumFunction          = Yes
supportsMaxFunction          = Yes
supportsMinFunction          = Yes
supportsCountFunction        = Yes
supportsBetweenPredicate     = Yes
supportsExistsPredicate      = Yes
supportsInPredicate          = Yes
supportsLikePredicate        = Yes
supportsNullPredicate        = Yes
supportsNotNullPredicate     = Yes
supportsLikeEscapeClause     = Yes
supportsClobType             = Yes
supportsBlobType             = Yes
charDatatypeName             = char
varCharDatatypeName          = varchar
longVarCharDatatypeName      = long varchar
clobDatatypeName             = N/A
timeStampDatatypeName        = N/A
binaryDatatypeName           = binary
varBinaryDatatypeName        = varbinary
longVarBinaryDatatypeName    = long varbinary
blobDatatypeName             = N/A
intDatatypeName              = integer
doubleDatatypeName           = double
varCharMaxLength             = 0
longVarCharMaxLength         = 0
clobMaxLength                = 0
varBinaryMaxLength           = 0
longVarBinaryMaxLength       = 0
blobMaxLength                = 0
timeStampMaxLength           = 0
identifierCase               = Mixed
escapeCharacter              = \
longVarCharDatatype          = -1
clobDatatype                 = 0
longVarBinaryDatatype        = -4
blobDatatype                 = 0

BIP8273I: The following datatypes and functions are not natively 
supported by datasource 'MYSQL' using this ODBC driver:
Unsupported datatypes: 'TIME, TIMESTAMP, INTERVAL' Unsupported functions: 'CONVERT'</pre>
<pre>Examine the specific datatypes and functions not supported
natively by this datasource using this ODBC driver.
When using these datatypes and functions within ESQL, the
associated data processing is done within WebSphere Message
Broker rather than being processed by the database provider.  

Note that "functions" within this message can refer to functions or predicates. 

BIP8071I: Successful command completion.</pre>
<p>There &#8211; done! Now you can use MySQL with WebSphere Message Broker on Ubuntu. Don&#8217;t forget to set the database password with <em>mqsisetdbparms</em> before trying to actually connect from your database nodes.</p>
<p>Also, the name of the database according to WMB is &#8220;MYSQL&#8221; as that is what I defined in the odbc.ini. The name of the database according to mysql is &#8220;wmb&#8221;. They don&#8217;t need to be different, but it might help having unique names if you are trying to track down a database connection issue.</p>
<p>Of course, the mysql database server does not need to be local to the broker &#8211; The mysql odbc driver should allow you connect to any accessible tcpip mysql server.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.strangeparty.com/2011/12/15/message-broker-v8-with-mysql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WebSphere Message Broker on Ubuntu</title>
		<link>http://www.strangeparty.com/2011/12/14/websphere-message-broker-on-ubuntu/</link>
		<comments>http://www.strangeparty.com/2011/12/14/websphere-message-broker-on-ubuntu/#comments</comments>
		<pubDate>Wed, 14 Dec 2011 09:22:13 +0000</pubDate>
		<dc:creator>Anton Piatek</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[IBM]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Message Broker]]></category>
		<category><![CDATA[My Job]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[messagebroker]]></category>
		<category><![CDATA[mq]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[wmb]]></category>
		<category><![CDATA[wmq]]></category>

		<guid isPermaLink="false">http://www.strangeparty.com/?p=714</guid>
		<description><![CDATA[<p>WebSphere Message Broker v8 now supports Ubuntu for development systems (i.e. not production use) - http://www-01.ibm.com/support/docview.wss?uid=swg27023600#Ubuntu</p> <p>I have been running MQ and Message Broker on Ubuntu and Debian since shortly after I joined IBM in 2005, and it seems there are lots of other people doing this too despite it not being a supported platform before <span style="color:#777"> . . . &#8594; Read More: <a href="http://www.strangeparty.com/2011/12/14/websphere-message-broker-on-ubuntu/">WebSphere Message Broker on Ubuntu</a></span>]]></description>
			<content:encoded><![CDATA[<p>WebSphere Message Broker v8 now supports Ubuntu for development systems (i.e. not production use) - <a href="http://www-01.ibm.com/support/docview.wss?uid=swg27023600#Ubuntu">http://www-01.ibm.com/support/docview.wss?uid=swg27023600#Ubuntu</a></p>
<p>I have been running MQ and Message Broker on Ubuntu and Debian since shortly after I joined IBM in 2005, and it seems there are <a href="http://www.google.co.uk/search?q=mq+on+ubuntu">lots of other people doing this too</a> despite it not being a supported platform before now.</p>
<p>Lots of people have advice on how to install MQ and WMB, and it is worth mentioning them in case you have problems.</p>
<p><a href="http://www.reidmorrison.com/linux/install-websphere-mq-on-ubuntu">http://www.reidmorrison.com/linux/install-websphere-mq-on-ubuntu</a></p>
<p><a href="http://www.gefira.pl/blog/2010/07/03/websphere-mq-and-ubuntu-howto/">http://www.gefira.pl/blog/2010/07/03/websphere-mq-and-ubuntu-howto/</a></p>
<p><a href="http://blog.herbert.groot.jebbink.nl/2009/06/wmb-61-ubuntu-904.html">http://blog.herbert.groot.jebbink.nl/2009/06/wmb-61-ubuntu-904.html</a></p>
<p>The best advice I can give for installing MQ and WMB on Ubuntu is:</p>
<ul></ul>
<ul>
<li>change the /bin/sh symlink to point to /bin/bash &#8211; MQ Doesn&#8217;t like installing with dash as the default shell.</li>
<p>
</ul>
<ul>
<li>use rpm to install MQ &#8211; Alien is a bit of a hack, and does not work well. You will need to use the &#8220;&#8211;force-debian&#8221; flag on rpm to make it install.</li>
<p>
</ul>
<ul>
<li>One other thing which might help is to run the mqlicense.sh script with the &#8216;-console&#8217; flag as it may not find your X applications properly.</li>
<p>
</ul>
<p>Some user&#8217;s have noticed that chown on Debian and Ubuntu strips the setuid bit from the binaries (Debian and Ubuntu consider leaving setuid set on an executable when you change it&#8217;s owner a security flaw, whereas Redhat and SuSE appear not to) so you may need to fix the permissions (best to check the permissions of the same level of MQ from a RHEL or SLES box and set them the same) though I have not seen this with recent versions of MQ.</p>
<p>Message Broker v8 installs quite happily on Ubuntu. The only issues that I know of are that some of the eclipse based gui applications do not draw everything correctly. This is a known eclipse-GTK bug, and is more common on releases after Lucid Lynx (10.04). A workaround is to set the environment variable  <em>GDK_NATIVE_WINDOWS=1</em></p>
<p>Update 05/01/12 &#8211; I have just noticed that the script &#8216;mqsicreateworkpath&#8217; which is used to initialise /var/mqsi correctly still uses ksh. Either install ksh on your system or edit the script to say bash in the first line instead of ksh (it should work fine then)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.strangeparty.com/2011/12/14/websphere-message-broker-on-ubuntu/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>WebSphere Message Broker Fix Pack 7.0.0.1 available</title>
		<link>http://www.strangeparty.com/2010/07/22/websphere-message-broker-fix-pack-7-0-0-1-available/</link>
		<comments>http://www.strangeparty.com/2010/07/22/websphere-message-broker-fix-pack-7-0-0-1-available/#comments</comments>
		<pubDate>Thu, 22 Jul 2010 09:21:08 +0000</pubDate>
		<dc:creator>Anton Piatek</dc:creator>
				<category><![CDATA[IBM]]></category>
		<category><![CDATA[Message Broker]]></category>
		<category><![CDATA[My Job]]></category>
		<category><![CDATA[messagebroker]]></category>
		<category><![CDATA[wmb]]></category>

		<guid isPermaLink="false">http://www.strangeparty.com/?p=726</guid>
		<description><![CDATA[<p>Finally &#8211; All that hard work has paid off and the release is available!</p> <p>Fix Pack 7.0.0.1 (V7.0 Fix Pack 1) for WebSphere Message Broker v7.0 is now available. http://www-01.ibm.com/support/docview.wss?&#38;uid=swg24027267</p> <p>You can see what is new in 7.0.0.1 by looking in the Information Center</p> Simplicity and productivity User-defined patterns Solar Pattern Authoring sample Service Access <span style="color:#777"> . . . &#8594; Read More: <a href="http://www.strangeparty.com/2010/07/22/websphere-message-broker-fix-pack-7-0-0-1-available/">WebSphere Message Broker Fix Pack 7.0.0.1 available</a></span>]]></description>
			<content:encoded><![CDATA[<p>Finally &#8211; All that hard work has paid off and the release is available!</p>
<blockquote><p>Fix Pack 7.0.0.1 (V7.0 Fix Pack 1) for WebSphere Message Broker v7.0 is now available.<br />
<a href="http://www-01.ibm.com/support/docview.wss?&amp;uid=swg24027267">http://www-01.ibm.com/support/docview.wss?&amp;uid=swg24027267</a></p></blockquote>
<p>You can <a href="http://publib.boulder.ibm.com/infocenter/wmbhelp/v7r0m0/topic/com.ibm.etools.mft.doc/bb22390_.htm ">see what is new in 7.0.0.1 by looking in the Information Center</a></p>
<ul>
<blockquote>
<li><strong>Si</strong><strong>mplicity and productivity</strong>
<ul>
<li>User-defined patterns</li>
<li>Solar Pattern Authoring sample</li>
<li>Service Access from <span class="ph">WebSphere MQ</span>: one-way pattern</li>
<li>Using a subflow as a user-defined node</li>
</ul>
</li>
<li><strong>Universal connectivity for SOA</strong>
<ul>
<li>New <span class="ph">CORBARequest</span> node</li>
<li>New <span class="ph">CICSRequest</span> node</li>
<li>New <span class="ph">WebSphere MQ File Transfer Edition</span> nodes</li>
<li>New <span class="ph">DatabaseInput</span> node</li>
<li>New <span class="ph">SecurityPEP</span> node</li>
<li>JMS transport for SOAP nodes</li>
<li>Querying WSDL with ?wsdl</li>
<li>HTTP nodes can use the embedded listener in an execution group</li>
<li>New HTTP Timeout terminal on <span class="ph">HTTPInput</span> and <span class="ph">SOAPInput</span> nodes</li>
<li>Securing the connection to IMS™ by using SSL</li>
<li>Propagating security credentials to IMS</li>
<li>Closing unused connections to Enterprise Information Systems</li>
<li>Propagating security credentials to SAP</li>
</ul>
</li>
<ul>
<li>New WS-Trust V1.3 compliant security token server (STS) support for message flow security</li>
</ul>
</blockquote>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.strangeparty.com/2010/07/22/websphere-message-broker-fix-pack-7-0-0-1-available/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Monitoring message flow performance with IS02</title>
		<link>http://www.strangeparty.com/2007/10/22/monitoring-message-flow-performance-with-is02/</link>
		<comments>http://www.strangeparty.com/2007/10/22/monitoring-message-flow-performance-with-is02/#comments</comments>
		<pubDate>Mon, 22 Oct 2007 07:41:08 +0000</pubDate>
		<dc:creator>Anton Piatek</dc:creator>
				<category><![CDATA[IBM]]></category>
		<category><![CDATA[Message Broker]]></category>
		<category><![CDATA[My Job]]></category>

		<guid isPermaLink="false">http://www.strangeparty.com/2007/10/22/monitoring-message-flow-performance-with-is02/</guid>
		<description><![CDATA[<p>My DeveloperWorks article on Monitoring message flow performance with the WebSphere Message Broker Explorer Accounting and Statistics facility has finally been published!</p> <p>The new WebSphere Message Broker Accounting and Statistics facility can help you monitor message flow performance and resource usage of a broker or execution group at the message flow, node, or terminal level, <span style="color:#777"> . . . &#8594; Read More: <a href="http://www.strangeparty.com/2007/10/22/monitoring-message-flow-performance-with-is02/">Monitoring message flow performance with IS02</a></span>]]></description>
			<content:encoded><![CDATA[<p>My DeveloperWorks article on <a href="http://www.ibm.com/developerworks/websphere/library/techarticles/0710_piatek/0710_piatek.html">Monitoring message flow performance with the WebSphere Message Broker Explorer Accounting and Statistics facility</a> has finally been published!</p>
<p><em>The new WebSphere Message Broker Accounting and Statistics facility can help you monitor message flow performance and resource usage of a broker or execution group at the message flow, node, or terminal level, and can thus be a tremendous help in solving performance and resource utilization problems.</em><br />
Hopefully you will find it a good starting guide for working with the new Accounting and Statistics views in IS02</p>
]]></content:encoded>
			<wfw:commentRss>http://www.strangeparty.com/2007/10/22/monitoring-message-flow-performance-with-is02/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>IBM SOA 6.1 range announced</title>
		<link>http://www.strangeparty.com/2007/10/10/ibm-soa-61-range-announced/</link>
		<comments>http://www.strangeparty.com/2007/10/10/ibm-soa-61-range-announced/#comments</comments>
		<pubDate>Wed, 10 Oct 2007 05:50:33 +0000</pubDate>
		<dc:creator>Anton Piatek</dc:creator>
				<category><![CDATA[Message Broker]]></category>

		<guid isPermaLink="false">http://www.strangeparty.com/2007/10/10/ibm-soa-61-range-announced/</guid>
		<description><![CDATA[<p>I had meant all along to blog a little about work, so to reiterate a post from SOA Tips ‘n’ Tricks, the Websphere SOA 6.1 range has been announced by IBM: Websphere Message Broker, WebSphere Enterprise Service Bus, WebSphere Process Server, WebSphere Message Broker, the WebSphere Service Registry and Repository.</p> <p>Full details in the official <span style="color:#777"> . . . &#8594; Read More: <a href="http://www.strangeparty.com/2007/10/10/ibm-soa-61-range-announced/">IBM SOA 6.1 range announced</a></span>]]></description>
			<content:encoded><![CDATA[<p>I had meant all along to blog a little about work, so to reiterate a post from <a href="http://soatipsntricks.wordpress.com/2007/10/09/websphere-soa-61-products-announced/">SOA Tips ‘n’ Tricks</a>, the Websphere SOA 6.1 range has been announced by IBM: Websphere Message Broker, WebSphere Enterprise Service Bus, WebSphere Process Server, WebSphere Message Broker, the WebSphere Service Registry and Repository.</p>
<p><a href="http://www-01.ibm.com/common/ssi/rep_ca/0/897/ENUS207-230/ENUS207230.PDF">Full details in the official release letter</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.strangeparty.com/2007/10/10/ibm-soa-61-range-announced/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Broker Explorer (IS02) v3 released</title>
		<link>http://www.strangeparty.com/2007/07/04/broker-explorer-is02-v3-released/</link>
		<comments>http://www.strangeparty.com/2007/07/04/broker-explorer-is02-v3-released/#comments</comments>
		<pubDate>Wed, 04 Jul 2007 10:00:58 +0000</pubDate>
		<dc:creator>Anton Piatek</dc:creator>
				<category><![CDATA[Message Broker]]></category>

		<guid isPermaLink="false">http://www.strangeparty.com/2007/07/04/broker-explorer-is02-v3-released/</guid>
		<description><![CDATA[<p>The support pac is compatible with MQExplorer v602 and above and can be downloaded here</p> <p>It provides a single point for administering your Message Brokers and can be used side by side with your current Message Broker Toolkit. The Broker Explorer (IS02) has the following features&#8230;</p> DataPower Wizard used to configure a DataPower box to <span style="color:#777"> . . . &#8594; Read More: <a href="http://www.strangeparty.com/2007/07/04/broker-explorer-is02-v3-released/">Broker Explorer (IS02) v3 released</a></span>]]></description>
			<content:encoded><![CDATA[<p>The support pac is compatible with MQExplorer v602 and above and can be downloaded  <a href="http://www-1.ibm.com/support/docview.wss?rs=171&amp;uid=swg24012457&amp;loc=en_US&amp;cs=utf-8&amp;lang=en">here</a></p>
<p>It provides a single point for administering your Message Brokers and can be used side by side with your current Message Broker Toolkit.  The Broker Explorer (IS02) has the following features&#8230;</p>
<ul>
<li>DataPower Wizard used to configure a DataPower box to handle WS Security for your HTTP(S) Input Nodes.</li>
<li>Accounting and Statistics charting for graphing your real-time broker statistics.</li>
<li>Small/ lightweight download and installation</li>
<li>Configuration managers viewed under Queue Managers</li>
<li>Ability to connect to remote configuration managers and to show its controlled brokers</li>
<li>Show/ hide configuration managers.</li>
<li>Tidy a configuration managers state preference. (selecting this and then connecting to a configuration manager causes a clean sweep algorithm to attempt to reconcile all brokers known to the configuration manager. Interactively tidying the configuration managers tables. This is off by default but can be turned on in the &#8220;Windows -&gt; preferences -&gt; Broker Explorer&#8221; preference page)</li>
<li>Import/ export v5, v6 *.configmgr files.</li>
<li>Full MQ security configuration manager connection</li>
<li>Addition of flow resources</li>
<li>Show/ hide flow resources</li>
<li></li>
<li>Full &#8220;Event Log&#8221; view support with filtering tied to the MQExplorer selection</li>
<li>Save &#8220;Event Log&#8221; view</li>
<li>Clear &#8220;Event Log&#8221; events</li>
<li>Deploy to multiple execution groups</li>
<li>Double click on a BAR to inspect it</li>
<li>Full service trace controlled from &#8220;Service Trace&#8221; preference pages. (Using AspectJ)</li>
<li>Multi threading with all non UI tasks running in background tasks</li>
<li>Ships with complete working MB documentation.</li>
<li>Ships with EOU Default Configuration Wizard and samples</li>
<li>Brokers state saved between sessions. (Uses EMF model framework persistence)</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.strangeparty.com/2007/07/04/broker-explorer-is02-v3-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Stop the world spinning&#8230;</title>
		<link>http://www.strangeparty.com/2007/07/02/stop-the-world-spinning/</link>
		<comments>http://www.strangeparty.com/2007/07/02/stop-the-world-spinning/#comments</comments>
		<pubDate>Mon, 02 Jul 2007 19:17:34 +0000</pubDate>
		<dc:creator>Anton Piatek</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[Message Broker]]></category>
		<category><![CDATA[My Job]]></category>

		<guid isPermaLink="false">http://www.strangeparty.com/2007/07/02/stop-the-world-spinning/</guid>
		<description><![CDATA[<p>I have been so busy recently that I have not had time to post (again!). A few weeks ago I changed departments at work again, and am back in development though now the functional test department has merged with development, so I have been testing for the last few weeks. This means I am up <span style="color:#777"> . . . &#8594; Read More: <a href="http://www.strangeparty.com/2007/07/02/stop-the-world-spinning/">Stop the world spinning&#8230;</a></span>]]></description>
			<content:encoded><![CDATA[<p>I have been so busy recently that I have not had time to post (again!). A few weeks ago I changed departments at work again, and am back in development though now the functional test department has merged with development, so I have been testing for the last few weeks. This means I am up to my neck in perl modules. It has been fun, and quite a learning experience. Unfortunately I have found several defects in the perl automation libraries, which really slow down my work.  I have also started to use zOS, and it is quite different from anything I have used before. Thankfull I am using USS (Unix System Services) most of the time, so can find my way around that, but sometimes I have to use the real zOS interface, and that is rather tricky when you have no idea what you are doing.</p>
<p>I have also become the server admin for an internal Debian repository at work, which supplies several essential internal packges all sorted out to install on Debian nicely &#8211; this can be a challenge to achieve sometimes. I am doing some packaging too, which is fun but has been another long learning experience &#8211; I always though Debian packges were  lot simpler than they really are.</p>
<p>On Saturday I was up in London for the WildChild dance festival, which was moved from Shoreditch Park to Kings Cross freight yards (home of the keys, the cross and canvas) which was just as well as it was a really wet day. The day was really good, lots of great music though the rooms (of which there must have been 8 or 10) varied in terms of size, neatness and amounts of lighting. The only regret was that somehow I missed Dogzilla &#8211; we were in the right room at the right time, but no mention of them&#8230;</p>
<p>On the way back from London the train got stuck outside Winchester while the Police armed response unit was called for a security incident on the train at winchester station. Strangely the conductor called smokers to the back of the train and allowed people to stand in the back drivers cab with the windows open and smoke, while he was at the other end of the train. This is more strange because the next morning smoking is banned in all enclosed public spaces in England, and smoking on trains has not been permitted for several years (I can&#8217;t remember it happening, though I can remember smoking on planes).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.strangeparty.com/2007/07/02/stop-the-world-spinning/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>IS02 v2 released (inc. stats and accounting viewer)</title>
		<link>http://www.strangeparty.com/2007/03/26/is02-v2-released-inc-stats-and-accounting-viewer/</link>
		<comments>http://www.strangeparty.com/2007/03/26/is02-v2-released-inc-stats-and-accounting-viewer/#comments</comments>
		<pubDate>Mon, 26 Mar 2007 07:35:52 +0000</pubDate>
		<dc:creator>Anton Piatek</dc:creator>
				<category><![CDATA[IBM]]></category>
		<category><![CDATA[Message Broker]]></category>
		<category><![CDATA[My Job]]></category>

		<guid isPermaLink="false">http://www.strangeparty.com/2007/03/26/is02-v2-released-inc-stats-and-accounting-viewer/</guid>
		<description><![CDATA[<p>The extra project I had been working on before christmas has finally been approved and is released! The IS02 Broker Explorer support pack (v2) contains a whole pile of new features, including:</p> Control of remote brokers/config managers Association of a broker with a config manager (local or remote) Deploying a bar file (broker archive) to <span style="color:#777"> . . . &#8594; Read More: <a href="http://www.strangeparty.com/2007/03/26/is02-v2-released-inc-stats-and-accounting-viewer/">IS02 v2 released (inc. stats and accounting viewer)</a></span>]]></description>
			<content:encoded><![CDATA[<p>The extra project I had been working on before christmas has finally been approved and is released!  The IS02 Broker Explorer support pack (v2) contains a whole pile of new features, including:</p>
<blockquote>
<ul>
<li>  Control of remote brokers/config managers</li>
<li>Association of a broker with a config manager (local or remote)</li>
<li>Deploying a bar file (broker archive) to multiple execution groups at once</li>
<li>Viweing of accounting and statistics data, as well as remote control of accounting and statistics collection (snapshot data)</li>
</ul>
</blockquote>
<p>It is available for download from the IBM Support Website, and has now been released as a category 2 support pack, which means support for it is available from IBM.<a href="http://www-1.ibm.com/support/docview.wss?rs=171&amp;uid=swg24012457&amp;loc=en_US&amp;cs=utf-8&amp;lang=en"><br />
</a></p>
<p><a href="http://www-1.ibm.com/support/docview.wss?rs=171&amp;uid=swg24012457&amp;loc=en_US&amp;cs=utf-8&amp;lang=en">http://www-1.ibm.com/support/docview.wss?rs=171&amp;uid=swg24012457&amp;loc=en_US&amp;cs=utf-8〈=en </a></p>
<p>There should be a Developer Works article on it soon, I will let you know when it has been published!</p>
<p>[ <em> Let me know what you think of the stats and accounting bit, as that is my code <img src='http://www.strangeparty.com/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  </em>]</p>
]]></content:encoded>
			<wfw:commentRss>http://www.strangeparty.com/2007/03/26/is02-v2-released-inc-stats-and-accounting-viewer/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

