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

java.lang.UnsatisfiedLinkError: no provided in java.library.path using spring boot/tomcat embedded #151

Closed
WeirdBob opened this issue Jun 8, 2016 · 11 comments
Milestone

Comments

@WeirdBob
Copy link

WeirdBob commented Jun 8, 2016

I'm using netty 4.1.0CR7 & netty-tcnative-boringssl-static 1.1.33.Fork17 in a spring boot project (tomcat-embed-core-8.0.33). There seem to be an incompatibility in the org.apache.tomcat.jni.Library class (provided by both projects):
io.netty.handler.ssl.OpenSsl l81 : Library.initialize("provided"); fails when the tomcat provided Library class is loaded first since it tries to load a provided.dll library that doesn't exist.
I think it's the same issue as #136 (but reversed, tomcat lib being loaded before netty lib in my case)
Hope my jiberish makes sense...

@pires
Copy link

pires commented Jun 9, 2016

Same here.

@Scottmitch
Copy link
Member

@normanmaurer - perhaps addressing #104, removing APR dependency, and move the remaining classes remaining to io.netty.native.ssl package may help with these conflicts ... wdyt?

@normanmaurer
Copy link
Member

Yep .... At some point I started with this. Let me pick it up next week again

Am 09.06.2016 um 16:24 schrieb Scott Mitchell notifications@github.com:

@normanmaurer - perhaps addressing #104, removing APR dependency, and move the remaining classes remaining to io.netty.native.ssl package may help with these conflicts ... wdyt?


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

@nmittler
Copy link
Member

nmittler commented Jun 9, 2016

@Scottmitch @normanmaurer maybe it's time to seriously start looking at conscrypt?

@nmittler
Copy link
Member

nmittler commented Jun 9, 2016

FYI, we already have an issue open for taking a look at conscyrpt: #114

@rohit321
Copy link

Ran into this issue. We use spring-boot and grpc which requires netty-tcnative boring ssl. Is there any work around for this issue, as we are blocked on this

@pires
Copy link

pires commented Sep 19, 2016

@Rohit don't use Tomcat. Worked for me.

@rohit321
Copy link

Thanks @pires , Getting rid of tomcat did the trick!!

@WeirdBob
Copy link
Author

Hi,
is there an update for this?
I switched from tomcat to jetty in order to be able to work but I should deploy with tomcat in production (corporate rules) so this one could become troublesome.

@hzariv
Copy link

hzariv commented Oct 28, 2016

I filed #5948 on netty and it was closed as dup of this one. I am also using Spring Boot and Google gRPC and I am currently blocked as I need to use tomcat and gRPC together (I don't have the option of getting ride of Tomcat :-()

@normanmaurer
Copy link
Member

Fixed in master branch and will be part of 2.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants