cuiyi's blog(崔毅 crazycy)

          記錄點滴 鑒往事之得失 以資于發展
          數據加載中……

          JBoss5 cannot start on Java8: JBOSS Deployment "AttachmentStore" is in error

          08:56:58,713 INFO  [JMXKernel] Legacy JMX core initialized
          08:56:59,300 ERROR [AbstractKernelController] Error installing to Instantiated:name=AttachmentStore state=Described
          java.lang.IllegalArgumentException: Wrong arguments. new for target java.lang.reflect.Constructor expected=[java.net.URI] actual=[java.io.File]
                  at org.jboss.reflect.plugins.introspection.ReflectionUtils.handleErrors(ReflectionUtils.java:395)
                  at org.jboss.reflect.plugins.introspection.ReflectionUtils.newInstance(ReflectionUtils.java:153)
                  at org.jboss.reflect.plugins.introspection.ReflectConstructorInfoImpl.newInstance(ReflectConstructorInfoImpl.java:106)
                  at org.jboss.joinpoint.plugins.BasicConstructorJoinPoint.dispatch(BasicConstructorJoinPoint.java:80)
                  at org.jboss.aop.microcontainer.integration.AOPConstructorJoinpoint.createTarget(AOPConstructorJoinpoint.java:282)
                  at org.jboss.aop.microcontainer.integration.AOPConstructorJoinpoint.dispatch(AOPConstructorJoinpoint.java:103)
                  at org.jboss.kernel.plugins.dependency.KernelControllerContextAction$JoinpointDispatchWrapper.execute(KernelControllerContextAction.java:241)
                  at org.jboss.kernel.plugins.dependency.ExecutionWrapper.execute(ExecutionWrapper.java:47)
                  at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchExecutionWrapper(KernelControllerContextAction.java:109)
                  at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchJoinPoint(KernelControllerContextAction.java:70)
                  at org.jboss.kernel.plugins.dependency.InstantiateAction.installActionInternal(InstantiateAction.java:66)
                  at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:54)
                  at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:42)
                  at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
                  at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
                  at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
                  at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
                  at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
                  at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
                  at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
                  at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
                  at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:774)
                  at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:540)
                  at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deployBean(AbstractKernelDeployer.java:319)
                  at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deployBeans(AbstractKernelDeployer.java:297)
                  at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deploy(AbstractKernelDeployer.java:130)
                  at org.jboss.kernel.plugins.deployment.BasicKernelDeployer.deploy(BasicKernelDeployer.java:76)
                  at org.jboss.bootstrap.microcontainer.TempBasicXMLDeployer.deploy(TempBasicXMLDeployer.java:91)
                  at org.jboss.bootstrap.microcontainer.TempBasicXMLDeployer.deploy(TempBasicXMLDeployer.java:161)
                  at org.jboss.bootstrap.microcontainer.ServerImpl.doStart(ServerImpl.java:138)
                  at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:450)
                  at org.jboss.Main.boot(Main.java:221)
                  at org.jboss.Main$1.run(Main.java:556)
                  at java.lang.Thread.run(Thread.java:745)
          Failed to boot JBoss:
          java.lang.IllegalStateException: Incompletely deployed:

          DEPLOYMENTS IN ERROR:
            Deployment "AttachmentStore" is in error due to: java.lang.IllegalArgumentExce
          ption: Wrong arguments. new for target java.lang.reflect.Constructor expected=[j
          ava.net.URI] actual=[java.io.File]

          DEPLOYMENTS MISSING DEPENDENCIES:
            Deployment "ProfileService" is missing the following dependencies:
              Dependency "ProfileServiceDeployer" (should be in state "Installed", but is actually in state "Instantiated")
              Dependency "jboss.kernel:service=KernelController" (should be in state "Installed", but is actually in state "**ERROR**")
            Deployment "ProfileServiceBootstrap" is missing the following dependencies:
              Dependency "jboss.kernel:service=Kernel" (should be in state "Installed", but is actually in state "**ERROR**")
              Dependency "ProfileService" (should be in state "Installed", but is actually in state "Instantiated")
            Deployment "ProfileServiceDeployer" is missing the following dependencies:
              Dependency "AttachmentStore" (should be in state "Installed", but is actually in state "**ERROR**")
            Deployment "ProfileServicePersistenceDeployer" is missing the following dependencies:
              Dependency "AttachmentStore" (should be in state "Installed", but is actually in state "**ERROR**")

                  at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.internalValidate(AbstractKernelDeployer.java:278)
                  at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.validate(AbstractKernelDeployer.java:174)
                  at org.jboss.bootstrap.microcontainer.ServerImpl.doStart(ServerImpl.java:142)
                  at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:450)
                  at org.jboss.Main.boot(Main.java:221)
                  at org.jboss.Main$1.run(Main.java:556)
                  at java.lang.Thread.run(Thread.java:745)
          08:56:59,519 INFO  [ServerImpl] Runtime shutdown hook called, forceHalt: true
          08:56:59,521 INFO  [ServerImpl] Shutdown complete
          Shutdown complete
          Halting VM
          Press any key to continue . . .

          解決方案

          change the content of conf/bootstrap/profile.xml.
          Look for the definition of the AttachmentStore, and change the constructor line so that it starts:

          <constructor><parameter class="java.io.File">

          The original version doesn't have the class="java.io.File" attribute.

          posted on 2014-10-15 09:00 crazycy 閱讀(1109) 評論(0)  編輯  收藏


          只有注冊用戶登錄后才能發表評論。


          網站導航:
           
          主站蜘蛛池模板: 登封市| 金堂县| 兴义市| 清苑县| 曲阳县| 岳阳市| 开鲁县| 湖北省| 岚皋县| 新民市| 云浮市| 武定县| 延边| 措美县| 元氏县| 屏边| 铁力市| 平遥县| 昌平区| 承德市| 新竹市| 玛曲县| 东安县| 通辽市| 肃宁县| 衡阳市| 临泉县| 天峻县| 县级市| 页游| 舞钢市| 疏附县| 盱眙县| 昭苏县| 农安县| 年辖:市辖区| 合作市| 常德市| 江油市| 濉溪县| 招远市|