Fastpath Webchat Setup Errors

I am trying to install Fasthpath Webchat onto a secondary webserver and I get the following error after I enter in my server information and click continue:

HTTP Status 500 -

type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: Exception in JSP: /setup-index.jsp:40 37: } 38: 39: try { 40: ConnectionConfiguration xmppConfig = new ConnectionConfiguration(domain, port); 41: XMPPConnection con = new XMPPConnection(xmppConfig); 42: con.connect(); 43: con.loginAnonymously(); Stacktrace: org.apache.jasper.servlet.JspServletWrapper.handleJspException(jasper5-compiler -5.5.17.jar.so) org.apache.jasper.servlet.JspServletWrapper.service(jasper5-compiler-5.5.17.jar .so) org.apache.jasper.servlet.JspServlet.serviceJspFile(jasper5-compiler-5.5.17.jar .so) org.apache.jasper.servlet.JspServlet.service(jasper5-compiler-5.5.17.jar.so) javax.servlet.http.HttpServlet.service(tomcat5-servlet-2.4-api-5.5.17.jar.so) org.jivesoftware.webchat.SetCharacterEncodingFilter.doFilter(SetCharacterEncodi ngFilter.java:45) org.jivesoftware.webchat.SetupFilter.doFilter(SetupFilter.java:92)
root cause
javax.servlet.ServletException: org.jivesoftware.smack.XMPPConnection org.apache.jasper.runtime.PageContextImpl.doHandlePageException(jasper5-runtime -5.5.17.jar.so) org.apache.jasper.runtime.PageContextImpl.handlePageException(jasper5-runtime-5 .5.17.jar.so) org.apache.jsp.setup_002dindex_jsp._jspService(setup_002dindex_jsp.java:243) org.apache.jasper.runtime.HttpJspBase.service(jasper5-runtime-5.5.17.jar.so) javax.servlet.http.HttpServlet.service(tomcat5-servlet-2.4-api-5.5.17.jar.so) org.apache.jasper.servlet.JspServletWrapper.service(jasper5-compiler-5.5.17.jar .so) org.apache.jasper.servlet.JspServlet.serviceJspFile(jasper5-compiler-5.5.17.jar .so) org.apache.jasper.servlet.JspServlet.service(jasper5-compiler-5.5.17.jar.so) javax.servlet.http.HttpServlet.service(tomcat5-servlet-2.4-api-5.5.17.jar.so) org.jivesoftware.webchat.SetCharacterEncodingFilter.doFilter(SetCharacterEncodi ngFilter.java:45) org.jivesoftware.webchat.SetupFilter.doFilter(SetupFilter.java:92)
root cause
java.lang.NoClassDefFoundError: org.jivesoftware.smack.XMPPConnection java.lang.Class.initializeClass(libgcj.so.7rh) org.jivesoftware.smack.ConnectionConfiguration.<init>(ConnectionConfigura tion.java:57) org.apache.jsp.setup_002dindex_jsp._jspService(setup_002dindex_jsp.java:75) org.apache.jasper.runtime.HttpJspBase.service(jasper5-runtime-5.5.17.jar.so) javax.servlet.http.HttpServlet.service(tomcat5-servlet-2.4-api-5.5.17.jar.so) org.apache.jasper.servlet.JspServletWrapper.service(jasper5-compiler-5.5.17.jar .so) org.apache.jasper.servlet.JspServlet.serviceJspFile(jasper5-compiler-5.5.17.jar .so) org.apache.jasper.servlet.JspServlet.service(jasper5-compiler-5.5.17.jar.so) javax.servlet.http.HttpServlet.service(tomcat5-servlet-2.4-api-5.5.17.jar.so) org.jivesoftware.webchat.SetCharacterEncodingFilter.doFilter(SetCharacterEncodi ngFilter.java:45) org.jivesoftware.webchat.SetupFilter.doFilter(SetupFilter.java:92)
note The full stack trace of the root cause is available in the Apache Tomcat/5.5.17 logs.

Apache Tomcat/5.5.17

I have already tested the Webchat client on my openfire server and it works beautifully, so I am pretty sure that my Openfire server and Fastpath are configured correctly. Does anybody have any advice on how to fix this?

Bump…

Did you enter the information correctly for your chat server (i.e. chatserver.domain.com:9090)? If the tomcat server able to use the port you specified, firewall issues or something as such?

Thanks for the response mtstravel,

Yes I did. I tried both fqdn and ip address neither worked. I have also tried both port 9090 and 5222. The ports on the firewalls are opened for both servers.

Can anybody else help me with this problem.

Ok…I have a hunch it had to do with Tomcat, and I was correct. Apparently Fastpath Webchat does not like Tomcat 5.5. After I installed Tomcat 6 it was smooth sailing. Hope that helps anybody else that has the problem.

M.Romero,

we are using tomcat 5.5.24 and having the same problem. Tomcat6 worked for you? I want to ask before we go through the process. We are using centos 5.2. As for the setup-index.jsp, did you enter in the same info you’ve entered in fastpath plugin openfire. We have this working, just not in tomcat.

We upgraded to Tomcat 6 and webchat via Tomcat worked until recently. Now I can’t get it to work at all - even when installed as a Openfire plugin.

The error message when I try to setup the server via tomcat/webchat is shown below. The only change to our server was adding the Red5 plugin.

type Exception report

message

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

exception

org.apache.jasper.JasperException: java.lang.NullPointerException
     org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:522)
     org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:416)
     org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
     org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
     javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
     org.jivesoftware.webchat.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:45)
     org.jivesoftware.webchat.SetupFilter.doFilter(SetupFilter.java:92)

root cause

java.lang.NullPointerException
     org.apache.jsp.setup_002dindex_jsp._jspService(setup_002dindex_jsp.java:93)
     org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
     javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
     org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
     org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
     org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
     javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
     org.jivesoftware.webchat.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:45)
     org.jivesoftware.webchat.SetupFilter.doFilter(SetupFilter.java:92)

I have tried everything…

**Could not connect to server. Please check that the domain and port are valid. **

I verified the port is open correctly 5222, anon logins enabled, all security correct etc.

Tomcat 6.0.14

I will even pay for help on this issue.

Screen shot of error log attatched.

Help woul be appreciated.

hello,do you know where i can download the fastpath webchat source.thanks.