Debug remote JBoss application in Eclipse 在Eclipse中远程调试JBoss应用

Categories: Java; Tagged with: ; @ February 17th, 2012 22:50

#1. Config JBoss configuration file:

jboss-5.1.0.GA\bin: modify the configuration run.conf.bat(Windows) or run.conf(Linux), remove the comment at the start of the line, and set suspend=n:

(remove: rem or # )set “JAVA_OPTS=%JAVA_OPTS% -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n” 

Start the server;

#2. Debug the project in Eclipse:

image

推荐: PPUrl.com皮皮书屋, IT电子版PDF下载天堂, 不用回帖,也不用积分! N多O’Reilly PDF! 看看人家的注册验证!

Categories: 分享; Tagged with: ; @ February 12th, 2012 22:36

昨天不小心从豆瓣上”O’Reilly爱好者小组” 看到的推荐帖子, 果然是货真价实. 原版计算机PDF书籍超多, 必须得强烈推荐! >>点我<<

image

新浪微博: 解除手机短信提醒

Categories: Ugly; Tagged with: ; @ February 12th, 2012 21:05

某天发现微博莫名其妙的关注了一百多号低俗的人, 密码没动, 就是被搞了一把.

于是修改了密码, 取消了所有的授权, 提示我绑定手机号会更安全一点, 心想也罢, 绑定一把好了.

结果提醒短信嗖嗖的发, TND竟然连取消的地方都木有, 设计的那叫一个烂俗!

Google一把, 原来这个功能只是设计给了移动3g网页版, 登录后可直接退订:

http://weibo.cn/dpool/ttt/smsfeed.php?act=index

HIT/HIS 医疗信息系统中英文名词收集

Categories: HIT; Tagged with: ; @ February 8th, 2012 9:44

HIT – Healthcare Information Technology
HRP – Hospital resource planing
EHR – Electronic Health Record 电子健康档案
CPOE – Computerized physician order entry
OE – Order entry
PACS – Picture Archiving and Communication Systems 影像归档和通信系统
RADT/ADT – (Reservation/Registration) Admission transfer discharge

IV – intravenous 静脉注射
Recipe – 处方
CI – cardiac index 心脏指数
Clinical pathway – 临床路径

Chinese traditional drugs 传统药物
Modern drugs 现代药物
Essential drugs 基本药物
Prescribed drug 处方药物
OTC – Over the counter 非处方药物
PIVA(S) – pharmacy intravenous admixture service 静脉输液配置中心/静脉药物配制中心

ADE- Adverse drug event 药物不良事件

CHIMA – Chinese Hospital Information Management Association 中国医院协会信息管理专业委员会

NOP – non-peros 禁食

TAM – TaskAreaMonitor 待办事项
MAR – Medication Administration Records

Check FlashPlayer SharedObject setting using ActionScript / 使用AS检查FP本地存储

Categories: Flex; Tagged with: ; @ February 7th, 2012 21:45

FlashPlayer provide a cool local storage mechanism called ‘SharedObject’,  we can store some user info in user local machine. for example, douban.fm store the last channel in sharedObject.

You can check the local storage setting for current domain by right click, or check all setting from Control Panel>FlashPlayer, additionally, you can manage all settings by this: http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager07.html

Flashplayer need the user configure this setting manually, but some times we want change the setting automatically, especially for some enterprise application, like E-Learning, Banking, HIS.

Currently, I did not found any API or workaround to change the local storage automatically 🙁

I just write a small tool to check the local storage setting directly, >>Link<<
(you may download and upload this swf to your server if needed)

image
 

/**
	 * Check local storage setting.
	 */ 
	protected function checkLocalStorage(event:MouseEvent):void
	{
		var sharedObjectForTest:SharedObject = SharedObject.getLocal("sharedObjectTest", "/");
		
		sharedObjectForTest.addEventListener(NetStatusEvent.NET_STATUS, onSharedObjectEvent);
		sharedObjectForTest.data.result = "OK";
		try
		{
			var result:String = sharedObjectForTest.flush();
			if(result == SharedObjectFlushStatus.FLUSHED) {
				traceLog("OK, and currect size is: " + sharedObjectForTest.size);
			}else {
				traceLog("Failed, and the Flashplayer security setting panel is shown.");
			}
		} 
		catch(error:Error) 
		{
			traceLog("Error, and show the seeting panel manually;");
			Security.showSettings(SecurityPanel.LOCAL_STORAGE);
		}
	}

Newer Posts <-> Older Posts



// Proudly powered by Apache, PHP, MySQL, WordPress, Bootstrap, etc,.