Getting Webchat working on Windows

I am trying to get Webchat working on my install, but so far, I cant get it to work.

I have Openfire installed on a Windows XP (32bit) machine.

I have tried using the webchat plugin from the following threads, but none of them work:

Everything I try gives me the same result.

I go to “http://localhost:9090/webchat” and I get the following message:

HTTP ERROR: 503

Problem accessing /webchat. Reason:

Service Unavailable

Powered by Jetty://

If I go to “http://localhost:7070/webchat” I get the following:

HTTP ERROR 404

Problem accessing /webchat. Reason:

Not Found

Powered by Jetty://

This is what I see in the Openfire warn log:

2012.12.14 11:19:42 org.jivesoftware.util.log.util.JettyLog - /webchat

java.lang.IllegalStateException: Committed

at org.eclipse.jetty.server.Response.resetBuffer(Response.java:1047)

at org.eclipse.jetty.server.Response.sendError(Response.java:265)

at org.eclipse.jetty.server.Response.sendError(Response.java:367)

at javax.servlet.http.HttpServletResponseWrapper.sendError(HttpServletResponseWrap per.java:128)

at com.opensymphony.module.sitemesh.filter.PageResponseWrapper.sendError(PageRespo nseWrapper.java:175)

at org.eclipse.jetty.servlet.DefaultServlet.doGet(DefaultServlet.java:451)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)

at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:530)

at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.ja va:1216)

at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:11 8)

at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:52)

at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.ja va:1187)

at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:425)

at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119)

at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:494)

at org.eclipse.jetty.server.session.SessionHandler.handle(SessionHandler.java:182)

at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:93 3)

at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:362)

at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:867 )

at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)

at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandler Collection.java:245)

at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.jav a:126)

at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:113)

at org.eclipse.jetty.server.Server.handle(Server.java:334)

at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:559)

at org.eclipse.jetty.server.HttpConnection$RequestHandler.headerComplete(HttpConne ction.java:992)

at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:541)

at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:203)

at org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:406)

at org.eclipse.jetty.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:4 62)

at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:436)

at java.lang.Thread.run(Unknown Source)

I have JRE 6U38 and JDK 6U38 installed on the machine.

Any ideas as what I need to do to get it working?

Thanks for any help you can provide, and Happy Holidays!

-Levi

I have got the same problem, but it works!

Sometime ago i have done an workarround to common openfire + webchat instalation

I had used tomcat web server to tun webchat and it works, if you look on my previous posts you will get how i get this to work

cheers

Yeah, but you dont explain how to get it working. I understand that you used MySQL and Tomcat, but I dont understand how to get it working.

-Levi

So,

After playing with this for a while now, I think I finally got it figure out!

Here is what I did:

Hopefully this helps other people trying to get this setup. I am a noob and not having it spelled out for me was a really pain in the butt.

Cheers,

Levi

When installing on Windows, was getting the same 503 Service Unavailable error when attempting to connect to Webchat Tools. The logged error was:

2013.01.17 10:50:04 org.jivesoftware.util.log.util.JettyLog - Failed startup of context WebAppContext@433545@433545/webchat,file:/C:/Program%20Files/Openfire/plugins/w ebchat/,C:\Program Files\Openfire\plugins\webchat

java.net.URISyntaxException: Illegal character in path at index 16: file:/C:/Program Files/Openfire/plugins/webchat/lib/plugin-webclient.jar

To fix, when installing on Windows, don’t let it install to the default C:\Program Files\Openfire directory. The space in the path breaks it. Install to something like C:\Openfire instead.