Where is the error or warning
Yes?...
So you have an error that you cannot find an answer for using search.
Look at the message, stack trace or category of the message.
This will tell you where within JBoss (and probably your applicaton) the problem occurs.
From this you should be able to work out the correct forum, by comparing with the logging categories.
e.g.
2005-06-30 16:41:15,499 ERROR [org.jboss.deployment.MainDeployer] Could not init ialise deployment: file:/home/ejort/jboss-4.0/workspace/build/output/jboss-4.0.3 RC1/server/all/deploy/breit.ear org.jboss.deployment.DeploymentException: Failed to find module file: modules/we b/breit.war at org.jboss.deployment.EARDeployer.init(EARDeployer.java:244) at org.jboss.deployment.MainDeployer.init(MainDeployer.java:827) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:764) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:737) at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch er.java:141) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept or.java:118)
It is a missing WAR file in an EAR which goes in the web/tomcat user forum
You would also want to post the EAR and WAR deployment descriptors, and the contents
of the ear, i.e.
jar -tf breit.ear
.
Although, in this case, it is a user error because the WAR is missing from the EAR.
NullPointerException
and similar
If you see a
NullPointerException
from JBoss code that is not defined to be such in the spec, then this is an automatic Bug Report. JBoss should provide "meaningful" error messages. But please don't report unmeaningful error handling by the JVM (or if you do, report it to your JVM provider).
Referenced by:
Comments