You got there first, thanks! :)
<!-- Handles persistence of metadata about clustered DeploymentRepository content
-->
<bean name="ClusteredDeploymentRepositoryMetadataPersister"
class="org.jboss.system.server.profileservice.repository.clustered.local.JAXBRepositoryContentMetadataPersister">
<constructor>
<!-- Here we use the constructor version that takes the Server impl and
uses it to find the data dir. You could alternatively use a version
that takes a URI or a File. -->
<parameter class="org.jboss.bootstrap.spi.Server"><inject
bean="JBossServer"/></parameter>
</constructor>
</bean>
Ales Justin wrote:
> It must be this?
Yes.
I've added more info + committed.
> server/all/conf/bootstrap/profile.xml
> ...
> <!-- Handles persistence of metadata about clustered
> DeploymentRepository content -->
> <bean name="ClusteredDeploymentRepositoryMetadataPersister"
>
>
class="org.jboss.system.server.profileservice.repository.clustered.local.JAXBRepositoryContentMetadataPersister">
>
> <constructor>
> <!-- Here we use the constructor version that takes the
> Server impl and
> uses it to find the data dir. You could alternatively
> use a version
> that takes a URI or a File. -->
> <parameter><inject
bean="JBossServer"/></parameter>
> </constructor>
> </bean>
>
> Ales Justin wrote:
>> It might be again due to lack of info on which ctor to use.
>> And since the ctor order is pretty much random,
>> it looks like you get the wrong one - which still matches the no-info
>> info. :-)
>>
>> See if you can add extra info to ctor in -jboss-beans.xml in which
>> this bean is specified.