Author Archives: itpsolver

Spring 5 에 ehcache 2 적용 샘플

By | 4월 9, 2020

1.  pom.xml <dependency> <groupId>net.sf.ehcache</groupId> <artifactId>ehcache</artifactId> <!– Spring 혹은 Terasoluna 에 최신버전이 내장되어 있어서 버전을 지정하지 않았었음. 아마 2.10.x 버전인듯 –> </dependency>   2. ehcache.xml <?xml version=”1.0″ encoding=”UTF-8″?> <ehcache xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xsi:noNamespaceSchemaLocation=”http://ehcache.org/ehcache.xsd” updateCheck=”false”> <!– * 속성 설명 (출처: https://javacan.tistory.com/entry/133) – maxElementsInMemory: 메모리에 저장될 수 있는 객체의 최대 개수 (필수) – eternal: 이 값이 true이면 timeout 관련 설정은… Read More »

GCP 에서 메모리 업그레이드 후 웹 접속이 되지 않던 문제에 대한 해결과정 기록

By | 12월 19, 2019

iptables 명령을 통한 port redirection 80 → 8080 sudo iptables -A PREROUTING -t nat -i ens4 -p tcp –dport 80 -j REDIRECT –to-port 8080 443 → 8443 sudo iptables -A PREROUTING -t nat -i ens4 -p tcp –dport 443 -j REDIRECT –to-port 8443 tomcat server.xml 에 ssl 관련 설정 적용 <Connector port=”8443″ protocol=”org.apache.coyote.http11.Http11NioProtocol” SSLEnabled=”true” maxThread=”150″… Read More »

[펌글] 이클립스 git (EGit) 사용시, git 암호(패스워드,password)를 변경하고 싶을 경우

By | 12월 18, 2019

– 출처: https://bigzero37.tistory.com/23 – svn 에서 git 으로 바꾼지 얼마 안되었는데 push 할 때 자꾸 github 계정과 암호를 물어본다… store secure 옵션을 체크하면 자꾸 에러가 나서 그냥 하다가 짜증 폭발…..구글링 했다.. 이클립스에서 Windows -> Preferences ->General -> Security ->Secure Storage 에 들어가면 Password 탭이 있는데 거기서 중간에 Description 에서 UI Prompt 를 선택하고 Change Password… Read More »