Topic: 如何在eclipse中启动jboss

  Print this page

1.如何在eclipse中启动jboss Copy to clipboard
Posted by: cyyp
Posted on: 2004-06-02 15:17

我用的是ECLIPSE 2.13 + LOMBOZ2.13 + Jboss-3.2.3, 尝试在eclipse中启动jboss,错误代码如下,不明白是什么问题,我的那个文件明明是可写的。请帮忙,谢谢!
15:18:52,600 ERROR [MainDeployer] could not create deployment: file:/C:/jboss-3.2.3/server/default/conf/jboss-service.xml
org.jboss.deployment.DeploymentException: create operation failed for package file:/C:/jboss-3.2.3/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-3.2.3/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
15:18:52,680 INFO [Server] JBoss SHUTDOWN: Undeploying all packages

2.Re:如何在eclipse中启动jboss [Re: cyyp] Copy to clipboard
Posted by: linuxaid
Posted on: 2004-06-02 16:23

我也碰到同样的问题

可是在外面启动jboss都是正常的


   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923