전문가와 기술자의 차이

명언 | 2012. 7. 23. 18:28
Posted by 까군

전문가와 기술자의 차이

그 사람이 가진 기술적인 역량 때문에,
고객에게 훌륭하다는 소리를 듣는 전문가는 극히 드물다.
전문가의 반대말은 비전문가가 아니라 기술자이다.
전문성은 능력이 아니라 대부분 태도에 달려 있다.
진정한 전문가는 열정을 가진 기술자다.
사람들은 당신이 얼마나 열정이 있는지 알기 전에는
당신이 얼마나 아는지에 관심 없다.

(Very few consultants become known by their clients as
great purely as a result of their intellectual or technical abilities.
The opposite of the word
professional is not unprofessional
the opposite of professional is technician.
Professionalism is predominantly an attitude,
not a set of competencies.
A real professional is a technician who cares.
People don
t care how much you know until
they know how much you care.)
-
데이비드 마이스터(David H. Maister)


전문가는 존경을 받지만,
기술자라고 다 존경받지는 못합니다.
모든 핵심인재는 재능과 더불어
반드시 열정을 포함한 바람직한 태도를 보유한 사람들입니다.
특히 조직과 일, 목표에 헌신할 수 없는 사람은
더 높은 직위에 올라가는 것을 스스로 거부할 수 있어야 합니다.

All professionals command respect,
but not all experts receive respect.
All outstanding talents must possess a positive and
passionate attitude to go with their skill set.
Those who cannot devote themselves to the group
s work and
goals must be able to refuse promotions.

- 행복한 경영이야기에서 -


 

[JEUS] Connection reset by peer 오류 해결

IT/WAS | 2012. 7. 16. 13:48
Posted by 까군

 

[현상]
* 속성조회 시 축척이 1000미만인 경우에는 문제 없었으나 2000부터는 아래와 같은 오류 발생.

ClientAbortException: java.net.SocketException: Connection reset by peer: socket write error

[원인]
"ClientAbortException: java.net.SocketException"으로 구글링 결과 아래 내용 발견

Usually, this kind of behaviour occurs when one of the following happens
1.When user make a request, and suddenly browser get closed by user accidentally or due to browser crash
2.When user make a request, and browser closes the http connection automatically due to exceeded content length size
3.When user make a request, and presses the stop button

1.번은 아니라고 하니 2.번일 가능성이 큼.

[해결방안]
1. response.setHeader("Content-Lenght",2048);
2. 제우스 설정파일 수정
WEBMain.xml
<webtob-listener>
...
<output-buffer-size>2048</output-buffer-size>  //단위는 byte
...
</webtob-listener>
output-buffer-size 값 조정

* <output-buffer-size>는 클라이언트에게 데이터를 내보낼 때 여기에 설정한 사이즈만큼 쪼개서 보내는 역할을 하는 옵션으로 "0"으로 설정할 경우 대용량 파일 다운로드와 같은 경우 OutOfMemory발생의 위험이 있음.
("0"으로 설정하면 모든 데이터를 힙메모리에 저장해둔 다음 처리 한다고함)

 

창조적 발상은 아주 간단하다.

명언 | 2012. 7. 16. 09:59
Posted by 까군

 

창조적 발상은 아주 간단하다.

창조적 발상은 아주 간단하다.
고정관념에서 벗어나는 것이다.
이미 알고 있는 것을 낯설게 만드는 것이다.

-
이어령, ‘우물을 파는 사람’에서
 

[eGovFrame] 쿠키 사용 제한

IT/FrameWork | 2012. 7. 13. 11:58
Posted by 까군

수정중...


[현상]
컨트롤러단에서 쿠키에 값을 집어넣기 위해
response.addCookie(이름,값)해도 쿠키가 생성되지 않아 당황스러움..

[원인]
스프링에서는 컨트롤러에서 쿠키에 값 Set처리하는게 안된다고 함..
인터셉터나 Jsp에서 하는 건 가능하다고 하나..
전자정부표준v2.0에서 제공하는 jsp샘플을 통해 테스트해도 생성되지 않아 더 당황스러움..

[결론]
CookieGenerator 클래스이용..하거나 Service가 아닌 jsp에서 직접 쿠키 생성.

1. CookieGenerator 이용
CookieGenerator cg =
new CookieGenerator();

cg.setCookieName("쿠키이름");
cg.addCookie(response, 값);

참조URL : http://static.springsource.org/spring/docs/1.1.x/api/org/springframework/web/util/CookieGenerator.html 

2. jsp에서 직접 쿠키 이용

EgovCookieProcessCusotm.jsp

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@ page language="java" contentType="text/html; charset=UTF-8" session="false" %>
<%@ page import="egovframework.com.utl.cas.service.EgovSessionCookieUtil"  %>
<%@ page import="java.util.*"  %>
<%@ page import="java.net.*"  %>
<%!
    String safeGetParameter (HttpServletRequest request, String name){
        String value = request.getParameter(name);
        if (value == null) {
            value = "";
        }
        return value;
    }
