You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@jackrabbit.apache.org by Richard Huddleston <rh...@gmail.com> on 2008/07/25 22:27:10 UTC

jboss shutdown and jackrabbit

i'm getting an exception when shutting down jackrabbit 1.4 on jboss
4.2.3.  I'm using the
org.apache.jackrabbit.core.fs.db.JNDIDatabaseFileSystem and the
problem is, when jboss shuts down it unbinds the datasource BEFORE
jackrabbit does its shutdown.

what is the proper configuration for jackrabbit on jboss to get it to
shutdown correctly?

I'm using jcrDS for the jackrabbit file system.

16:18:31,780 INFO  [ConnectionFactoryBindingService] Unbound
ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS'
from JNDI name 'java:DefaultDS'
16:18:31,795 INFO  [ConnectionFactoryBindingService] Unbound
ConnectionManager
'jboss.jca:service=ConnectionFactoryBinding,name=jcr/local' from JNDI
name 'java:jcr/local'
16:18:31,795 INFO  [ConnectionFactoryBindingService] Unbound
ConnectionManager 'jboss.jca:service=DataSourceBinding,name=jcrDS'
from JNDI name 'java:jcrDS'
16:18:31,795 INFO  [QuartzScheduler] Scheduler
DefaultQuartzScheduler_$_NON_CLUSTERED shutting down.
16:18:31,795 INFO  [QuartzScheduler] Scheduler
DefaultQuartzScheduler_$_NON_CLUSTERED paused.
16:18:31,795 INFO  [SimpleThreadPool] There are still 35 worker
threads active. See javadoc runInThread(Runnable) for a possible
explanation
16:18:31,795 INFO  [QuartzScheduler] Scheduler
DefaultQuartzScheduler_$_NON_CLUSTERED shutdown complete.
16:18:31,811 INFO  [RepositoryImpl] Shutting down repository...
16:18:31,811 INFO  [IndexMerger] IndexMerger terminated
16:18:31,811 INFO  [SearchIndex] Index closed:
R:\Temp\/jackrabbit/repository/index
16:18:31,811 INFO  [RepositoryImpl] shutting down workspace 'default'...
16:18:31,811 INFO  [ObservationDispatcher] Notification of
EventListeners stopped.
16:18:31,811 INFO  [IndexMerger] IndexMerger terminated
16:18:31,811 INFO  [SearchIndex] Index closed:
R:\Temp\jackrabbit\workspaces\default/index
... then exceptions happen