jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Müller" <thomas.muel...@day.com>
Subject Re: Jackrabbit + Mysql + Connection timeout
Date Wed, 06 Aug 2008 15:33:39 GMT
Hi,

It looks like the class
org.apache.jackrabbit.core.persistence.bundle.MySqlPersistenceManager
is not in the classpath. Could you check that you are using Jackrabbit
version 1.4, and you have all relevant jar files in the class path?
Please also ensure jar files of old versions are removed.

Regards,
Thomas

On Wed, Aug 6, 2008 at 7:45 AM, Enrico Drusiani
<edrusiani@zensistemi.com> wrote:
> Thomas Müller ha scritto:
>>
>> Hi,
>>
>>
>>>
>>> I've a web application that runs on jboss-4.2.2. with Hibernate and EJB3.
>>> I
>>> implemented the connection manager c3p0 for solving a problem of
>>> connection
>>> timeout with mysql database. now i've found out that jackrabbit has this
>>> problem too.
>>>
>>
>> In Jackrabbit 1.4, bundle persistence managers support auto-reconnect.
>> I suggest to use the
>> org.apache.jackrabbit.core.persistence.bundle.MySqlPersistenceManager
>> See also:
>> http://wiki.apache.org/jackrabbit/PersistenceManagerFAQ
>>
>> Regards,
>> Thomas
>>
>
> Thanks for your help, Thomas
>
> i've changed the PersistenceManager inside workspace.xml (i posted
> repository.xml on last email,sorry) to the one you suggested me from
> org.apache.jackrabbit.core.state.db.SimpleDbPersistenceManager. Now i get
> this error, seems like it's missing a jar, but i can't understand why. after
> all the SimpleDbPersistenceManager works fine and the jars are inside jboss
> as any other jar i'm using.
>
> Thanks in advance for any help
>
> Enrico
>
>
> 16:34:53,160 ERROR [RepositoryImpl] Failed to initialize workspace 'gedjcr'
> javax.jcr.RepositoryException: Cannot instantiate persistence manager
> org.apache.jackrabbit.core.persistence.bundle.MySqlPersistenceManager:
> Configured bean implementation class
> org.apache.jackrabbit.core.persistence.bundle.MySqlPersistenceManager was
> not found.: No ClassLoaders found for:
> org.apache.jackrabbit.core.persistence.bundle.MySqlPersistenceManager:
> Configured bean implementation class
> org.apache.jackrabbit.core.persistence.bundle.MySqlPersistenceManager was
> not found.: No ClassLoaders found for:
> org.apache.jackrabbit.core.persistence.bundle.MySqlPersistenceManager: No
> ClassLoaders found for:
> org.apache.jackrabbit.core.persistence.bundle.MySqlPersistenceManager
>   at
> org.apache.jackrabbit.core.RepositoryImpl.createPersistenceManager(RepositoryImpl.java:1179)
>   at
> org.apache.jackrabbit.core.RepositoryImpl.access$600(RepositoryImpl.java:103)
>   at
> org.apache.jackrabbit.core.RepositoryImpl$WorkspaceInfo.initialize(RepositoryImpl.java:1753)
>   at
> org.apache.jackrabbit.core.RepositoryImpl.initWorkspace(RepositoryImpl.java:592)
>   at
> org.apache.jackrabbit.core.RepositoryImpl.initStartupWorkspaces(RepositoryImpl.java:375)
>   at
> org.apache.jackrabbit.core.RepositoryImpl.<init>(RepositoryImpl.java:293)
>   at
> org.apache.jackrabbit.core.RepositoryImpl.create(RepositoryImpl.java:573)
>   at
> org.apache.jackrabbit.jca.JCARepositoryManager$Reference.create(JCARepositoryManager.java:167)
>   at
> org.apache.jackrabbit.jca.JCARepositoryManager.createRepository(JCARepositoryManager.java:75)
>   at
> org.apache.jackrabbit.jca.JCAManagedConnectionFactory.createRepository(JCAManagedConnectionFactory.java:276)
>   at
> org.apache.jackrabbit.jca.JCAManagedConnectionFactory.createConnectionFactory(JCAManagedConnectionFactory.java:124)
>   at
> org.jboss.resource.connectionmanager.ConnectionFactoryBindingService.createConnectionFactory(ConnectionFactoryBindingService.java:128)
>   at
> org.jboss.resource.connectionmanager.ConnectionFactoryBindingService.startService(ConnectionFactoryBindingService.java:65)
>   at
> org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
>   at
> org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
>   at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
>   at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>   at java.lang.reflect.Method.invoke(Method.java:585)
>   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.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
>   at $Proxy0.start(Unknown Source)
>   at org.jboss.system.ServiceController.start(ServiceController.java:417)
>   at org.jboss.system.ServiceController.start(ServiceController.java:435)
>   at org.jboss.system.ServiceController.start(ServiceController.java:435)
>   at org.jboss.system.ServiceController.start(ServiceController.java:435)
>   at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
>   at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>   at java.lang.reflect.Method.invoke(Method.java:585)
>   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 $Proxy4.start(Unknown Source)
>   at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
>   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:585)
>   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.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
>   at $Proxy39.start(Unknown Source)
>   at org.jboss.deployment.XSLSubDeployer.start(XSLSubDeployer.java:197)
>   at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
>   at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
>   at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
>   at sun.reflect.GeneratedMethodAccessor19.invoke(Unknown Source)
>   at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>   at java.lang.reflect.Method.invoke(Method.java:585)
>   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.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
>   at $Proxy8.deploy(Unknown Source)
>   at
> org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
>   at
> org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
>   at
> org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
>   at
> org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336)
>   at
> org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
>   at
> org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
>   at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
>   at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>   at java.lang.reflect.Method.invoke(Method.java:585)
>   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.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
>   at $Proxy0.start(Unknown Source)
>   at org.jboss.system.ServiceController.start(ServiceController.java:417)
>   at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
>   at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>   at java.lang.reflect.Method.invoke(Method.java:585)
>   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 $Proxy4.start(Unknown Source)
>   at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
>   at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
>   at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
>   at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
>   at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
>   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:585)
>   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.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
>   at $Proxy5.deploy(Unknown Source)
>   at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
>   at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
>   at org.jboss.Main.boot(Main.java:200)
>   at org.jboss.Main$1.run(Main.java:490)
>   at java.lang.Thread.run(Thread.java:595)
> Caused by: org.apache.jackrabbit.core.config.ConfigurationException:
> Configured bean implementation class
> org.apache.jackrabbit.core.persistence.bundle.MySqlPersistenceManager was
> not found.: No ClassLoaders found for:
> org.apache.jackrabbit.core.persistence.bundle.MySqlPersistenceManager: No
> ClassLoaders found for:
> org.apache.jackrabbit.core.persistence.bundle.MySqlPersistenceManager
>   at
> org.apache.jackrabbit.core.config.BeanConfig.newInstance(BeanConfig.java:114)
>   at
> org.apache.jackrabbit.core.RepositoryImpl.createPersistenceManager(RepositoryImpl.java:1174)
>   ... 121 more
> Caused by: java.lang.ClassNotFoundException: No ClassLoaders found for:
> org.apache.jackrabbit.core.persistence.bundle.MySqlPersistenceManager
>   at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:212)
>   at
> org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:511)
>   at
> org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:405)
>   at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>   at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
>   at java.lang.Class.forName0(Native Method)
>   at java.lang.Class.forName(Class.java:242)
>   at
> org.apache.jackrabbit.core.config.BeanConfig.newInstance(BeanConfig.java:100)
>   ... 122 more
> org.apache.jackrabbit.core.config.ConfigurationException: Configured bean
> implementation class
> org.apache.jackrabbit.core.persistence.bundle.MySqlPersistenceManager was
> not found.: No ClassLoaders found for:
> org.apache.jackrabbit.core.persistence.bundle.MySqlPersistenceManager: No
> ClassLoaders found for:
> org.apache.jackrabbit.core.persistence.bundle.MySqlPersistenceManager
>   at
> org.apache.jackrabbit.core.config.BeanConfig.newInstance(BeanConfig.java:114)
>   at
> org.apache.jackrabbit.core.RepositoryImpl.createPersistenceManager(RepositoryImpl.java:1174)
>   at
> org.apache.jackrabbit.core.RepositoryImpl.access$600(RepositoryImpl.java:103)
>   at
> org.apache.jackrabbit.core.RepositoryImpl$WorkspaceInfo.initialize(RepositoryImpl.java:1753)
>   at
> org.apache.jackrabbit.core.RepositoryImpl.initWorkspace(RepositoryImpl.java:592)
>   at
> org.apache.jackrabbit.core.RepositoryImpl.initStartupWorkspaces(RepositoryImpl.java:375)
>   at
> org.apache.jackrabbit.core.RepositoryImpl.<init>(RepositoryImpl.java:293)
>   at
> org.apache.jackrabbit.core.RepositoryImpl.create(RepositoryImpl.java:573)
>   at
> org.apache.jackrabbit.jca.JCARepositoryManager$Reference.create(JCARepositoryManager.java:167)
>   at
> org.apache.jackrabbit.jca.JCARepositoryManager.createRepository(JCARepositoryManager.java:75)
>   at
> org.apache.jackrabbit.jca.JCAManagedConnectionFactory.createRepository(JCAManagedConnectionFactory.java:276)
>   at
> org.apache.jackrabbit.jca.JCAManagedConnectionFactory.createConnectionFactory(JCAManagedConnectionFactory.java:124)
>   at
> org.jboss.resource.connectionmanager.ConnectionFactoryBindingService.createConnectionFactory(ConnectionFactoryBindingService.java:128)
>   at
> org.jboss.resource.connectionmanager.ConnectionFactoryBindingService.startService(ConnectionFactoryBindingService.java:65)
>   at
> org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
>   at
> org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
>   at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
>   at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>   at java.lang.reflect.Method.invoke(Method.java:585)
>   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.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
>   at $Proxy0.start(Unknown Source)
>   at org.jboss.system.ServiceController.start(ServiceController.java:417)
>   at org.jboss.system.ServiceController.start(ServiceController.java:435)
>   at org.jboss.system.ServiceController.start(ServiceController.java:435)
>   at org.jboss.system.ServiceController.start(ServiceController.java:435)
>   at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
>   at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>   at java.lang.reflect.Method.invoke(Method.java:585)
>   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 $Proxy4.start(Unknown Source)
>   at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
>   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:585)
>   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.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
>   at $Proxy39.start(Unknown Source)
>   at org.jboss.deployment.XSLSubDeployer.start(XSLSubDeployer.java:197)
>   at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
>   at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
>   at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
>   at sun.reflect.GeneratedMethodAccessor19.invoke(Unknown Source)
>   at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>   at java.lang.reflect.Method.invoke(Method.java:585)
>   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.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
>   at $Proxy8.deploy(Unknown Source)
>   at
> org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
>   at
> org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
>   at
> org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
>   at
> org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336)
>   at
> org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
>   at
> org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
>   at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
>   at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>   at java.lang.reflect.Method.invoke(Method.java:585)
>   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.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
>   at $Proxy0.start(Unknown Source)
>   at org.jboss.system.ServiceController.start(ServiceController.java:417)
>   at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
>   at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>   at java.lang.reflect.Method.invoke(Method.java:585)
>   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 $Proxy4.start(Unknown Source)
>   at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
>   at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
>   at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
>   at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
>   at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
>   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:585)
>   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.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
>   at $Proxy5.deploy(Unknown Source)
>   at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
>   at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
>   at org.jboss.Main.boot(Main.java:200)
>   at org.jboss.Main$1.run(Main.java:490)
>   at java.lang.Thread.run(Thread.java:595)
> Caused by: java.lang.ClassNotFoundException: No ClassLoaders found for:
> org.apache.jackrabbit.core.persistence.bundle.MySqlPersistenceManager
>   at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:212)
>   at
> org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:511)
>   at
> org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:405)
>   at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>   at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
>   at java.lang.Class.forName0(Native Method)
>   at java.lang.Class.forName(Class.java:242)
>   at
> org.apache.jackrabbit.core.config.BeanConfig.newInstance(BeanConfig.java:100)
>   ... 122 more
> java.lang.ClassNotFoundException: No ClassLoaders found for:
> org.apache.jackrabbit.core.persistence.bundle.MySqlPersistenceManager
>   at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:212)
>   at
> org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:511)
>   at
> org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:405)
>   at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>   at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
>   at java.lang.Class.forName0(Native Method)
>   at java.lang.Class.forName(Class.java:242)
>   at
> org.apache.jackrabbit.core.config.BeanConfig.newInstance(BeanConfig.java:100)
>   at
> org.apache.jackrabbit.core.RepositoryImpl.createPersistenceManager(RepositoryImpl.java:1174)
>   at
> org.apache.jackrabbit.core.RepositoryImpl.access$600(RepositoryImpl.java:103)
>   at
> org.apache.jackrabbit.core.RepositoryImpl$WorkspaceInfo.initialize(RepositoryImpl.java:1753)
>   at
> org.apache.jackrabbit.core.RepositoryImpl.initWorkspace(RepositoryImpl.java:592)
>   at
> org.apache.jackrabbit.core.RepositoryImpl.initStartupWorkspaces(RepositoryImpl.java:375)
>   at
> org.apache.jackrabbit.core.RepositoryImpl.<init>(RepositoryImpl.java:293)
>   at
> org.apache.jackrabbit.core.RepositoryImpl.create(RepositoryImpl.java:573)
>   at
> org.apache.jackrabbit.jca.JCARepositoryManager$Reference.create(JCARepositoryManager.java:167)
>   at
> org.apache.jackrabbit.jca.JCARepositoryManager.createRepository(JCARepositoryManager.java:75)
>   at
> org.apache.jackrabbit.jca.JCAManagedConnectionFactory.createRepository(JCAManagedConnectionFactory.java:276)
>   at
> org.apache.jackrabbit.jca.JCAManagedConnectionFactory.createConnectionFactory(JCAManagedConnectionFactory.java:124)
>   at
> org.jboss.resource.connectionmanager.ConnectionFactoryBindingService.createConnectionFactory(ConnectionFactoryBindingService.java:128)
>   at
> org.jboss.resource.connectionmanager.ConnectionFactoryBindingService.startService(ConnectionFactoryBindingService.java:65)
>   at
> org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
>   at
> org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
>   at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
>   at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>   at java.lang.reflect.Method.invoke(Method.java:585)
>   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.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
>   at $Proxy0.start(Unknown Source)
>   at org.jboss.system.ServiceController.start(ServiceController.java:417)
>   at org.jboss.system.ServiceController.start(ServiceController.java:435)
>   at org.jboss.system.ServiceController.start(ServiceController.java:435)
>   at org.jboss.system.ServiceController.start(ServiceController.java:435)
>   at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
>   at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>   at java.lang.reflect.Method.invoke(Method.java:585)
>   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 $Proxy4.start(Unknown Source)
>   at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
>   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:585)
>   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.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
>   at $Proxy39.start(Unknown Source)
>   at org.jboss.deployment.XSLSubDeployer.start(XSLSubDeployer.java:197)
>   at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
>   at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
>   at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
>   at sun.reflect.GeneratedMethodAccessor19.invoke(Unknown Source)
>   at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>   at java.lang.reflect.Method.invoke(Method.java:585)
>   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.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
>   at $Proxy8.deploy(Unknown Source)
>   at
> org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
>   at
> org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
>   at
> org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
>   at
> org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336)
>   at
> org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
>   at
> org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
>   at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
>   at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>   at java.lang.reflect.Method.invoke(Method.java:585)
>   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.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
>   at $Proxy0.start(Unknown Source)
>   at org.jboss.system.ServiceController.start(ServiceController.java:417)
>   at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
>   at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>   at java.lang.reflect.Method.invoke(Method.java:585)
>   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 $Proxy4.start(Unknown Source)
>   at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
>   at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
>   at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
>   at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
>   at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
>   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:585)
>   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.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
>   at $Proxy5.deploy(Unknown Source)
>   at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
>   at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
>   at org.jboss.Main.boot(Main.java:200)
>   at org.jboss.Main$1.run(Main.java:490)
>   at java.lang.Thread.run(Thread.java:595)
> 16:34:53,176 ERROR [RepositoryImpl] Unable to start repository, forcing
> shutdown...
>
>

Mime
View raw message