锘??xml version="1.0" encoding="utf-8" standalone="yes"?>邻居大乳一区二区三区,亚洲草久电影,成年人免费在线视频http://www.aygfsteel.com/wansong/category/45985.htmlwansongzh-cnMon, 12 Dec 2011 01:35:32 GMTMon, 12 Dec 2011 01:35:32 GMT60鍒嗗竷寮忔暟鎹祦鍒嗘瀽妗嗘灦http://www.aygfsteel.com/wansong/articles/365835.htmlw@ns0ngw@ns0ngThu, 08 Dec 2011 01:38:00 GMThttp://www.aygfsteel.com/wansong/articles/365835.htmlhttp://www.aygfsteel.com/wansong/comments/365835.htmlhttp://www.aygfsteel.com/wansong/articles/365835.html#Feedback0http://www.aygfsteel.com/wansong/comments/commentRss/365835.htmlhttp://www.aygfsteel.com/wansong/services/trackbacks/365835.htmlhttp://blog.csdn.net/cenwenchu79/article/details/7050281

w@ns0ng 2011-12-08 09:38 鍙戣〃璇勮
]]>
nosql hadoophttp://www.aygfsteel.com/wansong/articles/363528.htmlw@ns0ngw@ns0ngFri, 11 Nov 2011 07:08:00 GMThttp://www.aygfsteel.com/wansong/articles/363528.htmlhttp://www.aygfsteel.com/wansong/comments/363528.htmlhttp://www.aygfsteel.com/wansong/articles/363528.html#Feedback0http://www.aygfsteel.com/wansong/comments/commentRss/363528.htmlhttp://www.aygfsteel.com/wansong/services/trackbacks/363528.htmlhttp://www.infoq.com/cn/news/2011/01/nosql-why

http://www.infoq.com/cn/author/瀛欑珛;jsessionid=3E8C088BDE4FC6B8AEF843663EB5CD61


http://www.infoq.com/cn/articles/hadoop-process-develop

w@ns0ng 2011-11-11 15:08 鍙戣〃璇勮
]]>
jboss JMS clustering http://www.aygfsteel.com/wansong/articles/358737.htmlw@ns0ngw@ns0ngThu, 15 Sep 2011 11:48:00 GMThttp://www.aygfsteel.com/wansong/articles/358737.htmlhttp://www.aygfsteel.com/wansong/comments/358737.htmlhttp://www.aygfsteel.com/wansong/articles/358737.html#Feedback0http://www.aygfsteel.com/wansong/comments/commentRss/358737.htmlhttp://www.aygfsteel.com/wansong/services/trackbacks/358737.htmlhttp://community.jboss.org/wiki/JMSClusteringByExample

http://community.jboss.org/wiki/JBossHA

http://docs.jboss.org/jbossas/getting_started/v4/html/mdb.html
http://carter.zhmy.com/archives/2007/112108.html


Computer A:
$ cd $JBOSS_HOME/bin
$ ./run.sh -c all -b 192.168.0.143 -Djboss.messaging.ServerPeerID=1

Computer B:
$ cd $JBOSS_HOME/bin
$ ./run.sh -c all -b 192.168.0.210 -Djboss.messaging.ServerPeerID=2


It is necesary to give an ID to each server and this is accomplished with this directive:
-Djboss.messaging.ServerPeerID

When you start the jboss on computer A, you should see the logs (server.log) telling you that there is one node ready and listening, and once you start the jboss on computer B, on the log will appear the two nodes, the two IP's ready to consume messages.

5) Now it's time to send a Message to the Queue. To accomplish this it's necessary to change the connection factory to "ClusteredConnectionFactory" (JMSDispatcher.java - See the code below).
Also on the jndi.properties (if you are using the default InitialContext) file it's necessary to add the two computers ip's separated by comma to the java.naming.provider.url property. (In my case a create a Properties variable and I set all the necessary properties, JMSDispatcher.java - see the code below).

 

java.naming.provider.url=192.168.0.143:1099,192.168.0.210:1099

The client that I wrote is a web application, that consist in one index.jsp page, which contains a form that prompts you for the name of the queue, the type of messaging (Queue or Topic), the server ip and port, how many times it will send the message and the actual message to be sent; also the web application has a Servlet (JMSClusteredClient.java - see code below) that receives the postback and helper class (JMSDispatcher.java - see code below) that sends the message to the jboss servers.  You can to deploy it in any computer. In my case I deployed it on the Computer A. And you can access it through this URL: http://192.168.0.143:8080/JMSWeb/ (just modify the IP where the client war was deployed).If you notice (on the index.jsp - code below) I've already put some default values that reflects the name of the Queue, and the IP's of my two computers. Now, If you increment the number of times that the message will be sent (maybe a 10) and fill out the message box, and click "Send" you should see on the two servers some of the messages being consumed by the MDB.



