OpenFire 3.7.0 - FastPath WebChat not installing?

Yeah - I got that far and just the Service Unavailable message now when I click the Tools link.
Shouldn’t be a port or firewall issue since I have not changed anything from the default configuration and I have disabled the firewall to see if that was causing any trouble.

Nothing in the error.log file, but in the warn.log file I see the following:

2011.04.22 14:40:12 Committed before 404 null

2011.04.22 14:40:12 /webchat

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)

This is what ended up working for me

http://community.igniterealtime.org/docs/DOC-2156

Although I think I am still going to deploy the war on a different domain using a tomcat server, as I’ve been having horrible woes with webchat timing out while reaching out to the fastpath plugin.

Maybe you should ask in that thread with the patch and war files.

Or you may try using it with tomcat server as Ninjatek suggests. I think some other users also use it now that way.

That worked for me. I installed that plugin and made sure to change the port setting to 7070 on the server config and I’m up an running. Thanks to wr00t for helping as well.

Nathanc- I am having the same issue you had. I got the webchat to show up with the correct version number in my pluggins, but i am getting a http 503 error when i try and click on tools. What fix in here did you do to get past this. There was a couple suggestions, but i don’t see the true fix?

Any help would be greatly appriciated

The post that Ninjatek pointed me to ended up working (I’ve attached the file to this message as well)

Here is the process I went through (some steps were probably superfluous)

  1. First, I deleted any existing webchat.war files and the webchat folder found in C:\Program Files\Openfire (your file location may be different)

  2. Then, I went to http://www.oracle.com/technetwork/java/javase/downloads/index.html and installed both the Java SE 6 Update JDK and JRE (probably only needed one of those)

  3. With that, I saved the attached webchat.war file to the plugins folder in C:\Program Files\Openfire.

  4. Then, I restarted Openfire and logged into the admin console. You should then see two things happen. 1: in the plugins folder a new folder should appear named webchat. 2. You should now see the Fastpath Webchat Service in the Plugins folder - the version will be 4.0.0 (NOT 4.0.2)

  5. In the Openfire web admin interface, click the Server tab. Select Server Settings > HTTP Binding. In the first section area, select “Enabled - Clients can connect to this server using HTTP binding.” and change the Port from 9090 to 7070. You shouldn’t need to modify the SSL settings. Save Settings.

  6. Click the Fastpath tab and select the Tools link. Likely you will receive an error still. This is because the URL will be http://:9090/webchat - we just changed the port to 7070 though so modify that URL to 7070 (I’ve not attempted to change the link itself since there really isn’t any need to for me) - so, you end up with http://:7070/webchat and you should be all set.

Hope that helps
webchat.war (2232020 Bytes)

Yes, It helped. Got a little futher. Now getting a 404 message instead of a 503.

Been a while since i touched openfire. We don’t have a huge user base that uses it. Pretty much IT and we use the fastpath to offer live chat support. I am guessing it’s something in my settings. Thanks for you help.

Okay - did you change the port setting in Openfire and make sure that you are hitting the correct URL? If so - try restarting the service if you haven’t already.

1 Like

I’m having this same issue. I have tried both WebChat v4.0.0 and 4.0.2. I have double checked that HTTP Binding is set to Port 7070 and to port 70443 for SSL connections.

When I use port 9090/webchat I get Service Unavailable. When I use port 7070/webchat I get Not Found. I’ve tried reinstalling the plugin and restarting the server multiple times.

NathanC- rebooting the server fixed it! Not sure why or how, but it’s working!

Damienball- I did exactly what Nathanc said, and rebooted. So happy to have this back thanks for the help

I suppose the port change isn’t truly committed or implemented until a restart of the service.

Glad you’re back in business - thanks up the chain as well to the folks that helped me.

doing what he said I was able to get it to install. Now I just can’t get anything on the web chat screen.

Hmm…what do you mean “can’t see anything on the web chat screen”?

Is it blank or is there an associated error?

Is this the screen that pops up when you click Tools on the Fastpath tab?

I assume you have created at least one Fastpath workgroup and queue?

It opens to a screen entitled “Fastpath Web Chat” and says “List of available workgroups within Faspath. Click on one of the following workgroups to join.”

It doesn’t show any workgroups. or anything else on the screen. I’ve setup 2 workgroups and queues in each. I can connect both of these queues using the SPark client (2.6.0RC1 on Mac)

Try a couple of things if you can:

  1. Sounds silly but it could just be that the image links aren’t appearing. Try slowly moving your mouse around in the white space (mainly to the left of the page) - you may find that the cursor turns to a hand cursor which you can click.

  2. See the following code - save it as an HTML file and replace any bold underlined value with your appropriate values. If done properly, you should get a simple webpage that has a link named webchat that will open the chat window for you.

Webchat Link Test
    <script language="javascript" type="text/javascript" src="[http://](http://)**servername**:7070/webchat/jivelive.jsp"></script>
<a href="#" onclick="launchWin('framemain','[http://](http://)**servername**:7070/webchat/start.jsp?workgroup=**workgroup_name**@workgroup.**servername**&location=/test.html',500,400); return false;">webchat</a>

using that script worked like a charm. NOW, my problem is that when I accept it in Spark client, it tells the webchat user that “We are unable to connect you to an agent. Please try back later.”. I can click ok and as it’s closing the window I can see the messages that I typed to the webchat user from the spark client. Any ideas?

I assume you are logged into the appropriate workgroup in the Fastpath tab in the Spark client? Since you said you have a couple of workgroups - make sure that you are signed into the same workgroup that you defined in the script above. I’ve hit my head against that wall a couple of times

Yeah I just double-checked. I can actually connect to the user on the spark client side, but the webchat side notifies the user that no one is available and disconnects even though I can see the webchat client receive messages from my spark client.

…and we have reached the limit of my knowledge / experience.

I’m only guessing at this point - in the workgroup settings page, I have the web authentication box unchecked. That’s about the only setting I can think of - short of firewall settings or something

HI frnds,

I am new in opensource and i have installed openfire for testing purpose and while accessing webhcat I am getting below error

ERROR:

HTTP ERROR 404

Problem accessing /webchat. Reason:

Not Found

Using openfire : 3.7.0

fastchat : 4.2.0

PLease help me out