锘??xml version="1.0" encoding="utf-8" standalone="yes"?>91亚洲国产成人久久精品,国产亚洲AV夜间福利香蕉149 ,亚洲最大黄色网址http://m.tkk7.com/cctvx1/zh-cnThu, 15 May 2025 12:24:57 GMTThu, 15 May 2025 12:24:57 GMT60ActiveMQ 瀹炶返涔嬭礬(涓) 鍚姩浣犵殑ActiveMQhttp://m.tkk7.com/cctvx1/archive/2007/02/08/98835.htmlDr.WaterDr.WaterThu, 08 Feb 2007 09:54:00 GMThttp://m.tkk7.com/cctvx1/archive/2007/02/08/98835.htmlhttp://m.tkk7.com/cctvx1/comments/98835.htmlhttp://m.tkk7.com/cctvx1/archive/2007/02/08/98835.html#Feedback2http://m.tkk7.com/cctvx1/comments/commentRss/98835.htmlhttp://m.tkk7.com/cctvx1/services/trackbacks/98835.html浣滆?cctvx1
聽鍏抽敭瀛?ActiveMQ,瀹炶返聽

聽聽聽 涓.瀹夎ActiveMQ

聽聽聽聽聽聽 棣栧厛鍘?a >http://activemq.apache.org/download.html 涓嬭澆鏈鏂扮増鏈?.1.0release (http://activemq.apache.org/activemq-410-release.html),
聽聽聽 瑙e帇apache-activemq-4.1-incubator.zip(鎴栬卆pache-activemq-4.1-incubator.tar.gz)鐩綍濡備笅:
聽聽聽聽聽聽
聽聽聽聽聽聽 +bin聽聽聽聽聽聽 (windows涓嬮潰鐨刡at鍜寀nix/linux涓嬮潰鐨剆h)
聽聽聽聽聽聽 +conf聽聽聽聽聽 (activeMQ閰嶇疆鐩綍,鍖呭惈鏈鍩烘湰鐨刟ctiveMQ閰嶇疆鏂囦歡)
聽聽聽聽聽聽 +data聽聽聽聽聽 (榛樿鏄┖鐨?
聽聽聽聽聽聽 +docs聽聽聽聽聽 (index,replease鐗堟湰閲岄潰娌℃湁鏂囨。,-.-b涓嶇煡閬撲負鍟ヤ笉甯?
聽聽聽聽聽聽 +example聽聽 (鍑犱釜渚嬪瓙
聽聽聽聽聽聽 +lib聽聽聽聽聽聽 (activemMQ浣跨敤鍒扮殑lib)
聽聽聽聽聽聽 -apache-activemq-4.1-incubator.jar聽 (ActiveMQ鐨刡inary)
聽聽聽聽聽聽 -LICENSE.txt聽聽聽聽聽聽
聽聽聽聽聽聽 -NOTICE.txt聽聽聽聽聽聽聽
聽聽聽聽聽聽 -README.txt
聽聽聽聽聽聽 -user-guide.html


聽聽聽聽聽聽 浣犲彲浠ヤ嬌鐢╞in\activemq.bat(activemq) 鍚姩,濡傛灉涓鍒囬『鍒?浣犲氨浼氱湅瑙佺被浼間笅闈㈢殑淇℃伅
聽聽聽聽聽 (緇嗚妭鍙兘涓嶄竴鏍?姣斿璺緞,鎴栬卝mx,jdbc淇℃伅)

聽 ACTIVEMQ_HOME: D:\java\framework_and_lib\activemq\apache-activemq-4.1-incubator\
bin\..
Loading message broker from: xbean:activemq.xml
INFO聽 BrokerService聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽 - ActiveMQ null JMS Message Broker (localho
st) is starting
INFO聽 BrokerService聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽 - For help or more information please see:
http://incubator.apache.org/activemq/
INFO聽 ManagementContext聽聽聽聽聽聽聽聽聽聽聽聽聽 - JMX consoles can connect to service:jmx:r
mi:///jndi/rmi://localhost:1099/jmxrmi
INFO聽 JDBCPersistenceAdapter聽聽聽聽聽聽聽聽 - Database driver recognized: [apache_derby
_embedded_jdbc_driver]
INFO聽 DefaultDatabaseLocker聽聽聽聽聽聽聽聽聽 - Attempting to acquire the exclusive lock
to become the Master broker
INFO聽 DefaultDatabaseLocker聽聽聽聽聽聽聽聽聽 - Becoming the master on dataSource: org.ap
ache.derby.jdbc.EmbeddedDataSource@1d840cd
INFO聽 JournalPersistenceAdapter聽聽聽聽聽 - Journal Recovery Started from: Active Jou
rnal: using 5 x 20.0 Megs at: D:\java\framework_and_lib\activemq\apache-activemq
-4.1-incubator\activemq-data\journal
INFO聽 JournalPersistenceAdapter聽聽聽聽聽 - Journal Recovered: 0 message(s) in transa
ctions recovered.
INFO聽 TransportServerThreadSupport聽聽 - Listening for connections at: tcp://P-SUW
EI:61616
WARN聽 MulticastDiscoveryAgent聽聽聽聽聽聽聽 - brokerName not set
INFO聽 TransportConnector聽聽聽聽聽聽聽聽聽聽聽聽 - Connector default Started
INFO聽 TransportServerThreadSupport聽聽 - Listening for connections at: stomp://P-S
UWEI:61613
INFO聽 TransportConnector聽聽聽聽聽聽聽聽聽聽聽聽 - Connector stomp Started
INFO聽 NetworkConnector聽聽聽聽聽聽聽聽聽聽聽聽聽聽 - Network Connector default Started
INFO聽 BrokerService聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽 - ActiveMQ JMS Message Broker (localhost, I
D:P-SUWEI-1207-1170916242296-1:0) started聽聽聽聽聽

聽聽聽聽聽聽聽聽 *銆傚嚑涓皬鎻愮ず
聽 1. 榪欎釜浠呬粎鏄渶鍩虹鐨凙ctiveMQ鐨勯厤緗?寰堝鍦版柟閮芥病鏈夐厤緗洜姝や笉瑕佺洿鎺ヤ嬌鐢ㄨ繖涓厤緗敤浜庣敓浜х郴緇?br />聽 2. 鏈夌殑鏃跺欑敱浜庣鍙h鍗犵敤,瀵艱嚧ActiveMQ閿欒,ActiveMQ鍙兘闇瑕佷互涓嬬鍙?099(JMX),61616(榛樿鐨凾ransportConnector)
聽 3. 濡傛灉娌℃湁鐗╃悊緗戝崱,鎴栬匨S鐨凩oopBackAdpater Multicast浼氭姤涓涓敊璇?/p>

聽聽聽聽 浜? 嫻嬭瘯浣犵殑ActiveMQ
聽聽聽聽聽聽聽
聽聽聽聽聽聽聽聽聽 鐢變簬ActiveMQ鏄竴涓嫭绔嬬殑jms provider,鎵浠ユ垜浠笉闇瑕佸叾浠栦換浣曠涓夋柟鏈嶅姟鍣ㄥ氨鍙互椹笂鍋氭垜浠殑嫻嬭瘯浜?緙栬瘧
聽聽聽聽 example鐩綍涓嬮潰鐨勭▼搴?br />聽聽聽聽聽聽聽聽聽
聽聽 ProducerTool/ConsumerTool 鏄疛MS鍙傝冮噷闈㈡彁鍒扮殑鍏稿瀷搴旂敤,Producer浜х敓娑堟伅,Consumer娑堣垂娑堟伅
聽聽 鑰屼笖榪欎釜渚嬪瓙榪樺彲浠ュ姞鍏ュ弬鏁板府鍔╀綘嫻嬭瘯鍒氭墠鍚姩鐨勬湰鍦癆ctiveMQ鎴栬呮槸榪滅▼鐨凙ctiveMQ

聽聽 ProducerTool [url] broker鐨勫湴鍧,榛樿鐨勬槸tcp://localhost:61616
聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽 [true|flase] 鏄惁浣跨敤topic,榛樿鏄痜alse
聽聽聽聽聽聽聽聽 [subject] subject鐨勫悕瀛?榛樿鏄疶OOL.DEFAULT
聽聽聽聽聽聽聽聽 [durabl] 鏄惁鎸佷箙鍖栨秷鎭?榛樿鏄痜alse
聽聽聽聽聽聽聽聽 [messagecount] 鍙戦佹秷鎭暟閲?榛樿鏄?0
聽聽聽聽聽聽聽聽 [messagesize] 娑堟伅闀垮害,榛樿鏄?55
聽聽聽聽聽聽聽聽 [clientID] durable涓簍rue鐨勬椂鍊?闇瑕侀厤緗甤lientID
聽聽聽聽聽聽聽聽 [timeToLive] 娑堟伅瀛樻椿鏃墮棿
聽聽聽聽聽聽聽聽 [sleepTime] 鍙戦佹秷鎭腑闂寸殑浼戠湢鏃墮棿
聽聽聽聽聽聽聽聽 [transacte]聽 鏄惁閲囩敤浜嬪姟

聽聽聽聽聽聽聽聽聽
聽聽聽聽聽聽聽聽聽 ConsumerTool [url] broker鐨勫湴鍧,榛樿鐨勬槸tcp://localhost:61616
聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽 [true|flase] 鏄惁浣跨敤topic,榛樿鏄痜alse
聽聽聽聽聽聽聽聽 [subject] subject鐨勫悕瀛?榛樿鏄疶OOL.DEFAULT
聽聽聽聽聽聽聽聽 [durabl] 鏄惁鎸佷箙鍖栨秷鎭?榛樿鏄痜alse
聽聽聽聽聽聽聽聽 [maxiumMessages] 鎺ュ彈鏈澶ф秷鎭暟閲?0琛ㄧず涓嶉檺鍒?br />聽聽聽聽聽聽聽
聽聽聽聽聽聽聽聽 [clientID] durable涓簍rue鐨勬椂鍊?闇瑕侀厤緗甤lientID
聽聽聽聽聽聽聽聽
聽聽聽聽聽聽聽聽 [transacte]聽 鏄惁閲囩敤浜嬪姟
聽聽聽聽聽聽聽聽 [sleepTime]聽 鎺ュ彈娑堟伅涓棿鐨勪紤鐪犳椂闂?榛樿鏄?,onMeesage鏂規硶涓嶄紤鐪?br />聽聽聽聽聽聽聽聽 [receiveTimeOut] 鎺ュ彈瓚呮椂

聽聽聽聽聽聽聽聽聽 鎴戜滑榪欐牱鍙互浣跨敤:
聽聽 java -classpath .\apache-activemq-4.1-incubator.jar;example\bin ProducerTool聽 tcp://192.168.3.142:61616 test.mysubject
聽聽 java -classpath .\apache-activemq-4.1-incubator.jar;example\bin ConsumerTool聽 tcp://192.168.3.142:61616 test.mysubject

聽聽 褰撶劧浣犲彲浠ヤ嬌鐢ㄤ笂闈㈢殑鍙傛暟榪涜鏇村鏉傜殑嫻嬭瘯,鎸佷箙,浜嬪姟

聽聽 濡傛灉鍑虹幇涓嬮潰鐨勪俊鎭?鎭枩浣?浣犵殑ActiveMQ宸茬粡鑳藉宸ヤ綔浜?br />聽聽聽聽聽聽聽聽
聽 Connecting to URL: tcp://192.168.3.142:61616
聽 Publishing a Message with size 255 to queue: TOOL.DEFAULT
聽 Using non-durable publishing
聽 Sleeping between publish 0 ms
聽 Sending message: Message: 0 sent at: Thu Feb 08 15:05:34 CST 2007聽 ...
聽 Sending message: Message: 1 sent at: Thu Feb 08 15:05:34 CST 2007聽 ...
聽聽聽聽聽聽聽聽 銆傘傘傘傘傘傘傘?/p>


聽 Connecting to URL: tcp://192.168.3.142:61616
聽 Consuming queue: test.mysubject
聽聽聽聽聽聽聽聽 Using non-durable subscription
聽聽聽聽聽聽聽聽 Received: Message: 0 sent at: Thu Feb 08 14:51:34 CST 2007聽 ...
聽聽聽聽聽聽聽聽 Received: Message: 1 sent at: Thu Feb 08 14:51:34 CST 2007聽 ...
聽 銆傘傘傘?/p>


聽聽聽聽聽聽聽聽 涓?灝忕粨
聽聽聽聽聽
聽聽聽聽聽 鎴戜滑宸茬粡涓嬭澆,鍚姩,騫朵笖鐢ㄧ▼搴忔祴璇曚簡鎴戜滑鐨凙ctiveMQ,鑰屽悗闈㈠皢鍦ㄨ繖涓兘璺戝緱ActiveMQ榪涗竴姝ョ殑璧頒笅鍘?涓姝ヤ竴姝ュ睍紺篈ctiveMQ鐨勯珮綰х壒鎬с?/p>

Dr.Water 2007-02-08 17:54 鍙戣〃璇勮
]]>
ActiveMQ 瀹炶返涔嬭礬(鍓嶈█)http://m.tkk7.com/cctvx1/archive/2007/02/07/98457.htmlDr.WaterDr.WaterTue, 06 Feb 2007 16:36:00 GMThttp://m.tkk7.com/cctvx1/archive/2007/02/07/98457.htmlhttp://m.tkk7.com/cctvx1/comments/98457.htmlhttp://m.tkk7.com/cctvx1/archive/2007/02/07/98457.html#Feedback0http://m.tkk7.com/cctvx1/comments/commentRss/98457.htmlhttp://m.tkk7.com/cctvx1/services/trackbacks/98457.html聽聽 浣滆卌ctvx1
聽聽 鍏抽敭瀛?ActiveMQ,瀹炶返
聽聽聽
聽聽 涓.ActiveMQ鏄粈涔?聽
聽聽聽聽聽 ActiveMQ is the most popular and powerful open source Message Bus.
聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽 寮曠敤ActiveMQ瀹樻柟緗戠珯

聽聽聽聽 ActiveMQ 鏄竴涓畬鍏ㄦ敮鎸丣MS1.1鍜孞2EE 1.4瑙勮寖鐨?JMS Provider瀹炵幇,灝界JMS瑙勮寖鍑哄彴
宸茬粡鏄緢涔呯殑浜嬫儏浜?浣嗘槸JMS鍦ㄥ綋浠婄殑J2EE搴旂敤涓棿浠嶇劧鎵紨鐫鐗規畩鐨勫湴浣嶃?br />聽聽聽 涓嬮潰鏄畠鐨勭壒鎬у垪琛?(璇︾粏鐨勭壒鎬ф竻鍗曡鍙傝?a >http://activemq.apache.org/features.html)
聽聽 聽1.澶氱璇█鍜屽崗璁紪鍐欏鎴風
聽聽 聽聽璇█: Java, C, C++, C#, Ruby, Perl, Python, PHP
聽聽聽聽聽 聽聽搴旂敤鍗忚: OpenWire,Stomp REST,WS Notification,XMPP,AMQP
聽聽 聽2.瀹屽叏鏀寔JMS1.1鍜孞2EE 1.4瑙勮寖聽 (鎸佷箙鍖?XA娑堟伅,浜嬪姟)
聽聽 聽3.瀵筍pring鐨勬敮鎸?ActiveMQ鍙互寰堝寰楀唴宓屽埌浣跨敤Spring鐨勭郴緇熼噷闈㈠幓,鑰屼笖涔熸敮鎸丼pring2.0鐨勭壒鎬?br />聽聽聽聽聽聽 4.閫氳繃浜嗗父瑙丣2EE鏈嶅姟鍣?濡?Geronimo,JBoss 4, GlassFish,WebLogic)鐨勬祴璇?鍏朵腑閫氳繃JCA 1.5 resource adaptors鐨勯厤緗?
聽聽聽聽聽 鍙互璁〢ctiveMQ鍙互鑷姩鐨勯儴緗插埌浠諱綍鍏煎J2EE 1.4 鍟嗕笟鏈嶅姟鍣ㄤ笂
聽聽聽聽聽聽 5.鏀寔澶氱浼犻佸崗璁?in-VM,TCP,SSL,NIO,UDP,JGroups,JXTA
聽聽聽聽聽聽 6.鏀寔閫氳繃JDBC鍜宩ournal鎻愪緵楂橀熺殑娑堟伅鎸佷箙鍖?br />聽聽聽聽聽聽 7.浠庤璁′笂淇濊瘉浜嗛珮鎬ц兘鐨勯泦緹?瀹㈡埛绔?鏈嶅姟鍣?鐐瑰鐐?br />聽聽聽聽聽聽 8.鏀寔Ajax
聽聽聽聽聽聽 9.鏀寔涓嶢xis鐨勬暣鍚?br />聽聽聽聽聽聽 10.鍙互寰堝鏄撳緱璋冪敤鍐呭祵JMS provider,榪涜嫻嬭瘯
聽聽聽聽聽聽
聽聽聽聽 浜?ActiveMQ鐨勭珵浜夎吢犅犅?
聽聽聽聽聽聽聽
聽聽聽聽聽聽聽 1.鍏朵粬寮婧?JMS provider(璧勬枡鏉ヨ嚜 java-source.net) :
聽聽聽聽聽聽聽 jbossmq(jboss 4)
聽聽聽聽聽聽聽 jboss messaging (jboss 5)
聽聽聽聽聽聽聽 joram-4.3.21聽 2006-09-22
聽聽聽聽聽聽聽 openjms-0.7.7-alpha-3.zip December 26, 2005
聽聽聽聽聽聽聽 mantamq 瀹樼綉鏆傛椂鏃犳硶璁塊棶
聽聽聽聽聽聽聽 ubermq聽 瀹樼綉鏆傛椂鏃犳硶璁塊棶
聽聽聽聽聽聽聽 SomnifugiJMS聽 2005-7-27
聽聽聽聽聽聽聽聽聽聽 寮婧愮殑JMS Provider澶ч儴鍒嗛兘宸茬粡鍋滄鍙戝睍浜?鍓╀笅鐨勫嚑涓兘鏄壘鍒頒簡涓滃,鍜屾煇縐岼2EE 鏈嶅姟鍣ㄦ寕閽?
聽聽聽聽聽聽聽 姣斿jboss mq 涓巎boss,joram涓巎onas(objectweb緇勭粐),ActiveMQ 涓嶨eronimo(ASF APACHE鍩洪噾緇勭粐),
聽聽聽聽聽聽聽 鑰屽湪榪?涓箣闂達紝浠庣綉緇滃簳灞傛潵鐪?鍙湁ActiveMQ浣跨敤浜哊IO,鍗曚粠榪欎釜瑙掑害鏉ョ湅ActiveMQ鍦ㄦц兘涓婁細鏈?br />聽聽聽聽聽聽聽 涓瀹氱殑浼樺娍聽聽聽聽聽聽

聽聽聽聽聽聽聽 2.鍟嗕笟JMS provider
聽聽聽聽聽聽聽 IBM WebSphere MQ
聽聽聽聽聽聽聽 BEA WebLogic JMS
聽聽聽聽聽聽聽 Oracle AQ
聽聽聽聽聽聽聽 NonStop Server for Java Message Service(JMS)
聽聽聽聽聽聽聽 Sun Java System Message Queue
聽聽聽聽聽聽聽 Sonic jms
聽聽聽聽聽聽聽 TIBCO Enterprise For JMS
聽聽聽聽聽聽聽 iLinkMQ (鍥藉唴)
聽聽聽聽聽聽聽聽聽聽 鐜板湪鐨勫晢涓欽2EE 搴旂敤鏈嶅姟鍣ㄥぇ閮ㄥ垎閮戒細鏈塉MS Provider鐨勫疄鐜?姣曠珶搴旂敤鏈嶅姟鍣ㄩ兘宸茬粡鑺辮垂涓嶈杽,涔熶笉鍦ㄤ箮
聽聽聽聽聽聽聽 鍦ㄩ噷闈㈤佷竴涓狫MS Provider浜?褰撶劧榪樻槸鏈夌嫭绔嬬殑姣斿IBM WebSphere MQ,Sonic JMS ,鍓嶈呰偗瀹氭槸鍟嗙敤MQ
聽聽聽聽聽聽 錛堣繖涓蹇典笉浠呬粎鏄疛MS Provier浜嗭紝鍙兘璇碕MS 鍙槸瀹冩彁渚涚殑涓涓簲鐢級涓棿鐨勫法鏃犻湼浜嗐?br />聽聽聽聽聽聽聽
聽聽聽聽聽聽聽聽 浠庤繖鐐規潵鐪?ActiveMQ鏄庢樉鐨勭珵浜夎呭茍涓嶅,鍥犱負瀹冩槸浣滀負鐙珛鐨勫紑婧怞MS Provider鍑虹幇鐨?寰堝鏄撹鐢ㄤ簬澶氱緇撴瀯璁捐涓紝
聽聽聽聽聽聽聽 浣跨敤ActiveMQ浣滀負榛樿JMS Provider鐨勫紑婧愰」鐩湁ServiceMix,Geronimo.

聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽 (寰呯畫)
聽聽聽聽聽聽聽 P.S
聽聽聽聽聽聽聽聽聽聽聽 Monday, February 5, 2007
聽聽聽聽聽 Apache ActiveMQ graduates from the incubator聽
聽聽聽聽聽 Apache ActiveMQ has now graduated to become a top level project (TLP) at Apache! Its new site is now hosted at http://activemq.apache.org/. Many thanks to all those in the Incubator and ActiveMQ communities for making this happen!



Dr.Water 2007-02-07 00:36 鍙戣〃璇勮
]]>
Apache mod_rewritehttp://m.tkk7.com/cctvx1/archive/2007/01/30/96805.htmlDr.WaterDr.WaterTue, 30 Jan 2007 15:06:00 GMThttp://m.tkk7.com/cctvx1/archive/2007/01/30/96805.htmlhttp://m.tkk7.com/cctvx1/comments/96805.htmlhttp://m.tkk7.com/cctvx1/archive/2007/01/30/96805.html#Feedback0http://m.tkk7.com/cctvx1/comments/commentRss/96805.htmlhttp://m.tkk7.com/cctvx1/services/trackbacks/96805.html涓昏灝辨槸姝e垯琛ㄨ揪寮忕殑榪愮敤,闄や簡mod_rewrite涔嬪榪樻湁涓涓猽rlrewritefilter
涓嬮潰鏄竴涓祴璇曚簩綰у煙鍚嶆槧灝勮鍒?br />
RewriteEngine On
RewriteCond %{HTTP_HOST} ^[^www.]+.test.ecom$
Rewriterule ^(.+) %{HTTP_HOST}$1 [C]聽
Rewriterule ^([^www.]+)\.test\.ecom(.*) /shop_$1$2
Rewriterule ^www.test.ecom(.*) /$1 [nc,PT]
RewriteRule /shop_(.+)/pic/(.*)$ /pic/$2 [nc,PT]
RewriteRule /shop_(.+)/js/(.*)$ /js/$2 [nc,PT]
RewriteRule /shop_(.+)/css/(.*)$ /css/$2 [nc,PT]
RewriteRule /shop_(.+)/(.+).do?(\.*)$聽 /$2.do?domainName=$1&%{QUERY_STRING} [L,nc]


RewriteLog "logs/rewrite.log"
RewriteLogLevel 3


鍏抽敭瀛楁:
聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽 RewriteCond 琛ㄧず濡傛灉鏉′歡婊¤凍鍒欎嬌鐢ㄤ笅闈㈢殑Rewriterule
聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽 Rewriterule 灝辨槸閲囩敤鍏蜂綋鐨勬鍒欒〃杈懼紡鏉ュ尮閰嵚?br />聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽 Rewriterule 鍚庨潰榪樺彲浠ュ甫鏈夊弬鏁?br />
聽聽聽聽聽聽聽聽聽聽聽聽 瑙乤pache鍙傝?br />聽聽聽聽聽聽聽聽聽聽 http://httpd.apache.org/docs/2.2/mod/mod_rewrite.html
聽聽聽聽聽聽聽聽聽

  • 'chain|C' (chained with next rule)
    This flag chains the current rule with the next rule (which itself can be chained with the following rule, and so on). This has the following effect: if a rule matches, then processing continues as usual - the flag has no effect. If the rule does not match, then all following chained rules are skipped. For instance, it can be used to remove the ``.www'' part, inside a per-directory rule set, when you let an external redirect happen (where the ``.www'' part should not occur!).
  • 'cookie|CO=NAME:VAL:domain[:lifetime[:path]]' (set cookie)
    This sets a cookie in the client's browser. The cookie's name is specified by NAME and the value is VAL. The domain field is the domain of the cookie, such as '.apache.org', the optional lifetime is the lifetime of the cookie in minutes, and the optional path is the path of the cookie
  • 'env|E=VAR:VAL' (set environment variable)
    This forces an environment variable named VAR to be set to the value VAL, where VAL can contain regexp backreferences ($N and %N) which will be expanded. You can use this flag more than once, to set more than one variable. The variables can later be dereferenced in many situations, most commonly from within XSSI (via <!--#echo var="VAR"-->) or CGI ($ENV{'VAR'}). You can also dereference the variable in a later RewriteCond pattern, using %{ENV:VAR}. Use this to strip information from URLs, while maintaining a record of that information.
  • 'forbidden|F' (force URL to be forbidden)
    This forces the current URL to be forbidden - it immediately sends back a HTTP response of 403 (FORBIDDEN). Use this flag in conjunction with appropriate RewriteConds to conditionally block some URLs.
  • 'gone|G' (force URL to be gone)
    This forces the current URL to be gone - it immediately sends back a HTTP response of 410 (GONE). Use this flag to mark pages which no longer exist as gone.
  • 'handler|H=Content-handler' (force Content handler)
    Force the Content-handler of the target file to be Content-handler. For instance, this can be used to simulate the mod_alias directive ScriptAlias, which internally forces all files inside the mapped directory to have a handler of ``cgi-script''.
  • 'last|L' (last rule)
    Stop the rewriting process here and don't apply any more rewrite rules. This corresponds to the Perl last command or the break command in C. Use this flag to prevent the currently rewritten URL from being rewritten further by following rules. For example, use it to rewrite the root-path URL ('/') to a real one, e.g., '/e/www/'.
  • 'next|N' (next round)
    Re-run the rewriting process (starting again with the first rewriting rule). This time, the URL to match is no longer the original URL, but rather the URL returned by the last rewriting rule. This corresponds to the Perl next command or the continue command in C. Use this flag to restart the rewriting process - to immediately go to the top of the loop.
    Be careful not to create an infinite loop!
  • 'nocase|NC' (no case)
    This makes the Pattern case-insensitive, ignoring difference between 'A-Z' and 'a-z' when Pattern is matched against the current URL.
  • 'noescape|NE' (no URI escaping of output)
    This flag prevents mod_rewrite from applying the usual URI escaping rules to the result of a rewrite. Ordinarily, special characters (such as '%', '$', ';', and so on) will be escaped into their hexcode equivalents ('%25', '%24', and '%3B', respectively); this flag prevents this from happening. This allows percent symbols to appear in the output, as in

    RewriteRule /foo/(.*) /bar?arg=P1\%3d$1 [R,NE]

    which would turn '/foo/zed' into a safe request for '/bar?arg=P1=zed'.
  • 'nosubreq|NS' (not for internal sub-requests)
    This flag forces the rewriting engine to skip a rewriting rule if the current request is an internal sub-request. For instance, sub-requests occur internally in Apache when mod_include tries to find out information about possible directory default files (index.xxx files). On sub-requests it is not always useful, and can even cause errors, if the complete set of rules are applied. Use this flag to exclude some rules.
    To decide whether or not to use this rule: if you prefix URLs with CGI-scripts, to force them to be processed by the CGI-script, it's likely that you will run into problems (or significant overhead) on sub-requests. In these cases, use this flag.
  • 'proxy|P' (force proxy)
    This flag forces the substitution part to be internally sent as a proxy request and immediately (rewrite processing stops here) put through the proxy module. You must make sure that the substitution string is a valid URI (typically starting with http://hostname) which can be handled by the Apache proxy module. If not, you will get an error from the proxy module. Use this flag to achieve a more powerful implementation of the ProxyPass directive, to map remote content into the namespace of the local server.

    Note: mod_proxy must be enabled in order to use this flag.

  • 'passthrough|PT' (pass through to next handler)
    This flag forces the rewrite engine to set the uri field of the internal request_rec structure to the value of the filename field. This flag is just a hack to enable post-processing of the output of RewriteRule directives, using Alias, ScriptAlias, Redirect, and other directives from various URI-to-filename translators. For example, to rewrite /abc to /def using mod_rewrite, and then /def to /ghi using mod_alias:

    RewriteRule ^/abc(.*) /def$1 [PT]
    Alias /def /ghi

    If you omit the PT flag, mod_rewrite will rewrite uri=/abc/... to filename=/def/... as a full API-compliant URI-to-filename translator should do. Then mod_alias will try to do a URI-to-filename transition, which will fail.

    Note: You must use this flag if you want to mix directives from different modules which allow URL-to-filename translators. The typical example is the use of mod_alias and mod_rewrite.

  • 'qsappend|QSA' (query string append)
    This flag forces the rewrite engine to append a query string part of the substitution string to the existing string, instead of replacing it. Use this when you want to add more data to the query string via a rewrite rule.
  • 'redirect|R [=code]' (force redirect)
    Prefix Substitution with http://thishost[:thisport]/ (which makes the new URL a URI) to force a external redirection. If no code is given, a HTTP response of 302 (MOVED TEMPORARILY) will be returned. If you want to use other response codes in the range 300-400, simply specify the appropriate number or use one of the following symbolic names: temp (default), permanent, seeother. Use this for rules to canonicalize the URL and return it to the client - to translate ``/~'' into ``/u/'', or to always append a slash to /u/user, etc.
    Note: When you use this flag, make sure that the substitution field is a valid URL! Otherwise, you will be redirecting to an invalid location. Remember that this flag on its own will only prepend http://thishost[:thisport]/ to the URL, and rewriting will continue. Usually, you will want to stop rewriting at this point, and redirect immediately. To stop rewriting, you should add the 'L' flag.
  • 'skip|S=num' (skip next rule(s))
    This flag forces the rewriting engine to skip the next num rules in sequence, if the current rule matches. Use this to make pseudo if-then-else constructs: The last rule of the then-clause becomes skip=N, where N is the number of rules in the else-clause. (This is not the same as the 'chain|C' flag!)
  • 'type|T=MIME-type' (force MIME type)
    Force the MIME-type of the target file to be MIME-type. This can be used to set up the content-type based on some conditions. For example, the following snippet allows .php files to be displayed by mod_php if they are called with the .phps extension:

    RewriteRule ^(.+\.php)s$ $1 [T=application/x-httpd-php-source]


聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽



Dr.Water 2007-01-30 23:06 鍙戣〃璇勮
]]>
ConcurrentModificationExceptionhttp://m.tkk7.com/cctvx1/archive/2007/01/23/95497.htmlDr.WaterDr.WaterTue, 23 Jan 2007 03:31:00 GMThttp://m.tkk7.com/cctvx1/archive/2007/01/23/95497.htmlhttp://m.tkk7.com/cctvx1/comments/95497.htmlhttp://m.tkk7.com/cctvx1/archive/2007/01/23/95497.html#Feedback1http://m.tkk7.com/cctvx1/comments/commentRss/95497.htmlhttp://m.tkk7.com/cctvx1/services/trackbacks/95497.htmlConcurrentModificationException
涓涓笉璇ョ姱鐨勪綆綰ч敊璇?浠婂ぉ鐨勪唬鐮佺獊鐒舵姏浜嗕竴涓猚oncurrentModificationException閿欒,
Iterator鐨勪竴涓熀鏈蹇墊病鏈夋帉鎻″鑷寸殑榪欎釜閿欒,灝辨槸鍦↖terator鐨勫疄鐜扮被
姣斿Hashtable閲岄潰鐨勫唴閮ㄧ被
聽private class Enumerator<T> implements Enumeration<T>, Iterator<T>

