Uploaded image for project: 'Jackrabbit Content Repository'
  1. Jackrabbit Content Repository
  2. JCR-1692

jackrabbit exceptions on jboss shutdown

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: core 1.4.5
    • Fix Version/s: None
    • Component/s: jackrabbit-jca
    • Labels:
      None
    • Environment:
      Windows XP jboss 4.2.3 ... i've also tried on jboss 4.2.2 and jboss 5.0.0.CR1. using MySQL 5.0.5

      Description

      When deploying jackrabbit on jboss 4.2.4 using the JNDIDatabaseFileSystem with either the DefaultDS or a new one (jcrDS), and using the <depency> tag, jackrabbit throws exceptions on shutdown. looks like jboss is doing shutdown work after the jcrDS is removed from JNDI. is there any way to prevent this from happening?

      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
      16:18:31,811 INFO [TxConnectionManager] throwable from unregister connection
      java.lang.NullPointerException
      at org.jboss.resource.connectionmanager.TxConnectionManager$TxConnectionEventListener.connectionClosed(TxConnectionManager.java:637)
      at org.jboss.resource.adapter.jdbc.BaseWrapperManagedConnection.closeHandle(BaseWrapperManagedConnection.java:363)
      at org.jboss.resource.adapter.jdbc.WrappedConnection.close(WrappedConnection.java:155)
      at org.apache.jackrabbit.core.persistence.db.DatabasePersistenceManager.closeConnection(DatabasePersistenceManager.java:782)
      at org.apache.jackrabbit.core.persistence.db.DatabasePersistenceManager.close(DatabasePersistenceManager.java:261)
      at org.apache.jackrabbit.core.RepositoryImpl$WorkspaceInfo.doDispose(RepositoryImpl.java:1866)
      at org.apache.jackrabbit.core.RepositoryImpl$WorkspaceInfo.dispose(RepositoryImpl.java:1817)
      at org.apache.jackrabbit.core.RepositoryImpl.doShutdown(RepositoryImpl.java:987)
      at org.apache.jackrabbit.core.RepositoryImpl.shutdown(RepositoryImpl.java:941)
      at org.apache.jackrabbit.jca.JCARepositoryManager$Reference.shutdown(JCARepositoryManager.java:178)
      at org.apache.jackrabbit.jca.JCARepositoryManager.shutdown(JCARepositoryManager.java:86)
      at org.apache.jackrabbit.jca.JCAResourceAdapter.stop(JCAResourceAdapter.java:47)
      at org.jboss.resource.deployment.RARDeployment.stopService(RARDeployment.java:114)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalStop(ServiceMBeanSupport.java:315)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:247)
      at org.jboss.system.ServiceDynamicMBeanSupport.invoke(ServiceDynamicMBeanSupport.java:124)
      at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
      at $Proxy0.stop(Unknown Source)
      at org.jboss.system.ServiceController.stop(ServiceController.java:508)
      at sun.reflect.GeneratedMethodAccessor83.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
      at $Proxy39.stop(Unknown Source)
      at org.jboss.deployment.SimpleSubDeployerSupport.stopService(SimpleSubDeployerSupport.java:374)
      at org.jboss.deployment.SimpleSubDeployerSupport.stop(SimpleSubDeployerSupport.java:141)
      at org.jboss.deployment.MainDeployer.stop(MainDeployer.java:667)
      at org.jboss.deployment.MainDeployer.undeploy(MainDeployer.java:638)
      at org.jboss.deployment.MainDeployer.shutdown(MainDeployer.java:516)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      at org.jboss.system.server.ServerImpl$ShutdownHook.shutdownDeployments(ServerImpl.java:1058)
      at org.jboss.system.server.ServerImpl$ShutdownHook.shutdown(ServerImpl.java:1033)
      at org.jboss.system.server.ServerImpl$ShutdownHook.run(ServerImpl.java:996)
      16:18:31,811 INFO [TxConnectionManager] throwable from unregister connection

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              rhuddusa Richard Huddleston
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: