2012-02-23 15 views
0

私はJboss 5.0.0GA-jdk6をインストールしました... "run.bat"(binフォルダ内)を実行してjbossを起動しようとしているうちに、次のエラーが発生しています。 ?示したようクイックフィックスコンストラクタのパラメータにタイプ「クラス= java.io.Fileの」を追加するためにprofile.xmlですJBOSS 5.0 Starting Error

にバグがあり

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

答えて

2

<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.のバグがあります.jreフォルダ内のjboss設定ファイルにjre 6を追加する必要があります。

0

jboss 5.0.0.GAにはIBMV9 jdkが必要です。

だから、代わりにjboss 4.3.2.GAを使うことができます。それはjdk 6とjdk 7と互換性があります。

関連する問題