jboss6的一个bug(官方已经发布解决方案)
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:
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):
https://issues.jboss.org/browse/JBAS-6981