??xml version="1.0" encoding="utf-8" standalone="yes"?>日韩中文字幕一区二区三区,91久久精品国产,国产在线一区二区综合免费视频http://www.aygfsteel.com/hellboys/archive/2010/11/17/338268.html地狱L(hellboys)地狱L(hellboys)Wed, 17 Nov 2010 07:32:00 GMThttp://www.aygfsteel.com/hellboys/archive/2010/11/17/338268.htmlhttp://www.aygfsteel.com/hellboys/comments/338268.htmlhttp://www.aygfsteel.com/hellboys/archive/2010/11/17/338268.html#Feedback0http://www.aygfsteel.com/hellboys/comments/commentRss/338268.htmlhttp://www.aygfsteel.com/hellboys/services/trackbacks/338268.html
cd project
mvim project_file.php

MacVim supports tabs, but unfortunately calling mvim multiple times from the command-line results in multiple separate windows opening, instead of multiple tabs in one window. I made the following modifications to the mvim script to correct this.

Add the following line to the top of the file, below the commented section:

tabs=true

Replace the if structure at the bottom of the file with the following:

# Last step:  fire up vim.
if [ "$gui" ]; then
  
if $tabs && [[ `$binary --serverlist` = "VIM" ]]; then
    exec 
"$binary" -g $opts --remote-tab-silent ${1:+"$@"}
  
else
    exec 
"$binary" -g $opts ${1:+"$@"}
  fi
else
  exec 
"$binary" $opts ${1:+"$@"}
fi


from: http://webexpose.org/2008/10/13/open-macvim-tabs-from-command-line/



地狱L(hellboys) 2010-11-17 15:32 发表评论
]]>
优化MySQL数据库性能的八U方?/title><link>http://www.aygfsteel.com/hellboys/archive/2009/03/25/261843.html</link><dc:creator>地狱L(hellboys)</dc:creator><author>地狱L(hellboys)</author><pubDate>Wed, 25 Mar 2009 05:35:00 GMT</pubDate><guid>http://www.aygfsteel.com/hellboys/archive/2009/03/25/261843.html</guid><wfw:comment>http://www.aygfsteel.com/hellboys/comments/261843.html</wfw:comment><comments>http://www.aygfsteel.com/hellboys/archive/2009/03/25/261843.html#Feedback</comments><slash:comments>2</slash:comments><wfw:commentRss>http://www.aygfsteel.com/hellboys/comments/commentRss/261843.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/hellboys/services/trackbacks/261843.html</trackback:ping><description><![CDATA[     摘要: 1、选取最适用的字D属?<br>2、用连接(JOINQ来代替子查?Sub-Queries) <br>3、用联?UNION)来代替手动创建的临时?<br>4、事?<br>5、锁定表 <br>6、用外?<br>7、用烦?<br>8、优化的查询语句  <a href='http://www.aygfsteel.com/hellboys/archive/2009/03/25/261843.html'>阅读全文</a><img src ="http://www.aygfsteel.com/hellboys/aggbug/261843.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/hellboys/" target="_blank">地狱L(hellboys)</a> 2009-03-25 13:35 <a href="http://www.aygfsteel.com/hellboys/archive/2009/03/25/261843.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Hadoop分布式文件系l?HDFS)的安全隐?/title><link>http://www.aygfsteel.com/hellboys/archive/2009/03/07/258351.html</link><dc:creator>地狱L(hellboys)</dc:creator><author>地狱L(hellboys)</author><pubDate>Sat, 07 Mar 2009 04:23:00 GMT</pubDate><guid>http://www.aygfsteel.com/hellboys/archive/2009/03/07/258351.html</guid><wfw:comment>http://www.aygfsteel.com/hellboys/comments/258351.html</wfw:comment><comments>http://www.aygfsteel.com/hellboys/archive/2009/03/07/258351.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.aygfsteel.com/hellboys/comments/commentRss/258351.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/hellboys/services/trackbacks/258351.html</trackback:ping><description><![CDATA[一.基础问题 <br /> hadoop是什? 如何配置{基概念以下不做讨论.<br /> 请参? <a title="http://www.infoq.com/cn/articles/hadoop-intro" >http://www.infoq.com/cn/articles/hadoop-intro</a>  ?Googleq行相关搜烦<br /> <br /> ?环境<br /> 软g环境:hadoop-0.19.1<br /> HDFSpȝ: 公网linux 2.4 若干?<br /> Namenode: nn 1?br /> Datenode: dn 若干?br /> 客户? OSX 10.6<br /> <br /> ?如何对Hadoop文gq行d要点(安全隐患)<br /> 1)<br /> 获得Hadoop NameNode URI, 例如 nn:9001<br /> 配置到客Lhadoop-site.xml中即? <br /> 2)<br /> 客户端通过 FS shellq行文g操作, <br /> ơ步骤可单理解ؓ客户端通过本地Hadoop中配|hadoop-site.xml namenode uriq行q程讉K,获取HDFS文g列表,<br /> 3)<br /> *如遇到验证失?在本地创建用户名xxx用户,xxx本地用户名和提示验证用户名称一直即?<br /> *解释:HDFS启动时会以启动用?root或hadoop)为HDFS Root用户, 所以客Lq行讉K时本地新建此用户名和HDFS Root用户名称一致即?HDFSq不q行验证密码.<br /> *此时,p得的HDFS pȝ的HDFS Root权限, 可以为所Ʋؓ?  :)<br /> 4)<br /> Hadoop API ?FS Shell 以上q同?br /> <br /> ?思?br /> 虽然nn可以讄的比较隐U?但是依然可以被扫描到,所以只靠隐UnnҎ对HDFSpȝ的安全保障是q不可取?<br /> 虽然可以用网l划分或防火墙进行隔?但是对于Hadoop框架设计而言,是有重大安全遗漏?<br /> 我认Z然有许多HDFSpȝ目前正在公网q行?<br /> <br />  <br /> <br /> <br /> <br /> <img src ="http://www.aygfsteel.com/hellboys/aggbug/258351.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/hellboys/" target="_blank">地狱L(hellboys)</a> 2009-03-07 12:23 <a href="http://www.aygfsteel.com/hellboys/archive/2009/03/07/258351.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>sssh v2.0 - 快?ssh 登陆脚本http://www.aygfsteel.com/hellboys/archive/2008/12/19/247311.html地狱L(hellboys)地狱L(hellboys)Fri, 19 Dec 2008 04:49:00 GMThttp://www.aygfsteel.com/hellboys/archive/2008/12/19/247311.htmlhttp://www.aygfsteel.com/hellboys/comments/247311.htmlhttp://www.aygfsteel.com/hellboys/archive/2008/12/19/247311.html#Feedback1http://www.aygfsteel.com/hellboys/comments/commentRss/247311.htmlhttp://www.aygfsteel.com/hellboys/services/trackbacks/247311.html此脚本对于那些需要经?ssh 登陆q程服务器的朋友应该有点用处。尤其是需要中转服务器 ssh 2 ơ以上的。脚本功能包括:服务器 IP 和密码保存于文本文g?(明文保存Q安全性要自己保证)Q方便登陆,支持多次 ssh 中{Q支持服务器~码自动转换Q支持某个用户名的通用密码?
版本说明: v2.0版本?ssh可以指定q接端口,改善bash环境支持  阅读全文

