Error List

Error List for the ‘Java’ Category

javax.naming.NoInitialContextException while using Hibernate

Applies to:
Hibernate, Weblogic Server

Description:
Occurs while using Hibernate with Weblogic Server

Cause:
You have used Hibernate with Weblogic Server

JAVA-Hibernate , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,

MessagingException: 501 HELO requires domain address

Applies to:
NA

Description:
Occurs while trying to send a message

Cause:
The SMTP provider uses the results of InetAddress.getLocalHost().getHostName() in the SMTP HELO command. If that call fails to return any data, no name is sent in the HELO command.

JAVA-Mail , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,

java.lang.NoClassDefFoundError: Files\jbossX/Y/Z

Applies to:
JBoss, Windows

Description:
Occurs while launching JBoss from the IDE

Cause:
You are using JBoss on Windows and you should never install JBoss in a path that contains spaces. This causes the NoClassDefFoundException to be raised.

JAVA-JBoss , , , , , , , , , ,

Can't start a cloned connection exception

Applies to:
DBUnit

Description:
Occurs when using InsertIdentityOperation

Cause:
SelectMethod=cursor parameter is missing in the JDBC connection string.

JAVA-DBUnit , , ,

Resource Url Problems

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 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).

Thus, a URL such as

http://some.server.com/command/doSomething

does not reference any particular folder on the file system. Rather, it is referencing a servlet mapped within the deployment descriptor.
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.
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.

JAVA-JSP , , ,

causes a StackOverflowError

Applies to:
Ant

Description:
Occurs while using Apache Ant.

Cause:
StackOverflowError was thrown inside Sun’s javac compiler.

JAVA-Tools , , ,

NoClassDefFoundError exception when loading driver

java.lang.NoClassDefFoundError: javax/media/ControllerListener

Applies to:
JSF 1.2.x

Description:
Thrown if the Java Virtual Machine or a ClassLoader instance tries to load in the definition of a class and no definition of the class could be found.

Cause:
This happens in two situations:
* jmf.jar is not in your CLASSPATH
* jmf.jar is in your CLASSPATH but you are using the JDK 1.2+ appletviewer.

JAVA-JMF , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,

javax.jms.JMSSecurityException: User: null is NOT authenticated

Applies to:
JBossMQ

Description:
Occurs during the deployment of message-driven beans

Cause:
During the deployment of my message-driven beans, You have got the following exception:

JMS provider failure detected for MDB
javax.jms.JMSSecurityException: User: null is NOT authenticated


JAVA-JBoss , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,

Compiler can't find jni_md.h