Can't find the discussion thread, sorry.
Again, my point is why not printing a warning and choosing a temporary id?
Sure, it may not make perfect sense (as with other services in jboss) that need proper
configuration, but it'll let the server gracefully complete the booting sequence.
At this point the Post Office is the only service that complains when trying to create an
instant cluster by forking the all configuration, either for demo or testing purposes:
| 13:11:33,796 ERROR [ProfileServiceBootstrap] Failed to load profile: Summary of
| incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
|
| *** CONTEXTS MISSING DEPENDENCIES: Name -> Dependency{Required State:Actual Stat
| e}
|
| jboss.messaging.connectionfactory:service=ClusterPullConnectionFactory
| -> jboss.messaging:service=PostOffice{Start:**ERROR**}
| -> jboss.messaging:service=PostOffice{Create:**ERROR**}
|
| jboss.messaging.connectionfactory:service=ClusteredConnectionFactory
| -> jboss.messaging:service=PostOffice{Start:**ERROR**}
| -> jboss.messaging:service=PostOffice{Create:**ERROR**}
|
| jboss.messaging.connectionfactory:service=ConnectionFactory
| -> jboss.messaging:service=PostOffice{Start:**ERROR**}
| -> jboss.messaging:service=PostOffice{Create:**ERROR**}
|
| jboss.messaging.destination:name=DLQ,service=Queue
| -> jboss.messaging:service=PostOffice{Create:**ERROR**}
| -> jboss.messaging:service=PostOffice{Start:**ERROR**}
|
| jboss.messaging.destination:name=ExpiryQueue,service=Queue
| -> jboss.messaging:service=PostOffice{Create:**ERROR**}
| -> jboss.messaging:service=PostOffice{Start:**ERROR**}
|
|
| *** CONTEXTS IN ERROR: Name -> Error
|
| jboss.messaging:service=PostOffice -> java.lang.IllegalArgumentException: Cannot
| start post office since there is already a post office in the cluster with the
| same node id (0). Are you sure you have given each node a unique node id during
| installation?
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125474#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...