2012-02-23 78 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兼容。