w@ns0ng 2011-09-15 19:48 鍙戣〃璇勮
]]>
jboss clustering @Clusteredhttp://www.aygfsteel.com/wansong/articles/358140.htmlw@ns0ngw@ns0ngTue, 06 Sep 2011 12:10:00 GMThttp://www.aygfsteel.com/wansong/articles/358140.htmlhttp://www.aygfsteel.com/wansong/comments/358140.htmlhttp://www.aygfsteel.com/wansong/articles/358140.html#Feedback0http://www.aygfsteel.com/wansong/comments/commentRss/358140.htmlhttp://www.aygfsteel.com/wansong/services/trackbacks/358140.html鏃犵姸鎬佺殑session bean錛屾敞鎰忔爣娉ˊClustered鏄繀欏葷殑錛屽鏋滀笉榪涜鏍囨敞閭d箞榪欎釜session bean灝嗕笉浼氳闆嗙兢銆傚悓鏍鋒湁鐘舵佺殑session bean鐨勯泦緹ゅ0鏄庝篃鏄繖鏍風殑


java.lang.IllegalArgumentException: Cannot start post office since there is already a post office in the cluster with the same node id (0). Are you sure you have given each node a unique node id during installation?

If you want to change the ServerPeerID, edit :
server/<configuration (all/default/production)>/deploy/jboss-messaging.sar/messaging-service.xml
and change ServerPeerID from 0 to something unique.
The other suggestion I'd make is that you track down the other SOA platform installation. The IP address of that cluster node should be in your server.log close to the "number of cluster members" statement.


http://topic.csdn.net/u/20090616/20/2f9e5faf-b99b-446b-94b5-41e18be05892.html
http://blog.knowsky.com/187125.htm

http://blog.csdn.net/woohooli/article/details/4078748


w@ns0ng 2011-09-06 20:10 鍙戣〃璇勮
]]>
jboss 5,6鐗堟湰 榪滅▼璁塊棶錛?鍚姩鏄渶瑕?鍔?-b iphttp://www.aygfsteel.com/wansong/articles/357300.htmlw@ns0ngw@ns0ngThu, 25 Aug 2011 10:06:00 GMThttp://www.aygfsteel.com/wansong/articles/357300.htmlhttp://www.aygfsteel.com/wansong/comments/357300.htmlhttp://www.aygfsteel.com/wansong/articles/357300.html#Feedback0http://www.aygfsteel.com/wansong/comments/commentRss/357300.htmlhttp://www.aygfsteel.com/wansong/services/trackbacks/357300.htmlhttp://ljhzzyx.blog.163.com/blog/static/38380312201063010434630/

w@ns0ng 2011-08-25 18:06 鍙戣〃璇勮
]]>
JGroup UDP鍜孴CP涓ょ鏂瑰紡http://www.aygfsteel.com/wansong/articles/357232.htmlw@ns0ngw@ns0ngThu, 25 Aug 2011 00:18:00 GMThttp://www.aygfsteel.com/wansong/articles/357232.htmlhttp://www.aygfsteel.com/wansong/comments/357232.htmlhttp://www.aygfsteel.com/wansong/articles/357232.html#Feedback0http://www.aygfsteel.com/wansong/comments/commentRss/357232.htmlhttp://www.aygfsteel.com/wansong/services/trackbacks/357232.htmlJGroup鍙互鍩轟簬TCP鍗忚鏉ュ疄鐜版秷鎭箍鎾紝涔熷彲浠ラ氳繃UDP鏂瑰紡鏉ュ箍鎾秷鎭紝鍒╁紛涓嶈█鑰屽柣錛孴CP鍙潬錛屼絾鏄唬浠峰ぇ錛屾ц兘娌℃湁UDP鏉ョ殑 濂斤紝UDP閫熷害蹇紝浠d環灝忥紝浣嗘槸娑堟伅鐨勪涪澶辯巼浠ュ強鏃犲簭鎬ф湁鐫寰堝ぇ鐨勯檺鍒躲備絾鏄疛Group鍦║DP鏂瑰紡鐨勫熀紜涓婏紝澧炲姞浜嗗崗璁爤鐨勯厤緗紝閫氳繃閰嶇疆涓婂眰鐨勫崗 璁紝鍙互淇濊瘉娑堟伅鐨勯噸鍙戯紝澶у寘浣撶殑鍒嗚В錛堝悓鏃朵繚璇佹秷鎭寘浣撻『搴忥級錛岀粍鍐呮満鍣ㄧ殑鐘舵佹嫻嬬瓑鍔熻兘銆?br />
http://www.javachen.com/2011/06/jgroups-introduction-and-configruation/

http://blog.csdn.net/lnfszl/article/details/5747427

