eclipse中启动JBOSS有问题

03-12-23 sankxuan
我在eclipse中启动JBOSS有问题

我用的是ECLIPSE 2.1 JBOSS 3.2.3

但是单独运行JBOSS的RUN没问题

日值如下,情哪位回答一下

我问了好几个论坛了,都没有人准确的告诉我,请各位高手明示一下

13:04:46,128 INFO [Server] Starting JBoss (MX MicroKernel)...

13:04:46,128 INFO [Server] Release ID: JBoss [WonderLand] 3.2.3 (build: CVSTag=JBoss_3_2_3 date=200311301445)

13:04:46,218 INFO [Server] Home Dir: C:\jboss

13:04:46,218 INFO [Server] Home URL: file:/C:/jboss/

13:04:46,218 INFO [Server] Library URL: file:/C:/jboss/lib/

13:04:46,228 INFO [Server] Patch URL: null

13:04:46,228 INFO [Server] Server Name: default

13:04:46,228 INFO [Server] Server Home Dir: C:\jboss\server\default

13:04:46,228 INFO [Server] Server Home URL: file:/C:/jboss/server/default/

13:04:46,228 INFO [Server] Server Data Dir: C:\jboss\server\default\data

13:04:46,228 INFO [Server] Server Temp Dir: C:\jboss\server\default\tmp

13:04:46,228 INFO [Server] Server Config URL: file:/C:/jboss/server/default/conf/

13:04:46,228 INFO [Server] Server Library URL: file:/C:/jboss/server/default/lib/

13:04:46,228 INFO [Server] Root Deployment Filename: jboss-service.xml

13:04:46,238 INFO [Server] Starting General Purpose Architecture (GPA)...

13:04:47,010 INFO [ServerInfo] Java version: 1.4.2,Sun Microsystems Inc.

13:04:47,010 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.4.2-b28,Sun Microsystems Inc.

13:04:47,010 INFO [ServerInfo] OS-System: Windows XP 5.1,x86

13:04:47,110 INFO [ServiceController] Controller MBean online

13:04:50,204 INFO [MainDeployer] Started jboss.system:service=MainDeployer

13:04:50,404 INFO [MainDeployer] Adding deployer: org.jboss.deployment.JARDeployer@c88440

13:04:50,404 INFO [JARDeployer] Started jboss.system:service=JARDeployer

13:04:50,474 INFO [MainDeployer] Adding deployer: org.jboss.deployment.SARDeployer@1081d2e

13:04:50,485 INFO [SARDeployer] Started jboss.system:service=ServiceDeployer

13:04:50,495 INFO [Server] Core system initialized

13:04:50,515 INFO [MainDeployer] Starting deployment of package: file:/C:/jboss/server/default/conf/jboss-service.xml

13:04:53,899 WARN [NestedThrowable] Duplicate throwable nesting of same base type: class org.jboss.deployment.DeploymentException is assignable from: class org.jboss.deployment.DeploymentException

13:04:53,899 ERROR [MainDeployer] could not create deployment: file:/C:/jboss/server/default/conf/jboss-service.xml

org.jboss.deployment.DeploymentException: create operation failed for package file:/C:/jboss/server/default/conf/jboss-service.xml; - nested throwable: (org.jboss.deployment.DeploymentException: - nested throwable: (java.lang.reflect.UndeclaredThrowableException))

at org.jboss.deployment.SARDeployer.create(SARDeployer.java:202)

at org.jboss.deployment.MainDeployer.create(MainDeployer.java:786)

at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:641)

at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605)

at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:589)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)

at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)

at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)

at $Proxy5.deploy(Unknown Source)

at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:384)

at org.jboss.system.server.ServerImpl.start(ServerImpl.java:291)

at org.jboss.Main.boot(Main.java:150)

at org.jboss.Main$1.run(Main.java:395)

at java.lang.Thread.run(Unknown Source)

Caused by: org.jboss.deployment.DeploymentException: - nested throwable: (java.lang.reflect.UndeclaredThrowableException)

at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:139)

at org.jboss.system.ServiceController.install(ServiceController.java:225)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)

at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)

at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)

at $Proxy4.install(Unknown Source)

