[hibernate-issues] [Hibernate-JIRA] Commented: (HSEARCH-1060) ClassLoaderHelper should not look only in the current thread context classloader

Ales Justin (JIRA) noreply at atlassian.com
Fri Mar 9 11:31:48 EST 2012


    [ https://hibernate.onjira.com/browse/HSEARCH-1060?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=45888#comment-45888 ] 

Ales Justin commented on HSEARCH-1060:
--------------------------------------

The way it is now -- using TCCL, proper services are not found.
They are only found if the app has direct dependency on the HS lib + HS module (in AS7 terms) exposes META-INF/services/ dir.

In my case, HS is 3 levels deep from my apps:
app --> CapeDwarf --> Infinispan --> HS

And of course I don't wanna re-export HS all the way.

btw: 
* https://community.jboss.org/wiki/ModuleCompatibleClassloadingGuide
* https://community.jboss.org/wiki/ModularSerialization (for HSEARCH-1059 ;-))

> ClassLoaderHelper should not look only in the current thread context classloader
> --------------------------------------------------------------------------------
>
>                 Key: HSEARCH-1060
>                 URL: https://hibernate.onjira.com/browse/HSEARCH-1060
>             Project: Hibernate Search
>          Issue Type: Bug
>          Components: engine
>            Reporter: Sanne Grinovero
>            Priority: Critical
>             Fix For: 4.1.0.Final
>
>


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list