<?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>idError &#187; Java</title>
	<atom:link href="http://iderror.com/category/errors/java/feed/" rel="self" type="application/rss+xml" />
	<link>http://iderror.com</link>
	<description>You have errors, we have solutions!</description>
	<lastBuildDate>Sun, 22 Mar 2009 21:18:56 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>JNI_CreateJavaVM always returns -1</title>
		<link>http://iderror.com/errors/java/java-jni/jni_createjavavm-always-returns-1/</link>
		<comments>http://iderror.com/errors/java/java-jni/jni_createjavavm-always-returns-1/#comments</comments>
		<pubDate>Fri, 20 Mar 2009 10:28:59 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[JAVA-JNI]]></category>

		<guid isPermaLink="false">http://localhost/idError/?p=8037</guid>
		<description><![CDATA[Applies to:JNI Description:Occurs while using JNI. Cause:Usually, the problem is that you moved or copied the jvm.dll file. The location of jvm.dll is important, it has to be in the directory /bin/classic. This jvm.dll finds the location of other DLLs relative to its current location. So if you move it, or Windows uses some other [...]]]></description>
			<content:encoded><![CDATA[<p><b>Applies to:</b><br/>JNI<br/><br/> <b>Description:</b><br/>Occurs while using JNI.<br/><br/> <b>Cause:</b><br/>Usually, the problem is that you moved or copied the jvm.dll file. The location of jvm.dll is important, it has to be in the directory <jre>/bin/classic. This jvm.dll finds the location of other DLLs relative to its current location. So if you move it, or Windows uses some other copy of jvm.dll, the JVM will not be able to find java.dll, for instance. <br/><br/> </p>
]]></content:encoded>
			<wfw:commentRss>http://iderror.com/errors/java/java-jni/jni_createjavavm-always-returns-1/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Symbol makeJavaString not found</title>
		<link>http://iderror.com/errors/java/java-jni/symbol-makejavastring-not-found/</link>
		<comments>http://iderror.com/errors/java/java-jni/symbol-makejavastring-not-found/#comments</comments>
		<pubDate>Fri, 20 Mar 2009 10:28:59 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[JAVA-JNI]]></category>

		<guid isPermaLink="false">http://localhost/idError/?p=8038</guid>
		<description><![CDATA[Applies to:JNI Description:You have used a third party library (a JDBC driver, actually) that contained native code. When running Your application with this library, I&#8217;ve got an &#8220;UnsatisfiedLinkError: symbol makeJavaString not found.&#8221; Cause:The problem is that the native code in that third party library uses the old NMI. 
]]></description>
			<content:encoded><![CDATA[<p><b>Applies to:</b><br/>JNI<br/><br/> <b>Description:</b><br/>You have used a third party library (a JDBC driver, actually) that contained native code. When running Your application with this library, I&#8217;ve got an &#8220;UnsatisfiedLinkError: symbol makeJavaString not found.&#8221;<br/><br/> <b>Cause:</b><br/>The problem is that the native code in that third party library uses the old NMI.<br/><br/> </p>
]]></content:encoded>
			<wfw:commentRss>http://iderror.com/errors/java/java-jni/symbol-makejavastring-not-found/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>libthread loaded into green threads</title>
		<link>http://iderror.com/errors/java/java-jni/libthread-loaded-into-green-threads/</link>
		<comments>http://iderror.com/errors/java/java-jni/libthread-loaded-into-green-threads/#comments</comments>
		<pubDate>Fri, 20 Mar 2009 10:28:59 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[JAVA-JNI]]></category>

		<guid isPermaLink="false">http://localhost/idError/?p=8039</guid>
		<description><![CDATA[Applies to:Solaris, JNI Description:This error is produced if you
a. are running the green threads VM
b. did a System.loadLibrary(&#8220;foo&#8221;), and
c. libfoo.so was linked -lthread.  Cause:Green threads and native threads don&#8217;t mix well and hence the check in the VM.  
]]></description>
			<content:encoded><![CDATA[<p><b>Applies to:</b><br/>Solaris, JNI<br/><br/> <b>Description:</b><br/>This error is produced if you<br />
a. are running the green threads VM<br />
b. did a System.loadLibrary(&#8220;foo&#8221;), and<br />
c. libfoo.so was linked -lthread. <br/><br/> <b>Cause:</b><br/>Green threads and native threads don&#8217;t mix well and hence the check in the VM. <br/><br/> </p>
]]></content:encoded>
			<wfw:commentRss>http://iderror.com/errors/java/java-jni/libthread-loaded-into-green-threads/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>You must install a Solaris patch to run the native threads version of the Java runtime.  The green threads version will
work without this patch. Please check the native threads            release notes for more information.
            If you are embedding the VM in a native application, please make sure that the native application is linked with libthread.so (-lthread).&#8221;  Exiting.</title>
		<link>http://iderror.com/errors/java/java-jni/you-must-install-a-solaris-patch-to-run-the-native-threads-version-of-the-java-runtime-the-green-threads-version-willwork-without-this-patch-please-check-the-native-threads-release-note/</link>
		<comments>http://iderror.com/errors/java/java-jni/you-must-install-a-solaris-patch-to-run-the-native-threads-version-of-the-java-runtime-the-green-threads-version-willwork-without-this-patch-please-check-the-native-threads-release-note/#comments</comments>
		<pubDate>Fri, 20 Mar 2009 10:28:59 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[JAVA-JNI]]></category>

		<guid isPermaLink="false">http://localhost/idError/?p=8040</guid>
		<description><![CDATA[Applies to:Solaris, JNI Description:Occurs when your application embedding the native threads VM is not linked against -lthread Cause:Your application embedding the native threads VM is not linked against -lthread 
]]></description>
			<content:encoded><![CDATA[<p><b>Applies to:</b><br/>Solaris, JNI<br/><br/> <b>Description:</b><br/>Occurs when your application embedding the native threads VM is not linked against -lthread<br/><br/> <b>Cause:</b><br/>Your application embedding the native threads VM is not linked against -lthread<br/><br/> </p>
]]></content:encoded>
			<wfw:commentRss>http://iderror.com/errors/java/java-jni/you-must-install-a-solaris-patch-to-run-the-native-threads-version-of-the-java-runtime-the-green-threads-version-willwork-without-this-patch-please-check-the-native-threads-release-note/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Compiler can&#8217;t find jni_md.h</title>
		<link>http://iderror.com/errors/java/java-jni/compiler-cant-find-jni_mdh/</link>
		<comments>http://iderror.com/errors/java/java-jni/compiler-cant-find-jni_mdh/#comments</comments>
		<pubDate>Fri, 20 Mar 2009 10:28:59 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[JAVA-JNI]]></category>

		<guid isPermaLink="false">http://localhost/idError/?p=8041</guid>
		<description><![CDATA[Applies to:JNI Description:Occurs while trying to compile an application Cause:You have not added all necessary folders to the include path of the compiler. 
]]></description>
			<content:encoded><![CDATA[<p><b>Applies to:</b><br/>JNI<br/><br/> <b>Description:</b><br/>Occurs while trying to compile an application<br/><br/> <b>Cause:</b><br/>You have not added all necessary folders to the include path of the compiler.<br/><br/> </p>
]]></content:encoded>
			<wfw:commentRss>http://iderror.com/errors/java/java-jni/compiler-cant-find-jni_mdh/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>IllegalStateException while using JSP</title>
		<link>http://iderror.com/errors/java/java-jsp/illegalstateexception-while-using-jsp/</link>
		<comments>http://iderror.com/errors/java/java-jsp/illegalstateexception-while-using-jsp/#comments</comments>
		<pubDate>Fri, 20 Mar 2009 10:28:59 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[JAVA-JSP]]></category>

		<guid isPermaLink="false">http://localhost/idError/?p=8027</guid>
		<description><![CDATA[Applies to:NA Description:Signals that a method has been invoked at an illegal or inappropriate time. In other words, the Java environment or Java application is not in an appropriate state for the requested operation.  Cause:a. The most common cause of this exception is a servlet or JSP attempting to write to the output stream [...]]]></description>
			<content:encoded><![CDATA[<p><b>Applies to:</b><br/>NA<br/><br/> <b>Description:</b><br/>Signals that a method has been invoked at an illegal or inappropriate time. In other words, the Java environment or Java application is not in an appropriate state for the requested operation. <br/><br/> <b>Cause:</b><br/>a. The most common cause of this exception is a servlet or JSP attempting to write to the output stream after the response has been committed.<br />
b. Another way this can happen is by attempting to redirect from within the middle of a JSP page: </p>
<p>&#8230;</p>
<div>hello world</div>
<p><%<br />
 if ("not logged in")<br />
        response.sendRedirect("login.jsp");<br />
%></p>
<div>more stuff</div>
<p>&#8230;</p>
<p>c. Another common place where an IllegalStateException is likely to occur is in a JSP that attempts to stream binary data. JSPs are primarily designed to format output as HTML. With HTML, white space characters are ignored. It is not uncommon for JSP compilers to inject their own white space charaters to the beginning and/or end of the output stream. Line breaks in the developer&#8217;s code can also be interpreted as white space in the output stream. These white space characters can interfer with the generated servlet&#8217;s ability to create and stream the binary outputdata, resulting in the IllegalStateException. <br/><br/> </p>
]]></content:encoded>
			<wfw:commentRss>http://iderror.com/errors/java/java-jsp/illegalstateexception-while-using-jsp/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Java Bean not found</title>
		<link>http://iderror.com/errors/java/java-jsp/java-bean-not-found/</link>
		<comments>http://iderror.com/errors/java/java-jsp/java-bean-not-found/#comments</comments>
		<pubDate>Fri, 20 Mar 2009 10:28:59 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[JAVA-JSP]]></category>

		<guid isPermaLink="false">http://localhost/idError/?p=8028</guid>
		<description><![CDATA[Applies to:NA Description:A common problem which occurs when the class loader cannot find beans that the pages reference.That usually results in an error message like &#8220;Class xxx cannot be resolved to a type&#8221; Cause:The class loader could not find beans that the pages referenced. 
]]></description>
			<content:encoded><![CDATA[<p><b>Applies to:</b><br/>NA<br/><br/> <b>Description:</b><br/>A common problem which occurs when the class loader cannot find beans that the pages reference.That usually results in an error message like &#8220;Class xxx cannot be resolved to a type&#8221;<br/><br/> <b>Cause:</b><br/>The class loader could not find beans that the pages referenced.<br/><br/> </p>
]]></content:encoded>
			<wfw:commentRss>http://iderror.com/errors/java/java-jsp/java-bean-not-found/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>EL Or JSTL Not Working As Expected</title>
		<link>http://iderror.com/errors/java/java-jsp/el-or-jstl-not-working-as-expected/</link>
		<comments>http://iderror.com/errors/java/java-jsp/el-or-jstl-not-working-as-expected/#comments</comments>
		<pubDate>Fri, 20 Mar 2009 10:28:59 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[JAVA-JSP]]></category>

		<guid isPermaLink="false">http://localhost/idError/?p=8029</guid>
		<description><![CDATA[Applies to:NA Description:Occurs while using EL or JSTL in JSP. Cause:Configuration mismatch between the version of JSP that you are using, the version of the JSTL that you employ, and how you have declared your web application in the deployment descriptor (web.xml).  
]]></description>
			<content:encoded><![CDATA[<p><b>Applies to:</b><br/>NA<br/><br/> <b>Description:</b><br/>Occurs while using EL or JSTL in JSP.<br/><br/> <b>Cause:</b><br/>Configuration mismatch between the version of JSP that you are using, the version of the JSTL that you employ, and how you have declared your web application in the deployment descriptor (web.xml). <br/><br/> </p>
]]></content:encoded>
			<wfw:commentRss>http://iderror.com/errors/java/java-jsp/el-or-jstl-not-working-as-expected/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Resource Url Problems</title>
		<link>http://iderror.com/errors/java/java-jsp/resource-url-problems/</link>
		<comments>http://iderror.com/errors/java/java-jsp/resource-url-problems/#comments</comments>
		<pubDate>Fri, 20 Mar 2009 10:28:59 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[JAVA-JSP]]></category>

		<guid isPermaLink="false">http://localhost/idError/?p=8030</guid>
		<description><![CDATA[Applies to:NA Description:A common issue is the problem where the external resources for a page, to include images, style sheets and script files, do not load.  Cause:his problem is frequently caused by using page-relative URLs to these resources.
Within a static web site, the URL to HTML files is formed from the file path to [...]]]></description>
			<content:encoded><![CDATA[<p><b>Applies to:</b><br/>NA<br/><br/> <b>Description:</b><br/>A common issue is the problem where the external resources for a page, to include images, style sheets and script files, do not load. <br/><br/> <b>Cause:</b><br/>his problem is frequently caused by using page-relative URLs to these resources.<br />
Within a static web site, the URL to HTML files is formed from the file path to that page. Within a dynamic web application, this is no longer the case; the URLs are usually formed from mappings within the deployment descriptor (web.xml).</p>
<p>Thus, a URL such as</p>
<p>http://some.server.com/command/doSomething</p>
<p>does not reference any particular folder on the file system. Rather, it is referencing a servlet mapped within the deployment descriptor.<br />
When you forward to a JSP from this servlet, the URL remains the same and the browser has no way of knowing that the URL does not reference a folder. And it certainly has no way of knowing in which folder the JSP resides.<br />
Thus, if you use page-relative URLs in the JSP, the browser tries to use the servlet mapping to resolve the path to the file, and of course, that fails. <br/><br/> </p>
]]></content:encoded>
			<wfw:commentRss>http://iderror.com/errors/java/java-jsp/resource-url-problems/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title> does not work: the files never get deleted</title>
		<link>http://iderror.com/errors/java/java-tools/does-not-work-the-files-never-get-deleted/</link>
		<comments>http://iderror.com/errors/java/java-tools/does-not-work-the-files-never-get-deleted/#comments</comments>
		<pubDate>Fri, 20 Mar 2009 10:28:59 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[JAVA-Tools]]></category>

		<guid isPermaLink="false">http://localhost/idError/?p=7978</guid>
		<description><![CDATA[Applies to:Ant Description:Occurs while using Apache Ant. Cause:You have used a  task to delete unwanted SourceSafe control files (CVS files, editor backup files, etc.) 
]]></description>
			<content:encoded><![CDATA[<p><b>Applies to:</b><br/>Ant<br/><br/> <b>Description:</b><br/>Occurs while using Apache Ant.<br/><br/> <b>Cause:</b><br/>You have used a <delete> task to delete unwanted SourceSafe control files (CVS files, editor backup files, etc.)<br/><br/> </p>
]]></content:encoded>
			<wfw:commentRss>http://iderror.com/errors/java/java-tools/does-not-work-the-files-never-get-deleted/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
