Windows 2003的服务器部署了Tomcat(6.0.29)服务,JRE版本是Java 6 Update 21,一直稳定运行,前几天维护时更新了JRE到Update24,结果造成Tomcat启动失败,log没任何记录,最后查到是jvm.dll版本问题。
之前为了调优在Tomcat Config里指定了server\jvm.dll,完全按JRE安装包内README操作,copy JDK_HOME\jre\bin\server到JRE目录
[quote]
jre\bin\server\
On Microsoft Windows platforms, the JDK includes both
the Java HotSpot(TM) Server VM and Java HotSpot Client VM.
However, the Java SE Runtime Environment for Microsoft Windows
platforms includes only the Java HotSpot Client VM. Those wishing
to use the Java HotSpot Server VM with the Java SE Runtime
Environment may copy the JDK's jre\bin\server folder to a
bin\server directory in the Java SE Runtime Environment. Software
vendors may redistribute the Java HotSpot Server VM with their
redistributions of the Java SE Runtime Environment.
[/quote]
近期的JRE升级并不会更新server目录的jvm.dll造成Tomcat服务启动失败,严重质疑这官方解决方案,后续隐患不断。
-----------2011-04-07 更新------------------------
几个关键点
·安装为服务的Tomcat,在Config中要制定jvm.dll地址,这个指定决定了使用client模式还是server模式,生产模式server模式基本是必选,会提高性能
·默认的JRE更新不会更新自身ReadMe建议的从JDK目录copy过来的jvm.dll
·Java 6 Update 22推荐升级
之前为了调优在Tomcat Config里指定了server\jvm.dll,完全按JRE安装包内README操作,copy JDK_HOME\jre\bin\server到JRE目录
[quote]
jre\bin\server\
On Microsoft Windows platforms, the JDK includes both
the Java HotSpot(TM) Server VM and Java HotSpot Client VM.
However, the Java SE Runtime Environment for Microsoft Windows
platforms includes only the Java HotSpot Client VM. Those wishing
to use the Java HotSpot Server VM with the Java SE Runtime
Environment may copy the JDK's jre\bin\server folder to a
bin\server directory in the Java SE Runtime Environment. Software
vendors may redistribute the Java HotSpot Server VM with their
redistributions of the Java SE Runtime Environment.
[/quote]
近期的JRE升级并不会更新server目录的jvm.dll造成Tomcat服务启动失败,严重质疑这官方解决方案,后续隐患不断。
-----------2011-04-07 更新------------------------
几个关键点
·安装为服务的Tomcat,在Config中要制定jvm.dll地址,这个指定决定了使用client模式还是server模式,生产模式server模式基本是必选,会提高性能
·默认的JRE更新不会更新自身ReadMe建议的从JDK目录copy过来的jvm.dll
·Java 6 Update 22推荐升级
更新JRE至Update24导致部署于Windows2003服务器上的Tomcat服务无法启动。问题在于未更新server目录下的jvm.dll文件。官方建议从JDK复制jvm.dll到JRE的server文件夹下,但近期JRE升级并未遵循此步骤,导致服务启动失败。

5万+

被折叠的 条评论
为什么被折叠?



