Details
Type: Bug
Status: Resolved
Priority: Major
Resolution: Done
Affects Version/s:
JBossAS-5.1.0.GA
Fix Version/s:
6.0.0.M1
Component/s:
ProfileService
Security Level: Public (Everyone can see)
Labels:
None
JBoss Forum Reference:
http://www.jboss.org/index.html?module=bb&op=viewtopic&t=156075
Similar Issues:
Powered by SuggestiMate
Hide
JBAS-7856 parameter element missing value in profile.xml
JBAS-6941 consistency between XSD, propOrder and XML in the MC
JBAS-3353 Add support for jmx-depends to mc bean deployer
JBAS-8279 @Inject constructor on session bean does not work
JBAS-7596 Microcontainer does not always choose the right constructor when creating ModClusterService
JBAS-683 isIdentical on entity bean does not check type of bean
JBAS-7383 I can't excute run.bat -c all on Windows 2008 R2 x64
JBAS-7570 Have CacheManager use JBC to parse configs rather than creating MC beans
JBAS-8605 Add support for legacy MC configuration
JBAS-6829 Use a custom XML type for service binding configuration
Description
The profile.xml has this configuration for AttachmentStore:
<bean name="AttachmentStore" class="org.jboss.system.server.profileservice.repository.AbstractAttachmentStore">
<constructor><parameter><inject bean="BootstrapProfileFactory" property="attachmentStoreRoot" /></parameter></constructor>
....
However, there are multiple constructors available for org.jboss.system.server.profileservice.repository.AbstractAttachmentStore. MC randomly picks up one of the available constructors and this can lead to exceptions as noted in the referenced forum thread.
The fix is to provide the parameter type for the constructor in the MC bean configuration (note the use of class="java,io.File" for the constructor parameter):
<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
分享到:
相关推荐
官方发布的Jboss解决方案 REDHat公司2010年度最新资料
由此可见这是一个本版本的bug,说是要在后期修复的。但是为中间升级风险很大,很多业务都是基于老版本的开发的,为了稳妥,我想肯定有人不用通过升级已经解决了此问题。 灯火阑珊处,发现了答案: 1. Please make ...
直市场解决方案(VMS)是NAVTEQ公司中的一个机构,负责为客户提供定制的解决方案,包括移动门户和导航系统。这些解决方案中包含了NAVTEQ 公司提供的服务以及第三方服务,以客户要求的方式交付组合服务和内容,这些...
NULL 博文链接:https://caco.iteye.com/blog/433425
JBOSS EAP6安装部署手册 windows平台
JBoss是纯Java的Web应用服务器,为了保证JBoss服务器的正常运行,在安装JBoss之前首先要确保系统 已经安装了JDK。可以从http://labs.jboss.com/jbossas/downloads/ 下载最新JBoss应用服务器,本章选用JBoss 4.2.2.GA...
Jboss5官方源代码第一部分,由于大小只能分几部分
Window->Preferences->MyEclipse->Servers/JBoss/JBoss 5.x/JDK,点击添加按钮,添加一个匹配的JRE 7.重新启动myeclipse 8.更改jboss端口,由于tomcat默认也为8080,避免冲突,修改文件D:\jboss-5.1.0.GA\...
最近项目需要使用jboss-eap-4.3,因此下载了一个安装试试。 安装完运行run.bat启动,然后登陆http://localhost:8080/web-console/,弹出登录对话框,奇怪的是,无论输入什么用户名和密码,admin=admin也好,空也好...
JBOSS,JBoss安装部署 JBOSS,JBoss安装部署
JBoss启动JBoss启动JBoss启动JBoss启动JBoss启动JBoss启动JBoss启动JBoss启动 JBoss启动
way to start a JBoss server cluster is to start several JBoss instances on the same local network, using the run -c all command for each instance. Those server instances, all started in the all ...
jboss6下使用quartz两种方法,详细方法见内容
jboss漏洞和struts漏洞的详细解决方法
jboss-5.0.0.GA 官方正式版
myeclipse 远程调试jboss as7或者jboss eap6,包括windows运行环境和linux运行环境分别介绍,同时jboss as7和jboss eap6的配置也有所不同。
Jboss 7官方配置,部署手册。稀有资料走过路过不要错过!
Jboss项目部署文档