地狱L(hellboys) 2008-12-19 12:49 发表评论
]]>
mod_python?RHEL/CentOs 64 位编译上的问?/title><link>http://www.aygfsteel.com/hellboys/archive/2008/11/30/243585.html</link><dc:creator>地狱L(hellboys)</dc:creator><author>地狱L(hellboys)</author><pubDate>Sun, 30 Nov 2008 15:04:00 GMT</pubDate><guid>http://www.aygfsteel.com/hellboys/archive/2008/11/30/243585.html</guid><wfw:comment>http://www.aygfsteel.com/hellboys/comments/243585.html</wfw:comment><comments>http://www.aygfsteel.com/hellboys/archive/2008/11/30/243585.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/hellboys/comments/commentRss/243585.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/hellboys/services/trackbacks/243585.html</trackback:ping><description><![CDATA[I just went through the fairly painful exercise of compiling mod_python 3.3.1 on a 64-bit RHEL 5 server. RHEL 5 ships with Python 2.4.3 and mod_python 3.2.8. I needed mod_python to be compiled against Python 2.5.1. I had already compiled and installed Python 2.5.1 from source into /usr/local/bin/python2.5. The version of Apache on that server is 2.2.3.<br /> I first tried this:<br /> <pre># tar xvfz mod_python-3.3.1.tar.gz<br /> # cd mod_python-3.3.1<br /> # ./configure --with-apxs==/usr/sbin/apxs --with-python=/usr/local/bin/python2.5<br /> # make<br /> ...at which point I got this ugly error:<br /> <span style="font-family: courier new;">/usr/lib64/apr-1/build/libtool --silent --mode=link gcc -o mod_python.la \<br /> -rpath /usr/lib64/httpd/modules -module -avoid-version finfoobject.lo \<br /> hlistobject.lo hlist.lo filterobject.lo connobject.lo serverobject.lo util.lo \<br /> tableobject.lo requestobject.lo _apachemodule.lo mod_python.lo\<br /> -L/usr/local/lib/python2.5/config -Xlinker -export-dynamic -lm\<br /> -lpython2.5 -lpthread -ldl -lutil -lm</span><br /> <span style="font-family: courier new;">/usr/bin/ld: /usr/local/lib/python2.5/config/libpython2.5.a(abstract.o):<br /> relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object;<br /> recompile with -fPIC</span><br /> <span style="font-family: courier new;">/usr/local/lib/python2.5/config/libpython2.5.a: could not read symbols: Bad value</span><br /> <span style="font-family: courier new;">collect2: ld returned 1 exit status</span><br /> <span style="font-family: courier new;">apxs:Error: Command failed with rc=65536</span><br /> </pre> I googled around for a bit, and I found <a >this answer</a> courtesy of Martin von Loewis. To quote:<br /> It complains that some object file of Python wasn't compiled<br /> with -fPIC (position-independent code). This is a problem only if<br /> a) you are linking a static library into a shared one (mod_python, in this case), and<br /> b) the object files in the static library weren't compiled with -fPIC, and<br /> c) the system doesn't support position-dependent code in a shared library<br /> <pre>As you may have guessed by now, it is really c) which I<br /> blame. On all other modern systems, linking non-PIC objects<br /> into a shared library is supported (albeit sometimes with a<br /> performance loss on startup).<br /> <br /> So your options are<br /> a) don't build a static libpython, instead, build Python<br /> with --enable-shared. This will give you libpython24.so<br /> which can then be linked "into" mod_python<br /> b) manually add -fPIC to the list of compiler options when<br /> building Python, by editing the Makefile after configure has run<br /> <br /> c) find a way to overcome the platform limitation. E.g. on<br /> Solaris, the linker supports an impure-text option which<br /> instructs it to accept relocations in a shared library.<br /> <br /> You might wish that the Python build process supported<br /> option b), i.e. automatically adds -fPIC on Linux/AMD64.<br /> IMO, this would be a bad choice, since -fPIC itself usually<br /> causes a performance loss, and isn't needed when we link<br /> libpython24.a into the interpreter (which is an executable,<br /> not a shared library).<br /> <br /> Therefore, I'll close this as "won't fix", and recommend to<br /> go with solution a).</pre> So I proceeded to reconfigure Python 2.5 via './configure --enable-shared', then the usual 'make; make install'. However, I hit another snag right away when trying to run the new python2.5 binary:<br /> <pre># /usr/local/bin/python<br /> python: error while loading shared libraries: libpython2.5.so.1.0: cannot open shared object file: No such file or directory</pre> I remembered from other issues I had similar to this that I have to include the path to libpython2.5.so.1.0 (which is /usr/local/lib) in a ldconfig configuration file.<br /> I created /etc/ld.so.conf.d/python2.5.conf with the contents '/usr/local/lib' and I ran<br /> <pre># ldconfig<br /> </pre> At this point, I was able to run the python2.5 binary successfully.<br /> <br /> I then re-configured and compiled mod_python with<br /> <pre># ./configure --with-apxs=/usr/sbin/apxs --with-python=/usr/local/bin/python2.5<br /> # make<br /> Finally, I copied mod_python.so from mod_python-3.3.1/src/.libs to /etc/httpd/modules and restarted Apache.<br /> </pre> Not a lot of fun, that's all I can say. <img src ="http://www.aygfsteel.com/hellboys/aggbug/243585.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/hellboys/" target="_blank">地狱L(hellboys)</a> 2008-11-30 23:04 <a href="http://www.aygfsteel.com/hellboys/archive/2008/11/30/243585.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>我想应聘中国男子国家球队主教练一?/title><link>http://www.aygfsteel.com/hellboys/archive/2008/06/16/208256.html</link><dc:creator>地狱L(hellboys)</dc:creator><author>地狱L(hellboys)</author><pubDate>Mon, 16 Jun 2008 02:56:00 GMT</pubDate><guid>http://www.aygfsteel.com/hellboys/archive/2008/06/16/208256.html</guid><wfw:comment>http://www.aygfsteel.com/hellboys/comments/208256.html</wfw:comment><comments>http://www.aygfsteel.com/hellboys/archive/2008/06/16/208256.html#Feedback</comments><slash:comments>5</slash:comments><wfw:commentRss>http://www.aygfsteel.com/hellboys/comments/commentRss/208256.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/hellboys/services/trackbacks/208256.html</trackback:ping><description><![CDATA[“<span><strong>我想应聘中国男子国家球队主教练一职,我有100分的?心,带领中国队在2010q的时候,把大力神杯捧回中国?br />   Ҏ中国球的现Ӟ我ؓ中国球队设 计了一整套战术打法Q简UCؓ圆环套圆环法?br />   让我们忘?33q是442q些无聊的数字吧Q从此,<br /> 球Z只有一U几何图形,是圆环?br />   中国队要冲出亚洲Q我的战术是Q除守门员以外,其他10?队员手臂扣手臂,围成一个圆圈,其中Q找两个门准的面对圆心Q其他的Q都背对圆心。摆出此阵以后,守门?以手抛球的方法把球抛到这个圆环里Q然后,整个圆环开始向Ҏ球门~缓UdQ对手一定束手无{,因ؓ他们?本看不清楚哪个是执球队员哪个是无球队员,E一接触Q就会犯规。当q个圆环Ud到离开Ҏ球门的距d? c的时候,靠近球门的队员两条大腿一分,现出I挡Q然后由面对圆心的两个射手中的一个突发冷,命中率应?可以高于99%?br />   q个阉|虽然Ud~慢Q但是在90分钟里,q他?0?0个球q是可以的!<br />   q个只是圆环套圆环法的第一层境界,如果Ҏ是日本,韩国q样二流队,全取三分应该没有什么问题,<br /> 但是如果到巴西、阿根hq样的一队Q就要进行队型变化,变化如下Q?0个h分成两组Q第一U是分成一?4人圈和一?人圈Q?人圈?人圈圈在中间Q这样可以防M力提高一倍,更加坚不可破Q另外一U是分成?个独立的5人圈Q两?人圈交替前进Q只要队员腿够粗Q对Ҏ本不知道球在那个5人圈里面Q防不胜Ԍ l?合这两套战术Q干掉巴西也只是case?br />   我这套战术,是绝Ҏ效和强大的,只要有心玩,Z?球时间绝对可以达?0%以上Q所以最后做技术统计的时候,数据也可以表明,中国队是当之无愧的强大!<br />   当然Q对方要破我q一套战术,也是有可能的Q办法有两个Q第一Q所有球员排成一U,挡住球门Q第二,<br /> Ҏ加上守门员在内组?1个h的大圆环Q包住我方的圆环。这L话,Z的比分会?Q?Q每场取一分,<br /> 中国要世界杯出线应该也是没有问题的,L现在q样好!<br />   各位领导Q对于这套战术,我研I很深,?以说是毫无漏z,L予一个机会,让我执教中国男子国家球队,我一定可以将中国球带至前所未有的辉煌!<br />   谢谢Q?”</strong></span> <img src ="http://www.aygfsteel.com/hellboys/aggbug/208256.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/hellboys/" target="_blank">地狱L(hellboys)</a> 2008-06-16 10:56 <a href="http://www.aygfsteel.com/hellboys/archive/2008/06/16/208256.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Android中文文档v0.1 beta低调发布,期待更多同学来参加reviewhttp://www.aygfsteel.com/hellboys/archive/2007/12/05/165574.html地狱L(hellboys)地狱L(hellboys)Wed, 05 Dec 2007 08:42:00 GMThttp://www.aygfsteel.com/hellboys/archive/2007/12/05/165574.htmlhttp://www.aygfsteel.com/hellboys/comments/165574.htmlhttp://www.aygfsteel.com/hellboys/archive/2007/12/05/165574.html#Feedback0http://www.aygfsteel.com/hellboys/comments/commentRss/165574.htmlhttp://www.aygfsteel.com/hellboys/services/trackbacks/165574.htmlW一阶段:Android中文文档v0.1 beta发布--由www.androidcn.netC֌提供     