%>
<%!
    void setCookie (HttpServletRequest request, HttpServletResponse response, String cookieNm, String cookieVal, int period){
   
        Cookie cookie = new Cookie(cookieNm, cookieVal);
        cookie.setMaxAge(60*period);
        cookie.setPath("/");
        response.addCookie(cookie);
    }


 
 String getCookie (HttpServletRequest request, String cookieNm ) {  
  Cookie[] cookies = request.getCookies();
  if(cookies == null){
   return "";
  }
  String cookieValue = null;
  
  for (int i=0; i < cookies.length; i++) {
   if(cookieNm.equals(cookies[i].getName())) {
    
    cookieValue = cookies[i].getValue();
   }
  }
  
  return cookieValue;
 }

 void delCookie (HttpServletResponse response, String cookieNm){
    Cookie cookie = new Cookie(cookieNm, "");
    cookie.setMaxAge(-1); // 0 : 쿠키 삭제 , -1 : 쿠키 파일 생성 안됨. 브라우저 닫힌 후 삭제(default)
    cookie.setPath("/");
    response.addCookie(cookie);
}

%>

 

 

Servlet API 2.4부터 지원하는 HttpSessionListener를 사용하시면..
세션이 없어지는 시점에 세션 정보를 확인하실 수 있을 것 같습니다.

간단한 사용 예는 다음과 같습니다.
(구체적인 사용 방법은 javax.servlet.http.HttpSessionEvent에 대한 javadoc 등을 참조하시면 될 것 같습니다.)

public class EgovHttpSessionListener implements HttpSessionListener{
public void sessionCreated(HttpSessionEvent event){
// event.getSession() 참조
}
public void sessionDestroyed(HttpSessionEvent event){
// event.getSession() 참조
}
}

<web.xml>
<listeners>
<listener-class>egovframework.template.EgovHttpSessionListener</listener-class>
</listeners>

- 출처 전자정부표준시스템 Q&A -

 

증기나 가스는 모아 가두지 않으면
연료가 되지 않는다.
나이아가라 폭포는 터널을 통과하지 않으면
전기를 만들어내지 못한다.
마음을 모으고 훈련하지 않으면
어느 삶도 위대해지지 못한다.
-
헨리 에머슨 파즈딕 목사

새무얼 스마일즈는
'
여러 가지를 가장 빨리 할 수 있는 방법은
한 번에 한 가지씩만 하는 것'이라고 말했습니다.
재능은 10,
집중은 1000배의 차이를 만들어낸다는 말도 있습니다.
‘우리는 한 가지 목표를 세우고
그것이 다른 모든 것에 우선하도록 할 때에야 성공할 수 있다.
아이젠하워 미대통령의 글도 같은 맥락에서 이해됩니다.

 

- (주)휴넷 [행복한 경영이야기]에서.. -

'명언' 카테고리의 다른 글

비주류 예찬, 결국 소수가 항상 옳았다  (0) 2012.07.23
전문가와 기술자의 차이  (0) 2012.07.23
창조적 발상은 아주 간단하다.  (0) 2012.07.16
불공평한 일의 법칙  (0) 2012.07.06
삶에 대한 태도와 자세  (2) 2012.06.26
 

불공평한 일의 법칙

명언 | 2012. 7. 6. 12:33
Posted by 까군

불공평한 일의 법칙

일의 법칙은 매우 불공평한 것 같다.
하지만 아무것도 이를 바꿀 수 없다.
일에서 얻는 즐거움이라는 보수가 클수록
돈으로 받는 보수도 많아진다.
(The law of work does seem utterly unfair--but there it is,
and nothing can change it:
the higher the pay in enjoyment the worker gets out of it,
the higher shall be his pay in money, also.)
-
마크 트웨인(Mark Twain)

좋아하니까 하게 되는 일을 하면 성공은 저절로 따르게 됩니다.
회사의 일을 즐길 수 있는 사람들로 구성원을 채우게 되면,
그들이 스스로 행복해하고, 부자가 되고,
회사도 더불어 부자가 되고 행복해지게 됩니다.
일은 모든 것을 걸고 할 수 있을 정도로
힘든 재미가 되어야 합니다.

Success will come naturally when you work on something you enjoy.
When a team is composed of people who enjoy office work,
the entire office will benefit from individuals
finding their own happiness and wealth.
Work must be something one can lay everything on the
line for- something challenging yet enjoyable.

가훈으로 삼고싶다는...^^

 

보호되어 있는 글입니다.
내용을 보시려면 비밀번호를 입력하세요.

보호되어 있는 글입니다.
내용을 보시려면 비밀번호를 입력하세요.

[JEUS] 주요 오류의 원인 및 해결방법

IT/WAS | 2012. 6. 26. 11:51
Posted by 까군

.............수정중
* fail to reconnect 오류


[오류메시지]

[2012.06.15 00:00:00][1][b068] [container2-43] [WEB-3346] worker(webtob1-hth0(localhost:9900)-w024:null) : fail to reconnect
<<__Exception__>>
java.io.EOFException
 at java.io.DataInputStream.readFully(DataInputStream.java:180)
 at jeus.servlet.engine.WebtobThreadPoolManager.registerWebtob(WebtobThreadPoolManager.java:597)
 at jeus.servlet.engine.WebtobThreadPoolManager.registryConnection(WebtobThreadPoolManager.java:516)
 at jeus.servlet.engine.WebtobRequestProcessor.reconnect(WebtobRequestProcessor.java:348)
 at jeus.servlet.engine.WebtobRequestProcessor.reconnect(WebtobRequestProcessor.java:314)
 at jeus.servlet.engine.WebtobRequestProcessor.run(WebtobRequestProcessor.java:81)
<<__!Exception__>>
.
.

[원인]
WEBMain.xml의 <webtob-listener>- <thread-pool>의  min/max 값과 http.m의 *SERVER절의 MinProc/MaxProc값이 다를 때(http.m의 설정값이 더 크거나 같아야함)  발생함


 

블로그 이미지

까군

카테고리

분류 전체보기 (62)
IT (21)
생활 (0)
명언 (41)