Quantcast
Channel: Ignite Realtime : Discussion List - All Communities
Viewing all 10742 articles
Browse latest View live

Webchat bug with username and quotes

$
0
0

I find a strange bug in webchat module.

I setup openfire 3.6.0 and webchat 4.0.0 (all latest versions). In Form UI username field has a "Populate with user's previous choice." option selected. Web authentication option enabled too.

 

So, when a user login via web form a first time - all OK. But, when user visit login page again - he has a filled username filed. But this username in quotes! Of course, user can't login, because username incorrect. In next login try user got username with two quotes before and after text, etc.

 

I looked into source of HTML page and see code like this:

<td class="formtext" height="1%" width="1%" nowrap>Name:&nbsp;<span class="error">*</span></td><td><input type="text" name="username" value=&quot;jeff&quot; style="width:75%"></td>

 

The Value field of input tag is incorrect formatted - not quotes, but html quot sign inserted.

 

Is there any ideas?


LdapManager JID encoding problem with username containing @ character

$
0
0

 

I’ve encountered a bug in LdapManager when using @ character in usernames.

My configuration is:

-         Openfire 3.6.0a

-          OpenLdap 2.4.11

-          XMPP domain set to wi065007

-          Usernames are like xxx@yyy

 

With this configuration, using Spark and other XMPP clients, JIDs are encoded to xxx\40yyy@wi065007/Spark and I’m able to login and chat correctly.

But in User Summary view (within OpenFire web administration console) I can’t see any user and the integrated search plugin is not working.

 

The problem seems related to retrieveList method in the LdapManager class because the returned username list is not encoded.

For example, searching for the xxx* user, the returned username is xxx@yyy instead of xxx\40yyy.

 

I’ve fixed this problem forcing a call to JID.escapeNode(result) for each item of the returned list.

ofMucMember mysql table is empty

$
0
0

Hi, I have a problem with the table ofMucMember being empty after creating a persistent room and joining it with a user. In openfire admin interface, the room appears and the user is active in that room, but the mysql tabl is empty.

 

I really need this feature in order to verify is some rooms are occupied or not. Is this behaviour normal ?

 

Thanks,

Alex

Keeping open fire running

$
0
0

Hi, I have installed the latest version of open fire on my server (centos 5.9).  I have a couple of what I hope are simple issues.

 

1: when I access http://server:9090, I complete the setup but it is in a loop. I think I read that is means a certain file isn't write able in the server. Can someone please point me in the right direction as to which file, and what command to type in to change these permissions?

 

2: I have openfire running via /etc/init.d/openfire start. I am able to access the setup via http://server:9090, however no clients can connect to the server. The only way I can get it to work is if I do the command like this:

 

Cd /opt/openfire/bin

./openfire.sh

 

After running this command, clients can connect via the usernames and passwords I created just fine. But as soon as I close the SSH connection, they shut down.

 

I can verify that openfire IS running as a service, but clients can't connect.

 

I appreciate any help in advance. I'm just learning this system, as well as having never used Linux before.

[bug] ldap.authorizeField property is ignored in LdapAuthorizationPolicy

$
0
0

Hi all

I wish to report (what I think it is) a bug.

in LdapAuthorizationPolicy, the "ldap.authorizeField" is ignored. In fact it is got from LDAP but not used to gather the logins that may authorized a selected username.

 

I attach a patch to fix the problem.

 

Thanks

Antonio

 

P.S.: This is the second time I see a JIRA that's not open to public reports (the other time was with ANTLR, and they were not very friendly). This is pretty annoying. At Apache, JBoss and others reports are open for everyone.

PubSub: Multiple Subscriber issue

$
0
0

Hello Everyone,

 

Ok, I got a weird one here. This works (how I think is right) on my dev machine but not on my staging machine. Basically here it goes:

 

I logged into the site with me@example.com/1 and subscribe to the pubsub node /mynode for me@example.com/1, I leave the site and my session goes idle (there is no disconnect).

 

I go back to the site and I have a new resource me@example.com/2 and I subscribe to the pubsub node /mynode for me@example.com/2. But now I am receiving messages from that node for both me@example.com/1 and me@example.com/2. That doesn't sound like it is right. Am I missing something in the spec or a setting?

 

Thanks!

 

Jeff

Which "xmpp.pubsub.*" properties are implemented?

3.8.1 Alpha BUGS - Nightly debian package

$
0
0

Hello,

 

Just finished a clean install of the nightly debian package on a machine that was previously running 3.7.0 pretty flawlessly except for file transfers between users.  This is open-ldap and mysql.

 

I've come across the following bugs:

 

1.) After install and running through the admin install

     A.) NONE of the TEST this functionality works...

     B.) When complete - it loops back to beginning of the install.

 

2.) After I copied my own openfire.xml into the /etc/openfire directory - I could actually move forward however the following bugs appeared:

     A.) I needed to create self signed keys - I did that but when restarting the http server as required - the server admin website BROKE.  The reason for this was the truststore cert/key was never created.

     B.) I still can't see any of my users/buddies online - this could be an option I don't know about but I get nothing.

 

3.) Available Plugins have disappeared - THERE IS NOTHING AVAILABLE?  I had 5 plugins installed on my old 3.7.0 system.

 

4.) Missing /etc/init.d/openfire file on new dpkg install?

 

Cheers,

Todd


Where is the database for the monitoring/archiving stored?

$
0
0

I would like to ask where is the database for the message monitoring/archiving located?

I want to make back ups of it every 6 months or so then zero out the live message monitoring/archiving in openfire server

 

Thanks.

Installing Debian source files over dpkg install

$
0
0

Hello,

 

I've got a working install however I can't seem to see my users in any "buddy" list and saw the bug post.  I want to use a nightly build but am not sure which files to replace?

 

Can someone point the way in the right direction?

 

Cheers,

Todd

bug sometimes causing exception at startup

$
0
0

On a system I unfortunately do not currently have access to Spark would not start without some changes to src/java/org/jivesoftware/spark/ui/ContactItem.java. This function checks a length against displayName.length(), but then uses StringUtils.unescape on displayName before using that length with substring(). unescape can make the string shorter, so that substring call can fail. I'm not sure why it did that consistently for me on only one system, though, and I can't currently tell you exactly what the failure mode was, but I do recall it made spark unusable (either no contacts window at all or an empty one).

 

Also, the getMainWindowHeight() call in the same function should almost certainly be getMainWindowWidth().

Problems with broadcasting to groups

$
0
0

Hallo folks,

 

we set up a small openfire server for our EVE Online alliance, no we ran into a problem with broadcasting to groups (with the broadcast plugin).

I try to describe the problem as detailled as possible.

 

We have set up 2 groups named "eveki" and "evesectwo"

 

I am an admin an belong to the group "eveki".

I set up a contact to point to eveki@broadcast.[servername] - as i expected the broadcast works perfect to this contact.

Now i tried to broadcast to evesectwo@boradcast.[servername] - but the contact is offline and have a pending contact request.

 

Even as i set myself as a member of the evesectwo group the situation stays the same and it is not possible to broadcast to the "evesectwo" group.

 

Have I done anything wrong? And what ?

 

Thanks in advance

 

Wayan

server is not sending Subscription approval notification

$
0
0

I am not be able to receive Subscription approval notification from the server when owner approves the subscriber

following is the flow i have run the test in PSI xml.

 

 

 

A request for subscription

 

 

 

<iq type='set'    from='88f37b90@example.com'    to='pubsub.example.com'    id='sub1'>  <pubsub xmlns='http://jabber.org/protocol/pubsub'>    <subscribe        node='fdf72c24/loc'        jid='88f37b90@example.com'/>  </pubsub></iq>

 

immideate reply to subscriber

 

 

<iq from="pubsub.example.com" type="result" id="sub1" to="88f37b90@example.com"<pubsub xmlns="http://jabber.org/protocol/pubsub"><subscription node="fdf72c24/loc" subscription="pending"
 subid="Howb8IplBlxCYKm1b9jb53RO909v09RF7QHJn3M0" jid="88f37b90@example.com"><subscribe-options/></subscription></pubsub></iq>

 

 

owner will get following response from server i.e. a request for subscription autorization

 

 


