-
Notifications
You must be signed in to change notification settings - Fork 137
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
Only one app starts in same tomca9 container. Others fails. #268
Comments
could you include the full exception trace please... |
@kares Good theory. I bet this is a private vs public lookup issue again. |
This has to be exist somewhere in the system classpath... it's saying that there's two of them, one from the classloader that loaded java/lang/Object (the boot classloader) and one from the classloader that loaded org/jruby/RubyString (the app classloader). You may be able to grep for |
Also I see you are running with the method handle stuff patched out... but it still seems to be getting used, according to this error. |
Full trace
|
In this case I am running without any custom patches. This should be identical to version #262 merged to master. |
Nokogiri brings xercesImpl-2.12.2.jar with it. It is the only that contains another ByteList I can find.
I removed that jar from apps but #268 (comment) keeps coming. |
@jlahtinen Yeah I wouldn't expect that ByteList to conflict. Two patches for you to try (first one would be best, try second if that fails): Patch 1: non-public MH lookup
Patch 2: reflection and unreflect
|
@headius patch 1 worked |
@jlahtinen Figures! I'll merge that in. |
We are currently running version master...jlahtinen:jruby-rack:kvp5 that allows to deploy more than 1 rails app to same tomcat9
See #262 also
The text was updated successfully, but these errors were encountered: