Create a WAR file for a Java web application in NetBeans
Configure the web application Add the web.xml file The wb.xml file contains the web application configuration values for the webserver. I has to be in the WEB-INF directory of the web applicaion. To add the web.xml file to your NetBeans Java web…
Tomcat web server configuration
When you install the Apache Tomcat web server there are some configuration settings you need to make to be able to administer and use it. Administrator user accounts When you install the Apache Tomcat web server there is no admin user account specified,…
Enable PowerShell execution in Windows
The default settings of Windows disable the PowerShell script execution. This protects your computer in case a malicious PowerShell script would try to make changes on your machine. The same settings prevent you from executing your own automation scripts…
The specified Security Group and Parameter Group are not set in the RDS instance
If the Terraform apply execution times out during the RDS instance creation, the specified Security Group and Parameter Group is not set in the RDS instance. The solution is to set the timeout in the aws_db_instance resource. When a multi-az RDS instance…
How to switch between GitHub accounts on your workstation
If you have multiple GitHub accounts and you want to switch between them you need to update the stored username and password on your workstation. On Windows See Git configuration
java.sql.SQLException: Incorrect string value: ‘\xF0\x9F\x96\xA4\xE2\x9C…’ for column
When your application tries to store 4-byte Unicode characters in a MySQL database you may get the error rmessage java.sql.SQLException: Incorrect string value: ‘\x..\x..\x..\x..\x..\x…’ for column To store…
The security database on the server does not have a computer account for this workstation trust relationship
Time to time Windows servers may lose the trust of the domain. When you try to log in with your domain credentials you get the dreaded message: The security database on the server does not have a computer account for this workstation trust relationship…
SQL Server AWS RDS instance ALARM FreeableMemory <=... MB
The SQL database servers use the available memory for caching to speed up the database operation. If we do not restrict the SQL database server memory usage, the operating system will not have enough memory to run. This setting is also necessary for an…
Terraform provider.aws: no suitable version installed
The new versions of Terraform do not contain all plugins after the application installation. When you try to access a provider the first time, Terraform may not be able to communicate with it. * provider.aws: no suitable version installed version…
Display all teams you belong to in GitHub
To get the information on all teams you are part of in Github Open a Terminal window Execute this command with your Personal Access Token curl -H "Authorization: token YOUR_PERSONAL_ACCESS_TOKEN" https://api.github.com/user/teams The returned JSON will…