Error List

Error List for the ‘Java’ Category

java.io.IOException: javadoc: cannot execute

Strange exception when applet tries to make a connection to the DB

Applies to:
NA

Description:
Occurs while connecting to a database using JDBC.

Cause:
You have tried to make a connection to the DB in applet.

JAVA-JDBC , , ,

Video camera did not show up in JMStudio->Capture Preview

Applies to:
JSF

Description:
Occurs when trying to run JMStudio for the first time

Cause:
JMF needs to query your system for capture devices. This happens automatically when you run JMStudio for the first time. If you upgraded from an earlier version of JMF 2.1.1 or just installed a new capture device or the registry file was deleted, you’ll need to force JMF to query for capture devices again.

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

DuplicateKey error

Applies to:
JBossMQ

Description:
Occurs while sending messages or deleting messages when receiving messages

Cause:
There are two common reasons for this.
a. Two seperate JBossMQ instances running over of the same database.
You get the duplicate key because the other instance already added it and the could not delete because the other instance deleted it.
b. This issue only applies to the receiving side. The problem goes something like:

1) Sender -> JBossMQ -> sql insert -> database1
2) Receiver -> JBossMQ -> sql delete -> database2
3) database1 -> replicate -> database2

JAVA-JBoss , ,

Deployment descriptor \WEB-INF\web.xml does not exist

The IMAP provider loses data when fetching messages with large attachments

Applies to:
NA

Description:
Occurs when fetching messages with large attachments

Cause:
This is due to bugs in the partial fetch implementation of your IMAP server.

JAVA-Mail

A "org.jboss.logging.util.OnlyOnceErrorHandler" object is not assignable to a "org.apache.log4j.spi.ErrorHandler" variable.

Applies to:
JBoss, Log4j

Description:
Occurs while using log4j in JBoss

Cause:
You see exceptions similar to:
ERROR STDERR log4j:ERROR A “org.jboss.logging.util.OnlyOnceErrorHandler” object is not assignable to a “org.apache.log4j.spi.ErrorHandler” variable. 20:05:44,757 ERROR STDERR log4j:ERROR The class “org.apache.log4j.spi.ErrorHandler” was loaded by 20:05:44,757 ERROR STDERR log4j:ERROR [WebappClassLoaderDelegateFalseRepositories/WEBINF/Classes/ParentClassloaderjava.net.FactoryURLClassLoader31c43f|WebappClassLoader delegate: false repositories: /WEB-INF/classes/ -

Parent Classloader: java.net.FactoryURLClassLoader@31c43f ] whereas object of type 20:05:44,757 ERROR STDERR log4j:ERROR “org.jboss.logging.util.OnlyOnceErrorHandler” was loaded by Org.jboss.system.server.NoAnnotationURLClassLoaderab95e6. 20:05:44,820 ERROR STDERR log4j:ERROR Could not create an Appender. Reported error follows.



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

Errors when deploying the Jetty sar in JBoss

Applies to:
Jetty, JBoss

Description:
Occurs when deploying the Jetty sar in Jboss

Cause:
a. There is old Jetty or Tomcat sar in the JBoss deployment directory.
b. Inccorrect web.xml in the JBoss distibution.
c. Old Jetty JBoss sar file.
d. Invalid Jetty JBoss sar file.

JAVA-Jetty , , , , , , , , , ,

/ error

Applies to:
Ant

Description:
Occurs while using Apache Ant.

Cause:
In Your , You’ve put in an of all files followed by an of just the files You want, but it isn’t giving You any files at all.

JAVA-Tools ,

JBoss AS complains about unclosed connections

Applies to:
Hibernate, JBoss AS

Description:
Occurs at application server.

Cause:
You got the message “[org.jboss.resource.connectionmanager.CachedConnectionManager] Closing a connection for you. Please close them yourself: org.jboss.resource.adapter.jdbc.WrappedConnection”

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