<?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>Sketchpad - Dan Sketcher's personal blog &#187; jruby</title>
	<atom:link href="http://www.dansketcher.com/category/jruby/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dansketcher.com</link>
	<description>Dan Sketcher on Rails, computers, and other junk</description>
	<lastBuildDate>Tue, 27 Sep 2011 02:24:58 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>JRuby-OpenSSL and HTTP request timeouts (in ActiveSalesforce)</title>
		<link>http://www.dansketcher.com/2007/07/20/jruby-openssl-and-http-request-timeouts-in-activesalesforce/</link>
		<comments>http://www.dansketcher.com/2007/07/20/jruby-openssl-and-http-request-timeouts-in-activesalesforce/#comments</comments>
		<pubDate>Thu, 19 Jul 2007 15:29:16 +0000</pubDate>
		<dc:creator>dansketcher</dc:creator>
				<category><![CDATA[jruby]]></category>
		<category><![CDATA[Rails]]></category>

		<guid isPermaLink="false">http://www.dansketcher.com/2007/07/20/jruby-openssl-and-http-request-timeouts-in-activesalesforce/</guid>
		<description><![CDATA[So, JRuby looks pretty cool, and I&#8217;ve got some code written that uses a weird BouncyCastle encryption implementation going in my rails app. Works well, the WAR deployment works (with goldspike) and everything&#8217;s going swimmingly. Until, of course, I tried to integrate with Another Project that uses the ActiveSalesforce. Behind the scenes, ActiveSalesforce makes SSL [...]]]></description>
			<content:encoded><![CDATA[<p>So, JRuby looks pretty cool, and I&#8217;ve got some code written that uses a weird BouncyCastle encryption implementation going in my rails app. Works well, the WAR deployment works (with <a href="svn://rubyforge.org/var/svn/jruby-extras/trunk/rails-integration/plugins/goldspike">goldspike</a>) and everything&#8217;s going swimmingly.</p>
<p>Until, of course, I tried to integrate with Another Project that uses the <a href="http://wiki.apexdevnet.com/index.php/ActiveSalesforce">ActiveSalesforce</a>. Behind the scenes, ActiveSalesforce makes SSL encrypted connections to Salesforce API endpoints and performs operations. This was working fine until I started the app under JRuby. All of a sudden, the salesforce connections stopped working.</p>
<p>A bit of digging later, and I discovered that the JRuby-OpenSSL implementation is causing reads of the HTTP responses to stall. JRuby HTTP is fine, Ruby HTTPS is fine, but JRuby HTTPS is not. Boo.</p>
<p><a href="http://jira.codehaus.org/browse/JRUBY-1222">It&#8217;s a bug</a>, now. I hope it&#8217;s fixed soon!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dansketcher.com/2007/07/20/jruby-openssl-and-http-request-timeouts-in-activesalesforce/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.219 seconds -->

