//
// -1)
location = location.toString();
if(category == 'trackback') {
var holder = document.getElementById('TrackbackCopyHolder' + id);
if(holder) {
holder.innerHTML = AC_FL_RunContentNotWriteGetString(
'src','http://cfs.tistory.com/blog/script/copyTrackback?v=10869',
'Flashvars','url=http://sharewithu.tistory.com/trackback/' + id + '&mode=whiteButton',
'width','29',
'height','18',
'id', 'TrackbackCopyButton' + id,
'wmode','transparent',
'allowScriptAccess','always',
'type','application/x-shockwave-flash',
'pluginspage','http://www.macromedia.com/go/getflashplayer'
);
}
}
}
request.[안내]태그제한으로등록되지않습니다-xxonError = function() {
alert('실패 했습니다');
}
request.send();
}
function highlight() {
var hash = new RegExp("^#(.*)").exec(window.location.hash);
if(hash && (el = document.getElementById(hash[1])))
highlightElement(hash[1], 0, el.style.backgroundColor);
}
function highlightElement(id, amount, origColor) {
var el = document.getElementById(id);
if (!el) {
return;
}
el.style.backgroundColor = amount % 2 ? "#FFFF44" : origColor;
if (++amount < 7) {
setTimeout("highlightElement('" + id + "', " + amount + ", '" + origColor + "')", 200);
}
}
function toggleLayerForEntry(id, category, categoryId, mode) {
if((category == 'comment' ? loadedComments[id] : loadedTrackbacks[id])) {
try {
var obj = document.getElementById('entry'+id+(category == 'comment' ? 'Comment' : 'Trackback'));
if(mode == undefined)
obj.style.display = (obj.style.display == "none") ? "block" : "none";
else
obj.style.display = (mode == 'show') ? "block" : "none";
} catch (e) {
}
return true;
} else {
if(categoryId) {
viewTrigger(id,category, categoryId);
} else {
viewTrigger(id,category, -1);
}
}
}
function ObserverForAnchor(evetObj) {
var lo = location.toString();
var queryString = lo.substr(lo.lastIndexOf('/')+1);
if(queryString.indexOf('#')>-1) {
var qsElements = queryString.split('#');
if(qsElements[1].indexOf('comment')>-1) {
var category = 'comment';
} else if(qsElements[1].indexOf('trackback')>-1) {
var category = 'trackback';
}
if(category) {
entryid = qsElements[0];
categoryId = qsElements[1].substr(category.length);
toggleLayerForEntry(entryid,category,categoryId, 'show');
}
}
}
STD.addEventListener(window);
window.addEventListener("load", ObserverForAnchor, false);
//]]>
http://blog.naver.com/junho2005/120061406841
위에 사이트에 자세히 나와 있습니다.
밑에 글은 블러그에서 그대로 퍼온거구요... ^ ^ /
웹로직서버에 있는 JMS 서버설정하는 방법을 적어봤당.
솔직히 나중에 언제 또 쓸지 모르니 까먹기 전에 정리를 좀 했당. ㅋ
자 그럼 JMS 란 무엇인가??
자바 메시지 서비스(Java Message Service; JMS) : 자바프로그램이 네트워크를 통해 데이터를 송수신하는 자바API이다.
암튼 비동기적으로 데이터를 주고 받을때 주로 사용한다. 음.. 메일이나 로그 등등
물론 JMS는 그냥 API 일 뿐이고, MOM (Message Oriented Middleware) 이라는 것이 필요하다.
그리고 웹로직은 MOM 기능을 보유하고 있다.
실제로 로그분석사이트를 만들때 사용 했었당 ㅋ
JMS 서버 세팅 (Weblogic 9.2)
STEP 1. 영구 저장소 설정
# 영구 저장소 –> 새로 만들기 -> 파일 저장소 만들기
영구 저장소는 영구 JMS 메시지와 같은 하위 시스템 데이터를 저장하는 데
사용되는 물리적 저장소입니다
이름 : 등록하고 싶은 멋진 이름
대상 : 대상서버 선택 (default AdminServer)
디렉토리 : 디렉토리의 경로 이름이다. 시스템에 이 디렉토리가 있어야 하므로
이 탭에서 작업을 완료하기 전에 디렉토리를 만들어야 함.
Like this -> C:\bea\user_projects\domains\base_domain\logjmsfilestore
다 작성 후 마침버튼 클릭..
그럼 파일 저장소 설정 완료
STEP 2. JMS서버 설정
이름 : Everything is OK what you want.
영구 저장소 : 앞에서 생성한 영구저장소를 선택
다음 클릭!
이제 생성된 JMS서버를 배포할 서버 인스턴스를 선택
AdminServer 선택
마침!
그럼 JMS 서버 설정 완료
#STEP 3. JMS 모듈 설정하기
이름 : Everything is OK what you want.
디스크립터 파일 이름은 Pass
도메인 내의 위치도 Pass
다음 클릭
AdminServer 체크후 다음
체크 후 마침
그럼 JMS 시스템 모듈 설정 완료
STEP 4. 새 JMS 시스템 모듈 자원만들기
JMS모듈 LogJMSModule 클릭!
새로 만들기 클릭
큐 선택 -> 다음 클릭
이름 : Everything is OK what you want.
JNDI : 이왕이면 안 헷갈리게 이름이랑 같은 걸로~
다음 클릭!
새 하위 배포 만들기 클릭!!
하위 배포 이름 작성 후 확인!
하위 배포 선택 -> 배포할 JMS 서버 선택 -> 마침
이리하여 JMS 서버 세팅이 완료 되었습니다. ㅋㅋ
if(/MSIE [0-6]\./.test(navigator.userAgent)){for(var i=0;i<3;i++){var el=document.getElementById('ccl-icon-43-'+i);el.style.filter='progid:DXImageTransform.Microsoft.AlphaImageLoader(src="'+el.src+'",sizingMethod="image")';el.src='http://cfs.tistory.com/static/admin/form/s.gif';}}
Posted by Undersense
Trackback | http://sharewithu.tistory.com/trackback/43
//