Hi, I'm trying to test openfire+fastpath with the source of webchat. The openfire and fastpath are working fine. However, I have got problems on deploying webchat. I deploy webchat with tomcat. But when I go to the homepage, I get a problem like:
Online Chat Service
Our chat service is unavailable at this time. Please check back soon.java.lang.NullPointerException at org.apache.jsp.index_jsp._jspService(index_jsp.java:149) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFil terChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain .java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java: 230) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java: 175) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) at
.......
the error in the console is
java.lang.NullPointerException
at org.jivesoftware.webchat.actions.WorkgroupStatus.getWorkgroupNames(WorkgroupSta tus.java:242)
at org.apache.jsp.index_jsp._jspService(index_jsp.java:114)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
..........
and when I try to build the webchat project using ant, it come out with the problem:
[javac] D:\im\webchat\src\plugin\java\org\jivesoftware\liveassistant\WebClientPlugin.ja va:24: error: missing org.mortbay.jetty.servlet
[javac] import org.mortbay.jetty.servlet.Context;
[javac] ^
[javac] D:\im\webchat\src\plugin\java\org\jivesoftware\liveassistant\WebClientPlugin.ja va:25: error: missing org.mortbay.jetty.handler
[javac] import org.mortbay.jetty.handler.ContextHandlerCollection;
[javac] ^
[javac] D:\im\webchat\src\plugin\java\org\jivesoftware\liveassistant\WebClientPlugin.ja va:26: error: missing org.mortbay.jetty.webapp
[javac] import org.mortbay.jetty.webapp.WebAppContext;
[javac] ^
[javac] D:\im\webchat\src\plugin\java\org\jivesoftware\liveassistant\WebClientPlugin.ja va:42: error: mising the sign
[javac] private Context context;
[javac] ^
[javac] sign: class Context
[javac] location: class WebClientPlugin
[javac] D:\im\webchat\src\plugin\java\org\jivesoftware\liveassistant\WebClientPlugin.ja va:58: error: missing signs
[javac] ContextHandlerCollection contexts = ((AdminConsolePlugin)pluginManager.getPlugin("admin")).getContexts();
[javac] ^
[javac] sign: class ContextHandlerCollection
[javac] location: class WebClientPlugin
[javac] D:\im\webchat\src\plugin\java\org\jivesoftware\liveassistant\WebClientPlugin.ja va:60: error: missing sign
[javac] context = new WebAppContext(pluginDirectory.getPath(),
[javac] ^
[javac] sign: class WebAppContext
[javac] sign: class WebClientPlugin
Should I change jdk1.5 to solve the problems or should I do any other thing?
Could someone help me?
Cheers!