安装jboss-5.1.0.GA之后启动出现的错误信息及解决方法
来源:互联网 发布:2016司令部升级数据 编辑:程序博客网 时间:2024/05/16 08:48
1.错误信息如下:
Calling C:\ProgramFiles\jboss-5.1.0.GA\bin\run.conf.bat
===============================================================================
JBoss Bootstrap Environment
JBOSS_HOME: C:\ProgramFiles\jboss-5.1.0.GA
JAVA: C:\ProgramFiles\Java\jdk1.7.0_07\bin\java
JAVA_OPTS: -Dprogram.name=run.bat -Xms128M -Xmx512M -XX:MaxPermSize=256M -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Dorg.jboss.resolver.warni
ng=true -server
CLASSPATH: C:\ProgramFiles\jboss-5.1.0.GA\bin\run.jar
===============================================================================
20:52:01,934 INFO [ServerImpl] Starting JBoss (Microcontainer)...
20:52:01,936 INFO [ServerImpl] Release ID: JBoss [The Oracle] 5.1.0.GA (build: SVNTag=JBoss_5_1_0_GA date=200905221634)
20:52:01,937 INFO [ServerImpl] Bootstrap URL: null
20:52:01,937 INFO [ServerImpl] Home Dir: C:\ProgramFiles\jboss-5.1.0.GA
20:52:01,938 INFO [ServerImpl] Home URL: file:/C:/ProgramFiles/jboss-5.1.0.GA/
20:52:01,938 INFO [ServerImpl] Library URL: file:/C:/ProgramFiles/jboss-5.1.0.GA/lib/
20:52:01,940 INFO [ServerImpl] Patch URL: null
20:52:01,940 INFO [ServerImpl] Common Base URL: file:/C:/ProgramFiles/jboss-5.1.0.GA/common/
20:52:01,941 INFO [ServerImpl] Common Library URL: file:/C:/ProgramFiles/jboss-5.1.0.GA/common/lib/
20:52:01,941 INFO [ServerImpl] Server Name: default
20:52:01,941 INFO [ServerImpl] Server Base Dir: C:\ProgramFiles\jboss-5.1.0.GA\server
20:52:01,942 INFO [ServerImpl] Server Base URL: file:/C:/ProgramFiles/jboss-5.1.0.GA/server/
20:52:01,942 INFO [ServerImpl] Server Config URL: file:/C:/ProgramFiles/jboss-5.1.0.GA/server/default/conf/
20:52:01,943 INFO [ServerImpl] Server Home Dir: C:\ProgramFiles\jboss-5.1.0.GA\server\default
20:52:01,943 INFO [ServerImpl] Server Home URL: file:/C:/ProgramFiles/jboss-5.1.0.GA/server/default/
20:52:01,944 INFO [ServerImpl] Server Data Dir: C:\ProgramFiles\jboss-5.1.0.GA\server\default\data
20:52:01,944 INFO [ServerImpl] Server Library URL: file:/C:/ProgramFiles/jboss-5.1.0.GA/server/default/lib/
20:52:01,945 INFO [ServerImpl] Server Log Dir: C:\ProgramFiles\jboss-5.1.0.GA\server\default\log
20:52:01,946 INFO [ServerImpl] Server Native Dir: C:\ProgramFiles\jboss-5.1.0.GA\server\default\tmp\native
20:52:01,946 INFO [ServerImpl] Server Temp Dir: C:\ProgramFiles\jboss-5.1.0.GA\server\default\tmp
20:52:01,947 INFO [ServerImpl] Server Temp Deploy Dir: C:\ProgramFiles\jboss-5.1.0.GA\server\default\tmp\deploy
20:52:03,180 INFO [ServerImpl] Starting Microcontainer, bootstrapURL=file:/C:/ProgramFiles/jboss-5.1.0.GA/server/default/conf/bootstrap.xml
20:52:04,146 INFO [VFSCacheFactory] Initializing VFSCache [org.jboss.virtual.plugins.cache.CombinedVFSCache]
20:52:04,151 INFO [VFSCacheFactory] Using VFSCache [CombinedVFSCache[real-cache: null]]
20:52:04,625 INFO [CopyMechanism] VFS temp dir: C:\ProgramFiles\jboss-5.1.0.GA\server\default\tmp
20:52:04,626 INFO [ZipEntryContext] VFS force nested jars copy-mode is enabled.
20:52:06,814 INFO [ServerInfo] Java version: 1.7.0_07,Oracle Corporation
20:52:06,815 INFO [ServerInfo] Java Runtime: Java(TM) SE Runtime Environment (build 1.7.0_07-b11)
20:52:06,817 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM 23.3-b01,Oracle Corporation
20:52:06,820 INFO [ServerInfo] OS-System: Windows 7 6.1,x86
20:52:06,834 INFO [ServerInfo] VM arguments: -Dprogram.name=run.bat -Xms128M -Xmx512M -XX:MaxPermSize=256M -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3
600000 -Dorg.jboss.resolver.warning=true -Djava.endorsed.dirs=C:\ProgramFiles\jboss-5.1.0.GA\lib\endorsed
20:52:06,900 INFO [JMXKernel] Legacy JMX core initialized
20:52:10,285 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:722)
Failed to boot JBoss:
java.lang.IllegalStateException: Incompletely deployed:
DEPLOYMENTS IN ERROR:
Deployment "AttachmentStore" is in error due to: java.lang.IllegalArgumentException: Wrong arguments. new for target java.lang.reflect.Constructor expected=[java.net.URI] actual=[
java.io.File]
DEPLOYMENTS MISSING DEPENDENCIES:
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 "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 "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:722)
20:52:11,562 INFO [ServerImpl] Runtime shutdown hook called, forceHalt: true
20:52:11,572 INFO [ServerImpl] Shutdown complete
Shutdown complete
Halting VM
请按任意键继续. . .
2.解决方法
2.1找到C:\ProgramFiles\jboss-5.1.0.GA\server\default\conf\bootstrap下的profile.xml文件,把
<!-- The attachment store -->
<bean name="AttachmentStore" class="org.jboss.system.server.profileservice.repository.AbstractAttachmentStore">
<constructor><parameter ><inject bean="BootstrapProfileFactory" property="attachmentStoreRoot" /></parameter></constructor>
<property name="mainDeployer"><inject bean="MainDeployer" /></property>
<property name="serializer"><inject bean="AttachmentsSerializer" /></property>
<property name="persistenceFactory"><inject bean="PersistenceFactory" /></property>
</bean>
修改为
<!-- The attachment store -->
<bean name="AttachmentStore" class="org.jboss.system.server.profileservice.repository.AbstractAttachmentStore">
<constructor><parameter class="java.io.File"><inject bean="BootstrapProfileFactory" property="attachmentStoreRoot" /></parameter></constructor>
<property name="mainDeployer"><inject bean="MainDeployer" /></property>
<property name="serializer"><inject bean="AttachmentsSerializer" /></property>
<property name="persistenceFactory"><inject bean="PersistenceFactory" /></property>
</bean>
其实也就改了一个地方:把 <constructor><parameter >改成了 <constructor><parameter class="java.io.File">
2.2保存profile.xml文件之后重启jboss服务,运行成功。如图所示:
- 安装jboss-5.1.0.GA之后启动出现的错误信息及解决方法
- JBoss 5.1.0.GA启动时报错
- jboss-5.1.0.GA 安装配置
- jboss-5.1.0.GA启动问题 AttachmentStore IllegalArgumentException
- Jboss 5.1.0.GA下载
- JBoss调优(jboss-5.1.0.GA)
- CentOS5.4安装jboss-5.1.0.GA-jdk6
- Jboss AS 4.0.4 GA安装启动问题
- Eclipse集成jboss-5.0.0.GA的时候出现的java.lang.LinkageError错误
- jboss-5.1.0.GA中端口配置
- jboss-5.1.0.GA-jdk6配置
- jboss-5.1.0.GA 端口修改
- IonicApp启动页面之后出现黑屏的解决方法
- JBoss的安装及安装过程出现的问题解决方案
- JBoss启动一闪而过的解决方法
- opencms在JBoss 5.x GA 下的安装
- 安装git之后,桌面出现蓝色问号的解决方法
- msn8.0安装之后启动无响应的解决方法
- vs2012 中 std::regex 竟然是线程不安全的
- Ogre粒子系统 以及 粒子脚本
- Mac上网络状况检测软件破解版
- s3c2440 Uboot 移值
- 三立
- 安装jboss-5.1.0.GA之后启动出现的错误信息及解决方法
- platform_device和platform_driver 流程简介---重要
- Vim改装成一个IDE
- tar 命令参数 详解
- UML类图理解【转】
- 内存泄露与检查 1
- 求二叉树深度《转》
- awesomeplayer 数据流
- 内存泄露与检查 2