Quantcast
Channel: Ignite Realtime: Message List
Viewing all 12162 articles
Browse latest View live

Login to Openfire using chatsecure/Gibberbot XMPP android client

$
0
0

Hi,

I'm new to openfire and XMPP ofcourse, I've setup an openfire sever on CentOS6.x.

every thing was ok, untile I decide to use GuardianProject ChatSecure client for android!

I failed to login. Had any body use this client with openfire, please share your experiance.

 

I read some posts about SSL problems, I used optional method for server security settings and

Self signed    RSA and Self signed    DSA are used as certificates.

 

 

 

Any help/idea would be appreciated,

Thanks a lot.


Unexpected purge process error at openfire debug log(Postgre SQL DB)

$
0
0

Hi, I'm currently deploying OpenFire in a research environment. Checking the logs I found the following error:

 

DELETE ofPubsubItem FROM ofPubsubItem LEFT JOIN (SELECT id FROM

ofPubsubItem WHERE serviceID=uuuuuuu@dddddddd AND nodeID=http://jabber.org/protocol/geoloc ORDER BY creationDate DESC LIMIT 1) AS noDelete

ON ofPubsubItem.id = noDelete.id WHERE noDelete.id IS NULL AND ofPubsubItem.serviceID = uuuuuuu@dddddddd AND nodeID = http://jabber.org/protocol/geoloc

       at org.postgresql.jdbc2.AbstractJdbc2Statement$BatchResultHandler.handleError(Abst ractJdbc2Statement.java:2531)

        at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java: 1344)

        at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:343)

        at org.postgresql.jdbc2.AbstractJdbc2Statement.executeBatch(AbstractJdbc2Statement .java:2670)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.ja va:43)

        at java.lang.reflect.Method.invoke(Method.java:616)

        at org.logicalcobwebs.proxool.ProxyStatement.invoke(ProxyStatement.java:100)

        at org.logicalcobwebs.proxool.ProxyStatement.intercept(ProxyStatement.java:57)

        at org.postgresql.PGStatement$$EnhancerByProxool$$6a8d54dc.executeBatch(<generated >)

        at org.jivesoftware.openfire.pubsub.PubSubPersistenceManager.purgeItems(PubSubPers istenceManager.java:1878)

 

I tested the query against PostgreSQL (adding the corresponding quotes) and got a sintax error.

 

 

So, I looked into the source code and found this:

http://fisheye.igniterealtime.org/browse/openfire/trunk/src/java/org/jivesoftwar e/openfire/pubsub/PubSubPersistenceManager.java?r=13651

 

privatestaticfinalStringPURGE_FOR_SIZE =

               "DELETE ofPubsubItem FROM ofPubsubItem LEFT JOIN " +
                        "(SELECT id FROM ofPubsubItem WHERE serviceID=? AND nodeID=? " +
                        "ORDER BY creationDate DESC LIMIT ?) AS noDelete " +
                        "ON ofPubsubItem.id = noDelete.id WHERE noDelete.id IS NULL AND " +
                        "ofPubsubItem.serviceID = ? AND nodeID = ?";

 

 

I guess that it can be rewrited as:

 

private static final String PURGE_FOR_SIZE =

                         "DELETE from ofPubsubItem where id in (select ofPubsubItem.id FROM ofPubsubItem LEFT JOIN " +

                     "(SELECT id FROM ofPubsubItem WHERE serviceID=? AND nodeID=? " +

                     "ORDER BY creationDate DESC LIMIT ?) AS noDelete " +

                     "ON ofPubsubItem.id = noDelete.id WHERE noDelete.id IS NULL AND " +

                     "ofPubsubItem.serviceID = ? AND nodeID = ?)";

 

that seems to do the purging process in PostgreSQL


I build the source and replace the class in the openfire.jar, restarted openfire and then the error dissapear with no other effects.

 

I hope that you can review this purging process. Thanks in advance.

 

PD: Sorry if this post is a dupplicate, I've searched the forum for a while without results about this specific topic.

Re: Openfire service, LDAP/AD, Settings lost after restart

$
0
0

Well, If someone look at this post, I must say that I got rid of the problem by using PostgreSQL as DB. By some reason when I use the embedded DB it lost the settings after restart. Now with Postgre it works very good.

asmack android file trasfer problem

$
0
0

Hi, I'm trying to setup a basic test sample of file transfer useing SIP XEP-0096 XMPP extension.

for may test case I run openfire on CentOS6.4-64Bit Virtual Box. iptables is off.

Storage solution is based on DB (mysql).

It seems that receiver doesn't negotiates well with the sender, Could you please have a look at logcats and my sample code(Attached)?

 

Sender LogCat Main Part:

 

<iq id="0CLs6-8" to="receiver@192.168.1.103/Smack" from="sender@192.168.1.103/Smack" type="set"><si xmlns="http://jabber.org/protocol/si" id="jsi_1046878061513112725" mime-type="image/png" profile="http://jabber.org/protocol/si/profile/file-transfer"><file xmlns="http://jabber.org/protocol/si/profile/file-transfer" name="avatar1.png" size="9838" ><desc>avatar1.png</desc></file><feature xmlns="http://jabber.org/protocol/feature-neg"><x type="form" xmlns="jabber:x:data"><field var="stream-method" type="list-single"><option><value>http://jabber.org/protocol/bytestreams</value></option><option><value>http://jabber.org/protocol/ibb</value></option></field></x></feature></si></iq>

 

Receiver LogCat:

 

03-04 20:00:12.638: I/System.out(11605): ??:??:?? بعدازظهر RCV  (1319091388): <iq id="p197h-8" to="receiver@192.168.1.103/Smack" from="sender@192.168.1.103/Smack" type="set"><si xmlns="http://jabber.org/protocol/si" id="jsi_7540764729070309750" mime-type="image/png" profile="http://jabber.org/protocol/si/profile/file-transfer"><file xmlns="http://jabber.org/protocol/si/profile/file-transfer" name="avatar1.png" size="9838"><desc>avatar1.png</desc></file><feature xmlns="http://jabber.org/protocol/feature-neg"><x xmlns="jabber:x:data" type="form"><field var="stream-method" type="list-single"><option><value>http://jabber.org/protocol/bytestreams</value></option><option><value>http://jabber.org/protocol/ibb</value></option></field></x></feature></si></iq>

 

 

I'm working on a customized version of Xabber Client (https://github.com/redsolution/xabber-android/).

Please look at Provider method invokatins in OnCreate Activity if I missed something.

 

I define a FileTransferLister acccording to a tutorial from the link bellowm if I didn't miss any part.:

 

http://harryjoy.com/2012/08/18/file-transfer-in-android-with-asmack-and-openfire /


Any help or idea would be appreciated

 

I aim to put a step by step guid as a document in this forum, maybe usefull for feautures.

 

Best Regards

Vahid

 

Thanks a lot.

Re: Errors in OpenFire Window

$
0
0

no, it means you should not be opening that exe from your desktop... that openfire is already running and running that exe is attempting to start it again. if you are using openfire as a windows service, you should just remove that shortcut icon from yoru desktop... you will never need it and should not try to use it.

Re: Constant Spark disconnects - "your connection was closed due to an error"

Re: Constant Spark disconnects - "your connection was closed due to an error"

$
0
0

I am currently using 3.9.1.  I was using the previous version before the 3.9.0 release and had the same problem.

 

I'm looking over the referenced thread.  ofroster.jid needs to be changed to varchar(255), is what seems to be indicated.  Is this correct?  I used the default DB setup, which created that table as it is.

Re: Constant Spark disconnects - "your connection was closed due to an error"

$
0
0

although i personally have not run into this myself, from the thread it does appear that is the fix.

 

although this ticket was marked as fixed in version 3.9.0, so i would have thought you would not have this problem... anyhow, try it and we'll see


Openfire video-chat android

$
0
0

Hi community,

 

I need documentation about openfire of video-chat in java (java android).

 

Regards.

jingle nodes plugin problem on Openfire 3.9.1

$
0
0

Hello,

looking at the jingle node status on admin console it gives me this status:

 

Jingle Nodes Requires a Public IP for Internet Calling. Public IP Found:none

 

but I have already set a valid workign public IP

 

I also set it in Override public IP

 

any hints about this problem ?

 

thank you


Re: Constant Spark disconnects - "your connection was closed due to an error"

$
0
0

Change made, still seeing disconnects

 

I think my next move will be to put Openfire and MySQL on an otherwise sterile machine, together - 1 tier, no other products using the DB.

Re: Constant Spark disconnects - "your connection was closed due to an error"

$
0
0

