▶ make 수행 시에 나타나는 에러들 현상 : Makefile:17: *** missing separator. Stop. 원인 : Makefile을 작성할 때 명령어(command)부분은 모두 TAB 문자로 시작해야 하는데, TAB 문자를 쓰지 않았기 때문에 make가 명령어인지 아닌지를 구별 못하는 경우에 발생. 조치 : 17번째 줄(근처)에서 명령어가 TAB 문자로 시작하게 바꾼다. 현상 : m.. ▶ Tuxedo/기술자료 2012.02.23
▶ Compile 관련 사항(AIX) 주의 : 컴파일러, 링커에서는 OBJECT_MODE=32_64 를 허용하지 않는다. 환경변수를 이와 같이 설정하면 다음과 같은 에러가 발생한다. 1501-254 OBJECT_MODE=32_64 is not a valid setting for the compiler. 주의 : 디폴트 모드를 결정하기 위해 OBJECT_MODE를 사용하고 있는 것을 일반 사용자가 모르고 있다면 .. ▶ Tuxedo/기술자료 2012.02.23
▶ 프로그래밍시 추천사항 - 변수와 데이터 구조 C,C++에서 변수가 메모리에 머무는 기간, 스코프, 링킹 그리고 관련 있는 오브젝트등등은 모두 변수를 어디에서 선언했는지에 달려있다. 그러나 메모리에 머무는 기간은 나중에 storage class specifier로 다시 선언하면 바꿀 수 있다. 가능하면 automatic storage class인 .. ▶ Tuxedo/기술자료 2012.02.23
▶ WTC Trace Levels 예) JAVA_OPTIONS=-Dweblogic.wtc.TraceLevel=100000 ------ -------------- ------------------------------------------------------- Value Components Traced Description ------ -------------- ------------------------------------------------------- 10000 TBRIDGE_IO Tuxedo Queuing Bridge input and output 15000 TBRIDGE_EX more Tuxedo Queuing Bridge information 20000 GWT_IO G.. ▶ Tuxedo/기술자료 2012.02.23
▶ 로그 파일의 운영 Tuxedo의 로그 파일에는 트랜잭션 처리 보장을 위한 로그(TLOG), 서버의 동작 상황에 대한 로그(ULOG), 서비스 처리 상황에 대한 로그 (stderr) 와 서버 프로그램의 메시지 로그 (stdout) 등이 있다. 1.TLOG - 트랜잭션 처리를 위한 로그인 'TLOG'는 일반 UNIX파일로 만들 수 있고 'Raw' 디바이스로 .. ▶ Tuxedo/기술자료 2012.02.23
▶ FML Error Codes and Messages ---------------------------------------------------------- FALIGN 1 Fielded buffer not aligned FNOTFLD 2 Buffer not fielded FNOSPACE 3 No space in fielded buffer FNOTPRES 4 Field not present FBADFLD 5 Unknown field number or type FTYPERR 6 Illegal field type FEUNIX 7 UNIX system call error FBADNAME 8 Unknown field name FMALLOC 9 malloc failed FSYNTAX 10 Bad syntax in.. ▶ Tuxedo/기술자료 2012.02.23
▶ Tuxedo 기동/종료 관련 명령어 1.tmboot - 필요한 IPC(Inter Process Communication)자원을 생성하고 응용프로그램을 시작. - 사용법 : tmboot [-w(ait)] [-n(oexec)] [-q(uiet)] [-y] [-c(heck)] [-d1] [{-A | -B loc | -M}] [{-S | [-l lmid] | -s aout | [-g grpname | -i srvid | -g grpname -i srvid]]} [-m minsrvs]] [-o sequence-#] [-T group-name] [-E envlabel] [-e errcmd] tmboot [-A] [-g g.. ▶ Tuxedo/기술자료 2012.02.23
▶ XA Trace log(XA Debug Level 설정) 1.환경파일 for Oracle XA - OPENINFO = "Oracle_XA:Oracle_XA+SqlNet=NHIC_GAWB+Acc=P/nhicwb/nhicwb+SesTm=30+SesWt=1+Loose_Coupling=true+NOLOCAL=T+DbgFl=15+LogDir=/nhic/online/log/xalog+threads=true" 2.OPENINFO For Oracle 1) Mandatory - Oracle_XA - Acc=P/username/password - SesTm=session_time_limit 2) Optional - SesWt=session_wait_limit - DbgFl= 0x00, 0x01, 0x02, 0x0.. ▶ Tuxedo/기술자료 2012.02.23
▶ Shared objects를 사용하기 위한 환경변수 설정 방법(Library path) SVR4 applications : LD_LIBRARY_PATH HP-UX systems : SHLIB_PATH AIX systems : LIBPATH > $ setenv LANG ko_KR $ localedef -f EUC-KR -i ko_KR ▶ Tuxedo/기술자료 2012.02.23
▶ XA 관련 작업 > chown -R tuxedo:dba tuxedo > sqlplus /nolog > conn / as sysdba > sqlplus '/ as sysdba ' SQLDBA> grant all on v$xatrans$ to tuxedo; SQLDBA> grant all on v$pending_xatrans$ to tuxedo; SQLDBA> grant select on dba_pending_transactions to tuxedo; $ORACLE_HOME/rdbms/admin 에 View Table Script인 xaview.sql 유무 확인(8i) $>svrmgrl # Oracle Ser.. ▶ Tuxedo/기술자료 2012.02.23