http://docs.jboss.org/jbossas/jboss4guide/r4/html/jbosscache.chapt.html


w@ns0ng 2011-08-25 08:18 鍙戣〃璇勮
]]>
java 鐩戞帶 cactihttp://www.aygfsteel.com/wansong/articles/351429.htmlw@ns0ngw@ns0ngTue, 31 May 2011 06:11:00 GMThttp://www.aygfsteel.com/wansong/articles/351429.htmlhttp://www.aygfsteel.com/wansong/comments/351429.htmlhttp://www.aygfsteel.com/wansong/articles/351429.html#Feedback0http://www.aygfsteel.com/wansong/comments/commentRss/351429.htmlhttp://www.aygfsteel.com/wansong/services/trackbacks/351429.html

w@ns0ng 2011-05-31 14:11 鍙戣〃璇勮
]]>
jboss 闆嗙兢http://www.aygfsteel.com/wansong/articles/343279.htmlw@ns0ngw@ns0ngThu, 20 Jan 2011 10:04:00 GMThttp://www.aygfsteel.com/wansong/articles/343279.htmlhttp://www.aygfsteel.com/wansong/comments/343279.htmlhttp://www.aygfsteel.com/wansong/articles/343279.html#Feedback0http://www.aygfsteel.com/wansong/comments/commentRss/343279.htmlhttp://www.aygfsteel.com/wansong/services/trackbacks/343279.html
Jboss 鎻愬嚭 綺樼潃session(Sticky session)姒傚康錛岃緗負sticky session鍚庯紝鏉ヨ嚜鍚屼竴涓猧p鐨勮姹傚皢琚彂閫佸埌鍚屼竴涓狫boss鑺傜偣錛屼粠鑰屼繚璇乻ession浣跨敤鐨勮繛緇с傚鏋滃簲鐢ㄦ病鏈変嬌鐢╯ession錛屽垯鍙互浣跨敤闈炵矘鐫session闆嗙兢銆傝繖鏍鳳紝璐熻澆鍒嗗竷鏇翠負鍚堢悊銆?br />
jboss闆嗙兢session澶嶅埗

w@ns0ng 2011-01-20 18:04 鍙戣〃璇勮
]]>
jboss cache clustinghttp://www.aygfsteel.com/wansong/articles/342811.htmlw@ns0ngw@ns0ngWed, 12 Jan 2011 00:40:00 GMThttp://www.aygfsteel.com/wansong/articles/342811.htmlhttp://www.aygfsteel.com/wansong/comments/342811.htmlhttp://www.aygfsteel.com/wansong/articles/342811.html#Feedback0http://www.aygfsteel.com/wansong/comments/commentRss/342811.htmlhttp://www.aygfsteel.com/wansong/services/trackbacks/342811.html

w@ns0ng 2011-01-12 08:40 鍙戣〃璇勮
]]>
闆嗙兢銆佸垎甯冨紡浣犳兂濂芥庝箞鐢ㄤ簡鍚楋紵http://www.aygfsteel.com/wansong/articles/329378.htmlw@ns0ngw@ns0ngThu, 19 Aug 2010 08:35:00 GMThttp://www.aygfsteel.com/wansong/articles/329378.htmlhttp://www.aygfsteel.com/wansong/comments/329378.htmlhttp://www.aygfsteel.com/wansong/articles/329378.html#Feedback0http://www.aygfsteel.com/wansong/comments/commentRss/329378.htmlhttp://www.aygfsteel.com/wansong/services/trackbacks/329378.htmlhttp://dev.firnow.com/course/3_program/java/javajs/20100719/460066.html  闆嗙兢銆佸垎甯冨紡浣犳兂濂芥庝箞鐢ㄤ簡鍚楋紵

1銆丠ttp Session

2銆佺紦瀛?br /> 3銆佸崟渚嬪拰闈欐佸彉閲?br /> 4銆佹枃浠舵搷浣滃拰澶栭儴璧勬簮

 5銆佷竴浜涚壒孌婃湇鍔?/p>

w@ns0ng 2010-08-19 16:35 鍙戣〃璇勮
]]>
主站蜘蛛池模板: 阳江市| 柳州市| 平泉县| 宁蒗| 景洪市| 石渠县| 四会市| 淄博市| 平泉县| 田东县| 北辰区| 卢氏县| 水富县| 毕节市| 平武县| 仁怀市| 东兰县| 彭山县| 利川市| 西充县| 濮阳市| 延寿县| 油尖旺区| 志丹县| 修文县| 友谊县| 洛浦县| 叙永县| 凌源市| 阳朔县| 大港区| 分宜县| 重庆市| 黑龙江省| 昌都县| 定西市| 孝义市| 招远市| 平和县| 上饶县| 丹阳市|