“java.lang.OutOfMemoryError: PermGen space” error in tomcat7

2018-08-01 KENNETH 0

에러메세지 Exception in thread “ajp-bio-8009-exec-3” java.lang.OutOfMemoryError: PermGen space     원인 참고URL : http://wiki.sys4u.co.kr/pages/viewpage.action?pageId=7766559 (이 사이트에 설명이 아주~ 잘 되어 있다.. 저렇게 설명을 잘 하는 사람보면 부럽다능….) 메모리 누수이든 부족이든… PermGen 공간이 부족하게 된 것이 원인     해결 구동시 옵션 조정 filename : catalina.sh export JAVA_OPTS=”-Xms1024m -Xmx1024m -XX:NewSize=256m -XX:MaxNewSize=512m -XX:PermSize=256m -XX:MaxPermSize=512m” catalina.sh 파일의 상단부에 대략 저런 모양의 설정을 추가해주면 된다. 수치는 적당히… 보통의 환경에서 jdk + tomcat 만 놓고 간단하 jsp 파일 파싱 테스트를 하는 경우는 거의 발생하지 않는 에러이지만 특정 프레임워크를 사용하는 등의 “뭔가 부가적인 행위”가 추가 될 경우 발생할 가능성이 있다.

How to download and install prebuilt OpenJDK packages in LINUX(redhat and ubuntu)

2018-04-23 KENNETH 0

URL : http://openjdk.java.net/install/ How to download and install prebuilt OpenJDK packages JDK 9 & Later Oracle’s OpenJDK JDK binaries for Windows, macOS, and Linux are available on release-specific pages of jdk.java.net as .tar.gz archives. As an example, the archives for JDK 10 may be found on jdk.java.net/10 and may be extracted on the command line using $ tar xvf openjdk-10*_bin.tar.gz JDK 8 Debian, Ubuntu, etc. On the command line, type: $ sudo apt-get install openjdk-8-jre The openjdk-8-jre package contains just the Java Runtime Environment. If you want to develop Java programs then please install the openjdk-8-jdk package. Fedora, Oracle Linux, Red Hat Enterprise Linux, etc. On the command line, type: $ su -c “yum install java-1.8.0-openjdk” The java-1.8.0-openjdk package contains just the Java Runtime Environment. If you want to develop Java programs then install the java-1.8.0-openjdk-devel package. JDK 7 Debian, Ubuntu, etc. On the command line, type: $ sudo apt-get install openjdk-7-jre The openjdk-7-jre package contains just the Java Runtime Environment. If you want [ more… ]

No Image

Apache Tomcat Versions – Which Do I Want?

2016-06-23 KENNETH 0

출처 : http://tomcat.apache.org/whichversion.html   Apache Tomcat Versions Apache Tomcat® is an open source software implementation of the Java Servlet and JavaServer Pages technologies. Different versions of Apache Tomcat are available for different versions of the Servlet and JSP specifications. The mapping between the specifications and the respective Apache Tomcat versions is: Servlet Spec JSP Spec EL Spec WebSocket Spec JASPIC Spec Apache Tomcat version Actual release revision Supported Java Versions 4.0 TBD (2.4?) TBD (3.1?) TBD (1.2?) 1.1 9.0.x 9.0.0.M8 (alpha) 8 and later 3.1 2.3 3.0 1.1 1.1 8.5.x 8.5.3 7 and later 3.1 2.3 3.0 1.1 N/A 8.0.x (superseded) 8.0.35 (superseded) 7 and later 3.0 2.2 2.2 1.1 N/A 7.0.x 7.0.70 6 and later (7 and later for WebSocket) 2.5 2.1 2.1 N/A N/A 6.0.x 6.0.45 5 and later 2.4 2.0 N/A N/A N/A 5.5.x (archived) 5.5.36 (archived) 1.4 [ more… ]

No Image

Oracle Java SE Critical Patch Update 권고

2016-02-11 KENNETH 0

출처 : http://www.boho.or.kr/data/secNoticeView.do?bulletin_writing_sequence=24005   □ 개요 o 오라클社의 Java SE 6,7,8에서 원격코드 실행이 가능한 취약점이 발견됨 [1] o 공격자는 특수하게 조작된 웹 사이트 방문을 통해 다운로드 파일을 유도하여 악성코드 유포 가능 □ 해당 시스템 o 영향 받는 소프트웨어 – Oracle JDK and JRE 6 Update 111 버전 및 하위 버전 – Oracle JDK and JRE 7 Update 95 버전 및 하위 버전 – Oracle JDK and JRE 8 Update 71,72 버전 및 하위 버전 ※ Java SE EE는 영향 없음 □ 권장방안 o 취약점에 의한 피해를 줄이기 위하여 사용자는 다음과 같은 사항을 준수해야함 – 신뢰할 수 없는 웹사이트 방문 및 첨부파일을 열어보지 않음 – 설치된 제품의 최신 업데이트를 다운로드[3] 받아 설치하거나, Java 자동업데이트 설정을 권고[4] □ 용어 정리 o Java Runtime Environment(JRE) : 자바 언어로 개발된 소프트웨어를 실행하기 위해 필요한 플랫폼 □ 기타 문의사항 o 한국인터넷진흥원 인터넷침해대응센터: 국번없이 118 [참고사이트] [1] [ more… ]