Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/ruby-on-rails-4/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
JBOSS 5.0启动错误_Jboss - Fatal编程技术网

JBOSS 5.0启动错误

JBOSS 5.0启动错误,jboss,Jboss,我已经安装了JBoss5.0.0GA-jdk6。。。当试图通过运行“run.bat”(在bin文件夹中)来启动jboss时,我遇到了以下错误。。。我做错了什么 Failed to boot JBoss: java.lang.IllegalStateException: Incompletely deployed: *** DEPLOYMENTS IN ERROR: Name -> Error StandardBindings -> java.lang.Il

我已经安装了JBoss5.0.0GA-jdk6。。。当试图通过运行“run.bat”(在bin文件夹中)来启动jboss时,我遇到了以下错误。。。我做错了什么

 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 . . .

profile.xml中有一个bug

要快速修复问题,请将类型“class=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>


有关详细说明,请转到:

java版本不兼容存在错误。您应该将jre 6添加到jre文件夹下的jboss配置文件中。

jboss 5.0.0.GA需要IBMV9 jdk


因此,我们可以使用JBoss4.3.2.GA来代替。它与jdk 6和jdk 7兼容。

对于JBoss来说,一个方便的提示是:第一行包含错误级别的日志消息是一个很好的开始——这可能值得发布。