[Tomcat Erreur] org.hibernate.HibernateException: could not init listeners

1
0
-1

Hello,

I have an install of Bonita Tomcat. My two tables are "journal" and "history" for saving information related to my workflows Following the reboot of my server where my tomcat is running as a service, I get the following error that appears (I have not changed my config).

The error relates to the file: C: \ BOS-5.9.1-tomcat-6.0.35 \ bonita \ server \ default \ work \ indexes \ log \ activity_instance \ _9ax.cfs

File that I had not either before restarting.

If someone has an idea of the problem?

thank you a lot


Bonjour,

J'ai une install de Bonita avec Tomcat. Mes deux tables sont "journal" et "history" pour la sauvegarde des infos liées à mes workflows Suite au redémarrage de mon serveur sur lequel tourne mon tomcat en tant que service, j'ai l'erreur suivante qui apparaît (je n'ai rien modifié dans ma config).

L'erreur porte sur le fichier : C:\BOS-5.9.1-Tomcat-6.0.35\bonita\server\default\work\indexes\journal\activity_instance_9ax.cfs

Fichier que je n'avais pas non plus avant le redémarrage.

Si quelqu'un a une idée de la source du problème?

Merci beaucoup

org.hibernate.HibernateException: could not init listeners at org.hibernate.event.EventListeners.initializeListeners(EventListeners.java:205) at org.hibernate.cfg.Configuration.getInitializedEventListeners(Configuration.java:2010) at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1872) at org.ow2.bonita.env.descriptor.HibernateSessionFactoryDescriptor.construct(HibernateSessionFactoryDescriptor.java:73) at org.ow2.bonita.env.WireContext.construct(WireContext.java:521) at org.ow2.bonita.env.WireContext.create(WireContext.java:498) at org.ow2.bonita.env.WireContext.create(WireContext.java:484) at org.ow2.bonita.env.WireContext.get(WireContext.java:456) at org.ow2.bonita.env.WireContext.initializeEagerObjects(WireContext.java:289) at org.ow2.bonita.env.WireContext.create(WireContext.java:272) at org.ow2.bonita.env.WireContext.(WireContext.java:233) at org.ow2.bonita.env.PvmEnvironmentFactoryParser.parseDocument(PvmEnvironmentFactoryParser.java:79) at org.ow2.bonita.env.BonitaEnvironmentParser.parseDocument(BonitaEnvironmentParser.java:73) at org.ow2.bonita.env.BonitaEnvironmentParser.parseDocument(BonitaEnvironmentParser.java:36) at org.ow2.bonita.util.xml.Parser.execute(Parser.java:454) at org.ow2.bonita.util.xml.Parse.execute(Parse.java:145) at org.ow2.bonita.env.BonitaEnvironmentParser.parseEnvironmentFactoryFromXmlString(BonitaEnvironmentParser.java:87) at org.ow2.bonita.env.GlobalEnvironmentFactory.getEnvironmentFactory(GlobalEnvironmentFactory.java:112) at org.ow2.bonita.facade.rest.RESTServerAPIInterceptor.invoke(RESTServerAPIInterceptor.java:50) at com.sun.proxy.$Proxy21.getTasks(Unknown Source) at org.ow2.bonita.facade.impl.AbstractRemoteQueryRuntimeAPIImpl.getTasks(AbstractRemoteQueryRuntimeAPIImpl.java:273) at sun.reflect.GeneratedMethodAccessor86.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:124) at org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:247) at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:212) at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:202) at org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:441) at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:418) at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:111) at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:217) at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:159) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:563) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.bonitasoft.console.security.SessionFixationValve.invoke(SessionFixationValve.java:77) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:602) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) at java.lang.Thread.run(Thread.java:744) Caused by: org.hibernate.search.SearchException: Unable to open Lucene IndexReader at org.hibernate.search.reader.SharingBufferReaderProvider.createReader(SharingBufferReaderProvider.java:118) at org.hibernate.search.reader.SharingBufferReaderProvider.initialize(SharingBufferReaderProvider.java:95) at org.hibernate.search.reader.ReaderProviderFactory.createReaderProvider(ReaderProviderFactory.java:76) at org.hibernate.search.spi.SearchFactoryBuilder.buildNewSearchFactory(SearchFactoryBuilder.java:278) at org.hibernate.search.spi.SearchFactoryBuilder.buildSearchFactory(SearchFactoryBuilder.java:144) at org.hibernate.search.event.FullTextIndexEventListener.initialize(FullTextIndexEventListener.java:137) at org.hibernate.event.EventListeners$1.processListener(EventListeners.java:198) at org.hibernate.event.EventListeners.processListeners(EventListeners.java:181) at org.hibernate.event.EventListeners.initializeListeners(EventListeners.java:194) ... 47 more Caused by: java.io.FileNotFoundException: C:\BOS-5.9.1-Tomcat-6.0.35\bonita\server\default\work\indexes\journal\activity_instance_9ax.cfs (Le fichier spécifié est introuvable) at java.io.RandomAccessFile.open(Native Method) at java.io.RandomAccessFile.(RandomAccessFile.java:241) at org.apache.lucene.store.SimpleFSDirectory$SimpleFSIndexInput$Descriptor.(SimpleFSDirectory.java:76) at org.apache.lucene.store.SimpleFSDirectory$SimpleFSIndexInput.(SimpleFSDirectory.java:97) at org.apache.lucene.store.SimpleFSDirectory.openInput(SimpleFSDirectory.java:63) at org.apache.lucene.index.CompoundFileReader.(CompoundFileReader.java:67) at org.apache.lucene.index.SegmentReader$CoreReaders.(SegmentReader.java:115) at org.apache.lucene.index.SegmentReader.get(SegmentReader.java:605) at org.apache.lucene.index.SegmentReader.get(SegmentReader.java:583) at org.apache.lucene.index.DirectoryReader.(DirectoryReader.java:109) at org.apache.lucene.index.ReadOnlyDirectoryReader.(ReadOnlyDirectoryReader.java:27) at org.apache.lucene.index.DirectoryReader$1.doBody(DirectoryReader.java:79) at org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:677) at org.apache.lucene.index.DirectoryReader.open(DirectoryReader.java:73) at org.apache.lucene.index.IndexReader.open(IndexReader.java:316) at org.apache.lucene.index.IndexReader.open(IndexReader.java:202) at org.hibernate.search.reader.SharingBufferReaderProvider.readerFactory(SharingBufferReaderProvider.java:169) at org.hibernate.search.reader.SharingBufferReaderProvider$PerDirectoryLatestReader.(SharingBufferReaderProvider.java:243) at org.hibernate.search.reader.SharingBufferReaderProvider.createReader(SharingBufferReaderProvider.java:113) ... 55 more

No answers yet.
Testing
Notifications