Windows Firewall Rule for Go Web Development If you do Go web development on Windows, then you are likely to come across the Windows Firewall - Security Alert whenever you build and run the Go app. For example, here I am trying to build and run a sample Go web server program "main1.exe" that wants to run on port 4000: Windows [...]

Set the JDK Path in GlassFish

GlassFish version: 5.1.0Windows version: 10 Motivation You may have several version of the JDK installed on your machine. By default you may be using JDK 11 or even 13, but GlassFish requires JDK 8. Issue Running asadmin generates the following error Exception in thread "main" java.lang.NullPointerExceptionat com.sun.enterprise.module.common_impl.AbstractModulesRegistryImpl.initializeServiceLocator( com.sun.enterprise.module.common_impl.AbstractModulesRegistryImpl.newServiceLocator( com.sun.enterprise.module.common_impl.AbstractModulesRegistryImpl.createServiceLocator( com.sun.enterprise.module.common_impl.AbstractModulesRegistryImpl.createServiceLocator( com.sun.enterprise.module.single.StaticModulesRegistry.createServiceLocator( com.sun.enterprise.admin.cli.CLIContainer.getServiceLocator( com.sun.enterprise.admin.cli.CLIContainer.getLocalCommand( com.sun.enterprise.admin.cli.CLICommand.getCommand( com.sun.enterprise.admin.cli.AdminMain.executeCommand( [...]