Giter Club home page Giter Club logo

openfire-websockets's Introduction

Dele Olajide's Stats

openfire-websockets's People

Contributors

olajidedele avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

openfire-websockets's Issues

Errors in JS

What steps will reproduce the problem?
simply copy the following in a blank html page:

<html lang="en">
<head>
<script src="javascript/thirdparty.js" type="text/javascript"></script>
<script src="javascript/yui.js" type="text/javascript"></script>
<script src="javascript/spank.js" type="text/javascript"></script>
<script src="javascript/sparkweb.js" type="text/javascript"></script>
<script src="javascript/xmpp-ws.js" type="text/javascript"></script>
</head>
<body>
</body>
</html>

sorry about the lack of indentation ... 

What is the expected output? What do you see instead?
I shouldn't be receiving any errors instead I get this from the console:

Uncaught TypeError: Cannot call method 'addListener' of null sparkweb.js:1
com.jive.sparkweb.control.init sparkweb.js:1
wrappedFn yui.js:845
wrappedFn yui.js:25

What version of the product are you using? On what operating system?
Latest version downloaded from trunk, on windows 7 Ultimate 64bit

Please provide any additional information below.
all I wanted to do i create a xmpp websocket client for an app I am writing.  I 
know enough about the XMPP protocol, but having to go through JS files without 
any documentation I think It's crazy.  I have resorted looking at the sparkweb 
app to understand how to make a simple xmpp javascript client, however the 
sheer size of js code makes it virtually impossible.  Is IgniteRealtime 
responsible for the missing docs? will it be produced at some point ? The 
protocol itself is very well documented ... Many thanks

Original issue reported on code.google.com by [email protected] on 18 Aug 2013 at 6:49

sparkweb bugfix and some problem

1. sparkweb/chat/javascript/xmpp-ws.js
    line 145 missed something

    this._fireEvent("connectionFailed");

    It affect login failed.

2. Can it suport IE?
   When I execute sparkweb on IE, yui.js can not to work, and websocket can not received anything.

Original issue reported on code.google.com by [email protected] on 6 Jan 2015 at 10:18

install websockets plugin, but response 404 error

What steps will reproduce the problem?
1. download openfire 
3.7.1(download.­igniterealtime.­org/­openfire/­openfire_3_7_1.­zip)
2. copy websockets.war to plugins dir;
3. copy and replace slf4j-log4j12.jar\openfire.jar to libs dir;
4. start openfire and config step by step;
5. browser visit http://127.0.0.1:7070/websockets, response 404 error

what's the reason? thanks a lot.



Original issue reported on code.google.com by [email protected] on 6 Jul 2012 at 9:25

ofChat keeps grey and unlickable after signed in -ldap user authenticated as anyomous session

ofChat keeps grey and unlickable after signed in

What steps will reproduce the problem?
1. I use Openfire 3.8.2 alpha and ofchat-010  (withou websockets checked)
2. I can sign in but ofChat keeps grey
3. on server side i can see "only" any anonymous session for my ip, altough i 
logged in via my ldap user i also use with spark sucessfull.
I have no "+" or any roster and if i click user pr0ofile nothing happens.

I see my ip in seesions list on server as Autehticated, but it does not now my 
user because its says "Anonymous", what i strange as this work with spatl 
without problems.

Anonymous           452d980a           Local           Authenticated          
Online

Anonymous Login is allowed on server, however users authenticate against ldap 
and i logged in in ofchat with my ldap account i reagilary use with spark 
sucessfully.


Please help!

Original issue reported on code.google.com by [email protected] on 31 Jul 2013 at 10:11

Configuring the WS in httpd.conf

Hi
I have installed the plugin WebSockets Plugin for Openfire ver 0.0.0.6 and it 
shows up in Openfire under plugin and also in the server and I have saved the 
web application name as ws. 

when I navigate to http://mydomain.com:7070/ws the url does not show anything. 
Is there any httpd.conf what I have to change. I have installed it on Centos.

Thanks in advance 

Cheers
Sunil

Original issue reported on code.google.com by [email protected] on 22 Jun 2015 at 9:42

Not appearing online in openfire admin console

Hello!

I have managed to connect using the openfire-websockets.js in my openfire 
server. However when I check the Openfire Admin Console it doesn't show my user 
as connected. Am I missing something?
I have followed the instructions and using the OpenFire 3.7.1 and the latest 
jetty build and have deployed the plugin.

BR

Original issue reported on code.google.com by [email protected] on 3 Feb 2012 at 9:30

ofChat keeps grey after I signe in

What steps will reproduce the problem?
1. I use Openfire 3.7.2 alpha and ofchat-009
2. I can sign in but ofChat keeps grey
3. I can receive message but ofChat keeps grey

ofChat keeps grey just as the "ofchat_test.png"

I need help. Thanks.

Original issue reported on code.google.com by [email protected] on 26 Jul 2012 at 1:33

Attachments:

500 error

What steps will reproduce the problem?
1. Install OpenFire 3.7.1
2. Install websockets plugin
3. Go to 
http://yourserver:7070/ws/server?username=admin&password=password&resource=peek


What is the expected output? What do you see instead?

Chat interface connected to the server

What version of the product are you using? On what operating system?
HTTP ERROR 500

Problem accessing /ws/server. Reason:

    org/eclipse/jetty/websocket/WebSocketFactory$Acceptor

Caused by:

java.lang.NoClassDefFoundError: 
org/eclipse/jetty/websocket/WebSocketFactory$Acceptor
    at java.lang.Class.getDeclaredConstructors0(Native Method)
    at java.lang.Class.privateGetDeclaredConstructors(Class.java:2389)
    at java.lang.Class.getConstructor0(Class.java:2699)
    at java.lang.Class.newInstance0(Class.java:326)
    at java.lang.Class.newInstance(Class.java:308)
    at org.eclipse.jetty.servlet.Holder.newInstance(Holder.java:155)
    at org.eclipse.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:407)
    at org.eclipse.jetty.servlet.ServletHolder.getServlet(ServletHolder.java:316)
    at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:507)
    at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:427)
    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:933)
    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(ContextHandlerCollection.java:245)
    at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java: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(HttpConnection.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:462)
    at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:436)
    at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.ClassNotFoundException: 
org.eclipse.jetty.websocket.WebSocketFactory$Acceptor
    at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    at org.eclipse.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:304)
    at org.eclipse.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:266)
    ... 29 more

Caused by:

java.lang.ClassNotFoundException: 
org.eclipse.jetty.websocket.WebSocketFactory$Acceptor
    at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    at org.eclipse.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:304)
    at org.eclipse.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:266)
    at java.lang.Class.getDeclaredConstructors0(Native Method)
    at java.lang.Class.privateGetDeclaredConstructors(Class.java:2389)
    at java.lang.Class.getConstructor0(Class.java:2699)
    at java.lang.Class.newInstance0(Class.java:326)
    at java.lang.Class.newInstance(Class.java:308)
    at org.eclipse.jetty.servlet.Holder.newInstance(Holder.java:155)
    at org.eclipse.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:407)
    at org.eclipse.jetty.servlet.ServletHolder.getServlet(ServletHolder.java:316)
    at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:507)
    at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:427)
    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:933)
    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(ContextHandlerCollection.java:245)
    at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java: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(HttpConnection.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:462)
    at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:436)
    at java.lang.Thread.run(Thread.java:662)

Powered by Jetty://




Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 9 Nov 2011 at 11:40

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.