2014-11-05 95 views
0

我最近應用了CF 10更新14,之後在嘗試訪問管理面板時收到此錯誤。HTTP狀態500錯誤Tomcat 7.0.23 CF 10更新14之後

HTTP Status 500 
type Exception report 

message 

description The server encountered an internal error() that prevented it from fulfilling this request. 

exception 

javax.servlet.ServletException: java.lang.NullPointerException 
    coldfusion.bootstrap.ClassloaderHelper.initServletClass(ClassloaderHelper.java:129) 
    coldfusion.bootstrap.BootstrapServlet.init(BootstrapServlet.java:59) 
    org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472) 
    org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98) 
    org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:414) 
    org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:204) 
    org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:539) 
    org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:298) 
    java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) 
    java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) 
    java.lang.Thread.run(Thread.java:662) 
root cause 

java.lang.NullPointerException 
    coldfusion.CfmServlet.init(CfmServlet.java:97) 
    coldfusion.bootstrap.ClassloaderHelper.initServletClass(ClassloaderHelper.java:121) 
    coldfusion.bootstrap.BootstrapServlet.init(BootstrapServlet.java:59) 
    org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472) 
    org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98) 
    org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:414) 
    org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:204) 
    org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:539) 
    org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:298) 
    java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) 
    java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) 
    java.lang.Thread.run(Thread.java:662) 
note The full stack trace of the root cause is available in the Apache Tomcat/7.0.23 logs. 

回答

2

發生這種情況是因爲修復程序未正確安裝。我做了一個手工卸載從命令提示符:

java -jar {cf_install_home}/{instance_home}/hf_updates/hf-10-00014/uninstall /uninstaller.jar 

檢查日誌文件,發現訪問錯誤的hf_updates文件夾。將讀/寫屬性應用到文件夾並重新安裝CF 10 Update 14.現在所有工作。

0

此答案仍適用於CF 10 Update 19.更新失敗,因爲安全強化程序限制對操作系統和CF實例根的訪問,並且該用戶無權訪問hf_updates/*文件夾。一旦通過cf管理員面板授予安裝工作完美無瑕。

如下只需更新卸載命令:

java -jar {cf_install_home}/{instance_home}/hf_updates/hf-10-00019/uninstall /uninstaller.jar 
相關問題