Skip to content

Commit

Permalink
Payara 5.194 support
Browse files Browse the repository at this point in the history
  • Loading branch information
Tero Pihlaja committed Nov 17, 2020
1 parent 2d71595 commit 95b7609
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## v.1.2.2:
* Enhance : Better support for Payara 5.194+.

## v.1.2.1:
* Enhance : Add support for newer JVM 8 and Payara.

Expand Down
2 changes: 1 addition & 1 deletion metadata.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
maintainer_email '[email protected]'
license 'Apache-2.0'
description 'Installs/Configures GlassFish Application Server'
version '1.2.1'
version '1.2.2'

chef_version '>= 13.0'

Expand Down
7 changes: 6 additions & 1 deletion resources/domain.rb
Original file line number Diff line number Diff line change
Expand Up @@ -162,14 +162,19 @@ def osgi_jvm_options
end

def security_jvm_options
[
opts = [
'-Dcom.sun.enterprise.security.httpsOutboundKeyAlias=s1as',
"-Djavax.net.ssl.keyStore=#{domain_dir_path}/config/keystore.jks",
"-Djava.security.policy=#{domain_dir_path}/config/server.policy",
"-Djavax.net.ssl.trustStore=#{domain_dir_path}/config/cacerts.jks",
'-Dcom.sun.enterprise.security.httpsOutboundKeyAlias=s1as',
"-Djava.security.auth.login.config=#{domain_dir_path}/config/login.conf",
]

if node['glassfish']['variant'] == 'payara' && node['glassfish']['version'].split('.')[0].to_i >= 5 && node['glassfish']['version'].split('.')[1].to_i >= 194
opts << '[Azul-1.8.0u222|1.8.0u260]-XX:+UseOpenJSSE'
end
opts
end

def grizzly_options
Expand Down

0 comments on commit 95b7609

Please sign in to comment.