2012-02-23 79 views
0

我已经安装了Jboss 5.0.0GA-jdk6 ...当试图通过运行“run.bat”(在bin文件夹内)启动jboss时,我收到以下错误...我在做什么错误?JBOSS 5.0启动错误

Failed to boot JBoss: 
    java.lang.IllegalStateException: Incompletely deployed: 

    *** DEPLOYMENTS IN ERROR: Name -> Error 
    StandardBindings -> java.lang.IllegalArgumentException: Wrong arguments. new for 
    target java.lang.reflect.Constructor expected=[int] actual=[java.util.HashSet] 

    *** DEPLOYMENTS MISSING DEPENDENCIES: Name -> Dependency{Required State:Actual S 
    tate} 
    ServiceBindingManager -> ServiceBindingStore{Installed:Instantiated} 
    SystemPropertyBinder -> SystemPropertyBinder#1{Installed:Described} 
    SystemPropertyBinder#1 -> ServiceBindingManager{Installed:Described} 
    ServiceBindingStore -> StandardBindings{Installed:**ERROR**} 

      at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.internalVa 
    lidate(AbstractKernelDeployer.java:290) 
      at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.validate(A 
    bstractKernelDeployer.java:174) 
      at org.jboss.bootstrap.microcontainer.ServerImpl.doStart(ServerImpl.java 
    :148) 
      at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java: 
    394) 
      at org.jboss.Main.boot(Main.java:209) 
      at org.jboss.Main$1.run(Main.java:547) 
      at java.lang.Thread.run(Unknown Source) 
    15:05:41,329 INFO [ServerImpl] Runtime shutdown hook called, forceHalt: true 
    15:05:41,332 INFO [ServerImpl] Shutdown complete 
    Shutdown complete 
    Halting VM 
    Press any key to continue . . . 
+1

JBoss方便的提示:在ERROR级别包含日志消息的第一行是一个很好的开始 - 它可能值得发布。 – Rich 2012-02-23 12:11:21

回答

2

有一个在profile.xml配置

错误对于一个修复快速添加类型为“类= java.io.File中的”给构造函数的参数设置为显示:

<bean name="AttachmentStore" 
class="org.jboss.system.server.profileservice.repository.AbstractAttachmentStore"> 
<constructor><parameter class="java.io.File"><inject bean="BootstrapProfileFactory" 
    property="attachmentStoreRoot" /></parameter></constructor> 

有关详细说明,请访问:https://issues.jboss.org/browse/JBAS-6981

0

没有与java.You的不兼容版本的bug应该到JBoss配置文件的jre文件夹下添加JRE 6。

0

jboss 5.0.0.GA需要IBMV9 jdk。

所以我们可以使用jboss 4.3.2.GA代替。它与jdk 6和jdk 7兼容。