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

packaging multiple modules into spring-ws-xx-all.jar breaks handler loading mechanism [SWS-454] #592

Closed
gregturn opened this issue Dec 1, 2008 · 1 comment

Comments

@gregturn
Copy link
Member

@gregturn gregturn commented Dec 1, 2008

hakan eryargi opened SWS-454 and commented

two different jar files contains META-INF/spring.handlers file which define spring handlers (spring-oxm-xx.jar, spring-ws-core-xx.jar). these jars and some others are bundled into a single jar file spring-ws-xx-all.jar. when using spring-ws-xx-all.jar in our classpath, spring complains saying:

Unable to locate Spring NamespaceHandler for XML schema namespace http://www.springframework.org/schema/oxm

this happens since jvm picks one of the META-INF/spring.handlers per jar file and ignores the others.

workaround is to use seperate module files instead of spring-ws-xx-all.jar

solution is merging META-INF/spring.handlers files from different jars into a single one and including it in spring-ws-xx-all.jar


Affects: 1.5.5

Issue Links:

  • #512 All-in-one jar doesn't contain correct spring.handlers
    ("duplicates")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.