[jboss-jira] [JBoss JIRA] Assigned: (JBAS-6981) AttachmentStore MC bean (org.jboss.system.server.profileservice.repository.AbstractAttachmentStore) configuration does not specify the parameter type for constructor

Emanuel Muckenhuber (JIRA) jira-events at lists.jboss.org
Wed May 27 08:40:59 EDT 2009


     [ https://jira.jboss.org/jira/browse/JBAS-6981?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emanuel Muckenhuber reassigned JBAS-6981:
-----------------------------------------

    Assignee: Emanuel Muckenhuber  (was: Scott M Stark)


> AttachmentStore MC bean (org.jboss.system.server.profileservice.repository.AbstractAttachmentStore) configuration does not specify the parameter type for constructor
> ---------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: JBAS-6981
>                 URL: https://jira.jboss.org/jira/browse/JBAS-6981
>             Project: JBoss Application Server
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: ProfileService
>    Affects Versions: JBossAS-5.1.0.GA
>            Reporter: jaikiran pai
>            Assignee: Emanuel Muckenhuber
>
> 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>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list