当前位置: 代码迷 >> J2SE >>   throwable:   (java.lang.reflect.UndeclaredThrowableException)
  详细解决方案

  throwable:   (java.lang.reflect.UndeclaredThrowableException)

热度:262   发布时间:2016-04-24 13:30:09.0
Jboss 运行出错!!!!!!!!!!!
我下的jboss-4.2.1.GA

直接运行BIN\run.bat   启动不了出现错误

22:45:47,296   INFO     [Server]   Starting   JBoss   (MX   MicroKernel)...
22:45:47,296   INFO     [Server]   Release   ID:   JBoss   [Trinity]   4.2.1.GA   (build:   SVNTag=JBoss_4_2_1_GA   date=200707131605)
22:45:47,312   INFO     [Server]   Home   Dir:   C:\Documents   and   Settings\admin\桌面\jboss-4.2.1.GA
22:45:47,312   INFO     [Server]   Home   URL:   file:/C:/Documents   and   Settings/admin/桌面/jboss-4.2.1.GA/
22:45:47,312   INFO     [Server]   Patch   URL:   null
22:45:47,312   INFO     [Server]   Server   Name:   default
22:45:47,312   INFO     [Server]   Server   Home   Dir:   C:\Documents   and   Settings\admin\桌面\jboss-4.2.1.GA\server\default
22:45:47,312   INFO     [Server]   Server   Home   URL:   file:/C:/Documents   and   Settings/admin/桌面/jboss-4.2.1.GA/server/default/
22:45:47,312   INFO     [Server]   Server   Log   Dir:   C:\Documents   and   Settings\admin\桌面\jboss-4.2.1.GA\server\default\log
22:45:47,312   INFO     [Server]   Server   Temp   Dir:   C:\Documents   and   Settings\admin\桌面\jboss-4.2.1.GA\server\default\tmp
22:45:47,312   INFO     [Server]   Root   Deployment   Filename:   jboss-service.xml
22:45:47,562   INFO     [ServerInfo]   Java   version:   1.6.0_02,Sun   Microsystems   Inc.
22:45:47,562   INFO     [ServerInfo]   Java   VM:   Java   HotSpot(TM)   Client   VM   1.6.0_02-b06,Sun   Microsystems   Inc.
22:45:47,562   INFO     [ServerInfo]   OS-System:   Windows   XP   5.1,x86
22:45:47,859   INFO     [Server]   Core   system   initialized
22:45:49,640   ERROR   [MainDeployer]   Could   not   create   deployment:   file:/C:/Documents   and   Settings/admin/桌面/jboss-4.2.1.GA/server/default/conf/jboss-service.xml
org.jboss.deployment.DeploymentException:   -   nested   throwable:   (java.lang.reflect.UndeclaredThrowableException)
at   org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:196)
at   org.jboss.system.ServiceController.install(ServiceController.java:226)
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:597)
at   org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:1
at   org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at   org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at   org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at   org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at   org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at   $Proxy4.install(Unknown   Source)
at   org.jboss.deployment.SARDeployer.create(SARDeployer.java:249)
at   org.jboss.deployment.MainDeployer.create(MainDeployer.java:969)
at   org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:818)
at   org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
  相关解决方案