1.  blazeds 다운로드 및 설치 (blazeds tourkey)

2. 자바 및 톰캣 환경설정 (JAVA_HOME, CATALINA_HOME)

3. (이클립스) 서버설정

4. (이클립스) 자바 프로젝트 생성 및 클래스 작성

5. (이클립스) 자바 프로젝트 내 remote-config, server-config 설정

6. (플래쉬빌더) 프로젝트 생성 및 코딩 - blazeds 설치된 폴더에 있는 blazeds

7. (플래쉬빌더) 프로젝트 속성 - Flex Server 에 BlazeDS 선택, Root folder, Root URL, Context root, Output folder 설정

8. (플래쉬빌더) 프로젝트 - export build 실행 (타겟을 이클립스 워크스페이스내 자바 프로젝트)

Posted by 옥탑방람보
,

[ssh] ssh keep-alive tip

TA/Common 2012. 3. 27. 10:46

 

1. ssh -o TCPKeepAlive=yes mark@localhost

 

or

 

2.

Remember that

ServerAliveInterval

is limited by

ServerAliveCountMax

and that ServerAliveCountMax is set to 3 by default!

That is, if you set ServerAliveInterval to 60 and ServerAliveCountMax is left to default value (3), after the client has sent 3 keep alive packets it will disconnect. That makes 60 x 3 = 180 seconds.

So if you want more time away, you set ServerAliveInterval to 60 and ServerAliveCountMax to the numer you want (for example: 100). The client will send one keep alive packet every 0 seconds for 100 times or, if you prefer, 100 keep alive packets, one every 60 seconds. :D

You set this up in your $HOME/.ssh/config file.

Most of these options are explained in man ssh_config.

Thanks a lot to Cam for pointing us all in the right direction!!!!

Posted by 옥탑방람보
,

java.io.IOException: no locks available

 

마운트시 -o nolock 옵션 적용

$> mount -t nfs -o nolock

fstab에 적용

$> vi /etc/fstab

XXX:/storageDir /local nfs nolock 0 0

---------------------------------------------------------

<rocks clusters>

nfs 파일 시스템에서 파일 lock 이 되지 않을 때
아래와 같이 수정하고 nfs 데몬 재시작, nfslock 데몬 재시작
(예상 관련 데몬: portmap, autofs)

[system]$ cat /etc/auto.home
user01  -fstype=nfs,nolock 111.111.111.111:/data/home/user01

'TA > Common' 카테고리의 다른 글

[pam.d] 패스워드 복잡성 적용 방법  (1) 2012.12.13
[gparted] gparted 설치 (fedora17)  (0) 2012.12.13
[ssh] ssh keep-alive tip  (0) 2012.03.27
[nfs] nfs 서버와 클라이언트 계정 동기화 설정  (0) 2011.10.19
[linux] Standard I/O  (0) 2011.08.10
Posted by 옥탑방람보
,