<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>拈花微笑</title>
	<atom:link href="http://www.jayxu.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jayxu.com</link>
	<description>晶 · 彦</description>
	<lastBuildDate>Fri, 18 May 2012 05:31:58 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
<image>
<link>http://www.jayxu.com</link>
<url>http://www.jayxu.com/wp-content/cbnet-favicon/1289928181_Black_Cat.png</url>
<title>拈花微笑</title>
</image>
	<atom:link rel='hub' href='http://www.jayxu.com/?pushpress=hub'/>
		<item>
		<title>一劳永逸设置最大文件打开数</title>
		<link>http://www.jayxu.com/2012/05/09/13502/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=%25e4%25b8%2580%25e5%258a%25b3%25e6%25b0%25b8%25e9%2580%25b8%25e8%25ae%25be%25e7%25bd%25ae%25e6%259c%2580%25e5%25a4%25a7%25e6%2596%2587%25e4%25bb%25b6%25e6%2589%2593%25e5%25bc%2580%25e6%2595%25b0</link>
		<comments>http://www.jayxu.com/2012/05/09/13502/#comments</comments>
		<pubDate>Tue, 08 May 2012 17:18:23 +0000</pubDate>
		<dc:creator>Jay</dc:creator>
				<category><![CDATA[技术生活]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://www.jayxu.com/?p=13502</guid>
		<description><![CDATA[大家知道Linux下可以通过ulimit -n查看或者设置最大文件打开数，由于Linux下一切皆是文件，包括网络连接数，因此默认值1024在运行web app的服务器上是个瓶颈。但是通过ulimit -n设置的值只对当前登录session有效，所以很多人选择将该命令加到~/.bashrc或者/etc/profile，这里提供一个一劳永逸的办法：修改/etc/security/limits.conf，加入： *&#160;&#160;&#160;&#160;hard&#160;&#160;&#160;&#160;nofile&#160;&#160;&#160;&#160;102400*&#160;&#160;&#160;&#160;soft&#160;&#160;&#160;&#160;nofile&#160;&#160;&#160;&#160;102400 &#8211; EOF &#8211; 原创内容，转载请注明： 转载自拈花微笑 本文链接地址: 一劳永逸设置最大文件打开数 历史上的今天2009:&#160;&#160;一周tweets更新 [2009-05-09](0)2009:&#160;&#160;木有忍住啊(3)2010:&#160;&#160;一周tweets更新 [2010-05-09](0)<table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.jayxu.com%2F2008%2F09%2F27%2F731%2F&from=http%3A%2F%2Fwww.jayxu.com%2F2012%2F05%2F09%2F13502%2F">
                        <font size="-1"  style="line-height: 1.65em; font-size: 12px !important;">在Linux下设置ntp服务</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.jayxu.com%2F2010%2F04%2F14%2F2124%2F&from=http%3A%2F%2Fwww.jayxu.com%2F2012%2F05%2F09%2F13502%2F">
                        <font size="-1"  style="line-height: 1.65em; font-size: 12px !important;">vim键盘布局，中英高清带字幕</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.jayxu.com%2F2011%2F07%2F08%2F10667%2F&from=http%3A%2F%2Fwww.jayxu.com%2F2012%2F05%2F09%2F13502%2F">
                        <font size="-1"  style="line-height: 1.65em; font-size: 12px !important;">vim 指令图解</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.jayxu.com%2F2011%2F05%2F19%2F10588%2F&from=http%3A%2F%2Fwww.jayxu.com%2F2012%2F05%2F09%2F13502%2F">
                        <font size="-1"  style="line-height: 1.65em; font-size: 12px !important;">在Web上运行Linux [zz]</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
			<content:encoded><![CDATA[<p>大家知道Linux下可以通过ulimit -n查看或者设置最大文件打开数，由于Linux下一切皆是文件，包括网络连接数，因此默认值1024在运行web app的服务器上是个瓶颈。但是通过ulimit -n设置的值只对当前登录session有效，所以很多人选择将该命令加到~/.bashrc或者/etc/profile，这里提供一个一劳永逸的办法：修改/etc/security/limits.conf，加入：<br />
<!--DEVFMTCODE--><pre class="devcodeblock" title="Bash"><div class="devcodeoverflow"><ol><li><span style="color: #000000; font-weight: bold;">*</span>&nbsp;&nbsp;&nbsp;&nbsp;hard&nbsp;&nbsp;&nbsp;&nbsp;nofile&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #000000;">102400</span></li><li><span style="color: #000000; font-weight: bold;">*</span>&nbsp;&nbsp;&nbsp;&nbsp;soft&nbsp;&nbsp;&nbsp;&nbsp;nofile&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #000000;">102400</span></li></ol></div></pre><!--END_DEVFMTCODE-->
<p>&#8211; EOF &#8211;</p>
<div style="margin-top: 15px; font-style: italic">
<p><strong>原创内容，转载请注明：</strong> 转载自<a href="http://www.jayxu.com/">拈花微笑</a></p>
<p><strong>本文链接地址:</strong> <a href="http://www.jayxu.com/2012/05/09/13502/">一劳永逸设置最大文件打开数</a></p>
</div>
<p><a href="http://www.bshare.cn/share?url=http%3A%2F%2Fwww.jayxu.com%2F2012%2F05%2F09%2F13502%2F&title=%E4%B8%80%E5%8A%B3%E6%B0%B8%E9%80%B8%E8%AE%BE%E7%BD%AE%E6%9C%80%E5%A4%A7%E6%96%87%E4%BB%B6%E6%89%93%E5%BC%80%E6%95%B0" title="用bShare分享或收藏本文"><img src="http://static.bshare.cn/frame/images/button_custom1-zh.gif" alt="用bShare分享或收藏本文" /></a></p><!-- AdSense Now! Lite V3.04 -->
<!-- Post[count: 2] -->
<div class="adsense adsense-leadout" style="text-align:center;margin: 12px;"><script type="text/javascript"><!--
google_ad_client = "ca-pub-3669165591149247";
/* 468×60 */
google_ad_slot = "7373709640";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div><table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.jayxu.com%2F2008%2F09%2F27%2F731%2F&from=http%3A%2F%2Fwww.jayxu.com%2F2012%2F05%2F09%2F13502%2F">
                        <font size="-1"  style="line-height: 1.65em; font-size: 12px !important;">在Linux下设置ntp服务</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.jayxu.com%2F2010%2F04%2F14%2F2124%2F&from=http%3A%2F%2Fwww.jayxu.com%2F2012%2F05%2F09%2F13502%2F">
                        <font size="-1"  style="line-height: 1.65em; font-size: 12px !important;">vim键盘布局，中英高清带字幕</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.jayxu.com%2F2011%2F07%2F08%2F10667%2F&from=http%3A%2F%2Fwww.jayxu.com%2F2012%2F05%2F09%2F13502%2F">
                        <font size="-1"  style="line-height: 1.65em; font-size: 12px !important;">vim 指令图解</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.jayxu.com%2F2011%2F05%2F19%2F10588%2F&from=http%3A%2F%2Fwww.jayxu.com%2F2012%2F05%2F09%2F13502%2F">
                        <font size="-1"  style="line-height: 1.65em; font-size: 12px !important;">在Web上运行Linux [zz]</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table><i>历史上的今天</i><ol><li>2009:&nbsp;&nbsp;<a href='http://www.jayxu.com/2009/05/09/1494/' title='Permanent Link to 一周tweets更新 [2009-05-09]'>一周tweets更新 [2009-05-09](0)</a></li><li>2009:&nbsp;&nbsp;<a href='http://www.jayxu.com/2009/05/10/9969/' title='Permanent Link to 木有忍住啊'>木有忍住啊(3)</a></li><li>2010:&nbsp;&nbsp;<a href='http://www.jayxu.com/2010/05/09/2151/' title='Permanent Link to 一周tweets更新 [2010-05-09]'>一周tweets更新 [2010-05-09](0)</a></li></ol>]]></content:encoded>
			<wfw:commentRss>http://www.jayxu.com/2012/05/09/13502/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>《2012湖南卫视成人礼盛典》韩寒演讲《远行》</title>
		<link>http://www.jayxu.com/2012/05/08/13500/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=%25e3%2580%258a2012%25e6%25b9%2596%25e5%258d%2597%25e5%258d%25ab%25e8%25a7%2586%25e6%2588%2590%25e4%25ba%25ba%25e7%25a4%25bc%25e7%259b%259b%25e5%2585%25b8%25e3%2580%258b%25e9%259f%25a9%25e5%25af%2592%25e6%25bc%2594%25e8%25ae%25b2%25e3%2580%258a%25e8%25bf%259c%25e8%25a1%258c%25e3%2580%258b</link>
		<comments>http://www.jayxu.com/2012/05/08/13500/#comments</comments>
		<pubDate>Mon, 07 May 2012 17:43:10 +0000</pubDate>
		<dc:creator>Jay</dc:creator>
				<category><![CDATA[生活]]></category>
		<category><![CDATA[上海]]></category>
		<category><![CDATA[北京]]></category>
		<category><![CDATA[韩寒]]></category>

		<guid isPermaLink="false">http://www.jayxu.com/?p=13500</guid>
		<description><![CDATA[10年前，19岁，我也是从上海踏上了北上的火车，从此开始了一段完全出乎我意料的人生旅程。如果回到19岁再选择一次，亦如韩少，我会说“yesterday once more”…… &#8211; EOF &#8211; 原创内容，转载请注明： 转载自拈花微笑 本文链接地址: 《2012湖南卫视成人礼盛典》韩寒演讲《远行》 历史上的今天2011:&#160;&#160;一周tweets更新 [2011-05-09](0)<table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.jayxu.com%2F2010%2F02%2F01%2F2039%2F&from=http%3A%2F%2Fwww.jayxu.com%2F2012%2F05%2F08%2F13500%2F">
                        <font size="-1"  style="line-height: 1.65em; font-size: 12px !important;">所谓文化大国──韩寒@厦大</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.jayxu.com%2F2010%2F11%2F24%2F10282%2F&from=http%3A%2F%2Fwww.jayxu.com%2F2012%2F05%2F08%2F13500%2F">
                        <font size="-1"  style="line-height: 1.65em; font-size: 12px !important;">上海大火过后一地鸡毛 [zz]</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.jayxu.com%2F2009%2F09%2F08%2F1747%2F&from=http%3A%2F%2Fwww.jayxu.com%2F2012%2F05%2F08%2F13500%2F">
                        <font size="-1"  style="line-height: 1.65em; font-size: 12px !important;">老上海，儿时的记忆 [zz]</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.jayxu.com%2F2008%2F11%2F09%2F822%2F&from=http%3A%2F%2Fwww.jayxu.com%2F2012%2F05%2F08%2F13500%2F">
                        <font size="-1"  style="line-height: 1.65em; font-size: 12px !important;">2010上海世博会“人”字形概念楼</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
			<content:encoded><![CDATA[<p>10年前，19岁，我也是从上海踏上了北上的火车，从此开始了一段完全出乎我意料的人生旅程。如果回到19岁再选择一次，亦如韩少，我会说“yesterday once more”……</p>
<p><object width="640" height="515"><param name="movie" value="http://share.vrs.sohu.com/654069/v.swf&#038;autoplay=false&#038;xuid="></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed width="640" height="515"  allowfullscreen="true" allowscriptaccess="always" quality="high" src="http://share.vrs.sohu.com/654069/v.swf&#038;autoplay=false&#038;xuid=" type="application/x-shockwave-flash"/></embed></object>
<p>&#8211; EOF &#8211;</p>
<div style="margin-top: 15px; font-style: italic">
<p><strong>原创内容，转载请注明：</strong> 转载自<a href="http://www.jayxu.com/">拈花微笑</a></p>
<p><strong>本文链接地址:</strong> <a href="http://www.jayxu.com/2012/05/08/13500/">《2012湖南卫视成人礼盛典》韩寒演讲《远行》</a></p>
</div>
<p><a href="http://www.bshare.cn/share?url=http%3A%2F%2Fwww.jayxu.com%2F2012%2F05%2F08%2F13500%2F&title=%E3%80%8A2012%E6%B9%96%E5%8D%97%E5%8D%AB%E8%A7%86%E6%88%90%E4%BA%BA%E7%A4%BC%E7%9B%9B%E5%85%B8%E3%80%8B%E9%9F%A9%E5%AF%92%E6%BC%94%E8%AE%B2%E3%80%8A%E8%BF%9C%E8%A1%8C%E3%80%8B" title="用bShare分享或收藏本文"><img src="http://static.bshare.cn/frame/images/button_custom1-zh.gif" alt="用bShare分享或收藏本文" /></a></p><table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.jayxu.com%2F2010%2F02%2F01%2F2039%2F&from=http%3A%2F%2Fwww.jayxu.com%2F2012%2F05%2F08%2F13500%2F">
                        <font size="-1"  style="line-height: 1.65em; font-size: 12px !important;">所谓文化大国──韩寒@厦大</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.jayxu.com%2F2010%2F11%2F24%2F10282%2F&from=http%3A%2F%2Fwww.jayxu.com%2F2012%2F05%2F08%2F13500%2F">
                        <font size="-1"  style="line-height: 1.65em; font-size: 12px !important;">上海大火过后一地鸡毛 [zz]</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.jayxu.com%2F2009%2F09%2F08%2F1747%2F&from=http%3A%2F%2Fwww.jayxu.com%2F2012%2F05%2F08%2F13500%2F">
                        <font size="-1"  style="line-height: 1.65em; font-size: 12px !important;">老上海，儿时的记忆 [zz]</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.jayxu.com%2F2008%2F11%2F09%2F822%2F&from=http%3A%2F%2Fwww.jayxu.com%2F2012%2F05%2F08%2F13500%2F">
                        <font size="-1"  style="line-height: 1.65em; font-size: 12px !important;">2010上海世博会“人”字形概念楼</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table><i>历史上的今天</i><ol><li>2011:&nbsp;&nbsp;<a href='http://www.jayxu.com/2011/05/09/10491/' title='Permanent Link to 一周tweets更新 [2011-05-09]'>一周tweets更新 [2011-05-09](0)</a></li></ol>]]></content:encoded>
			<wfw:commentRss>http://www.jayxu.com/2012/05/08/13500/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Gitosis Repository Alternative</title>
		<link>http://www.jayxu.com/2012/04/28/13491/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=gitosis-repository-alternative</link>
		<comments>http://www.jayxu.com/2012/04/28/13491/#comments</comments>
		<pubDate>Fri, 27 Apr 2012 19:45:57 +0000</pubDate>
		<dc:creator>Jay</dc:creator>
				<category><![CDATA[技术生活]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[gitosis]]></category>
		<category><![CDATA[maven]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.jayxu.com/?p=13491</guid>
		<description><![CDATA[今天Ubuntu放出了12.04更新，下午和刚才把linode和公司的11.10升了。升级过程很智能，基本不用怎么干预。本以为可以放心去睡了，谁知道公司服务器上的gitosis掉了链子，/usr/bin/gitosis-serve等三个gitosis的文件丢了，无法pull或push代码。于是按照这里的方法安装gitosis，谁知道host gitosis的eagain.net拒绝访问，难道是全世界的程序员都在用gitosis把网站clone爆了？又google了很久，95%以上的结果用的都是eagain.net，这时才觉得云是多么的重要，这么重要的repository整个互联网上竟然只有一份……又过了20分钟，最终找打了一个替代网址： git clone https://github.com/tv42/gitosis.git 然后一切就OK了~ p.s. 马上五一了，抽空配个只读权限，把这个repository在我服务器上布一份 p.s.2 Ubuntu 12.04终于升级MySQL至5.5，Maven至3.0，赞一个 &#8211; EOF &#8211; 原创内容，转载请注明： 转载自拈花微笑 本文链接地址: Gitosis Repository Alternative<table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.jayxu.com%2F2011%2F11%2F24%2F13085%2F&from=http%3A%2F%2Fwww.jayxu.com%2F2012%2F04%2F28%2F13491%2F">
                        <font size="-1"  style="line-height: 1.65em; font-size: 12px !important;">在Ubuntu下配置L2TP</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.jayxu.com%2F2008%2F06%2F02%2F384%2F&from=http%3A%2F%2Fwww.jayxu.com%2F2012%2F04%2F28%2F13491%2F">
                        <font size="-1"  style="line-height: 1.65em; font-size: 12px !important;">开始Ubuntu</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.jayxu.com%2F2012%2F03%2F31%2F13400%2F&from=http%3A%2F%2Fwww.jayxu.com%2F2012%2F04%2F28%2F13491%2F">
                        <font size="-1"  style="line-height: 1.65em; font-size: 12px !important;">Enable HTTPS on Ubuntu</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.jayxu.com%2F2006%2F06%2F01%2F134%2F&from=http%3A%2F%2Fwww.jayxu.com%2F2012%2F04%2F28%2F13491%2F">
                        <font size="-1"  style="line-height: 1.65em; font-size: 12px !important;">I love Ubuntu</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
			<content:encoded><![CDATA[<p>今天Ubuntu放出了12.04更新，下午和刚才把linode和公司的11.10升了。升级过程很智能，基本不用怎么干预。本以为可以放心去睡了，谁知道公司服务器上的gitosis掉了链子，/usr/bin/gitosis-serve等三个gitosis的文件丢了，无法pull或push代码。于是按照<a href="http://progit.org/book/zh/ch4-7.html" target="_blank">这里</a>的方法安装gitosis，谁知道host gitosis的eagain.net拒绝访问，难道是全世界的程序员都在用gitosis把网站clone爆了？又google了很久，95%以上的结果用的都是eagain.net，这时才觉得云是多么的重要，这么重要的repository整个互联网上竟然只有一份……又过了20分钟，最终找打了一个替代网址：<br />
<!--DEVFMTCODE--><pre class="devcodeblock" title="Bash"><div class="devcodeoverflow"><ol><li><span style="color: #c20cb9; font-weight: bold;">git clone</span> https:<span style="color: #000000; font-weight: bold;">//</span>github.com<span style="color: #000000; font-weight: bold;">/</span>tv42<span style="color: #000000; font-weight: bold;">/</span>gitosis.git</li></ol></div></pre><!--END_DEVFMTCODE--><br />
然后一切就OK了~</p>
<p>p.s. 马上五一了，抽空配个只读权限，把这个repository在我服务器上布一份</p>
<p>p.s.2 Ubuntu 12.04终于升级MySQL至5.5，Maven至3.0，赞一个
<p>&#8211; EOF &#8211;</p>
<div style="margin-top: 15px; font-style: italic">
<p><strong>原创内容，转载请注明：</strong> 转载自<a href="http://www.jayxu.com/">拈花微笑</a></p>
<p><strong>本文链接地址:</strong> <a href="http://www.jayxu.com/2012/04/28/13491/">Gitosis Repository Alternative</a></p>
</div>
<p><a href="http://www.bshare.cn/share?url=http%3A%2F%2Fwww.jayxu.com%2F2012%2F04%2F28%2F13491%2F&title=Gitosis+Repository+Alternative" title="用bShare分享或收藏本文"><img src="http://static.bshare.cn/frame/images/button_custom1-zh.gif" alt="用bShare分享或收藏本文" /></a></p><table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.jayxu.com%2F2011%2F11%2F24%2F13085%2F&from=http%3A%2F%2Fwww.jayxu.com%2F2012%2F04%2F28%2F13491%2F">
                        <font size="-1"  style="line-height: 1.65em; font-size: 12px !important;">在Ubuntu下配置L2TP</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.jayxu.com%2F2008%2F06%2F02%2F384%2F&from=http%3A%2F%2Fwww.jayxu.com%2F2012%2F04%2F28%2F13491%2F">
                        <font size="-1"  style="line-height: 1.65em; font-size: 12px !important;">开始Ubuntu</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.jayxu.com%2F2012%2F03%2F31%2F13400%2F&from=http%3A%2F%2Fwww.jayxu.com%2F2012%2F04%2F28%2F13491%2F">
                        <font size="-1"  style="line-height: 1.65em; font-size: 12px !important;">Enable HTTPS on Ubuntu</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.jayxu.com%2F2006%2F06%2F01%2F134%2F&from=http%3A%2F%2Fwww.jayxu.com%2F2012%2F04%2F28%2F13491%2F">
                        <font size="-1"  style="line-height: 1.65em; font-size: 12px !important;">I love Ubuntu</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></content:encoded>
			<wfw:commentRss>http://www.jayxu.com/2012/04/28/13491/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>记第一次成为BT大军的先头部队</title>
		<link>http://www.jayxu.com/2012/04/21/13480/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=%25e8%25ae%25b0%25e7%25ac%25ac%25e4%25b8%2580%25e6%25ac%25a1%25e6%2588%2590%25e4%25b8%25babt%25e5%25a4%25a7%25e5%2586%259b%25e7%259a%2584%25e5%2585%2588%25e5%25a4%25b4%25e9%2583%25a8%25e9%2598%259f</link>
		<comments>http://www.jayxu.com/2012/04/21/13480/#comments</comments>
		<pubDate>Fri, 20 Apr 2012 17:23:11 +0000</pubDate>
		<dc:creator>Jay</dc:creator>
				<category><![CDATA[互联网生活]]></category>
		<category><![CDATA[bt]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[mountain lion]]></category>

		<guid isPermaLink="false">http://www.jayxu.com/?p=13480</guid>
		<description><![CDATA[这两天掐指一算，按照mac一个月出一个DP的习惯，Mountain Lion DP 3应该快出来了。DP 2的自动注销把我折磨得欲死欲仙，于是这两天晚上没事就google一下“mountain lion developer preview 3”。功夫不负有心人，今天终于放出了BT，于是第一时间开挂。一开始速度在400+K，感觉睡一觉明天应该就能把该死的DP 2给升了，谁知道不一会儿速度便降到了10K以下。在翻墙速度未提升而排除了tracker被墙的可能性后，仔细看了下peer列表，发现大家进度都在11%左右，才恍然大悟原来自己第一次成为了BT大军的先头部队…… 发博配图以记之 补：昨天晚上在linode服务器上装了transmission一起下，刚才在peer列表里看见了…… &#8211; EOF &#8211; 原创内容，转载请注明： 转载自拈花微笑 本文链接地址: 记第一次成为BT大军的先头部队 历史上的今天2008:&#160;&#160;TO BE or not to be, itz ur choice(1)2010:&#160;&#160;【近期的校内犀利状态】、不解释 [zz](1)<table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.jayxu.com%2F2012%2F02%2F17%2F13273%2F&from=http%3A%2F%2Fwww.jayxu.com%2F2012%2F04%2F21%2F13480%2F">
                        <font size="-1"  style="line-height: 1.65em; font-size: 12px !important;">OS X 10.8 Mountain Lion Developer Preview BT</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.jayxu.com%2F2012%2F02%2F21%2F13277%2F&from=http%3A%2F%2Fwww.jayxu.com%2F2012%2F04%2F21%2F13480%2F">
                        <font size="-1"  style="line-height: 1.65em; font-size: 12px !important;">Xcode 4.4 Developer Preview BT</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.jayxu.com%2F2011%2F07%2F21%2F11337%2F&from=http%3A%2F%2Fwww.jayxu.com%2F2012%2F04%2F21%2F13480%2F">
                        <font size="-1"  style="line-height: 1.65em; font-size: 12px !important;">Mac Lion BT</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.jayxu.com%2F2006%2F07%2F29%2F127%2F&from=http%3A%2F%2Fwww.jayxu.com%2F2012%2F04%2F21%2F13480%2F">
                        <font size="-1"  style="line-height: 1.65em; font-size: 12px !important;">Unbuntu + Mac</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
			<content:encoded><![CDATA[<p>这两天掐指一算，按照mac一个月出一个DP的习惯，Mountain Lion DP 3应该快出来了。<a href="http://www.jayxu.com/2012/02/17/13273/" target="_blank">DP 2的自动注销把我折磨得欲死欲仙</a>，于是这两天晚上没事就google一下“mountain lion developer preview 3”。功夫不负有心人，今天终于放出了BT，于是第一时间开挂。一开始速度在400+K，感觉睡一觉明天应该就能把该死的DP 2给升了，谁知道不一会儿速度便降到了10K以下。在翻墙速度未提升而排除了tracker被墙的可能性后，仔细看了下peer列表，发现大家进度都在11%左右，才恍然大悟原来自己第一次成为了BT大军的先头部队……</p>
<p>发博配图以记之</p>
<p><a href="http://www.jayxu.com/log/wp-content/uploads/2012/04/µTorrent.png"><img class="alignnone size-medium wp-image-13482" title="µTorrent" src="http://www.jayxu.com/log/wp-content/uploads/2012/04/µTorrent-400x232.png" alt="" width="400" height="232" /></a></p>
<p>补：昨天晚上在linode服务器上装了transmission一起下，刚才在peer列表里看见了……</p>
<p><a href="http://www.jayxu.com/log/wp-content/uploads/2012/04/µTorrent-1.png"><img class="alignnone size-medium wp-image-13486" title="µTorrent-1" src="http://www.jayxu.com/log/wp-content/uploads/2012/04/µTorrent-1-400x232.png" alt="" width="400" height="232" /></a>
<p>&#8211; EOF &#8211;</p>
<div style="margin-top: 15px; font-style: italic">
<p><strong>原创内容，转载请注明：</strong> 转载自<a href="http://www.jayxu.com/">拈花微笑</a></p>
<p><strong>本文链接地址:</strong> <a href="http://www.jayxu.com/2012/04/21/13480/">记第一次成为BT大军的先头部队</a></p>
</div>
<p><a href="http://www.bshare.cn/share?url=http%3A%2F%2Fwww.jayxu.com%2F2012%2F04%2F21%2F13480%2F&title=%E8%AE%B0%E7%AC%AC%E4%B8%80%E6%AC%A1%E6%88%90%E4%B8%BABT%E5%A4%A7%E5%86%9B%E7%9A%84%E5%85%88%E5%A4%B4%E9%83%A8%E9%98%9F" title="用bShare分享或收藏本文"><img src="http://static.bshare.cn/frame/images/button_custom1-zh.gif" alt="用bShare分享或收藏本文" /></a></p><table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.jayxu.com%2F2012%2F02%2F17%2F13273%2F&from=http%3A%2F%2Fwww.jayxu.com%2F2012%2F04%2F21%2F13480%2F">
                        <font size="-1"  style="line-height: 1.65em; font-size: 12px !important;">OS X 10.8 Mountain Lion Developer Preview BT</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.jayxu.com%2F2012%2F02%2F21%2F13277%2F&from=http%3A%2F%2Fwww.jayxu.com%2F2012%2F04%2F21%2F13480%2F">
                        <font size="-1"  style="line-height: 1.65em; font-size: 12px !important;">Xcode 4.4 Developer Preview BT</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.jayxu.com%2F2011%2F07%2F21%2F11337%2F&from=http%3A%2F%2Fwww.jayxu.com%2F2012%2F04%2F21%2F13480%2F">
                        <font size="-1"  style="line-height: 1.65em; font-size: 12px !important;">Mac Lion BT</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.jayxu.com%2F2006%2F07%2F29%2F127%2F&from=http%3A%2F%2Fwww.jayxu.com%2F2012%2F04%2F21%2F13480%2F">
                        <font size="-1"  style="line-height: 1.65em; font-size: 12px !important;">Unbuntu + Mac</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table><i>历史上的今天</i><ol><li>2008:&nbsp;&nbsp;<a href='http://www.jayxu.com/2008/04/21/339/' title='Permanent Link to TO BE or not to be, itz ur choice'>TO BE or not to be, itz ur choice(1)</a></li><li>2010:&nbsp;&nbsp;<a href='http://www.jayxu.com/2010/04/21/2138/' title='Permanent Link to 【近期的校内犀利状态】、不解释 [zz]'>【近期的校内犀利状态】、不解释 [zz](1)</a></li></ol>]]></content:encoded>
			<wfw:commentRss>http://www.jayxu.com/2012/04/21/13480/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>珍爱生命，远离天朝论坛</title>
		<link>http://www.jayxu.com/2012/04/18/13474/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=%25e7%258f%258d%25e7%2588%25b1%25e7%2594%259f%25e5%2591%25bd%25ef%25bc%258c%25e8%25bf%259c%25e7%25a6%25bb%25e5%25a4%25a9%25e6%259c%259d%25e8%25ae%25ba%25e5%259d%259b</link>
		<comments>http://www.jayxu.com/2012/04/18/13474/#comments</comments>
		<pubDate>Tue, 17 Apr 2012 17:13:14 +0000</pubDate>
		<dc:creator>Jay</dc:creator>
				<category><![CDATA[互联网生活]]></category>
		<category><![CDATA[xda]]></category>
		<category><![CDATA[xoom]]></category>
		<category><![CDATA[天朝]]></category>
		<category><![CDATA[牢骚]]></category>
		<category><![CDATA[论坛]]></category>

		<guid isPermaLink="false">http://www.jayxu.com/?p=13474</guid>
		<description><![CDATA[今天xoom到手，晚上做完unlock、root、recovery，打算下从xda下个rom刷了，谁知道file host挂了，无法访问，只能求助国内的坛子，于是便开始杯具了：Google搜索 -&#62; 结果导向至论坛页面 -&#62; 游客不能看附件 -&#62; 注册 -&#62; 回复才能看附件 -&#62; 回复 -&#62; 不做论坛任务不能回复 -&#62; 做任务 -&#62; 换头像 -&#62; Chrome下无法换头像 -&#62; 换个论坛 -&#62;&#160;游客不能看附件 -&#62; 注册 -&#62; 终于看见附件 -&#62; 是个rar -&#62; 下载 &#160;-&#62; 后缀名却是php -&#62; 改后缀 -&#62; 解压缩 -&#62; 一个包含下载地址的txt -&#62; rom在该死的RayFile上 -&#62; 游客不能下载 -&#62; 又注册 -&#62; 文件太大，必须使用更该死的RayFile下载器下载 -&#62; 下载器只有Windows版本 -&#62; #%$&#38;%*#*^! 于是，我浪费了一晚上注册了三个论坛外加一个RayFile账号，却什么都没下载到⋯⋯ 结论：国内的论坛（至少是智能手机、PAD的论坛）为了增加流量、增加注册用户、增加PV而牺牲用户的体验、时间甚至生命已经到了令人发指的程度！除非哪天真的闲得蛋疼，不然劝诸位珍爱生命，远离天朝论坛 &#8211; EOF <a href="http://www.jayxu.com/2012/04/18/13474/"> read more <span class="meta-nav">&#187;</span></a><table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.jayxu.com%2F2005%2F03%2F12%2F233%2F&from=http%3A%2F%2Fwww.jayxu.com%2F2012%2F04%2F18%2F13474%2F">
                        <font size="-1"  style="line-height: 1.65em; font-size: 12px !important;">CSDN的blog好烂啊</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.jayxu.com%2F2009%2F05%2F19%2F1501%2F&from=http%3A%2F%2Fwww.jayxu.com%2F2012%2F04%2F18%2F13474%2F">
                        <font size="-1"  style="line-height: 1.65em; font-size: 12px !important;">生命如此之脆弱</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.jayxu.com%2F2012%2F02%2F29%2F13287%2F&from=http%3A%2F%2Fwww.jayxu.com%2F2012%2F04%2F18%2F13474%2F">
                        <font size="-1"  style="line-height: 1.65em; font-size: 12px !important;">悟</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.jayxu.com%2F2012%2F04%2F16%2F13444%2F&from=http%3A%2F%2Fwww.jayxu.com%2F2012%2F04%2F18%2F13474%2F">
                        <font size="-1"  style="line-height: 1.65em; font-size: 12px !important;">走自己的路，让别人写博客去吧</font>
                    </a>
                </td>
            </tr>
        <br/>
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">来自无觅网络的相关文章：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.dedeadmin.com%2F%3Fp%3D2922%26cpage%3D1&from=http%3A%2F%2Fwww.jayxu.com%2F2012%2F04%2F18%2F13474%2F">
                        <font size="-1"  style="line-height: 1.65em; font-size: 12px !important;">听舅舅说，织梦官方论坛今天可能会重新开放 | 织梦(Dedecms)管理员之家 (@dedeadmin)</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.dedeadmin.com%2F%3Fp%3D2922&from=http%3A%2F%2Fwww.jayxu.com%2F2012%2F04%2F18%2F13474%2F">
                        <font size="-1"  style="line-height: 1.65em; font-size: 12px !important;">听舅舅说，织梦官方论坛今天可能会重新开放 (@dedeadmin)</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.dedeadmin.com%2F%3Fp%3D2427&from=http%3A%2F%2Fwww.jayxu.com%2F2012%2F04%2F18%2F13474%2F">
                        <font size="-1"  style="line-height: 1.65em; font-size: 12px !important;">庆祝织梦官方论坛成功升级，论坛调整说明 (@dedeadmin)</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.dedeadmin.com%2F%3Fp%3D3698&from=http%3A%2F%2Fwww.jayxu.com%2F2012%2F04%2F18%2F13474%2F">
                        <font size="-1"  style="line-height: 1.65em; font-size: 12px !important;">专访郑州论坛：地方论坛如何结合实地推广 (@dedeadmin)</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
			<content:encoded><![CDATA[<p>今天xoom到手，晚上做完unlock、root、recovery，打算下从xda下个rom刷了，谁知道file host挂了，无法访问，只能求助国内的坛子，于是便开始杯具了：Google搜索 -&gt; 结果导向至论坛页面 -&gt; 游客不能看附件 -&gt; 注册 -&gt; 回复才能看附件 -&gt; 回复 -&gt; 不做论坛任务不能回复 -&gt; 做任务 -&gt; 换头像 -&gt; Chrome下无法换头像 -&gt; 换个论坛 -&gt;&nbsp;游客不能看附件 -&gt; 注册 -&gt; 终于看见附件 -&gt; 是个rar -&gt; 下载 &nbsp;-&gt; 后缀名却是php -&gt; 改后缀 -&gt; 解压缩 -&gt; 一个包含下载地址的txt -&gt; rom在该死的RayFile上 -&gt; 游客不能下载 -&gt; 又注册 -&gt; 文件太大，必须使用更该死的RayFile下载器下载 -&gt; 下载器只有Windows版本 -&gt; #%$&amp;%*#*^!</p>
<p>于是，我浪费了一晚上注册了三个论坛外加一个RayFile账号，却什么都没下载到⋯⋯</p>
<p>结论：国内的论坛（至少是智能手机、PAD的论坛）为了增加流量、增加注册用户、增加PV而牺牲用户的体验、时间甚至生命已经到了令人发指的程度！除非哪天真的闲得蛋疼，不然劝诸位珍爱生命，远离天朝论坛
<p>&#8211; EOF &#8211;</p>
<div style="margin-top: 15px; font-style: italic">
<p><strong>原创内容，转载请注明：</strong> 转载自<a href="http://www.jayxu.com/">拈花微笑</a></p>
<p><strong>本文链接地址:</strong> <a href="http://www.jayxu.com/2012/04/18/13474/">珍爱生命，远离天朝论坛</a></p>
</div>
<p><a href="http://www.bshare.cn/share?url=http%3A%2F%2Fwww.jayxu.com%2F2012%2F04%2F18%2F13474%2F&title=%E7%8F%8D%E7%88%B1%E7%94%9F%E5%91%BD%EF%BC%8C%E8%BF%9C%E7%A6%BB%E5%A4%A9%E6%9C%9D%E8%AE%BA%E5%9D%9B" title="用bShare分享或收藏本文"><img src="http://static.bshare.cn/frame/images/button_custom1-zh.gif" alt="用bShare分享或收藏本文" /></a></p><table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.jayxu.com%2F2005%2F03%2F12%2F233%2F&from=http%3A%2F%2Fwww.jayxu.com%2F2012%2F04%2F18%2F13474%2F">
                        <font size="-1"  style="line-height: 1.65em; font-size: 12px !important;">CSDN的blog好烂啊</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.jayxu.com%2F2009%2F05%2F19%2F1501%2F&from=http%3A%2F%2Fwww.jayxu.com%2F2012%2F04%2F18%2F13474%2F">
                        <font size="-1"  style="line-height: 1.65em; font-size: 12px !important;">生命如此之脆弱</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.jayxu.com%2F2012%2F02%2F29%2F13287%2F&from=http%3A%2F%2Fwww.jayxu.com%2F2012%2F04%2F18%2F13474%2F">
                        <font size="-1"  style="line-height: 1.65em; font-size: 12px !important;">悟</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.jayxu.com%2F2012%2F04%2F16%2F13444%2F&from=http%3A%2F%2Fwww.jayxu.com%2F2012%2F04%2F18%2F13474%2F">
                        <font size="-1"  style="line-height: 1.65em; font-size: 12px !important;">走自己的路，让别人写博客去吧</font>
                    </a>
                </td>
            </tr>
        <br/>
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">来自无觅网络的相关文章：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.dedeadmin.com%2F%3Fp%3D2922%26cpage%3D1&from=http%3A%2F%2Fwww.jayxu.com%2F2012%2F04%2F18%2F13474%2F">
                        <font size="-1"  style="line-height: 1.65em; font-size: 12px !important;">听舅舅说，织梦官方论坛今天可能会重新开放 | 织梦(Dedecms)管理员之家 (@dedeadmin)</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.dedeadmin.com%2F%3Fp%3D2922&from=http%3A%2F%2Fwww.jayxu.com%2F2012%2F04%2F18%2F13474%2F">
                        <font size="-1"  style="line-height: 1.65em; font-size: 12px !important;">听舅舅说，织梦官方论坛今天可能会重新开放 (@dedeadmin)</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.dedeadmin.com%2F%3Fp%3D2427&from=http%3A%2F%2Fwww.jayxu.com%2F2012%2F04%2F18%2F13474%2F">
                        <font size="-1"  style="line-height: 1.65em; font-size: 12px !important;">庆祝织梦官方论坛成功升级，论坛调整说明 (@dedeadmin)</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.dedeadmin.com%2F%3Fp%3D3698&from=http%3A%2F%2Fwww.jayxu.com%2F2012%2F04%2F18%2F13474%2F">
                        <font size="-1"  style="line-height: 1.65em; font-size: 12px !important;">专访郑州论坛：地方论坛如何结合实地推广 (@dedeadmin)</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table><i>历史上的今天</i><ol><li>2006:&nbsp;&nbsp;<a href='http://www.jayxu.com/2006/04/18/141/' title='Permanent Link to Shanghai or Beijing? It&#039;s a problem'>Shanghai or Beijing? It&#039;s a problem(7)</a></li><li>2009:&nbsp;&nbsp;<a href='http://www.jayxu.com/2009/04/18/1475/' title='Permanent Link to 一周tweets更新 [2009-04-18]'>一周tweets更新 [2009-04-18](0)</a></li><li>2010:&nbsp;&nbsp;<a href='http://www.jayxu.com/2010/04/18/2134/' title='Permanent Link to 一周tweets更新 [2010-04-18]'>一周tweets更新 [2010-04-18](0)</a></li></ol>]]></content:encoded>
			<wfw:commentRss>http://www.jayxu.com/2012/04/18/13474/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Spring LDAP Transaction &#8211; Unofficial yet Working Config Manual</title>
		<link>http://www.jayxu.com/2012/04/17/13449/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=spring-ldap-transaction-unofficial-yet-working-config-manual</link>
		<comments>http://www.jayxu.com/2012/04/17/13449/#comments</comments>
		<pubDate>Mon, 16 Apr 2012 17:45:54 +0000</pubDate>
		<dc:creator>Jay</dc:creator>
				<category><![CDATA[技术生活]]></category>
		<category><![CDATA[hibernate]]></category>
		<category><![CDATA[jta]]></category>
		<category><![CDATA[ldap]]></category>
		<category><![CDATA[odm]]></category>
		<category><![CDATA[spring]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[transaction]]></category>

		<guid isPermaLink="false">http://www.jayxu.com/?p=13449</guid>
		<description><![CDATA[之前的一篇文章介绍了Spring的LDAP子项目和ODM框架，其中提到了LDAP事务，但没有深入，而且那个配置中的事务也是不work的。上个周末在和JTA斗智斗勇的同时把项目中的LDAP事务也搞定了，现在可以做到将LDAP和Hibernate的session factory放在同一个事务上下文中进行ACID管理，即LDAP和数据库操作实现“all or none”（虽然是伪事务，具体下文会提到）。当然，对于Spring LDAP事务配置官方和Google上同样没有任何可参考或操作的文档说明，不然我也不用连着两个晚上码字造福大众了。另外，为了造福资本主义国家的程序猿们，同时向他们展示社会主义国家的制度优越性，以下将切换至英文 Spring LDAP is a amazing framework esp. for its LdapTemplate and ODM, providing a&#160;consistent&#160;point of view of developing LDAP code with the well-known and document-friendly techniques &#8211; JdbcTemplate and ORM. Unfortunately, Spring LDAP is not that widely-used, for its sluggish development progress (1.3.1 so far) and lacking of document/samples. This <a href="http://www.jayxu.com/2012/04/17/13449/"> read more <span class="meta-nav">&#187;</span></a><table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.jayxu.com%2F2012%2F04%2F15%2F13435%2F&from=http%3A%2F%2Fwww.jayxu.com%2F2012%2F04%2F17%2F13449%2F">
                        <font size="-1"  style="line-height: 1.65em; font-size: 12px !important;">Spring+Hibernate 4+Glassfish之使用JTA Transaction</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.jayxu.com%2F2011%2F12%2F14%2F13131%2F&from=http%3A%2F%2Fwww.jayxu.com%2F2012%2F04%2F17%2F13449%2F">
                        <font size="-1"  style="line-height: 1.65em; font-size: 12px !important;">使用Spring LDAP ODM操作LDAP</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.jayxu.com%2F2010%2F07%2F18%2F2373%2F&from=http%3A%2F%2Fwww.jayxu.com%2F2012%2F04%2F17%2F13449%2F">
                        <font size="-1"  style="line-height: 1.65em; font-size: 12px !important;">Spring之经验教训（一）</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.jayxu.com%2F2010%2F06%2F09%2F2342%2F&from=http%3A%2F%2Fwww.jayxu.com%2F2012%2F04%2F17%2F13449%2F">
                        <font size="-1"  style="line-height: 1.65em; font-size: 12px !important;">Spring之Hibernate+JBoss Treecache实现Hibernate集群</font>
                    </a>
                </td>
            </tr>
        <br/>
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">来自无觅网络的相关文章：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.jandou.com%2Ftamaswells-spring-mingyaofeng.html&from=http%3A%2F%2Fwww.jayxu.com%2F2012%2F04%2F17%2F13449%2F">
                        <font size="-1"  style="line-height: 1.65em; font-size: 12px !important;">音乐生活&gt;&gt;Tamas Wells | 充满春天气息的民谣风 (@jandou)</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.jandou.com%2Fspring-flowers-message-block-information.html&from=http%3A%2F%2Fwww.jayxu.com%2F2012%2F04%2F17%2F13449%2F">
                        <font size="-1"  style="line-height: 1.65em; font-size: 12px !important;">春之信息花器留言座 [意外中秋礼物] (@jandou)</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.swhack.cn%2Farchives%2F181.html&from=http%3A%2F%2Fwww.jayxu.com%2F2012%2F04%2F17%2F13449%2F">
                        <font size="-1"  style="line-height: 1.65em; font-size: 12px !important;">phpwind 论坛银行插件刷钱方法 (@swhack)</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.zhangby.com%2Farticles%2F%25E8%2587%2586%25E6%25B5%258B%25E8%258D%25AF%25E4%25BD%25B3%25E9%2591%25AB%25E6%25A1%2588%25E5%2590%2584%25E7%25A7%258D%25E5%258A%25BF%25E5%258A%259B%25E8%25A7%2592%25E9%2580%2590.html&from=http%3A%2F%2Fwww.jayxu.com%2F2012%2F04%2F17%2F13449%2F">
                        <font size="-1"  style="line-height: 1.65em; font-size: 12px !important;">臆测药佳鑫案各种势力角逐 (@zhangby)</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
			<content:encoded><![CDATA[<p>之前的<a href="http://www.jayxu.com/2011/12/14/13131/" target="_blank">一篇文章</a>介绍了Spring的LDAP子项目和ODM框架，其中提到了LDAP事务，但没有深入，而且那个配置中的事务也是不work的。上个周末在和JTA斗智斗勇的同时把项目中的LDAP事务也搞定了，现在可以做到将LDAP和Hibernate的session factory放在同一个事务上下文中进行ACID管理，即LDAP和数据库操作实现“all or none”（虽然是伪事务，具体下文会提到）。当然，对于Spring LDAP事务配置官方和Google上同样没有任何可参考或操作的文档说明，不然我也不用连着两个晚上码字造福大众了。另外，为了造福资本主义国家的程序猿们，同时向他们展示社会主义国家的制度优越性，以下将切换至英文</p>
<p>Spring LDAP is a amazing framework esp. for its LdapTemplate and ODM, providing a&nbsp;consistent&nbsp;point of view of developing LDAP code with the well-known and document-friendly techniques &#8211; JdbcTemplate and ORM. Unfortunately, Spring LDAP is not that widely-used, for its sluggish development progress (1.3.1 so far) and lacking of document/samples. This post will focus on a even rare yet important topic of Spring LDAP &#8211; transaction. For other information like O-D mapping or LDAP context source, pls refer to the <a href="http://static.springsource.org/spring-ldap/site/reference/html/" target="_blank">official document</a>, and some tips <a href="http://www.jayxu.com/2011/12/14/13131/" target="_blank">here</a> if you can read Chinese.</p>
<p>Environment</p>
<ul>
<li>Spring LDAP 1.3.1</li>
<li>Spring * 3.1.1</li>
<li>Hibernate 4.1.1</li>
</ul>
<div>Goal</div>
<div>
<ul>
<li>Implement a method annotated with @Transactional, which&nbsp;demonstrates&nbsp;a business service</li>
<li>The service invokes two persist DAOs, one uses Hibernate&#8217;s session factory and the other uses Spring&#8217;s ODM</li>
<li>The two persist actions should follow “all or none” rule, that is, if JDBC action fails after LDAP action, LDAP action should rollback, vice versa</li>
</ul>
</div>
<p>IMPORTANT</p>
<p>As described in the <a href="http://static.springsource.org/spring-ldap/site/reference/html/transactions.html" target="_blank">official document</a>, TX in Spring LDAP is “not real”</p>
<blockquote><p>it should be noted that the provided support is all client side. The wrapped transaction is not an XA transaction. No two-phase as such commit is performed, as the LDAP server will be unable to vote on its outcome. Once again, however, for the majority of cases the supplied support will be sufficient.</p></blockquote>
<p>Show time!</p>
<p>Spring configuration<br />
<!--DEVFMTCODE--><pre class="devcodeblock" title="XML"><div class="devcodeoverflow"><ol><li><span style="color: #808080; font-style: italic;">&lt;!-- define LDAP connection --&gt;</span></li><li><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;bean</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;contextSourceTarget&quot;</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;org.springframework.ldap.core.support.LdapContextSource&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span></li><li>	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;property</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;url&quot;</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">&quot;...&quot;</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span></li><li>	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;property</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;base&quot;</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">&quot;dc=jayxu,dc=com&quot;</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span></li><li>	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;property</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;userDn&quot;</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">&quot;cn=admin,dc=jayxu,dc=com&quot;</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span></li><li>	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;property</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;password&quot;</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">&quot;...&quot;</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span></li><li><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/bean<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></li><li>&nbsp;</li><li><span style="color: #808080; font-style: italic;">&lt;!-- enable pooling --&gt;</span></li><li><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;bean</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;pooledContextSource&quot;</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;org.springframework.ldap.pool.factory.PoolingContextSource&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span></li><li>	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;property</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;contextSource&quot;</span> <span style="color: #000066;">ref</span>=<span style="color: #ff0000;">&quot;contextSourceTarget&quot;</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span></li><li>	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;property</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;testOnBorrow&quot;</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">&quot;true&quot;</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span></li><li>	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;property</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;dirContextValidator&quot;</span> <span style="color: #000066;">ref</span>=<span style="color: #ff0000;">&quot;dirContextValidator&quot;</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span></li><li><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/bean<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></li><li><span style="color: #808080; font-style: italic;">&lt;!-- for pooled connection validation --&gt;</span></li><li><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;bean</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;dirContextValidator&quot;</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;org.springframework.ldap.pool.validation.DefaultDirContextValidator&quot;</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span></li><li>&nbsp;</li><li><span style="color: #808080; font-style: italic;">&lt;!-- define LdapTemplate --&gt;</span></li><li><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;bean</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;org.springframework.ldap.core.LdapTemplate&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span></li><li>	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;property</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;contextSource&quot;</span> <span style="color: #000066;">ref</span>=<span style="color: #ff0000;">&quot;contextSource&quot;</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span></li><li><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/bean<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></li><li>&nbsp;</li><li><span style="color: #808080; font-style: italic;">&lt;!-- wrap underlying context source with TX aware proxy --&gt;</span>&nbsp;&nbsp;</li><li><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;bean</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;contextSource&quot;</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;org.springframework.ldap.transaction.compensating.manager.TransactionAwareContextSourceProxy&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span></li><li>	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;constructor-arg</span> <span style="color: #000066;">ref</span>=<span style="color: #ff0000;">&quot;pooledContextSource&quot;</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span></li><li><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/bean<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></li><li>&nbsp;</li><li><span style="color: #808080; font-style: italic;">&lt;!--</span></li><li><span style="color: #808080; font-style: italic;">define TX manager</span></li><li><span style="color: #808080; font-style: italic;">* if no JDBC resource is mixed in, choose org.springframework.ldap.transaction.compensating.manager.ContextSourceTransactionManager</span></li><li><span style="color: #808080; font-style: italic;">* if dataSource is mixed in, choose org.springframework.ldap.transaction.compensating.manager.ContextSourceAndDataSourceTransactionManager</span></li><li><span style="color: #808080; font-style: italic;">* if Hibernate 3 sessionFactory is mixed in, choose org.springframework.ldap.transaction.compensating.manager.ContextSourceAndHibernateTransactionManager</span></li><li><span style="color: #808080; font-style: italic;">* since Spring LDAP doesn't support Hibernate 4, you need to create your own class, extending org.springframework.orm.hibernate4.HibernateTransactionManager, then copy the rest code from org.springframework.ldap.transaction.compensating.manager.ContextSourceAndHibernateTransactionManager, just as I did</span></li><li>&nbsp;</li><li><span style="color: #808080; font-style: italic;">here you SHOULD make a trade-off: since so far there is no support for JTA, you can only mix LDAP tx with Hibernate tx manager</span></li><li><span style="color: #808080; font-style: italic;">I have raised two tickets to Spring LDAP:</span></li><li><span style="color: #808080; font-style: italic;">https://jira.springsource.org/browse/LDAP-242</span></li><li><span style="color: #808080; font-style: italic;">https://jira.springsource.org/browse/LDAP-243</span></li><li><span style="color: #808080; font-style: italic;">--&gt;</span></li><li><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;bean</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;ldapTransactionManager&quot;</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;com.jayxu.common.ldap.ContextSourceAndHibernate4TransactionManager&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span></li><li>	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;property</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;contextSource&quot;</span> <span style="color: #000066;">ref</span>=<span style="color: #ff0000;">&quot;contextSource&quot;</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span></li><li>	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;property</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;sessionFactory&quot;</span> <span style="color: #000066;">ref</span>=<span style="color: #ff0000;">&quot;sessionFactory&quot;</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span></li><li><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/bean<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></li><li>&nbsp;</li><li><span style="color: #808080; font-style: italic;">&lt;!-- define ODM --&gt;</span></li><li><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;bean</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;odmManager&quot;</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;org.springframework.ldap.odm.core.impl.OdmManagerImplFactoryBean&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span></li><li>	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;property</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;contextSource&quot;</span> <span style="color: #000066;">ref</span>=<span style="color: #ff0000;">&quot;contextSource&quot;</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span></li><li>	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;property</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;managedClasses&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span></li><li>		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;set<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></li><li>			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;value<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>...<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/value<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></li><li>		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/set<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></li><li>	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/property<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></li><li>	...</li><li><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/bean<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></li><li>&nbsp;</li><li><span style="color: #808080; font-style: italic;">&lt;!--</span></li><li><span style="color: #808080; font-style: italic;">This part is KEY, wrap your service object with TransactionProxyFactoryBean</span></li><li><span style="color: #808080; font-style: italic;">--&gt;</span></li><li><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;bean</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;org.springframework.transaction.interceptor.TransactionProxyFactoryBean&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span></li><li>	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;property</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;transactionManager&quot;</span> <span style="color: #000066;">ref</span>=<span style="color: #ff0000;">&quot;ldapTransactionManager&quot;</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span></li><li>	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;property</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;target&quot;</span> <span style="color: #000066;">ref</span>=<span style="color: #ff0000;">&quot;myService&quot;</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span></li><li>	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;property</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;transactionAttributes&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span></li><li>		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;props<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></li><li>			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;prop</span> <span style="color: #000066;">key</span>=<span style="color: #ff0000;">&quot;*&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>PROPAGATION_REQUIRES_NEW<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/prop<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></li><li>		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/props<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></li><li>	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/property<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></li><li><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/bean<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></li><li><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;bean</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;myService&quot;</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;com.jayxu.service.MyService&quot;</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span></li><li>&nbsp;</li><li><span style="color: #808080; font-style: italic;">&lt;!-- enable @Transactional support --&gt;</span></li><li><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;tx:annotation-driven</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span></li></ol></div></pre><!--END_DEVFMTCODE--></p>
<p>This diagram gives a overview of the beans&#8217; references<br />
<a href="http://www.jayxu.com/log/wp-content/uploads/2012/04/Resource-thread_common_src_main_resources_spring-ldap.xml-Eclipse-_Users_ijay_workspace.png"><img src="http://www.jayxu.com/log/wp-content/uploads/2012/04/Resource-thread_common_src_main_resources_spring-ldap.xml-Eclipse-_Users_ijay_workspace-400x281.png" alt="" title="Resource - thread_common_src_main_resources_spring-ldap.xml - Eclipse - _Users_ijay_workspace" width="400" height="281" class="alignnone size-medium wp-image-13468" /></a></p>
<p>In your service class, you should annotate your transactional methods or the whole class with<br />
<!--DEVFMTCODE--><pre class="devcodeblock" title="Java"><div class="devcodeoverflow"><ol><li>@Transactional<span style="color: #009900;">&#40;</span>value <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;ldapTransactionManager&quot;</span><span style="color: #009900;">&#41;</span></li></ol></div></pre><!--END_DEVFMTCODE--></p>
<p>here “value” refers to the tx manager name above. My test code looks like<br />
<!--DEVFMTCODE--><pre class="devcodeblock" title="Java"><div class="devcodeoverflow"><ol><li>@Transactional<span style="color: #009900;">&#40;</span>value <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;ldapTransactionManager&quot;</span><span style="color: #009900;">&#41;</span></li><li><span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000066; font-weight: bold;">void</span> ldapTx<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span></li><li>	odm.<span style="color: #006633;">create</span><span style="color: #009900;">&#40;</span>...<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></li><li>	sessionFactory.<span style="color: #006633;">getCurrentSession</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>.<span style="color: #006633;">persist</span><span style="color: #009900;">&#40;</span>...<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></li><li>&nbsp;</li><li>	<span style="color: #000000; font-weight: bold;">throw</span> <span style="color: #000000; font-weight: bold;">new</span> <a href="http://www.google.com/search?hl=en&amp;q=allinurl%3Aruntimeexception+java.sun.com&amp;btnI=I%27m%20Feeling%20Lucky"><span style="color: #003399;">RuntimeException</span></a><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></li><li><span style="color: #009900;">&#125;</span></li></ol></div></pre><!--END_DEVFMTCODE--></p>
<p>then config logger level of org.springframework.ldap and org.springframework.transaction to DEBUG, if everything works well, you can find something in the output like<br />
<!--DEVFMTCODE--><pre class="devcodeblock" title="Java"><div class="devcodeoverflow"><ol><li><span style="color: #009900;">&#91;</span>DEBUG<span style="color: #009900;">&#93;</span> org.<span style="color: #006633;">springframework</span>.<span style="color: #006633;">ldap</span>.<span style="color: #006633;">transaction</span>.<span style="color: #006633;">compensating</span>.<span style="color: #006633;">LdapCompensatingTransactionOperationFactory</span><span style="color: #339933;">:</span><span style="color: #cc66cc;">59</span> <span style="color: #339933;">-</span> Bind operation recorded</li><li><span style="color: #009900;">&#91;</span>DEBUG<span style="color: #009900;">&#93;</span> org.<span style="color: #006633;">springframework</span>.<span style="color: #006633;">ldap</span>.<span style="color: #006633;">transaction</span>.<span style="color: #006633;">compensating</span>.<span style="color: #006633;">BindOperationExecutor</span><span style="color: #339933;">:</span><span style="color: #cc66cc;">97</span> <span style="color: #339933;">-</span> Performing bind operation</li><li><span style="color: #009900;">&#91;</span>DEBUG<span style="color: #009900;">&#93;</span> org.<span style="color: #006633;">springframework</span>.<span style="color: #006633;">transaction</span>.<span style="color: #006633;">support</span>.<span style="color: #006633;">TransactionSynchronizationManager</span><span style="color: #339933;">:</span><span style="color: #cc66cc;">140</span> <span style="color: #339933;">-</span> Retrieved value <span style="color: #009900;">&#91;</span>org.<span style="color: #006633;">springframework</span>.<span style="color: #006633;">ldap</span>.<span style="color: #006633;">transaction</span>.<span style="color: #006633;">compensating</span>.<span style="color: #006633;">manager</span>.<span style="color: #006633;">DirContextHolder</span>@3ed024df<span style="color: #009900;">&#93;</span> <span style="color: #000000; font-weight: bold;">for</span> key <span style="color: #009900;">&#91;</span>org.<span style="color: #006633;">springframework</span>.<span style="color: #006633;">ldap</span>.<span style="color: #006633;">pool</span>.<span style="color: #006633;">factory</span>.<span style="color: #006633;">PoolingContextSource</span>@165b3858<span style="color: #009900;">&#93;</span> bound to thread <span style="color: #009900;">&#91;</span>main<span style="color: #009900;">&#93;</span></li><li><span style="color: #009900;">&#91;</span>DEBUG<span style="color: #009900;">&#93;</span> org.<span style="color: #006633;">springframework</span>.<span style="color: #006633;">ldap</span>.<span style="color: #006633;">transaction</span>.<span style="color: #006633;">compensating</span>.<span style="color: #006633;">manager</span>.<span style="color: #006633;">TransactionAwareDirContextInvocationHandler</span><span style="color: #339933;">:</span><span style="color: #cc66cc;">120</span> <span style="color: #339933;">-</span> Leaving transactional context open</li><li><span style="color: #009900;">&#91;</span>DEBUG<span style="color: #009900;">&#93;</span> org.<span style="color: #006633;">springframework</span>.<span style="color: #006633;">transaction</span>.<span style="color: #006633;">support</span>.<span style="color: #006633;">TransactionSynchronizationManager</span><span style="color: #339933;">:</span><span style="color: #cc66cc;">140</span> <span style="color: #339933;">-</span> Retrieved value <span style="color: #009900;">&#91;</span>org.<span style="color: #006633;">springframework</span>.<span style="color: #006633;">orm</span>.<span style="color: #006633;">hibernate4</span>.<span style="color: #006633;">SessionHolder</span>@55661f7b<span style="color: #009900;">&#93;</span> <span style="color: #000000; font-weight: bold;">for</span> key <span style="color: #009900;">&#91;</span>org.<span style="color: #006633;">hibernate</span>.<span style="color: #006633;">internal</span>.<span style="color: #006633;">SessionFactoryImpl</span>@7fb5438d<span style="color: #009900;">&#93;</span> bound to thread <span style="color: #009900;">&#91;</span>main<span style="color: #009900;">&#93;</span></li><li><span style="color: #009900;">&#91;</span>DEBUG<span style="color: #009900;">&#93;</span> org.<span style="color: #006633;">springframework</span>.<span style="color: #006633;">transaction</span>.<span style="color: #006633;">interceptor</span>.<span style="color: #006633;">TransactionInterceptor</span><span style="color: #339933;">:</span><span style="color: #cc66cc;">406</span> <span style="color: #339933;">-</span> Completing transaction <span style="color: #000000; font-weight: bold;">for</span> <span style="color: #009900;">&#91;</span>com.<span style="color: #006633;">jayxu</span>.<span style="color: #006633;">service</span>.<span style="color: #006633;">UserLdapService</span>.<span style="color: #006633;">addUserTx</span><span style="color: #009900;">&#93;</span> after exception<span style="color: #339933;">:</span> java.<span style="color: #006633;">lang</span>.<a href="http://www.google.com/search?hl=en&amp;q=allinurl%3Aruntimeexception+java.sun.com&amp;btnI=I%27m%20Feeling%20Lucky"><span style="color: #003399;">RuntimeException</span></a></li><li><span style="color: #009900;">&#91;</span>DEBUG<span style="color: #009900;">&#93;</span> org.<span style="color: #006633;">springframework</span>.<span style="color: #006633;">transaction</span>.<span style="color: #006633;">interceptor</span>.<span style="color: #006633;">RuleBasedTransactionAttribute</span><span style="color: #339933;">:</span><span style="color: #cc66cc;">130</span> <span style="color: #339933;">-</span> Applying rules to determine whether transaction should rollback on java.<span style="color: #006633;">lang</span>.<a href="http://www.google.com/search?hl=en&amp;q=allinurl%3Aruntimeexception+java.sun.com&amp;btnI=I%27m%20Feeling%20Lucky"><span style="color: #003399;">RuntimeException</span></a></li><li><span style="color: #009900;">&#91;</span>DEBUG<span style="color: #009900;">&#93;</span> org.<span style="color: #006633;">springframework</span>.<span style="color: #006633;">transaction</span>.<span style="color: #006633;">interceptor</span>.<span style="color: #006633;">RuleBasedTransactionAttribute</span><span style="color: #339933;">:</span><span style="color: #cc66cc;">147</span> <span style="color: #339933;">-</span> Winning rollback rule is<span style="color: #339933;">:</span> <span style="color: #000066; font-weight: bold;">null</span></li><li><span style="color: #009900;">&#91;</span>DEBUG<span style="color: #009900;">&#93;</span> org.<span style="color: #006633;">springframework</span>.<span style="color: #006633;">transaction</span>.<span style="color: #006633;">interceptor</span>.<span style="color: #006633;">RuleBasedTransactionAttribute</span><span style="color: #339933;">:</span><span style="color: #cc66cc;">152</span> <span style="color: #339933;">-</span> No relevant rollback rule found<span style="color: #339933;">:</span> applying <span style="color: #000000; font-weight: bold;">default</span> rules</li><li><span style="color: #009900;">&#91;</span>DEBUG<span style="color: #009900;">&#93;</span> org.<span style="color: #006633;">springframework</span>.<span style="color: #006633;">transaction</span>.<span style="color: #006633;">compensating</span>.<span style="color: #006633;">support</span>.<span style="color: #006633;">DefaultCompensatingTransactionOperationManager</span><span style="color: #339933;">:</span><span style="color: #cc66cc;">79</span> <span style="color: #339933;">-</span> Performing rollback</li><li><span style="color: #009900;">&#91;</span>DEBUG<span style="color: #009900;">&#93;</span> org.<span style="color: #006633;">springframework</span>.<span style="color: #006633;">transaction</span>.<span style="color: #006633;">support</span>.<span style="color: #006633;">TransactionSynchronizationManager</span><span style="color: #339933;">:</span><span style="color: #cc66cc;">331</span> <span style="color: #339933;">-</span> Clearing transaction synchronization</li><li><span style="color: #009900;">&#91;</span>DEBUG<span style="color: #009900;">&#93;</span> org.<span style="color: #006633;">springframework</span>.<span style="color: #006633;">transaction</span>.<span style="color: #006633;">support</span>.<span style="color: #006633;">TransactionSynchronizationManager</span><span style="color: #339933;">:</span><span style="color: #cc66cc;">243</span> <span style="color: #339933;">-</span> Removed value <span style="color: #009900;">&#91;</span>org.<span style="color: #006633;">springframework</span>.<span style="color: #006633;">orm</span>.<span style="color: #006633;">hibernate4</span>.<span style="color: #006633;">SessionHolder</span>@55661f7b<span style="color: #009900;">&#93;</span> <span style="color: #000000; font-weight: bold;">for</span> key <span style="color: #009900;">&#91;</span>org.<span style="color: #006633;">hibernate</span>.<span style="color: #006633;">internal</span>.<span style="color: #006633;">SessionFactoryImpl</span>@7fb5438d<span style="color: #009900;">&#93;</span> from thread <span style="color: #009900;">&#91;</span>main<span style="color: #009900;">&#93;</span></li><li><span style="color: #009900;">&#91;</span>DEBUG<span style="color: #009900;">&#93;</span> org.<span style="color: #006633;">springframework</span>.<span style="color: #006633;">transaction</span>.<span style="color: #006633;">support</span>.<span style="color: #006633;">TransactionSynchronizationManager</span><span style="color: #339933;">:</span><span style="color: #cc66cc;">243</span> <span style="color: #339933;">-</span> Removed value <span style="color: #009900;">&#91;</span>org.<span style="color: #006633;">springframework</span>.<span style="color: #006633;">jdbc</span>.<span style="color: #006633;">datasource</span>.<span style="color: #006633;">ConnectionHolder</span>@22013e9b<span style="color: #009900;">&#93;</span> <span style="color: #000000; font-weight: bold;">for</span> key <span style="color: #009900;">&#91;</span>org.<span style="color: #006633;">springframework</span>.<span style="color: #006633;">jdbc</span>.<span style="color: #006633;">datasource</span>.<span style="color: #006633;">DriverManagerDataSource</span>@c20e54a<span style="color: #009900;">&#93;</span> from thread <span style="color: #009900;">&#91;</span>main<span style="color: #009900;">&#93;</span></li><li><span style="color: #009900;">&#91;</span>DEBUG<span style="color: #009900;">&#93;</span> org.<span style="color: #006633;">springframework</span>.<span style="color: #006633;">transaction</span>.<span style="color: #006633;">compensating</span>.<span style="color: #006633;">support</span>.<span style="color: #006633;">AbstractCompensatingTransactionManagerDelegate</span><span style="color: #339933;">:</span><span style="color: #cc66cc;">121</span> <span style="color: #339933;">-</span> Cleaning stored transaction synchronization</li><li><span style="color: #009900;">&#91;</span>DEBUG<span style="color: #009900;">&#93;</span> org.<span style="color: #006633;">springframework</span>.<span style="color: #006633;">transaction</span>.<span style="color: #006633;">support</span>.<span style="color: #006633;">TransactionSynchronizationManager</span><span style="color: #339933;">:</span><span style="color: #cc66cc;">243</span> <span style="color: #339933;">-</span> Removed value <span style="color: #009900;">&#91;</span>org.<span style="color: #006633;">springframework</span>.<span style="color: #006633;">ldap</span>.<span style="color: #006633;">transaction</span>.<span style="color: #006633;">compensating</span>.<span style="color: #006633;">manager</span>.<span style="color: #006633;">DirContextHolder</span>@3ed024df<span style="color: #009900;">&#93;</span> <span style="color: #000000; font-weight: bold;">for</span> key <span style="color: #009900;">&#91;</span>org.<span style="color: #006633;">springframework</span>.<span style="color: #006633;">ldap</span>.<span style="color: #006633;">pool</span>.<span style="color: #006633;">factory</span>.<span style="color: #006633;">PoolingContextSource</span>@165b3858<span style="color: #009900;">&#93;</span> from thread <span style="color: #009900;">&#91;</span>main<span style="color: #009900;">&#93;</span></li><li><span style="color: #009900;">&#91;</span>DEBUG<span style="color: #009900;">&#93;</span> org.<span style="color: #006633;">springframework</span>.<span style="color: #006633;">ldap</span>.<span style="color: #006633;">transaction</span>.<span style="color: #006633;">compensating</span>.<span style="color: #006633;">manager</span>.<span style="color: #006633;">ContextSourceTransactionManagerDelegate</span><span style="color: #339933;">:</span><span style="color: #cc66cc;">103</span> <span style="color: #339933;">-</span> Closing target context</li></ol></div></pre><!--END_DEVFMTCODE--></p>
<p>Line 1 indicates save point being created while line 10 indicates the rollback
<p>&#8211; EOF &#8211;</p>
<div style="margin-top: 15px; font-style: italic">
<p><strong>原创内容，转载请注明：</strong> 转载自<a href="http://www.jayxu.com/">拈花微笑</a></p>
<p><strong>本文链接地址:</strong> <a href="http://www.jayxu.com/2012/04/17/13449/">Spring LDAP Transaction &#8211; Unofficial yet Working Config Manual</a></p>
</div>
<p><a href="http://www.bshare.cn/share?url=http%3A%2F%2Fwww.jayxu.com%2F2012%2F04%2F17%2F13449%2F&title=Spring+LDAP+Transaction+-+Unofficial+yet+Working+Config+Manual" title="用bShare分享或收藏本文"><img src="http://static.bshare.cn/frame/images/button_custom1-zh.gif" alt="用bShare分享或收藏本文" /></a></p><table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.jayxu.com%2F2012%2F04%2F15%2F13435%2F&from=http%3A%2F%2Fwww.jayxu.com%2F2012%2F04%2F17%2F13449%2F">
                        <font size="-1"  style="line-height: 1.65em; font-size: 12px !important;">Spring+Hibernate 4+Glassfish之使用JTA Transaction</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.jayxu.com%2F2011%2F12%2F14%2F13131%2F&from=http%3A%2F%2Fwww.jayxu.com%2F2012%2F04%2F17%2F13449%2F">
                        <font size="-1"  style="line-height: 1.65em; font-size: 12px !important;">使用Spring LDAP ODM操作LDAP</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.jayxu.com%2F2010%2F07%2F18%2F2373%2F&from=http%3A%2F%2Fwww.jayxu.com%2F2012%2F04%2F17%2F13449%2F">
                        <font size="-1"  style="line-height: 1.65em; font-size: 12px !important;">Spring之经验教训（一）</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.jayxu.com%2F2010%2F06%2F09%2F2342%2F&from=http%3A%2F%2Fwww.jayxu.com%2F2012%2F04%2F17%2F13449%2F">
                        <font size="-1"  style="line-height: 1.65em; font-size: 12px !important;">Spring之Hibernate+JBoss Treecache实现Hibernate集群</font>
                    </a>
                </td>
            </tr>
        <br/>
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">来自无觅网络的相关文章：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.jandou.com%2Ftamaswells-spring-mingyaofeng.html&from=http%3A%2F%2Fwww.jayxu.com%2F2012%2F04%2F17%2F13449%2F">
                        <font size="-1"  style="line-height: 1.65em; font-size: 12px !important;">音乐生活&gt;&gt;Tamas Wells | 充满春天气息的民谣风 (@jandou)</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.jandou.com%2Fspring-flowers-message-block-information.html&from=http%3A%2F%2Fwww.jayxu.com%2F2012%2F04%2F17%2F13449%2F">
                        <font size="-1"  style="line-height: 1.65em; font-size: 12px !important;">春之信息花器留言座 [意外中秋礼物] (@jandou)</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.ycy8.net%2F2011_11804.html&from=http%3A%2F%2Fwww.jayxu.com%2F2012%2F04%2F17%2F13449%2F">
                        <font size="-1"  style="line-height: 1.65em; font-size: 12px !important;">Ryan Rachmanto的精彩作品 (@ycy8)</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.yxlgh.com%2Fpost-26.html&from=http%3A%2F%2Fwww.jayxu.com%2F2012%2F04%2F17%2F13449%2F">
                        <font size="-1"  style="line-height: 1.65em; font-size: 12px !important;">如何选择虚拟主机 (@yxlgh)</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table><i>历史上的今天</i><ol><li>2006:&nbsp;&nbsp;<a href='http://www.jayxu.com/2006/04/17/142/' title='Permanent Link to 又见好车'>又见好车(2)</a></li><li>2011:&nbsp;&nbsp;<a href='http://www.jayxu.com/2011/04/18/10567/' title='Permanent Link to 798'>798(0)</a></li></ol>]]></content:encoded>
			<wfw:commentRss>http://www.jayxu.com/2012/04/17/13449/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>走自己的路，让别人写博客去吧</title>
		<link>http://www.jayxu.com/2012/04/16/13444/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=%25e8%25b5%25b0%25e8%2587%25aa%25e5%25b7%25b1%25e7%259a%2584%25e8%25b7%25af%25ef%25bc%258c%25e8%25ae%25a9%25e5%2588%25ab%25e4%25ba%25ba%25e5%2586%2599%25e5%258d%259a%25e5%25ae%25a2%25e5%258e%25bb%25e5%2590%25a7</link>
		<comments>http://www.jayxu.com/2012/04/16/13444/#comments</comments>
		<pubDate>Sun, 15 Apr 2012 17:01:06 +0000</pubDate>
		<dc:creator>Jay</dc:creator>
				<category><![CDATA[生活]]></category>
		<category><![CDATA[大学]]></category>
		<category><![CDATA[朋友]]></category>
		<category><![CDATA[牢骚]]></category>

		<guid isPermaLink="false">http://www.jayxu.com/?p=13444</guid>
		<description><![CDATA[06年大学毕业之前，数不清的散伙饭、叙旧酒，每天只有下午醒来时是清醒的。记得有一次饭局上老七、老八、小强和我总结了一下，我们四个基本占全了当年大学毕业生的四条出路：自己考上研的——老八，保研的——老七，没考上研找工作的——小强，不考研直接找工作的——我（当时还差出国一条路，而如果要在当下，出路应该还有一条不怕死出去创业的） 6年后，我们四个的情况是：结了婚的——老八，誓与单身携手向前的——老七，感情稳定但是老被别人问起何时结婚的——我，去另一个世界把妹泡妞的——小强。如果要枚举大学这一帮货们的其它情况的，结了的——不少了，有了娃的——大波，准备要娃的——老五，准备结了的——吉吉，可能准备结了的——韬子，准妈妈——刘姐姐，依然跟学位死磕的——老四。看样子就差离了的，谁来点卯？ 反观上海那帮货们，基本都老婆孩子热炕头了，单着的、没结的一只手就能数过来了，这直接导致了将来我很会为伴郎的问题苦恼一把。到底是从北京空降一个过去，还是抓一个壮丁当着心知肚明的大伙的面儿冒充未婚处男，还把自己儿子或女儿一块儿买一赠一陪嫁做花童？ 见天还有当年的各样金童玉女在开心、微博上晒着自己当爹做妈的幸福照片。岁月啊，果然是把杀猪刀，当年这群意气风发的小屁孩儿们就这么带着自己的孩子们集体奔三了。看着这些SNS上交织着的幸福的消息和瞬间，真心为大家感到欣慰。不是我们不想回去，而是，为了我们将来的家，我们想用现在的努力去建造一个更坚实稳固的基础和港湾。而且，争强好胜追逐梦想的野心还未在我心中熄灭，反而越烧越旺 于是大家，幸福地去走自己的路吧，且让我借博客羡慕嫉妒恨 &#8211; EOF &#8211; 原创内容，转载请注明： 转载自拈花微笑 本文链接地址: 走自己的路，让别人写博客去吧 历史上的今天2007:&#160;&#160;美国杂笔（二）(2)2007:&#160;&#160;Crazy World, Let’s Pray(1)<table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.jayxu.com%2F2009%2F10%2F14%2F1765%2F&from=http%3A%2F%2Fwww.jayxu.com%2F2012%2F04%2F16%2F13444%2F">
                        <font size="-1"  style="line-height: 1.65em; font-size: 12px !important;">博客搬家</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.jayxu.com%2F2008%2F11%2F13%2F834%2F&from=http%3A%2F%2Fwww.jayxu.com%2F2012%2F04%2F16%2F13444%2F">
                        <font size="-1"  style="line-height: 1.65em; font-size: 12px !important;">帮朋友打广告一则</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.jayxu.com%2F2005%2F03%2F12%2F233%2F&from=http%3A%2F%2Fwww.jayxu.com%2F2012%2F04%2F16%2F13444%2F">
                        <font size="-1"  style="line-height: 1.65em; font-size: 12px !important;">CSDN的blog好烂啊</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.jayxu.com%2F2007%2F08%2F14%2F49%2F&from=http%3A%2F%2Fwww.jayxu.com%2F2012%2F04%2F16%2F13444%2F">
                        <font size="-1"  style="line-height: 1.65em; font-size: 12px !important;">博客这玩意儿，要不就不写，要不就一晚上写5篇</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
			<content:encoded><![CDATA[<p>06年大学毕业之前，数不清的散伙饭、叙旧酒，每天只有下午醒来时是清醒的。记得有一次饭局上老七、老八、小强和我总结了一下，我们四个基本占全了当年大学毕业生的四条出路：自己考上研的——老八，保研的——老七，没考上研找工作的——小强，不考研直接找工作的——我（当时还差出国一条路，而如果要在当下，出路应该还有一条不怕死出去创业的）</p>
<p>6年后，我们四个的情况是：结了婚的——老八，誓与单身携手向前的——老七，感情稳定但是老被别人问起何时结婚的——我，去另一个世界把妹泡妞的——小强。如果要枚举大学这一帮货们的其它情况的，结了的——不少了，有了娃的——大波，准备要娃的——老五，准备结了的——吉吉，可能准备结了的——韬子，准妈妈——刘姐姐，依然跟学位死磕的——老四。看样子就差离了的，谁来点卯？</p>
<p>反观上海那帮货们，基本都老婆孩子热炕头了，单着的、没结的一只手就能数过来了，这直接导致了将来我很会为伴郎的问题苦恼一把。到底是从北京空降一个过去，还是抓一个壮丁当着心知肚明的大伙的面儿冒充未婚处男，还把自己儿子或女儿一块儿买一赠一陪嫁做花童？</p>
<p>见天还有当年的各样金童玉女在开心、微博上晒着自己当爹做妈的幸福照片。岁月啊，果然是把杀猪刀，当年这群意气风发的小屁孩儿们就这么带着自己的孩子们集体奔三了。看着这些SNS上交织着的幸福的消息和瞬间，真心为大家感到欣慰。不是我们不想回去，而是，为了我们将来的家，我们想用现在的努力去建造一个更坚实稳固的基础和港湾。而且，争强好胜追逐梦想的野心还未在我心中熄灭，反而越烧越旺</p>
<p>于是大家，幸福地去走自己的路吧，且让我借博客羡慕嫉妒恨
<p>&#8211; EOF &#8211;</p>
<div style="margin-top: 15px; font-style: italic">
<p><strong>原创内容，转载请注明：</strong> 转载自<a href="http://www.jayxu.com/">拈花微笑</a></p>
<p><strong>本文链接地址:</strong> <a href="http://www.jayxu.com/2012/04/16/13444/">走自己的路，让别人写博客去吧</a></p>
</div>
<p><a href="http://www.bshare.cn/share?url=http%3A%2F%2Fwww.jayxu.com%2F2012%2F04%2F16%2F13444%2F&title=%E8%B5%B0%E8%87%AA%E5%B7%B1%E7%9A%84%E8%B7%AF%EF%BC%8C%E8%AE%A9%E5%88%AB%E4%BA%BA%E5%86%99%E5%8D%9A%E5%AE%A2%E5%8E%BB%E5%90%A7" title="用bShare分享或收藏本文"><img src="http://static.bshare.cn/frame/images/button_custom1-zh.gif" alt="用bShare分享或收藏本文" /></a></p><table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.jayxu.com%2F2009%2F10%2F14%2F1765%2F&from=http%3A%2F%2Fwww.jayxu.com%2F2012%2F04%2F16%2F13444%2F">
                        <font size="-1"  style="line-height: 1.65em; font-size: 12px !important;">博客搬家</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.jayxu.com%2F2008%2F11%2F13%2F834%2F&from=http%3A%2F%2Fwww.jayxu.com%2F2012%2F04%2F16%2F13444%2F">
                        <font size="-1"  style="line-height: 1.65em; font-size: 12px !important;">帮朋友打广告一则</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.jayxu.com%2F2005%2F03%2F12%2F233%2F&from=http%3A%2F%2Fwww.jayxu.com%2F2012%2F04%2F16%2F13444%2F">
                        <font size="-1"  style="line-height: 1.65em; font-size: 12px !important;">CSDN的blog好烂啊</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.jayxu.com%2F2007%2F08%2F14%2F49%2F&from=http%3A%2F%2Fwww.jayxu.com%2F2012%2F04%2F16%2F13444%2F">
                        <font size="-1"  style="line-height: 1.65em; font-size: 12px !important;">博客这玩意儿，要不就不写，要不就一晚上写5篇</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table><i>历史上的今天</i><ol><li>2007:&nbsp;&nbsp;<a href='http://www.jayxu.com/2007/04/16/72/' title='Permanent Link to 美国杂笔（二）'>美国杂笔（二）(2)</a></li><li>2007:&nbsp;&nbsp;<a href='http://www.jayxu.com/2007/04/17/71/' title='Permanent Link to Crazy World, Let’s Pray'>Crazy World, Let’s Pray(1)</a></li></ol>]]></content:encoded>
			<wfw:commentRss>http://www.jayxu.com/2012/04/16/13444/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Spring+Hibernate 4+Glassfish之使用JTA Transaction</title>
		<link>http://www.jayxu.com/2012/04/15/13435/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=springhibernate-4glassfish%25e4%25b9%258b%25e4%25bd%25bf%25e7%2594%25a8jta-transaction</link>
		<comments>http://www.jayxu.com/2012/04/15/13435/#comments</comments>
		<pubDate>Sun, 15 Apr 2012 15:43:58 +0000</pubDate>
		<dc:creator>Jay</dc:creator>
				<category><![CDATA[技术生活]]></category>
		<category><![CDATA[glassfish]]></category>
		<category><![CDATA[hibernate]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[jta]]></category>
		<category><![CDATA[spring]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://www.jayxu.com/?p=13435</guid>
		<description><![CDATA[今天下午开始尝试将项目的transaction交给Glassfish的JTA管理，因为之后会使用到JMS，需要与JDBC组成跨data source的事务。但是不知道是没人这么干过还是大家不屑于将完整的配置过程就下来，JBoss的官方文档、Spring的官方文档、SOF都没有可用的配置建议。经过差不多半天时间的Google和尝试，终于配置成功，在此分享 环境： Spring 3.1.1 Hibernate 4.1.1 Glassfish 3.1.2 应该都是最新的版本，Spring配置文件如下： ...&#60;tx:annotation-driven /&#62;&#60;!-- 打开Spring的@Transaction声明式事务支持 --&#62;&#60;tx:jta-transaction-manager /&#62;&#60;!-- 配置Spring使用JTA事务 --&#62;&#160;&#60;bean id=&#34;sessionFactory&#34; class=&#34;org.springframework.orm.hibernate4.LocalSessionFactoryBean&#34;&#62; ... &#60;property name=&#34;hibernateProperties&#34;&#62; &#60;value&#62; ... hibernate.current_session_context_class=jta&#60;!-- 1 --&#62; hibernate.transaction.manager_lookup_class=org.hibernate.transaction.SunONETransactionManagerLookup&#60;!-- 2 --&#62; &#60;/value&#62; &#60;/property&#62;&#60;/bean&#62;... 关键配置在1和2处： 根据Hibernate官方文档此处和此处的描述： When configuring Hibernate&#8217;s transaction factory, chooseorg.hibernate.transaction.JTATransactionFactory&#160;if you use JTA directly (BMT), and&#160;org.hibernate.transaction.CMTTransactionFactory&#160;in a CMT session bean. Remember to also set&#160;hibernate.transaction.manager_lookup_class. Ensure <a href="http://www.jayxu.com/2012/04/15/13435/"> read more <span class="meta-nav">&#187;</span></a><table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.jayxu.com%2F2012%2F04%2F17%2F13449%2F&from=http%3A%2F%2Fwww.jayxu.com%2F2012%2F04%2F15%2F13435%2F">
                        <font size="-1"  style="line-height: 1.65em; font-size: 12px !important;">Spring LDAP Transaction – Unofficial yet Working Config Manual</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.jayxu.com%2F2010%2F06%2F09%2F2342%2F&from=http%3A%2F%2Fwww.jayxu.com%2F2012%2F04%2F15%2F13435%2F">
                        <font size="-1"  style="line-height: 1.65em; font-size: 12px !important;">Spring之Hibernate+JBoss Treecache实现Hibernate集群</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.jayxu.com%2F2010%2F07%2F18%2F2373%2F&from=http%3A%2F%2Fwww.jayxu.com%2F2012%2F04%2F15%2F13435%2F">
                        <font size="-1"  style="line-height: 1.65em; font-size: 12px !important;">Spring之经验教训（一）</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.jayxu.com%2F2010%2F11%2F23%2F10275%2F&from=http%3A%2F%2Fwww.jayxu.com%2F2012%2F04%2F15%2F13435%2F">
                        <font size="-1"  style="line-height: 1.65em; font-size: 12px !important;">如何在Hibernate中让SQLServer使用nvarchar代替varchar</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
			<content:encoded><![CDATA[<p>今天下午开始尝试将项目的transaction交给Glassfish的JTA管理，因为之后会使用到JMS，需要与JDBC组成跨data source的事务。但是不知道是没人这么干过还是大家不屑于将完整的配置过程就下来，JBoss的官方文档、Spring的官方文档、SOF都没有可用的配置建议。经过差不多半天时间的Google和尝试，终于配置成功，在此分享</p>
<p>环境：</p>
<ul>
<li>Spring 3.1.1</li>
<li>Hibernate 4.1.1</li>
<li>Glassfish 3.1.2</li>
</ul>
<p>应该都是最新的版本，Spring配置文件如下：<br />
<!--DEVFMTCODE--><pre class="devcodeblock" title="XML"><div class="devcodeoverflow"><ol><li>...</li><li><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;tx:annotation-driven</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span><span style="color: #808080; font-style: italic;">&lt;!-- 打开Spring的@Transaction声明式事务支持 --&gt;</span></li><li><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;tx:jta-transaction-manager</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span><span style="color: #808080; font-style: italic;">&lt;!-- 配置Spring使用JTA事务 --&gt;</span></li><li>&nbsp;</li><li><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;bean</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;sessionFactory&quot;</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;org.springframework.orm.hibernate4.LocalSessionFactoryBean&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span></li><li>	...</li><li>	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;property</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;hibernateProperties&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span></li><li>		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;value<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></li><li>			...</li><li>			hibernate.current_session_context_class=jta<span style="color: #808080; font-style: italic;">&lt;!-- 1 --&gt;</span></li><li>			hibernate.transaction.manager_lookup_class=org.hibernate.transaction.SunONETransactionManagerLookup<span style="color: #808080; font-style: italic;">&lt;!-- 2 --&gt;</span></li><li>		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/value<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></li><li>	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/property<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></li><li><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/bean<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></li><li>...</li></ol></div></pre><!--END_DEVFMTCODE--><br />
关键配置在1和2处：</p>
<p>根据Hibernate官方文档<a href="http://docs.jboss.org/hibernate/orm/4.1/manual/en-US/html_single/#transactions-demarcation-jta" target="_blank">此处</a>和<a href="http://docs.jboss.org/hibernate/orm/4.1/manual/en-US/html_single/#architecture-current-session" target="_blank">此处</a>的描述：</p>
<blockquote><p>When configuring Hibernate&#8217;s transaction factory, choose<code>org.hibernate.transaction.JTATransactionFactory</code>&nbsp;if you use JTA directly (BMT), and&nbsp;<code>org.hibernate.transaction.CMTTransactionFactory</code>&nbsp;in a CMT session bean. Remember to also set&nbsp;<code>hibernate.transaction.manager_lookup_class</code>. Ensure that your&nbsp;<code>hibernate.current_session_context_class</code>&nbsp;is either unset (backwards compatibility), or is set to&nbsp;<code>"jta"</code>.</p>
<p>⋯⋯</p>
<p>See the Javadocs for the&nbsp;<code>org.hibernate.context.spi.CurrentSessionContext</code>&nbsp;interface for a detailed discussion of its contract. It defines a single method,&nbsp;<code>currentSession()</code>, by which the implementation is responsible for tracking the current contextual session. Out-of-the-box, Hibernate comes with three implementations of this interface:</p>
<ul>
<li><code>org.hibernate.context.internal.JTASessionContext</code>: current sessions are tracked and scoped by a&nbsp;<code>JTA</code>transaction. The processing here is exactly the same as in the older JTA-only approach. See the Javadocs for details.</li>
<li><code>org.hibernate.context.internal.ThreadLocalSessionContext</code>:current sessions are tracked by thread of execution. See the Javadocs for details.</li>
<li><code>org.hibernate.context.internal.ManagedSessionContext</code>: current sessions are tracked by thread of execution. However, you are responsible to bind and unbind a&nbsp;<code>Session</code>&nbsp;instance with static methods on this class: it does not open, flush, or close a&nbsp;<code>Session</code>.</li>
</ul>
</blockquote>
<p>即需要设置<code>hibernate.current_session_context_class</code>为jta，同时设置<code>hibernate.transaction.manager_lookup_class。</code>但是这里耽误了我半天的就是<code>hibernate.transaction.manager_lookup_class</code>的设置，这里只说“需要设置”，但是没有给出具体的值，虽然<a href="http://docs.jboss.org/hibernate/orm/4.1/manual/en-US/html_single/#configuration-optional-transactionstrategy" target="_blank">文档</a>中给出了一个<code>TransactionManagerLookup</code>接口的实现类列表，但是其中没有Glassfish⋯⋯</p>
<p>又经过了N久的Google，在<a href="http://www.ibm.com/developerworks/forums/thread.jspa?messageID=14024638" target="_blank">这里</a>和<a href="http://forum.springsource.org/showthread.php?100914-Glassfish-v3-0-1-JTA-(JPA2-Hibernate3-5)-Spring-3-exception-mapping" target="_blank">这里</a>找到了一个神奇的实现类：<code>org.hibernate.transaction.SunONETransactionManagerLookup</code>。根据<a href="http://docs.jboss.org/hibernate/orm/3.6/javadocs/org/hibernate/transaction/SunONETransactionManagerLookup.html" target="_blank">Javadoc</a>，此类实现了“for Sun ONE Application Server 7 and above”的查找策略，想想GF的前身即是Sun AS，应该可以使用。试了一下，终于work~</p>
<p>这里遗留的一个问题是，我并没有在Hibernate 4.1.1的源代码里找到org.hibernate.transaction.SunONETransactionManagerLookup（上面的Javadoc也是3.6的Javadoc），甚至整个org.hibernate.transaction包下面只有TransactionManagerLookup接口的定义。因此究竟是怎么work的我没有找到最终答案，如果有人知道，希望可以在这里留下答案</p>
<p>2012-4-16补：今天启动服务器时偶然间发现抛出个warning，<code>hibernate.transaction.manager_lookup_class</code>在Hibernate 4中已被deprecated掉，需要使用<br />
<!--DEVFMTCODE--><pre class="devcodeblock" title="Java"><div class="devcodeoverflow"><ol><li>hibernate.<span style="color: #006633;">transaction</span>.<span style="color: #006633;">jta</span>.<span style="color: #006633;">platform</span><span style="color: #339933;">=</span>org.<span style="color: #006633;">hibernate</span>.<span style="color: #006633;">service</span>.<span style="color: #006633;">jta</span>.<span style="color: #006633;">platform</span>.<span style="color: #006633;">internal</span>.<span style="color: #006633;">SunOneJtaPlatform</span></li></ol></div></pre><!--END_DEVFMTCODE--><br />
替换</p>
<p>2012-4-17补：今天发现Hibernate的自动flush失效，查看GF启动日志后发现一个新的warning：</p>
<blockquote><p>JTASessionContext being used with JDBCTransactionFactory; auto-flush will not operate correctly with getCurrentSession()</p></blockquote>
<p>查文档后发现上面的1、2处需要指定TransactionFactory，否则Hibernate将默认使用JDBCTransactionFactory：<br />
<!--DEVFMTCODE--><pre class="devcodeblock" title="Java"><div class="devcodeoverflow"><ol><li>hibernate.<span style="color: #006633;">transaction</span>.<span style="color: #006633;">factory_class</span><span style="color: #339933;">=</span>org.<span style="color: #006633;">hibernate</span>.<span style="color: #006633;">transaction</span>.<span style="color: #006633;">JTATransactionFactory</span></li></ol></div></pre><!--END_DEVFMTCODE--></p>
<p>问题解决。这次的经验同样是，虽然app server启动时一般会输出大量log，但是要让自己养成从中发现warning级别及以上信息的洞察力，这样解决问题将事半功倍</p>
<p>2012-4-22补：今天又遇到了问题，在使用Query.iterate()方法时，Hibernate抛出异常：</p>
<blockquote><p>org.hibernate.HibernateException: proxy handle is no longer valid</p></blockquote>
<p>根据<a href="https://forum.hibernate.org/viewtopic.php?p=2453582" target="_blank">这里</a>的讨论，把<code>JTATransactionFactory</code>换成了<code>CMTTransactionFactory</code>，问题解决：</p>
<p><!--DEVFMTCODE--><pre class="devcodeblock" title="Java"><div class="devcodeoverflow"><ol><li>hibernate.<span style="color: #006633;">transaction</span>.<span style="color: #006633;">factory_class</span><span style="color: #339933;">=</span>org.<span style="color: #006633;">hibernate</span>.<span style="color: #006633;">transaction</span>.<span style="color: #006633;">CMTTransactionFactory</span></li></ol></div></pre><!--END_DEVFMTCODE-->
<p>&#8211; EOF &#8211;</p>
<div style="margin-top: 15px; font-style: italic">
<p><strong>原创内容，转载请注明：</strong> 转载自<a href="http://www.jayxu.com/">拈花微笑</a></p>
<p><strong>本文链接地址:</strong> <a href="http://www.jayxu.com/2012/04/15/13435/">Spring+Hibernate 4+Glassfish之使用JTA Transaction</a></p>
</div>
<p><a href="http://www.bshare.cn/share?url=http%3A%2F%2Fwww.jayxu.com%2F2012%2F04%2F15%2F13435%2F&title=Spring%2BHibernate+4%2BGlassfish%E4%B9%8B%E4%BD%BF%E7%94%A8JTA+Transaction" title="用bShare分享或收藏本文"><img src="http://static.bshare.cn/frame/images/button_custom1-zh.gif" alt="用bShare分享或收藏本文" /></a></p><table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.jayxu.com%2F2012%2F04%2F17%2F13449%2F&from=http%3A%2F%2Fwww.jayxu.com%2F2012%2F04%2F15%2F13435%2F">
                        <font size="-1"  style="line-height: 1.65em; font-size: 12px !important;">Spring LDAP Transaction – Unofficial yet Working Config Manual</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.jayxu.com%2F2010%2F06%2F09%2F2342%2F&from=http%3A%2F%2Fwww.jayxu.com%2F2012%2F04%2F15%2F13435%2F">
                        <font size="-1"  style="line-height: 1.65em; font-size: 12px !important;">Spring之Hibernate+JBoss Treecache实现Hibernate集群</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.jayxu.com%2F2010%2F07%2F18%2F2373%2F&from=http%3A%2F%2Fwww.jayxu.com%2F2012%2F04%2F15%2F13435%2F">
                        <font size="-1"  style="line-height: 1.65em; font-size: 12px !important;">Spring之经验教训（一）</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.jayxu.com%2F2010%2F11%2F23%2F10275%2F&from=http%3A%2F%2Fwww.jayxu.com%2F2012%2F04%2F15%2F13435%2F">
                        <font size="-1"  style="line-height: 1.65em; font-size: 12px !important;">如何在Hibernate中让SQLServer使用nvarchar代替varchar</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table><i>历史上的今天</i><ol><li>2006:&nbsp;&nbsp;<a href='http://www.jayxu.com/2006/04/15/143/' title='Permanent Link to 享受编程'>享受编程(5)</a></li><li>2007:&nbsp;&nbsp;<a href='http://www.jayxu.com/2007/04/16/73/' title='Permanent Link to 北京土著[歌词]'>北京土著[歌词](2)</a></li><li>2011:&nbsp;&nbsp;<a href='http://www.jayxu.com/2011/04/15/10565/' title='Permanent Link to 随记：我们需要怎样的数学教育？ [zz]'>随记：我们需要怎样的数学教育？ [zz](0)</a></li></ol>]]></content:encoded>
			<wfw:commentRss>http://www.jayxu.com/2012/04/15/13435/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>分别真假大地</title>
		<link>http://www.jayxu.com/2012/04/15/13424/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=%25e5%2588%2586%25e5%2588%25ab%25e7%259c%259f%25e5%2581%2587%25e5%25a4%25a7%25e5%259c%25b0</link>
		<comments>http://www.jayxu.com/2012/04/15/13424/#comments</comments>
		<pubDate>Sun, 15 Apr 2012 07:35:47 +0000</pubDate>
		<dc:creator>Jay</dc:creator>
				<category><![CDATA[生活]]></category>
		<category><![CDATA[hermes]]></category>
		<category><![CDATA[大地]]></category>
		<category><![CDATA[淘宝]]></category>

		<guid isPermaLink="false">http://www.jayxu.com/?p=13424</guid>
		<description><![CDATA[今年情人节老婆从淘宝买了Hermes的大地给我做礼物，但是用了几次之后觉得有问题，前调倒是很像，但是很不持久，上午喷了到中午基本就没味了，更别说中调和尾调了。清明节老婆去巴厘岛，回来在樟宜机场转机的时候在免税店又带了一瓶回来，终于找回了熟悉的味道。以下是真假大地的包装对比，帮助大家识别。左边为正品，右边为假冒。另外，以后香水这种东西还是别在淘宝上买了 包装盒正面： 包装盒背面： 包装盒底部： 包装盒顶部： 瓶身正面，注意颜色正品略浅，肩部的银色装饰片也略薄： 瓶身顶部： 瓶身底部： &#8211; EOF &#8211; 原创内容，转载请注明： 转载自拈花微笑 本文链接地址: 分别真假大地 历史上的今天2006:&#160;&#160;享受编程(5)2007:&#160;&#160;北京土著[歌词](2)2011:&#160;&#160;随记：我们需要怎样的数学教育？ [zz](0)<table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.jayxu.com%2F2011%2F07%2F13%2F11328%2F&from=http%3A%2F%2Fwww.jayxu.com%2F2012%2F04%2F15%2F13424%2F">
                        <font size="-1"  style="line-height: 1.65em; font-size: 12px !important;">致网易《魔兽世界-大地的裂变》联合抗议书 [zz]</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.jayxu.com%2F2008%2F06%2F24%2F407%2F&from=http%3A%2F%2Fwww.jayxu.com%2F2012%2F04%2F15%2F13424%2F">
                        <font size="-1"  style="line-height: 1.65em; font-size: 12px !important;">我的双重性格</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.jayxu.com%2F2011%2F02%2F14%2F10515%2F&from=http%3A%2F%2Fwww.jayxu.com%2F2012%2F04%2F15%2F13424%2F">
                        <font size="-1"  style="line-height: 1.65em; font-size: 12px !important;">缘分落地生根是我们</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.jayxu.com%2F2008%2F03%2F17%2F302%2F&from=http%3A%2F%2Fwww.jayxu.com%2F2012%2F04%2F15%2F13424%2F">
                        <font size="-1"  style="line-height: 1.65em; font-size: 12px !important;">Synthetica破解</font>
                    </a>
                </td>
            </tr>
        <br/>
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">来自无觅网络的相关文章：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.dedeadmin.com%2F%3Fp%3D1897%26cpage%3D2&from=http%3A%2F%2Fwww.jayxu.com%2F2012%2F04%2F15%2F13424%2F">
                        <font size="-1"  style="line-height: 1.65em; font-size: 12px !important;">淘宝客单页助手 v1.0正式版发布 DedeCms必备淘宝客插件 | 织梦(Dedecms)管理员之家 (@dedeadmin)</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.dedeadmin.com%2F%3Fp%3D2173%26cpage%3D1&from=http%3A%2F%2Fwww.jayxu.com%2F2012%2F04%2F15%2F13424%2F">
                        <font size="-1"  style="line-height: 1.65em; font-size: 12px !important;">淘宝客单页助手V1.2正式发布，加入根据关键词调用商品数据 | 织梦(Dedecms)管理员之家 (@dedeadmin)</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.dedeadmin.com%2F%3Fp%3D1873&from=http%3A%2F%2Fwww.jayxu.com%2F2012%2F04%2F15%2F13424%2F">
                        <font size="-1"  style="line-height: 1.65em; font-size: 12px !important;">淘宝AppKey申请教程【图文】 (@dedeadmin)</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.dedeadmin.com%2F%3Fp%3D2173&from=http%3A%2F%2Fwww.jayxu.com%2F2012%2F04%2F15%2F13424%2F">
                        <font size="-1"  style="line-height: 1.65em; font-size: 12px !important;">淘宝客单页助手V1.2正式发布，加入根据关键词调用商品数据 (@dedeadmin)</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.jayxu.com/log/wp-content/uploads/2012/04/Hermes-0002.jpg"><img class="alignnone size-medium wp-image-13493" title="Hermes 0002" src="http://www.jayxu.com/log/wp-content/uploads/2012/04/Hermes-0002-400x356.jpg" alt="" width="400" height="356" /></a></p>
<p>今年情人节老婆从淘宝买了Hermes的大地给我做礼物，但是用了几次之后觉得有问题，前调倒是很像，但是很不持久，上午喷了到中午基本就没味了，更别说中调和尾调了。清明节老婆去巴厘岛，回来在樟宜机场转机的时候在免税店又带了一瓶回来，终于找回了熟悉的味道。以下是真假大地的包装对比，帮助大家识别。左边为正品，右边为假冒。另外，以后香水这种东西还是别在淘宝上买了</p>
<p>包装盒正面：</p>
<p><a href="http://www.jayxu.com/log/wp-content/uploads/2012/04/IMG_0148.png"><img class="alignnone size-medium wp-image-13426" title="IMG_0148" src="http://www.jayxu.com/log/wp-content/uploads/2012/04/IMG_0148-400x533.png" alt="" width="400" height="533" /></a></p>
<p>包装盒背面：</p>
<p><a href="http://www.jayxu.com/log/wp-content/uploads/2012/04/IMG_0150.png"><img class="alignnone size-medium wp-image-13426" title="IMG_0150" src="http://www.jayxu.com/log/wp-content/uploads/2012/04/IMG_0150-400x533.png" alt="" width="400" height="533" /></a></p>
<p>包装盒底部：</p>
<p><a href="http://www.jayxu.com/log/wp-content/uploads/2012/04/IMG_0152.png"><img class="alignnone size-medium wp-image-13426" title="IMG_0152" src="http://www.jayxu.com/log/wp-content/uploads/2012/04/IMG_0152-400x533.png" alt="" width="400" height="533" /></a></p>
<p>包装盒顶部：</p>
<p><a href="http://www.jayxu.com/log/wp-content/uploads/2012/04/IMG_0154.png"><img class="alignnone size-medium wp-image-13426" title="IMG_0154" src="http://www.jayxu.com/log/wp-content/uploads/2012/04/IMG_0154-400x533.png" alt="" width="400" height="533" /></a></p>
<p>瓶身正面，注意颜色正品略浅，肩部的银色装饰片也略薄：</p>
<p><a href="http://www.jayxu.com/log/wp-content/uploads/2012/04/IMG_0156.png"><img class="alignnone size-medium wp-image-13426" title="IMG_0156" src="http://www.jayxu.com/log/wp-content/uploads/2012/04/IMG_0156-400x533.png" alt="" width="400" height="533" /></a></p>
<p>瓶身顶部：</p>
<p><a href="http://www.jayxu.com/log/wp-content/uploads/2012/04/IMG_0158.png"><img class="alignnone size-medium wp-image-13426" title="IMG_0158" src="http://www.jayxu.com/log/wp-content/uploads/2012/04/IMG_0158-400x533.png" alt="" width="400" height="533" /></a></p>
<p>瓶身底部：</p>
<p><a href="http://www.jayxu.com/log/wp-content/uploads/2012/04/IMG_0160.png"><img class="alignnone size-medium wp-image-13432" title="IMG_0160" src="http://www.jayxu.com/log/wp-content/uploads/2012/04/IMG_0160-400x300.png" alt="" width="400" height="300" /></a>
<p>&#8211; EOF &#8211;</p>
<div style="margin-top: 15px; font-style: italic">
<p><strong>原创内容，转载请注明：</strong> 转载自<a href="http://www.jayxu.com/">拈花微笑</a></p>
<p><strong>本文链接地址:</strong> <a href="http://www.jayxu.com/2012/04/15/13424/">分别真假大地</a></p>
</div>
<p><a href="http://www.bshare.cn/share?url=http%3A%2F%2Fwww.jayxu.com%2F2012%2F04%2F15%2F13424%2F&title=%E5%88%86%E5%88%AB%E7%9C%9F%E5%81%87%E5%A4%A7%E5%9C%B0" title="用bShare分享或收藏本文"><img src="http://static.bshare.cn/frame/images/button_custom1-zh.gif" alt="用bShare分享或收藏本文" /></a></p><table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.jayxu.com%2F2011%2F07%2F13%2F11328%2F&from=http%3A%2F%2Fwww.jayxu.com%2F2012%2F04%2F15%2F13424%2F">
                        <font size="-1"  style="line-height: 1.65em; font-size: 12px !important;">致网易《魔兽世界-大地的裂变》联合抗议书 [zz]</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.jayxu.com%2F2011%2F07%2F24%2F11343%2F&from=http%3A%2F%2Fwww.jayxu.com%2F2012%2F04%2F15%2F13424%2F">
                        <font size="-1"  style="line-height: 1.65em; font-size: 12px !important;">100 Million Android Activations</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.jayxu.com%2F2008%2F10%2F06%2F738%2F&from=http%3A%2F%2Fwww.jayxu.com%2F2012%2F04%2F15%2F13424%2F">
                        <font size="-1"  style="line-height: 1.65em; font-size: 12px !important;">长假完，继续北京时间</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.jayxu.com%2F2009%2F06%2F06%2F1515%2F&from=http%3A%2F%2Fwww.jayxu.com%2F2012%2F04%2F15%2F13424%2F">
                        <font size="-1"  style="line-height: 1.65em; font-size: 12px !important;">哥们儿，一路走好</font>
                    </a>
                </td>
            </tr>
        <br/>
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">来自无觅网络的相关文章：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.dedeadmin.com%2F%3Fp%3D1897%26cpage%3D2&from=http%3A%2F%2Fwww.jayxu.com%2F2012%2F04%2F15%2F13424%2F">
                        <font size="-1"  style="line-height: 1.65em; font-size: 12px !important;">淘宝客单页助手 v1.0正式版发布 DedeCms必备淘宝客插件 | 织梦(Dedecms)管理员之家 (@dedeadmin)</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.dedeadmin.com%2F%3Fp%3D2173%26cpage%3D1&from=http%3A%2F%2Fwww.jayxu.com%2F2012%2F04%2F15%2F13424%2F">
                        <font size="-1"  style="line-height: 1.65em; font-size: 12px !important;">淘宝客单页助手V1.2正式发布，加入根据关键词调用商品数据 | 织梦(Dedecms)管理员之家 (@dedeadmin)</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.dedeadmin.com%2F%3Fp%3D1873&from=http%3A%2F%2Fwww.jayxu.com%2F2012%2F04%2F15%2F13424%2F">
                        <font size="-1"  style="line-height: 1.65em; font-size: 12px !important;">淘宝AppKey申请教程【图文】 (@dedeadmin)</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.dedeadmin.com%2F%3Fp%3D2173&from=http%3A%2F%2Fwww.jayxu.com%2F2012%2F04%2F15%2F13424%2F">
                        <font size="-1"  style="line-height: 1.65em; font-size: 12px !important;">淘宝客单页助手V1.2正式发布，加入根据关键词调用商品数据 (@dedeadmin)</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table><i>历史上的今天</i><ol><li>2006:&nbsp;&nbsp;<a href='http://www.jayxu.com/2006/04/15/143/' title='Permanent Link to 享受编程'>享受编程(5)</a></li><li>2007:&nbsp;&nbsp;<a href='http://www.jayxu.com/2007/04/16/73/' title='Permanent Link to 北京土著[歌词]'>北京土著[歌词](2)</a></li><li>2011:&nbsp;&nbsp;<a href='http://www.jayxu.com/2011/04/15/10565/' title='Permanent Link to 随记：我们需要怎样的数学教育？ [zz]'>随记：我们需要怎样的数学教育？ [zz](0)</a></li></ol>]]></content:encoded>
			<wfw:commentRss>http://www.jayxu.com/2012/04/15/13424/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>评论：创业团队成员的「挑战」以及「成长」的问题</title>
		<link>http://www.jayxu.com/2012/04/12/13420/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=%25e8%25af%2584%25e8%25ae%25ba%25ef%25bc%259a%25e5%2588%259b%25e4%25b8%259a%25e5%259b%25a2%25e9%2598%259f%25e6%2588%2590%25e5%2591%2598%25e7%259a%2584%25e3%2580%258c%25e6%258c%2591%25e6%2588%2598%25e3%2580%258d%25e4%25bb%25a5%25e5%258f%258a%25e3%2580%258c%25e6%2588%2590%25e9%2595%25bf%25e3%2580%258d%25e7%259a%2584%25e9%2597%25ae</link>
		<comments>http://www.jayxu.com/2012/04/12/13420/#comments</comments>
		<pubDate>Thu, 12 Apr 2012 06:32:42 +0000</pubDate>
		<dc:creator>Jay</dc:creator>
				<category><![CDATA[技术生活]]></category>
		<category><![CDATA[cto]]></category>
		<category><![CDATA[team]]></category>
		<category><![CDATA[公司]]></category>
		<category><![CDATA[思考]]></category>
		<category><![CDATA[程序员]]></category>

		<guid isPermaLink="false">http://www.jayxu.com/?p=13420</guid>
		<description><![CDATA[今天看了@Fenng两周前的一篇文章：创业团队成员的「挑战」以及「成长」的问题，加上这半年来第一次站在“O”级别的位置来接触开发人员、培养团队，感触颇多，遂写下了下面的评论： 文章的观点和我的想法很契合，但是评论里的声音却出现了很大的反差，为什么？我觉得原因有三个： 1、站在不同高度所看到的问题和所要发出的声音是不一样的。做为一个团队、部门甚至公司主管级的人物，着眼点自然应该在对团队整体的心态的引导和控制上，说白了就是像文章中一样向下面的员工灌输团队的价值观 2、作为多混了几年的老人，我心里的想法（不知道Fenng是不是也这样想）会是：“这儿么多年我就是这么过来的，为什么你们不行？”而刚进入这个行当的新人，心里的想法是：“我的朋友们没有这样也都过来了，为什么我不行？”这可能就是行业中的心理代沟 3、现在这个行业环境是风投拿钱和传奇故事砸出来的，太浮躁。新人们从学生时代就浸淫在这浮躁的氛围中，难免会迷失，很难踏实下来。对于这点的，我的看法是，路是自己挑的，老人们只是路边每隔一段距离提着灯笼照路的人，而不是告诉你该怎么走的人，如果自己觉得走偏了，那就自己调整，没有人有权利和义务把你强摁在所谓“正确”的路上。当然，各条路能走多远，5年、10年之后自然就明了了，不必争论 原文转帖如下，值得一读： 回想从最初开始负责丁香园技术团队到现在，团队规模已经增加了几倍，有人离职，也有更多的人加入。团队一大，自然有些问题会浮现出来。比如最近在和团队同事聊天或是面试面谈的时候，经常会听到类似的话「觉得现在的工作没什么挑战」或是「感觉学不到东西」，以前偶尔听到团队同事这样的反馈，还是挺让我着急的，我第一直觉是很惭愧，公司或是团队给同事提供的资源和机会太少了，于是，不停的争取资源或是尽量改进，但是最后我逐渐发现，这样还是不能完全解决问题，这并非是问题的根源，因为一方面有人说没挑战 ，一方面是一堆老大难问题很久得不到解决。觉得「没挑战」和「没成长」其实是很多人会有的心态，尤其是刚参加工作没几年的容易形成这样习惯上的认知。 我以前写过一篇&#160;工程师在创业团队的技术挑战&#160;，说了一下我对技术上的「挑战」的看法，现在趁着有点空闲，再谈谈谈创业团队中的成员的「挑战」以及「成长」的问题。{请注意，这只是一篇随笔，我无意去讨论什么管理之类的废话，也不奢望就这么几个字能解决所有问题，对少数人起到一个提醒的作用就足够了} 一般觉得工作没什么挑战的，原因可能无外乎几个: 要么认为自己的能力足够高了，不屑于再做「简单」的事情； 要么认为自己是在做「重复」的工作；要么，觉得没接触到新东西；也很有可能只是各种借口或是「心态」的体现。 实际上，任何团队中都没有「简单」的事情，只有做得好或是做不好的事情。什么是简单? 给产品写一段文字说明够简单么？写一封 EDM 够简单么? 如果仔细推敲的话，会看到绝大多数文案都是糟糕的一塌糊涂，那么为什么不用更高的标准要求以下自己呢？既然能力够高了，为什么你说的「简单」的事情还做不好呢？所谓眼高手低，不就是说这种情况么? 如果小事情做到比别人好，那么大一点的事情团队就会更加放心的给你去做。否则的话，换了是你，你也不会将重要的任务交给连小事情都做不好的人吧? 任何团队中也没有「重复」的事情。任何事情，如果不针对反馈做任何改进的话，做第二遍你就会觉得是重复；而如果每次都能根据反馈不停的修正，那么做成千上万次可能还会找到乐趣。比如说我们网站经常要给用户设计一些广告图片，有的同事说，总让我做广告图片，枯燥、乏味，我的设计能力如何得到提高? 的确，如果每次都用最低的标准要求自己，怎么提高呢？客户或是同事给你的反馈，比如，图片上的文字都是毛边的，无论怎么说你都无动于衷，那么怎么可能真的提高呢? 所以，面对「重复」的事情，必须不断的给自己设立新标准，然后努力去突破，重复的事情里面依然大有文章，想想如何提高质量，再想想如何提升效率。 至于说接触不到新技术，其实问一句话就好: 你业余时间为什么不学呢? 大部分回答是: 没时间。这是无解的问题。一般听到「没时间」，有时间整天逛淘宝难道没时间学习么? 其实潜台词都是「这是不重要的事情」，任何事情，你不投入比别人更多的精力，怎么做到比别人更好么？ 正所谓，「以大多数人的努力程度之低，根本轮不到去拼天赋」，同样，不做好准备，也等不来机会。 至于心态，我引用丁香园&#160;CEO&#160;张进的一句话：两个都是新入职的同事，也都是第一份工作，交给他们差不多的事情做，一个想「他奶奶的，就这么点工资，让干这么多活?」，另一个则想「没想到新人都给这么多机会锻炼」，你说过几年谁的成就更大? 这或许可以回答某些人的疑问「为什么我和同学毕业的时候都差不多，怎么过几年不见，人家都做到某公司总监乃至副总了，我还是在不停的换工作?」，就是心态导致的差异。 有些人觉得创业团队或是小型公司里面，资源少，「学不到什么东西」，其实，是你没仔细去学习应该学的东西。前几天给几个好友的新创业项目提建议，我说你们某个地方做的不及格，他们说要我给讲讲，我说这个应该不用讲的，你们团队中的某某，以前看过我做同样的事情，按理说，他也能做一下的。遗憾的是，没去做，也做不来。为什么? 别人做他熟悉的那一点领域之外的事情，他是漠不关心的，意识不到学习更多东西是有价值的。有人说，问题就是机会，团队的问题，就是每个人的机会，谁能解决掉，就会给团队带来更大的价值，相应的，他也会得到更大的回报。而在创业团队里面，恰恰是需要解决问题的人，不欢迎那些不动脑筋的螺丝钉。创业团队中，可接触的问题不可谓不多，公司的方方面面都需要有人动手来做，如果平时多用点心思，学到的东西早晚在将来还会用到。很多人不都是有创业的想法么？但是你连基本的积累都不够，创业? 怕是要撞墙。 那么是不是在大公司里面才能让人得到锻炼呢? 曾经遇到过不少工程师当面告诉我，想去某某大型互联网公司去工作几年，提高一下技术，遗憾的是，几乎没看到一个人在几年后能力真的得到提升，有的甚至退步，为什么？一个很大的原因是，大公司里面多数的事情都已经固定下来了，而很多牛人之所以牛，是因为他们遇到公司从小到大的过程，在这个过程中他们得到了难得的成长机遇，不停的学习充实自己，解决各种问题，才成为牛人，牛人也多是苦日子熬过来的。等到天下皆定，哪还有那么多硬仗好打呢? 另外，「想锻炼技术」并不是一个很好的出发点，单纯的想锻炼技术实际上并不利于「解决问题」，培养能力和意识更为关键。 我在微博上调侃过：很多人都希望找到一个完美的公司，比如，办公室要无比舒适；用最好的设备；完备的培训机制，还别占用休息时间；弹性工作制；别他妈太累；也别让老子加班；公司前台要好看；没有刻板的工作流程；工作要有创造性不是重复劳动，别管我是否有创造性;队友不是猪而且都是天才，遇到困难他们就会出手解决；做的事必须是最潮的，但别管赚钱与否&#8230; 还有，最重要的，薪水要高。遗憾的是，这样的工作估计是做公务员也不一定完全具备，只会让自己更加痛苦，甚至增加无谓的抱怨。 提起抱怨来，也有必要说一下对队友的抱怨这个事情。曾经见过有人对一起合作项目同事的抱怨，比如设计师抱怨合作的产品经理有问题，总要不停的修改，时间长了，认为产品团队都很烂，经常打扰你，那么有没有想过，你是否可以给产品设计提出更好的建议呢? 甚至，有些产品设计你是否可以进行改进呢? 什么?「那不是我的工作!」 可是，为什么要给自己的能力设定一个边界? 这是多么可悲的事情，你完全可以无限制的突破边界，突破个人的局限。或许再过几年你会成为一个更好的产品设计师的啊。Zynga 的核心价值观有一条是「Level up」，不断升级，这恰恰是我们普遍缺少的心态。 的确，这是个浮躁的时代。大家容易听到各种各样的声音，每当心存困惑的时候不妨静下心来，加强对自身的认知。别幻想着走捷径，也尽量少去问别人如何成功，那些没有用，只要你别总在错误的路上越绕越远，将一些看似细微的事情做到更好，最后的成就依然惊人。 看清无处不在的「挑战」，让自己真正有所「成长」，毕竟，以后每个人都要承担更多的责任，只要你愿意。 &#8211;EOF&#8211; 最后补充一句话：「一个真正聪明的人，应该去发现别人话语中合理的部分，并且加以吸收利用，改正自己不正确的地方。而不是一发现别人言语中有漏洞或是有疑议就全盘否定。」 &#8211; EOF &#8211; 原创内容，转载请注明： 转载自拈花微笑 本文链接地址: 评论：创业团队成员的「挑战」以及「成长」的问题 <a href="http://www.jayxu.com/2012/04/12/13420/"> read more <span class="meta-nav">&#187;</span></a><table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.jayxu.com%2F2012%2F02%2F10%2F13241%2F&from=http%3A%2F%2Fwww.jayxu.com%2F2012%2F04%2F12%2F13420%2F">
                        <font size="-1"  style="line-height: 1.65em; font-size: 12px !important;">开发，架构，CTO</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.jayxu.com%2F2008%2F02%2F20%2F272%2F&from=http%3A%2F%2Fwww.jayxu.com%2F2012%2F04%2F12%2F13420%2F">
                        <font size="-1"  style="line-height: 1.65em; font-size: 12px !important;">What is a Good Team?</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.jayxu.com%2F2005%2F07%2F12%2F208%2F&from=http%3A%2F%2Fwww.jayxu.com%2F2012%2F04%2F12%2F13420%2F">
                        <font size="-1"  style="line-height: 1.65em; font-size: 12px !important;">优秀的程序员</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.jayxu.com%2F2010%2F08%2F11%2F2396%2F&from=http%3A%2F%2Fwww.jayxu.com%2F2012%2F04%2F12%2F13420%2F">
                        <font size="-1"  style="line-height: 1.65em; font-size: 12px !important;">Java程序员必看电影：Java 4-ever</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
			<content:encoded><![CDATA[<p>今天看了@Fenng两周前的一篇文章：<a href="http://www.dbanotes.net/startup/Challenge_and_Grow_up.html" target="_blank">创业团队成员的「挑战」以及「成长」的问题</a>，加上这半年来第一次站在“O”级别的位置来接触开发人员、培养团队，感触颇多，遂写下了下面的评论：</p>
<blockquote><p>文章的观点和我的想法很契合，但是评论里的声音却出现了很大的反差，为什么？我觉得原因有三个：</p>
<p>1、站在不同高度所看到的问题和所要发出的声音是不一样的。做为一个团队、部门甚至公司主管级的人物，着眼点自然应该在对团队整体的心态的引导和控制上，说白了就是像文章中一样向下面的员工灌输团队的价值观</p>
<p>2、作为多混了几年的老人，我心里的想法（不知道Fenng是不是也这样想）会是：“这儿么多年我就是这么过来的，为什么你们不行？”而刚进入这个行当的新人，心里的想法是：“我的朋友们没有这样也都过来了，为什么我不行？”这可能就是行业中的心理代沟</p>
<p>3、现在这个行业环境是风投拿钱和传奇故事砸出来的，太浮躁。新人们从学生时代就浸淫在这浮躁的氛围中，难免会迷失，很难踏实下来。对于这点的，我的看法是，路是自己挑的，老人们只是路边每隔一段距离提着灯笼照路的人，而不是告诉你该怎么走的人，如果自己觉得走偏了，那就自己调整，没有人有权利和义务把你强摁在所谓“正确”的路上。当然，各条路能走多远，5年、10年之后自然就明了了，不必争论</p></blockquote>
<p>原文转帖如下，值得一读：</p>
<blockquote><p>回想从最初开始负责<a href="http://www.dxy.cn/">丁香园</a>技术团队到现在，团队规模已经增加了几倍，有人离职，也有更多的人加入。团队一大，自然有些问题会浮现出来。比如最近在和团队同事聊天或是面试面谈的时候，经常会听到类似的话「觉得现在的工作没什么挑战」或是「感觉学不到东西」，以前偶尔听到团队同事这样的反馈，还是挺让我着急的，我第一直觉是很惭愧，公司或是团队给同事提供的资源和机会太少了，于是，不停的争取资源或是尽量改进，但是最后我逐渐发现，这样还是不能完全解决问题，这并非是问题的根源，因为一方面有人说没挑战 ，一方面是一堆老大难问题很久得不到解决。觉得「没挑战」和「没成长」其实是很多人会有的心态，尤其是刚参加工作没几年的容易形成这样习惯上的认知。</p>
<p>我以前写过一篇&nbsp;<a href="http://www.dbanotes.net/startup/challenge_for_engineer_at_startup.html">工程师在创业团队的技术挑战</a>&nbsp;，说了一下我对技术上的「挑战」的看法，现在趁着有点空闲，再谈谈谈创业团队中的成员的「挑战」以及「成长」的问题。{请注意，这只是一篇随笔，我无意去讨论什么管理之类的废话，也不奢望就这么几个字能解决所有问题，对少数人起到一个提醒的作用就足够了}</p>
<p>一般觉得工作没什么挑战的，原因可能无外乎几个: 要么认为自己的能力足够高了，不屑于再做「简单」的事情； 要么认为自己是在做「重复」的工作；要么，觉得没接触到新东西；也很有可能只是各种借口或是「心态」的体现。</p>
<p>实际上，任何团队中都没有「简单」的事情，只有做得好或是做不好的事情。什么是简单? 给产品写一段文字说明够简单么？写一封 EDM 够简单么? 如果仔细推敲的话，会看到绝大多数文案都是糟糕的一塌糊涂，那么为什么不用<strong>更高的标准</strong>要求以下自己呢？既然能力够高了，为什么你说的「简单」的事情还做不好呢？所谓眼高手低，不就是说这种情况么? 如果小事情做到比别人好，那么大一点的事情团队就会更加放心的给你去做。否则的话，换了是你，你也不会将重要的任务交给连小事情都做不好的人吧?</p>
<p>任何团队中也没有「重复」的事情。任何事情，如果不针对反馈做任何改进的话，做第二遍你就会觉得是重复；而如果每次都能根据反馈不停的修正，那么做成千上万次可能还会找到乐趣。比如说我们网站经常要给用户设计一些广告图片，有的同事说，总让我做广告图片，枯燥、乏味，我的设计能力如何得到提高? 的确，如果每次都用最低的标准要求自己，怎么提高呢？客户或是同事给你的反馈，比如，图片上的文字都是毛边的，无论怎么说你都无动于衷，那么怎么可能真的提高呢? 所以，面对「重复」的事情，必须不断的给自己设立新标准，然后努力去突破，重复的事情里面依然大有文章，想想如何提高质量，再想想如何提升效率。</p>
<p>至于说接触不到新技术，其实问一句话就好: 你业余时间为什么不学呢? 大部分回答是: 没时间。这是无解的问题。一般听到「没时间」，有时间整天逛淘宝难道没时间学习么? 其实潜台词都是「这是不重要的事情」，任何事情，你不投入比别人更多的精力，怎么做到比别人更好么？ 正所谓，「以大多数人的努力程度之低，根本轮不到去拼天赋」，同样，不做好准备，也等不来机会。</p>
<p>至于心态，我引用丁香园&nbsp;<acronym title="Chief Executive Officer ">CEO</acronym>&nbsp;张进的一句话：两个都是新入职的同事，也都是第一份工作，交给他们差不多的事情做，一个想「他奶奶的，就这么点工资，让干这么多活?」，另一个则想「没想到新人都给这么多机会锻炼」，你说过几年谁的成就更大? 这或许可以回答某些人的疑问「为什么我和同学毕业的时候都差不多，怎么过几年不见，人家都做到某公司总监乃至副总了，我还是在不停的换工作?」，就是心态导致的差异。</p>
<p>有些人觉得创业团队或是小型公司里面，资源少，「学不到什么东西」，其实，是你没仔细去学习应该学的东西。前几天给几个好友的新创业项目提建议，我说你们某个地方做的不及格，他们说要我给讲讲，我说这个应该不用讲的，你们团队中的某某，以前看过我做同样的事情，按理说，他也能做一下的。遗憾的是，没去做，也做不来。为什么? 别人做他熟悉的那一点领域之外的事情，他是漠不关心的，意识不到学习更多东西是有价值的。有人说，问题就是机会，团队的问题，就是每个人的机会，谁能解决掉，就会给团队带来更大的价值，相应的，他也会得到更大的回报。而在创业团队里面，恰恰是需要解决问题的人，不欢迎那些不动脑筋的螺丝钉。创业团队中，可接触的问题不可谓不多，公司的方方面面都需要有人动手来做，如果平时多用点心思，学到的东西早晚在将来还会用到。很多人不都是有创业的想法么？但是你连基本的积累都不够，创业? 怕是要撞墙。</p>
<p>那么是不是在大公司里面才能让人得到锻炼呢? 曾经遇到过不少工程师当面告诉我，想去某某大型互联网公司去工作几年，提高一下技术，遗憾的是，几乎没看到一个人在几年后能力真的得到提升，有的甚至退步，为什么？一个很大的原因是，大公司里面多数的事情都已经固定下来了，而很多牛人之所以牛，是因为他们遇到公司从小到大的过程，在这个过程中他们得到了难得的成长机遇，不停的学习充实自己，解决各种问题，才成为牛人，牛人也多是苦日子熬过来的。等到天下皆定，哪还有那么多硬仗好打呢? 另外，「想锻炼技术」并不是一个很好的出发点，单纯的想锻炼技术实际上并不利于「解决问题」，培养能力和意识更为关键。</p>
<p>我在微博上调侃过：很多人都希望找到一个完美的公司，比如，办公室要无比舒适；用最好的设备；完备的培训机制，还别占用休息时间；弹性工作制；别他妈太累；也别让老子加班；公司前台要好看；没有刻板的工作流程；工作要有创造性不是重复劳动，别管我是否有创造性;队友不是猪而且都是天才，遇到困难他们就会出手解决；做的事必须是最潮的，但别管赚钱与否&#8230; 还有，最重要的，薪水要高。遗憾的是，这样的工作估计是做公务员也不一定完全具备，只会让自己更加痛苦，甚至增加无谓的抱怨。</p>
<p>提起抱怨来，也有必要说一下对队友的抱怨这个事情。曾经见过有人对一起合作项目同事的抱怨，比如设计师抱怨合作的产品经理有问题，总要不停的修改，时间长了，认为产品团队都很烂，经常打扰你，那么有没有想过，你是否可以给产品设计提出更好的建议呢? 甚至，有些产品设计你是否可以进行改进呢? 什么?「那不是我的工作!」 可是，<strong>为什么要给自己的能力设定一个边界</strong>? 这是多么可悲的事情，你完全可以无限制的突破边界，突破个人的局限。或许再过几年你会成为一个更好的产品设计师的啊。Zynga 的核心价值观有一条是「Level up」，不断升级，这恰恰是我们普遍缺少的心态。</p>
<p>的确，这是个浮躁的时代。大家容易听到各种各样的声音，每当心存困惑的时候不妨静下心来，加强对自身的认知。别幻想着走捷径，也尽量少去问别人如何成功，那些没有用，只要你别总在错误的路上越绕越远，将一些看似细微的事情做到更好，最后的成就依然惊人。</p>
<p>看清无处不在的「挑战」，让自己真正有所「成长」，毕竟，以后每个人都要承担更多的责任，只要你愿意。</p>
<p>&#8211;<acronym title="End of File ">EOF</acronym>&#8211;</p>
<p>最后补充一句话：「一个真正聪明的人，应该去发现别人话语中合理的部分，并且加以吸收利用，改正自己不正确的地方。而不是一发现别人言语中有漏洞或是有疑议就全盘否定。」</p></blockquote>
<p>&#8211; EOF &#8211;</p>
<div style="margin-top: 15px; font-style: italic">
<p><strong>原创内容，转载请注明：</strong> 转载自<a href="http://www.jayxu.com/">拈花微笑</a></p>
<p><strong>本文链接地址:</strong> <a href="http://www.jayxu.com/2012/04/12/13420/">评论：创业团队成员的「挑战」以及「成长」的问题</a></p>
</div>
<p><a href="http://www.bshare.cn/share?url=http%3A%2F%2Fwww.jayxu.com%2F2012%2F04%2F12%2F13420%2F&title=%E8%AF%84%E8%AE%BA%EF%BC%9A%E5%88%9B%E4%B8%9A%E5%9B%A2%E9%98%9F%E6%88%90%E5%91%98%E7%9A%84%E3%80%8C%E6%8C%91%E6%88%98%E3%80%8D%E4%BB%A5%E5%8F%8A%E3%80%8C%E6%88%90%E9%95%BF%E3%80%8D%E7%9A%84%E9%97%AE%E9%A2%98" title="用bShare分享或收藏本文"><img src="http://static.bshare.cn/frame/images/button_custom1-zh.gif" alt="用bShare分享或收藏本文" /></a></p><table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.jayxu.com%2F2012%2F02%2F10%2F13241%2F&from=http%3A%2F%2Fwww.jayxu.com%2F2012%2F04%2F12%2F13420%2F">
                        <font size="-1"  style="line-height: 1.65em; font-size: 12px !important;">开发，架构，CTO</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.jayxu.com%2F2008%2F02%2F20%2F272%2F&from=http%3A%2F%2Fwww.jayxu.com%2F2012%2F04%2F12%2F13420%2F">
                        <font size="-1"  style="line-height: 1.65em; font-size: 12px !important;">What is a Good Team?</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.jayxu.com%2F2005%2F07%2F12%2F208%2F&from=http%3A%2F%2Fwww.jayxu.com%2F2012%2F04%2F12%2F13420%2F">
                        <font size="-1"  style="line-height: 1.65em; font-size: 12px !important;">优秀的程序员</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.jayxu.com%2F2010%2F08%2F11%2F2396%2F&from=http%3A%2F%2Fwww.jayxu.com%2F2012%2F04%2F12%2F13420%2F">
                        <font size="-1"  style="line-height: 1.65em; font-size: 12px !important;">Java程序员必看电影：Java 4-ever</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table><i>历史上的今天</i><ol><li>2007:&nbsp;&nbsp;<a href='http://www.jayxu.com/2007/04/12/74/' title='Permanent Link to 美国杂笔（一）'>美国杂笔（一）(2)</a></li><li>2010:&nbsp;&nbsp;<a href='http://www.jayxu.com/2010/04/12/2120/' title='Permanent Link to 世界杯了，买俩扎库米热热身'>世界杯了，买俩扎库米热热身(1)</a></li><li>2010:&nbsp;&nbsp;<a href='http://www.jayxu.com/2010/04/13/9995/' title='Permanent Link to 写在又一个凌晨3点'>写在又一个凌晨3点(2)</a></li><li>2011:&nbsp;&nbsp;<a href='http://www.jayxu.com/2011/04/12/10564/' title='Permanent Link to 一周tweets更新 [2011-04-12]'>一周tweets更新 [2011-04-12](0)</a></li></ol>]]></content:encoded>
			<wfw:commentRss>http://www.jayxu.com/2012/04/12/13420/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

