결과
[글쓴이:] 관리자
Json 기본 파싱
jsp 스크립트 중단
Remark : asp의 reponse.end 와 같은 기능을 찾아 보자 response.end 를 쓰면 소스에서 asp 스클립트 진행 중단을 할수 있어 디비그 시간이 줄어 든다.
이클립스에서 참조 오류가 나는 경우
Remark : 소스를 가져와서 연결 시켰는데 참조 오류가 나오는 경우 버전 확인 필요
ubuntu java11, tomcat9 설치
1.Update system repositories 2.Installation of java jdk-11 3.Comfirm install java 3.Install tomcat9 4.Check tomcat 8080 port 5.Tomcat admin ID,PASS
javascript로 이중저장/결제 방지
Remark : 한페이지에서 Ajax 로 데이타 저장시 시간이 많이 걸릴 경우, 버튼이중 클릭시 중복저장됩니다. 버튼 disable 처리는 속성처리라 한번만 가능 ajax async: false 는 추천하지 않는 방식. 버튼에 vaule=”0″ 값 주어 처리
JMX APIs
Remark : JMX Monitoring Java Management Extensions (JMX) is a technology that lets you implement management interfaces for Java applications. JConsole is a JMX-compliant monitoring tool, which comes with the Java Development Kit (JDK) 1.5 or later versions. Therefore, when you use a WSO2 product, JMX is enabled by default, which allows you to …
JMX APIs 더보기
Log4j
Remark : 프로그램의 로그를 기록해주는 라이브러리로 이클립스, IntelliJ IDEA, 안드로이드 스튜디오 드에 추가 해서 프로그램 실행시 자동으로 지정한 경로에 로그를 저장해 주는 기능 취약점 발견 : JNDI와 LDAP를 이용한 Log4J 취약점 이용 막기 : vi /etc/environment 추가
CentOS7 아파치(Apache2) 톰캣(Tomcat8) 연동
remark : WAS (톱켓) 8080 포트 대신 80 포트로 변환기하 위해 Tomcat Connectors 인 mod_jk를 세팅해 보자. 1. Download Site link : https://tomcat.apache.org/download-connectors.cgi 2. Download /tmp 3. tar 풀기 4. configure 명령어를 이용해서 make 파일 생성 4.1 Error solution 4.2 mod_jk.so file check 5. mod_jk.conf configuration 6. workers.properties configuration 7. Tomcat8 server.xml configuration add 8. …
CentOS7 아파치(Apache2) 톰캣(Tomcat8) 연동 더보기
사이트 Open SSL letsencrypt 세팅 오류
Overview 사이트 Open SSL letsencrypt 세팅 오류 원인 톱켓에서 포트가 다르기 때문에 letsencrypt 에러가 발생 한다.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 |
root@localhost:/# sudo certbot --apache -d test.test.co.kr Saving debug log to /var/log/letsencrypt/letsencrypt.log Plugins selected: Authenticator apache, Installer apache Obtaining a new certificate Performing the following challenges: http-01 challenge for test.test.co.kr Enabled Apache rewrite module Waiting for verification... Cleaning up challenges Failed authorization procedure. test.test.co.kr (http-01): urn:ietf:params:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://test.test.co.kr/.well-known/acme-challenge/4VLsecxgL5gDxQz8u5UriG6T7ZieAGkSp9ELg1[111.111.111.111]: "<!doctype html><html lang=\"en\"><head><title>HTTP Status 404 \u2013 Not Found</title><style type=\"text/css\">h1 {font-family:Tahoma,A" IMPORTANT NOTES: - The following errors were reported by the server: Domain: test.test.co.kr Type: unauthorized Detail: Invalid response from http://test.test.co.kr/.well-known/acme-challenge/4VLsecxgL5gDxQz8u5UriG6T7ZieAGkSp9ELg1 [111.111.111.111]: "<!doctype html><html lang=\"en\"><head><title>HTTP Status 404 – Not Found</title><style type=\"text/css\">h1 {font-family:Tahoma,A" To fix these errors, please make sure that your domain name was entered correctly and the DNS A/AAAA record(s) for that domain contain(s) the right IP address. |