When doing a shutdown of JBoss 5 I see the following issue with Jackrabbit.
11:26:29,207 INFO [ConnectionFactoryBindingService] Unbound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' from JNDI name 'java:DefaultDS' 11:26:29,207 INFO [RepositoryImpl] Shutting down repository... 11:26:29,222 INFO [IndexMerger] IndexMerger terminated 11:26:29,222 INFO [SearchIndex] Index closed: R:\Temp\/jackrabbit5/repository/index 11:26:29,222 INFO [RepositoryImpl] shutting down workspace 'default'... 11:26:29,222 INFO [ObservationDispatcher] Notification of EventListeners stopped. 11:26:29,222 INFO [IndexMerger] IndexMerger terminated 11:26:29,238 INFO [SearchIndex] Index closed: R:\Temp\jackrabbit5\workspaces\default/index 11:26:29,253 INFO [TxConnectionManager] throwable from unregister connection >>> THEN TERRIBLE LOG MESSAGES I'm using the DefaultDS for jackrabbit persistence / filesystem. As you can see, JBoss is unbinding the DefaultDS before the shutdown of jackrabbit. I have already added the following line to my jcr-ds.xml: <depends>jboss.jca:service=DataSourceBinding,name=DefaultDS</depends> which correctly starts jackrabbit after the DefaultDS is bound: Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS' Why is this happening and how can I fix it?
