Jboss-exceptions

lernen.2007

Erfahrenes Mitglied
Hallo Leute,

ich bin seit Stunden an folgende Fehler-Exception dran:
log4j:ERROR Could not create an Appender. Reported error follows.
java.lang.ClassNotFoundException: com.Appender
at java.net.URLClassLoader$1.run(
URLClassLoader.java:199)
at java.security.AccessController.doPrivileged(
Native Method)
at java.net.URLClassLoader.findClass(
URLClassLoader.java:187)
at java.lang.ClassLoader.loadClass(
ClassLoader.java:289)
at java.lang.ClassLoader.loadClass(
ClassLoader.java:235)
at java.lang.ClassLoader.loadClassInternal(
ClassLoader.java:302)
at java.lang.Class.forName0(
Native Method)
at java.lang.Class.forName(
Class.java:141)
at org.apache.log4j.helpers.Loader.loadClass(
Loader.java:160)
at org.apache.log4j.xml.DOMConfigurator.parseAppender(
DOMConfigurator.java:164)
at org.apache.log4j.xml.DOMConfigurator.findAppenderByName(
DOMConfigurator.java:140)
at org.apache.log4j.xml.DOMConfigurator.findAppenderByReference(
DOMConfigurator.java:153)
at org.apache.log4j.xml.DOMConfigurator.parseChildrenOfLoggerElement(
DOMConfigurator.java:415)
at org.apache.log4j.xml.DOMConfigurator.parseCategory(
DOMConfigurator.java:335)
at org.apache.log4j.xml.DOMConfigurator.parse(
DOMConfigurator.java:781)
at org.apache.log4j.xml.DOMConfigurator.doConfigure(
DOMConfigurator.java:666)
at org.apache.log4j.xml.DOMConfigurator.doConfigure(
DOMConfigurator.java:616)
at org.apache.log4j.xml.DOMConfigurator.doConfigure(
DOMConfigurator.java:602)
at org.apache.log4j.xml.DOMConfigurator.configure(
DOMConfigurator.java:697)
at org.jboss.logging.Log4jService$URLWatchTimerTask.reconfigure(
Log4jService.java:624)
at org.jboss.logging.Log4jService$URLWatchTimerTask.run(
Log4jService.java:563)
at org.jboss.logging.Log4jService.setup(
Log4jService.java:450)
at org.jboss.logging.Log4jService.createService(
Log4jService.java:466)
at org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(
ServiceMBeanSupport.java:245)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(
ServiceMBeanSupport.java:228)
at sun.reflect.NativeMethodAccessorImpl.invoke0(
Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(
NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(
Method.java:324)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(
ReflectedDispatcher.java:141)
at org.jboss.mx.server.Invocation.dispatch(
Invocation.java:80)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(
AbstractInterceptor.java:118)
at org.jboss.mx.server.Invocation.invoke(
Invocation.java:74)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(
ModelMBeanOperationInterceptor.java:127)
at org.jboss.mx.server.Invocation.invoke(
Invocation.java:74)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(
AbstractMBeanInvoker.java:245)
at org.jboss.mx.server.MBeanServerImpl.invoke(
MBeanServerImpl.java:644)
at org.jboss.system.ServiceController$ServiceProxy.invoke(
ServiceController.java:943)
at $Proxy0.create(Unknown Source)
at org.jboss.system.ServiceController.create(
ServiceController.java:341)
at org.jboss.system.ServiceController.create(
ServiceController.java:284)
at sun.reflect.NativeMethodAccessorImpl.invoke0(
Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(
NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(
Method.java:324)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(
ReflectedDispatcher.java:141)
at org.jboss.mx.server.Invocation.dispatch(
Invocation.java:80)
at org.jboss.mx.server.Invocation.invoke(
Invocation.java:72)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(
AbstractMBeanInvoker.java:245)
at org.jboss.mx.server.MBeanServerImpl.invoke(
MBeanServerImpl.java:644)
at org.jboss.mx.util.MBeanProxyExt.invoke(
MBeanProxyExt.java:176)
at $Proxy4.create(Unknown Source)
at org.jboss.deployment.SARDeployer.create(
SARDeployer.java:241)
at org.jboss.deployment.MainDeployer.create(
MainDeployer.java:935)
at org.jboss.deployment.MainDeployer.deploy(
MainDeployer.java:789)
at org.jboss.deployment.MainDeployer.deploy(
MainDeployer.java:753)
at org.jboss.deployment.MainDeployer.deploy(
MainDeployer.java:737)
at sun.reflect.NativeMethodAccessorImpl.invoke0(
Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(
NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(
Method.java:324)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(
ReflectedDispatcher.java:141)
at org.jboss.mx.server.Invocation.dispatch(
Invocation.java:80)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(
AbstractInterceptor.java:118)
at org.jboss.mx.server.Invocation.invoke(
Invocation.java:74)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(
ModelMBeanOperationInterceptor.java:127)
at org.jboss.mx.server.Invocation.invoke(
Invocation.java:74)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(
AbstractMBeanInvoker.java:245)
at org.jboss.mx.server.MBeanServerImpl.invoke(
MBeanServerImpl.java:644)
at org.jboss.mx.util.MBeanProxyExt.invoke(
MBeanProxyExt.java:176)
at $Proxy5.deploy(Unknown Source)
at org.jboss.system.server.ServerImpl.doStart(
ServerImpl.java:453)
at org.jboss.system.server.ServerImpl.start(
ServerImpl.java:330)
at org.jboss.Main.boot(
Main.java:187)
at org.jboss.Main$1.run(
Main.java:438)
at java.lang.Thread.run(
Thread.java:534)
log4j:ERROR Could not parse input source [org.xml.sax.InputSource@e2433b].
java.lang.NullPointerException
at java.util.Hashtable.put(Hashtable.java:393)
at org.apache.log4j.xml.DOMConfigurator.findAppenderByName(
DOMConfigurator.java:141)
at org.apache.log4j.xml.DOMConfigurator.findAppenderByReference(
DOMConfigurator.java:153)
at org.apache.log4j.xml.DOMConfigurator.parseChildrenOfLoggerElement(
DOMConfigurator.java:415)
at org.apache.log4j.xml.DOMConfigurator.parseCategory(
DOMConfigurator.java:335)
at org.apache.log4j.xml.DOMConfigurator.parse(
DOMConfigurator.java:781)
at org.apache.log4j.xml.DOMConfigurator.doConfigure(
DOMConfigurator.java:666)
at org.apache.log4j.xml.DOMConfigurator.doConfigure(
DOMConfigurator.java:616)
at org.apache.log4j.xml.DOMConfigurator.doConfigure(
DOMConfigurator.java:602)
at org.apache.log4j.xml.DOMConfigurator.configure(
DOMConfigurator.java:697)
at org.jboss.logging.Log4jService$URLWatchTimerTask.reconfigure(
Log4jService.java:624)
at org.jboss.logging.Log4jService$URLWatchTimerTask.run(
Log4jService.java:563)
at org.jboss.logging.Log4jService.setup(
Log4jService.java:450)
at org.jboss.logging.Log4jService.createService(
Log4jService.java:466)
at org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(
ServiceMBeanSupport.java:245)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(
ServiceMBeanSupport.java:228)
at sun.reflect.NativeMethodAccessorImpl.invoke0(
Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(
NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(
Method.java:324)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(
ReflectedDispatcher.java:141)
at org.jboss.mx.server.Invocation.dispatch(
Invocation.java:80)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(
AbstractInterceptor.java:118)
at org.jboss.mx.server.Invocation.invoke(
Invocation.java:74)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(
ModelMBeanOperationInterceptor.java:127)
at org.jboss.mx.server.Invocation.invoke(
Invocation.java:74)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(
AbstractMBeanInvoker.java:245)
at org.jboss.mx.server.MBeanServerImpl.invoke(
MBeanServerImpl.java:644)
at org.jboss.system.ServiceController$ServiceProxy.invoke(
ServiceController.java:943)
at $Proxy0.create(Unknown Source)
at org.jboss.system.ServiceController.create(
ServiceController.java:341)
at org.jboss.system.ServiceController.create(
ServiceController.java:284)
at sun.reflect.NativeMethodAccessorImpl.invoke0(
Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(
NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(
Method.java:324)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(
ReflectedDispatcher.java:141)
at org.jboss.mx.server.Invocation.dispatch(
Invocation.java:80)
at org.jboss.mx.server.Invocation.invoke(
Invocation.java:72)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(
AbstractMBeanInvoker.java:245)
at org.jboss.mx.server.MBeanServerImpl.invoke(
MBeanServerImpl.java:644)
at org.jboss.mx.util.MBeanProxyExt.invoke(
MBeanProxyExt.java:176)
at $Proxy4.create(Unknown Source)
at org.jboss.deployment.SARDeployer.create(
SARDeployer.java:241)
at org.jboss.deployment.MainDeployer.create(
MainDeployer.java:935)
at org.jboss.deployment.MainDeployer.deploy(
MainDeployer.java:789)
at org.jboss.deployment.MainDeployer.deploy(
MainDeployer.java:753)
at org.jboss.deployment.MainDeployer.deploy(
MainDeployer.java:737)
at sun.reflect.NativeMethodAccessorImpl.invoke0(
Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(
NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(
Method.java:324)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(
ReflectedDispatcher.java:141)
at org.jboss.mx.server.Invocation.dispatch(
Invocation.java:80)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(
AbstractInterceptor.java:118)
at org.jboss.mx.server.Invocation.invoke(
Invocation.java:74)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(
ModelMBeanOperationInterceptor.java:127)
at org.jboss.mx.server.Invocation.invoke(
Invocation.java:74)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(
AbstractMBeanInvoker.java:245)
at org.jboss.mx.server.MBeanServerImpl.invoke(
MBeanServerImpl.java:644)
at org.jboss.mx.util.MBeanProxyExt.invoke(
MBeanProxyExt.java:176)
at $Proxy5.deploy(Unknown Source)
at org.jboss.system.server.ServerImpl.doStart(
ServerImpl.java:453)
at org.jboss.system.server.ServerImpl.start(
ServerImpl.java:330)
at org.jboss.Main.boot(
Main.java:187)
at org.jboss.Main$1.run(
Main.java:438)
at java.lang.Thread.run(
Thread.java:534)

Hat vielleicht jemand eine IDEE dazu, woran es liegen kann?

Danke
 
Ja aber wenn ich unter JBOSS keine Componenten habe dann bekomme ich gleiche Exceptions, d.h. wenn ich JBOSS nur mit Configurations dateien ausführe habe ich das gleiche Problem.

Danke
 
Hallo,

seit heute Morgen bekomme ich diese Meldung. Ich weiss irgendwie nicht mehr weiter.

08:36:38,004 INFO [Server] Starting JBoss (MX MicroKernel)...
08:36:38,004 INFO [Server] Release ID: JBoss [Zion] 4.0.3SP1 (build: CVSTag=JBoss_4_0_3_SP1 date=200510231054)
08:36:38,066 INFO [Server] Home Dir: jboss-4.0.3SP1
08:36:38,066 INFO [Server] Home URL: file:/D:/jboss-4.0.3SP1/
08:36:38,066 INFO [Server] Patch URL: null
08:36:38,066 INFO [Server] Server Name: test
08:36:38,066 INFO [Server] Server Home Dir: jboss-4.0.3SP1\server\
08:36:38,066 INFO [Server] Server Home URL: file: jboss 4.0.3.1/server/
08:36:38,066 INFO [Server] Server Temp Dir: jboss-4.0.3SP1\server\tmp
08:36:38,066 INFO [Server] Root Deployment Filename: jboss-service.xml
08:36:39,332 INFO [ServerInfo] Java version: 1.4.2_08,Sun Microsystems Inc.
08:36:39,332 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.4.2_08-b03,Sun Microsystems Inc.
08:36:39,332 INFO [ServerInfo] OS-System: Windows XP 5.1,x86
08:36:40,707 INFO [Server] Core system initialized
08:36:48,285 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:log4j.xml


Warum bleibt es hier 08:36:48,285 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:log4j.xml hängen und läuft nicht mehr weiter?

Danke im Voraus
 
Danke für's den Tipp. Hier eine gute Seite dafür: http://www.jboss.org/wiki/Wiki.jsp?page=CactusInJBoss.

Mein Problem ist: Wenn ich alle meine jar-files unter JBOSS habe dann läuft es alles perfekt und sehe auch in Konsole in ECLIPSE, dass das JBOSS gestartet hat. Aber sobald ich die JAR-FILE mit JUNIT-Test unter JBOSS einpacke, dann bekomme ich folgende Ausgabe:

15:08:35,332 INFO [Server] Starting JBoss (MX MicroKernel)...
15:08:35,347 INFO [Server] Release ID: JBoss [Zion] 4.0.3SP1 (build: CVSTag=JBoss_4_0_3_SP1 date=200510231054)
15:08:35,347 INFO [Server] Home Dir: D:\Test\jboss-4.0.3SP1
15:08:35,347 INFO [Server] Home URL: file:/D:/Test/jboss-4.0.3SP1/
15:08:35,363 INFO [Server] Patch URL: null
15:08:35,363 INFO [Server] Server Name: Test
15:08:35,363 INFO [Server] Server Home Dir: D:\Test\jboss-4.0.3SP1\server\default
15:08:35,363 INFO [Server] Server Home URL: file:/D:/Test/jboss-4.0.3SP1/server/default/
15:08:35,363 INFO [Server] Server Temp Dir: D:\Test\jboss-4.0.3SP1\server\default\tmp
15:08:35,363 INFO [Server] Root Deployment Filename: jboss-service.xml
15:08:36,284 INFO [ServerInfo] Java version: 1.4.2_08,Sun Microsystems Inc.
15:08:36,284 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.4.2_08-b03,Sun Microsystems Inc.
15:08:36,284 INFO [ServerInfo] OS-System: Windows XP 5.1,x86
15:08:37,518 INFO [Server] Core system initialized
15:08:48,729 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:log4j.xml

Und es bleibt so hängen. Nur im Log-File von JBOSS kann ich lesen, dass das JBOSS gestartet wurde. Was kann das Fehler oder Problem hier gewesen sein? Meine JUNIT-Tests werden irgendwie auch nicht ausgeführt warum?

Danke im Voraus
 
Zurück