i have an excel file that have 2 cell that value of them have this cell 1 : azizkhani cell 2:007596819379 format of cells is string (text) but when i read cell value in apache poi cell type in cell 2 is numeric i want to read string value of...
[Read More]
how to set redis key time out (spring session timeout) maxInactiveInterval
when using spring session in a container when http session is time out session or key that store in redis dose not time out for solve this problem and set timeout or that config like this code
<beanclass="org.springframework.session.data.redis.config.annotation.web.http.RedisHttpSessionConfiguration"p:maxInactiveIntervalInSeconds="180"/>
[Read More]
docker save vs export
Export is used to persist a container (not an image).container in A running instance of an image is called container. docker export <CONTAINER ID> > /home/export.tar for example docker export nginx >/azizkhani/nginx.tar Save is used to persist an image (not a container). So we need the image name which docker save...
[Read More]
create nginx image from Dockerfile
i want to create nginx docker image that i can manage nginx.config for solve this problem i do it create nginx.config that have this content: in /azizkhani/nginx events { worker_connections 1024; } http { upstream sessionApp { server localhost:8082; server localhost:8081; } ...
[Read More]
MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk
after i run redis in docker and config my spring security and spring session when i login to application . i see that i can not login and get ths exception org.springframework.dao.InvalidDataAccessApiUsageException: MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk....
[Read More]