做了一个用户认证的bundle,需要访问远程IBM LDAP服务器,是通过JNDI方式访问,用的是IBM JRE 1.4.2。结果在运行时,这个bundle在被某个bundle调用时总是出现某个类找不到,在被另一个bundle调用时又没有问题。实际上这个类就在ibmjndi.jar中,而ibmjndi.jar已经加入到这个bundle的classpath里面,很是奇怪。在调试中,发现调用JNDI naming service的时候,它试图用reflect的方式去新建这个类实例,而且不是用默认的Classloader,而是在com.sun.naming.internal.VersionHelpe ...
在水木这个帖子看到的,我也数了数,还很少啊,下面是我的 create your own China map 1996. 杭州,上海,宁波,象山;岳阳 1997. 江西龙虎山 1998. 嵩山,洛阳 2000. 天津 2001. 福州,厦门 2002. 司马台长城;北戴河 2003. 杭州;重庆 2004. San Francisco;古北口长城;北戴河 2005. 昆明,丽江,香格里拉 2006. 鹫峰;丰宁坝上;西安,华山 2007. 雾灵山;鸡鸣驿 近期目标: 柬埔寨(金边,吴哥,西哈努克港),四川,西藏...
10/03去鸡鸣驿看了看,整天下来感觉更像是火车一日游。鸡鸣驿给我的印象是一座保存完好的驿城,规模很小,所以可以很容易看到古代驿城的完整格局,座落于丘陵中的平原地带,两座城门相对遥望,四面城墙,其间官舍民居星罗棋布。几百年的风吹雨蚀,整个城池已相当破败,能保存下来已相当不易。现如今的旅游开发,大概会将残存的一点点历史沧桑都给抹去了...08:50 在清河站上6427次普慢到沙城,路上要4个小时,但是因为离家近上车方便,所以选择了这一趟。提前一天买了硬座票(7块,手续费5块),而不是上车再补票,事实证明这在黄金周期间是明智的,车上满是去八达岭的人,不少需要站着。到八达岭下了大半,但是后面到沙城的 ...
Bundle activation/deactivationNow that bundles don't need to provide BundleActivator class, we still have opportunities to do something at bundle activation/deactivation time by implementing the following methods in component class: protected void activate(ComponentContext ctxt ...
Declarative Services is a declarative model which provides a publish/find/bind model for using services. DS is a new service from OSGi R4.DS simplifies the task of authoring services by performing the work of registering services and handling service dependencies.DS helps de-couple service bundles f ...
I get CocoGo 0.5.1 updated with changes:Support encoding specified for input game file rather than default platform encodingImprove stone string position on LinuxChange copy board image to clipboard to export it to JPEG image file on both Windows & Linux Add Big5, jp and kr support ...
I tried to install everything I need onto my Edgy...Basically I reference an article on dW about WMQ beginning on Linux. Here I just want to hilight something special on Ubuntu:Install alien beforehand because WMQ is packaged as RPMAdd --nodeps to workaround /bin/sh dependency, so install rpms like ...
Today I finished the work for CocoGo 0.5.0 on Linux, which is ready for download. Basically it have same features as Windows version except: I use internal DND api on Windows to implement copy BITMAP of game board, therefore this feature is removed on Linux. Eclipse SWT on Linux GTK starts to suppor ...
These days I managed to install WebSphere Process Server 6.0.2 onto Ubuntu Edgy in my desktop. The only problem is that it failed to create WPS profile. Finally the reason is found. From Edgy, Ubuntu replaces bash with dash as the default shell. Check /bin/sh with "ls -al /bin/sh", whic ...
Recently I worked on some issue on patenting. Eventually it's proven to have prior art. I get more ideas and lessons about patenting.
If you have a novel idea, understand what's been done before. Fifteen minutes search invested early may save hours of work. If prior exists, you want to know, sooner ...







评论排行榜