<?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>ivetic.net - My Java/J2EE blog</title>
	<atom:link href="http://ivetic.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://ivetic.wordpress.com</link>
	<description>ivetic.net - My Java/J2EE blog</description>
	<lastBuildDate>Fri, 13 Feb 2009 16:34:03 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='ivetic.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>ivetic.net - My Java/J2EE blog</title>
		<link>http://ivetic.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://ivetic.wordpress.com/osd.xml" title="ivetic.net - My Java/J2EE blog" />
	<atom:link rel='hub' href='http://ivetic.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Installing Tomcat, Apache and MySQL on a Windows 2003 server</title>
		<link>http://ivetic.wordpress.com/2009/02/13/installing-tomcat-apache-and-mysql-on-a-windows-2003-server/</link>
		<comments>http://ivetic.wordpress.com/2009/02/13/installing-tomcat-apache-and-mysql-on-a-windows-2003-server/#comments</comments>
		<pubDate>Fri, 13 Feb 2009 16:34:03 +0000</pubDate>
		<dc:creator>Aleks</dc:creator>
				<category><![CDATA[Database]]></category>
		<category><![CDATA[Java/J2EE]]></category>

		<guid isPermaLink="false">http://ivetic.wordpress.com/?p=113</guid>
		<description><![CDATA[I successfully installed a Java application (Tomcat, Apache and MySQL ) on a Windows 2003 server, and this was a tricky process. Here are some guidelines: These are all the install files that I&#8217;m using: jdk-1_5_0_17-nb-6_5-windows-ml.exe mod_jk-1.2.27-httpd-2.0.63.so mysql-essential-5.0.67-win32.msi mysql-gui-tools-5.0-r15-win32.msi apache_2.0.63-win32-x86-openssl-0.9.7m.msi apache-tomcat-5.5.27.exe TOMCAT change: Don&#8217;t forget to increase the heap size. Also, you must set this [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ivetic.wordpress.com&amp;blog=5704749&amp;post=113&amp;subd=ivetic&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I successfully installed a Java application (Tomcat, Apache and MySQL ) on a Windows 2003 server, and this was a tricky process.</p>
<p>Here are some guidelines:</p>
<p>These are all the install files that I&#8217;m using:<br />
jdk-1_5_0_17-nb-6_5-windows-ml.exe<br />
mod_jk-1.2.27-httpd-2.0.63.so<br />
mysql-essential-5.0.67-win32.msi<br />
mysql-gui-tools-5.0-r15-win32.msi<br />
apache_2.0.63-win32-x86-openssl-0.9.7m.msi<br />
apache-tomcat-5.5.27.exe</p>
<p>TOMCAT change: Don&#8217;t forget to increase the heap size. Also, you must set this value:<br />
-Dorg.apache.jasper.compiler.Parser.STRICT_QUOTE_ESCAPING=false<br />
(Otherwise you will get this error: Attribute value  is quoted with &#8220;&#8221; which must be escaped when used within the value)</p>
<p>Shutdown all ISS Services, otherwise you won&#8217;t be able to install Apache as a service.</p>
<p>Enable Firewall, otherwise someone might hack into your server!</p>
<p>This is how you should create your certs:<br />
&#8220;C:\Program Files (x86)\Apache Group\Apache2\bin\openssl&#8221; req -config openssl.cnf -new -out server.csr<br />
&#8220;C:\Program Files (x86)\Apache Group\Apache2\bin\openssl&#8221; rsa -in privkey.pem -out ssl.key/server.key<br />
&#8220;C:\Program Files (x86)\Apache Group\Apache2\bin\openssl&#8221; x509 -in server.csr -out ssl.crt/server.crt -req -signkey ssl.key/server.key -days 1365</p>
<p>Finally, here are my<a title="httpd.conf" href="http://ivetic.wordpress.com/wp-admin/media.php?action=edit&amp;attachment_id=115"> httpd.conf</a> and <a href="http://ivetic.wordpress.com/wp-admin/media.php?action=edit&amp;attachment_id=114">workers.properties </a> files.<br />
Please let me know if you have any questions, I&#8217;m more than glad to help anyone out with this!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ivetic.wordpress.com/113/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ivetic.wordpress.com/113/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ivetic.wordpress.com/113/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ivetic.wordpress.com/113/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ivetic.wordpress.com/113/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ivetic.wordpress.com/113/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ivetic.wordpress.com/113/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ivetic.wordpress.com/113/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ivetic.wordpress.com/113/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ivetic.wordpress.com/113/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ivetic.wordpress.com/113/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ivetic.wordpress.com/113/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ivetic.wordpress.com/113/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ivetic.wordpress.com/113/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ivetic.wordpress.com&amp;blog=5704749&amp;post=113&amp;subd=ivetic&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ivetic.wordpress.com/2009/02/13/installing-tomcat-apache-and-mysql-on-a-windows-2003-server/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c7ab3338a7478a656162c07192ace941?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Aleks</media:title>
		</media:content>
	</item>
		<item>
		<title>SQL Code &#8211; how to convert timestamp to DATETIME</title>
		<link>http://ivetic.wordpress.com/2009/02/13/sql-code-how-to-convert-timestamp-to-datetime/</link>
		<comments>http://ivetic.wordpress.com/2009/02/13/sql-code-how-to-convert-timestamp-to-datetime/#comments</comments>
		<pubDate>Fri, 13 Feb 2009 16:05:18 +0000</pubDate>
		<dc:creator>Aleks</dc:creator>
				<category><![CDATA[Database]]></category>

		<guid isPermaLink="false">http://ivetic.wordpress.com/?p=111</guid>
		<description><![CDATA[select dateadd(second,last_update_time,&#8217;01/01/1970&#8242;) from YOUR_TABLE_NAME (obviously, last_update_time is the timestamp in seconds)<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ivetic.wordpress.com&amp;blog=5704749&amp;post=111&amp;subd=ivetic&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><span style="font-size:xx-small;font-family:Helv;">select dateadd(second,last_update_time,&#8217;01/01/1970&#8242;) from YOUR_TABLE_NAME</p>
<p>(obviously, last_update_time is the timestamp in seconds)</p>
<p></span></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ivetic.wordpress.com/111/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ivetic.wordpress.com/111/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ivetic.wordpress.com/111/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ivetic.wordpress.com/111/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ivetic.wordpress.com/111/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ivetic.wordpress.com/111/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ivetic.wordpress.com/111/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ivetic.wordpress.com/111/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ivetic.wordpress.com/111/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ivetic.wordpress.com/111/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ivetic.wordpress.com/111/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ivetic.wordpress.com/111/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ivetic.wordpress.com/111/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ivetic.wordpress.com/111/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ivetic.wordpress.com&amp;blog=5704749&amp;post=111&amp;subd=ivetic&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ivetic.wordpress.com/2009/02/13/sql-code-how-to-convert-timestamp-to-datetime/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c7ab3338a7478a656162c07192ace941?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Aleks</media:title>
		</media:content>
	</item>
		<item>
		<title>How to get value of a primary key as soon as you inserted it (2/2)</title>
		<link>http://ivetic.wordpress.com/2009/01/22/how-to-get-value-of-a-primary-key-as-soon-as-you-inserted-it-22/</link>
		<comments>http://ivetic.wordpress.com/2009/01/22/how-to-get-value-of-a-primary-key-as-soon-as-you-inserted-it-22/#comments</comments>
		<pubDate>Thu, 22 Jan 2009 13:53:10 +0000</pubDate>
		<dc:creator>Aleks</dc:creator>
				<category><![CDATA[Database]]></category>

		<guid isPermaLink="false">http://ivetic.wordpress.com/?p=109</guid>
		<description><![CDATA[The previous example works with JDBC 3.0. However, my server doesn&#8217;t use the 3.0 implementation, so I had to do it by using a stored procedure which returns the key for the inserted row (SCOPE_IDENTITY() value). Here&#8217;s the skeleton for how I did it: CREATE PROCEDURE YOUR_STORED_PROCEDURE_NAME (  [YOUR_PARAMETERS_GO_HERE],  @RowId INT OUTPUT )AS INSERT INTO [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ivetic.wordpress.com&amp;blog=5704749&amp;post=109&amp;subd=ivetic&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>The previous example works with JDBC 3.0. However, my server doesn&#8217;t use the 3.0 implementation, so I had to do it by using a stored procedure which returns the key for the inserted row (SCOPE_IDENTITY() value).</p>
<p>Here&#8217;s the skeleton for how I did it:</p>
<p>CREATE PROCEDURE YOUR_STORED_PROCEDURE_NAME (<br />
 [YOUR_PARAMETERS_GO_HERE],<br />
 @RowId INT OUTPUT<br />
)AS</p>
<p>INSERT INTO YOUR_TABLE [ETC ....] ;</p>
<p>SET @RowId = SCOPE_IDENTITY();<br />
select @RowId;<br />
GO</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ivetic.wordpress.com/109/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ivetic.wordpress.com/109/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ivetic.wordpress.com/109/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ivetic.wordpress.com/109/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ivetic.wordpress.com/109/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ivetic.wordpress.com/109/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ivetic.wordpress.com/109/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ivetic.wordpress.com/109/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ivetic.wordpress.com/109/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ivetic.wordpress.com/109/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ivetic.wordpress.com/109/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ivetic.wordpress.com/109/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ivetic.wordpress.com/109/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ivetic.wordpress.com/109/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ivetic.wordpress.com&amp;blog=5704749&amp;post=109&amp;subd=ivetic&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ivetic.wordpress.com/2009/01/22/how-to-get-value-of-a-primary-key-as-soon-as-you-inserted-it-22/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c7ab3338a7478a656162c07192ace941?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Aleks</media:title>
		</media:content>
	</item>
		<item>
		<title>How to get value of a primary key as soon as you inserted it</title>
		<link>http://ivetic.wordpress.com/2009/01/20/how-to-get-value-of-a-primary-key-as-soon-as-you-inserted-it/</link>
		<comments>http://ivetic.wordpress.com/2009/01/20/how-to-get-value-of-a-primary-key-as-soon-as-you-inserted-it/#comments</comments>
		<pubDate>Tue, 20 Jan 2009 15:18:18 +0000</pubDate>
		<dc:creator>Aleks</dc:creator>
				<category><![CDATA[Database]]></category>
		<category><![CDATA[Java/J2EE]]></category>

		<guid isPermaLink="false">http://ivetic.wordpress.com/2009/01/20/how-to-get-value-of-a-primary-key-as-soon-as-you-inserted-it/</guid>
		<description><![CDATA[Here&#8217;s an article that talks about how : https://www.ibm.com/developerworks/java/library/j-jdbcnew/ And here&#8217;s a code snippet: PreparedStatement ps = conn.prepareStatement(sqlCode,      PreparedStatement.RETURN_GENERATED_KEYS); &#8230;&#8230; ps.executeUpdate();    //Get the value of the key inserted by this statement    ResultSet rs = ps.getGeneratedKeys();    if ( rs.next() ) {        // Retrieve the auto generated key(s).        int key = rs.getInt(1);        pOrder.setOrderId(key);    }<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ivetic.wordpress.com&amp;blog=5704749&amp;post=108&amp;subd=ivetic&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s an article that talks about how : <a href="https://www.ibm.com/developerworks/java/library/j-jdbcnew/">https://www.ibm.com/developerworks/java/library/j-jdbcnew/</a></p>
<p>And here&#8217;s a code snippet:</p>
<p>PreparedStatement ps = conn.prepareStatement(sqlCode,<br />
     PreparedStatement.RETURN_GENERATED_KEYS);</p>
<p>&#8230;&#8230;</p>
<p>ps.executeUpdate();<br />
   //Get the value of the key inserted by this statement<br />
   ResultSet rs = ps.getGeneratedKeys();<br />
   if ( rs.next() ) {<br />
       // Retrieve the auto generated key(s).<br />
       int key = rs.getInt(1);<br />
       pOrder.setOrderId(key);<br />
   }</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ivetic.wordpress.com/108/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ivetic.wordpress.com/108/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ivetic.wordpress.com/108/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ivetic.wordpress.com/108/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ivetic.wordpress.com/108/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ivetic.wordpress.com/108/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ivetic.wordpress.com/108/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ivetic.wordpress.com/108/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ivetic.wordpress.com/108/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ivetic.wordpress.com/108/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ivetic.wordpress.com/108/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ivetic.wordpress.com/108/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ivetic.wordpress.com/108/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ivetic.wordpress.com/108/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ivetic.wordpress.com&amp;blog=5704749&amp;post=108&amp;subd=ivetic&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ivetic.wordpress.com/2009/01/20/how-to-get-value-of-a-primary-key-as-soon-as-you-inserted-it/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c7ab3338a7478a656162c07192ace941?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Aleks</media:title>
		</media:content>
	</item>
		<item>
		<title>What am I currently working on&#8230;.</title>
		<link>http://ivetic.wordpress.com/2009/01/16/what-am-i-currently-working-on/</link>
		<comments>http://ivetic.wordpress.com/2009/01/16/what-am-i-currently-working-on/#comments</comments>
		<pubDate>Fri, 16 Jan 2009 13:27:54 +0000</pubDate>
		<dc:creator>Aleks</dc:creator>
				<category><![CDATA[Random Stuff]]></category>

		<guid isPermaLink="false">http://ivetic.wordpress.com/2009/01/16/what-am-i-currently-working-on/</guid>
		<description><![CDATA[Right now I have 2 major things going on in paralel: 1) I&#8217;m developing a J2EE FOREX application for ordering transactions and automatically executing orders. I&#8217;m using EXTJS as a front end. This project is divided into several phases, and one of the phases will be implementing R/T notifications about new orders. I am intending to use [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ivetic.wordpress.com&amp;blog=5704749&amp;post=107&amp;subd=ivetic&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Right now I have 2 major things going on in paralel:</p>
<p>1) I&#8217;m developing a J2EE FOREX application for ordering transactions and automatically executing orders. I&#8217;m using EXTJS as a front end. This project is divided into several phases, and one of the phases will be implementing R/T notifications about new orders. I am intending to use IBM&#8217;s SameTime for this purpose.</p>
<p>2) I&#8217;m working on installing Tomcat+Apache+MySQL+SSL+everything-else -from-an-old-server on a new Windows 2003 server for one of my clients&#8230;..This is never fun, I haven&#8217;t done this in a couple years, but I should still have notes around from the last time I&#8217;ve done it&#8230;.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ivetic.wordpress.com/107/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ivetic.wordpress.com/107/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ivetic.wordpress.com/107/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ivetic.wordpress.com/107/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ivetic.wordpress.com/107/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ivetic.wordpress.com/107/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ivetic.wordpress.com/107/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ivetic.wordpress.com/107/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ivetic.wordpress.com/107/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ivetic.wordpress.com/107/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ivetic.wordpress.com/107/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ivetic.wordpress.com/107/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ivetic.wordpress.com/107/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ivetic.wordpress.com/107/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ivetic.wordpress.com&amp;blog=5704749&amp;post=107&amp;subd=ivetic&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ivetic.wordpress.com/2009/01/16/what-am-i-currently-working-on/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c7ab3338a7478a656162c07192ace941?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Aleks</media:title>
		</media:content>
	</item>
		<item>
		<title>Connecting to a datasource from Websphere</title>
		<link>http://ivetic.wordpress.com/2009/01/15/connecting-to-a-datasource-from-websphere/</link>
		<comments>http://ivetic.wordpress.com/2009/01/15/connecting-to-a-datasource-from-websphere/#comments</comments>
		<pubDate>Thu, 15 Jan 2009 14:02:49 +0000</pubDate>
		<dc:creator>Aleks</dc:creator>
				<category><![CDATA[Database]]></category>
		<category><![CDATA[Java/J2EE]]></category>

		<guid isPermaLink="false">http://ivetic.wordpress.com/2009/01/15/connecting-to-a-datasource-from-websphere/</guid>
		<description><![CDATA[These are the steps that I had to do to connect to a database datasource from my Websphere application: 1) This is Java code: Context ctx = new InitialContext(); DataSource ds = (DataSource) ctx .lookup("jdbc/sqlServerDS"); Connection connection = ds.getConnection(); 2) My web.xml has this entry:             &#60; resource-ref id=&#8220;ResourceRef_1231963089452&#8243;&#62;    [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ivetic.wordpress.com&amp;blog=5704749&amp;post=104&amp;subd=ivetic&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>These are the steps that I had to do to connect to a database datasource from my Websphere application:</p>
<p>1) This is Java code:<br />
<code>Context ctx = new InitialContext();<br />
DataSource ds = (DataSource) ctx<br />
.lookup("jdbc/sqlServerDS");<br />
Connection connection = ds.getConnection();</code></p>
<p>2) My web.xml has this entry:</p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p><span style="font-size:x-small;color:#008080;"><font size="2" color="#008080">&lt;</p>
<p></font></span><span style="font-size:x-small;color:#3f7f7f;">resource-ref </span><span style="font-size:x-small;color:#7f007f;">id</span><span style="font-size:x-small;">=</span><span style="font-size:x-small;color:#2a00ff;">&#8220;ResourceRef_1231963089452&#8243;</span><span style="font-size:x-small;color:#008080;">&gt;</span><span style="font-size:x-small;"><font size="2"> </p>
<p></font></span></p>
<p> </p>
<p><span style="font-size:x-small;color:#008080;">&lt;</span><span style="font-size:x-small;color:#3f7f7f;">description</span><span style="font-size:x-small;color:#008080;">&gt;&lt;/</span><span style="font-size:x-small;color:#3f7f7f;">description</span><span style="font-size:x-small;color:#008080;">&gt;</span><span style="font-size:x-small;"><font size="2"> </p>
<p></font></span> </p>
<p><span style="font-size:x-small;color:#008080;">&lt;</span><span style="font-size:x-small;color:#3f7f7f;">res-ref-name</span><span style="font-size:x-small;color:#008080;">&gt;</span><span style="font-size:x-small;">sqlServerDS</span><span style="font-size:x-small;color:#008080;">&lt;/</span><span style="font-size:x-small;color:#3f7f7f;">res-ref-name</span><span style="font-size:x-small;color:#008080;">&gt;</span><span style="font-size:x-small;"><font size="2"> </p>
<p></font></span> </p>
<p><span style="font-size:x-small;color:#008080;">&lt;</span><span style="font-size:x-small;color:#3f7f7f;">res-type</span><span style="font-size:x-small;color:#008080;">&gt;</span><span style="font-size:x-small;">javax.sql.DataSource</span><span style="font-size:x-small;color:#008080;">&lt;/</span><span style="font-size:x-small;color:#3f7f7f;">res-type</span><span style="font-size:x-small;color:#008080;">&gt;</span><span style="font-size:x-small;"><font size="2"> </p>
<p></font></span> </p>
<p><span style="font-size:x-small;color:#008080;">&lt;</span><span style="font-size:x-small;color:#3f7f7f;">res-auth</span><span style="font-size:x-small;color:#008080;">&gt;</span><span style="font-size:x-small;">Container</span><span style="font-size:x-small;color:#008080;">&lt;/</span><span style="font-size:x-small;color:#3f7f7f;">res-auth</span><span style="font-size:x-small;color:#008080;">&gt;</span><span style="font-size:x-small;"><font size="2"> </p>
<p></font></span> </p>
<p><span style="font-size:x-small;color:#008080;">&lt;</span><span style="font-size:x-small;color:#3f7f7f;">res-sharing-scope</span><span style="font-size:x-small;color:#008080;">&gt;</span><span style="font-size:x-small;">Shareable</span><span style="font-size:x-small;color:#008080;">&lt;/</span><span style="font-size:x-small;color:#3f7f7f;">res-sharing-scope</span><span style="font-size:x-small;color:#008080;">&gt;</span><span style="font-size:x-small;"><font size="2"> </p>
<p></font></span> </p>
<p><span style="font-size:x-small;color:#008080;">&lt;/</span><span style="font-size:x-small;color:#3f7f7f;">resource-ref</span><span style="font-size:x-small;color:#008080;">&gt;</span></p>
<p>3) Make sure that your ibm-web-bnd.xmi file has this entry that contains jndiName:</p>
<p> </p>
<p> </p>
<p><span style="font-size:x-small;color:#008080;"><font size="2" color="#008080">&lt;</p>
<p></font></span><span style="font-size:x-small;color:#3f7f7f;">resRefBindings </span><span style="font-size:x-small;color:#7f007f;">xmi:id</span><span style="font-size:x-small;">=</span><span style="font-size:x-small;color:#2a00ff;">&#8220;ResourceRefBinding_1231963089452&#8243; </span><span style="font-size:x-small;color:#7f007f;">jndiName</span><span style="font-size:x-small;">=</span><span style="font-size:x-small;color:#2a00ff;">&#8220;jdbc/sqlServerDS&#8221;</span><span style="font-size:x-small;color:#008080;">&gt;</span><span style="font-size:x-small;"><font size="2"> </p>
<p></font></span></p>
<p> </p>
<p><span style="font-size:x-small;color:#008080;">&lt;</span><span style="font-size:x-small;color:#3f7f7f;">bindingResourceRef </span><span style="font-size:x-small;color:#7f007f;">href</span><span style="font-size:x-small;">=</span><span style="font-size:x-small;color:#2a00ff;">&#8220;WEB-INF/web.xml#ResourceRef_1231963089452&#8243;</span><span style="font-size:x-small;color:#008080;">/&gt;</span><span style="font-size:x-small;"><font size="2"> </p>
<p></font></span> </p>
<p><span style="font-size:x-small;color:#008080;">&lt;/</span><span style="font-size:x-small;color:#3f7f7f;">resRefBindings</span><span style="font-size:x-small;color:#008080;">&gt;</span></p>
<p><strong>NOTE:</strong> You can set resource bindings by opening web.xml in your iRAD, and going to References tab. You can Add a new reference with the details from above.</p>
<p>4) On your local server, you have to setup your datasource&#8217;s JNDI name as: <strong><em>jdbc/sqlserverDS</em></strong></p>
<p>The most common errors are:<br />
javax.naming.NameNotFoundException: Name comp/env/jdbc not found in context &#8220;java:&#8221;</p>
<p><strong>Solution:</strong> do not use &#8220;java:comp/env/jdbc/sqlServerDS, use only jdbc/sqlServerDS)</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ivetic.wordpress.com/104/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ivetic.wordpress.com/104/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ivetic.wordpress.com/104/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ivetic.wordpress.com/104/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ivetic.wordpress.com/104/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ivetic.wordpress.com/104/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ivetic.wordpress.com/104/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ivetic.wordpress.com/104/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ivetic.wordpress.com/104/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ivetic.wordpress.com/104/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ivetic.wordpress.com/104/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ivetic.wordpress.com/104/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ivetic.wordpress.com/104/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ivetic.wordpress.com/104/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ivetic.wordpress.com&amp;blog=5704749&amp;post=104&amp;subd=ivetic&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ivetic.wordpress.com/2009/01/15/connecting-to-a-datasource-from-websphere/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c7ab3338a7478a656162c07192ace941?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Aleks</media:title>
		</media:content>
	</item>
		<item>
		<title>How to import/export IE browser settings</title>
		<link>http://ivetic.wordpress.com/2009/01/07/how-to-importexport-ie-browser-settings/</link>
		<comments>http://ivetic.wordpress.com/2009/01/07/how-to-importexport-ie-browser-settings/#comments</comments>
		<pubDate>Wed, 07 Jan 2009 16:17:35 +0000</pubDate>
		<dc:creator>Aleks</dc:creator>
				<category><![CDATA[Random Stuff]]></category>

		<guid isPermaLink="false">http://ivetic.wordpress.com/?p=92</guid>
		<description><![CDATA[I recently encountered a problem where a user&#8217;s PC&#8217;s couldn&#8217;t open PDF files that were linked from our web site. This was an unusal behavior, considering that the application works just fine from every other developers&#8217; computer, but this quirky behavior happens for every user from this certain group. After spending a couple hours manually [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ivetic.wordpress.com&amp;blog=5704749&amp;post=92&amp;subd=ivetic&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I recently encountered a problem where a user&#8217;s PC&#8217;s couldn&#8217;t open PDF files that were linked from our web site. This was an unusal behavior, considering that the application works just fine from every other developers&#8217; computer, but this quirky behavior happens for every user from this certain group. After spending a couple hours manually messing with user&#8217;s IE settings without any luck,  I just decided to export all IE settings from my PC and import them to user&#8217;s browser.</p>
<p>To do this you will need to use &#8220;Files and Settings Transfer Wizzard&#8221; which comes installed on your XP machine.</p>
<p><strong>How to export your IE settings</strong></p>
<p>1) Go to: Start -&gt; Accessories -&gt; System Tools -&gt; Files and Settings Transfer Wizzard.<br />
2) Select &#8220;Old Computer&#8221; on the first screen.Click Next.</p>
<p><img class="alignnone size-full wp-image-94" title="11" src="http://ivetic.files.wordpress.com/2009/01/11.png?w=480&#038;h=373" alt="11" width="480" height="373" /><br />
3) Select &#8220;Other&#8221; for the transfer method , and then select a folder where you want your files to be saved to. Click Next.</p>
<p><img class="alignnone size-full wp-image-95" title="2" src="http://ivetic.files.wordpress.com/2009/01/2.png?w=480&#038;h=374" alt="2" width="480" height="374" /><br />
4) On this screen you can select what do you want to transfer. Select &#8220;Settings Only&#8221;, and check &#8220;Let me select custom list&#8230;&#8221; checkbox. Click Next.</p>
<p><img src="http://ivetic.files.wordpress.com/2009/01/3.png?w=480"><br />
5) Select only &#8220;IE security settings&#8221; and &#8220;IE Settings&#8221;. As you can see, there&#8217;s bunch of other options/settings available as well&#8230;.</p>
<p><img src="http://ivetic.files.wordpress.com/2009/01/4.png?w=480"></p>
<p>6) Click Next, and you are done. A folder will be created with all the files that you need. You should copy this folder to a computer on which you want to import these settings.<br />
<strong>How to import IE settings</strong></p>
<p>1) Go to: Start -&gt; Accessories -&gt; System Tools -&gt; Files and Settings Transfer Wizzard.<br />
2) Select &#8220;New Computer&#8221; on the first screen. Click Next.</p>
<p><img src="http://ivetic.files.wordpress.com/2009/01/5.png?w=480"><br />
3) On the next screen, select &#8220;I don&#8217;t need the Wizard Disk&#8221;. Click Next.</p>
<p><img src="http://ivetic.files.wordpress.com/2009/01/6.png?w=480"><br />
4) On the next screen, select Other, and then browse to the settings file that you exported from the other computer (in &#8220;How to export your IE settings&#8221; sections).</p>
<p><img src="http://ivetic.files.wordpress.com/2009/01/7.png?w=480"></p>
<p> </p>
<p>5) Click Next, wait some time until the process is done, restart your PC, and you are ready to go!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ivetic.wordpress.com/92/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ivetic.wordpress.com/92/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ivetic.wordpress.com/92/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ivetic.wordpress.com/92/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ivetic.wordpress.com/92/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ivetic.wordpress.com/92/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ivetic.wordpress.com/92/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ivetic.wordpress.com/92/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ivetic.wordpress.com/92/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ivetic.wordpress.com/92/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ivetic.wordpress.com/92/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ivetic.wordpress.com/92/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ivetic.wordpress.com/92/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ivetic.wordpress.com/92/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ivetic.wordpress.com&amp;blog=5704749&amp;post=92&amp;subd=ivetic&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ivetic.wordpress.com/2009/01/07/how-to-importexport-ie-browser-settings/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c7ab3338a7478a656162c07192ace941?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Aleks</media:title>
		</media:content>

		<media:content url="http://ivetic.files.wordpress.com/2009/01/11.png" medium="image">
			<media:title type="html">11</media:title>
		</media:content>

		<media:content url="http://ivetic.files.wordpress.com/2009/01/2.png" medium="image">
			<media:title type="html">2</media:title>
		</media:content>

		<media:content url="http://ivetic.files.wordpress.com/2009/01/3.png" medium="image" />

		<media:content url="http://ivetic.files.wordpress.com/2009/01/4.png" medium="image" />

		<media:content url="http://ivetic.files.wordpress.com/2009/01/5.png" medium="image" />

		<media:content url="http://ivetic.files.wordpress.com/2009/01/6.png" medium="image" />

		<media:content url="http://ivetic.files.wordpress.com/2009/01/7.png" medium="image" />
	</item>
		<item>
		<title>Writing High Performance SQL Code</title>
		<link>http://ivetic.wordpress.com/2008/12/29/writing-high-performance-sql-code/</link>
		<comments>http://ivetic.wordpress.com/2008/12/29/writing-high-performance-sql-code/#comments</comments>
		<pubDate>Mon, 29 Dec 2008 07:21:21 +0000</pubDate>
		<dc:creator>Aleks</dc:creator>
				<category><![CDATA[Database]]></category>
		<category><![CDATA[Tech Endorsement]]></category>

		<guid isPermaLink="false">http://ivetic.wordpress.com/?p=86</guid>
		<description><![CDATA[There is a great e-book on this topic: &#8220;Dissecting SQL Server Execution Plans&#8221; by Grant Fritchey. Why is this query running slow? Is my index getting used? Why does this query run faster than this query? Well, have you even looked  at the execution plan? Book Description Execution plans show you what&#8217;s going on behind [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ivetic.wordpress.com&amp;blog=5704749&amp;post=86&amp;subd=ivetic&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div><span>There is a great e-book on this topic: <a href="http://groups.google.com/group/freecomputerbooks/web/dissecting-sql-server-execution-plans-2008-grant-fritchey" target="_blank">&#8220;Dissecting SQL Server Execution Plans&#8221;</a> by Grant Fritchey.</span></div>
<div></div>
<div></div>
<div><span>Why is this query running slow? Is my index getting used? Why does this query run faster than this query? Well, have you even <em>looked  </em>at the execution plan?</span></div>
<div></div>
<p><span></p>
<div><strong>Book Description</strong></div>
<div><strong></strong><br />
Execution plans show you what&#8217;s going on behind the scenes in SQL Server. They can provide you with a wealth of information on how your queries are being executed by SQL Server, including which indexes are getting used and where no indexes are being used at all; how the data is being retrieved, and joined, from the tables defined in your query; how aggregations in GROUP BY queries are put together and the anticipated load, and the estimated cost, that all these operations place upon the system. All this information makes the execution plan a vitally important tool in the tool belt of database administrator, database developers, report writers, developers, and pretty much anyone who writes TSQL to access data in a SQL Server database.</div>
<div> </div>
<div>The goal with this book was to gather as much useful information on execution plans as possible into a single location, and to organize it in such as way that it provided a clear route through the subject, right from the basics of capturing plans, through their interpretation, and then onto how to use them to understand how you might optimize your SQL queries, improve your indexing strategy, spot some common performance issues, and more.</div>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p></span></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ivetic.wordpress.com/86/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ivetic.wordpress.com/86/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ivetic.wordpress.com/86/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ivetic.wordpress.com/86/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ivetic.wordpress.com/86/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ivetic.wordpress.com/86/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ivetic.wordpress.com/86/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ivetic.wordpress.com/86/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ivetic.wordpress.com/86/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ivetic.wordpress.com/86/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ivetic.wordpress.com/86/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ivetic.wordpress.com/86/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ivetic.wordpress.com/86/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ivetic.wordpress.com/86/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ivetic.wordpress.com&amp;blog=5704749&amp;post=86&amp;subd=ivetic&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ivetic.wordpress.com/2008/12/29/writing-high-performance-sql-code/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c7ab3338a7478a656162c07192ace941?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Aleks</media:title>
		</media:content>
	</item>
		<item>
		<title>How to create an MDB connected to MQ</title>
		<link>http://ivetic.wordpress.com/2008/12/26/how-to-create-an-mdb-connected-to-mq/</link>
		<comments>http://ivetic.wordpress.com/2008/12/26/how-to-create-an-mdb-connected-to-mq/#comments</comments>
		<pubDate>Fri, 26 Dec 2008 16:18:36 +0000</pubDate>
		<dc:creator>Aleks</dc:creator>
				<category><![CDATA[Java/J2EE]]></category>
		<category><![CDATA[Websphere]]></category>

		<guid isPermaLink="false">http://ivetic.wordpress.com/?p=83</guid>
		<description><![CDATA[Use a Message Driven J2EE Bean (MDB) to ‘listen’ to a queue and fire when a message arrives.  The message is removed from the queue once the MDB processes it (calls onMessage()).   Login to admin console (right click on server, choose “Run Administrative Console” Go to Resources &#124; Websphere MQ JMS Provider In “Additional [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ivetic.wordpress.com&amp;blog=5704749&amp;post=83&amp;subd=ivetic&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p class="MsoNormal" style="margin:0;"><span style="font-size:small;font-family:Times New Roman;">Use a Message Driven J2EE Bean (MDB) to ‘listen’ to a queue and fire when a message arrives.<span>  </span>The message is removed from the queue once the MDB processes it (calls onMessage()).</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:small;"><span style="font-family:Times New Roman;"> </span></span></p>
<ol style="margin-top:0;" type="1">
<li class="MsoNormal"><span style="font-size:small;font-family:Times New Roman;">Login to admin console (right click on server, choose “Run Administrative Console”</span></li>
<li class="MsoNormal"><span style="font-size:small;font-family:Times New Roman;">Go to Resources | Websphere MQ JMS Provider</span></li>
<li class="MsoNormal"><span style="font-size:small;font-family:Times New Roman;">In “Additional Resources” section, choose “Websphere MQ Queue Destination”</span></li>
<li class="MsoNormal"><span style="font-size:small;font-family:Times New Roman;">Click [New]</span></li>
<li class="MsoNormal"><span style="font-size:small;font-family:Times New Roman;">Enter the required fields</span></li>
<li class="MsoNormal"><span style="font-size:small;font-family:Times New Roman;">Go back to Resources | Websphere MQ JMS Provider</span></li>
<li class="MsoNormal"><span style="font-size:small;"><span style="font-family:Times New Roman;"><span> </span>In “Additional Resources” section, choose “Websphere MQ Queue Connection Factories”</span></span></li>
<li class="MsoNormal"><span style="font-size:small;font-family:Times New Roman;">Click [New]</span></li>
<li class="MsoNormal"><span style="font-size:small;font-family:Times New Roman;">Enter Name, JNDI Name, Queue Manager, Host, Port, Channel, Transport Type<br />
e.g. </span></li>
<li class="MsoNormal"><span style="font-size:small;font-family:Times New Roman;">Save changes in admin console</span></li>
<li class="MsoNormal"><span style="font-size:small;font-family:Times New Roman;">Open up server configuration (double click server in Server tab)</span></li>
<li class="MsoNormal"><span style="font-size:small;font-family:Times New Roman;">Goto EJB tab</span></li>
<li class="MsoNormal"><span style="font-size:small;font-family:Times New Roman;">Under “Listener Ports”, click [Add…]</span></li>
<li class="MsoNormal"><span style="font-size:small;font-family:Times New Roman;">Enter a name, and the connection factory JNDI name, and destination JNDI names you created above</span></li>
<li class="MsoNormal"><span style="font-size:small;font-family:Times New Roman;">In J2EE Hierarchy, right click your EJB module (if you don’t have one, right click “EJB Modules”, then select New | EJB Project”), select New | Enterprise Bean</span></li>
<li class="MsoNormal"><span style="font-size:small;font-family:Times New Roman;">Reselect your project, click [Next]</span></li>
<li class="MsoNormal"><span style="font-size:small;font-family:Times New Roman;">Select “Message Driven Bean”, give it a name, click [Next]</span></li>
<li class="MsoNormal"><span style="font-size:small;font-family:Times New Roman;">Enter the listener port name you created above.<span>  </span>Click [Finish]</span></li>
<li class="MsoNormal"><span style="font-size:small;font-family:Times New Roman;">In your new bean, you can then put your logic in the onMessage() method, which will be called whenever a message appears in the queue.</span></li>
</ol>
<p class="MsoNormal" style="margin:0 0 0 .25in;"><span style="font-size:small;"><span style="font-family:Times New Roman;"> </span></span></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ivetic.wordpress.com/83/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ivetic.wordpress.com/83/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ivetic.wordpress.com/83/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ivetic.wordpress.com/83/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ivetic.wordpress.com/83/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ivetic.wordpress.com/83/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ivetic.wordpress.com/83/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ivetic.wordpress.com/83/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ivetic.wordpress.com/83/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ivetic.wordpress.com/83/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ivetic.wordpress.com/83/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ivetic.wordpress.com/83/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ivetic.wordpress.com/83/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ivetic.wordpress.com/83/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ivetic.wordpress.com&amp;blog=5704749&amp;post=83&amp;subd=ivetic&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ivetic.wordpress.com/2008/12/26/how-to-create-an-mdb-connected-to-mq/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c7ab3338a7478a656162c07192ace941?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Aleks</media:title>
		</media:content>
	</item>
		<item>
		<title>Problems with iTunes, iPhone 3G and Windows XP</title>
		<link>http://ivetic.wordpress.com/2008/12/22/problems-with-itunes-iphone-and-windows-xp/</link>
		<comments>http://ivetic.wordpress.com/2008/12/22/problems-with-itunes-iphone-and-windows-xp/#comments</comments>
		<pubDate>Mon, 22 Dec 2008 14:46:32 +0000</pubDate>
		<dc:creator>Aleks</dc:creator>
				<category><![CDATA[Random Stuff]]></category>

		<guid isPermaLink="false">http://ivetic.wordpress.com/?p=79</guid>
		<description><![CDATA[I bought an iPhone 3G recently and for some reason my previously installed iTunes (on Windows XP) couldn&#8217;t recognize that the iPhone was plugged in! I had iTunes already installed, because I already have an iPod. I spent a couple hours trying to fix the issue, installing the latest version of iTunes didn&#8217;t help. Finally, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ivetic.wordpress.com&amp;blog=5704749&amp;post=79&amp;subd=ivetic&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I bought an iPhone 3G recently and for some reason my previously installed iTunes (on Windows XP) couldn&#8217;t recognize that the iPhone was plugged in! I had iTunes already installed, because I already have an iPod. I spent a couple hours trying to fix the issue, installing the latest version of iTunes didn&#8217;t help. Finally, these steps did it for me, and I was able to see iPhone in iTunes in the left hand side under &#8220;My devices&#8221;.</p>
<p>1) Uninstalled iTunes, Apple Mobile Devices, Apple Installer, Quicktime and Bonjour. <em>(Make sure that ALL apple related software is cleaned up!!!)<br />
</em>2) Deleted iTunes folder from User &lt;your login account&gt; Music. <em>(I skipped this step initially, and re-installation didn&#8217;t do anything for me)<br />
</em>3) Made sure iTunes directory deleted from Program Files.<br />
4) Searched for and deleted all .itl files (iTunes Library Files).<br />
5) Rebooted PC<br />
6) Installed the latest version of iTunes 8 (available on Apple&#8217;s website).</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ivetic.wordpress.com/79/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ivetic.wordpress.com/79/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ivetic.wordpress.com/79/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ivetic.wordpress.com/79/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ivetic.wordpress.com/79/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ivetic.wordpress.com/79/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ivetic.wordpress.com/79/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ivetic.wordpress.com/79/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ivetic.wordpress.com/79/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ivetic.wordpress.com/79/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ivetic.wordpress.com/79/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ivetic.wordpress.com/79/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ivetic.wordpress.com/79/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ivetic.wordpress.com/79/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ivetic.wordpress.com&amp;blog=5704749&amp;post=79&amp;subd=ivetic&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ivetic.wordpress.com/2008/12/22/problems-with-itunes-iphone-and-windows-xp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c7ab3338a7478a656162c07192ace941?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Aleks</media:title>
		</media:content>
	</item>
	</channel>
</rss>
