I resolved the error above by verifying my Java install
But - not when I click the Tools link in the Fastpath tab I get this error:
HTTP ERROR 404
Problem accessing /webchat. Reason:
Powered by Jetty://
Not sure what the problemo is here - webchat folder exists, start.jsp is in the folder, permissions are granted to the folder.
1 of 1 people found this helpful
What about this version? http://community.igniterealtime.org/thread/44193
Thank you very much - I had not seen that thread. I applied the updated webchat.war and see that it displays as version 4.0.2 now - however, now I get:
HTTP ERROR: 503
Problem accessing /webchat. Reason:
I assume that the .patch file was informational and that the attached .war file is the compiled version that integrates the patch?
Yep. You should try the war file.
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 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.ServletHandler$CachedChain.doFilter(ServletHandler.ja va:1216)
at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:11 8)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.ja va:1187)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:93 3)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:867 )
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.HttpConnection$RequestHandler.headerComplete(HttpConne ction.java:992)
at org.eclipse.jetty.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:4 62)
at java.lang.Thread.run(Unknown Source)
This is what ended up working for me
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.
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.
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.
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://<host>: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://<host>:7070/webchat and you should be all set.
Hope that helps
webchat.war 2.1 MB
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.
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.
<title>Webchat Link Test</title>
<a href="#" onclick="launchWin('framemain','http://servername:firstname.lastname@example.org&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
I am new in opensource and i have installed openfire for testing purpose and while accessing webhcat I am getting below error
HTTP ERROR 404
Problem accessing /webchat. Reason:
Using openfire : 3.7.0
fastchat : 4.2.0
PLease help me out
Thanks a lot man..
Could you please elaborate in detail the steps of installing Fastpath Webchat plugin in OpenFire version 3.9.3?
My requirement is to have a web chat client which will interact with the OpenFire server.
I am stating what I have done in doing the same:
First I installed OpenFire version 3.9.3 which was successfull. I am able to login to the admin panel by visiting the link http://127.0.0.1:9090/
Then, I went to the "Available Plugins" list from under the "Plugins" menu and from there I tried to install "Fastpath Webchat" plugin version 4.0.0. A message showed that the plugin is successfully installed and it also appeared under the openfire/plugins folder on my server installation. But it never disappeared from the Available Plugins list, nor did it appear in the installed Plugins list. Then, I tried to access the Webchat plugin using the url http://127.0.0.1:9090/webchat as mentioned in the readme file but it never materialised. I also tried to follow the other instructions as mentioned in the readme file but nothing happened. You can view the readme file from http://www.igniterealtime.org/projects/openfire/plugins/webchat/readme.html
Could you please help me out in this case? I am in urgent need and will be truly grateful to you.