I'm working with jboss AS 6.1.0, two instances running in cluster.
Almost every time I deploy a new set of artifacts (in farm folder) i.e.:
1. Stop server 1, server 2.
2. Copy a new set of jars, wars,ears in farm folder.
3. Start server1, server 2.
When bringing up the second server, all the services from the first server (the master) are undeployed /stopped and
automatically started afterwards.
Subsequent restarts work fine.
Note: if I increased the scanPeriod to 300 of the HDScanner (in profile.xml under server instance /conf/bootstrap folder), see:
<bean name="ScanPeriod" class="org.jboss.profileservice.profile.metadata.plugin.ScanPeriod">
<property name="scanPeriod">300</property>
</bean>
the issue reoccurred less frequently.
I would appreciate any hints on how to troubleshoot this issue.