<message from="pubsub.example.com" to="fdf72c24@example.com" id="xxx"><x xmlns="jabber:x:data" type="form"><title>PubSub subscriber request</title><instructions>Use the following form to approve or deny the subscription request.</instructions><field type="hidden" var="FORM_TYPE"><value>http://jabber.org/protocol/pubsub#subscribe_authorization</value></field><field type="hidden" var="pubsub#subid"><value>Howb8IplBlxCYKm1b9jb53RO909v09RF7QHJn3M0</value></field><field type="text-single" label="Node ID" var="pubsub#node"><value>fdf72c24/loc</value></field><field type="jid-single" label="Subscriber Address" var="pubsub#subscriber_jid"><value>88f37b90@example.com</value></field><field type="boolean" label="Allow this JID to subscribe to this pubsub node?" var="pubsub#allow"><value>0</value></field></x></message>

 

Now owner will approve the request by setting pubsub#allow by 1

 

 

<message to="pubsub.example.com" id="xxx"><x xmlns="jabber:x:data" type="submit"><field type="hidden" var="FORM_TYPE"><value>http://jabber.org/protocol/pubsub#subscribe_authorization</value></field><field type="hidden" var="pubsub#subid"><value>Howb8IplBlxCYKm1b9jb53RO909v09RF7QHJn3M0</value></field><field type="text-single" var="pubsub#node"><value>fdf72c24/loc</value></field><field type="jid-single" var="pubsub#subscriber_jid"><value>88f37b90@example.com</value></field><field type="boolean" var="pubsub#allow"><value>1</value></field></x></message>

but the issue is once i send the approved request for subscription authorization  , i am not be able to get the notification from server saying that

the node is subscribed to a requested subscriber.

 

as accroding to XEP-0060 protocol following stanza must be received when owner sends the possitive approval to server but i am not getting any approval from server to the owner.

 

 

<message    from='pubsub.shakespeare.lit'    to='horatio@denmark.lit'    id='approvalnotify1'>  <event xmlns='http://jabber.org/protocol/pubsub#event'>    <subscription node='princely_musings' jid='horatio@denmark.lit' subscription='subscribed'/>  </event></message>

Kraken IM Gateway não conecta, registro manual

$
0
0

Alguém pode me ajudar na seguinte questão.

 

 

Tenho o Openfire 3.8.1 funcionando perfeitamente com integração LDAP com Windows Server 2008 R2 e utilizando o SQL Server 2012 como banco de dados, até ae sem problemas tudo funciona perfeitamente. Coloquei o Kraken IM Gateway 1.1.3 e 1.1.2 porém nenhuma das versões funciono, o que acontece ao escolher o transporte no meu caso Gtalk e colocar registro manual ao se conectar no Spark não acontece nada, o status dentro da console Openfire fica como se não estivesse conectado, mesmo todas as informações como usuario e senha estejam corretos, alguem já passou por isso?

 

 

Detalhe já utilizei outra versão do Openfire em laboratorio e nenhum sucesso.

How to integrate sparkweb within wordpress site?

$
0
0

Hi

 

1. Has anyone any experience or ideas to contribute toa target of integrating sparkweb within a wordpress site?

2. Creating a common login for the IM service and the wordpresss login system?

3, 2 above somewhat easier as all users are only allowed to communicate via the same openfire server and receive IM from members of our own user group.

4, Sparkweb pages to appear in a window within a wordpress page.

 

Thanks in advance

 

david


Proposal: Removal of Substance

$
0
0

I would like to propose to concentrate all development regarding the Look and Feel of Spark on JTattoo. Currently the code base includes Substance as second LaF provider. Substance is not maintened any more and causes functional bugs in Spark. This combination is IMHO reason enough to remove Substance from the code tree.

 

Together with the removal of Substance, the code should be reviewed for all hard coded images that break skining (lot's of light blue stuff around) and adapt the code for maximum efficency with respect to JTattoo.

 

One word about the selection process for JTattoo. This LaF was selected during the 2.6.0 development push after discovering the bugs caused by Substance. The old LaF Synthetica instisted on a commercial license and was subsequently removed from the code base. JTattoo provided several "good looking" skins that went well with the hard coded images and provided good support during the integration into 2.6.0.

Fresh Install of 3.8 on CentOS 6.3 Not Working

$
0
0

I've been working on this since last week, but for the life of me can't get it to work. I have a newly installed copy of CentOS 6.3 that I installed OF 3.8 on, and I can't get it up and running.

 

I installed the 32-bit libraries required, installed it using the RPM, ran the chown commands, but when I start the setup process I press 'Test Settings' and nothing happens. I'm using LDAP to connect to AD, by the way.

 

So, I figured it was working since it didn't give me an error, and I continued, but when I get to the Add Administrator,  it says 'No username was provided or the specified username was not found.'  I'm using the exact same AD settings that I'm taking from a Windows-based server that's working. I have disabled IPtables, so it's not a firewall issue, and I can ping the domain controller.

 

Could it be a javascript problem? I've installed about everything I can think of.

 

I really want to move this off of the windows server, as it's having stability issues, and I'm told that Linux-based is the way to go.


Thanks!


Scott

Automating sparkweb

$
0
0

I am running sparkweb within a wordpress site running on apache22 and and mysql. The sparkweb code is loaded in  a subdirectory and accessed via links in the main website. All this works very nicely but I want to take a step forward.

 

I have had some very useful suggestions about integrating openfire with wordpress but there are some disadvantages to the method. I am now wondering about an alternative approach namely automating via making links to sparkweb from a page and passing the necessary login data. In theory this should be less complicated and leave existing code pretty much unmodified which would help when upgrades are required.

 

1, I want to be able to pass username, server and password to the sparkweb login page. The required data will be available from a mysql database which is available to the apache server.

 

2. In a similar way  to automate the selection of a tab e.g. conferences, the loading of a room list for a domain eg conference.server.domain.tld, and the selction of a particular room e.g workgroup chat room using data available from a mysql database

 

3. Automate the login to a service that required a password e.g (the group chat requires a password) again using data available held in a mysql database.

 

Now I am a rookie as far as java coding is concerned so if anyone would be able to tell me which files to amend and even go as far as giving me some coding examples I would be really grateful.

 

Many thanks in advance for any help

 

David

ClassNotFound Exception after update to nightly build

$
0
0

I am fairly new to this, so I'm hoping this is a simple solution.

 

I was running 3.8.0 but was running into the bug with Enable Contact List Group Sharing erroring out. The forums recommend updating to the latest nightly build.

 

So, I backed up my openfire directory, extracted the latest build and moved over my conf directory. I notice that in openfire/bin 'openfire' is not present, so I copied that from my backup as well. Now when I run ./openfire start then ./openfire status, I get the following error:

 

username@OpenfireBox:/opt/openfire/bin$ ./openfire status

Exception in thread "main" java.lang.NoClassDefFoundError: com/install4j/runtime/Launcher

Caused by: java.lang.ClassNotFoundException: com.install4j.runtime.Launcher

          at java.net.URLClassLoader$1.run(URLClassLoader.java:217)

          at java.security.AccessController.doPrivileged(Native Method)

          at java.net.URLClassLoader.findClass(URLClassLoader.java:205)

          at java.lang.ClassLoader.loadClass(ClassLoader.java:321)

          at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)

          at java.lang.ClassLoader.loadClass(ClassLoader.java:266)

Could not find the main class: com.install4j.runtime.Launcher. Program will exit

 

This seems to happen with three of the nightly builds I have run. Am I missing a step? Should I be using openfirectl now? Any help would be much appreciated.

confused in creating openfire plugin

$
0
0

i want to create a plugin in openfire and i have read the guide at http://community.igniterealtime.org/docs/DOC-1200

 

but m confused , do i need to download the whole source code of openfire from svn before i develop a plugin for openfire ??

 

 

what should i do , here are the step that i am preassuming , please check it and guide me accordingly

 

1) create a directory stucture as java project in eclipse

 

2) import openfire.jar files for the plugin api

 

3) build the plugin folder

 

4) copy the folder into the server's plugin folder

Viewing all 10742 articles
Browse latest View live