Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Erroneous CWWKL0058W warning when multiple JARs in library have META-INF/services #9033

Closed
njr-11 opened this issue Sep 18, 2019 · 0 comments · Fixed by #9034
Closed

Erroneous CWWKL0058W warning when multiple JARs in library have META-INF/services #9033

njr-11 opened this issue Sep 18, 2019 · 0 comments · Fixed by #9034
Assignees
Labels
release bug This bug is present in a released version of Open Liberty release:190010 team:Zombie Apocalypse

Comments

@njr-11
Copy link
Contributor

njr-11 commented Sep 18, 2019

I configured a bell for a specific service, pointing at a library where there are multiple JARs that have META-INF/services entries. Only one of the JARs provides the particular service (as would be expected),

    <bell libraryRef="InfinispanLib" service="javax.cache.spi.CachingProvider"/>

    <library id="InfinispanLib">
        <fileset dir="${shared.resource.dir}/infinispan" includes="*.jar"/>
    </library>

The following warning appears in server logs after it first finds the service in one of the JARs and then processes the other JARs, seeing that a these other JARs with META-INF/services don't also provide the service, and then logs an untrue warning stating that the library doesn't provide the service. (Functionally the service is found and successfully used by Liberty and the test app)

[9/17/19, 14:53:45:537 CDT] 00000029 id=00000000 com.ibm.ws.classloading.bells.internal.Bell                  W CWWKL0058W: Cannot find the javax.cache.spi.CachingProvider service in META-INF/services folder from the InfinispanLib library.
@njr-11 njr-11 added team:Zombie Apocalypse release bug This bug is present in a released version of Open Liberty labels Sep 18, 2019
@njr-11 njr-11 self-assigned this Sep 18, 2019
njr-11 added a commit to njr-11/open-liberty that referenced this issue Sep 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release bug This bug is present in a released version of Open Liberty release:190010 team:Zombie Apocalypse
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants