<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Latest posts for the topic "JDK 6.0 + Tomcat 5.5.20 在Windows上面不能run"]]></title>
		<link>http://www.andowson.com/posts/list/20.page</link>
		<description><![CDATA[Latest messages posted in the topic "JDK 6.0 + Tomcat 5.5.20 在Windows上面不能run"]]></description>
		<generator>JForum - http://www.jforum.net</generator>
			<item>
				<title>JDK 6.0 + Tomcat 5.5.20 在Windows上面不能run</title>
				<description><![CDATA[ 今天發現了這個問題 :( ，環境是<br /> OS: Windows 2000 Advanced Server<br /> JDK 6.0<br /> Tomcat 5.5.20<br /> <br /> 改裝JDK 5.0 Update 10就好了 :-) ]]></description>
				<guid isPermaLink="true">http://www.andowson.com/posts/preList/2/2.page</guid>
				<link>http://www.andowson.com/posts/preList/2/2.page</link>
				<pubDate><![CDATA[Wed, 3 Jan 2007 12:52:48]]> GMT</pubDate>
				<author><![CDATA[ andowson]]></author>
			</item>
			<item>
				<title>回覆:JDK 6.0 + Tomcat 5.5.20 在Windows上面不能run</title>
				<description><![CDATA[ 沒想到這個問題今天在Windows Server 2003上又碰上了，為了幫客戶升級Tomcat到新的版本5.5.26，想說順便升級JDK到6.0 Update 4，通常我都是用Windows Installer安裝方式並勾選將Tomcat安裝成Service，結果安裝完成居然無法啟動，趕緊設定了JAVA_HOME及CATALINA_HOME和PATH參數都無效，乾脆改裝Tomcat 6.0.16，也是一樣起不來，火了 :evil: ，全部移除重新開機又重裝也不行，檢查了一下Tomcat的logs目錄下，有一個jakarta_service_20080214.log的log檔，裡面的訊息如下：<br /> [quote][2008-02-14 00:26:45] [info] Procrun (2.0.3.0) started<br /> [2008-02-14 00:26:45] [info] Running Service...<br /> [2008-02-14 00:26:45] [info] Starting service...<br /> [2008-02-14 00:26:45] [174  javajni.c] [error] 找不到指定的模組。<br /> [2008-02-14 00:26:45] [986  prunsrv.c] [error] Failed creating java C:\Program Files\Java\jre1.6.0_04\bin\client\jvm.dll<br /> [2008-02-14 00:26:45] [1260 prunsrv.c] [error] ServiceStart returned 1<br /> [2008-02-14 00:26:45] [info] Run service finished.<br /> [2008-02-14 00:26:45] [info] Procrun finished.<br /> [/quote]<br /> 想起了在安裝過程中Tomcat詢問了J2SE 5.0 JRE的目錄是不是它找到的那個，<br /> [img]http://andowson.myweb.hinet.net/img/Tomcat.jpg[/img]<br /> 這裡特別標明5.0難道說非得用JDK 5.0才行嗎？果然換成JDK 5.0 Update 14就一切正常了。<br /> <br /> 上網用Google找了一陣子終於找到了JDK 6.0+Tomcat 5.5/6.0在Windows上無法啟動問題的解法：<br /> [color=red]將JDK或JRE的bin目錄下的msvcr71.dll複製到Windows的system32目錄下或Tomcat的bin目錄下[/color]即可。<br /> [code]copy %JAVA_HOME%\bin\msvcr71.dll %SystemRoot%\system32[/code]<br /> 我個人是偏好複製到system32目錄，主要的考量是對於日後升級到別的Tomcat版本較為方便。<br /> 看到參考資料的最後一篇，才發現這個問題不只是我遇到而已，真是「江湖一點訣，說破不值錢」。:-D <br /> <br /> 參考資料： <br /> http://tw.myblog.yahoo.com/ttoduepxo/article?mid=786&next=694&l=f&fid=29<br /> http://www.javaworld.com.tw/jute/post/view?bid=9&id=206538&sty=1&tpg=1&age=0<br /> http://www.nabble.com/Tomcat-not-starting-to12554960.html<br /> http://issues.apache.org/bugzilla/show_bug.cgi?id=41538]]></description>
				<guid isPermaLink="true">http://www.andowson.com/posts/preList/2/332.page</guid>
				<link>http://www.andowson.com/posts/preList/2/332.page</link>
				<pubDate><![CDATA[Thu, 14 Feb 2008 00:03:50]]> GMT</pubDate>
				<author><![CDATA[ andowson]]></author>
			</item>
			<item>
				<title>JDK 6.0 + Tomcat 5.5.20 在Windows上面不能run</title>
				<description><![CDATA[ 好險在安裝前有看到這篇文章<br /> <br /> 否則抓問題就不知道抓到何年何月了<br /> <br /> 謝謝安大]]></description>
				<guid isPermaLink="true">http://www.andowson.com/posts/preList/2/634.page</guid>
				<link>http://www.andowson.com/posts/preList/2/634.page</link>
				<pubDate><![CDATA[Fri, 21 Aug 2009 11:57:58]]> GMT</pubDate>
				<author><![CDATA[ papaisno1]]></author>
			</item>
	</channel>
</rss>