at org.jboss.deployment.SARDeployer.create(SARDeployer.java:183)

... 17 more

Caused by: java.lang.reflect.UndeclaredThrowableException

at org.jboss.system.ServiceCreator.install(ServiceCreator.java:181)

at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:151)

at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:114)

... 27 more

Caused by: java.lang.NoClassDefFoundError: org/jdom/JDOMException

at org.jboss.mx.modelmbean.XMBean.<init>(XMBean.java:178)

at org.jboss.mx.modelmbean.XMBean.<init>(XMBean.java:218)

at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

at java.lang.reflect.Constructor.newInstance(Unknown Source)

at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:847)

at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:291)

at org.jboss.mx.server.MBeanServerImpl.createMBean(MBeanServerImpl.java:318)

at org.jboss.system.ServiceCreator.install(ServiceCreator.java:152)

... 29 more

Failed to boot JBoss:

org.jboss.deployment.DeploymentException: create operation failed for package file:/C:/jboss/server/default/conf/jboss-service.xml; - nested throwable: (org.jboss.deployment.DeploymentException: - nested throwable: (java.lang.reflect.UndeclaredThrowableException))

at org.jboss.deployment.SARDeployer.create(SARDeployer.java:202)

at org.jboss.deployment.MainDeployer.create(MainDeployer.java:786)

at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:641)

at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605)

at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:589)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)

at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)

at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)

at $Proxy5.deploy(Unknown Source)

at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:384)

at org.jboss.system.server.ServerImpl.start(ServerImpl.java:291)

at org.jboss.Main.boot(Main.java:150)

at org.jboss.Main$1.run(Main.java:395)

at java.lang.Thread.run(Unknown Source)

Caused by: org.jboss.deployment.DeploymentException: - nested throwable: (java.lang.reflect.UndeclaredThrowableException)

at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:139)

at org.jboss.system.ServiceController.install(ServiceController.java:225)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)

at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)

at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)

at $Proxy4.install(Unknown Source)

at org.jboss.deployment.SARDeployer.create(SARDeployer.java:183)

... 17 more

Caused by: java.lang.reflect.UndeclaredThrowableException

at org.jboss.system.ServiceCreator.install(ServiceCreator.java:181)

at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:151)

at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:114)

... 27 more

Caused by: java.lang.NoClassDefFoundError: org/jdom/JDOMException

at org.jboss.mx.modelmbean.XMBean.<init>(XMBean.java:178)

at org.jboss.mx.modelmbean.XMBean.<init>(XMBean.java:218)

at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

at java.lang.reflect.Constructor.newInstance(Unknown Source)

at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:847)

at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:291)

at org.jboss.mx.server.MBeanServerImpl.createMBean(MBeanServerImpl.java:318)

at org.jboss.system.ServiceCreator.install(ServiceCreator.java:152)

... 29 more

13:04:53,939 INFO [Server] JBoss SHUTDOWN: Undeploying all packages

13:04:53,980 INFO [ServiceController] Exception removing mbean: jboss.management.local:j2eeType=J2EEDomain,name=Manager

javax.management.InstanceNotFoundException: jboss.management.local:j2eeType=J2EEDomain,name=Manager is not registered.

at org.jboss.mx.server.registry.BasicMBeanRegistry.get(BasicMBeanRegistry.java:354)

at org.jboss.mx.server.MBeanServerImpl.getMBeanInfo(MBeanServerImpl.java:557)

at org.jboss.system.ServiceConfigurator.internalGetConfiguration(ServiceConfigurator.java:557)

at org.jboss.system.ServiceConfigurator.getConfiguration(ServiceConfigurator.java:548)

at org.jboss.system.ServiceController.unregisterClassName(ServiceController.java:803)

at org.jboss.system.ServiceController.handleNotification(ServiceController.java:789)

at org.jboss.mx.server.NotificationListenerProxy.handleNotification(NotificationListenerProxy.java:69)

at javax.management.NotificationBroadcasterSupport.sendNotification(NotificationBroadcasterSupport.java:95)

at org.jboss.mx.loading.UnifiedLoaderRepository3.removeClassLoader(UnifiedLoaderRepository3.java:795)

