-
Notifications
You must be signed in to change notification settings - Fork 592
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
Unable to reach a settlement: [] #419
Comments
Hi @Simsal please load the unlimited strength Java crypto extensions. That should help getting a settlement |
Hey @hierynomus , I've put the two jars i got from the oracle page into my javahome/jdk1.8.0_77/jre/lib/security onto the server the webapp is running. Do you have any other idea? :) |
@hierynomus
|
Are you using an uber jar? We're not calling anything. What you're seeing is the Java Securitymanager kicking in. The empty |
So, somehow the other applications on the tomcat blocked the settlement. I deployed my application on another server and now it works like a charm. |
@hierynomus @Simsal I had the same issue -- also with MicroStrategy. my code with sshj works fine with the same JDK outside Tomcat (I verified that the JCE policy is unrestricted) but breaks inside Tomcat with a similar error as above. My question is: how is it possible for other code running in the same Tomcat to interfere with sshj's ability to call bouncycastle? Is this a defect in sshj or is this intrinsic to JCE? |
actually it's neither. However BouncyCastle cannot be wrapped in an uber-jar (a jar with dependencies). See my previous comment. SSHJ does not call upon microstrategy. |
@hierynomus The issue is that my own webapp which uses sshj is NOT using an uber-JAR. A different webapp on the same Tomcat does use an uber-JAR and my question is why are they not isolated - how can one webapp break another? Isn't the app server supposed to provide some layer of isolation between webapps? I agree that sshj is not calling MicroStrategy. It's not a call, but rather the mere existence of this MicroStrategy app on the same Tomcat is breaking sshj in a different webapp. |
Hey,
I allways get following error when i try to copy a file from RHEL 7 to RHEL 7.
It looks like as if sshj doesn't offer any algorithms?
(based on your answer here: [(https://github.com//issues/380)]
Do i need to configure them somewhere?
my pom.xml:
The text was updated successfully, but these errors were encountered: