<?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>ColdFused? &#187; webservice</title>
	<atom:link href="http://www.rupeshk.org/blog/index.php/tag/webservice/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.rupeshk.org/blog</link>
	<description>My Views on ColdFusion, Java and related technologies</description>
	<lastBuildDate>Mon, 21 Jun 2010 12:40:32 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>ColdFusion and WebService : &#8220;class file has wrong version&#8221;</title>
		<link>http://www.rupeshk.org/blog/index.php/2007/08/coldfusion-and-webservice-class-file-has-wrong-version/</link>
		<comments>http://www.rupeshk.org/blog/index.php/2007/08/coldfusion-and-webservice-class-file-has-wrong-version/#comments</comments>
		<pubDate>Thu, 09 Aug 2007 02:39:00 +0000</pubDate>
		<dc:creator>Rupesh Kumar</dc:creator>
				<category><![CDATA[coldfusion]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[webservice]]></category>

		<guid isPermaLink="false">http://rupesh106.wordpress.com/2007/08/08/coldfusion-and-webservice-class-file-has-wrong-version/</guid>
		<description><![CDATA[I can&#8217;t even count the number of times I have seen this error while QA folks were running webservices regressions for ColdFusion 8. Everytime, someone was running webservices tests on a J2EE configuration they used to get an error :
coldfusion.jsp.CompilationFailedException: Errors reported by Java compiler:&#8230;.class file has wrong version 49.0, should be 48.0
I saw the [...]]]></description>
			<content:encoded><![CDATA[<p>I can&#8217;t even count the number of times I have seen this error while QA folks were running webservices regressions for ColdFusion 8. Everytime, someone was running webservices tests on a J2EE configuration they used to get an error :</p>
<p><em>coldfusion.jsp.CompilationFailedException: Errors reported by Java compiler:<br />&#8230;.<br />class file has wrong version 49.0, should be 48.0</em></p>
<p>I saw the same error posted in the public forum where the user had deployed ColdFusion 8 on JRun with JDK1.5 and was trying to invoke webservice. And hence this blog entry <img src='http://www.rupeshk.org/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>This error comes because of incompatibility between the tools.jar and the JVM version. ColdFusion 8 ships Java 1.6&#8217;s tools.jar (you will find it in cfusion/lib) which is of course incompatible with any other JDK/JRE version. You will see the same behavior with ColdFusion 7 as well, if you run it on a JVM other than 1.4. So the rule of thumb is &#8211; if ColdFusion is running on a JVM version other than the shipped one, you must ensure that the tools.jar is in synch. In short, you will need to copy JDK&#8217;s tools.jar to cfusion/lib.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rupeshk.org/blog/index.php/2007/08/coldfusion-and-webservice-class-file-has-wrong-version/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