at org.jboss.mx.loading.UnifiedClassLoader.unregister(UnifiedClassLoader.java:223)

at org.jboss.deployment.DeploymentInfo.cleanup(DeploymentInfo.java:348)

at org.jboss.deployment.MainDeployer.destroy(MainDeployer.java:557)

at org.jboss.deployment.MainDeployer.undeploy(MainDeployer.java:473)

at org.jboss.deployment.MainDeployer.shutdown(MainDeployer.java:359)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)

at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)

at org.jboss.system.server.ServerImpl$ShutdownHook.shutdownDeployments(ServerImpl.java:849)

at org.jboss.system.server.ServerImpl$ShutdownHook.shutdown(ServerImpl.java:824)

at org.jboss.system.server.ServerImpl$ShutdownHook.run(ServerImpl.java:812)

13:04:54,050 INFO [ServiceController] Exception removing mbean: jboss.rmi:type=RMIClassLoader

javax.management.InstanceNotFoundException: jboss.rmi:type=RMIClassLoader is not registered.

at org.jboss.mx.server.registry.BasicMBeanRegistry.get(BasicMBeanRegistry.java:354)

at org.jboss.mx.server.MBeanServerImpl.getMBeanInfo(MBeanServerImpl.java:557)

at org.jboss.system.ServiceConfigurator.internalGetConfiguration(ServiceConfigurator.java:557)

at org.jboss.system.ServiceConfigurator.getConfiguration(ServiceConfigurator.java:548)

at org.jboss.system.ServiceController.unregisterClassName(ServiceController.java:803)

at org.jboss.system.ServiceController.handleNotification(ServiceController.java:789)

at org.jboss.mx.server.NotificationListenerProxy.handleNotification(NotificationListenerProxy.java:69)

at javax.management.NotificationBroadcasterSupport.sendNotification(NotificationBroadcasterSupport.java:95)

at org.jboss.mx.loading.UnifiedLoaderRepository3.removeClassLoader(UnifiedLoaderRepository3.java:795)

at org.jboss.mx.loading.UnifiedClassLoader.unregister(UnifiedClassLoader.java:223)

at org.jboss.deployment.DeploymentInfo.cleanup(DeploymentInfo.java:348)

at org.jboss.deployment.MainDeployer.destroy(MainDeployer.java:557)

at org.jboss.deployment.MainDeployer.undeploy(MainDeployer.java:473)

at org.jboss.deployment.MainDeployer.shutdown(MainDeployer.java:359)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)

at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)

at org.jboss.system.server.ServerImpl$ShutdownHook.shutdownDeployments(ServerImpl.java:849)

at org.jboss.system.server.ServerImpl$ShutdownHook.shutdown(ServerImpl.java:824)

at org.jboss.system.server.ServerImpl$ShutdownHook.run(ServerImpl.java:812)

13:04:54,070 INFO [Server] Shutting down all services

Shutting down

13:04:54,070 INFO [ServiceController] Stopping 8 services

13:04:54,080 INFO [SARDeployer] Stopping jboss.system:service=ServiceDeployer

13:04:54,080 INFO [MainDeployer] Removing deployer: org.jboss.deployment.SARDeployer@1081d2e

13:04:54,080 INFO [JARDeployer] Stopping jboss.system:service=JARDeployer

13:04:54,090 INFO [MainDeployer] Stopping jboss.system:service=MainDeployer

13:04:54,090 INFO [ServiceController] Stopped 3 services

13:04:54,120 INFO [Server] Shutdown complete

Shutdown complete

Halting VM

sevenbamboos
2003-12-24 10:44
eclipse中用lomboz来启动jboss的确会遇到问题

(惭愧的是我居然没有找到解决办法)

试试jboss-ide插件,应该可以的,我试验过。

sankxuan
2003-12-24 11:18
谢谢

回复

我deploy EJB 模块时,ant报找不到deploy.xml

大家有没有遇到这样的问题

???

lwei
2003-12-24 15:49
eclipse中用lomboz现在还不支持jboss3.2.3,建议换jboss。

我和楼主出现了同样的错误情况,不光是无法启动,还无法部署。但现在都解决了。

猜你喜欢