Android中文文档阅读地址:  http://www.androidcn.net/wiki/index.php/Documentation

Android中文文档大部分已l完? 但是可能有不细节和不之处需要完善和修补.

感谢译的同?已经在文档里面加? 如果~少,误pL



W二阶段:h旉的同学进行review.

review阶段既然采用wiki上面形式. 希望review的同学可以联pAndroidCN理员和各版版主.

怿review阶段对同学理解Android可以有更快的理解和提? 阅读文档也是对Android理解之初?

所有在阅读文档的时?希望同学们不吝啬自己的一W之?对于未完全或译有误的地方进行涂?

怿大家可以先阅L?然后提出译中的不q行.

review 讨论区: http://www.androidcn.net/thread-119-1-1.html


地狱L(hellboys) 2007-12-05 16:42 发表评论
]]>
Ƣ迎讉KAndroid中国http://www.aygfsteel.com/hellboys/archive/2007/11/15/160794.html地狱L(hellboys)地狱L(hellboys)Thu, 15 Nov 2007 09:24:00 GMThttp://www.aygfsteel.com/hellboys/archive/2007/11/15/160794.htmlhttp://www.aygfsteel.com/hellboys/comments/160794.htmlhttp://www.aygfsteel.com/hellboys/archive/2007/11/15/160794.html#Feedback1http://www.aygfsteel.com/hellboys/comments/commentRss/160794.htmlhttp://www.aygfsteel.com/hellboys/services/trackbacks/160794.html
主页Qhttp://www.androidcn.net  阅读全文

