Wildfly deployment fails for elasticache #1629
Unanswered
jigneshmpatel
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am trying to deploy the lettuce 6.0.2 on wildfly 10(which is customized to deploy OSGI bundle), which connects AWS elasticache. The connection URL looks as follows:
RedisURI redisURI = RedisURI.Builder.redis(configProperties.getProperty("ECclusterhost"), Integer.parseInt(configProperties.getProperty("ECclusterport"))).withPassword(pswdcharArray).withSsl(true).build();
The standalone program executes well, but when I tried to deploy on wildfly it gives me following error at the call:
RedisClusterClient.create(redisURI);
Caused by: org.apache.felix.log.LogException: java.lang.NoClassDefFoundError: javax/net/ssl/SSLParameters
... 42 more
Caused by: java.lang.ClassNotFoundException: javax.net.ssl.SSLParameters from [Module "deployment.elasticache-1.0.0.jar:main" from Service Module Loader]
The pom.xml has following dependencies.
Beta Was this translation helpful? Give feedback.
All reactions