Skip to content

Santhosh Ponnam

Technology Blog

  • Home
  • About
  • Technology
    • Java
    • ORM
  • Privacy Policy
  • Toggle search form
  • HikariCP Configurations – Database Connection Pooling Installations and Configurations
  • Windows Commands – kill port number Installations and Configurations
  • Fixing Log4j Vulnerability Java
  • JPA vs Hibernate – Specification Vs Implementation ORM
  • Sonar Qube – Code Coverage and Code Quality Tool Installations and Configurations
  • HikariCP Connection Pooling for Spring Boot for 1.x version Spring Boot
  • Log4J (RCE) Vulnerability Java
  • hashCode and equals methods in java Java

Category: Spring Boot

Fixing Log4j Vulnerability

Posted on December 11, 2021December 13, 2021 By Santhosh Ponnam No Comments on Fixing Log4j Vulnerability

The easiest way to remediate this is to update to log4j version 2.15.0 or later, as this behavior is now disabled by default. In previous releases (>2.10) this behavior can be mitigated by setting the system property log4j2.formatMsgNoLookups to true by adding the following Java parameter: -Dlog4j2.formatMsgNoLookups=true Alternatively, you can mitigate this vulnerability by removing…

Read More “Fixing Log4j Vulnerability” »

Java, Spring Boot

HikariCP Configurations – Database Connection Pooling

Posted on November 8, 2020November 18, 2021 By Santhosh Ponnam No Comments on HikariCP Configurations – Database Connection Pooling

For the Hikari connection pool configuration, we enable it by using spring.datasource.type and assigning it fully qualified name of the connection pool implementation in application.properties file as following. spring.datasource.type = com.zaxxer.hikari.HikariDataSource If we are using Spring Boot 2.0 and onwards, Spring Boot selects HikariDataSource by default and we need not to configure above line. Now to configure Hikari specific…

Read More “HikariCP Configurations – Database Connection Pooling” »

Installations and Configurations, Spring Boot HikariCP Connection Pooling

HikariCP Connection Pooling for Spring Boot for 1.x version

Posted on November 8, 2020October 11, 2021 By Santhosh Ponnam No Comments on HikariCP Connection Pooling for Spring Boot for 1.x version

Introduction In this article, we will learn the steps to configure Hikari with Spring Boot. We will cover steps to configure Hikari for both Spring Boot 1 and Spring Boot 2 application. Hikari is a JDBC DataSource implementation that provides a connection pooling mechanism. Compared to other implementations, it promises to be lightweight, reliable, high-performance…

Read More “HikariCP Connection Pooling for Spring Boot for 1.x version” »

Spring Boot, Spring Boot HikariCP Connection Pooling

Windows Commands – kill port number

Posted on March 29, 2020March 29, 2022 By Santhosh Ponnam No Comments on Windows Commands – kill port number

How do I kill the process currently using a port on localhost in Windows? Step 1: Open up cmd.exe (note: you may need to run it as an administrator, but this isn’t always necessary as long as you are trying to kill a port which is started within your user), then run the below command:…

Read More “Windows Commands – kill port number” »

Installations and Configurations, Spring Boot HikariCP Connection Pooling

Recent Posts

  • Another Log4j Bug – DoS
  • Log4j Vulnerability / Version Upgrade to 2.16.0 by Apache Team
  • Fixing Log4j Vulnerability
  • Log4J (RCE) Vulnerability
  • JPA vs Hibernate – Specification Vs Implementation

Categories

  • Installations and Configurations
  • Java
  • ORM
  • Spring Boot
  • Spring Boot HikariCP Connection Pooling

Archives

  • December 2021
  • August 2021
  • November 2020
  • March 2020
  • August 2018
  • November 2016
  • August 2016

Recent Posts

  • Another Log4j Bug – DoS
  • Log4j Vulnerability / Version Upgrade to 2.16.0 by Apache Team
  • Fixing Log4j Vulnerability
  • Log4J (RCE) Vulnerability
  • JPA vs Hibernate – Specification Vs Implementation

Categories

  • Installations and Configurations
  • Java
  • ORM
  • Spring Boot
  • Spring Boot HikariCP Connection Pooling

Archives

  • December 2021
  • August 2021
  • November 2020
  • March 2020
  • August 2018
  • November 2016
  • August 2016




Recent Posts

  • Another Log4j Bug – DoS
  • Log4j Vulnerability / Version Upgrade to 2.16.0 by Apache Team
  • Fixing Log4j Vulnerability
  • Log4J (RCE) Vulnerability
  • JPA vs Hibernate – Specification Vs Implementation

Categories

  • Installations and Configurations
  • Java
  • ORM
  • Spring Boot
  • Spring Boot HikariCP Connection Pooling
  • Windows Commands – kill port number Installations and Configurations
  • JPA vs Hibernate – Specification Vs Implementation ORM
  • Another Log4j Bug – DoS Java
  • Log4J (RCE) Vulnerability Java
  • Log4j Vulnerability / Version Upgrade to 2.16.0 by Apache Team Java
  • Why to have a private constructor? Java
  • HikariCP Configurations – Database Connection Pooling Installations and Configurations
  • Setting Environment Variables in Windows Java

Copyright © 2023 Santhosh Ponnam.

Powered by PressBook News WordPress theme