發表文章

目前顯示的是有「Tomcat」標籤的文章

STS/Eclipse中,Deploy專案到Tomcat變更預設URL路徑

有的時候複製舊的專案後會變更專案名稱,例如server_a --> server_b 發佈到Tomcat測試的時候路徑仍然會是server_a 解法是到  .settings/org.eclipse.wst.common.component 裡面去變更 server_b "> ......

Tomcat Crash with Geoserver

Geoserver發佈在windows server上常常有問題 有的時候換個JVM版本就沒問題,有的時候JVM用32bit就OK,有的時候JRE要用JDK裡面的JRE才沒問題... 最近發佈上遇到一個狀況,網路上查了一下似乎是老問題,但也不知道為什麼有的機器上不會遇到,log的紀錄如下 # # A fatal error has been detected by the Java Runtime Environment: # #  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00000001800057b2, pid=7836, tid=6024 # # JRE version: 6.0_35-b10 # Java VM: Java HotSpot(TM) 64-Bit Server VM (20.10-b01 mixed mode windows-amd64 compressed oops) # Problematic frame: # C  [tcnative-1.dll+0x57b2] # # An error report file with more information is saved as: # D:\apache-tomcat-7.0.37_80_tomcat\bin\hs_err_pid7836.log # # If you would like to submit a bug report, please visit: #   http://java.sun.com/webapps/bugreport/crash.jsp # The crash happened outside the Java Virtual Machine in native code. # See problematic frame for where to report the bug. # 目前是根據 http://osgeo-org.1560.n6.nabble.com/Geoserver-crashes-td3804238.html 將 /bin下的tcnative-1.dll拿掉解決,感謝上帝~~

Tomcat UI for不同的service

根據官方的說法 http://tomcat.apache.org/tomcat-6.0-doc/windows-service-howto.html //ES// Edit service configuration This is the default operation. It is called if the no option is provided but the executable is renamed to servicenameW.exe 只要把原本的tomcat7w.ext 改成 [service_name]w.exe 就行了

Tomcat無法啟動原來是JDK1.6惹的禍

將tomcat註冊成服務之後竟然無法啟動了 原來是jdk1.6惹的禍 網路上的解法是將Java_home/bin中的msvcr71.dll 複製到Tomcat_home/bin/裡面,就可以正常啟動了....