浼氬湪next,鎴栬卹emove鐨勬椂鍊欐鏌ュ綋鍓嶉泦鍚堟槸鍚︿細鍦ㄤ慨鏀圭姸鎬?濡傛灉鏄殑璇?br />灝變細鎶涘嚭 ConcurrentModificationException,鑰屼粬鑷繁remove鍒欐槸浣跨敤浜嗗悓姝ョ殑鏂規硶
鑰屼笖鍚屾浜唌odCount;expectedModCount;


聽public T next() {
聽聽聽聽 if (modCount != expectedModCount)
聽聽throw new ConcurrentModificationException();
聽聽聽聽 return nextElement();
聽}


public void remove() {
聽聽聽聽 if (!iterator)
聽聽throw new UnsupportedOperationException();
聽聽聽聽 if (lastReturned == null)
聽聽throw new IllegalStateException("Hashtable Enumerator");
聽聽聽聽 if (modCount != expectedModCount)
聽聽throw new ConcurrentModificationException();

聽聽聽聽 synchronized(Hashtable.this) {
聽聽Entry[] tab = Hashtable.this.table;
聽聽int index = (lastReturned.hash & 0x7FFFFFFF) % tab.length;

聽聽for (Entry<K,V> e = tab[index], prev = null; e != null;
聽聽聽聽聽聽 prev = e, e = e.next) {
聽聽聽聽聽 if (e == lastReturned) {
聽聽聽modCount++;
聽聽聽expectedModCount++;
聽聽聽if (prev == null)
聽聽聽聽聽聽 tab[index] = e.next;
聽聽聽else
聽聽聽聽聽聽 prev.next = e.next;
聽聽聽count--;
聽聽聽lastReturned = null;
聽聽聽return;
聽聽聽聽聽 }
聽聽}
聽聽throw new ConcurrentModificationException();
聽聽聽聽 }
聽}
聽聽聽 }
鑰岃嚜宸卞湪next鐨勫悓鏃?淇敼浜嗚繖涓泦鍚?瀵艱嚧浜嗚繖涓敊璇殑鍑虹幇



