Skip to main content

Posts

Showing posts from May, 2020

Call to VidMessageSlotMap failed: Last=0xc000000d/87 (VERR_NEM_VM_CREATE_FAILED)

Call to VidMessageSlotMap failed: Last=0xc000000d/87 (VERR_NEM_VM_CREATE_FAILED) To resove this error Uninstall docker or similar tool if you are using Go to start -> Turn of/off windows features then uncheck Hyper-V then check virtual machine then check sandbox then uncheck containers open power shell in administrator (Run as admin) and type command bcdedit /set hypervisorlaunchtype off then restart your PC  

how to free port port in use error

C:\Users\AnilBalwani>netstat -ano | findstr 8080   TCP    0.0.0.0:8080           0.0.0.0:0              LISTENING       12744   TCP    [::]:8080              [::]:0                 LISTENING       12744   TCP    [::1]:8080             [::1]:57481            TIME_WAIT       0 C:\Users\AnilBalwani>taskkill /pid 12744 ERROR: The process with PID 12744 could not be terminated. Reason: This process can only be terminated forcefully (with /F option). C:\Users\AnilBalwani>taskkill /pid 12744 -f SUCCESS: The process with PID 12744 has been terminated.

Getting started with docker

Docker has 2 editions community edition(free) and enterprise edition (paid) Select the os from docker website and download and install docker. Once you install docker run in powershell run below command >Docker run hello-world Docker run command is used to run an container To find what all containers you can run go to docker hub. once you use run command docker reuires internet and it will download from that dockerhum you can find list of container >docker ps  or docker list command Stopping a container >docker stop Name_of_Container to stop docker service >service docker stop to Remove use docker -rm command If you want to create your own image you should use docker files

JUNK characters or special characters are passed when sending request from ajax/javascript to servlet + multipart form data

Special characters / Junk characters while sending data from jquery ajax to servlet while uploading file Hi recently I received a weird issue is while setting description of a record it appended some weird special characters in my string.  Inorder to solve this issue what we can do is  use item.getString("UTF") instead of item.getString().