diff --git a/config/java_opts.yml b/config/java_opts.yml index f36ef772a2..0a7c3c6f6b 100644 --- a/config/java_opts.yml +++ b/config/java_opts.yml @@ -16,4 +16,4 @@ # JAVA_OPTS configuration --- from_environment: true -java_opts: +java_opts: '-Dsun.net.inetaddr.ttl=60' diff --git a/resources/new_relic_agent/newrelic.yml b/resources/new_relic_agent/newrelic.yml index 2123748db4..9c35528a92 100644 --- a/resources/new_relic_agent/newrelic.yml +++ b/resources/new_relic_agent/newrelic.yml @@ -2,15 +2,18 @@ # Java applications with deep visibility and low overhead. For more details and additional # configuration options visit https://docs.newrelic.com/docs/java/java-agent-configuration. # +# This configuration file is custom generated for Philips_69 +# # This section is for settings common to all environments. # Do not add anything above this next line. common: &default_settings # ============================== LICENSE KEY =============================== # You must specify the license key associated with your New Relic - # account. This key binds your Agent's data to your account in the - # New Relic service. - license_key: 'your license key' + # account. For example, if your license key is 12345 use this: + # license_key: '12345' + # The key binds your Agent's data to your account in the New Relic service. + license_key: '13719a5de2b75b5aa72343d2df2207196b32f6ef' # Agent Enabled # Use this setting to disable the agent instead of removing it from the startup command. @@ -20,12 +23,13 @@ common: &default_settings # Set the name of your application as you'd like it show up in New Relic. # If enable_auto_app_naming is false, the agent reports all data to this application. # Otherwise, the agent reports only background tasks (transactions for non-web applications) - # to this application. To report data to more than one application + # to this application. To report data to more than one application # (useful for rollup reporting), separate the application names with ";". # For example, to report data to "My Application" and "My Application 2" use this: # app_name: My Application;My Application 2 - # This setting is required. - app_name: My Application + # This setting is required. Up to 3 different application names can be specified. + # The first application name must be unique. + app_name: HSDP_DC_CDS # To enable high security, set this property to true. When in high # security mode, the agent will use SSL and obfuscated SQL. Additionally, @@ -62,7 +66,7 @@ common: &default_settings # Default is 1. log_file_count: 1 - # The maximum number of bytes to write to any one log file. + # The maximum number of kbytes to write to any one log file. # The log_file_count must be set greater than 1. # Default is 0 (no limit). log_limit_in_kbytes: 0 @@ -98,26 +102,26 @@ common: &default_settings #proxy_user: username #proxy_password: password - # Limits the number of lines to capture for each stack trace. + # Limits the number of lines to capture for each stack trace. # Default is 30 max_stack_trace_lines: 30 # Provides the ability to configure the attributes sent to New Relic. These - # attributes can be found in transaction traces, traced errors, Insight's + # attributes can be found in transaction traces, traced errors, Insight's # transaction events, and Insight's page views. attributes: - + # When true, attributes will be sent to New Relic. The default is true. enabled: true - - #A comma separated list of attribute keys whose values should + + #A comma separated list of attribute keys whose values should # be sent to New Relic. #include: - - # A comma separated list of attribute keys whose values should + + # A comma separated list of attribute keys whose values should # not be sent to New Relic. #exclude: - + # Transaction tracer captures deep information about slow # transactions and sends this to the New Relic service once a @@ -163,7 +167,7 @@ common: &default_settings # Default is true. explain_enabled: true - # Threshold for query execution time below which query plans will not + # Threshold for query execution time below which query plans will not # not be captured. Relevant only when `explain_enabled` is true. # Default is 0.5 seconds. explain_threshold: 0.5 @@ -195,16 +199,16 @@ common: &default_settings # this, you must provide any new value as an empty list is ignored. ignore_status_codes: 404 - # Analytics Events are used for Histograms and Percentiles. Unaggregated data is collected - # for each web transaction and sent to the server on harvest. - analytics_events: + # Transaction Events are used for Histograms and Percentiles. Unaggregated data is collected + # for each web transaction and sent to the server on harvest. + transaction_events: - # Set to false to disable analytics events. + # Set to false to disable transaction events. # Default is true. enabled: true # Events are collected up to the configured amount. Afterwards, events are sampled to - # maintain an even distribution across the harvest cycle. Largest value accepted is 10000. + # maintain an even distribution across the harvest cycle. # Default is 2000. Setting to 0 will disable. max_samples_stored: 2000 @@ -229,7 +233,7 @@ common: &default_settings # New Relic Real User Monitoring gives you insight into the performance real users are # experiencing with your website. This is accomplished by measuring the time it takes for # your users' browsers to download and render your web pages by injecting a small amount - # of JavaScript code into the header and footer of each page. + # of JavaScript code into the header and footer of each page. browser_monitoring: # By default the agent automatically inserts API calls in compiled JSPs to @@ -239,6 +243,34 @@ common: &default_settings # Set this attribute to false to turn off this behavior. auto_instrument: true + class_transformer: + # This instrumentation reports the name of the user principal returned from + # HttpServletRequest.getUserPrincipal() when servlets and filters are invoked. + com.newrelic.instrumentation.servlet-user: + enabled: false + + com.newrelic.instrumentation.spring-aop-2: + enabled: false + + # Classes loaded by classloaders in this list will not be instrumented. + # This is a useful optimization for runtimes which use classloaders to + # load dynamic classes which the agent would not instrument. + classloader_excludes: + groovy.lang.GroovyClassLoader$InnerLoader, + org.codehaus.groovy.runtime.callsite.CallSiteClassLoader, + com.collaxa.cube.engine.deployment.BPELClassLoader, + org.springframework.data.convert.ClassGeneratingEntityInstantiator$ObjectInstantiatorClassGenerator, + org.mvel2.optimizers.impl.asm.ASMAccessorOptimizer$ContextClassLoader, + gw.internal.gosu.compiler.SingleServingGosuClassLoader, + + # User-configurable custom labels for this agent. Labels are name-value pairs. + # There is a maximum of 64 labels per agent. Names and values are limited to 255 characters. + # Names and values may not contain colons (:) or semicolons (;). + labels: + + # An example label + #label_name: label_value + # Application Environments # ------------------------------------------ @@ -252,17 +284,17 @@ common: &default_settings # NOTE if your application has other named environments, you should # provide configuration settings for these environments here. -development: +uat: <<: *default_settings - app_name: My Application (Development) + app_name:HSDP_DC_CDS_UAT -test: +ddr-api-tst: <<: *default_settings - app_name: My Application (Test) + app_name: HSDP_DC_CDS_TEST production: <<: *default_settings staging: <<: *default_settings - app_name: My Application (Staging) + app_name: HSDP_DC_CDS_STG diff --git a/resources/open_jdk_jre/lib/security/local_policy.jar b/resources/open_jdk_jre/lib/security/local_policy.jar new file mode 100644 index 0000000000..1c58939bf3 Binary files /dev/null and b/resources/open_jdk_jre/lib/security/local_policy.jar differ diff --git a/resources/oracle_jre/lib/security/local_policy.jar b/resources/oracle_jre/lib/security/local_policy.jar new file mode 100644 index 0000000000..1c58939bf3 Binary files /dev/null and b/resources/oracle_jre/lib/security/local_policy.jar differ diff --git a/resources/tomcat/conf/server.xml b/resources/tomcat/conf/server.xml index ae8d91a3d9..91a4fd791d 100644 --- a/resources/tomcat/conf/server.xml +++ b/resources/tomcat/conf/server.xml @@ -18,7 +18,7 @@ - + @@ -27,6 +27,7 @@ enabled="${access.logging.enabled}"/> +