This repository was archived by the owner on Mar 29, 2020. It is now read-only.
Open
Conversation
…portantly, regress softwaremill-common back to guava r06 because the jbossas 6 classloader throws 'Unsatisfied link' exception loading libraries that otherwise work just fine with trqbox-demo tests. softwaremill-cdi was explicitely using guava r07. This will be frustrating to anyone trying to follow and extend the demo to intergrate other CDIs into torquebox. All tests worked on the regression/installation of 47-SNAPSHOT
Member
|
Ah, right, we just work around this issue by marking guava as provided in our pom and copying it to jboss/server/default/lib. But in the demo's pom.xml that's already done, I guess you must have hit the issue when trying to re-create the demo? Thanks for trying out the demo, btw.! :) Adam |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hi,
Thanks for the trqbox-demo. I'm porting a Seam 2 project to jruby via torquebox so I immediately started trying to extend your demo. Once I added a maven dependency for softwaremill-cdi, I hit this library compatability issue. Since this is particular to a jboss container, I'm not sure what course you would prefer to handle this but maybe via a maven profile? I imagine a lot of people use jboss 6.0 or torquebox 1.1.
My Commit Message:
Reference TorqueBox 1.1/jboss 6.0's Weld 1.1.0.Final version. More importantly, regress softwaremill-common back to guava r06 because the jbossas 6 classloader throws 'Unsatisfied link' exception loading libraries that otherwise work just fine with trqbox-demo tests. softwaremill-cdi was explicitely using guava r07. This will be frustrating to anyone trying to follow and extend the demo to intergrate other CDIs into torquebox. All tests worked on the regression/installation of 47-SNAPSHOT.
Thanks,
Chris