[hibernate-dev] [HSEARCH] Arquilian deployment error
Emmanuel Bernard
emmanuel at hibernate.org
Mon Dec 5 08:34:18 EST 2011
Can you share your fix btw sanne?
On 5 déc. 2011, at 14:26, Emmanuel Bernard wrote:
> yes I use the `remote` script.
>
> On 2 déc. 2011, at 17:32, Sanne Grinovero wrote:
>
>> The Arquillian test needs to unpack AS7 in your target folder and run
>> it from there; the only problem I can think of is that you're having
>> something left over from previous builds, or that you're running the
>> tests from your IDE which might point to class instances instead of an
>> on-disk package.
>>
>> Does this happen from a command line with "mvn clean install" ?
>> In case you're using your own super cool build script, I've evolved it
>> to delete and recreate the builddirectory before cloning the git
>> repository.
>>
>> Sanne
>>
>> On 2 December 2011 16:25, Hardy Ferentschik <hardy at hibernate.org> wrote:
>>>
>>> Against current master? I haven't seen this before
>>>
>>> On Dec 2, 2011, at 5:18 PM, Emmanuel Bernard wrote:
>>>
>>>> I still have these errors on my machine when running the HSearch test suite.
>>>>
>>>> Could it be because of our engine / orm split and the fact that JBoss module got screwed?
>>>>
>>>> 17:14:07,921 INFO [org.hibernate.validator.util.Version] (MSC service thread 1-8) Hibernate Validator 4.2.0.Final
>>>> 17:14:07,991 INFO [org.hibernate.search.Version] (MSC service thread 1-8) HSEARCH000034: Hibernate Search 4.0.0-SNAPSHOT
>>>> 17:14:07,998 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-8) MSC00001: Failed to start service jboss.persistenceunit."MemberRegistrationIT.war#primary": org.jboss.msc.service.StartException in service jboss.persistenceunit."MemberRegistrationIT.war#primary": Failed to start service
>>>> at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1780) [jboss-msc-1.0.1.GA.jar:1.0.1.GA]
>>>> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [:1.6.0_29]
>>>> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [:1.6.0_29]
>>>> at java.lang.Thread.run(Thread.java:680) [:1.6.0_29]
>>>> Caused by: java.lang.NoClassDefFoundError: org/hibernate/search/spi/InstanceInitializer
>>>> at org.hibernate.search.event.impl.FullTextIndexEventListener.initialize(FullTextIndexEventListener.java:129)
>>>> at org.hibernate.search.hcore.impl.HibernateSearchIntegrator.integrate(HibernateSearchIntegrator.java:82)
>>>> at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:294)
>>>> at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1722)
>>>> at org.hibernate.ejb.EntityManagerFactoryImpl.<init>(EntityManagerFactoryImpl.java:76)
>>>> at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:899)
>>>> at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:884)
>>>> at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:73)
>>>> at org.jboss.as.jpa.service.PersistenceUnitService.createContainerEntityManagerFactory(PersistenceUnitService.java:143)
>>>> at org.jboss.as.jpa.service.PersistenceUnitService.start(PersistenceUnitService.java:77)
>>>> at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1824) [jboss-msc-1.0.1.GA.jar:1.0.1.GA]
>>>> at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1759) [jboss-msc-1.0.1.GA.jar:1.0.1.GA]
>>>> ... 3 more
>>>> Caused by: java.lang.ClassNotFoundException: org.hibernate.search.spi.InstanceInitializer from [Module "deployment.MemberRegistrationIT.war:main" from Service Module Loader]
>>>> at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:191) [jboss-modules.jar:1.0.2.GA]
>>>> at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:361) [jboss-modules.jar:1.0.2.GA]
>>>> at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:333) [jboss-modules.jar:1.0.2.GA]
>>>> at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:310) [jboss-modules.jar:1.0.2.GA]
>>>> at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:103) [jboss-modules.jar:1.0.2.GA]
>>>> ... 15 more
>>>>
>>>> 17:14:08,221 INFO [org.jboss.as.server.controller] (pool-1-thread-1) Deployment of "MemberRegistrationIT.war" was rolled back with failure message {"Failed services" => {"jboss.persistenceunit.\"MemberRegistrationIT.war#primary\"" => "org.jboss.msc.service.StartException in service jboss.persistenceunit.\"MemberRegistrationIT.war#primary\": Failed to start service"}}
>
>
> _______________________________________________
> hibernate-dev mailing list
> hibernate-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/hibernate-dev
More information about the hibernate-dev
mailing list