vanghoh
vanghoh · 共 50 篇文章
[置顶] 为什么程序员的社会地位不高?
http://www.leiphone.com/why.html 为什么程序员的社会地位不高? 归类于: 业界 作者: benimaru 于 2012-1-2,10:46 3 坨评论 到目前为止,在过去60年中在世界排名前20的国家中,没有哪条街是以程序员或者计算机科学家的名字命名的。没有任何一个世界主要城市拥有程序员或者计算机科学家的雕像。没有程序员或者计算机科学家获得过总统奖章(Presidential Medal)或者国会金质奖章(Congressional Gold Medal)。没有国家级别的针对程序员或者计算机科学家的颁奖典礼。 但是我们有艺术、运动、经济、娱乐等大型颁奖典礼。更…
2012-02-01 13:34 · Other · 评论(0)
apache httpd mod_rewrite
安装: 1.如果为初次安装apache,在编译时增加--enable-rewrite选项。 ./configure --prefix=/usr/local/apachel --enable-so --enable-mods-shared=all --enable-rewrite --enable-cache 2.如果已安装apahe httpd,但通过./apachectl -l发现未安装mod_rewrite,增加mod_rewrite模块方法: # 在apache的 源码安装目录 中寻找mod_rewrite.c文件 find . -name mod_rewrite.c # 进入包含mo…
2012-06-01 15:36 · 评论(0)
jboss twiddle命令例子
twiddle.sh -uadmin -p12345678 get jboss.system:type=Server Version
2012-03-19 15:15 · JEE_JBoss · 评论(0)
将 JBoss封装为Windows 服务
Download javaService form objectWeb Install Service set Java_Home=D:\programfiles\java\jdk160_24 set JBOSS_HOME=D:\programfiles\jboss-eap-5.1\jboss-as JavaService.exe -install JBoss5 %Java_Home%\jre\bin\server\jvm.dll -Djava.class.path="%JBOSS_HOME%\bin\run.jar;%JAVA_HOME%\lib\tools.jar" –Xms256M –…
2012-03-16 16:21 · JEE · 评论(0)
JBoss EAP 使用 Binding Manager
For JBoss 4.3.x: 1. edit JBoss_EAP_4.3.0.GA_CP02_sts\jboss-as\server\default\conf\jboss-service.xml 2. enable mbean: <mbean code="org.jboss.services.binding.ServiceBindingManager" name="jboss.system:service=ServiceBindingManager"> <attribute name="ServerName">ports-01</attribute> <attribute name="S…
2012-03-14 10:56 · JEE_JBoss · 评论(0)
IBM MB Tool kit Utilities
1. 切换Tookit 语言为英文 加参数 -nl "EN" ,如 mb.exe -nl "EN"
2012-02-08 14:16 · Other · 评论(0)
[REF] Java HotSpot VM Options
http://www.oracle.com/technetwork/java/javase/tech/vmoptions-jsp-140102.html#DebuggingOptions Java HotSpot VM Options At a Glance Core Database Desktop Accessibility Security Tools Web Services Real-Time Overview Basic CORBA HotSpot VM JNDI Mntr-Mgmt Tools APIs XML This document provides informatio…
2012-02-07 11:22 · JEE_JVM · 评论(0)
[转载]浅谈软件开发定律系列之帕金森定律(Parkinson’s Law)
原文地址 http://eilfei2000.blog.51cto.com/2956473/718353 浅谈软件开发定律系列之帕金森定律(Parkinson’s Law) 2011-11-18 18:12:11 标签: 拖延 项目时间 项目管理 冗余 原创作品,允许转载,转载时请务必以超链接形式标明文章 原始出处 、作者信息和本声明。否则将追究法律责任。 http://eilfei2000.blog.51cto.com/2956473/718353 **帕金森定律(Parkinson’s Law)–“**工作总是用完所有可利用的时间(Work expands to fill the tim…
2012-02-06 14:17 · Other · 评论(0)
Chrome 占用 CPU 高的解决方法
Shift + ESC ,查看那个进程占用CPU高,结束之。 我的是 shockwave flash 插件占用CPU很高,可能跟开太多窗口有关。
2012-02-03 19:00 · Other · 评论(0)
JEE - JPS Command
(1) -q :只显示pid,不显示class名称,jar文件名和传递给 main 方法的参数 $> jps -q 28680 23789 23651 (2) -m :[实用] 输出传递给 main 方法的参数,在嵌入式jvm上可能是null $> jps -m 28715 Jps -m 23789 BossMain 23651 Resin -socketwait 32768 -stdout /data/aoxj/resin/log/stdout.log -stderr /data/aoxj/resin/log/stderr.log (3) -l :输出应用程序main class的完整pa…
2012-02-03 17:23 · JEE_JVM · 评论(0)
JEE - Unveiling Java OOM (Out of Memory Error)
java.lang.OutOfMemoryError: Perm Space Only Oracle(Sun) HotSpot JVM has perm space. java.lang.OutOfMemoryError: Java heap space java.lang.OutOfMemoryError: unable to create new native thread java.lang.OutOfMemoryError: requested xxxx bytes for Chunk::new. Out of swap space java.lang.OutOfMemoryErro…
2012-02-03 15:03 · JEE_JVM · 评论(0)
Tools - GCViewer gcviewer-1.31-RC4.zip
http://www.tagtraum.com/gcviewer.html new version (a fork) https://github.com/chewiebug/GCViewer/downloads
2012-02-03 13:16 · JEE_JVM · 评论(0)
JEE - Memory Status Jsp Using JMX
<!-- jsp file content --> <%@ page import="java.lang.management.*" %> <%@ page import="java.util.*" %> <h1 style="text-decoration: underline;">JVM Memory Monitor</h1> <h2>Memory MXBean</h2> <b>Heap Memory Usage____:</b> <%= ManagementFactory.getMemoryMXBean().getHeapMemoryUsage() %><br> <b>Non-Heap…
2012-02-03 10:42 · JEE · 评论(0)