Dr.Water 2007-01-23 11:31 鍙戣〃璇勮
]]>
Resin 3.0.x鍜孲pring 2.0 xsd 閰嶇疆闂瑙e喅http://m.tkk7.com/cctvx1/archive/2007/01/03/91599.htmlDr.WaterDr.WaterWed, 03 Jan 2007 09:53:00 GMThttp://m.tkk7.com/cctvx1/archive/2007/01/03/91599.htmlhttp://m.tkk7.com/cctvx1/comments/91599.htmlhttp://m.tkk7.com/cctvx1/archive/2007/01/03/91599.html#Feedback1http://m.tkk7.com/cctvx1/comments/commentRss/91599.htmlhttp://m.tkk7.com/cctvx1/services/trackbacks/91599.htmlSpring 瀹樻柟宸茬粡鎻愬埌榪欎釜閿欒浜?br />
http://www.springframework.org/docs/reference/xsd-config.html#xsd-config-integration-resin

A.3.3.1. XML parsing errors in the Resin v.3 application server


If you are using the XSD-style for Spring 2.0 XML configuration and deploying to v.3 of Caucho's Resin application server, you will need to set some configuration options prior to startup so that an XSD-aware parser is available to Spring.
Please do read this resource


鑰宺esin緇欏嚭鏉ョ殑鍙傝冨氨鏄粬榛樿涓嶆槸浣跨敤xerces鍜寈alan浣滀負xml鍜寈slt鐨勯粯璁よВ鏋愬櫒

