<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[安道生練功房 - Latest posts for "jhliang"]]></title>
		<link>https://forum.andowson.com/posts/listByUser/3</link>
		<description><![CDATA[Latest posts for "jhliang"]]></description>
		<generator>JForum - http://www.jforum.net</generator>
			<item>
				<title>[Web/Application Server] [Tomcat]Deploy war檔時，讓每個context都有各自的AccessLogValve</title>
				<description><![CDATA[ 當您想要使用tomcat的AccessLogValve讓每個context都有各自的accesslog時， 
<br>
方法很簡單，在您的war專案內，新增一個 /META-INF/context.xml 檔，編輯內容如下 : 
<br>
<pre class="line-numbers"><code class="language-java match-braces"><br>&lt;Context&gt;<br>    ......<br><br>    &lt;Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs"<br>               prefix="MyWeb_access_log." suffix=".log" pattern="common" resolveHosts="false"/&gt;<br><br>&lt;/Context&gt;<br></code></pre>
<br>
當您將war檔deploy之後，Tomcat會自動幫您產生一個檔案 : {tomcat_home}/conf/Catalina/localhost/MyWeb.xml 
<br>
然後在您的{tomcat_home}/logs/ 目錄下應該就可以看到您的MyWeb_access_log.xxxx.txt 檔了。]]></description>
				<guid isPermaLink="true">https://forum.andowson.com/posts/preList/610/1289</guid>
				<link>https://forum.andowson.com/posts/preList/610/1289</link>
				<pubDate><![CDATA[Mon, 13 May 2013 11:21:32]]> GMT</pubDate>
				<author><![CDATA[ jhliang]]></author>
			</item>
			<item>
				<title>[軟體開發專案管理 Software Development Project Management] Windows系統Subclipse設定Proxy方式</title>
				<description><![CDATA[ 若要在subclipse上設定Proxy，一般人往往會被困在 
<br>
 Windows-&gt;Preferences-&gt;General-&gt;Network Connection 的Proxy設定上好一陣子， 
<br>
然後發現一切還是無法正常運作... <img src="https://forum.andowson.com/images/smilies/2e207fad049d4d292f60607f80f05768.gif" alt="smilie">
<br>
<br>
其實真正的subclipse設定檔是躲在 
<br><i>C:\Users\你的登入帳號\AppData\Roaming\Subversion\</i> 下 
<br>
打開 <b>server</b> 這個檔案，然後找到[global]區塊，依您的proxy參數進行修改 : 
<br>
<br>
<pre class="line-numbers"><code class="language-java match-braces">[global]<br># http-proxy-exceptions = *.exception.com, www.internal-site.org<br>http-proxy-host = proxy.mydomain.com<br>http-proxy-port = 8080<br># http-proxy-username = defaultusername<br># http-proxy-password = defaultpassword</code></pre>
<br>
<br>
設定正確之後應該就可以正常使用svn了~]]></description>
				<guid isPermaLink="true">https://forum.andowson.com/posts/preList/589/1251</guid>
				<link>https://forum.andowson.com/posts/preList/589/1251</link>
				<pubDate><![CDATA[Wed, 14 Nov 2012 17:35:08]]> GMT</pubDate>
				<author><![CDATA[ jhliang]]></author>
			</item>
			<item>
				<title>[Linux/Unix] VMware Images for Linux &amp;amp; FreeBSD</title>
				<description><![CDATA[ 此網站提供了各種已裝好 For VMware 的Linux 及 BSD 的 VM Image 
<br>
<br>
想省掉安裝時間快速體驗的人可以到這邊下載... <img src="https://forum.andowson.com/images/smilies/b2eb59423fbf5fa39342041237025880.gif" alt="smilie">
<br>
<br><a class="snap_shots" href="http://www.thoughtpolice.co.uk/" target="_new" rel="nofollow">http://www.thoughtpolice.co.uk/</a>
<br>
<br><img src="https://forum.andowson.com/images/smilies/97ada74b88049a6d50a6ed40898a03d7.gif" alt="smilie">]]></description>
				<guid isPermaLink="true">https://forum.andowson.com/posts/preList/588/1249</guid>
				<link>https://forum.andowson.com/posts/preList/588/1249</link>
				<pubDate><![CDATA[Fri, 28 Sep 2012 15:22:56]]> GMT</pubDate>
				<author><![CDATA[ jhliang]]></author>
			</item>
			<item>
				<title>[站長工具箱 Webmaster Tools] 回覆:在家架站成本分析</title>
				<description><![CDATA[ 計算台灣非營業用電費用可參考此網頁: 
<br><a class="snap_shots" href="http://0123456789.tw/CALHTML/calpower.html" target="_new" rel="nofollow">http://0123456789.tw/CALHTML/calpower.html</a>
<br>
<br>
另外作者也做了個用電量測的demo，有興趣者可以參考~ 
<br><a class="snap_shots" href="http://0123456789.tw/?p=689" target="_new" rel="nofollow">http://0123456789.tw/?p=689</a>
<br>]]></description>
				<guid isPermaLink="true">https://forum.andowson.com/posts/preList/383/1248</guid>
				<link>https://forum.andowson.com/posts/preList/383/1248</link>
				<pubDate><![CDATA[Wed, 26 Sep 2012 10:35:49]]> GMT</pubDate>
				<author><![CDATA[ jhliang]]></author>
			</item>
			<item>
				<title>[軟體開發專案管理 Software Development Project Management] Astah - 系統分析及系統設計階段好用的畫UML工具</title>
				<description><![CDATA[ 這是一款SA、SD蠻好用的畫UML的工具，由日本人所開發， 
<br>
<br>
可下載免費版本 astah-community，應該就蠻夠用了(UML2.0 九種圖都有了...) 
<br><font color="blue"> </font><font color="#444444"> </font><span style="font-size: 12px; line-height: normal;"> </span><span style="font-size: 24px; line-height: normal;"> </span><span style="font-size: 12px; line-height: normal;"> </span><b>網址 : <a class="snap_shots" href="http://astah.net/editions/community" target="_blank">http://astah.net/editions/community</a></b>
<br>
<br>
另外也還有付費的 astah-professional 版本 
<br>
有可以把SA階段的class設計圖直接轉成SD階段的資料庫ER圖的功能， 
<br>
以及多了一些 UML 3.0 新增圖表的繪製功能.. 
<br>
有興趣的人可以參考看看...<img src="https://forum.andowson.com/images/smilies/69934afc394145350659cd7add244ca9.gif" alt="smilie"><span style="font-size: 18px; line-height: normal;"> </span>]]></description>
				<guid isPermaLink="true">https://forum.andowson.com/posts/preList/587/1247</guid>
				<link>https://forum.andowson.com/posts/preList/587/1247</link>
				<pubDate><![CDATA[Fri, 21 Sep 2012 14:57:38]]> GMT</pubDate>
				<author><![CDATA[ jhliang]]></author>
			</item>
			<item>
				<title>[網頁程式設計 Web Development] 加快你的網頁的一些設計小技巧</title>
				<description><![CDATA[ 在找資料時無意間發現的一篇文章 
<br>
若覺得自己網站的網頁開太慢的朋友 
<br>
可以參考一下文章內的幾個小撇步, 看看是不是有改善您網站的效能 
<br>
<br><a class="snap_shots" href="http://developer.yahoo.com/performance/rules.html" target="_new" rel="nofollow">http://developer.yahoo.com/performance/rules.html</a>]]></description>
				<guid isPermaLink="true">https://forum.andowson.com/posts/preList/402/761</guid>
				<link>https://forum.andowson.com/posts/preList/402/761</link>
				<pubDate><![CDATA[Wed, 3 Feb 2010 15:48:00]]> GMT</pubDate>
				<author><![CDATA[ jhliang]]></author>
			</item>
			<item>
				<title>[Web/Application Server] 從Tomcat 5.5 升到 Tomcat6.0 出現找不到 JNDI Naming 的問題</title>
				<description><![CDATA[ 從Tomcat 5.5 升級到 Tomcat 6.0時, 將${CATAINA_HOME}/common/lib 底下的jar檔copy到${CATAINA_HOME}/lib後, 若當初有設定使用Tomcat的 dbcp 來管理Database Connection Pool , 那麼在Run 的時候會出現 Name java:comp is not bound in this Connection 的錯誤, 這時透過修改 server.xml 及 context.xml 檔都沒用 
<br>
<br>
後來上網查了一下, 發現原因是<font color="red">有 jar 檔重覆</font>了!! 
<br>
<br>
因為Tomcat 6.0 把之前5.5.x版本的某些jar重整, 而與naming有關的三個jar檔被包入6.0版的兩個jar內 
<br>
1. <font color="blue">naming-factory.jar </font>及 <font color="blue">naming-resources.jar </font>
<br>
 =&gt; 被包在 <font color="red">catalina.jar</font> 內 
<br>
2. <font color="blue">naming-factory-dbcp.jar </font>
<br>
 =&gt; 被 <font color="red">tomcat-dbcp.jar </font>取代 
<br>
<br>
所以把上面3個 naming-xxxx.jar 移掉應該就可正常使用dbcp了 
<br>
<br>
<br>
ps. 在google時也找到了下面這個說法~ 
<br><i>if you have appache commons naming jars in your webapp libraries, tomcat tomcat does not initialise jndi context for your resources in your web.xml. remove these jars <br><br>
 a)naming-common.jar, <br>
 b) naming-factory.jar <br>
 c) naming-resources.jar from you web app libraries </i>
<br>
<br>
參考網址:<a class="snap_shots" href="http://forums.sun.com/thread.jspa?threadID=5117657" target="_new" rel="nofollow">http://forums.sun.com/thread.jspa?threadID=5117657</a>]]></description>
				<guid isPermaLink="true">https://forum.andowson.com/posts/preList/305/571</guid>
				<link>https://forum.andowson.com/posts/preList/305/571</link>
				<pubDate><![CDATA[Mon, 9 Mar 2009 15:28:47]]> GMT</pubDate>
				<author><![CDATA[ jhliang]]></author>
			</item>
			<item>
				<title>[Linux/Unix] yum client 的 proxy 設定</title>
				<description><![CDATA[ 由於網路安全的議題，往往機器會架設在intranet內，並透過proxy連到外面，但這樣一來使的套件更新時會變的有點麻煩。 
<br>
解法很簡單，就是透過修改yum的設定檔，告訴yum 透過 proxy server 去更新。 
<br>
<br>
1.修改 /etc/yum.conf 
<br>
<br>
2.找個地方加入這一行 
<br>
<pre class="line-numbers"><code class="language-java match-braces">proxy=http://proxy_ip:port</code></pre>
<br>
<br>
done!]]></description>
				<guid isPermaLink="true">https://forum.andowson.com/posts/preList/183/281</guid>
				<link>https://forum.andowson.com/posts/preList/183/281</link>
				<pubDate><![CDATA[Tue, 16 Oct 2007 17:27:26]]> GMT</pubDate>
				<author><![CDATA[ jhliang]]></author>
			</item>
			<item>
				<title>[JForum中文社群 JForum Chinese Users Community] [v2.1.6] 上傳檔案會出現NullPointerException問題解法</title>
				<description><![CDATA[ 請在 app 的 / 下建一個 tmp 目錄, 開放所有權限,即可解決 
<br>
<br>
參考網址 
<br><a class="snap_shots" href="http://www.jforum.net/posts/list/3077.page" target="_new" rel="nofollow">http://www.jforum.net/posts/list/3077.page</a>]]></description>
				<guid isPermaLink="true">https://forum.andowson.com/posts/preList/7/7</guid>
				<link>https://forum.andowson.com/posts/preList/7/7</link>
				<pubDate><![CDATA[Wed, 3 Jan 2007 20:18:17]]> GMT</pubDate>
				<author><![CDATA[ jhliang]]></author>
			</item>
	</channel>
</rss>