Sanne, Artificer leans entirely on the ORM/Search modules available in Wildfly
and EAP. I can probably upgrade Search upstream, but I'd still need a
workaround for EAP 6.4. It sounds like using a Tika module and having Search's
module explicitly import it is the only option, right?
- Orig
On 2 June 2015 at 09:48, Sanne Grinovero wrote:
> Hi Brett,
> thanks for the stacktrace, that clarified a lot: looks like a problem
> with our classloader strategy after all.
>
> In BridgeFactory.doExtractType:592 we invoke "Class#newInstance()";
> the Class itself is already found but then it fai
Hi Brett,
thanks for the stacktrace, that clarified a lot: looks like a problem
with our classloader strategy after all.
In BridgeFactory.doExtractType:592 we invoke "Class#newInstance()";
the Class itself is already found but then it fails to initialize it
as this isn't happening within the ORM c
> It would surprise me. We delegate to the ORM classloader, and it's
> well tested to load dependencies from the user module. My experience
> with the jboss-deployment-structure XML file is more limited, I'd
> rather suspect the dependency definition is not done correctly?
> For example, I remember
On 1 June 2015 at 17:05, Brett Meyer wrote:
> Sanne, right, I tried that as well -- makes sense in theory.
> jboss-deployment-structure:
>
>
>
>
>
> However, I still hit the same error. The *only* way I can get it to work is
> to directly add the Tika module to org.hibernate.search.engine's
Sanne, right, I tried that as well -- makes sense in theory.
jboss-deployment-structure:
However, I still hit the same error. The *only* way I can get it to work is to
directly add the Tika module to org.hibernate.search.engine's module.xml.
Think there could be a larger classloading iss
Hi Brett,
with that configuration, your application is depending on the Tika
module but since module dependencies are not transitive, and Hibernate
ORM (and thus Search) depend on your WAR, they don't get access to the
Tika dependencies.
I see two options:
- you have your deployment-structure dec
Sanne, I might still be missing something. Artificer's war does not include
any Hibernate ORM, Hibernate Search, or Tika jars. For Wildfly 8.2, the war's
jboss-deployment-structure.xml includes:
(includes tika-parsers-1.6.jar)
(Also using the org.hibernate module, but that's implicitly added
Hi Brett,
we don't include all existing analysers and extensions within the
WildFly modules. In particular the Apache Tika libraries have a huge
amount of dependencies, you should choose the ones you need depending
on what kind of media you intend to parse.
Include any extension in your "applicati