姝f槸鐢變簬浠栭粯璁や笉鏄噰鐢ㄤ互涓婁綔涓簒ml,xstl鐨勮В鏋愬櫒,瀵艱嚧浜嗗湪resin涓嬮潰 浣跨敤spring 2.0 鏂皒sd閰嶇疆鏂瑰紡浼氭姤閿欒

(涓昏灝辨槸xml涓殑attribute鍜宲ropertie 浠栧彇涓嶅埌)

瑙e喅鐨勬柟娉曞氨鏄resin浣跨敤xerces鍜寈alan浣滀負xml鍜寈slt鐨勯粯璁よВ鏋愬櫒

閰嶇疆錛?/p>

鍦╮esin.conf鐨?lt;web-app>鎴栬?lt;server>鑺傜偣涓嬫坊鍔?/p>

<!-- xml -->
<system-property javax.xml.parsers.DocumentBuilderFactory=
聽聽聽聽聽聽聽聽聽聽聽聽 "org.apache.xerces.jaxp.DocumentBuilderFactoryImpl"/>
<system-property javax.xml.parsers.SAXParserFactory=
聽聽聽聽聽聽聽聽聽聽聽聽 "org.apache.xerces.jaxp.SAXParserFactoryImpl"/>
聽聽
聽聽聽 <!--聽 xslt -->
<system-property javax.xml.transform.TransformerFactory=
聽聽聽聽聽聽聽聽聽聽聽聽 "org.apache.xalan.processor.TransformerFactoryImpl"/>


