Category Archives: Development

PuTTY Connection Manager 에러..

  PuTTY Connection Manager 를 사용하다보면 아래와 같이 에러가 발생하는 경우가 있었다.. RUNTIME ERROR : Unknown exception occured Error : Object reference not set to an instance of an object. StackTrace : at x650e12b2512cbeed.x7fbe3d3b15648174.x765e6a19136b68b9() 도데체가 뭔문제인가 좀 고생을 해서 알아낸건.. … Continue reading

Posted in Util/Tools | Tagged , | Leave a comment

끊어진 NFS 파일핸들 이라는 파일 삭제하는 방법

  끊어진 NFS 파일핸들 이라는 파일 삭제하는 방법 서버에 계속 끊어진 NFS 파일핸들 이라고 삭제되지 않는 파일이 있었다.. 늘 못지우고 찜찜하게 남겨두었는데… 지우는 방법을 알았다.. 의외로 너무 간단한..ㅡㅡ;; #] service netfs restart 하고 지우면 된다..  

Posted in Network, System | Tagged , | Leave a comment

— 로 시작되는 파일(디렉토리)삭제..

  개발하다가 이상한 잘못해서 –으로 시작하는 디렉토리가 만들어졌다.. 지우려고 해도 안지워진다..ㅠㅠ -rw-r–r– 1 root root 30687232 10??25 10:55 –exclude=logs ]$ rm -rf –exclu* ]$ rm -rf \-\-exclu* ]$ rm -rf *exclu* rm: 인식할 수 없는 옵션 `–exclude=*logs*’ 더 많은 정보를 … Continue reading

Posted in System | Tagged , | Leave a comment

Can not read response from server. Expected to read 4 bytes, read 0 bytes before connection was unexpectedly lost.

  mysql 접속시에 자꾸 아래와 같은 에러가 나서.. Can not read response from server. Expected to read 4 bytes, read 0 bytes before connection was unexpectedly lost. context.xml의 설정을 아래와 같이 바꿔주니 해결된듯하다. <Resource auth=”Container” driverClassName=”com.mysql.jdbc.Driver” url=”jdbc:mysql://xxx.xxx.xxx.xxx:3306/dbname?characterEncoding=utf-8&amp;interactiveClient=true&amp;autoReconnect=true&amp;autoReconnectForPools=true&amp;useUnicode=true&amp;characterSetResults=UTF-8″ type=”javax.sql.DataSource” name=”jdbc/xxxxx” username=”userid” … Continue reading

Posted in Database, Java/JSP | Tagged , , , , | Leave a comment

터미널 색깔바꾸기

  터미널 ls할때 그 짙은 푸른색이 잘보이지도 않고 눈이 아파서 바꿀수있는지 찾아보았다… 기본 bash shell을 사용할 경우. # vi ~/.bashrc … export LS_COLORS=”di=01;33″:”fi=01;37″:”ex=01;32″:”ln=01;36″:”so=01;33″ # source ~/.bashrc “파일종류=속성;색상” ——————————————————————————- export LS_COLORS=”di=01;31″:”fi=01;37″:”ex=01;32″:”ln=01;36″:”so=01;33″ ——————————————————————————- 디렉토리 = 붉은색 일반파일 = 흰색 실행파일 = 연두색 … Continue reading

Posted in System | Tagged , , , , | Leave a comment

맥( Mac OSX) 에서 wget 설치하기..

  이런… Mac 을 쓰다보니.. wget이 없다… curl이 있긴한데.. 손에 안익어서 그런지 불편하다..ㅋㅋ 그래서 wget설치..ㅋ http://www.gnu.org/software/wget/ 에서 다운받는다 최신버전은 wget 1.2 이다. 다운받고 압출풀고 ]$ configure ]$ make ]$ sudo make install 하면 끝~ 우왕 좋당ㅋㅋㅋ  

Posted in System | Tagged , , , , | Leave a comment

DBCP + JDBC(MySQL) 사용시 간혹 뜨는 Could not open JDBC Connection for transaction

  DBCP(Database Connection Pool)을 사용하다 보면 가끔씩 만나게 되는 에러가 있다. 내 추측에는 DBCP의 특성상 많은 수의 커넥션을 미리 맺어 놓고, 어플리케이션이 풀에서 커넥션을 빌려다 사용하고 환원하는 식인데, 맺어놓은 커넥션을 MySQL의 커넥터가 끊어버리는듯 하다. 그래서 풀에 정상적으로 요청을 하였지만 그것이 … Continue reading

Posted in Database, Java/JSP | Tagged , , , | Leave a comment

아이폰용 페이퍼 프로토타입 툴 (iphone paper prototyping tool)

  아이폰용 페이퍼 프로토타입 툴 (iphone paper prototyping tool) 페이퍼 프로토 타입으로 유명한 BALSAMIQ ( http://www.balsamiq.com/ )를 살펴보다가 기본적인 웹컴포넌트는 물론이고 아이폰 컴포넌트도 지원하고 있는 것을 확인했다.. 데모고 샘플이라서 저장이 되려나 했는데.. export 와 import 도 지원하고 있어서 저장 하고 불러오기도 … Continue reading

Posted in Objective-C/iPhone | Tagged , , , | Leave a comment