<?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>JD Studios &#187; Tech Tips</title>
	<atom:link href="http://www.jdstudios.us/category/tech-tips/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jdstudios.us</link>
	<description>Website Solutions</description>
	<lastBuildDate>Fri, 30 Sep 2011 17:36:38 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Insecure (mixed) Content Error using https</title>
		<link>http://www.jdstudios.us/tech-tips/insecure-mixed-content-error-using-https/</link>
		<comments>http://www.jdstudios.us/tech-tips/insecure-mixed-content-error-using-https/#comments</comments>
		<pubDate>Thu, 29 Sep 2011 14:35:24 +0000</pubDate>
		<dc:creator>James Dudley</dc:creator>
				<category><![CDATA[Tech Tips]]></category>
		<category><![CDATA[Website Development]]></category>

		<guid isPermaLink="false">http://www.jdstudios.us/?p=208</guid>
		<description><![CDATA[If you&#8217;re developing a website, and you&#8217;ve just installed an SSL certificate, there is a good change you may get a message like the above (in Chrome) when you&#8217;re trying to view some of your website&#8217;s pages using the secure https protocol: &#8220;This page has insecure content.&#8221; As you can imagine, this can be very disconcerting to [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.jdstudios.us/tech-tips/insecure-mixed-content-error-using-https/attachment/insecurecontent-2/" rel="attachment wp-att-212"><img class="alignnone size-full wp-image-212" title="insecurecontent" src="http://www.jdstudios.us/wp-content/uploads/insecurecontent1.jpg" alt="" width="587" height="109" /></a></p>
<p>If you&#8217;re developing a website, and you&#8217;ve just installed an SSL certificate, there is a good change you may get a message like the above (in Chrome) when you&#8217;re trying to view some of your website&#8217;s pages using the secure https protocol:</p>
<blockquote><p>&#8220;This page has insecure content.&#8221;</p></blockquote>
<p>As you can imagine, this can be very disconcerting to your visitors, especially if you&#8217;re running an e-commerce site or collecting any kind of private information.  <em><strong>What this message means is that you have code somewhere on your page that is requesting an asset (image, script, etc) using the non-secure &#8220;http&#8221; protocol. So to fix it, all you really need to do, is change those urls to use https instead of http.</strong></em></p>
<p>Here are some places to check that people oftentimes miss:</p>
<ul>
<li>header (doctypes, html xmlns, etc)</li>
<li>javascripts</li>
<li>images</li>
<li>stylesheets</li>
<li>favicons    &lt;&#8211; this one people always miss!</li>
<li>plugins (such as ShareThis, Facebook widget, Twitter widget, etc)</li>
</ul>
<h3>A Note on Internal Assets</h3>
<div>If you&#8217;re referencing internal assets (ones found on your own server, not external), like images, scripts, and stylesheets, make sure you are not hard-coding the protocol in front of any urls.  But instead, make sure you are referencing these assets relatively.  So for example, DON&#8217;T use:</div>
<pre>&lt;img src="http://www.mysite.com/images/myimage.jpg" /&gt;</pre>
<div>But instead DO use:</div>
<pre>&lt;img src="/images/myimage.jpg" /&gt;</pre>
<div>And that way, the full url will resolve to whatever your page is currently using (http or https.)</div>
<h3>WordPress Paths</h3>
<div>Using WordPress, and referencing images in your template? Make SURE you are doing it this way:</div>
<div>&lt;img src=&#8221;&lt;?= bloginfo(&#8216;stylesheet_directory&#8217;); ?&gt;/images/myimage.jpg&#8221; /&gt;</div>
<div>(assuming of course, your template image files are in an /images folder under your theme&#8217;s folder (where they should be)</div>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jdstudios.us/tech-tips/insecure-mixed-content-error-using-https/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to run a 32bit java ODBC webapp on Win7 64bit system</title>
		<link>http://www.jdstudios.us/tech-tips/how-to-run-a-32bit-java-odbc-webapp-on-win7-64bit-system/</link>
		<comments>http://www.jdstudios.us/tech-tips/how-to-run-a-32bit-java-odbc-webapp-on-win7-64bit-system/#comments</comments>
		<pubDate>Mon, 29 Nov 2010 19:02:43 +0000</pubDate>
		<dc:creator>James Dudley</dc:creator>
				<category><![CDATA[Tech Tips]]></category>

		<guid isPermaLink="false">http://www.jamesdudleystudios.com/?p=135</guid>
		<description><![CDATA[Not sure how many die-hard java developers follow my blog, but here&#8217;s a post that I&#8217;m hoping may help that one person out there that is trying to do what took me a few days to figure out! If you try to install an existing java web-based application connecting to an ODBC on Windows7 64 [...]]]></description>
			<content:encoded><![CDATA[<p>Not sure how many die-hard java developers follow my blog, but here&#8217;s a post that I&#8217;m hoping may help that one person out there that is trying to do what took me a few days to figure out!</p>
<p>If you try to install an existing java web-based application connecting to an ODBC on Windows7 64 bit environment, you&#8217;re going to run into problems.  Most likely you&#8217;ll get an error like this one in your tomcat logs when you try to connect to your local datasource:</p>
<pre><strong>..."<span style="color: #ff0000;">[Microsoft][ODBC Driver Manager] Invalid string or buffer length</span>"...</strong></pre>
<p>In my case, this error was when I tried to connect to a MS Access database with Tomcat running as a Win7 service.  So here&#8217;s what you need to do:</p>
<ol>
<li>Setup a 32bit ODBC driver in Win7 using this:  c:\Windows\SysWOW64\odbcad32.exe   (it looks just like the 64bit ODBC manager located in window/system, but it will setup the DSN as a 32 bit, not a 64 bit.)</li>
<li>Install the JRE required by your application.  In my case it was 1.6, so I stuck it under c:\Program Files (x86)\Java\jre1.6.0</li>
<li>When you compile your code, make sure you&#8217;re using the right JRE.  In my case, I&#8217;m using Eclipse / Ant to build/compile my app, so in Eclipse I went to Window -&gt; Preferences -&gt; Java -&gt; Installed JRE&#8217;s, and pointed to my new jre1.6.  Then I right-clicked the root folder of my project, and went to Properties -&gt; Java Build Path -&gt; Libraries -&gt; remove the current jre, then &#8220;Add Library&#8221; to add the new one</li>
<li>And here&#8217;s the big trick:  instead of running Tomcat as a windows service, start is manually by creating a batch file somewhere (ie: in your tomcat directory, I called mine tomcat.bat), and put in the following contents, changing paths where necessary, obviously:</li>
</ol>
<p> </p>
<div id="_mcePaste" style="padding-left: 60px;">SET JAVA_HOME=c:\Program Files (x86)\Java\jre1.6.0</div>
<div id="_mcePaste" style="padding-left: 60px;">SET CATALINA_HOME=c:\Tomcat</div>
<div id="_mcePaste" style="padding-left: 60px;">start &#8220;Tomcat 5.5.31&#8243; &#8220;%JAVA_HOME%\bin\java&#8221; -classpath &#8220;%JAVA_HOME%\lib\tools.jar;%CATALINA_HOME%\bin\bootstrap.jar&#8221; -Dcatalina.home=&#8221;%CATALINA_HOME%&#8221; -Dcatalina.base=&#8221;%CATALINA_HOME%&#8221; -Djava.endorsed.dirs=&#8221;%CATALINA_HOME%\common\endorsed&#8221; -Djava.io.tmpdir=&#8221;%CATALINA_HOME%\temp&#8221; org.apache.catalina.startup.Bootstrap start</div>
<p style="padding-left: 60px;">SET JAVA_HOME=c:\Program Files (x86)\Java\jre1.6.0		SET CATALINA_HOME=c:\Tomcat		start &#8220;Tomcat 5.5.31&#8243; &#8220;%JAVA_HOME%\bin\java&#8221; -classpath &#8220;%JAVA_HOME%\lib\tools.jar;%CATALINA_HOME%\bin\bootstrap.jar&#8221; -Dcatalina.home=&#8221;%CATALINA_HOME%&#8221; -Dcatalina.base=&#8221;%CATALINA_HOME%&#8221; -Djava.endorsed.dirs=&#8221;%CATALINA_HOME%\common\endorsed&#8221; -Djava.io.tmpdir=&#8221;%CATALINA_HOME%\temp&#8221; org.apache.catalina.startup.Bootstrap start</p>
<p style="padding-left: 30px;">Now run the batch file to startup Tomcat, and leave the window open to view error logs.  It&#8217;s not as nice as running it as a service, but it works.  If someone knows how to run Tomcat as a 32bit service on Win7 64bit, let me know!</p>
<p>Now you&#8217;ll have Tomcat, Java, and your app all pointing to the same 32bit JRE using the Win7 32 bit ODBC drivers, and it should all work perfectly, like it was on your old Vista or XP machine.</p>
<p>Did this help you?  Let me know!  Still have questions?  Ask in the comments below and I&#8217;ll do my best to help you out.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jdstudios.us/tech-tips/how-to-run-a-32bit-java-odbc-webapp-on-win7-64bit-system/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Chrome &#8220;error 102 connection refused&#8221; FIX</title>
		<link>http://www.jdstudios.us/tech-tips/chrome-error-102-connection-refused-fix/</link>
		<comments>http://www.jdstudios.us/tech-tips/chrome-error-102-connection-refused-fix/#comments</comments>
		<pubDate>Mon, 05 Jul 2010 17:46:08 +0000</pubDate>
		<dc:creator>James Dudley</dc:creator>
				<category><![CDATA[Tech Tips]]></category>

		<guid isPermaLink="false">http://www.jamesdudleystudios.com/blog/?p=90</guid>
		<description><![CDATA[Are you unable to browse anywhere on the internet?  But you know your internet connection is fine?  Read on&#8230; As a result of my computer recently being infected with the &#8220;AV Security Suite&#8221; virus, after I cleaned the virus, I could not browse anywhere on the internet.  Chrome will give you an &#8220;error 102 connection [...]]]></description>
			<content:encoded><![CDATA[<p><em>Are you unable to browse anywhere on the internet?  But you know your internet connection is fine?  Read on&#8230;</em></p>
<p>As a result of my computer recently being infected with the &#8220;AV Security Suite&#8221; virus, after I cleaned the virus, I could not browse anywhere on the internet.  Chrome will give you an &#8220;error 102 connection refused&#8221; message, Internet Explorer &amp; Firefox will probably give you something similar like &#8220;The webpage cannot be displayed.&#8221;  This was because the virus had changed my Internet settings in Windows to use a proxy server.</p>
<p>You can easily fix this by going to Windows control panel -&gt; Internet Options -&gt; Connections -&gt; LAN settings -&gt; then UNCHECK &#8220;Use Proxy Server&#8221;.</p>
<p> </p>
<p> </p>
<p><div id="attachment_91" class="wp-caption alignnone" style="width: 310px"><a href="http://www.jamesdudleystudios.com/wp-content/uploads/2010/07/turn-off-proxy.jpg"><img class="size-medium wp-image-91 " title="turn-off-proxy" src="http://www.jamesdudleystudios.com/wp-content/uploads/2010/07/turn-off-proxy-300x195.jpg" alt="Screenshot: turn off proxy server in windows" width="300" height="195" /></a><p class="wp-caption-text">Click to enlarge!</p></div>
<p> </p>
<p> </p>
<p><em>Hope that helped!</em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.jdstudios.us/tech-tips/chrome-error-102-connection-refused-fix/feed/</wfw:commentRss>
		<slash:comments>43</slash:comments>
		</item>
		<item>
		<title>Removing &#8220;AV Security Suite&#8221; Virus</title>
		<link>http://www.jdstudios.us/tech-tips/removing-av-security-suite-virus/</link>
		<comments>http://www.jdstudios.us/tech-tips/removing-av-security-suite-virus/#comments</comments>
		<pubDate>Mon, 05 Jul 2010 17:33:40 +0000</pubDate>
		<dc:creator>James Dudley</dc:creator>
				<category><![CDATA[Tech Tips]]></category>

		<guid isPermaLink="false">http://www.jamesdudleystudios.com/blog/?p=87</guid>
		<description><![CDATA[Did you get hit with the &#8220;AV Security Suite&#8221; virus? Read on, I&#8217;ll tell you how to get rid of it&#8230; I&#8217;m a software developer, very computer savvy, and never do anything foolish online to expose my computer to possible risks.  I don&#8217;t run any anti-virus software, because I don&#8217;t want anything slowing down my [...]]]></description>
			<content:encoded><![CDATA[<p>Did you get hit with the <strong>&#8220;AV Security Suite&#8221; virus?</strong> Read on, I&#8217;ll tell you how to get rid of it&#8230;</p>
<p>I&#8217;m a software developer, very computer savvy, and never do anything foolish online to expose my computer to possible risks.  I don&#8217;t run any anti-virus software, because I don&#8217;t want anything slowing down my computer while I work, and I&#8217;m pretty confident that I can get rid of anything that comes along.  And my track record shows that I&#8217;ve never got any viruses before today.  But this morning I got hit with a pretty awful one that I think most people would have quite a time removing &#8211; so I thought I would write about it here, if you need help.</p>
<p>The &#8220;AV Security Suite&#8221; trojan-horse virus will basically lock up your computer, not allow you to open any applications, and keep popping up windows saying that your computer is infected with a virus, and that you need to run a security scan to clean it.  Then they offer you to run the scan, or purchase their &#8220;anti-virus&#8221; software.  The screen that pops up will look like this:</p>
<p><a href="http://www.jamesdudleystudios.com/blog/wp-content/uploads/2010/07/AV_Security_Suite.jpg"><img class="alignnone size-full wp-image-88" title="AV_Security_Suite" src="http://www.jamesdudleystudios.com/blog/wp-content/uploads/2010/07/AV_Security_Suite.jpg" alt="" width="449" height="341" /></a></p>
<p>You will not be able to open task manager to stop the process from running, as it blocks any application from running (including task manager).  The only programs it allows to run is Internet Explorer (iexplore.exe) and Firefox (firefox.exe).  So in order to remove the virus, here&#8217;s what needs to be done:</p>
<ol>
<li>The process associated with AV Security Suite must be stopped.</li>
<li>Files &amp; registry entries associated with the virus must be removed.</li>
</ol>
<p>Here&#8217;s how I did it:</p>
<ul>
<li>reboot the computer in safe mode (press F8 a few times before Windows loads)</li>
<li>as soon as you&#8217;re in Windows, press Ctrl+Alt+Del to open Task Manager.  Click the &#8220;Processes&#8221; tab, find &#8220;eaeujrwtssd.exe&#8221;, click it, then click &#8220;End Process&#8221;.</li>
<li>download &amp; install MalwareBytes Anti-Malware program.  Here&#8217;s the link:  <a href="http://www.malwarebytes.org/">http://www.malwarebytes.org/</a> (click the free version download).  Once it&#8217;s installed, run the Quick scan.  It should find the infected registry values &amp; files.  Tell the program to delete (quarantine) the files after the scan, then reboot your computer.</li>
</ul>
<p>That should take care of it!</p>
<p>If the above process doesn&#8217;t work, I found a much more detailed description on how to get rid of it at this link:  <a href="http://www.virusremovalguru.com/?p=6257">http://www.virusremovalguru.com/?p=6257</a></p>
<p><em>Did you get this virus?  Did you get rid of it successfully?  Let me know by commenting below!</em></p>
<p> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.jdstudios.us/tech-tips/removing-av-security-suite-virus/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