hmm... well, the error you are seeing says the openfire tables do not exist in your database... so either something has removed them, or they never existed (meaning there was a problem during the import schema phase of the database setup portion). Did you receive any errors during the database setup (originally when you first setup openfire and followed the database guide)?

Re: Constant Spark disconnects - "your connection was closed due to an error"

$
0
0

No, the tables are all there and intact.. It's more like *connection* to the DB, by the feel of it, although I see no problems there.  Hence my plan to rebuild this environment on a single machine.

Re: Constant Spark disconnects - "your connection was closed due to an error"

$
0
0

that could be. when you first setup openfire, the credentials you enter on the setup page need to have privledges to create a new user and assign privledges, so some sort of admin account. it will then create the openfire database user, a random password unknown to anyone but openfire, and it then uses that. so maybe the credentials you used during setup could not create the user with proper privledges?

Re: Constant Spark disconnects - "your connection was closed due to an error"

$
0
0

try it with SA account.

 

also, ensure your db is setup to allow connections, etc... all the normal stuff.

 

Make sure you got no errors during the database setup.

 

Try a slightly older version of mysql (not 5.6, try 5.1 or something).

 

Just trying to determine where the error is occuring.


Re: Importando Grupo AD

$
0
0

Primeiro crie os grupos de segurança em seu AD.

Por exemplo, se vc precisa que no openfire tenha um grupo Financeiro com os usuário do financeiro dentro, crie o grupo de segurança no AD Chamado Financeiro e adicione os membros.

Depois, verifique se os membros estão definidos com o grupo padrão domainusers.

Vá no servidor openfire e verifique se o grupo aparece.

 

Marcos Farias

marcos@farben.com.br<mailto:marcos@farben.com.br>

48 2101-4370

Farben S/A Indústria Química

www.farben.com.br<http://www.farben.com.br>

Re: Importando Grupo AD

 

Antes de imprimir pense na sua responsabilidade e compromisso com o meio ambiente.

 

 

De: brekler88 communityadmin@igniterealtime.org

Enviada em: quinta-feira, 6 de março de 2014 15:13

Para: Marcos Farias

Assunto: Re: Importando Grupo AD - Importando Grupo AD Re: Importando Grupo AD

 

Ignite Realtime<http://community.igniterealtime.org/index.jspa>

 

Importando Grupo AD

created by Adriano Custodio<http://community.igniterealtime.org/people/brekler88> in Brasil - View the full discussion<http://community.igniterealtime.org/message/236773#236773>

Re: Importando Grupo AD

$
0
0

Vejamos, talvez eu não tenha entendido ao certo...

Eu tenho Unidades Organizacionais certo ?

Pelo que eu entendi você pede para que eu crie grupos com o mesmo nome e adicione os usuários lá ?

Na hora de criar grupos com o mesmo nome das Unidades Organizacionais ele da erro, não pode ser criado... ou esses grupos tem que ser criado dentro de suas respectivas OU ?

Re: Importando Grupo AD

$
0
0

Exatamente. Crie os grupos dentro da unidade organizacional.

 

 

 

Marcos Farias

marcos@farben.com.br<mailto:marcos@farben.com.br>

48 2101-4370

Farben S/A Indústria Química

www.farben.com.br<http://www.farben.com.br>

Re: Importando Grupo AD

 

Antes de imprimir pense na sua responsabilidade e compromisso com o meio ambiente.

 

 

De: brekler88 communityadmin@igniterealtime.org

Enviada em: quinta-feira, 6 de março de 2014 15:32

Para: Marcos Farias

Assunto: Re: Importando Grupo AD - Importando Grupo AD Re: Importando Grupo AD

 

Ignite Realtime<http://community.igniterealtime.org/index.jspa>

 

Importando Grupo AD

created by Adriano Custodio<http://community.igniterealtime.org/people/brekler88> in Brasil - View the full discussion<http://community.igniterealtime.org/message/236777#236777>

Re: Importando Grupo AD

$
0
0

Obrigado.. funcionou perfeitamente! =D

Re: Java memor leak

$
0
0

2137x org.apache.mina sounds fine as you have 2000 connections.Each instance uses about 1,5 MB - this may be too much. Or there may be some instances using too much. Without the dump this is hard to tell - it would help if you would uoload it somewhere.

Is it possibke for you to create a dump when it is running fine with 2000 users? So one has a reference.

Viewing all 12162 articles
Browse latest View live


Latest Images