<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: How To Resize Uploaded Images Using Java</title>
	<atom:link href="http://www.digitalsanctuary.com/tech-blog/java/how-to-resize-uploaded-images-using-java.html/feed" rel="self" type="application/rss+xml" />
	<link>http://www.digitalsanctuary.com/tech-blog/java/how-to-resize-uploaded-images-using-java.html</link>
	<description>Java, ATG, Seam, and related Technologies</description>
	<pubDate>Sat, 05 Jul 2008 18:33:44 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5</generator>
		<item>
		<title>By: joaquin</title>
		<link>http://www.digitalsanctuary.com/tech-blog/java/how-to-resize-uploaded-images-using-java.html#comment-6456</link>
		<dc:creator>joaquin</dc:creator>
		<pubDate>Fri, 06 Jun 2008 05:36:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.digitalsanctuary.com/tech-blog/java/how-to-resize-uploaded-images-using-java.html#comment-6456</guid>
		<description>it works! i tried it and voila

tks</description>
		<content:encoded><![CDATA[<p>it works! i tried it and voila</p>
<p>tks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Doug</title>
		<link>http://www.digitalsanctuary.com/tech-blog/java/how-to-resize-uploaded-images-using-java.html#comment-6357</link>
		<dc:creator>Doug</dc:creator>
		<pubDate>Mon, 02 Jun 2008 02:14:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.digitalsanctuary.com/tech-blog/java/how-to-resize-uploaded-images-using-java.html#comment-6357</guid>
		<description>Thanks!</description>
		<content:encoded><![CDATA[<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Devon</title>
		<link>http://www.digitalsanctuary.com/tech-blog/java/how-to-resize-uploaded-images-using-java.html#comment-6356</link>
		<dc:creator>Devon</dc:creator>
		<pubDate>Mon, 02 Jun 2008 02:05:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.digitalsanctuary.com/tech-blog/java/how-to-resize-uploaded-images-using-java.html#comment-6356</guid>
		<description>@Doug:

Just use spaces:

JAVA_OPTS=”-Djava.awt.headless=true -Xms128M -Xmx512M”</description>
		<content:encoded><![CDATA[<p>@Doug:</p>
<p>Just use spaces:</p>
<p>JAVA_OPTS=”-Djava.awt.headless=true -Xms128M -Xmx512M”</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Doug</title>
		<link>http://www.digitalsanctuary.com/tech-blog/java/how-to-resize-uploaded-images-using-java.html#comment-6355</link>
		<dc:creator>Doug</dc:creator>
		<pubDate>Mon, 02 Jun 2008 02:03:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.digitalsanctuary.com/tech-blog/java/how-to-resize-uploaded-images-using-java.html#comment-6355</guid>
		<description>One last question please! What is the proper sytax for the following...it doesn't seem to work when I want to put 2 parms on the JAVA_OPTS.
I was setting just the memory and now I need the headless part as well. Can you tell me what is wrong with my JAVA_OPTS below?

# JAVA_OPTS="-Xms128M -Xmx512M"
JAVA_OPTS="-Djava.awt.headless=true;-Xms128M -Xmx512M"

Thanks Again,
Doug</description>
		<content:encoded><![CDATA[<p>One last question please! What is the proper sytax for the following&#8230;it doesn&#8217;t seem to work when I want to put 2 parms on the JAVA_OPTS.<br />
I was setting just the memory and now I need the headless part as well. Can you tell me what is wrong with my JAVA_OPTS below?</p>
<p># JAVA_OPTS=&#8221;-Xms128M -Xmx512M&#8221;<br />
JAVA_OPTS=&#8221;-Djava.awt.headless=true;-Xms128M -Xmx512M&#8221;</p>
<p>Thanks Again,<br />
Doug</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Devon</title>
		<link>http://www.digitalsanctuary.com/tech-blog/java/how-to-resize-uploaded-images-using-java.html#comment-6354</link>
		<dc:creator>Devon</dc:creator>
		<pubDate>Mon, 02 Jun 2008 01:22:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.digitalsanctuary.com/tech-blog/java/how-to-resize-uploaded-images-using-java.html#comment-6354</guid>
		<description>@Doug:

No problem!  I'm glad it worked!</description>
		<content:encoded><![CDATA[<p>@Doug:</p>
<p>No problem!  I&#8217;m glad it worked!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Doug</title>
		<link>http://www.digitalsanctuary.com/tech-blog/java/how-to-resize-uploaded-images-using-java.html#comment-6353</link>
		<dc:creator>Doug</dc:creator>
		<pubDate>Mon, 02 Jun 2008 01:21:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.digitalsanctuary.com/tech-blog/java/how-to-resize-uploaded-images-using-java.html#comment-6353</guid>
		<description>It WORKS! You rock Devon!

Thank you very much for your help I appreciate it.</description>
		<content:encoded><![CDATA[<p>It WORKS! You rock Devon!</p>
<p>Thank you very much for your help I appreciate it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Devon</title>
		<link>http://www.digitalsanctuary.com/tech-blog/java/how-to-resize-uploaded-images-using-java.html#comment-6351</link>
		<dc:creator>Devon</dc:creator>
		<pubDate>Mon, 02 Jun 2008 00:30:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.digitalsanctuary.com/tech-blog/java/how-to-resize-uploaded-images-using-java.html#comment-6351</guid>
		<description>@Doug:

Try adding this to your start script:

export JAVA_OPTS="-Djava.awt.headless=true"

Let me know if that helps.</description>
		<content:encoded><![CDATA[<p>@Doug:</p>
<p>Try adding this to your start script:</p>
<p>export JAVA_OPTS=&#8221;-Djava.awt.headless=true&#8221;</p>
<p>Let me know if that helps.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Doug</title>
		<link>http://www.digitalsanctuary.com/tech-blog/java/how-to-resize-uploaded-images-using-java.html#comment-6350</link>
		<dc:creator>Doug</dc:creator>
		<pubDate>Mon, 02 Jun 2008 00:19:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.digitalsanctuary.com/tech-blog/java/how-to-resize-uploaded-images-using-java.html#comment-6350</guid>
		<description>Hi Devon, I was wondering if you could perhaps help me on this problem. I have tried two different ways of sizing the image and have tracked it down to the following lines of code (from 2 different methods).

First Way : ImageIcon imageIcon = new ImageIcon( pImageData ); //Where pImageData is the byte[]. When this line of code is executed the org.apache.catalina.startup.Bootstrap pops up on the upper right.

Second way : Image image = Toolkit.getDefaultToolkit().createImage( pImageData );//Where pImageData is the byte[]. 
When this line of code is executed the org.apache.catalina.startup.Bootstrap pops up on the upper right.

Do you know of other ways of accomplishing this? The first example is right from this post. Any help would be GREATLY APPRECIATED!!!! I am at the point where I will try anything just to solve the problem.

Thanks,
Doug</description>
		<content:encoded><![CDATA[<p>Hi Devon, I was wondering if you could perhaps help me on this problem. I have tried two different ways of sizing the image and have tracked it down to the following lines of code (from 2 different methods).</p>
<p>First Way : ImageIcon imageIcon = new ImageIcon( pImageData ); //Where pImageData is the byte[]. When this line of code is executed the org.apache.catalina.startup.Bootstrap pops up on the upper right.</p>
<p>Second way : Image image = Toolkit.getDefaultToolkit().createImage( pImageData );//Where pImageData is the byte[].<br />
When this line of code is executed the org.apache.catalina.startup.Bootstrap pops up on the upper right.</p>
<p>Do you know of other ways of accomplishing this? The first example is right from this post. Any help would be GREATLY APPRECIATED!!!! I am at the point where I will try anything just to solve the problem.</p>
<p>Thanks,<br />
Doug</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Doug</title>
		<link>http://www.digitalsanctuary.com/tech-blog/java/how-to-resize-uploaded-images-using-java.html#comment-6300</link>
		<dc:creator>Doug</dc:creator>
		<pubDate>Fri, 30 May 2008 19:27:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.digitalsanctuary.com/tech-blog/java/how-to-resize-uploaded-images-using-java.html#comment-6300</guid>
		<description>On the upside at least I am not alone. On the down side...no solution...yet.....</description>
		<content:encoded><![CDATA[<p>On the upside at least I am not alone. On the down side&#8230;no solution&#8230;yet&#8230;..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Devon</title>
		<link>http://www.digitalsanctuary.com/tech-blog/java/how-to-resize-uploaded-images-using-java.html#comment-6298</link>
		<dc:creator>Devon</dc:creator>
		<pubDate>Fri, 30 May 2008 18:50:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.digitalsanctuary.com/tech-blog/java/how-to-resize-uploaded-images-using-java.html#comment-6298</guid>
		<description>@Doug:

my production system is Linux, so it isn't a big deal for me.  I have noticed that on my dev box (OS X Leopard), JBoss will create a JBoss Main process with a menu, which sounds similar.  When I shutdown JBoss though, that process also dies.  I haven't looked into it much however.

If you find out how to prevent it, I'd love to know.

Thanks!

Devon</description>
		<content:encoded><![CDATA[<p>@Doug:</p>
<p>my production system is Linux, so it isn&#8217;t a big deal for me.  I have noticed that on my dev box (OS X Leopard), JBoss will create a JBoss Main process with a menu, which sounds similar.  When I shutdown JBoss though, that process also dies.  I haven&#8217;t looked into it much however.</p>
<p>If you find out how to prevent it, I&#8217;d love to know.</p>
<p>Thanks!</p>
<p>Devon</p>
]]></content:encoded>
	</item>
</channel>
</rss>
