51Testing软件测试论坛

标题: Jboss运行就报错了 :( [打印本页]

作者: anglix    时间: 2007-12-3 16:28
标题: Jboss运行就报错了 :(
我下载jboss-5.0.0.Beta2版本,Win2003sp2系统,安装了E:\jdk1.6.0_01,设置了JAVA_HOME和JBOSS_HOME,运行Jboss\bin目录下的Run就报错了:
  1. ===============================================================================

  2.   JBoss Bootstrap Environment

  3.   JBOSS_HOME: E:\jboss-5.0.0.Beta2

  4.   JAVA: E:\jdk1.6.0_01\bin\java

  5.   JAVA_OPTS:  -Dprogram.name=run.bat -server -Xms128m -Xmx512m -XX:MaxPermSize=2
  6. 56m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600
  7. 000

  8.   CLASSPATH: E:\jdk1.6.0_01\lib\tools.jar;E:\jboss-5.0.0.Beta2\bin\run.jar

  9. ===============================================================================

  10. 15:39:21,343 INFO  [ServerImpl] Starting JBoss (Microcontainer)...
  11. 15:39:21,343 INFO  [ServerImpl] Release ID: JBoss [Morpheus] 5.0.0.Beta2 (build:
  12. SVNTag=JBoss_5_0_0_Beta2 date=200704060017)
  13. 15:39:21,343 INFO  [ServerImpl] Home Dir: E:\jboss-5.0.0.Beta2
  14. 15:39:21,343 INFO  [ServerImpl] Home URL: file:/E:/jboss-5.0.0.Beta2/
  15. 15:39:21,343 INFO  [ServerImpl] Library URL: file:/E:/jboss-5.0.0.Beta2/lib/
  16. 15:39:21,343 INFO  [ServerImpl] Patch URL: null
  17. 15:39:21,343 INFO  [ServerImpl] Server Name: default
  18. 15:39:21,343 INFO  [ServerImpl] Server Home Dir: E:\jboss-5.0.0.Beta2\server\def
  19. ault
  20. 15:39:21,359 INFO  [ServerImpl] Server Home URL: file:/E:/jboss-5.0.0.Beta2/serv
  21. er/default/
  22. 15:39:21,359 INFO  [ServerImpl] Server Data Dir: E:\jboss-5.0.0.Beta2\server\def
  23. ault\data
  24. 15:39:21,359 INFO  [ServerImpl] Server Temp Dir: E:\jboss-5.0.0.Beta2\server\def
  25. ault\tmp
  26. 15:39:21,375 INFO  [ServerImpl] Server Config URL: file:/E:/jboss-5.0.0.Beta2/se
  27. rver/default/conf/
  28. 15:39:21,375 INFO  [ServerImpl] Server Library URL: file:/E:/jboss-5.0.0.Beta2/s
  29. erver/default/lib/
  30. 15:39:21,375 INFO  [ServerImpl] Root Deployment Filename: jboss-service.xml
  31. 15:39:21,437 INFO  [ServerImpl] Starting Microcontainer, bootstrapURL=file:/E:/j
  32. boss-5.0.0.Beta2/server/default/conf/bootstrap-beans.xml
  33. 15:39:22,968 INFO  [ProfileImpl] Using profile root:E:\jboss-5.0.0.Beta2\server\
  34. default
  35. 15:39:24,812 ERROR [AbstractKernelController] Error installing to Instantiated:
  36. name=DeploymentFilter state=Described
  37. java.lang.IllegalStateException: Class not found: [Ljava.lang.String;
  38.         at org.jboss.metadata.spi.signature.Signature.stringsToClasses(Signature
  39. .java:174)
  40.         at org.jboss.metadata.spi.signature.Signature.stringsToClasses(Signature
  41. .java:125)
  42.         at org.jboss.metadata.spi.signature.Signature.getParametersTypes(Signatu
  43. re.java:292)
  44.         at org.jboss.metadata.plugins.loader.reflection.AnnotatedElementMetaData
  45. Loader.getComponentMetaDataRetrieval(AnnotatedElementMetaDataLoader.java:138)
  46.         at org.jboss.metadata.plugins.context.AbstractMetaDataContext.getCompone
  47. ntMetaDataRetrieval(AbstractMetaDataContext.java:280)
  48.         at org.jboss.metadata.spi.retrieval.MetaDataRetrievalToMetaDataBridge.ge
  49. tComponentMetaData(MetaDataRetrievalToMetaDataBridge.java:159)
  50.         at org.jboss.aop.microcontainer.integration.AOPConstructorJoinpoint.meth
  51. odHasAnnotations(AOPConstructorJoinpoint.java:202)
  52.         at org.jboss.aop.microcontainer.integration.AOPConstructorJoinpoint.hasM
  53. ethodMetaData(AOPConstructorJoinpoint.java:172)
  54.         at org.jboss.aop.microcontainer.integration.AOPConstructorJoinpoint.hasI
  55. nstanceOrJoinpointMetaData(AOPConstructorJoinpoint.java:152)
  56.         at org.jboss.aop.microcontainer.integration.AOPConstructorJoinpoint.disp
  57. atch(AOPConstructorJoinpoint.java:99)
  58.         at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dis
  59. patchJoinPoint(KernelControllerContextAction.java:103)
  60.         at org.jboss.kernel.plugins.dependency.InstantiateAction.installActionIn
  61. ternal(InstantiateAction.java:52)
  62.         at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.ins
  63. tallAction(KernelControllerContextAction.java:197)
  64.         at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.ins
  65. tall(KernelControllerContextAction.java:136)
  66.         at org.jboss.dependency.plugins.AbstractControllerContextActions.install
  67. (AbstractControllerContextActions.java:51)
  68.         at org.jboss.dependency.plugins.AbstractControllerContext.install(Abstra
  69. ctControllerContext.java:233)
  70.         at org.jboss.dependency.plugins.AbstractController.install(AbstractContr
  71. oller.java:724)
  72.         at org.jboss.dependency.plugins.AbstractController.incrementState(Abstra
  73. ctController.java:445)
  74.         at org.jboss.dependency.plugins.AbstractController.resolveContexts(Abstr
  75. actController.java:555)
  76.         at org.jboss.dependency.plugins.AbstractController.resolveContexts(Abstr
  77. actController.java:489)
  78.         at org.jboss.dependency.plugins.AbstractController.install(AbstractContr
  79. oller.java:289)
  80.         at org.jboss.dependency.plugins.AbstractController.install(AbstractContr
  81. oller.java:192)
  82.         at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deployBean
  83. (AbstractKernelDeployer.java:302)
  84.         at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deployBean
  85. s(AbstractKernelDeployer.java:272)
  86.         at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deploy(Abs
  87. tractKernelDeployer.java:119)
  88.         at org.jboss.kernel.plugins.deployment.BasicKernelDeployer.deploy(BasicK
  89. ernelDeployer.java:64)
  90.         at org.jboss.kernel.plugins.deployment.xml.BasicXMLDeployer.deploy(Basic
  91. XMLDeployer.java:76)
  92.         at org.jboss.kernel.plugins.deployment.xml.BasicXMLDeployer.deploy(Basic
  93. XMLDeployer.java:146)
  94.         at org.jboss.system.server.profileservice.ProfileServiceBootstrap.deploy
  95. (ProfileServiceBootstrap.java:295)
  96.         at org.jboss.system.server.profileservice.ProfileServiceBootstrap.bootst
  97. rap(ProfileServiceBootstrap.java:222)
  98.         at org.jboss.kernel.plugins.bootstrap.AbstractBootstrap.run(AbstractBoot
  99. strap.java:89)
  100.         at org.jboss.system.server.profileservice.ServerImpl.doStart(ServerImpl.
  101. java:403)
  102.         at org.jboss.system.server.profileservice.ServerImpl.start(ServerImpl.ja
  103. va:342)
  104.         at org.jboss.Main.boot(Main.java:210)
  105.         at org.jboss.Main$1.run(Main.java:522)
  106.         at java.lang.Thread.run(Thread.java:619)
  107. Caused by: java.lang.ClassNotFoundException: [Ljava.lang.String;
  108.         at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
  109.         at java.security.AccessController.doPrivileged(Native Method)
  110.         at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
  111.         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
  112.         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
  113.         at org.jboss.metadata.spi.signature.Signature.stringsToClasses(Signature
  114. .java:170)
  115.         ... 35 more
  116. 15:39:25,515 INFO  [ServerInfo] Java version: 1.6.0_01,Sun Microsystems Inc.
  117. 15:39:25,515 INFO  [ServerInfo] Java VM: Java HotSpot(TM) Server VM 1.6.0_01-b06
  118. ,Sun Microsystems Inc.
  119. 15:39:25,515 INFO  [ServerInfo] OS-System: Windows 2003 5.2,x86
  120. 15:39:25,609 INFO  [JMXKernel] Legacy JMX core initialized
  121. Failed to boot JBoss:
  122. java.lang.RuntimeException: Exception during Bootstrap
  123.         at org.jboss.kernel.plugins.bootstrap.AbstractBootstrap.run(AbstractBoot
  124. strap.java:99)
  125.         at org.jboss.system.server.profileservice.ServerImpl.doStart(ServerImpl.
  126. java:403)
  127.         at org.jboss.system.server.profileservice.ServerImpl.start(ServerImpl.ja
  128. va:342)
  129.         at org.jboss.Main.boot(Main.java:210)
  130.         at org.jboss.Main$1.run(Main.java:522)
  131.         at java.lang.Thread.run(Thread.java:619)
  132. Caused by: org.jboss.deployers.spi.IncompleteDeploymentException: Summary of inc
  133. omplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):

  134. *** CONTEXTS MISSING DEPENDENCIES: Name -> Dependency{Required State:Actual Stat
  135. e}

  136. VFSBootstrapScanner
  137. -> DeploymentFilter{Configured:**ERROR**}

  138. VFSDeployerScanner
  139. -> DeploymentFilter{Configured:**ERROR**}

  140. VFSDeploymentScanner
  141. -> DeploymentFilter{Configured:**ERROR**}


  142. *** CONTEXTS IN ERROR: Name -> Error

  143. DeploymentFilter -> java.lang.ClassNotFoundException: [Ljava.lang.String;


  144.         at org.jboss.system.server.profileservice.ProfileServiceBootstrap.checkI
  145. ncomplete(ProfileServiceBootstrap.java:389)
  146.         at org.jboss.system.server.profileservice.ProfileServiceBootstrap.bootst
  147. rap(ProfileServiceBootstrap.java:236)
  148.         at org.jboss.kernel.plugins.bootstrap.AbstractBootstrap.run(AbstractBoot
  149. strap.java:89)
  150.         ... 5 more
复制代码
请路过的大侠指点……
作者: anglix    时间: 2007-12-3 16:29
标题: 补充说明
本想用Jboss来运行QC,不知有没朋友可以说两句的  
作者: sohu-qa    时间: 2008-9-3 13:42
可能是环境变量设置的问题,因为它找不到某个类:
java.lang.IllegalStateException: Class not found: [Ljava.lang.String




欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/) Powered by Discuz! X3.2