Hello People and thank you in advance for your help.
I have a problem deploying webchat.war and I need your valuable help. I'm new to tomcat and openfire.
The error I get while deploying webchat.war on cPanel Tomcat 7 is:
----- START ERROR ------------
HTTP Status 500 - An exception occurred processing JSP page /setup-finished.jsp at line 61
type Exception report
messageAn exception occurred processing JSP page /setup-finished.jsp at line 61
descriptionThe server encountered an internal error that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: An exception occurred processing JSP page /setup-finished.jsp at line 61 58: settings.setServerDomain(domain); 59: settings.setPort(Integer.parseInt(port)); 60: 61: settingsManager.save(settings); 62: %> 63: 64: Stacktrace: org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:568) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:470) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334) javax.servlet.http.HttpServlet.service(HttpServlet.java:728) org.jivesoftware.webchat.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:45) org.jivesoftware.webchat.SetupFilter.doFilter(SetupFilter.java:92)
root cause
java.lang.NullPointerException org.jivesoftware.webchat.util.WebLog.logError(WebLog.java:62) org.jivesoftware.webchat.settings.ChatSettingsManager.save(ChatSettingsManager.java:103) org.apache.jsp.setup_002dfinished_jsp._jspService(setup_002dfinished_jsp.java:113) org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) javax.servlet.http.HttpServlet.service(HttpServlet.java:728) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334) javax.servlet.http.HttpServlet.service(HttpServlet.java:728) org.jivesoftware.webchat.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:45) org.jivesoftware.webchat.SetupFilter.doFilter(SetupFilter.java:92)
noteThe full stack trace of the root cause is available in the Apache Tomcat/7.0.42 logs.
---- END OF ERROR ----
My TOMCAT is 7 vrsion, running on cPanel linux server.
The openfire server is different machine.
Any help would be appreciated. I have tried all possible webchat.war that I found on the website!
Thanks again,
Alex