地狱L(hellboys) 2007-11-15 17:24 发表评论
]]>
ActiveMQ4.1 +Spring2.0的POJO JMSҎ 扩展Q以更加实用Q基于ssQ??/title><link>http://www.aygfsteel.com/hellboys/archive/2007/04/05/108737.html</link><dc:creator>地狱L(hellboys)</dc:creator><author>地狱L(hellboys)</author><pubDate>Thu, 05 Apr 2007 08:55:00 GMT</pubDate><guid>http://www.aygfsteel.com/hellboys/archive/2007/04/05/108737.html</guid><wfw:comment>http://www.aygfsteel.com/hellboys/comments/108737.html</wfw:comment><comments>http://www.aygfsteel.com/hellboys/archive/2007/04/05/108737.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/hellboys/comments/commentRss/108737.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/hellboys/services/trackbacks/108737.html</trackback:ping><description><![CDATA[<br>一Q箋一Q说明一的可使用性?br><br> <div style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #eeeeee"><img src="http://www.aygfsteel.com/Images/OutliningIndicators/None.gif" align=top><span style="COLOR: #0000ff"><</span><span style="COLOR: #800000">amq:queue </span><span style="COLOR: #ff0000">id</span><span style="COLOR: #0000ff">="destination.report"</span><span style="COLOR: #ff0000">  physicalName</span><span style="COLOR: #0000ff">="active.jms.report"</span><span style="COLOR: #0000ff">/></span><span style="COLOR: #000000"><br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/None.gif" align=top>    </span><span style="COLOR: #0000ff"><</span><span style="COLOR: #800000">amq:queue </span><span style="COLOR: #ff0000">id</span><span style="COLOR: #0000ff">="destination.point"</span><span style="COLOR: #ff0000">  physicalName</span><span style="COLOR: #0000ff">="active.jms.point"</span><span style="COLOR: #0000ff">/></span></div> <br><font color=#800000>queue : 队列的名?for 刉?<br><br>感觉<font color=#0000ff>org.springframework.jms.listener.DefaultMessageListenerContainer 做的不好Q如果destination property能做一个可包含多个队列Qƈ且有选择性的messageListener好了,q样避免下面的监听的尴了。呵?/font><br> <div style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #eeeeee"><img src="http://www.aygfsteel.com/Images/OutliningIndicators/None.gif" align=top><span style="COLOR: #008000"><!--</span><span style="COLOR: #008000">  listener containerQMDP无需实现接口 </span><span style="COLOR: #008000">--></span><span style="COLOR: #000000"><br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/None.gif" align=top>    </span><span style="COLOR: #0000ff"><</span><span style="COLOR: #800000">bean </span><span style="COLOR: #ff0000">id</span><span style="COLOR: #0000ff">="fluxPerhourListenerContainer"</span><span style="COLOR: #ff0000"> class</span><span style="COLOR: #0000ff">="org.springframework.jms.listener.DefaultMessageListenerContainer"</span><span style="COLOR: #0000ff">></span><span style="COLOR: #000000">        <br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/None.gif" align=top>        </span><span style="COLOR: #0000ff"><</span><span style="COLOR: #800000">property </span><span style="COLOR: #ff0000">name</span><span style="COLOR: #0000ff">="connectionFactory"</span><span style="COLOR: #ff0000"> ref</span><span style="COLOR: #0000ff">="jmsConnectionFactory"</span><span style="COLOR: #0000ff">/></span><span style="COLOR: #000000"><br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/None.gif" align=top>        </span><span style="COLOR: #0000ff"><</span><span style="COLOR: #800000">property </span><span style="COLOR: #ff0000">name</span><span style="COLOR: #0000ff">="destination"</span><span style="COLOR: #ff0000"> ref</span><span style="COLOR: #0000ff">="destination.fluxPerhour"</span><span style="COLOR: #0000ff">/></span><span style="COLOR: #000000"><br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/None.gif" align=top>        </span><span style="COLOR: #0000ff"><</span><span style="COLOR: #800000">property </span><span style="COLOR: #ff0000">name</span><span style="COLOR: #0000ff">="messageListener"</span><span style="COLOR: #ff0000"> ref</span><span style="COLOR: #0000ff">="messageListener"</span><span style="COLOR: #0000ff">/></span><span style="COLOR: #000000"><br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/None.gif" align=top>    </span><span style="COLOR: #0000ff"></</span><span style="COLOR: #800000">bean</span><span style="COLOR: #0000ff">></span><span style="COLOR: #000000"><br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/None.gif" align=top>    </span><span style="COLOR: #0000ff"><</span><span style="COLOR: #800000">bean </span><span style="COLOR: #ff0000">id</span><span style="COLOR: #0000ff">="fluxPerDayListenerContainer"</span><span style="COLOR: #ff0000"> class</span><span style="COLOR: #0000ff">="org.springframework.jms.listener.DefaultMessageListenerContainer"</span><span style="COLOR: #0000ff">></span><span style="COLOR: #000000">        <br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/None.gif" align=top>        </span><span style="COLOR: #0000ff"><</span><span style="COLOR: #800000">property </span><span style="COLOR: #ff0000">name</span><span style="COLOR: #0000ff">="connectionFactory"</span><span style="COLOR: #ff0000"> ref</span><span style="COLOR: #0000ff">="jmsConnectionFactory"</span><span style="COLOR: #0000ff">/></span><span style="COLOR: #000000"><br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/None.gif" align=top>        </span><span style="COLOR: #0000ff"><</span><span style="COLOR: #800000">property </span><span style="COLOR: #ff0000">name</span><span style="COLOR: #0000ff">="destination"</span><span style="COLOR: #ff0000"> ref</span><span style="COLOR: #0000ff">="destination.fluxPerday"</span><span style="COLOR: #0000ff">/></span><span style="COLOR: #000000"><br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/None.gif" align=top>        </span><span style="COLOR: #0000ff"><</span><span style="COLOR: #800000">property </span><span style="COLOR: #ff0000">name</span><span style="COLOR: #0000ff">="messageListener"</span><span style="COLOR: #ff0000"> ref</span><span style="COLOR: #0000ff">="messageListener"</span><span style="COLOR: #0000ff">/></span><span style="COLOR: #000000"><br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/None.gif" align=top>    </span><span style="COLOR: #0000ff"></</span><span style="COLOR: #800000">bean</span><span style="COLOR: #0000ff">></span><span style="COLOR: #000000"><br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/None.gif" align=top><br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/None.gif" align=top></span><span style="COLOR: #0000ff"><</span><span style="COLOR: #800000">bean </span><span style="COLOR: #ff0000">id</span><span style="COLOR: #0000ff">="reportPerdayProducer"</span><span style="COLOR: #ff0000"> class</span><span style="COLOR: #0000ff">="com.jms.ReportPerdayProducer"</span><span style="COLOR: #0000ff">></span><span style="COLOR: #000000"><br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/None.gif" align=top>        </span><span style="COLOR: #0000ff"><</span><span style="COLOR: #800000">property </span><span style="COLOR: #ff0000">name</span><span style="COLOR: #0000ff">="template"</span><span style="COLOR: #ff0000"> ref</span><span style="COLOR: #0000ff">="jmsTemplate"</span><span style="COLOR: #0000ff">/></span><span style="COLOR: #000000"><br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/None.gif" align=top>        </span><span style="COLOR: #0000ff"><</span><span style="COLOR: #800000">property </span><span style="COLOR: #ff0000">name</span><span style="COLOR: #0000ff">="destination"</span><span style="COLOR: #ff0000"> ref</span><span style="COLOR: #0000ff">="destination.report"</span><span style="COLOR: #0000ff">/></span><span style="COLOR: #000000"><br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/None.gif" align=top>    </span><span style="COLOR: #0000ff"></</span><span style="COLOR: #800000">bean</span><span style="COLOR: #0000ff">></span><span style="COLOR: #000000"><br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/None.gif" align=top>    </span><span style="COLOR: #0000ff"><</span><span style="COLOR: #800000">bean </span><span style="COLOR: #ff0000">id</span><span style="COLOR: #0000ff">="pointProducer"</span><span style="COLOR: #ff0000"> class</span><span style="COLOR: #0000ff">="com.jms.PointProducer"</span><span style="COLOR: #0000ff">></span><span style="COLOR: #000000"><br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/None.gif" align=top>        </span><span style="COLOR: #0000ff"><</span><span style="COLOR: #800000">property </span><span style="COLOR: #ff0000">name</span><span style="COLOR: #0000ff">="template"</span><span style="COLOR: #ff0000"> ref</span><span style="COLOR: #0000ff">="jmsTemplate"</span><span style="COLOR: #0000ff">/></span><span style="COLOR: #000000"><br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/None.gif" align=top>        </span><span style="COLOR: #0000ff"><</span><span style="COLOR: #800000">property </span><span style="COLOR: #ff0000">name</span><span style="COLOR: #0000ff">="destination"</span><span style="COLOR: #ff0000"> ref</span><span style="COLOR: #0000ff">="destination.point"</span><span style="COLOR: #0000ff">/></span><span style="COLOR: #000000"><br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/None.gif" align=top>    </span><span style="COLOR: #0000ff"></</span><span style="COLOR: #800000">bean</span><span style="COLOR: #0000ff">></span></div> <br><span>producer不能重用Q因为sendC同destinationQ所有没办法重用?font color=#000000>如果能对producer做一个默认统一的封装就好了. 但是DefaultProducer.那么应该注意队列U程安全斚wQ目前没有什么好的想法,采用通用一些的办法Q不qxml和代码稍多一?<br></font></span></font><br><br>然后q?前面文章一 里面的内容了Q非常简ѝ?br> <div style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #eeeeee"><span style="COLOR: #000000"><img src="http://www.aygfsteel.com/Images/OutliningIndicators/None.gif" align=top> <div style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #eeeeee"><img src="http://www.aygfsteel.com/Images/OutliningIndicators/None.gif" align=top><span style="COLOR: #008000"><!--</span><span style="COLOR: #008000">  Message Driven POJO (MDP) </span><span style="COLOR: #008000">--></span><span style="COLOR: #000000"><br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/None.gif" align=top>    </span><span style="COLOR: #0000ff"><</span><span style="COLOR: #800000">bean </span><span style="COLOR: #ff0000">id</span><span style="COLOR: #0000ff">="messageListener"</span><span style="COLOR: #ff0000"> class</span><span style="COLOR: #0000ff">="org.springframework.jms.listener.adapter.MessageListenerAdapter"</span><span style="COLOR: #0000ff">></span><span style="COLOR: #000000"><br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/None.gif" align=top></span><span style="COLOR: #008000"><!--</span><span style="COLOR: #008000">  may be other method </span><span style="COLOR: #008000">--></span><span style="COLOR: #000000"><br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/None.gif" align=top>        </span><span style="COLOR: #0000ff"><</span><span style="COLOR: #800000">constructor-arg</span><span style="COLOR: #0000ff">></span><span style="COLOR: #000000"><br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/None.gif" align=top>            </span><span style="COLOR: #0000ff"><</span><span style="COLOR: #800000">bean </span><span style="COLOR: #ff0000">class</span><span style="COLOR: #0000ff">="com..jms.MessageConsumerAdapter"</span><span style="COLOR: #ff0000"> </span><span style="COLOR: #0000ff">></span><span style="COLOR: #000000"><br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/None.gif" align=top>                </span><span style="COLOR: #008000"><!--业务接口/业务门面--></span><span style="COLOR: #000000"><br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/None.gif" align=top>                </span><span style="COLOR: #0000ff"><</span><span style="COLOR: #800000">property </span><span style="COLOR: #ff0000">name</span><span style="COLOR: #0000ff">="transfersManager"</span><span style="COLOR: #ff0000"> ref</span><span style="COLOR: #0000ff">="transfersManager"</span><span style="COLOR: #0000ff">/></span><span style="COLOR: #000000"><img src="http://www.aygfsteel.com/Images/OutliningIndicators/None.gif" align=top>                <br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/None.gif" align=top>            </span><span style="COLOR: #0000ff"></</span><span style="COLOR: #800000">bean</span><span style="COLOR: #0000ff">></span><span style="COLOR: #000000">            <br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/None.gif" align=top>        </span><span style="COLOR: #0000ff"></</span><span style="COLOR: #800000">constructor-arg</span><span style="COLOR: #0000ff">></span><span style="COLOR: #000000"><br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/None.gif" align=top>        </span><span style="COLOR: #008000"><!--</span><span style="COLOR: #008000">  may be other method </span><span style="COLOR: #008000">--></span><span style="COLOR: #000000"><br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/None.gif" align=top>        </span><span style="COLOR: #0000ff"><</span><span style="COLOR: #800000">property </span><span style="COLOR: #ff0000">name</span><span style="COLOR: #0000ff">="defaultListenerMethod"</span><span style="COLOR: #ff0000"> value</span><span style="COLOR: #0000ff">="receive"</span><span style="COLOR: #0000ff">/></span><span style="COLOR: #000000"><br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/None.gif" align=top>        </span><span style="COLOR: #008000"><!--</span><span style="COLOR: #008000"> custom MessageConverter define </span><span style="COLOR: #008000">--></span><span style="COLOR: #000000"><br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/None.gif" align=top>        </span><span style="COLOR: #0000ff"><</span><span style="COLOR: #800000">property </span><span style="COLOR: #ff0000">name</span><span style="COLOR: #0000ff">="messageConverter"</span><span style="COLOR: #ff0000"> ref</span><span style="COLOR: #0000ff">="messageConverter"</span><span style="COLOR: #0000ff">/></span><span style="COLOR: #000000"><br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/None.gif" align=top>    </span><span style="COLOR: #0000ff"></</span><span style="COLOR: #800000">bean</span><span style="COLOR: #0000ff">></span><span style="COLOR: #000000">    </span></div> </span><span style="COLOR: #008000"><!--</span><span style="COLOR: #008000">  Holder Message converter  </span><span style="COLOR: #008000">--></span><span style="COLOR: #000000"><br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/None.gif" align=top>    </span><span style="COLOR: #0000ff"><</span><span style="COLOR: #800000">bean </span><span style="COLOR: #ff0000">id</span><span style="COLOR: #0000ff">="messageConverter"</span><span style="COLOR: #ff0000"> class</span><span style="COLOR: #0000ff">="com.jms.CoverterHolder"</span><span style="COLOR: #0000ff">></span><span style="COLOR: #000000"><br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/None.gif" align=top>        </span><span style="COLOR: #0000ff"><</span><span style="COLOR: #800000">property </span><span style="COLOR: #ff0000">name</span><span style="COLOR: #0000ff">="defaultMessageConverter"</span><span style="COLOR: #0000ff">></span><span style="COLOR: #000000"><br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/None.gif" align=top>            </span><span style="COLOR: #0000ff"><</span><span style="COLOR: #800000">bean </span><span style="COLOR: #ff0000">class</span><span style="COLOR: #0000ff">="com.jms.DefaultMessageConverter"</span><span style="COLOR: #0000ff">/></span><span style="COLOR: #000000"><br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/None.gif" align=top>        </span><span style="COLOR: #0000ff"></</span><span style="COLOR: #800000">property</span><span style="COLOR: #0000ff">></span><span style="COLOR: #000000"><br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/None.gif" align=top>    </span><span style="COLOR: #0000ff"></</span><span style="COLOR: #800000">bean</span><span style="COLOR: #0000ff">></span><span style="COLOR: #000000"><br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/None.gif" align=top><br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/None.gif" align=top><br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/None.gif" align=top></span><span style="COLOR: #008000"><!--</span><span style="COLOR: #008000">  Spring JmsTemplate config </span><span style="COLOR: #008000">--></span><span style="COLOR: #000000"><br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/None.gif" align=top>    </span><span style="COLOR: #0000ff"><</span><span style="COLOR: #800000">bean </span><span style="COLOR: #ff0000">id</span><span style="COLOR: #0000ff">="jmsTemplate"</span><span style="COLOR: #ff0000"> class</span><span style="COLOR: #0000ff">="org.springframework.jms.core.JmsTemplate"</span><span style="COLOR: #0000ff">></span><span style="COLOR: #000000"><br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/None.gif" align=top>        </span><span style="COLOR: #0000ff"><</span><span style="COLOR: #800000">property </span><span style="COLOR: #ff0000">name</span><span style="COLOR: #0000ff">="connectionFactory"</span><span style="COLOR: #0000ff">></span><span style="COLOR: #000000"><br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/None.gif" align=top>            </span><span style="COLOR: #008000"><!--</span><span style="COLOR: #008000">  lets wrap in a pool to avoid creating a connection per send </span><span style="COLOR: #008000">--></span><span style="COLOR: #000000"><br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/None.gif" align=top>            </span><span style="COLOR: #0000ff"><</span><span style="COLOR: #800000">bean </span><span style="COLOR: #ff0000">class</span><span style="COLOR: #0000ff">="org.springframework.jms.connection.SingleConnectionFactory"</span><span style="COLOR: #0000ff">></span><span style="COLOR: #000000"><br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/None.gif" align=top>                </span><span style="COLOR: #0000ff"><</span><span style="COLOR: #800000">property </span><span style="COLOR: #ff0000">name</span><span style="COLOR: #0000ff">="targetConnectionFactory"</span><span style="COLOR: #ff0000"> ref</span><span style="COLOR: #0000ff">="jmsConnectionFactory"</span><span style="COLOR: #0000ff">/></span><span style="COLOR: #000000"><br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/None.gif" align=top>            </span><span style="COLOR: #0000ff"></</span><span style="COLOR: #800000">bean</span><span style="COLOR: #0000ff">></span><span style="COLOR: #000000"><br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/None.gif" align=top>        </span><span style="COLOR: #0000ff"></</span><span style="COLOR: #800000">property</span><span style="COLOR: #0000ff">></span><span style="COLOR: #000000"><br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/None.gif" align=top>        </span><span style="COLOR: #0000ff"><</span><span style="COLOR: #800000">property </span><span style="COLOR: #ff0000">name</span><span style="COLOR: #0000ff">="messageConverter"</span><span style="COLOR: #ff0000"> ref</span><span style="COLOR: #0000ff">="messageConverter"</span><span style="COLOR: #0000ff">/></span><span style="COLOR: #000000"><br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/None.gif" align=top>    </span><span style="COLOR: #0000ff"></</span><span style="COLOR: #800000">bean</span><span style="COLOR: #0000ff">></span></div>  <br><br><br>?单元试有时加蝲 activemq的问?br>1.q个可能和spring版本有关p,请采用比较稳定的版本。例如apache-activemq官方包里面提供的.<br>2.选择 xml解析的问题,例如 <br> <div style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #eeeeee"><img src="http://www.aygfsteel.com/Images/OutliningIndicators/None.gif" align=top><span style="COLOR: #0000ff">public</span><span style="COLOR: #000000"> </span><span style="COLOR: #0000ff">abstract</span><span style="COLOR: #000000"> </span><span style="COLOR: #0000ff">class</span><span style="COLOR: #000000"> SpringManagerTestCase </span><span style="COLOR: #0000ff">extends</span><span style="COLOR: #000000"><br><img id=Codehighlighter1_104_807_Open_Image onclick="this.style.display='none'; Codehighlighter1_104_807_Open_Text.style.display='none'; Codehighlighter1_104_807_Closed_Image.style.display='inline'; Codehighlighter1_104_807_Closed_Text.style.display='inline';" src="http://www.aygfsteel.com/Images/OutliningIndicators/ExpandedBlockStart.gif" align=top><img id=Codehighlighter1_104_807_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_104_807_Closed_Text.style.display='none'; Codehighlighter1_104_807_Open_Image.style.display='inline'; Codehighlighter1_104_807_Open_Text.style.display='inline';" src="http://www.aygfsteel.com/Images/OutliningIndicators/ContractedBlock.gif" align=top>        AbstractTransactionalDataSourceSpringContextTests </span><span id=Codehighlighter1_104_807_Closed_Text style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"><img src="http://www.aygfsteel.com/Images/dot.gif"></span><span id=Codehighlighter1_104_807_Open_Text><span style="COLOR: #000000">{<br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/InBlock.gif" align=top><br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/InBlock.gif" align=top>    </span><span style="COLOR: #0000ff">public</span><span style="COLOR: #000000"> SpringManagerTestCase()<br><img id=Codehighlighter1_140_547_Open_Image onclick="this.style.display='none'; Codehighlighter1_140_547_Open_Text.style.display='none'; Codehighlighter1_140_547_Closed_Image.style.display='inline'; Codehighlighter1_140_547_Closed_Text.style.display='inline';" src="http://www.aygfsteel.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif" align=top><img id=Codehighlighter1_140_547_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_140_547_Closed_Text.style.display='none'; Codehighlighter1_140_547_Open_Image.style.display='inline'; Codehighlighter1_140_547_Open_Text.style.display='inline';" src="http://www.aygfsteel.com/Images/OutliningIndicators/ContractedSubBlock.gif" align=top>    </span><span id=Codehighlighter1_140_547_Closed_Text style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"><img src="http://www.aygfsteel.com/Images/dot.gif"></span><span id=Codehighlighter1_140_547_Open_Text><span style="COLOR: #000000">{<br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/InBlock.gif" align=top>        System.setProperty(</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">javax.xml.parsers.DocumentBuilderFactory</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">, </span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">org.apache.xerces.jaxp.DocumentBuilderFactoryImpl</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">);<br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/InBlock.gif" align=top>        System.setProperty(</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">javax.xml.parsers.SAXParserFactory</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">, </span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">org.apache.xerces.jaxp.SAXParserFactoryImpl</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">);<br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/InBlock.gif" align=top>        System.setProperty(</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">javax.xml.transform.TransformerFactory</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">, </span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">org.apache.xalan.processor.TransformerFactoryImpl</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">);<br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/InBlock.gif" align=top>        <br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/InBlock.gif" align=top>        setDependencyCheck(</span><span style="COLOR: #0000ff">false</span><span style="COLOR: #000000">);<br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/InBlock.gif" align=top>        setDefaultRollback(</span><span style="COLOR: #0000ff">false</span><span style="COLOR: #000000">);<br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif" align=top>    }</span></span><span style="COLOR: #000000"><br><img id=Codehighlighter1_550_680_Open_Image onclick="this.style.display='none'; Codehighlighter1_550_680_Open_Text.style.display='none'; Codehighlighter1_550_680_Closed_Image.style.display='inline'; Codehighlighter1_550_680_Closed_Text.style.display='inline';" src="http://www.aygfsteel.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif" align=top><img id=Codehighlighter1_550_680_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_550_680_Closed_Text.style.display='none'; Codehighlighter1_550_680_Open_Image.style.display='inline'; Codehighlighter1_550_680_Open_Text.style.display='inline';" src="http://www.aygfsteel.com/Images/OutliningIndicators/ContractedSubBlock.gif" align=top>    </span><span id=Codehighlighter1_550_680_Closed_Text style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff">/** */</span><span id=Codehighlighter1_550_680_Open_Text><span style="COLOR: #008000">/**</span><span style="COLOR: #008000"><br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/InBlock.gif" align=top>     * 配置Spring的配|文件的Ҏ?br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/InBlock.gif" align=top>     * </span><span style="COLOR: #808080">@see</span><span style="COLOR: #008000"> org.springframework.test.AbstractDependencyInjectionSpringContextTests#getConfigLocations()<br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif" align=top>     </span><span style="COLOR: #008000">*/</span></span><span style="COLOR: #000000"><br><img id=Codehighlighter1_723_804_Open_Image onclick="this.style.display='none'; Codehighlighter1_723_804_Open_Text.style.display='none'; Codehighlighter1_723_804_Closed_Image.style.display='inline'; Codehighlighter1_723_804_Closed_Text.style.display='inline';" src="http://www.aygfsteel.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif" align=top><img id=Codehighlighter1_723_804_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_723_804_Closed_Text.style.display='none'; Codehighlighter1_723_804_Open_Image.style.display='inline'; Codehighlighter1_723_804_Open_Text.style.display='inline';" src="http://www.aygfsteel.com/Images/OutliningIndicators/ContractedSubBlock.gif" align=top>    </span><span style="COLOR: #0000ff">protected</span><span style="COLOR: #000000"> String[] getConfigLocations() </span><span id=Codehighlighter1_723_804_Closed_Text style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"><img src="http://www.aygfsteel.com/Images/dot.gif"></span><span id=Codehighlighter1_723_804_Open_Text><span style="COLOR: #000000">{<br><img id=Codehighlighter1_747_800_Open_Image onclick="this.style.display='none'; Codehighlighter1_747_800_Open_Text.style.display='none'; Codehighlighter1_747_800_Closed_Image.style.display='inline'; Codehighlighter1_747_800_Closed_Text.style.display='inline';" src="http://www.aygfsteel.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif" align=top><img id=Codehighlighter1_747_800_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_747_800_Closed_Text.style.display='none'; Codehighlighter1_747_800_Open_Image.style.display='inline'; Codehighlighter1_747_800_Open_Text.style.display='inline';" src="http://www.aygfsteel.com/Images/OutliningIndicators/ContractedSubBlock.gif" align=top>        </span><span style="COLOR: #0000ff">return</span><span style="COLOR: #000000"> </span><span style="COLOR: #0000ff">new</span><span style="COLOR: #000000"> String[] </span><span id=Codehighlighter1_747_800_Closed_Text style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"><img src="http://www.aygfsteel.com/Images/dot.gif"></span><span id=Codehighlighter1_747_800_Open_Text><span style="COLOR: #000000">{</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">classpath:applicationContext-activemq-embedded.xml</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">}</span></span><span style="COLOR: #000000">;<br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif" align=top>    }</span></span><span style="COLOR: #000000"><br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/InBlock.gif" align=top><br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/ExpandedBlockEnd.gif" align=top>}</span></span></div> <br><br>?为特D的应用服务器,如resin Q也要选择特定的xml解析?br>在web.xml中配|增? <div style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #eeeeee"><img src="http://www.aygfsteel.com/Images/OutliningIndicators/None.gif" align=top><span style="COLOR: #0000ff"><</span><span style="COLOR: #800000">web-app</span><span style="COLOR: #0000ff">></span><span style="COLOR: #000000"><br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/None.gif" align=top>  </span><span style="COLOR: #008000"><!--</span><span style="COLOR: #008000"><br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/None.gif" align=top>      In order to be able to compatiable with Resin 2.1.x and 3.0.x,<br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/None.gif" align=top>      both XML and XSLT have to be replaced.<br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/None.gif" align=top>      If only xalan is included, Resin 2.1.x will fail but not 3.0.x.<br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/None.gif" align=top>      Therefore the best way is to use the compatiable version of the<br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/None.gif" align=top>      XML parser ans XSLT.<br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/None.gif" align=top>       - Please refere to the following link for more detailed information.<br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/None.gif" align=top>       - http://www.caucho.com/resin-3.0/xml/jaxp.xtp<br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/None.gif" align=top>  </span><span style="COLOR: #008000">--></span><span style="COLOR: #000000"><br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/None.gif" align=top>  </span><span style="COLOR: #008000"><!--</span><span style="COLOR: #008000"> xml </span><span style="COLOR: #008000">--></span><span style="COLOR: #000000"><br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/None.gif" align=top>  </span><span style="COLOR: #0000ff"><</span><span style="COLOR: #800000">system-property </span><span style="COLOR: #ff0000">javax.xml.parsers.DocumentBuilderFactory</span><span style="COLOR: #0000ff">=<br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/None.gif" align=top>               "org.apache.xerces.jaxp.DocumentBuilderFactoryImpl"</span><span style="COLOR: #0000ff">/></span><span style="COLOR: #000000"><br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/None.gif" align=top>  </span><span style="COLOR: #0000ff"><</span><span style="COLOR: #800000">system-property </span><span style="COLOR: #ff0000">javax.xml.parsers.SAXParserFactory</span><span style="COLOR: #0000ff">=<br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/None.gif" align=top>               "org.apache.xerces.jaxp.SAXParserFactoryImpl"</span><span style="COLOR: #0000ff">/></span><span style="COLOR: #000000"><br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/None.gif" align=top>  </span><span style="COLOR: #008000"><!--</span><span style="COLOR: #008000">  xslt </span><span style="COLOR: #008000">--></span><span style="COLOR: #000000"><br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/None.gif" align=top>  </span><span style="COLOR: #0000ff"><</span><span style="COLOR: #800000">system-property </span><span style="COLOR: #ff0000">javax.xml.transform.TransformerFactory</span><span style="COLOR: #0000ff">=<br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/None.gif" align=top>               "org.apache.xalan.processor.TransformerFactoryImpl"</span><span style="COLOR: #0000ff">/></span><span style="COLOR: #000000"><br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/None.gif" align=top><br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/None.gif" align=top><img src="http://www.aygfsteel.com/Images/dot.gif"><img src="http://www.aygfsteel.com/Images/dot.gif"><br><img src="http://www.aygfsteel.com/Images/OutliningIndicators/None.gif" align=top></span><span style="COLOR: #0000ff"></</span><span style="COLOR: #800000">web-app</span><span style="COLOR: #0000ff">></span></div> <br><br><br>以上的以全部在实施中试通过q且q行。大家可以方向用和理解。如有疑问,怺交流.<br> <img src ="http://www.aygfsteel.com/hellboys/aggbug/108737.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/hellboys/" target="_blank">地狱L(hellboys)</a> 2007-04-05 16:55 <a href="http://www.aygfsteel.com/hellboys/archive/2007/04/05/108737.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>ActiveMQ4.1 +Spring2.0的POJO JMSҎ 扩展Q以更加实用Q基于ssQ?/title><link>http://www.aygfsteel.com/hellboys/archive/2007/04/01/107834.html</link><dc:creator>地狱L(hellboys)</dc:creator><author>地狱L(hellboys)</author><pubDate>Sun, 01 Apr 2007 13:56:00 GMT</pubDate><guid>http://www.aygfsteel.com/hellboys/archive/2007/04/01/107834.html</guid><wfw:comment>http://www.aygfsteel.com/hellboys/comments/107834.html</wfw:comment><comments>http://www.aygfsteel.com/hellboys/archive/2007/04/01/107834.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/hellboys/comments/commentRss/107834.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/hellboys/services/trackbacks/107834.html</trackback:ping><description><![CDATA[     摘要:   说明Q?本文q基础说明文章Q如无基Q请先参阅:1. http://wiki.springside.org.cn/display/springside/ActiveMQ2. http://wiki.springside.org.cn/display/springside/ActiveMQ-part2仅以springside-2.0-RC1版本扩展 ׃为每个POJOcd现自?..  <a href='http://www.aygfsteel.com/hellboys/archive/2007/04/01/107834.html'>阅读全文</a><img src ="http://www.aygfsteel.com/hellboys/aggbug/107834.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/hellboys/" target="_blank">地狱L(hellboys)</a> 2007-04-01 21:56 <a href="http://www.aygfsteel.com/hellboys/archive/2007/04/01/107834.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss> <footer> <div class="friendship-link"> <a href="http://www.aygfsteel.com/" title="狠狠久久亚洲欧美专区_中文字幕亚洲综合久久202_国产精品亚洲第五区在线_日本免费网站视频">狠狠久久亚洲欧美专区_中文字幕亚洲综合久久202_国产精品亚洲第五区在线_日本免费网站视频</a> </div> </footer> վ֩ģ壺 <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank">ͤ</a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank">ˮ</a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank">ԭ</a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank">̨</a>| <a href="http://" target="_blank">Ȫ</a>| <a href="http://" target="_blank">Ϫ</a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank">ͻȪ</a>| <a href="http://" target="_blank">ֳ</a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank">޵</a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank">ԭ</a>| <a href="http://" target="_blank">Ϲ</a>| <a href="http://" target="_blank">׼</a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank">̨</a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank">ͼľ</a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank">Ű</a>| <script> (function(){ var bp = document.createElement('script'); var curProtocol = window.location.protocol.split(':')[0]; if (curProtocol === 'https') { bp.src = 'https://zz.bdstatic.com/linksubmit/push.js'; } else { bp.src = 'http://push.zhanzhang.baidu.com/push.js'; } var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(bp, s); })(); </script> </body>