鐒跺悗鎶婄浉搴旂殑jar鍔犲叆%RESIN_HOME%/lib 鐩綍,榪欓噷闇瑕佽鏄庣殑鏄垜鍦ㄦ祴璇昦ctivemq鐨勬椂鍊?/p>

鍔犲叆xerces鍜寈alan鍚?浠栧寘鍏朵粬class鏃犳硶鎵懼埌,鎰熻濂藉儚鏄粯璁ょ殑web-app鐩綍涓嬬殑jar鏃犳晥浜?鎴戞殏鏃剁洿鎺ュ姞鍏ョ郴緇焎lasspath瑙e喅鐨?/p>

榪欑偣涓嶇煡閬撴槸涓嶆槸鎴戣嚜宸辯殑騫沖彴闂銆?/p>


緇忚繃嫻嬭瘯 resin 3.0.22+spring 2.0+activemq xsd閰嶇疆鏂瑰紡ok浜?


ps. ^.^銆浠ュ墠鐨剅esin涓嬮潰欏圭洰娌℃湁鐢?.0閰嶇疆,鑷繁涔熷涔犲埌浜嗘柊涓滆タ



Dr.Water 2007-01-03 17:53 鍙戣〃璇勮
]]>
Struts ValidatorResources 鐨勮鍛婇棶棰?/title><link>http://m.tkk7.com/cctvx1/archive/2006/12/10/86617.html</link><dc:creator>Dr.Water</dc:creator><author>Dr.Water</author><pubDate>Sat, 09 Dec 2006 16:13:00 GMT</pubDate><guid>http://m.tkk7.com/cctvx1/archive/2006/12/10/86617.html</guid><wfw:comment>http://m.tkk7.com/cctvx1/comments/86617.html</wfw:comment><comments>http://m.tkk7.com/cctvx1/archive/2006/12/10/86617.html#Feedback</comments><slash:comments>3</slash:comments><wfw:commentRss>http://m.tkk7.com/cctvx1/comments/commentRss/86617.html</wfw:commentRss><trackback:ping>http://m.tkk7.com/cctvx1/services/trackbacks/86617.html</trackback:ping><description><![CDATA[ <p>Struts聽 ValidatorResources 鐨勮鍛婇棶棰?/p> <p>google鍒扮殑鍏朵粬浜哄悓鏍風殑闂鎻忚堪<br /><a >http://www.mail-archive.com/user@struts.apache.org/msg51847.html</a></p> <p> <br />鎴戣嚜宸辯殑閰嶇疆<br />struts-config-action.xml涓厤緗?br /></p> <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://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" /> <span style="COLOR: #0000ff"><</span> <span style="COLOR: #800000">form-beans</span> <span style="COLOR: #0000ff">></span> <span style="COLOR: #000000"> <br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽</span> <span style="COLOR: #0000ff"><</span> <span style="COLOR: #800000">form-bean聽</span> <span style="COLOR: #ff0000">name</span> <span style="COLOR: #0000ff">="dynamicForm"</span> <span style="COLOR: #ff0000">聽type</span> <span style="COLOR: #0000ff">="org.apache.struts.validator.LazyValidatorForm"</span> <span style="COLOR: #0000ff">/></span> <span style="COLOR: #000000"> <br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" /> </span> <span style="COLOR: #0000ff"></</span> <span style="COLOR: #800000">form-beans</span> <span style="COLOR: #0000ff">></span> </div> <p>榪愯鎵鏈夎窡榪欎釜form鏈夊叧鐨勯〉闈㈤兘浼氬嚭鐜?<br /><font color="#ff0033">[ValidatorResources]2006-12-10 00:07:23 WARN : Form 'dynamicForm' not found for locale 'zh_CN'</font><br /><br />鎴戝嵆浣垮湪messageResource_zh_CN.properties娣誨姞浜嗗搴旂殑key/name涔熶笉琛?</p> <p>瑙e喅鏂規硶,鍙傝冨叾浠栧笘瀛?鎴戦鍏堝崌綰trut 鍒?.3.x,commons-validator涔熷崌綰у埌1.3.0<br />鐒跺悗<br /></p> <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://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" /> <span style="COLOR: #000000">聽</span> <span style="COLOR: #0000ff"><</span> <span style="COLOR: #800000">plug-in聽</span> <span style="COLOR: #ff0000">className</span> <span style="COLOR: #0000ff">="org.apache.struts.validator.ValidatorPlugIn"</span> <span style="COLOR: #0000ff">></span> <span style="COLOR: #000000"> <br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽</span> <span style="COLOR: #0000ff"><</span> <span style="COLOR: #800000">set-property聽</span> <span style="COLOR: #ff0000">property</span> <span style="COLOR: #0000ff">="pathnames"</span> <span style="COLOR: #ff0000"> <br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽value</span> <span style="COLOR: #0000ff">="/WEB-INF/validator-rules.xml,/WEB-INF/validation-user.xml"</span> <span style="COLOR: #0000ff">/></span> <span style="COLOR: #000000"> <br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽</span> <span style="COLOR: #0000ff"></</span> <span style="COLOR: #800000">plug-in</span> <span style="COLOR: #0000ff">></span> </div> <p> <br />鍦╲alidation-user.xml 娣誨姞涓涓猣orm灝辮浜?br /></p> <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://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" /> <span style="COLOR: #0000ff"><</span> <span style="COLOR: #800000">form-validation</span> <span style="COLOR: #0000ff">></span> <span style="COLOR: #000000"> <br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽</span> <span style="COLOR: #0000ff"><</span> <span style="COLOR: #800000">formset</span> <span style="COLOR: #0000ff">></span> <span style="COLOR: #000000"> <br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽</span> <span style="COLOR: #0000ff"><</span> <span style="COLOR: #800000">form聽</span> <span style="COLOR: #ff0000">name</span> <span style="COLOR: #0000ff">="dynamicForm"</span> <span style="COLOR: #0000ff">/></span> <span style="COLOR: #000000"> <br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽</span> <span style="COLOR: #0000ff"></</span> <span style="COLOR: #800000">formset</span> <span style="COLOR: #0000ff">></span> <span style="COLOR: #000000"> <br /> <img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" /> </span> <span style="COLOR: #0000ff"></</span> <span style="COLOR: #800000">form-validation</span> <span style="COLOR: #0000ff">></span> </div> <p>涓嶅啀鏈夎繖涓?font color="#ff0033">WARN <font color="#000000">浜嗐?/font></font>聽</p> <img src ="http://m.tkk7.com/cctvx1/aggbug/86617.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.tkk7.com/cctvx1/" target="_blank">Dr.Water</a> 2006-12-10 00:13 <a href="http://m.tkk7.com/cctvx1/archive/2006/12/10/86617.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>Apache 2.2 鍜?Subversion鏁村悎http://m.tkk7.com/cctvx1/archive/2006/11/27/83682.htmlDr.WaterDr.WaterSun, 26 Nov 2006 16:14:00 GMThttp://m.tkk7.com/cctvx1/archive/2006/11/27/83682.htmlhttp://m.tkk7.com/cctvx1/comments/83682.htmlhttp://m.tkk7.com/cctvx1/archive/2006/11/27/83682.html#Feedback1http://m.tkk7.com/cctvx1/comments/commentRss/83682.htmlhttp://m.tkk7.com/cctvx1/services/trackbacks/83682.html Apache 2.2.3 Subversion 1.4.0(r21228) integrate
reference :
聽聽聽聽聽聽聽聽聽
http://xrinehart.cnblogs.com/archive/2005/10/27/262759.html
聽聽聽聽聽聽聽聽聽 http://xrinehart.cnblogs.com/archive/2005/10/29/264659.html
聽聽聽聽聽聽聽聽聽 http://www.apachelounge.com/forum/viewtopic.php?t=121
聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽 (maniac provide svn 1.4.0 module win32聽 binary for apache 2.2.x)
Warning:
聽聽聽聽聽聽聽 subversion.tigris.org
聽聽聽聽聽聽聽 Windows binaries - ATTENTION!: The mod_dav_svn binaries available here are NOT compatible with Apache 2.2

