[JBoss JIRA] (ARTIF-722) Solely use Hibernate Search if query is limited to full-text search and indexed columns
by Brett Meyer (JIRA)
[ https://issues.jboss.org/browse/ARTIF-722?page=com.atlassian.jira.plugin.... ]
Work on ARTIF-722 started by Brett Meyer.
-----------------------------------------
> Solely use Hibernate Search if query is limited to full-text search and indexed columns
> ---------------------------------------------------------------------------------------
>
> Key: ARTIF-722
> URL: https://issues.jboss.org/browse/ARTIF-722
> Project: Artificer
> Issue Type: Sub-task
> Reporter: Brett Meyer
> Assignee: Brett Meyer
> Fix For: 1.0.0.Beta2
>
>
> Now that queries return a summary DTO, if a query only contains full-text search and columns indexed by Lucene, Hibernate Search can be solely used. There is no need to also execute the SQL query. For example:
> /s-ramp/xsd/XsdDocument[xp2:matches(., 'FizzBuzz')]
> Since 'model' and 'type' are both indexed, this could be accomplished entirely with the Lucene query, skipping SQL.
> This idea implies that all properties included in ArtifactSummary would need to be indexed as well. SQL would be needed only when custom properties, ontologies, or relationships are required.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
9 years, 6 months
[JBoss JIRA] (ARTIF-722) Solely use Hibernate Search if query is limited to full-text search and indexed columns
by Brett Meyer (JIRA)
[ https://issues.jboss.org/browse/ARTIF-722?page=com.atlassian.jira.plugin.... ]
Brett Meyer updated ARTIF-722:
------------------------------
Parent: ARTIF-711
Issue Type: Sub-task (was: Enhancement)
> Solely use Hibernate Search if query is limited to full-text search and indexed columns
> ---------------------------------------------------------------------------------------
>
> Key: ARTIF-722
> URL: https://issues.jboss.org/browse/ARTIF-722
> Project: Artificer
> Issue Type: Sub-task
> Reporter: Brett Meyer
> Assignee: Brett Meyer
> Fix For: 1.0.0.Beta2
>
>
> Now that queries return a summary DTO, if a query only contains full-text search and columns indexed by Lucene, Hibernate Search can be solely used. There is no need to also execute the SQL query. For example:
> /s-ramp/xsd/XsdDocument[xp2:matches(., 'FizzBuzz')]
> Since 'model' and 'type' are both indexed, this could be accomplished entirely with the Lucene query, skipping SQL.
> This idea implies that all properties included in ArtifactSummary would need to be indexed as well. SQL would be needed only when custom properties, ontologies, or relationships are required.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
9 years, 6 months
[JBoss JIRA] (ARTIF-722) Solely use Hibernate Search if query is limited to full-text search and indexed columns
by Brett Meyer (JIRA)
[ https://issues.jboss.org/browse/ARTIF-722?page=com.atlassian.jira.plugin.... ]
Brett Meyer updated ARTIF-722:
------------------------------
Description:
Now that queries return a summary DTO, if a query only contains full-text search and columns indexed by Lucene, Hibernate Search can be solely used. There is no need to also execute the SQL query. For example:
/s-ramp/xsd/XsdDocument[xp2:matches(., 'FizzBuzz')]
Since 'model' and 'type' are both indexed, this could be accomplished entirely with the Lucene query, skipping SQL.
This idea implies that all properties included in ArtifactSummary would need to be indexed as well. SQL would be needed only when custom properties, ontologies, or relationships are required.
was:
Now that queries return a summary DTO, if a query only contains full-text search and columns indexed by Lucene, Hibernate Search can be solely used. There is no need to also execute the SQL query. For example:
/s-ramp/xsd/XsdDocument[xp2:matches(., 'FizzBuzz')]
Since 'model' and 'type' are both indexed, this could be accomplished entirely with the Lucene query, skipping SQL.
This idea could be expanded to include most built-in properties. Name, description, content hash, etc. could all be indexed as well. SQL would be needed only when custom properties, ontologies, or relationships are required.
> Solely use Hibernate Search if query is limited to full-text search and indexed columns
> ---------------------------------------------------------------------------------------
>
> Key: ARTIF-722
> URL: https://issues.jboss.org/browse/ARTIF-722
> Project: Artificer
> Issue Type: Enhancement
> Reporter: Brett Meyer
> Assignee: Brett Meyer
> Fix For: 1.0.0.Beta2
>
>
> Now that queries return a summary DTO, if a query only contains full-text search and columns indexed by Lucene, Hibernate Search can be solely used. There is no need to also execute the SQL query. For example:
> /s-ramp/xsd/XsdDocument[xp2:matches(., 'FizzBuzz')]
> Since 'model' and 'type' are both indexed, this could be accomplished entirely with the Lucene query, skipping SQL.
> This idea implies that all properties included in ArtifactSummary would need to be indexed as well. SQL would be needed only when custom properties, ontologies, or relationships are required.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
9 years, 6 months
[JBoss JIRA] (ARTIF-722) Solely use Hibernate Search if query is limited to full-text search and indexed columns
by Brett Meyer (JIRA)
Brett Meyer created ARTIF-722:
---------------------------------
Summary: Solely use Hibernate Search if query is limited to full-text search and indexed columns
Key: ARTIF-722
URL: https://issues.jboss.org/browse/ARTIF-722
Project: Artificer
Issue Type: Enhancement
Reporter: Brett Meyer
Assignee: Brett Meyer
Fix For: 1.0.0.Beta2
Now that queries return a summary DTO, if a query only contains full-text search and columns indexed by Lucene, Hibernate Search can be solely used. There is no need to also execute the SQL query. For example:
/s-ramp/xsd/XsdDocument[xp2:matches(., 'FizzBuzz')]
Since 'model' and 'type' are both indexed, this could be accomplished entirely with the Lucene query, skipping SQL.
This idea could be expanded to include most built-in properties. Name, description, content hash, etc. could all be indexed as well. SQL would be needed only when custom properties, ontologies, or relationships are required.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
9 years, 6 months
[JBoss JIRA] (ARTIF-718) hibernate.search.default.indexBase default uses relative path
by Brett Meyer (JIRA)
[ https://issues.jboss.org/browse/ARTIF-718?page=com.atlassian.jira.plugin.... ]
Brett Meyer resolved ARTIF-718.
-------------------------------
Resolution: Done
> hibernate.search.default.indexBase default uses relative path
> -------------------------------------------------------------
>
> Key: ARTIF-718
> URL: https://issues.jboss.org/browse/ARTIF-718
> Project: Artificer
> Issue Type: Bug
> Affects Versions: 1.0.0.Beta1
> Environment: EAP 6.4
> Reporter: Brett Meyer
> Assignee: Brett Meyer
> Fix For: 1.0.0.Beta2
>
>
> 11:54:21,034 INFO [org.hibernate.search.store.impl.DirectoryProviderHelper] (http-/127.0.0.1:8080-8) HSEARCH000041: Index directory not found, creating: '/home/sbunciak/runtimes/artificer-jboss-eap-6.4/bin/lucene/indexes'
> 11:54:21,034 INFO [org.hibernate.search.store.impl.DirectoryProviderHelper] (http-/127.0.0.1:8080-7) HSEARCH000041: Index directory not found, creating: '/home/sbunciak/runtimes/artificer-jboss-eap-6.4/bin/lucene/indexes'
> 11:54:21,035 INFO [org.hibernate.search.store.impl.DirectoryProviderHelper] (http-/127.0.0.1:8080-8) HSEARCH000041: Index directory not found, creating: '/home/sbunciak/runtimes/artificer-jboss-eap-6.4/bin/lucene/indexes/org.artificer.repository.hibernate.entity.ArtificerArtifact'
> 11:54:21,037 ERROR [org.artificer.server.atom.workspaces.StoredQueryWorkspace] (http-/127.0.0.1:8080-7) Error getting the list of stored queries.: org.artificer.common.error.ArtificerServerException: org.hibernate.search.SearchException: HSEARCH000103: Unable to initialize IndexManager org.artificer.repository.hibernate.entity.ArtificerArtifact
> at org.artificer.repository.hibernate.HibernateUtil$HibernateTask.execute(HibernateUtil.java:87) [artificer-repository-hibernate-1.0.0.Beta1.jar:1.0.0.Beta1]
> at org.artificer.repository.hibernate.HibernatePersistenceManager.getStoredQueries(HibernatePersistenceManager.java:468) [artificer-repository-hibernate-1.0.0.Beta1.jar:1.0.0.Beta1]
> at org.artificer.server.atom.workspaces.StoredQueryWorkspace.configureWorkspace(StoredQueryWorkspace.java:57) [classes:]
> at org.artificer.server.atom.workspaces.AbstractWorkspace.<init>(AbstractWorkspace.java:51) [classes:]
> at org.artificer.server.atom.workspaces.StoredQueryWorkspace.<init>(StoredQueryWorkspace.java:46) [classes:]
> at org.artificer.server.atom.services.ServiceDocumentResource.get(ServiceDocumentResource.java:88) [classes:]
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_76]
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [rt.jar:1.7.0_76]
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_76]
> at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_76]
> at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:168) [resteasy-jaxrs-2.3.10.Final-redhat-1.jar:]
> at org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:269) [resteasy-jaxrs-2.3.10.Final-redhat-1.jar:]
> at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:227) [resteasy-jaxrs-2.3.10.Final-redhat-1.jar:]
> at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:216) [resteasy-jaxrs-2.3.10.Final-redhat-1.jar:]
> at org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:541) [resteasy-jaxrs-2.3.10.Final-redhat-1.jar:]
> at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:523) [resteasy-jaxrs-2.3.10.Final-redhat-1.jar:]
> at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:125) [resteasy-jaxrs-2.3.10.Final-redhat-1.jar:]
> at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:208) [resteasy-jaxrs-2.3.10.Final-redhat-1.jar:]
> at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:55) [resteasy-jaxrs-2.3.10.Final-redhat-1.jar:]
> at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:50) [resteasy-jaxrs-2.3.10.Final-redhat-1.jar:]
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [jboss-servlet-api_3.0_spec-1.0.2.Final-redhat-2.jar:1.0.2.Final-redhat-2]
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:295) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]
> at org.artificer.repository.filter.ServletCredentialsFilter.doFilter(ServletCredentialsFilter.java:45) [artificer-repository-1.0.0.Beta1.jar:1.0.0.Beta1]
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]
> at org.overlord.commons.auth.filters.SamlBearerTokenAuthFilter.doFilterChain(SamlBearerTokenAuthFilter.java:264) [overlord-commons-auth-2.0.14.Final.jar:2.0.14.Final]
> at org.overlord.commons.auth.filters.SamlBearerTokenAuthFilter.doFilter(SamlBearerTokenAuthFilter.java:238) [overlord-commons-auth-2.0.14.Final.jar:2.0.14.Final]
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]
> at org.artificer.server.filters.LocaleFilter.doFilter(LocaleFilter.java:59) [classes:]
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]
> at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:231) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]
> at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:149) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]
> at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:512) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]
> at org.jboss.as.web.session.ClusteredSessionValve.handleRequest(ClusteredSessionValve.java:134) [jboss-as-web-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]
> at org.jboss.as.web.session.ClusteredSessionValve.invoke(ClusteredSessionValve.java:99) [jboss-as-web-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]
> at org.jboss.as.web.session.JvmRouteValve.invoke(JvmRouteValve.java:92) [jboss-as-web-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]
> at org.jboss.as.web.session.LockingValve.invoke(LockingValve.java:64) [jboss-as-web-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]
> at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50) [jboss-as-jpa-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]
> at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50) [jboss-as-jpa-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]
> at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:169) [jboss-as-web-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]
> at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:150) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]
> at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:97) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]
> at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:102) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]
> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:344) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]
> at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:854) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]
> at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:653) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]
> at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:926) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]
> at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_76]
> Caused by: org.hibernate.search.SearchException: HSEARCH000103: Unable to initialize IndexManager org.artificer.repository.hibernate.entity.ArtificerArtifact
> at org.hibernate.search.indexes.impl.IndexManagerHolder.createIndexManager(IndexManagerHolder.java:265) [hibernate-search-engine-4.6.0.Final-redhat-2.jar:4.6.0.Final-redhat-2]
> at org.hibernate.search.indexes.impl.IndexManagerHolder.createIndexManager(IndexManagerHolder.java:528) [hibernate-search-engine-4.6.0.Final-redhat-2.jar:4.6.0.Final-redhat-2]
> at org.hibernate.search.indexes.impl.IndexManagerHolder.createIndexManagers(IndexManagerHolder.java:495) [hibernate-search-engine-4.6.0.Final-redhat-2.jar:4.6.0.Final-redhat-2]
> at org.hibernate.search.indexes.impl.IndexManagerHolder.buildEntityIndexBinding(IndexManagerHolder.java:104) [hibernate-search-engine-4.6.0.Final-redhat-2.jar:4.6.0.Final-redhat-2]
> at org.hibernate.search.spi.SearchFactoryBuilder.initDocumentBuilders(SearchFactoryBuilder.java:364) [hibernate-search-engine-4.6.0.Final-redhat-2.jar:4.6.0.Final-redhat-2]
> at org.hibernate.search.spi.SearchFactoryBuilder.buildNewSearchFactory(SearchFactoryBuilder.java:219) [hibernate-search-engine-4.6.0.Final-redhat-2.jar:4.6.0.Final-redhat-2]
> at org.hibernate.search.spi.SearchFactoryBuilder.buildSearchFactory(SearchFactoryBuilder.java:143) [hibernate-search-engine-4.6.0.Final-redhat-2.jar:4.6.0.Final-redhat-2]
> at org.hibernate.search.hcore.impl.HibernateSearchSessionFactoryObserver.sessionFactoryCreated(HibernateSearchSessionFactoryObserver.java:74) [hibernate-search-orm-4.6.0.Final-redhat-2.jar:4.6.0.Final-redhat-2]
> at org.hibernate.internal.SessionFactoryObserverChain.sessionFactoryCreated(SessionFactoryObserverChain.java:52) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]
> at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:575) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]
> at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1799) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]
> at org.hibernate.ejb.EntityManagerFactoryImpl.<init>(EntityManagerFactoryImpl.java:96) [hibernate-entitymanager-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]
> at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:915) [hibernate-entitymanager-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]
> at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:900) [hibernate-entitymanager-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]
> at org.hibernate.ejb.HibernatePersistence.createEntityManagerFactory(HibernatePersistence.java:59) [hibernate-entitymanager-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]
> at org.artificer.repository.hibernate.HibernateUtil.entityManager(HibernateUtil.java:109) [artificer-repository-hibernate-1.0.0.Beta1.jar:1.0.0.Beta1]
> at org.artificer.repository.hibernate.HibernateUtil.access$000(HibernateUtil.java:48) [artificer-repository-hibernate-1.0.0.Beta1.jar:1.0.0.Beta1]
> at org.artificer.repository.hibernate.HibernateUtil$HibernateTask.execute(HibernateUtil.java:62) [artificer-repository-hibernate-1.0.0.Beta1.jar:1.0.0.Beta1]
> ... 50 more
> Caused by: org.hibernate.search.SearchException: Unable to initialize directory provider: org.artificer.repository.hibernate.entity.ArtificerArtifact
> at org.hibernate.search.store.impl.DirectoryProviderFactory.createDirectoryProvider(DirectoryProviderFactory.java:91) [hibernate-search-engine-4.6.0.Final-redhat-2.jar:4.6.0.Final-redhat-2]
> at org.hibernate.search.indexes.impl.DirectoryBasedIndexManager.createDirectoryProvider(DirectoryBasedIndexManager.java:212) [hibernate-search-engine-4.6.0.Final-redhat-2.jar:4.6.0.Final-redhat-2]
> at org.hibernate.search.indexes.impl.DirectoryBasedIndexManager.initialize(DirectoryBasedIndexManager.java:99) [hibernate-search-engine-4.6.0.Final-redhat-2.jar:4.6.0.Final-redhat-2]
> at org.hibernate.search.indexes.impl.IndexManagerHolder.createIndexManager(IndexManagerHolder.java:261) [hibernate-search-engine-4.6.0.Final-redhat-2.jar:4.6.0.Final-redhat-2]
> ... 67 more
> Caused by: org.hibernate.search.SearchException: Unable to create index directory: /home/sbunciak/runtimes/artificer-jboss-eap-6.4/bin/lucene/indexes for index org.artificer.repository.hibernate.entity.ArtificerArtifact
> at org.hibernate.search.store.impl.DirectoryProviderHelper.makeSanityCheckedDirectory(DirectoryProviderHelper.java:276) [hibernate-search-engine-4.6.0.Final-redhat-2.jar:4.6.0.Final-redhat-2]
> at org.hibernate.search.store.impl.DirectoryProviderHelper.getVerifiedIndexDir(DirectoryProviderHelper.java:258) [hibernate-search-engine-4.6.0.Final-redhat-2.jar:4.6.0.Final-redhat-2]
> at org.hibernate.search.store.impl.FSDirectoryProvider.initialize(FSDirectoryProvider.java:66) [hibernate-search-engine-4.6.0.Final-redhat-2.jar:4.6.0.Final-redhat-2]
> at org.hibernate.search.store.impl.DirectoryProviderFactory.createDirectoryProvider(DirectoryProviderFactory.java:88) [hibernate-search-engine-4.6.0.Final-redhat-2.jar:4.6.0.Final-redhat-2]
> ... 70 more
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
9 years, 6 months
[JBoss JIRA] (ARTIF-718) hibernate.search.default.indexBase default uses relative path
by Brett Meyer (JIRA)
[ https://issues.jboss.org/browse/ARTIF-718?page=com.atlassian.jira.plugin.... ]
Brett Meyer commented on ARTIF-718:
-----------------------------------
By default, artificer.properties uses:
'hibernate.search.default.indexBase = lucene/indexes'
But that's entirely dependent on the location from which you start EAP/Wildfly. Realistically, there is *not* a good default to use that will work for everyone. Instead, I've better highlighted this property in the doc's "Server Configuration" section.
> hibernate.search.default.indexBase default uses relative path
> -------------------------------------------------------------
>
> Key: ARTIF-718
> URL: https://issues.jboss.org/browse/ARTIF-718
> Project: Artificer
> Issue Type: Bug
> Affects Versions: 1.0.0.Beta1
> Environment: EAP 6.4
> Reporter: Brett Meyer
> Assignee: Brett Meyer
> Fix For: 1.0.0.Beta2
>
>
> 11:54:21,034 INFO [org.hibernate.search.store.impl.DirectoryProviderHelper] (http-/127.0.0.1:8080-8) HSEARCH000041: Index directory not found, creating: '/home/sbunciak/runtimes/artificer-jboss-eap-6.4/bin/lucene/indexes'
> 11:54:21,034 INFO [org.hibernate.search.store.impl.DirectoryProviderHelper] (http-/127.0.0.1:8080-7) HSEARCH000041: Index directory not found, creating: '/home/sbunciak/runtimes/artificer-jboss-eap-6.4/bin/lucene/indexes'
> 11:54:21,035 INFO [org.hibernate.search.store.impl.DirectoryProviderHelper] (http-/127.0.0.1:8080-8) HSEARCH000041: Index directory not found, creating: '/home/sbunciak/runtimes/artificer-jboss-eap-6.4/bin/lucene/indexes/org.artificer.repository.hibernate.entity.ArtificerArtifact'
> 11:54:21,037 ERROR [org.artificer.server.atom.workspaces.StoredQueryWorkspace] (http-/127.0.0.1:8080-7) Error getting the list of stored queries.: org.artificer.common.error.ArtificerServerException: org.hibernate.search.SearchException: HSEARCH000103: Unable to initialize IndexManager org.artificer.repository.hibernate.entity.ArtificerArtifact
> at org.artificer.repository.hibernate.HibernateUtil$HibernateTask.execute(HibernateUtil.java:87) [artificer-repository-hibernate-1.0.0.Beta1.jar:1.0.0.Beta1]
> at org.artificer.repository.hibernate.HibernatePersistenceManager.getStoredQueries(HibernatePersistenceManager.java:468) [artificer-repository-hibernate-1.0.0.Beta1.jar:1.0.0.Beta1]
> at org.artificer.server.atom.workspaces.StoredQueryWorkspace.configureWorkspace(StoredQueryWorkspace.java:57) [classes:]
> at org.artificer.server.atom.workspaces.AbstractWorkspace.<init>(AbstractWorkspace.java:51) [classes:]
> at org.artificer.server.atom.workspaces.StoredQueryWorkspace.<init>(StoredQueryWorkspace.java:46) [classes:]
> at org.artificer.server.atom.services.ServiceDocumentResource.get(ServiceDocumentResource.java:88) [classes:]
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_76]
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [rt.jar:1.7.0_76]
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_76]
> at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_76]
> at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:168) [resteasy-jaxrs-2.3.10.Final-redhat-1.jar:]
> at org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:269) [resteasy-jaxrs-2.3.10.Final-redhat-1.jar:]
> at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:227) [resteasy-jaxrs-2.3.10.Final-redhat-1.jar:]
> at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:216) [resteasy-jaxrs-2.3.10.Final-redhat-1.jar:]
> at org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:541) [resteasy-jaxrs-2.3.10.Final-redhat-1.jar:]
> at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:523) [resteasy-jaxrs-2.3.10.Final-redhat-1.jar:]
> at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:125) [resteasy-jaxrs-2.3.10.Final-redhat-1.jar:]
> at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:208) [resteasy-jaxrs-2.3.10.Final-redhat-1.jar:]
> at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:55) [resteasy-jaxrs-2.3.10.Final-redhat-1.jar:]
> at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:50) [resteasy-jaxrs-2.3.10.Final-redhat-1.jar:]
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [jboss-servlet-api_3.0_spec-1.0.2.Final-redhat-2.jar:1.0.2.Final-redhat-2]
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:295) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]
> at org.artificer.repository.filter.ServletCredentialsFilter.doFilter(ServletCredentialsFilter.java:45) [artificer-repository-1.0.0.Beta1.jar:1.0.0.Beta1]
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]
> at org.overlord.commons.auth.filters.SamlBearerTokenAuthFilter.doFilterChain(SamlBearerTokenAuthFilter.java:264) [overlord-commons-auth-2.0.14.Final.jar:2.0.14.Final]
> at org.overlord.commons.auth.filters.SamlBearerTokenAuthFilter.doFilter(SamlBearerTokenAuthFilter.java:238) [overlord-commons-auth-2.0.14.Final.jar:2.0.14.Final]
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]
> at org.artificer.server.filters.LocaleFilter.doFilter(LocaleFilter.java:59) [classes:]
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]
> at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:231) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]
> at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:149) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]
> at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:512) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]
> at org.jboss.as.web.session.ClusteredSessionValve.handleRequest(ClusteredSessionValve.java:134) [jboss-as-web-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]
> at org.jboss.as.web.session.ClusteredSessionValve.invoke(ClusteredSessionValve.java:99) [jboss-as-web-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]
> at org.jboss.as.web.session.JvmRouteValve.invoke(JvmRouteValve.java:92) [jboss-as-web-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]
> at org.jboss.as.web.session.LockingValve.invoke(LockingValve.java:64) [jboss-as-web-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]
> at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50) [jboss-as-jpa-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]
> at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50) [jboss-as-jpa-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]
> at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:169) [jboss-as-web-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]
> at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:150) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]
> at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:97) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]
> at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:102) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]
> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:344) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]
> at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:854) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]
> at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:653) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]
> at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:926) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]
> at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_76]
> Caused by: org.hibernate.search.SearchException: HSEARCH000103: Unable to initialize IndexManager org.artificer.repository.hibernate.entity.ArtificerArtifact
> at org.hibernate.search.indexes.impl.IndexManagerHolder.createIndexManager(IndexManagerHolder.java:265) [hibernate-search-engine-4.6.0.Final-redhat-2.jar:4.6.0.Final-redhat-2]
> at org.hibernate.search.indexes.impl.IndexManagerHolder.createIndexManager(IndexManagerHolder.java:528) [hibernate-search-engine-4.6.0.Final-redhat-2.jar:4.6.0.Final-redhat-2]
> at org.hibernate.search.indexes.impl.IndexManagerHolder.createIndexManagers(IndexManagerHolder.java:495) [hibernate-search-engine-4.6.0.Final-redhat-2.jar:4.6.0.Final-redhat-2]
> at org.hibernate.search.indexes.impl.IndexManagerHolder.buildEntityIndexBinding(IndexManagerHolder.java:104) [hibernate-search-engine-4.6.0.Final-redhat-2.jar:4.6.0.Final-redhat-2]
> at org.hibernate.search.spi.SearchFactoryBuilder.initDocumentBuilders(SearchFactoryBuilder.java:364) [hibernate-search-engine-4.6.0.Final-redhat-2.jar:4.6.0.Final-redhat-2]
> at org.hibernate.search.spi.SearchFactoryBuilder.buildNewSearchFactory(SearchFactoryBuilder.java:219) [hibernate-search-engine-4.6.0.Final-redhat-2.jar:4.6.0.Final-redhat-2]
> at org.hibernate.search.spi.SearchFactoryBuilder.buildSearchFactory(SearchFactoryBuilder.java:143) [hibernate-search-engine-4.6.0.Final-redhat-2.jar:4.6.0.Final-redhat-2]
> at org.hibernate.search.hcore.impl.HibernateSearchSessionFactoryObserver.sessionFactoryCreated(HibernateSearchSessionFactoryObserver.java:74) [hibernate-search-orm-4.6.0.Final-redhat-2.jar:4.6.0.Final-redhat-2]
> at org.hibernate.internal.SessionFactoryObserverChain.sessionFactoryCreated(SessionFactoryObserverChain.java:52) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]
> at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:575) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]
> at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1799) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]
> at org.hibernate.ejb.EntityManagerFactoryImpl.<init>(EntityManagerFactoryImpl.java:96) [hibernate-entitymanager-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]
> at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:915) [hibernate-entitymanager-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]
> at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:900) [hibernate-entitymanager-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]
> at org.hibernate.ejb.HibernatePersistence.createEntityManagerFactory(HibernatePersistence.java:59) [hibernate-entitymanager-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]
> at org.artificer.repository.hibernate.HibernateUtil.entityManager(HibernateUtil.java:109) [artificer-repository-hibernate-1.0.0.Beta1.jar:1.0.0.Beta1]
> at org.artificer.repository.hibernate.HibernateUtil.access$000(HibernateUtil.java:48) [artificer-repository-hibernate-1.0.0.Beta1.jar:1.0.0.Beta1]
> at org.artificer.repository.hibernate.HibernateUtil$HibernateTask.execute(HibernateUtil.java:62) [artificer-repository-hibernate-1.0.0.Beta1.jar:1.0.0.Beta1]
> ... 50 more
> Caused by: org.hibernate.search.SearchException: Unable to initialize directory provider: org.artificer.repository.hibernate.entity.ArtificerArtifact
> at org.hibernate.search.store.impl.DirectoryProviderFactory.createDirectoryProvider(DirectoryProviderFactory.java:91) [hibernate-search-engine-4.6.0.Final-redhat-2.jar:4.6.0.Final-redhat-2]
> at org.hibernate.search.indexes.impl.DirectoryBasedIndexManager.createDirectoryProvider(DirectoryBasedIndexManager.java:212) [hibernate-search-engine-4.6.0.Final-redhat-2.jar:4.6.0.Final-redhat-2]
> at org.hibernate.search.indexes.impl.DirectoryBasedIndexManager.initialize(DirectoryBasedIndexManager.java:99) [hibernate-search-engine-4.6.0.Final-redhat-2.jar:4.6.0.Final-redhat-2]
> at org.hibernate.search.indexes.impl.IndexManagerHolder.createIndexManager(IndexManagerHolder.java:261) [hibernate-search-engine-4.6.0.Final-redhat-2.jar:4.6.0.Final-redhat-2]
> ... 67 more
> Caused by: org.hibernate.search.SearchException: Unable to create index directory: /home/sbunciak/runtimes/artificer-jboss-eap-6.4/bin/lucene/indexes for index org.artificer.repository.hibernate.entity.ArtificerArtifact
> at org.hibernate.search.store.impl.DirectoryProviderHelper.makeSanityCheckedDirectory(DirectoryProviderHelper.java:276) [hibernate-search-engine-4.6.0.Final-redhat-2.jar:4.6.0.Final-redhat-2]
> at org.hibernate.search.store.impl.DirectoryProviderHelper.getVerifiedIndexDir(DirectoryProviderHelper.java:258) [hibernate-search-engine-4.6.0.Final-redhat-2.jar:4.6.0.Final-redhat-2]
> at org.hibernate.search.store.impl.FSDirectoryProvider.initialize(FSDirectoryProvider.java:66) [hibernate-search-engine-4.6.0.Final-redhat-2.jar:4.6.0.Final-redhat-2]
> at org.hibernate.search.store.impl.DirectoryProviderFactory.createDirectoryProvider(DirectoryProviderFactory.java:88) [hibernate-search-engine-4.6.0.Final-redhat-2.jar:4.6.0.Final-redhat-2]
> ... 70 more
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
9 years, 6 months
[JBoss JIRA] (ARTIF-718) hibernate.search.default.indexBase default uses relative path
by Brett Meyer (JIRA)
[ https://issues.jboss.org/browse/ARTIF-718?page=com.atlassian.jira.plugin.... ]
Brett Meyer updated ARTIF-718:
------------------------------
Summary: hibernate.search.default.indexBase default uses relative path (was: EAP 6.4: Hibernate Search fails to create indexes on startup)
> hibernate.search.default.indexBase default uses relative path
> -------------------------------------------------------------
>
> Key: ARTIF-718
> URL: https://issues.jboss.org/browse/ARTIF-718
> Project: Artificer
> Issue Type: Bug
> Affects Versions: 1.0.0.Beta1
> Environment: EAP 6.4
> Reporter: Brett Meyer
> Assignee: Brett Meyer
> Fix For: 1.0.0.Beta2
>
>
> 11:54:21,034 INFO [org.hibernate.search.store.impl.DirectoryProviderHelper] (http-/127.0.0.1:8080-8) HSEARCH000041: Index directory not found, creating: '/home/sbunciak/runtimes/artificer-jboss-eap-6.4/bin/lucene/indexes'
> 11:54:21,034 INFO [org.hibernate.search.store.impl.DirectoryProviderHelper] (http-/127.0.0.1:8080-7) HSEARCH000041: Index directory not found, creating: '/home/sbunciak/runtimes/artificer-jboss-eap-6.4/bin/lucene/indexes'
> 11:54:21,035 INFO [org.hibernate.search.store.impl.DirectoryProviderHelper] (http-/127.0.0.1:8080-8) HSEARCH000041: Index directory not found, creating: '/home/sbunciak/runtimes/artificer-jboss-eap-6.4/bin/lucene/indexes/org.artificer.repository.hibernate.entity.ArtificerArtifact'
> 11:54:21,037 ERROR [org.artificer.server.atom.workspaces.StoredQueryWorkspace] (http-/127.0.0.1:8080-7) Error getting the list of stored queries.: org.artificer.common.error.ArtificerServerException: org.hibernate.search.SearchException: HSEARCH000103: Unable to initialize IndexManager org.artificer.repository.hibernate.entity.ArtificerArtifact
> at org.artificer.repository.hibernate.HibernateUtil$HibernateTask.execute(HibernateUtil.java:87) [artificer-repository-hibernate-1.0.0.Beta1.jar:1.0.0.Beta1]
> at org.artificer.repository.hibernate.HibernatePersistenceManager.getStoredQueries(HibernatePersistenceManager.java:468) [artificer-repository-hibernate-1.0.0.Beta1.jar:1.0.0.Beta1]
> at org.artificer.server.atom.workspaces.StoredQueryWorkspace.configureWorkspace(StoredQueryWorkspace.java:57) [classes:]
> at org.artificer.server.atom.workspaces.AbstractWorkspace.<init>(AbstractWorkspace.java:51) [classes:]
> at org.artificer.server.atom.workspaces.StoredQueryWorkspace.<init>(StoredQueryWorkspace.java:46) [classes:]
> at org.artificer.server.atom.services.ServiceDocumentResource.get(ServiceDocumentResource.java:88) [classes:]
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_76]
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [rt.jar:1.7.0_76]
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_76]
> at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_76]
> at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:168) [resteasy-jaxrs-2.3.10.Final-redhat-1.jar:]
> at org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:269) [resteasy-jaxrs-2.3.10.Final-redhat-1.jar:]
> at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:227) [resteasy-jaxrs-2.3.10.Final-redhat-1.jar:]
> at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:216) [resteasy-jaxrs-2.3.10.Final-redhat-1.jar:]
> at org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:541) [resteasy-jaxrs-2.3.10.Final-redhat-1.jar:]
> at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:523) [resteasy-jaxrs-2.3.10.Final-redhat-1.jar:]
> at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:125) [resteasy-jaxrs-2.3.10.Final-redhat-1.jar:]
> at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:208) [resteasy-jaxrs-2.3.10.Final-redhat-1.jar:]
> at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:55) [resteasy-jaxrs-2.3.10.Final-redhat-1.jar:]
> at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:50) [resteasy-jaxrs-2.3.10.Final-redhat-1.jar:]
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [jboss-servlet-api_3.0_spec-1.0.2.Final-redhat-2.jar:1.0.2.Final-redhat-2]
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:295) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]
> at org.artificer.repository.filter.ServletCredentialsFilter.doFilter(ServletCredentialsFilter.java:45) [artificer-repository-1.0.0.Beta1.jar:1.0.0.Beta1]
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]
> at org.overlord.commons.auth.filters.SamlBearerTokenAuthFilter.doFilterChain(SamlBearerTokenAuthFilter.java:264) [overlord-commons-auth-2.0.14.Final.jar:2.0.14.Final]
> at org.overlord.commons.auth.filters.SamlBearerTokenAuthFilter.doFilter(SamlBearerTokenAuthFilter.java:238) [overlord-commons-auth-2.0.14.Final.jar:2.0.14.Final]
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]
> at org.artificer.server.filters.LocaleFilter.doFilter(LocaleFilter.java:59) [classes:]
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]
> at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:231) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]
> at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:149) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]
> at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:512) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]
> at org.jboss.as.web.session.ClusteredSessionValve.handleRequest(ClusteredSessionValve.java:134) [jboss-as-web-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]
> at org.jboss.as.web.session.ClusteredSessionValve.invoke(ClusteredSessionValve.java:99) [jboss-as-web-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]
> at org.jboss.as.web.session.JvmRouteValve.invoke(JvmRouteValve.java:92) [jboss-as-web-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]
> at org.jboss.as.web.session.LockingValve.invoke(LockingValve.java:64) [jboss-as-web-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]
> at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50) [jboss-as-jpa-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]
> at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50) [jboss-as-jpa-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]
> at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:169) [jboss-as-web-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]
> at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:150) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]
> at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:97) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]
> at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:102) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]
> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:344) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]
> at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:854) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]
> at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:653) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]
> at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:926) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]
> at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_76]
> Caused by: org.hibernate.search.SearchException: HSEARCH000103: Unable to initialize IndexManager org.artificer.repository.hibernate.entity.ArtificerArtifact
> at org.hibernate.search.indexes.impl.IndexManagerHolder.createIndexManager(IndexManagerHolder.java:265) [hibernate-search-engine-4.6.0.Final-redhat-2.jar:4.6.0.Final-redhat-2]
> at org.hibernate.search.indexes.impl.IndexManagerHolder.createIndexManager(IndexManagerHolder.java:528) [hibernate-search-engine-4.6.0.Final-redhat-2.jar:4.6.0.Final-redhat-2]
> at org.hibernate.search.indexes.impl.IndexManagerHolder.createIndexManagers(IndexManagerHolder.java:495) [hibernate-search-engine-4.6.0.Final-redhat-2.jar:4.6.0.Final-redhat-2]
> at org.hibernate.search.indexes.impl.IndexManagerHolder.buildEntityIndexBinding(IndexManagerHolder.java:104) [hibernate-search-engine-4.6.0.Final-redhat-2.jar:4.6.0.Final-redhat-2]
> at org.hibernate.search.spi.SearchFactoryBuilder.initDocumentBuilders(SearchFactoryBuilder.java:364) [hibernate-search-engine-4.6.0.Final-redhat-2.jar:4.6.0.Final-redhat-2]
> at org.hibernate.search.spi.SearchFactoryBuilder.buildNewSearchFactory(SearchFactoryBuilder.java:219) [hibernate-search-engine-4.6.0.Final-redhat-2.jar:4.6.0.Final-redhat-2]
> at org.hibernate.search.spi.SearchFactoryBuilder.buildSearchFactory(SearchFactoryBuilder.java:143) [hibernate-search-engine-4.6.0.Final-redhat-2.jar:4.6.0.Final-redhat-2]
> at org.hibernate.search.hcore.impl.HibernateSearchSessionFactoryObserver.sessionFactoryCreated(HibernateSearchSessionFactoryObserver.java:74) [hibernate-search-orm-4.6.0.Final-redhat-2.jar:4.6.0.Final-redhat-2]
> at org.hibernate.internal.SessionFactoryObserverChain.sessionFactoryCreated(SessionFactoryObserverChain.java:52) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]
> at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:575) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]
> at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1799) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]
> at org.hibernate.ejb.EntityManagerFactoryImpl.<init>(EntityManagerFactoryImpl.java:96) [hibernate-entitymanager-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]
> at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:915) [hibernate-entitymanager-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]
> at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:900) [hibernate-entitymanager-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]
> at org.hibernate.ejb.HibernatePersistence.createEntityManagerFactory(HibernatePersistence.java:59) [hibernate-entitymanager-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]
> at org.artificer.repository.hibernate.HibernateUtil.entityManager(HibernateUtil.java:109) [artificer-repository-hibernate-1.0.0.Beta1.jar:1.0.0.Beta1]
> at org.artificer.repository.hibernate.HibernateUtil.access$000(HibernateUtil.java:48) [artificer-repository-hibernate-1.0.0.Beta1.jar:1.0.0.Beta1]
> at org.artificer.repository.hibernate.HibernateUtil$HibernateTask.execute(HibernateUtil.java:62) [artificer-repository-hibernate-1.0.0.Beta1.jar:1.0.0.Beta1]
> ... 50 more
> Caused by: org.hibernate.search.SearchException: Unable to initialize directory provider: org.artificer.repository.hibernate.entity.ArtificerArtifact
> at org.hibernate.search.store.impl.DirectoryProviderFactory.createDirectoryProvider(DirectoryProviderFactory.java:91) [hibernate-search-engine-4.6.0.Final-redhat-2.jar:4.6.0.Final-redhat-2]
> at org.hibernate.search.indexes.impl.DirectoryBasedIndexManager.createDirectoryProvider(DirectoryBasedIndexManager.java:212) [hibernate-search-engine-4.6.0.Final-redhat-2.jar:4.6.0.Final-redhat-2]
> at org.hibernate.search.indexes.impl.DirectoryBasedIndexManager.initialize(DirectoryBasedIndexManager.java:99) [hibernate-search-engine-4.6.0.Final-redhat-2.jar:4.6.0.Final-redhat-2]
> at org.hibernate.search.indexes.impl.IndexManagerHolder.createIndexManager(IndexManagerHolder.java:261) [hibernate-search-engine-4.6.0.Final-redhat-2.jar:4.6.0.Final-redhat-2]
> ... 67 more
> Caused by: org.hibernate.search.SearchException: Unable to create index directory: /home/sbunciak/runtimes/artificer-jboss-eap-6.4/bin/lucene/indexes for index org.artificer.repository.hibernate.entity.ArtificerArtifact
> at org.hibernate.search.store.impl.DirectoryProviderHelper.makeSanityCheckedDirectory(DirectoryProviderHelper.java:276) [hibernate-search-engine-4.6.0.Final-redhat-2.jar:4.6.0.Final-redhat-2]
> at org.hibernate.search.store.impl.DirectoryProviderHelper.getVerifiedIndexDir(DirectoryProviderHelper.java:258) [hibernate-search-engine-4.6.0.Final-redhat-2.jar:4.6.0.Final-redhat-2]
> at org.hibernate.search.store.impl.FSDirectoryProvider.initialize(FSDirectoryProvider.java:66) [hibernate-search-engine-4.6.0.Final-redhat-2.jar:4.6.0.Final-redhat-2]
> at org.hibernate.search.store.impl.DirectoryProviderFactory.createDirectoryProvider(DirectoryProviderFactory.java:88) [hibernate-search-engine-4.6.0.Final-redhat-2.jar:4.6.0.Final-redhat-2]
> ... 70 more
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
9 years, 6 months
[JBoss JIRA] (ARTIF-718) EAP 6.4: Hibernate Search fails to create indexes on startup
by Brett Meyer (JIRA)
[ https://issues.jboss.org/browse/ARTIF-718?page=com.atlassian.jira.plugin.... ]
Brett Meyer updated ARTIF-718:
------------------------------
Description:
11:54:21,034 INFO [org.hibernate.search.store.impl.DirectoryProviderHelper] (http-/127.0.0.1:8080-8) HSEARCH000041: Index directory not found, creating: '/home/sbunciak/runtimes/artificer-jboss-eap-6.4/bin/lucene/indexes'
11:54:21,034 INFO [org.hibernate.search.store.impl.DirectoryProviderHelper] (http-/127.0.0.1:8080-7) HSEARCH000041: Index directory not found, creating: '/home/sbunciak/runtimes/artificer-jboss-eap-6.4/bin/lucene/indexes'
11:54:21,035 INFO [org.hibernate.search.store.impl.DirectoryProviderHelper] (http-/127.0.0.1:8080-8) HSEARCH000041: Index directory not found, creating: '/home/sbunciak/runtimes/artificer-jboss-eap-6.4/bin/lucene/indexes/org.artificer.repository.hibernate.entity.ArtificerArtifact'
11:54:21,037 ERROR [org.artificer.server.atom.workspaces.StoredQueryWorkspace] (http-/127.0.0.1:8080-7) Error getting the list of stored queries.: org.artificer.common.error.ArtificerServerException: org.hibernate.search.SearchException: HSEARCH000103: Unable to initialize IndexManager org.artificer.repository.hibernate.entity.ArtificerArtifact
at org.artificer.repository.hibernate.HibernateUtil$HibernateTask.execute(HibernateUtil.java:87) [artificer-repository-hibernate-1.0.0.Beta1.jar:1.0.0.Beta1]
at org.artificer.repository.hibernate.HibernatePersistenceManager.getStoredQueries(HibernatePersistenceManager.java:468) [artificer-repository-hibernate-1.0.0.Beta1.jar:1.0.0.Beta1]
at org.artificer.server.atom.workspaces.StoredQueryWorkspace.configureWorkspace(StoredQueryWorkspace.java:57) [classes:]
at org.artificer.server.atom.workspaces.AbstractWorkspace.<init>(AbstractWorkspace.java:51) [classes:]
at org.artificer.server.atom.workspaces.StoredQueryWorkspace.<init>(StoredQueryWorkspace.java:46) [classes:]
at org.artificer.server.atom.services.ServiceDocumentResource.get(ServiceDocumentResource.java:88) [classes:]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_76]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [rt.jar:1.7.0_76]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_76]
at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_76]
at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:168) [resteasy-jaxrs-2.3.10.Final-redhat-1.jar:]
at org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:269) [resteasy-jaxrs-2.3.10.Final-redhat-1.jar:]
at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:227) [resteasy-jaxrs-2.3.10.Final-redhat-1.jar:]
at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:216) [resteasy-jaxrs-2.3.10.Final-redhat-1.jar:]
at org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:541) [resteasy-jaxrs-2.3.10.Final-redhat-1.jar:]
at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:523) [resteasy-jaxrs-2.3.10.Final-redhat-1.jar:]
at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:125) [resteasy-jaxrs-2.3.10.Final-redhat-1.jar:]
at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:208) [resteasy-jaxrs-2.3.10.Final-redhat-1.jar:]
at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:55) [resteasy-jaxrs-2.3.10.Final-redhat-1.jar:]
at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:50) [resteasy-jaxrs-2.3.10.Final-redhat-1.jar:]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [jboss-servlet-api_3.0_spec-1.0.2.Final-redhat-2.jar:1.0.2.Final-redhat-2]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:295) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]
at org.artificer.repository.filter.ServletCredentialsFilter.doFilter(ServletCredentialsFilter.java:45) [artificer-repository-1.0.0.Beta1.jar:1.0.0.Beta1]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]
at org.overlord.commons.auth.filters.SamlBearerTokenAuthFilter.doFilterChain(SamlBearerTokenAuthFilter.java:264) [overlord-commons-auth-2.0.14.Final.jar:2.0.14.Final]
at org.overlord.commons.auth.filters.SamlBearerTokenAuthFilter.doFilter(SamlBearerTokenAuthFilter.java:238) [overlord-commons-auth-2.0.14.Final.jar:2.0.14.Final]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]
at org.artificer.server.filters.LocaleFilter.doFilter(LocaleFilter.java:59) [classes:]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:231) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:149) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:512) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]
at org.jboss.as.web.session.ClusteredSessionValve.handleRequest(ClusteredSessionValve.java:134) [jboss-as-web-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]
at org.jboss.as.web.session.ClusteredSessionValve.invoke(ClusteredSessionValve.java:99) [jboss-as-web-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]
at org.jboss.as.web.session.JvmRouteValve.invoke(JvmRouteValve.java:92) [jboss-as-web-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]
at org.jboss.as.web.session.LockingValve.invoke(LockingValve.java:64) [jboss-as-web-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]
at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50) [jboss-as-jpa-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]
at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50) [jboss-as-jpa-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]
at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:169) [jboss-as-web-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:150) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:97) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:102) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:344) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:854) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:653) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:926) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]
at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_76]
Caused by: org.hibernate.search.SearchException: HSEARCH000103: Unable to initialize IndexManager org.artificer.repository.hibernate.entity.ArtificerArtifact
at org.hibernate.search.indexes.impl.IndexManagerHolder.createIndexManager(IndexManagerHolder.java:265) [hibernate-search-engine-4.6.0.Final-redhat-2.jar:4.6.0.Final-redhat-2]
at org.hibernate.search.indexes.impl.IndexManagerHolder.createIndexManager(IndexManagerHolder.java:528) [hibernate-search-engine-4.6.0.Final-redhat-2.jar:4.6.0.Final-redhat-2]
at org.hibernate.search.indexes.impl.IndexManagerHolder.createIndexManagers(IndexManagerHolder.java:495) [hibernate-search-engine-4.6.0.Final-redhat-2.jar:4.6.0.Final-redhat-2]
at org.hibernate.search.indexes.impl.IndexManagerHolder.buildEntityIndexBinding(IndexManagerHolder.java:104) [hibernate-search-engine-4.6.0.Final-redhat-2.jar:4.6.0.Final-redhat-2]
at org.hibernate.search.spi.SearchFactoryBuilder.initDocumentBuilders(SearchFactoryBuilder.java:364) [hibernate-search-engine-4.6.0.Final-redhat-2.jar:4.6.0.Final-redhat-2]
at org.hibernate.search.spi.SearchFactoryBuilder.buildNewSearchFactory(SearchFactoryBuilder.java:219) [hibernate-search-engine-4.6.0.Final-redhat-2.jar:4.6.0.Final-redhat-2]
at org.hibernate.search.spi.SearchFactoryBuilder.buildSearchFactory(SearchFactoryBuilder.java:143) [hibernate-search-engine-4.6.0.Final-redhat-2.jar:4.6.0.Final-redhat-2]
at org.hibernate.search.hcore.impl.HibernateSearchSessionFactoryObserver.sessionFactoryCreated(HibernateSearchSessionFactoryObserver.java:74) [hibernate-search-orm-4.6.0.Final-redhat-2.jar:4.6.0.Final-redhat-2]
at org.hibernate.internal.SessionFactoryObserverChain.sessionFactoryCreated(SessionFactoryObserverChain.java:52) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]
at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:575) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1799) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]
at org.hibernate.ejb.EntityManagerFactoryImpl.<init>(EntityManagerFactoryImpl.java:96) [hibernate-entitymanager-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]
at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:915) [hibernate-entitymanager-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]
at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:900) [hibernate-entitymanager-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]
at org.hibernate.ejb.HibernatePersistence.createEntityManagerFactory(HibernatePersistence.java:59) [hibernate-entitymanager-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]
at org.artificer.repository.hibernate.HibernateUtil.entityManager(HibernateUtil.java:109) [artificer-repository-hibernate-1.0.0.Beta1.jar:1.0.0.Beta1]
at org.artificer.repository.hibernate.HibernateUtil.access$000(HibernateUtil.java:48) [artificer-repository-hibernate-1.0.0.Beta1.jar:1.0.0.Beta1]
at org.artificer.repository.hibernate.HibernateUtil$HibernateTask.execute(HibernateUtil.java:62) [artificer-repository-hibernate-1.0.0.Beta1.jar:1.0.0.Beta1]
... 50 more
Caused by: org.hibernate.search.SearchException: Unable to initialize directory provider: org.artificer.repository.hibernate.entity.ArtificerArtifact
at org.hibernate.search.store.impl.DirectoryProviderFactory.createDirectoryProvider(DirectoryProviderFactory.java:91) [hibernate-search-engine-4.6.0.Final-redhat-2.jar:4.6.0.Final-redhat-2]
at org.hibernate.search.indexes.impl.DirectoryBasedIndexManager.createDirectoryProvider(DirectoryBasedIndexManager.java:212) [hibernate-search-engine-4.6.0.Final-redhat-2.jar:4.6.0.Final-redhat-2]
at org.hibernate.search.indexes.impl.DirectoryBasedIndexManager.initialize(DirectoryBasedIndexManager.java:99) [hibernate-search-engine-4.6.0.Final-redhat-2.jar:4.6.0.Final-redhat-2]
at org.hibernate.search.indexes.impl.IndexManagerHolder.createIndexManager(IndexManagerHolder.java:261) [hibernate-search-engine-4.6.0.Final-redhat-2.jar:4.6.0.Final-redhat-2]
... 67 more
Caused by: org.hibernate.search.SearchException: Unable to create index directory: /home/sbunciak/runtimes/artificer-jboss-eap-6.4/bin/lucene/indexes for index org.artificer.repository.hibernate.entity.ArtificerArtifact
at org.hibernate.search.store.impl.DirectoryProviderHelper.makeSanityCheckedDirectory(DirectoryProviderHelper.java:276) [hibernate-search-engine-4.6.0.Final-redhat-2.jar:4.6.0.Final-redhat-2]
at org.hibernate.search.store.impl.DirectoryProviderHelper.getVerifiedIndexDir(DirectoryProviderHelper.java:258) [hibernate-search-engine-4.6.0.Final-redhat-2.jar:4.6.0.Final-redhat-2]
at org.hibernate.search.store.impl.FSDirectoryProvider.initialize(FSDirectoryProvider.java:66) [hibernate-search-engine-4.6.0.Final-redhat-2.jar:4.6.0.Final-redhat-2]
at org.hibernate.search.store.impl.DirectoryProviderFactory.createDirectoryProvider(DirectoryProviderFactory.java:88) [hibernate-search-engine-4.6.0.Final-redhat-2.jar:4.6.0.Final-redhat-2]
... 70 more
was:
{code}
11:54:21,034 INFO [org.hibernate.search.store.impl.DirectoryProviderHelper] (http-/127.0.0.1:8080-8) HSEARCH000041: Index directory not found, creating: '/home/sbunciak/runtimes/artificer-jboss-eap-6.4/bin/lucene/indexes'
11:54:21,034 INFO [org.hibernate.search.store.impl.DirectoryProviderHelper] (http-/127.0.0.1:8080-7) HSEARCH000041: Index directory not found, creating: '/home/sbunciak/runtimes/artificer-jboss-eap-6.4/bin/lucene/indexes'
11:54:21,035 INFO [org.hibernate.search.store.impl.DirectoryProviderHelper] (http-/127.0.0.1:8080-8) HSEARCH000041: Index directory not found, creating: '/home/sbunciak/runtimes/artificer-jboss-eap-6.4/bin/lucene/indexes/org.artificer.repository.hibernate.entity.ArtificerArtifact'
11:54:21,037 ERROR [org.artificer.server.atom.workspaces.StoredQueryWorkspace] (http-/127.0.0.1:8080-7) Error getting the list of stored queries.: org.artificer.common.error.ArtificerServerException: org.hibernate.search.SearchException: HSEARCH000103: Unable to initialize IndexManager org.artificer.repository.hibernate.entity.ArtificerArtifact
at org.artificer.repository.hibernate.HibernateUtil$HibernateTask.execute(HibernateUtil.java:87) [artificer-repository-hibernate-1.0.0.Beta1.jar:1.0.0.Beta1]
at org.artificer.repository.hibernate.HibernatePersistenceManager.getStoredQueries(HibernatePersistenceManager.java:468) [artificer-repository-hibernate-1.0.0.Beta1.jar:1.0.0.Beta1]
at org.artificer.server.atom.workspaces.StoredQueryWorkspace.configureWorkspace(StoredQueryWorkspace.java:57) [classes:]
at org.artificer.server.atom.workspaces.AbstractWorkspace.<init>(AbstractWorkspace.java:51) [classes:]
at org.artificer.server.atom.workspaces.StoredQueryWorkspace.<init>(StoredQueryWorkspace.java:46) [classes:]
at org.artificer.server.atom.services.ServiceDocumentResource.get(ServiceDocumentResource.java:88) [classes:]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_76]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [rt.jar:1.7.0_76]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_76]
at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_76]
at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:168) [resteasy-jaxrs-2.3.10.Final-redhat-1.jar:]
at org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:269) [resteasy-jaxrs-2.3.10.Final-redhat-1.jar:]
at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:227) [resteasy-jaxrs-2.3.10.Final-redhat-1.jar:]
at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:216) [resteasy-jaxrs-2.3.10.Final-redhat-1.jar:]
at org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:541) [resteasy-jaxrs-2.3.10.Final-redhat-1.jar:]
at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:523) [resteasy-jaxrs-2.3.10.Final-redhat-1.jar:]
at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:125) [resteasy-jaxrs-2.3.10.Final-redhat-1.jar:]
at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:208) [resteasy-jaxrs-2.3.10.Final-redhat-1.jar:]
at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:55) [resteasy-jaxrs-2.3.10.Final-redhat-1.jar:]
at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:50) [resteasy-jaxrs-2.3.10.Final-redhat-1.jar:]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [jboss-servlet-api_3.0_spec-1.0.2.Final-redhat-2.jar:1.0.2.Final-redhat-2]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:295) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]
at org.artificer.repository.filter.ServletCredentialsFilter.doFilter(ServletCredentialsFilter.java:45) [artificer-repository-1.0.0.Beta1.jar:1.0.0.Beta1]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]
at org.overlord.commons.auth.filters.SamlBearerTokenAuthFilter.doFilterChain(SamlBearerTokenAuthFilter.java:264) [overlord-commons-auth-2.0.14.Final.jar:2.0.14.Final]
at org.overlord.commons.auth.filters.SamlBearerTokenAuthFilter.doFilter(SamlBearerTokenAuthFilter.java:238) [overlord-commons-auth-2.0.14.Final.jar:2.0.14.Final]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]
at org.artificer.server.filters.LocaleFilter.doFilter(LocaleFilter.java:59) [classes:]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:231) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:149) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:512) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]
at org.jboss.as.web.session.ClusteredSessionValve.handleRequest(ClusteredSessionValve.java:134) [jboss-as-web-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]
at org.jboss.as.web.session.ClusteredSessionValve.invoke(ClusteredSessionValve.java:99) [jboss-as-web-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]
at org.jboss.as.web.session.JvmRouteValve.invoke(JvmRouteValve.java:92) [jboss-as-web-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]
at org.jboss.as.web.session.LockingValve.invoke(LockingValve.java:64) [jboss-as-web-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]
at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50) [jboss-as-jpa-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]
at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50) [jboss-as-jpa-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]
at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:169) [jboss-as-web-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:150) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:97) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:102) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:344) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:854) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:653) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:926) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]
at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_76]
Caused by: org.hibernate.search.SearchException: HSEARCH000103: Unable to initialize IndexManager org.artificer.repository.hibernate.entity.ArtificerArtifact
at org.hibernate.search.indexes.impl.IndexManagerHolder.createIndexManager(IndexManagerHolder.java:265) [hibernate-search-engine-4.6.0.Final-redhat-2.jar:4.6.0.Final-redhat-2]
at org.hibernate.search.indexes.impl.IndexManagerHolder.createIndexManager(IndexManagerHolder.java:528) [hibernate-search-engine-4.6.0.Final-redhat-2.jar:4.6.0.Final-redhat-2]
at org.hibernate.search.indexes.impl.IndexManagerHolder.createIndexManagers(IndexManagerHolder.java:495) [hibernate-search-engine-4.6.0.Final-redhat-2.jar:4.6.0.Final-redhat-2]
at org.hibernate.search.indexes.impl.IndexManagerHolder.buildEntityIndexBinding(IndexManagerHolder.java:104) [hibernate-search-engine-4.6.0.Final-redhat-2.jar:4.6.0.Final-redhat-2]
at org.hibernate.search.spi.SearchFactoryBuilder.initDocumentBuilders(SearchFactoryBuilder.java:364) [hibernate-search-engine-4.6.0.Final-redhat-2.jar:4.6.0.Final-redhat-2]
at org.hibernate.search.spi.SearchFactoryBuilder.buildNewSearchFactory(SearchFactoryBuilder.java:219) [hibernate-search-engine-4.6.0.Final-redhat-2.jar:4.6.0.Final-redhat-2]
at org.hibernate.search.spi.SearchFactoryBuilder.buildSearchFactory(SearchFactoryBuilder.java:143) [hibernate-search-engine-4.6.0.Final-redhat-2.jar:4.6.0.Final-redhat-2]
at org.hibernate.search.hcore.impl.HibernateSearchSessionFactoryObserver.sessionFactoryCreated(HibernateSearchSessionFactoryObserver.java:74) [hibernate-search-orm-4.6.0.Final-redhat-2.jar:4.6.0.Final-redhat-2]
at org.hibernate.internal.SessionFactoryObserverChain.sessionFactoryCreated(SessionFactoryObserverChain.java:52) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]
at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:575) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1799) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]
at org.hibernate.ejb.EntityManagerFactoryImpl.<init>(EntityManagerFactoryImpl.java:96) [hibernate-entitymanager-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]
at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:915) [hibernate-entitymanager-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]
at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:900) [hibernate-entitymanager-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]
at org.hibernate.ejb.HibernatePersistence.createEntityManagerFactory(HibernatePersistence.java:59) [hibernate-entitymanager-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]
at org.artificer.repository.hibernate.HibernateUtil.entityManager(HibernateUtil.java:109) [artificer-repository-hibernate-1.0.0.Beta1.jar:1.0.0.Beta1]
at org.artificer.repository.hibernate.HibernateUtil.access$000(HibernateUtil.java:48) [artificer-repository-hibernate-1.0.0.Beta1.jar:1.0.0.Beta1]
at org.artificer.repository.hibernate.HibernateUtil$HibernateTask.execute(HibernateUtil.java:62) [artificer-repository-hibernate-1.0.0.Beta1.jar:1.0.0.Beta1]
... 50 more
Caused by: org.hibernate.search.SearchException: Unable to initialize directory provider: org.artificer.repository.hibernate.entity.ArtificerArtifact
at org.hibernate.search.store.impl.DirectoryProviderFactory.createDirectoryProvider(DirectoryProviderFactory.java:91) [hibernate-search-engine-4.6.0.Final-redhat-2.jar:4.6.0.Final-redhat-2]
at org.hibernate.search.indexes.impl.DirectoryBasedIndexManager.createDirectoryProvider(DirectoryBasedIndexManager.java:212) [hibernate-search-engine-4.6.0.Final-redhat-2.jar:4.6.0.Final-redhat-2]
at org.hibernate.search.indexes.impl.DirectoryBasedIndexManager.initialize(DirectoryBasedIndexManager.java:99) [hibernate-search-engine-4.6.0.Final-redhat-2.jar:4.6.0.Final-redhat-2]
at org.hibernate.search.indexes.impl.IndexManagerHolder.createIndexManager(IndexManagerHolder.java:261) [hibernate-search-engine-4.6.0.Final-redhat-2.jar:4.6.0.Final-redhat-2]
... 67 more
Caused by: org.hibernate.search.SearchException: Unable to create index directory: /home/sbunciak/runtimes/artificer-jboss-eap-6.4/bin/lucene/indexes for index org.artificer.repository.hibernate.entity.ArtificerArtifact
at org.hibernate.search.store.impl.DirectoryProviderHelper.makeSanityCheckedDirectory(DirectoryProviderHelper.java:276) [hibernate-search-engine-4.6.0.Final-redhat-2.jar:4.6.0.Final-redhat-2]
at org.hibernate.search.store.impl.DirectoryProviderHelper.getVerifiedIndexDir(DirectoryProviderHelper.java:258) [hibernate-search-engine-4.6.0.Final-redhat-2.jar:4.6.0.Final-redhat-2]
at org.hibernate.search.store.impl.FSDirectoryProvider.initialize(FSDirectoryProvider.java:66) [hibernate-search-engine-4.6.0.Final-redhat-2.jar:4.6.0.Final-redhat-2]
at org.hibernate.search.store.impl.DirectoryProviderFactory.createDirectoryProvider(DirectoryProviderFactory.java:88) [hibernate-search-engine-4.6.0.Final-redhat-2.jar:4.6.0.Final-redhat-2]
... 70 more
{code}
> EAP 6.4: Hibernate Search fails to create indexes on startup
> ------------------------------------------------------------
>
> Key: ARTIF-718
> URL: https://issues.jboss.org/browse/ARTIF-718
> Project: Artificer
> Issue Type: Bug
> Affects Versions: 1.0.0.Beta1
> Environment: EAP 6.4
> Reporter: Brett Meyer
> Assignee: Brett Meyer
> Fix For: 1.0.0.Beta2
>
>
> 11:54:21,034 INFO [org.hibernate.search.store.impl.DirectoryProviderHelper] (http-/127.0.0.1:8080-8) HSEARCH000041: Index directory not found, creating: '/home/sbunciak/runtimes/artificer-jboss-eap-6.4/bin/lucene/indexes'
> 11:54:21,034 INFO [org.hibernate.search.store.impl.DirectoryProviderHelper] (http-/127.0.0.1:8080-7) HSEARCH000041: Index directory not found, creating: '/home/sbunciak/runtimes/artificer-jboss-eap-6.4/bin/lucene/indexes'
> 11:54:21,035 INFO [org.hibernate.search.store.impl.DirectoryProviderHelper] (http-/127.0.0.1:8080-8) HSEARCH000041: Index directory not found, creating: '/home/sbunciak/runtimes/artificer-jboss-eap-6.4/bin/lucene/indexes/org.artificer.repository.hibernate.entity.ArtificerArtifact'
> 11:54:21,037 ERROR [org.artificer.server.atom.workspaces.StoredQueryWorkspace] (http-/127.0.0.1:8080-7) Error getting the list of stored queries.: org.artificer.common.error.ArtificerServerException: org.hibernate.search.SearchException: HSEARCH000103: Unable to initialize IndexManager org.artificer.repository.hibernate.entity.ArtificerArtifact
> at org.artificer.repository.hibernate.HibernateUtil$HibernateTask.execute(HibernateUtil.java:87) [artificer-repository-hibernate-1.0.0.Beta1.jar:1.0.0.Beta1]
> at org.artificer.repository.hibernate.HibernatePersistenceManager.getStoredQueries(HibernatePersistenceManager.java:468) [artificer-repository-hibernate-1.0.0.Beta1.jar:1.0.0.Beta1]
> at org.artificer.server.atom.workspaces.StoredQueryWorkspace.configureWorkspace(StoredQueryWorkspace.java:57) [classes:]
> at org.artificer.server.atom.workspaces.AbstractWorkspace.<init>(AbstractWorkspace.java:51) [classes:]
> at org.artificer.server.atom.workspaces.StoredQueryWorkspace.<init>(StoredQueryWorkspace.java:46) [classes:]
> at org.artificer.server.atom.services.ServiceDocumentResource.get(ServiceDocumentResource.java:88) [classes:]
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_76]
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [rt.jar:1.7.0_76]
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_76]
> at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_76]
> at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:168) [resteasy-jaxrs-2.3.10.Final-redhat-1.jar:]
> at org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:269) [resteasy-jaxrs-2.3.10.Final-redhat-1.jar:]
> at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:227) [resteasy-jaxrs-2.3.10.Final-redhat-1.jar:]
> at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:216) [resteasy-jaxrs-2.3.10.Final-redhat-1.jar:]
> at org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:541) [resteasy-jaxrs-2.3.10.Final-redhat-1.jar:]
> at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:523) [resteasy-jaxrs-2.3.10.Final-redhat-1.jar:]
> at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:125) [resteasy-jaxrs-2.3.10.Final-redhat-1.jar:]
> at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:208) [resteasy-jaxrs-2.3.10.Final-redhat-1.jar:]
> at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:55) [resteasy-jaxrs-2.3.10.Final-redhat-1.jar:]
> at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:50) [resteasy-jaxrs-2.3.10.Final-redhat-1.jar:]
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [jboss-servlet-api_3.0_spec-1.0.2.Final-redhat-2.jar:1.0.2.Final-redhat-2]
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:295) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]
> at org.artificer.repository.filter.ServletCredentialsFilter.doFilter(ServletCredentialsFilter.java:45) [artificer-repository-1.0.0.Beta1.jar:1.0.0.Beta1]
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]
> at org.overlord.commons.auth.filters.SamlBearerTokenAuthFilter.doFilterChain(SamlBearerTokenAuthFilter.java:264) [overlord-commons-auth-2.0.14.Final.jar:2.0.14.Final]
> at org.overlord.commons.auth.filters.SamlBearerTokenAuthFilter.doFilter(SamlBearerTokenAuthFilter.java:238) [overlord-commons-auth-2.0.14.Final.jar:2.0.14.Final]
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]
> at org.artificer.server.filters.LocaleFilter.doFilter(LocaleFilter.java:59) [classes:]
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]
> at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:231) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]
> at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:149) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]
> at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:512) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]
> at org.jboss.as.web.session.ClusteredSessionValve.handleRequest(ClusteredSessionValve.java:134) [jboss-as-web-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]
> at org.jboss.as.web.session.ClusteredSessionValve.invoke(ClusteredSessionValve.java:99) [jboss-as-web-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]
> at org.jboss.as.web.session.JvmRouteValve.invoke(JvmRouteValve.java:92) [jboss-as-web-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]
> at org.jboss.as.web.session.LockingValve.invoke(LockingValve.java:64) [jboss-as-web-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]
> at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50) [jboss-as-jpa-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]
> at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50) [jboss-as-jpa-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]
> at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:169) [jboss-as-web-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]
> at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:150) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]
> at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:97) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]
> at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:102) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]
> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:344) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]
> at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:854) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]
> at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:653) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]
> at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:926) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]
> at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_76]
> Caused by: org.hibernate.search.SearchException: HSEARCH000103: Unable to initialize IndexManager org.artificer.repository.hibernate.entity.ArtificerArtifact
> at org.hibernate.search.indexes.impl.IndexManagerHolder.createIndexManager(IndexManagerHolder.java:265) [hibernate-search-engine-4.6.0.Final-redhat-2.jar:4.6.0.Final-redhat-2]
> at org.hibernate.search.indexes.impl.IndexManagerHolder.createIndexManager(IndexManagerHolder.java:528) [hibernate-search-engine-4.6.0.Final-redhat-2.jar:4.6.0.Final-redhat-2]
> at org.hibernate.search.indexes.impl.IndexManagerHolder.createIndexManagers(IndexManagerHolder.java:495) [hibernate-search-engine-4.6.0.Final-redhat-2.jar:4.6.0.Final-redhat-2]
> at org.hibernate.search.indexes.impl.IndexManagerHolder.buildEntityIndexBinding(IndexManagerHolder.java:104) [hibernate-search-engine-4.6.0.Final-redhat-2.jar:4.6.0.Final-redhat-2]
> at org.hibernate.search.spi.SearchFactoryBuilder.initDocumentBuilders(SearchFactoryBuilder.java:364) [hibernate-search-engine-4.6.0.Final-redhat-2.jar:4.6.0.Final-redhat-2]
> at org.hibernate.search.spi.SearchFactoryBuilder.buildNewSearchFactory(SearchFactoryBuilder.java:219) [hibernate-search-engine-4.6.0.Final-redhat-2.jar:4.6.0.Final-redhat-2]
> at org.hibernate.search.spi.SearchFactoryBuilder.buildSearchFactory(SearchFactoryBuilder.java:143) [hibernate-search-engine-4.6.0.Final-redhat-2.jar:4.6.0.Final-redhat-2]
> at org.hibernate.search.hcore.impl.HibernateSearchSessionFactoryObserver.sessionFactoryCreated(HibernateSearchSessionFactoryObserver.java:74) [hibernate-search-orm-4.6.0.Final-redhat-2.jar:4.6.0.Final-redhat-2]
> at org.hibernate.internal.SessionFactoryObserverChain.sessionFactoryCreated(SessionFactoryObserverChain.java:52) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]
> at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:575) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]
> at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1799) [hibernate-core-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]
> at org.hibernate.ejb.EntityManagerFactoryImpl.<init>(EntityManagerFactoryImpl.java:96) [hibernate-entitymanager-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]
> at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:915) [hibernate-entitymanager-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]
> at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:900) [hibernate-entitymanager-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]
> at org.hibernate.ejb.HibernatePersistence.createEntityManagerFactory(HibernatePersistence.java:59) [hibernate-entitymanager-4.2.18.Final-redhat-2.jar:4.2.18.Final-redhat-2]
> at org.artificer.repository.hibernate.HibernateUtil.entityManager(HibernateUtil.java:109) [artificer-repository-hibernate-1.0.0.Beta1.jar:1.0.0.Beta1]
> at org.artificer.repository.hibernate.HibernateUtil.access$000(HibernateUtil.java:48) [artificer-repository-hibernate-1.0.0.Beta1.jar:1.0.0.Beta1]
> at org.artificer.repository.hibernate.HibernateUtil$HibernateTask.execute(HibernateUtil.java:62) [artificer-repository-hibernate-1.0.0.Beta1.jar:1.0.0.Beta1]
> ... 50 more
> Caused by: org.hibernate.search.SearchException: Unable to initialize directory provider: org.artificer.repository.hibernate.entity.ArtificerArtifact
> at org.hibernate.search.store.impl.DirectoryProviderFactory.createDirectoryProvider(DirectoryProviderFactory.java:91) [hibernate-search-engine-4.6.0.Final-redhat-2.jar:4.6.0.Final-redhat-2]
> at org.hibernate.search.indexes.impl.DirectoryBasedIndexManager.createDirectoryProvider(DirectoryBasedIndexManager.java:212) [hibernate-search-engine-4.6.0.Final-redhat-2.jar:4.6.0.Final-redhat-2]
> at org.hibernate.search.indexes.impl.DirectoryBasedIndexManager.initialize(DirectoryBasedIndexManager.java:99) [hibernate-search-engine-4.6.0.Final-redhat-2.jar:4.6.0.Final-redhat-2]
> at org.hibernate.search.indexes.impl.IndexManagerHolder.createIndexManager(IndexManagerHolder.java:261) [hibernate-search-engine-4.6.0.Final-redhat-2.jar:4.6.0.Final-redhat-2]
> ... 67 more
> Caused by: org.hibernate.search.SearchException: Unable to create index directory: /home/sbunciak/runtimes/artificer-jboss-eap-6.4/bin/lucene/indexes for index org.artificer.repository.hibernate.entity.ArtificerArtifact
> at org.hibernate.search.store.impl.DirectoryProviderHelper.makeSanityCheckedDirectory(DirectoryProviderHelper.java:276) [hibernate-search-engine-4.6.0.Final-redhat-2.jar:4.6.0.Final-redhat-2]
> at org.hibernate.search.store.impl.DirectoryProviderHelper.getVerifiedIndexDir(DirectoryProviderHelper.java:258) [hibernate-search-engine-4.6.0.Final-redhat-2.jar:4.6.0.Final-redhat-2]
> at org.hibernate.search.store.impl.FSDirectoryProvider.initialize(FSDirectoryProvider.java:66) [hibernate-search-engine-4.6.0.Final-redhat-2.jar:4.6.0.Final-redhat-2]
> at org.hibernate.search.store.impl.DirectoryProviderFactory.createDirectoryProvider(DirectoryProviderFactory.java:88) [hibernate-search-engine-4.6.0.Final-redhat-2.jar:4.6.0.Final-redhat-2]
> ... 70 more
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
9 years, 6 months
[JBoss JIRA] (ARTIF-719) EAP 6.4: CNFE on an Errai marshalling class
by Brett Meyer (JIRA)
[ https://issues.jboss.org/browse/ARTIF-719?page=com.atlassian.jira.plugin.... ]
Brett Meyer resolved ARTIF-719.
-------------------------------
Resolution: Done
> EAP 6.4: CNFE on an Errai marshalling class
> -------------------------------------------
>
> Key: ARTIF-719
> URL: https://issues.jboss.org/browse/ARTIF-719
> Project: Artificer
> Issue Type: Bug
> Affects Versions: 1.0.0.Beta1
> Environment: EAP 6.4
> Reporter: Brett Meyer
> Assignee: Brett Meyer
> Fix For: 1.0.0.Beta2
>
>
> 13:03:16,821 WARN [org.jboss.modules] (MSC service thread 1-7) Failed to define class org.jboss.errai.marshalling.server.impl.ServerMarshallingFactoryImpl$Marshaller_for_java_lang_StackTraceElementImpl in Module "deployment.artificer-ui.war:main" from Service Module Loader: java.lang.LinkageError: Failed to link org/jboss/errai/marshalling/server/impl/ServerMarshallingFactoryImpl$Marshaller_for_java_lang_StackTraceElementImpl (Module "deployment.artificer-ui.war:main" from Service Module Loader)
> at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:487) [jboss-modules.jar:1.3.6.Final-redhat-1]
> at org.jboss.modules.ModuleClassLoader.loadClassLocal(ModuleClassLoader.java:277) [jboss-modules.jar:1.3.6.Final-redhat-1]
> at org.jboss.modules.ModuleClassLoader$1.loadClassLocal(ModuleClassLoader.java:92) [jboss-modules.jar:1.3.6.Final-redhat-1]
> at org.jboss.modules.Module.loadModuleClass(Module.java:568) [jboss-modules.jar:1.3.6.Final-redhat-1]
> at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:205) [jboss-modules.jar:1.3.6.Final-redhat-1]
> at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:459) [jboss-modules.jar:1.3.6.Final-redhat-1]
> at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:408) [jboss-modules.jar:1.3.6.Final-redhat-1]
> at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:389) [jboss-modules.jar:1.3.6.Final-redhat-1]
> at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:134) [jboss-modules.jar:1.3.6.Final-redhat-1]
> at org.jboss.as.weld.WeldModuleResourceLoader.classForName(WeldModuleResourceLoader.java:68) [jboss-as-weld-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]
> at org.jboss.weld.bootstrap.BeanDeployer.loadClass(BeanDeployer.java:109) [weld-core-1.1.28.Final-redhat-1.jar:1.1.28.Final-redhat-1]
> at org.jboss.weld.bootstrap.BeanDeployer.addClass(BeanDeployer.java:79) [weld-core-1.1.28.Final-redhat-1.jar:1.1.28.Final-redhat-1]
> at org.jboss.weld.bootstrap.BeanDeployer.addClasses(BeanDeployer.java:137) [weld-core-1.1.28.Final-redhat-1.jar:1.1.28.Final-redhat-1]
> at org.jboss.weld.bootstrap.BeanDeployment.createBeans(BeanDeployment.java:184) [weld-core-1.1.28.Final-redhat-1.jar:1.1.28.Final-redhat-1]
> at org.jboss.weld.bootstrap.WeldBootstrap.deployBeans(WeldBootstrap.java:349) [weld-core-1.1.28.Final-redhat-1.jar:1.1.28.Final-redhat-1]
> at org.jboss.as.weld.WeldStartService.start(WeldStartService.java:63) [jboss-as-weld-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1980) [jboss-msc-1.1.5.Final-redhat-1.jar:1.1.5.Final-redhat-1]
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1913) [jboss-msc-1.1.5.Final-redhat-1.jar:1.1.5.Final-redhat-1]
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_76]
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_76]
> at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_76]
> Caused by: java.lang.NoClassDefFoundError: org/jboss/errai/marshalling/client/api/GeneratedMarshaller
> at java.lang.ClassLoader.defineClass1(Native Method) [rt.jar:1.7.0_76]
> at java.lang.ClassLoader.defineClass(ClassLoader.java:800) [rt.jar:1.7.0_76]
> at org.jboss.modules.ModuleClassLoader.doDefineOrLoadClass(ModuleClassLoader.java:361) [jboss-modules.jar:1.3.6.Final-redhat-1]
> at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:482) [jboss-modules.jar:1.3.6.Final-redhat-1]
> ... 20 more
> Caused by: java.lang.ClassNotFoundException: org.jboss.errai.marshalling.client.api.GeneratedMarshaller from [Module "deployment.artificer-ui.war:main" from Service Module Loader]
> at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:213) [jboss-modules.jar:1.3.6.Final-redhat-1]
> at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:459) [jboss-modules.jar:1.3.6.Final-redhat-1]
> at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:408) [jboss-modules.jar:1.3.6.Final-redhat-1]
> at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:389) [jboss-modules.jar:1.3.6.Final-redhat-1]
> at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:134) [jboss-modules.jar:1.3.6.Final-redhat-1]
> ... 24 more
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
9 years, 6 months
[JBoss JIRA] (ARTIF-719) EAP 6.4: CNFE on an Errai marshalling class
by Brett Meyer (JIRA)
[ https://issues.jboss.org/browse/ARTIF-719?page=com.atlassian.jira.plugin.... ]
Brett Meyer updated ARTIF-719:
------------------------------
Description:
13:03:16,821 WARN [org.jboss.modules] (MSC service thread 1-7) Failed to define class org.jboss.errai.marshalling.server.impl.ServerMarshallingFactoryImpl$Marshaller_for_java_lang_StackTraceElementImpl in Module "deployment.artificer-ui.war:main" from Service Module Loader: java.lang.LinkageError: Failed to link org/jboss/errai/marshalling/server/impl/ServerMarshallingFactoryImpl$Marshaller_for_java_lang_StackTraceElementImpl (Module "deployment.artificer-ui.war:main" from Service Module Loader)
at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:487) [jboss-modules.jar:1.3.6.Final-redhat-1]
at org.jboss.modules.ModuleClassLoader.loadClassLocal(ModuleClassLoader.java:277) [jboss-modules.jar:1.3.6.Final-redhat-1]
at org.jboss.modules.ModuleClassLoader$1.loadClassLocal(ModuleClassLoader.java:92) [jboss-modules.jar:1.3.6.Final-redhat-1]
at org.jboss.modules.Module.loadModuleClass(Module.java:568) [jboss-modules.jar:1.3.6.Final-redhat-1]
at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:205) [jboss-modules.jar:1.3.6.Final-redhat-1]
at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:459) [jboss-modules.jar:1.3.6.Final-redhat-1]
at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:408) [jboss-modules.jar:1.3.6.Final-redhat-1]
at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:389) [jboss-modules.jar:1.3.6.Final-redhat-1]
at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:134) [jboss-modules.jar:1.3.6.Final-redhat-1]
at org.jboss.as.weld.WeldModuleResourceLoader.classForName(WeldModuleResourceLoader.java:68) [jboss-as-weld-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]
at org.jboss.weld.bootstrap.BeanDeployer.loadClass(BeanDeployer.java:109) [weld-core-1.1.28.Final-redhat-1.jar:1.1.28.Final-redhat-1]
at org.jboss.weld.bootstrap.BeanDeployer.addClass(BeanDeployer.java:79) [weld-core-1.1.28.Final-redhat-1.jar:1.1.28.Final-redhat-1]
at org.jboss.weld.bootstrap.BeanDeployer.addClasses(BeanDeployer.java:137) [weld-core-1.1.28.Final-redhat-1.jar:1.1.28.Final-redhat-1]
at org.jboss.weld.bootstrap.BeanDeployment.createBeans(BeanDeployment.java:184) [weld-core-1.1.28.Final-redhat-1.jar:1.1.28.Final-redhat-1]
at org.jboss.weld.bootstrap.WeldBootstrap.deployBeans(WeldBootstrap.java:349) [weld-core-1.1.28.Final-redhat-1.jar:1.1.28.Final-redhat-1]
at org.jboss.as.weld.WeldStartService.start(WeldStartService.java:63) [jboss-as-weld-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1980) [jboss-msc-1.1.5.Final-redhat-1.jar:1.1.5.Final-redhat-1]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1913) [jboss-msc-1.1.5.Final-redhat-1.jar:1.1.5.Final-redhat-1]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_76]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_76]
at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_76]
Caused by: java.lang.NoClassDefFoundError: org/jboss/errai/marshalling/client/api/GeneratedMarshaller
at java.lang.ClassLoader.defineClass1(Native Method) [rt.jar:1.7.0_76]
at java.lang.ClassLoader.defineClass(ClassLoader.java:800) [rt.jar:1.7.0_76]
at org.jboss.modules.ModuleClassLoader.doDefineOrLoadClass(ModuleClassLoader.java:361) [jboss-modules.jar:1.3.6.Final-redhat-1]
at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:482) [jboss-modules.jar:1.3.6.Final-redhat-1]
... 20 more
Caused by: java.lang.ClassNotFoundException: org.jboss.errai.marshalling.client.api.GeneratedMarshaller from [Module "deployment.artificer-ui.war:main" from Service Module Loader]
at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:213) [jboss-modules.jar:1.3.6.Final-redhat-1]
at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:459) [jboss-modules.jar:1.3.6.Final-redhat-1]
at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:408) [jboss-modules.jar:1.3.6.Final-redhat-1]
at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:389) [jboss-modules.jar:1.3.6.Final-redhat-1]
at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:134) [jboss-modules.jar:1.3.6.Final-redhat-1]
... 24 more
was:
{code}
13:03:16,821 WARN [org.jboss.modules] (MSC service thread 1-7) Failed to define class org.jboss.errai.marshalling.server.impl.ServerMarshallingFactoryImpl$Marshaller_for_java_lang_StackTraceElementImpl in Module "deployment.artificer-ui.war:main" from Service Module Loader: java.lang.LinkageError: Failed to link org/jboss/errai/marshalling/server/impl/ServerMarshallingFactoryImpl$Marshaller_for_java_lang_StackTraceElementImpl (Module "deployment.artificer-ui.war:main" from Service Module Loader)
at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:487) [jboss-modules.jar:1.3.6.Final-redhat-1]
at org.jboss.modules.ModuleClassLoader.loadClassLocal(ModuleClassLoader.java:277) [jboss-modules.jar:1.3.6.Final-redhat-1]
at org.jboss.modules.ModuleClassLoader$1.loadClassLocal(ModuleClassLoader.java:92) [jboss-modules.jar:1.3.6.Final-redhat-1]
at org.jboss.modules.Module.loadModuleClass(Module.java:568) [jboss-modules.jar:1.3.6.Final-redhat-1]
at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:205) [jboss-modules.jar:1.3.6.Final-redhat-1]
at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:459) [jboss-modules.jar:1.3.6.Final-redhat-1]
at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:408) [jboss-modules.jar:1.3.6.Final-redhat-1]
at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:389) [jboss-modules.jar:1.3.6.Final-redhat-1]
at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:134) [jboss-modules.jar:1.3.6.Final-redhat-1]
at org.jboss.as.weld.WeldModuleResourceLoader.classForName(WeldModuleResourceLoader.java:68) [jboss-as-weld-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]
at org.jboss.weld.bootstrap.BeanDeployer.loadClass(BeanDeployer.java:109) [weld-core-1.1.28.Final-redhat-1.jar:1.1.28.Final-redhat-1]
at org.jboss.weld.bootstrap.BeanDeployer.addClass(BeanDeployer.java:79) [weld-core-1.1.28.Final-redhat-1.jar:1.1.28.Final-redhat-1]
at org.jboss.weld.bootstrap.BeanDeployer.addClasses(BeanDeployer.java:137) [weld-core-1.1.28.Final-redhat-1.jar:1.1.28.Final-redhat-1]
at org.jboss.weld.bootstrap.BeanDeployment.createBeans(BeanDeployment.java:184) [weld-core-1.1.28.Final-redhat-1.jar:1.1.28.Final-redhat-1]
at org.jboss.weld.bootstrap.WeldBootstrap.deployBeans(WeldBootstrap.java:349) [weld-core-1.1.28.Final-redhat-1.jar:1.1.28.Final-redhat-1]
at org.jboss.as.weld.WeldStartService.start(WeldStartService.java:63) [jboss-as-weld-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1980) [jboss-msc-1.1.5.Final-redhat-1.jar:1.1.5.Final-redhat-1]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1913) [jboss-msc-1.1.5.Final-redhat-1.jar:1.1.5.Final-redhat-1]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_76]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_76]
at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_76]
Caused by: java.lang.NoClassDefFoundError: org/jboss/errai/marshalling/client/api/GeneratedMarshaller
at java.lang.ClassLoader.defineClass1(Native Method) [rt.jar:1.7.0_76]
at java.lang.ClassLoader.defineClass(ClassLoader.java:800) [rt.jar:1.7.0_76]
at org.jboss.modules.ModuleClassLoader.doDefineOrLoadClass(ModuleClassLoader.java:361) [jboss-modules.jar:1.3.6.Final-redhat-1]
at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:482) [jboss-modules.jar:1.3.6.Final-redhat-1]
... 20 more
Caused by: java.lang.ClassNotFoundException: org.jboss.errai.marshalling.client.api.GeneratedMarshaller from [Module "deployment.artificer-ui.war:main" from Service Module Loader]
at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:213) [jboss-modules.jar:1.3.6.Final-redhat-1]
at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:459) [jboss-modules.jar:1.3.6.Final-redhat-1]
at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:408) [jboss-modules.jar:1.3.6.Final-redhat-1]
at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:389) [jboss-modules.jar:1.3.6.Final-redhat-1]
at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:134) [jboss-modules.jar:1.3.6.Final-redhat-1]
... 24 more
{code}
> EAP 6.4: CNFE on an Errai marshalling class
> -------------------------------------------
>
> Key: ARTIF-719
> URL: https://issues.jboss.org/browse/ARTIF-719
> Project: Artificer
> Issue Type: Bug
> Affects Versions: 1.0.0.Beta1
> Environment: EAP 6.4
> Reporter: Brett Meyer
> Assignee: Brett Meyer
> Fix For: 1.0.0.Beta2
>
>
> 13:03:16,821 WARN [org.jboss.modules] (MSC service thread 1-7) Failed to define class org.jboss.errai.marshalling.server.impl.ServerMarshallingFactoryImpl$Marshaller_for_java_lang_StackTraceElementImpl in Module "deployment.artificer-ui.war:main" from Service Module Loader: java.lang.LinkageError: Failed to link org/jboss/errai/marshalling/server/impl/ServerMarshallingFactoryImpl$Marshaller_for_java_lang_StackTraceElementImpl (Module "deployment.artificer-ui.war:main" from Service Module Loader)
> at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:487) [jboss-modules.jar:1.3.6.Final-redhat-1]
> at org.jboss.modules.ModuleClassLoader.loadClassLocal(ModuleClassLoader.java:277) [jboss-modules.jar:1.3.6.Final-redhat-1]
> at org.jboss.modules.ModuleClassLoader$1.loadClassLocal(ModuleClassLoader.java:92) [jboss-modules.jar:1.3.6.Final-redhat-1]
> at org.jboss.modules.Module.loadModuleClass(Module.java:568) [jboss-modules.jar:1.3.6.Final-redhat-1]
> at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:205) [jboss-modules.jar:1.3.6.Final-redhat-1]
> at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:459) [jboss-modules.jar:1.3.6.Final-redhat-1]
> at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:408) [jboss-modules.jar:1.3.6.Final-redhat-1]
> at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:389) [jboss-modules.jar:1.3.6.Final-redhat-1]
> at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:134) [jboss-modules.jar:1.3.6.Final-redhat-1]
> at org.jboss.as.weld.WeldModuleResourceLoader.classForName(WeldModuleResourceLoader.java:68) [jboss-as-weld-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]
> at org.jboss.weld.bootstrap.BeanDeployer.loadClass(BeanDeployer.java:109) [weld-core-1.1.28.Final-redhat-1.jar:1.1.28.Final-redhat-1]
> at org.jboss.weld.bootstrap.BeanDeployer.addClass(BeanDeployer.java:79) [weld-core-1.1.28.Final-redhat-1.jar:1.1.28.Final-redhat-1]
> at org.jboss.weld.bootstrap.BeanDeployer.addClasses(BeanDeployer.java:137) [weld-core-1.1.28.Final-redhat-1.jar:1.1.28.Final-redhat-1]
> at org.jboss.weld.bootstrap.BeanDeployment.createBeans(BeanDeployment.java:184) [weld-core-1.1.28.Final-redhat-1.jar:1.1.28.Final-redhat-1]
> at org.jboss.weld.bootstrap.WeldBootstrap.deployBeans(WeldBootstrap.java:349) [weld-core-1.1.28.Final-redhat-1.jar:1.1.28.Final-redhat-1]
> at org.jboss.as.weld.WeldStartService.start(WeldStartService.java:63) [jboss-as-weld-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1980) [jboss-msc-1.1.5.Final-redhat-1.jar:1.1.5.Final-redhat-1]
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1913) [jboss-msc-1.1.5.Final-redhat-1.jar:1.1.5.Final-redhat-1]
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_76]
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_76]
> at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_76]
> Caused by: java.lang.NoClassDefFoundError: org/jboss/errai/marshalling/client/api/GeneratedMarshaller
> at java.lang.ClassLoader.defineClass1(Native Method) [rt.jar:1.7.0_76]
> at java.lang.ClassLoader.defineClass(ClassLoader.java:800) [rt.jar:1.7.0_76]
> at org.jboss.modules.ModuleClassLoader.doDefineOrLoadClass(ModuleClassLoader.java:361) [jboss-modules.jar:1.3.6.Final-redhat-1]
> at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:482) [jboss-modules.jar:1.3.6.Final-redhat-1]
> ... 20 more
> Caused by: java.lang.ClassNotFoundException: org.jboss.errai.marshalling.client.api.GeneratedMarshaller from [Module "deployment.artificer-ui.war:main" from Service Module Loader]
> at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:213) [jboss-modules.jar:1.3.6.Final-redhat-1]
> at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:459) [jboss-modules.jar:1.3.6.Final-redhat-1]
> at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:408) [jboss-modules.jar:1.3.6.Final-redhat-1]
> at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:389) [jboss-modules.jar:1.3.6.Final-redhat-1]
> at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:134) [jboss-modules.jar:1.3.6.Final-redhat-1]
> ... 24 more
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
9 years, 6 months