was listener 웹 어플리케이션은 이벤트를 통해 서블릿 컨텍스트(환경)의 상태나 HTTP 세션 객체의 상태 변화를 통지해 준다. 이 상태 변화에 응답하는 서블릿 클래스가 리스너 클래스이다. 리스너를 사용하기 위해서는 다음과 같은 과정이 필요하다. 구현할 기능과 관련된 이벤트 리스너 인터페이스를 구현하는 서블릿 클래스 생성(생성시 인자없는 생성자를 반드시 구현해야야함) web.xml (배포 서술자)에 리스너 엘레멘트를 사용하여 구현한 리스너 클래스를 등록 예제) 웹 서버가 시작될 때 동작하는 리스너 1. 해당 이벤트가 발생했을 경우 수행할 리스너 클래스 작성 import javax.servlet.ServletContextEvent; import javax.servlet.ServletContextListener; publi.. 더보기 fluentd plugin elasticsearch option 퍼옴 : https://github.com/uken/fluent-plugin-elasticsearchInstallation$ gem install fluent-plugin-elasticsearchUsageIn your Fluentd configuration, use @type elasticsearch. Additional configuration is optional, default values would look like this: @type elasticsearch host localhost port 9200 index_name fluentd type_name fluentd Index templatesThis plugin creates ElasticSearch indices by merely writ.. 더보기 리눅스 방화벽 끄기!! 위에분이 일단 iptables 초기화에 대해 설명하셨네요. iptables -F 하면 현재 방화벽 정책을 모두 초기화 시킵니다. 하지만 nat 같은 경우는 초기화가 되지 않죠. 일단 service iptables stop을 하시게 되면 현재 방화벽에 정책이 무엇이 있던 방화벽이 정지 되어 모든 포트가 열리게됩니다. 또한 어떤 배포판이든.. 방화벽은 존재합니다. 기본적인 설정으로 포트 한꺼번에 여는 방법은 방화벽을 정지시키는 방법 외에는 없습니다. 임시적으로 볼때 service iptables stop이 임시 정지로 모든 포트를 활성화 하는 것이고 chkconfig iptables off가 재부팅 후에도 방화벽을 기본적으로 끄고 시작한다는 것입니다. 물론 chkconfig 해도 .. 부팅 후 service.. 더보기 logstash에 대한 설명 -퍼옴 The purpose of this documentThis document is a simple guide for installing & configuring Elasticsearch, Logstash and Kibana.This document is revised for the KHELYS study group.본 문서의 목적본 문서는 KHELYS study를 위하여 재작성되었습니다.Elasticsearch, Logstash, Kibana의 설치와 설정을 위한 간단한 가이드입니다.author : dh.yeo in Naver (printfscanf@naver.com)last update : 150621Java 8 설치wget -c -O "jdk-8u45-linux-x64.tar.gz" --no-check.. 더보기 이전 1 ··· 44 45 46 47 48 49 50 ··· 68 다음