FAQ:
聽聽聽聽 Error:聽 Expected fromat '3' of repository;found format '5'
聽聽聽聽聽聽聽聽聽聽聽聽 use "--pre-1.4-compatible", default format is "5" !!
聽聽聽聽聽聽聽聽聽聽聽
Integrate Guide:
聽聽聽聽聽聽聽聽聽聽聽 I聽 use other complie svn module for apache 2.2.3 ,
聽聽聽聽 Step1:
聽聽聽聽聽聽聽聽聽聽聽聽 copy *.dll to聽 %APACHE_HOME%\bin
聽聽聽聽聽聽聽聽聽聽聽聽 copy *.so聽 to聽 %APACHE_HOME%\modules
聽聽聽聽 Step2:
聽聽聽聽聽聽聽聽聽聽聽聽 edit %APACHE_HOME%\conf\httpd.conf
聽聽聽聽聽聽聽聽聽聽聽聽 find:
聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽 #LoadModule dav_module聽 modules\mod_dav.so
聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽 #LoadModule dav_fs_module modules\mod_dav_fs.so
聽聽聽聽聽聽聽聽聽聽聽聽 change: "#" to ""
聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽 LoadModule dav_module聽 modules\mod_dav.so
聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽 LoadModule dav_fs_module modules\mod_dav_fs.so
聽聽聽聽聽聽聽聽聽聽聽聽 and add SVN Module:
聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽 #SVN
聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽 LoadModule dav_svn_module聽聽 modules\mod_dav_svn.so
聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽 LoadModule authz_svn_module聽 modules\mod_authz_svn.so
聽聽聽聽聽 Step3:聽
聽聽聽聽聽聽聽聽聽聽聽聽聽 config聽 SVN auth,add httpd.conf
聽聽聽聽聽聽聽聽聽聽聽聽聽 use apache basic auth,gen password file
聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽 %APACHE_HOME%\bin\htpasswd -cm D:/server/webservice/clear/Apache2.2/svn-auth/svn-auth-file harry

聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽 <IfModule dav_svn_module>
聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽 <Location /svn>
聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽 DAV svn
聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽 SVNParentPath D:/SubversionRoot
聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽 AuthTypeBasic
聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽 AuthName "Subversion Repository"
聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽 AuthUserFile D:/server/webservice/clear/Apache2.2/svn-auth/svn-auth-file
聽聽聽聽聽聽 Require valid-user
聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽 </Location>
聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽 </IfModule>
聽聽聽聽聽聽聽
涓昏灝辨槸svn瀹樻柟鐨剋in binary涓嶆敮鎸乤pache 2.2鐨勬柊module璋冪敤銆?br />聽聽聽聽聽聽

聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽



Dr.Water 2006-11-27 00:14 鍙戣〃璇勮
]]>
blog綆椾笉綆椾竴縐嶆佸害?http://m.tkk7.com/cctvx1/archive/2006/11/17/81848.htmlDr.WaterDr.WaterFri, 17 Nov 2006 13:31:00 GMThttp://m.tkk7.com/cctvx1/archive/2006/11/17/81848.htmlhttp://m.tkk7.com/cctvx1/comments/81848.htmlhttp://m.tkk7.com/cctvx1/archive/2006/11/17/81848.html#Feedback0http://m.tkk7.com/cctvx1/comments/commentRss/81848.htmlhttp://m.tkk7.com/cctvx1/services/trackbacks/81848.html 聽聽 鎴戣寰椾互鍓嶅湪Matrix涓婇潰,鑰佹槸鐪嬭"鍐滄皯"鐨刡log <<涓浜╀笁鍒嗗湴>>,聽 涓嶈繃鎴戜竴鐩撮兘娌℃湁緇忚惀濂借嚜宸辯殑榪欏潡鐢板湴,matrix涓婄殑blog宸茬粡鑽掑簾寰堜箙浜嗐?br />
聽聽聽鏄鎷胯搗閿勫ごreload浜?濡傛灉blog綆楁槸涓縐嶆佸害鐨勮瘽,鎴戣閲嶆柊鎵懼洖榪欑鎬佸害,涓鏅冪溂,2006騫村氨榪囧幓浜?鍦ㄦ槬澶╀箣鍓?鎴戝張鎰熷彈鍒頒簡涓ュ瘨,涔熻鎯蟲硶澶,涓庡叾榪欐牱涓嶅 just do it!





Dr.Water 2006-11-17 21:31 鍙戣〃璇勮
]]>
iBatis鐨凙utoResultMap 榛樿閰嶇疆浣跨敤鏃跺欏嚭鐜扮殑闂http://m.tkk7.com/cctvx1/archive/2006/11/17/81845.htmlDr.WaterDr.WaterFri, 17 Nov 2006 13:19:00 GMThttp://m.tkk7.com/cctvx1/archive/2006/11/17/81845.htmlhttp://m.tkk7.com/cctvx1/comments/81845.htmlhttp://m.tkk7.com/cctvx1/archive/2006/11/17/81845.html#Feedback0http://m.tkk7.com/cctvx1/comments/commentRss/81845.htmlhttp://m.tkk7.com/cctvx1/services/trackbacks/81845.html 婕旂ず鐨剆qlMap 閰嶇疆鏂囦歡錛岄氳繃'$'鍜?*'鐨勪嬌鐢?杈懼埌鍔ㄦ佹槧灝凾able鍒頒竴涓猰ap鐨勪綔鐢?/font>

<? xml聽version="1.0"聽encoding="UTF-8"聽 ?>
<! DOCTYPE聽sqlMap聽PUBLIC聽"-//iBATIS.com//DTD聽SQL聽Map聽2.0//EN"聽"http://www.ibatis.com/dtd/sql-map-2.dtd"聽 >

< select聽 id ="useAutoResultMapExample" 聽parameterClass ="map" >
USE聽$dbName$
SELECT*聽 FROM聽聽 $tableName$
</ select >
</ sqlMap >

涔熷氨鏄湪IBatis閲岄潰閰嶇疆涓涓猻tatment,鍘繪墽琛屽涓煡璇?鍏呭垎鍒╃敤浜唌ap鏄犲皠鐨勭壒鎬?

鍘繪墽琛屽涓煡璇€?/p>

姣斿
select * from myexample
select * from mywork

浣跨敤"*" 鑰屼笖娌℃湁鐢╮esultClass 鎸囧畾榪斿洖

浣嗘槸鍦ㄩ粯璁ら厤緗笅,鍦ㄤ嬌鐢ㄧ殑鏃跺欑殑鏃跺?br />
2嬈′互涓婁紶鍏ヤ笉鍚岀殑$dbName$,$tabeName$ 璋冪敤榪欎釜useAutoResultMapExample,

灝辮鎶ava.sql.SQLException: Invalid column name閿欒

鍥犱負iBatis鑷繁鏈?AutoResultMap鐨刢ache,灝界浣犱紶鍏ョ殑$tableName$涓嶅悓錛屼絾鏄粬鎬繪槸

鐢ㄧ涓涓緩绔嬬殑AutoResultMap鐨刢ache鍘誨尮閰嶄互鍚庣殑$tableName$褰撶劧鏈夐敊璇簡

瑙e喅鏂規硶: 浣跨敤澶氫釜statment鎴栬呬嬌鐢?remapResults="true" (涓轟簡鏁堢巼浠栭粯璁ょ殑鏄痜alse)

浠ヤ笂鐢變簬鏁堢巼闂,寤鴻榪樻槸閲囩敤澶氫釜statement 鏄犲皠鍒頒笉鍚岀殑model涓婇潰鍘?涓嶅緩璁敓浜х郴緇熶篃榪欎箞浣跨敤銆?/font>



Dr.Water 2006-11-17 21:19 鍙戣〃璇勮
]]>
主站蜘蛛池模板: 国产精品成人亚洲| 5g影院5g天天爽永久免费影院| 日韩大片免费观看视频播放| 久久国产乱子伦精品免费看| 成人看的午夜免费毛片| 亚洲伊人成无码综合网| 亚洲a级在线观看| 香蕉视频免费在线播放| 亚洲一区免费视频| 激情97综合亚洲色婷婷五 | 久久久精品国产亚洲成人满18免费网站 | 亚洲精品综合久久中文字幕| 国产成人久久精品亚洲小说| 国产成人高清精品免费软件| 亚洲男人的天堂在线| 69xx免费观看视频| 亚洲最大中文字幕无码网站| 日韩精品极品视频在线观看免费| 免费播放春色aⅴ视频| 国内精品久久久久影院亚洲| 99在线视频免费| 亚洲一区二区久久| 国产福利免费在线观看| 国产免费人成视频在线播放播| 日韩免费高清视频| 亚洲色大情网站www| 亚洲 小说区 图片区 都市| 亚洲精品无码久久| 无码人妻久久一区二区三区免费丨| 亚洲国产一区在线| 91视频免费观看| 亚洲精品乱码久久久久久| 国产精品免费大片一区二区| 全黄性性激高免费视频| AAAAA级少妇高潮大片免费看| 亚洲丝袜美腿视频| 国产小视频在线观看免费| 免费的全黄一级录像带| 亚洲三级电影网站| 日本免费一本天堂在线| 久久国产乱子伦精品免费强|