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

Plugin to forward messages to URL?

$
0
0

Hi, sorry if this is an obvious question but I'm new to Openfire and XMPP and I'm not sure where to look for this.

 

I want to forward all messages sent to a user, to a URL, presumably with the message details in POST for or something like that.

 

Effectively I want to make a bot, running off a local web server, that can respond to messages. I can already send messages, I just can't recieve them in the first place.

 

Note: I don't want to use a persistant connection listening on the website with BOSH, I want the URL to only be triggered when there's a message.

 

I'm running Openfire 3.7.1 on Windows.

 

Thanks for any help you can give me,

 

James


Novo usuário aparece offline

$
0
0

Olá Pessoal,

 

estou começando agora a trabalhar com o openfire para implementar aqui na minha empresa. A solução que implementei é de Openfire + Mysql + AD. O problema acontece quando eu adiciono um novo usuário no openfire (eu criei um grupo chamado openfire, onde cadastro esse grupo nos usuário que terão acesso ao openfire), porém quando ele se loga pela primeira vez aparecem os usuários que estão logados, porém para os outros usuários este novo usuário não aparece online. Somente quando eu recrio os compartilhamentos de grupo é que os outros usuários conseguem visualizar este novo user. Outro problema é que nesse novo usuário quando os outros usuários desconectam do openfire, pra ele continua mostrando como online.

 

Estamos utilizando o Spark como client, mas testei também o Pandion e deu na mesma. Limpei o cache do servidor, restartei o serviço, reinciei o servidor. Tentei diversas configurações de compartilhamento de grupos. A versão do openfire que utilizo é a 3.7.0.

 

 

Fico no aguardo da ajuda de vocês e obrigado.

Unable to install Openfire 3.7.1 on Ubuntu 12.04

$
0
0

I've installed previous versions of Openfire onto older releases of Ubuntu, but I have hit a wall this time.

 

I dealt with the fact that JRE6 was unavailable by following the instructions at https://sites.google.com/site/installationubuntu/tweaking-ubuntu/reinstall-sun-j ave-in-ubuntu to install update-sun-jre

 

Then when I run:

sudo dpkg -i openfire_3.7.1_all.deb

I see:

adduser: Warning: The home directory `/var/lib/openfire' does not belong to the user you are currently creating.

I tried:

sudo chown -R openfire.openfire /var/lib/openfire

but it didn't seem to help.

Running:

sudo dpkg -i openfire_3.7.1_all.deb

again didn't help either.

 

If I run:

sudo /etc/init.d/openfire status

nothing is returned

 

Looking at the prerequisites for Openfire I saw no mention of Apache so I did not install it, is it required?

 

Does anyone have any suggestions as to a fix?

 

Thanks

xep-0060

$
0
0

Hi,

 

I try to find something like pubsub#item_expire on my Openfire server (3.7.1).

 

For this function openfire must supported the XEP-0060 v 1.13 ??

How to Spectrum IM support for OF [Alternativ for Kraken]

$
0
0

Hey guys,

 

since Kraken is no longer supported it is a matter for time until Kraken will not work any longer. So Daniel Henninger (the guy who developed kraken) has moved to another project called Spectrum IM.*

Spectrum IM does basically the same as Kraken did but it is a standalone external component for XMPP Servers.

Daniel mentioned that it should be possible to use Spectrum IM for gateways instead of Kraken.

Therefore we started develop a plugin for OF to support Spectrum IM and Remote Roster Management.

 

********* UPDATE **********

Spectrum 1.x no longer supported, so you might better use spectrum 2.x! The Spectrum website has been updated so you might have to search for the informations you need. I am trying to keep the disscussion up to date. If you have trouble to configure your spectrum 2 as i described it you may have a closer look to gary's post:

http://community.igniterealtime.org/message/226022#226022

********* UPDATE **********

 

 

 

Currently we are in a very early stage of development and we need YOU to support us. We need some testers out there because it is impossible to test everything on our own.

 

 

To keep this as easy as possible I will provide a little HowTo setting Spectrum and Openfire up to get them work together using Remote Roster.

I am currently using Spectrum on a Ubuntu Linux machine, so you may find some linux specific configuration settings.

 



Step 1.  Installing Spectrum

Install Spectrum on your favorite machine. (Linux highly recommended)

Keep in mind that you need at least Spectrum 1.4.7 (better use Spectrum 2.x in gateway mode) and Openfire 3.7.0 to get Remote Roster support.

 

Spectrum docu: http://hanzz.github.com/libtransport/documentation/

 

        You could follow the installation routines described in the Spectrum IM wiki:

 

Installation:

Ubuntu/Debian:http://hanzz.github.com/libtransport/documentation/installation/debian_ubuntu.ht ml

CentOS/Fedora/RHEL:http://hanzz.github.com/libtransport/documentation/installation/fedora_rhel.html

Step 2. Enable external components in Openfire

     To allow Spectrum to connect to our Openfire we need to enable external components in OF. Login into your admin panel and browse to:

 

Server -> Server Settings -> External Components

    Your setting should look like this:

 

 

 

 

Step 3. Configure Spectrum

Have look at http://hanzz.github.com/libtransport/documentation/tutorials/gateway_mode.html

This should be quite easy. Specify the protocol you want to use and set up to host, port and password you set up in Step 2. If you used a shared secret just enter it. The OF default port for external components is 5275

 

!!!! You should set the component id of your spectrum config according to your protocol and openfire hostname like: icq.my-jabber-server.com Otherwise you may lost messages between your networks. Especially Sparks maps the known gateways to the subdomain of the received components. !!!!

 

In my case it looks like this for a XMPP Spectrum component:

 

 

...

# component JID

jid=xmpp.dew08299

 

# component secret

password=secret

 

# component port

port=5275

...

 

 

  Start spectrum & check if it is connected

       If your created your config file in /etc/spectrum/xmpp.cfg you could easily start spectrum using following bash command:

 

user@server:~$ spectrum -n xmpp

      -n disables the background daemon mode so we could check if everything is setup properly.

    

     Now we could check if Spectrum successfully connects to our Openfire. Open your admin panel and browse to:

 

Sessions -> Component Sessions

     If Spectrum is connected it shoud look like this:

 

 

 

 

Step 4. Installing Remote Roster Plugin

Now we would like to have Remote Roster support for our gateway. Therefore we need to get the Openfire Plugin.

The file is attached, see below. (remoteRoster.jar)

 

Open your Openfire admin panel and install the plugin via Plugins -> Plugins. There you could select your file and upload it. Openfire should automatically install the plugin but you may need to restart Openfire.

 

If it is successfully installed the plugin will appear in the Plugin Admin view:

 

 

Step 5. Enable Remote Roster plugin for specified Spectrum IM

 

     If RemoteRoster plugin is installed you will find the config menu in

 

Server -> Server Settings -> Remote Roster

 

 

 

You should see your external component with its identifier. You have to enable the external component that should get remote roster support. It is disabled by default.

 

We also implemented some hacks for Spark to get it work properly, like Kraken did. If you are using Spark within your network you should enable the Spark specific configuration.

This is highly recommended, otherwise Spark user won't be able to logout from their legacy accounts.

The feature should not harm other Clients.

 

 

Step 6. Done?

 

If everything is installed you may login to your Openfire using Spark or some other client. The transports should be available to you. When you type in some login information you might have a look at the spectrum console, started in Step 3. During the login process the following line should appear in the spectrum terminal:

  [12/06/11 13:07:52] <test@dew08299> This server supports remoter-roster XEP

 

       If you're logged in to the legacy network but you are getting a subscription request for every contact something went terribly wrong

       You may have a look to the trouble shooting section.

 

 

 

 

 

 

*) What is Remote Roster Management XEP-xxxx?

This is still a prototype of a XMPP Standard for easy roster exchange between servers and components. This is very useful for Spectrum because it is allowed to edit your Roster without asking for permissions every time. Spectrum IM will push all your contact from your legacy network to your roster if you want it to. If you want to have more information about it, you can check following websites:

 

Remote Roster Plugins currently supports 2.3, 2.4 and 2.5 of the XMPP standard. There is no implementation for 2.1 and 2.2 because it is not yet supported by Spectrum IM.

 

 

TODO

  • Whitelisting for contacts. (not every one should be allowed to use transports)
  • Non persistent contact. (contacts should disappear if your not connected to legacy network)
  • Multiple support for contacts in legacy network
  • Mirror contact remove / subs to legacy network

 

 

Troubleshooting

     Enable Debug Log in Server -> Logs and check if the plugin is loaded.

     Since there are less experiences with Spectrum and Openfire feel free to report your problems.

 

There is already a Jira Ticket for Remote Roster related problems over here:

 

We're working with Spectrum 1.4.8 & Openfire 3.7.1 (both linux vm's) and sucessfully tested xmpp, icq, aim, yahoo

 

Thanks

Special thanks to Daniel Henninger. He started the project and made the initial svn import. Thanks for answering all my more or less stupid questions.

 

 

*) Spectrum IM http://spectrum.im/

Another 404 windows install issue

$
0
0

OK i have read loads of post here and to be honest am finding it hard going as its all different versions of windows, openfire, jetty e.t.c which is probably confusing me a little.

 

the error is

HTTP ERROR 404

Problem accessing /webchat/jivelive.jsp. Reason:

    /webchat/jivelive.jsp

 

 

I have installed openfire on a windows sbs2011 server and its running without any problems (the install had to be made to E: drive as it did not run if i installed it ont he C: due to security restrictions)

 

Having read through a number of posts i can confirm my install does not have any spaces in the path

My firewall is configured to allow inbound and outbound TCP traffic on ports 7070

My router is configured to redirect traffic to my server on these ports as well.

I have the code snippet on my website (externally hosted)

 

This is all new to me so im hoping someone can help me with what and how i need to check each step in the hope i can diagnose the problem

 

Thnak you in advance

Darren

OpenFire Installation Problems

$
0
0

Hello,

 

I'm trying to install the following constellation: JSJaC-Client (domain a.com) -> JabberHTTPBind-Connection Manager (domain a.com) -> OpenFire (domain b.com)

 

Can someone says what i'm doing wrong? I dint understand what the exception javax.security.sasl.SaslException: Expecting comma or linear whitespace after quoted string: "utf-8" should mean in this context.

 

 

 

JavaScript-Console:

 

registered handler for event 'message' JSJaCConsoleLogger.js:51
registered handler for event 'presence' JSJaCConsoleLogger.js:51
registered handler for event 'iq' JSJaCConsoleLogger.js:51
registered handler for event 'onconnect' JSJaCConsoleLogger.js:51
registered handler for event 'onerror' JSJaCConsoleLogger.js:51
registered handler for event 'status_changed' JSJaCConsoleLogger.js:51
registered handler for event 'ondisconnect' JSJaCConsoleLogger.js:51
registered handler for event 'iq' JSJaCConsoleLogger.js:51
registered handler for event 'iq' JSJaCConsoleLogger.js:51
incoming event 'onstatuschanged' JSJaCConsoleLogger.js:57
incoming event 'status_changed' JSJaCConsoleLogger.js:57
handling event 'status_changed' JSJaCConsoleLogger.js:51
status changed: connecting JSJaCConsoleLogger.js:45
1: 07d1fd9632bb7158f6432f733d61631d50eaeb0f JSJaCConsoleLogger.js:54
2: 9b517ea93c603a2a00cbc97ee34627c15d428c67 JSJaCConsoleLogger.js:54
3: 37b72cdae3a022d64909467b17b09c9f0f937175 JSJaCConsoleLogger.js:54
4: 4dd99d87d100b4c58b71bd2a2be7d7e7b4c677f7 JSJaCConsoleLogger.js:54
5: fc3e370a1dcb137b7d379ac3597e46449434c0f8 JSJaCConsoleLogger.js:54
6: 060627b1a464075b2543fdcd7da936eb40d51300 JSJaCConsoleLogger.js:54
7: a1ec518cb80fbf2fb0dcf08eaf0581c3b7aea568 JSJaCConsoleLogger.js:54
8: d804fa3b14425762909cda4b18c4302e5e7e670b JSJaCConsoleLogger.js:54
9: b3d4dbc24c1f45dd64857d3acc0b5d5b9efff60d JSJaCConsoleLogger.js:54
10: a2fa148a146cad060ab526175e5f63e17a9a1a87 JSJaCConsoleLogger.js:54
11: b923a7943111241064d175b2a07020362b58354d JSJaCConsoleLogger.js:54
12: d5e5a7e8c310e972ce604e966679416067497bba JSJaCConsoleLogger.js:54
13: b8c0f80244a25d1388ce9b46ca00cd2a23a95494 JSJaCConsoleLogger.js:54
14: d5e95cb39b95e4c61f56353cb643980dc88a16de JSJaCConsoleLogger.js:54
15: 7d675ae4d626834a54627b524f1fc06fafb635b2 JSJaCConsoleLogger.js:54<body content='text/xml; charset=utf-8' hold='1' xmlns='http://jabber.org/protocol/httpbind' to='b.com' wait='300' rid='380578' secure='false' newkey='7d675ae4d626834a54627b524f1fc06fafb635b2' xml:lang='en' ver='1.6' xmlns:xmpp='urn:xmpp:xbosh' xmpp:version='1.0'/> JSJaCConsoleLogger.js:54
Connection lost ... JSJaCConsoleLogger.js:48

async recv: <body xmlns="http://jabber.org/protocol/httpbind" xmlns:stream="http://etherx.jabber.org/streams" authid="bb7235e2" inactivity="60" polling="2" requests="2" sid="1fKJFfGq-OIAwlkhBMHYy8Z2" wait="300"><stream:features><mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><mechanism>DIGEST-MD5</mechanism><mechanism>PLAIN</mechanism><mechanism>ANONYMOUS</mechanism><mechanism>CRAM-MD5</mechanism></mechanisms><compression xmlns="http://jabber.org/features/compress"><method>zlib</method></compression><auth xmlns="http://jabber.org/features/iq-auth"/><register xmlns="http://jabber.org/features/iq-register"/></stream:features></body> JSJaCConsoleLogger.js:54Date: Fri, 25 Jan 2013 16:59:22 GMTServer: Apache-Coyote/1.1Content-Length: 633Content-Type: text/xml;charset=utf-8 JSJaCConsoleLogger.js:54<body xmlns="http://jabber.org/protocol/httpbind" xmlns:stream="http://etherx.jabber.org/streams" authid="bb7235e2" inactivity="60" polling="2" requests="2" sid="1fKJFfGq-OIAwlkhBMHYy8Z2" wait="300"><stream:features><mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><mechanism>DIGEST-MD5</mechanism><mechanism>PLAIN</mechanism><mechanism>ANONYMOUS</mechanism><mechanism>CRAM-MD5</mechanism></mechanisms><compression xmlns="http://jabber.org/features/compress"><method>zlib</method></compression><auth xmlns="http://jabber.org/features/iq-auth"/><register xmlns="http://jabber.org/features/iq-register"/></stream:features></body> JSJaCConsoleLogger.js:54got sid: 1fKJFfGq-OIAwlkhBMHYy8Z2 JSJaCConsoleLogger.js:51set hold to 1 JSJaCConsoleLogger.js:51<body xmlns="http://jabber.org/protocol/httpbind" xmlns:stream="http://etherx.jabber.org/streams" authid="bb7235e2" inactivity="60" polling="2" requests="2" sid="1fKJFfGq-OIAwlkhBMHYy8Z2" wait="300"><stream:features><mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><mechanism>DIGEST-MD5</mechanism><mechanism>PLAIN</mechanism><mechanism>ANONYMOUS</mechanism><mechanism>CRAM-MD5</mechanism></mechanisms><compression xmlns="http://jabber.org/features/compress"><method>zlib</method></compression><auth xmlns="http://jabber.org/features/iq-auth"/><register xmlns="http://jabber.org/features/iq-register"/></stream:features></body> JSJaCConsoleLogger.js:54got streamid: bb7235e2 JSJaCConsoleLogger.js:51SASL detected JSJaCConsoleLogger.js:51SASL using mechanism 'DIGEST-MD5' JSJaCConsoleLogger.js:51Found working slot at 0 JSJaCConsoleLogger.js:51sending: <body rid='380579' sid='1fKJFfGq-OIAwlkhBMHYy8Z2' xmlns='http://jabber.org/protocol/httpbind' key='d5e95cb39b95e4c61f56353cb643980dc88a16de' ><auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='DIGEST-MD5'/></body> JSJaCConsoleLogger.js:54incoming event 'onstatuschanged' JSJaCConsoleLogger.js:57incoming event 'status_changed' JSJaCConsoleLogger.js:57handling event 'status_changed' JSJaCConsoleLogger.js:51status changed: processing JSJaCConsoleLogger.js:45async recv: <body xmlns="http://jabber.org/protocol/httpbind"><challenge xmlns="jabber:client">cmVhbG09ImVjMi0xNzYtMzQtMjEzLTU3LmV1LXdlc3QtMS5jb21wdXRlLmFtYXpvbmF3cy5jb20iLG5vbmNlPSJjVkY1b1ZBNG5TaUFvaGJVRTRtd1ZPd1E5YlZuRzlGRENCVUNONENQIixxb3A9ImF1dGgiLGNoYXJzZXQ9dXRmLTgsYWxnb3JpdGhtPW1kNS1zZXNz</challenge></body> JSJaCConsoleLogger.js:54got challenge: realm="b.com",nonce="cVF5oVA4nSiAohbUE4mwVOwQ9bVnG9FDCBUCN4CP",qop="auth",charset=utf-8,algorithm=md5-sess JSJaCConsoleLogger.js:51nonce: cVF5oVA4nSiAohbUE4mwVOwQ9bVnG9FDCBUCN4CP JSJaCConsoleLogger.js:51response: username="JSJaC-TestUser",realm="b.com",nonce="cVF5oVA4nSiAohbUE4mwVOwQ9bVnG9FDCBUCN4CP",cnonce="vJfpwWPsryu3kE",nc="00000001",qop=auth,digest-uri="xmpp/b.com",response="2716412f12028ba6041c4d4423b45e76",charset="utf-8" JSJaCConsoleLogger.js:51Found working slot at 0 JSJaCConsoleLogger.js:51sending: <body rid='380580' sid='1fKJFfGq-OIAwlkhBMHYy8Z2' xmlns='http://jabber.org/protocol/httpbind' key='b8c0f80244a25d1388ce9b46ca00cd2a23a95494' ><response xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>dXNlcm5hbWU9IkpTSmFDLVRlc3RVc2VyIixyZWFsbT0iZWMyLTE3Ni0zNC0yMTMtNTcuZXUtd2VzdC0xLmNvbXB1dGUuYW1hem9uYXdzLmNvbSIsbm9uY2U9ImNWRjVvVkE0blNpQW9oYlVFNG13Vk93UTliVm5HOUZEQ0JVQ040Q1AiLGNub25jZT0idkpmcHdXUHNyeXUza0UiLG5jPSIwMDAwMDAwMSIscW9wPWF1dGgsZGlnZXN0LXVyaT0ieG1wcC9lYzItMTc2LTM0LTIxMy01Ny5ldS13ZXN0LTEuY29tcHV0ZS5hbWF6b25hd3MuY29tIixyZXNwb25zZT0iMjcxNjQxMmYxMjAyOGJhNjA0MWM0ZDQ0MjNiNDVlNzYiLGNoYXJzZXQ9InV0Zi04IgA=</response></body> JSJaCConsoleLogger.js:54scheduling next poll in 100 msec JSJaCConsoleLogger.js:54all slots busy, standby ... JSJaCConsoleLogger.js:51async recv: <body xmlns="http://jabber.org/protocol/httpbind"><failure xmlns="jabber:client"><not-authorized/></failure></body> JSJaCConsoleLogger.js:54
auth error: <failure xmlns="jabber:client"><not-authorized/></failure> JSJaCConsoleLogger.js:48

incoming event 'onerror' JSJaCConsoleLogger.js:57handling event 'onerror' JSJaCConsoleLogger.js:51incoming event 'onstatuschanged' JSJaCConsoleLogger.js:57incoming event 'status_changed' JSJaCConsoleLogger.js:57handling event 'status_changed' JSJaCConsoleLogger.js:51status changed: disconnecting JSJaCConsoleLogger.js:45Disconnecting: <body rid='380581' sid='1fKJFfGq-OIAwlkhBMHYy8Z2' xmlns='http://jabber.org/protocol/httpbind' key='d5e5a7e8c310e972ce604e966679416067497bba' type='terminate'> </body> JSJaCConsoleLogger.js:54disconnected JSJaCConsoleLogger.js:45incoming event 'ondisconnect' JSJaCConsoleLogger.js:57handling event 'ondisconnect' JSJaCConsoleLogger.js:51scheduling next poll in 100 msec JSJaCConsoleLogger.js:54
Connection lost ... JSJaCConsoleLogger.js:48

 

 

This from Debugger from JabberHTTPBind

 

Jan 25, 2013 5:59:51 PM org.apache.catalina.core.ApplicationContext log
INFO: Jabber HTTP Binding Servlet: [2] Succesfully connected to b.com
Jan 25, 2013 5:59:51 PM org.apache.catalina.core.ApplicationContext log
INFO: Jabber HTTP Binding Servlet: [2] creating session with id 5DZdj35gIzglSZ0AXYq2YmYQ
Jan 25, 2013 5:59:51 PM org.apache.catalina.core.ApplicationContext log
INFO: Jabber HTTP Binding Servlet: [2] inQueue: <?xml version='1.0' encoding='UTF-8'?><stream:stream xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client" from="b.com" id="d47f4e8" xml:lang="en" version="1.0">
Jan 25, 2013 5:59:51 PM org.apache.catalina.core.ApplicationContext log
INFO: Jabber HTTP Binding Servlet: [2] failed to get stream features
Jan 25, 2013 5:59:52 PM org.apache.catalina.core.ApplicationContext log
INFO: Jabber HTTP Binding Servlet: [2] inQueue: <?xml version='1.0' encoding='UTF-8'?><stream:stream xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client" from="b.com" id="d47f4e8" xml:lang="en" version="1.0"><stream:features><starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"></starttls><mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><mechanism>DIGEST-MD5</mechanism><mechanism>PLAIN</mechanism><mechanism>ANONYMOUS</mechanism><mechanism>CRAM-MD5</mechanism></mechanisms><compression xmlns="http://jabber.org/features/compress"><method>zlib</method></compression><auth xmlns="http://jabber.org/features/iq-auth"/><register xmlns="http://jabber.org/features/iq-register"/></stream:features>
Jan 25, 2013 5:59:52 PM org.apache.catalina.core.ApplicationContext log
INFO: Jabber HTTP Binding Servlet: [2] inQueue: <stream:features><starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"></starttls><mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><mechanism>DIGEST-MD5</mechanism><mechanism>PLAIN</mechanism><mechanism>ANONYMOUS</mechanism><mechanism>CRAM-MD5</mechanism></mechanisms><compression xmlns="http://jabber.org/features/compress"><method>zlib</method></compression><auth xmlns="http://jabber.org/features/iq-auth"/><register xmlns="http://jabber.org/features/iq-register"/></stream:features>
Jan 25, 2013 5:59:52 PM org.apache.catalina.core.ApplicationContext log
INFO: Jabber HTTP Binding Servlet: [2] starttls present, trying to use it
Jan 25, 2013 5:59:52 PM org.apache.catalina.core.ApplicationContext log
INFO: Jabber HTTP Binding Servlet: [2] <proceed xmlns="urn:ietf:params:xml:ns:xmpp-tls"/>
Jan 25, 2013 5:59:52 PM org.apache.catalina.core.ApplicationContext log
INFO: Jabber HTTP Binding Servlet: [0] initiating handshake
Jan 25, 2013 5:59:52 PM org.apache.catalina.core.ApplicationContext log
INFO: Jabber HTTP Binding Servlet: [1] STARTTLS failed: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
Jan 25, 2013 5:59:52 PM org.apache.catalina.core.ApplicationContext log
INFO: Jabber HTTP Binding Servlet: [2] tls failed but we don't need to be secure
Jan 25, 2013 5:59:52 PM org.apache.catalina.core.ApplicationContext log
INFO: Jabber HTTP Binding Servlet: [1] socket closed
Jan 25, 2013 5:59:52 PM org.apache.catalina.core.ApplicationContext log
INFO: Jabber HTTP Binding Servlet: [2] inQueue: <?xml version='1.0' encoding='UTF-8'?><stream:stream xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client" from="b.com" id="7048f2a3" xml:lang="en" version="1.0">
Jan 25, 2013 5:59:52 PM org.apache.catalina.core.ApplicationContext log
INFO: Jabber HTTP Binding Servlet: [2] failed to get stream features
Jan 25, 2013 5:59:52 PM org.apache.catalina.core.ApplicationContext log
INFO: Jabber HTTP Binding Servlet: [2] inQueue: <?xml version='1.0' encoding='UTF-8'?><stream:stream xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client" from="b.com" id="7048f2a3" xml:lang="en" version="1.0"><stream:features><starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"></starttls><mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><mechanism>DIGEST-MD5</mechanism><mechanism>PLAIN</mechanism><mechanism>ANONYMOUS</mechanism><mechanism>CRAM-MD5</mechanism></mechanisms><compression xmlns="http://jabber.org/features/compress"><method>zlib</method></compression><auth xmlns="http://jabber.org/features/iq-auth"/><register xmlns="http://jabber.org/features/iq-register"/></stream:features>
Jan 25, 2013 5:59:52 PM org.apache.catalina.core.ApplicationContext log
INFO: Jabber HTTP Binding Servlet: [2] inQueue: <stream:features><starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"></starttls><mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><mechanism>DIGEST-MD5</mechanism><mechanism>PLAIN</mechanism><mechanism>ANONYMOUS</mechanism><mechanism>CRAM-MD5</mechanism></mechanisms><compression xmlns="http://jabber.org/features/compress"><method>zlib</method></compression><auth xmlns="http://jabber.org/features/iq-auth"/><register xmlns="http://jabber.org/features/iq-register"/></stream:features>
Jan 25, 2013 5:59:52 PM org.apache.catalina.core.ApplicationContext log
INFO: Jabber HTTP Binding Servlet: [2] sending response [563211]: <body xmlns="http://jabber.org/protocol/httpbind" xmlns:stream="http://etherx.jabber.org/streams" authid="7048f2a3" inactivity="60" polling="2" requests="2" sid="5DZdj35gIzglSZ0AXYq2YmYQ" wait="300"><stream:features><mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><mechanism>DIGEST-MD5</mechanism><mechanism>PLAIN</mechanism><mechanism>ANONYMOUS</mechanism><mechanism>CRAM-MD5</mechanism></mechanisms><compression xmlns="http://jabber.org/features/compress"><method>zlib</method></compression><auth xmlns="http://jabber.org/features/iq-auth"/><register xmlns="http://jabber.org/features/iq-register"/></stream:features></body>
Jan 25, 2013 5:59:53 PM org.apache.catalina.core.ApplicationContext log
INFO: Jabber HTTP Binding Servlet: [2] inQueue: <challenge xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cmVhbG09ImVjMi0xNzYtMzQtMjEzLTU3LmV1LXdlc3QtMS5jb21wdXRlLmFtYXpvbmF3cy5jb20iLG5vbmNlPSJGM1YydkZieVdUVndPTmdtSFIyVk9uc2dQSHZzTGZaQWh5djF5VUNyIixxb3A9ImF1dGgiLGNoYXJzZXQ9dXRmLTgsYWxnb3JpdGhtPW1kNS1zZXNz</challenge>
Jan 25, 2013 5:59:53 PM org.apache.catalina.core.ApplicationContext log
INFO: Jabber HTTP Binding Servlet: [2] sending response [563212]: <body xmlns="http://jabber.org/protocol/httpbind"><challenge xmlns="jabber:client">cmVhbG09ImVjMi0xNzYtMzQtMjEzLTU3LmV1LXdlc3QtMS5jb21wdXRlLmFtYXpvbmF3cy5jb20iLG5vbmNlPSJGM1YydkZieVdUVndPTmdtSFIyVk9uc2dQSHZzTGZaQWh5djF5VUNyIixxb3A9ImF1dGgiLGNoYXJzZXQ9dXRmLTgsYWxnb3JpdGhtPW1kNS1zZXNz</challenge></body>
Jan 25, 2013 5:59:53 PM org.apache.catalina.core.ApplicationContext log
INFO: Jabber HTTP Binding Servlet: [2] inQueue: <failure xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><not-authorized/></failure>
Jan 25, 2013 5:59:53 PM org.apache.catalina.core.ApplicationContext log
INFO: Jabber HTTP Binding Servlet: [2] sending response [563213]: <body xmlns="http://jabber.org/protocol/httpbind"><failure xmlns="jabber:client"><not-authorized/></failure></body>
Jan 25, 2013 5:59:53 PM org.apache.catalina.core.ApplicationContext log
INFO: Jabber HTTP Binding Servlet: [2] terminating session 5DZdj35gIzglSZ0AXYq2YmYQ
Jan 25, 2013 5:59:53 PM org.apache.catalina.core.ApplicationContext log
INFO: Jabber HTTP Binding Servlet: [2] sending response [563214]: <body xmlns="http://jabber.org/protocol/httpbind"/>

 

 

and this from OpenFire-Logger:

 

 

2013.01.25 17:01:47 org.jivesoftware.util.log.util.JettyLog - JettyLog: servlet holder= 
2013.01.25 17:01:47 org.jivesoftware.util.log.util.JettyLog - JettyLog: chain= 
2013.01.25 17:01:47 org.jivesoftware.util.log.util.JettyLog - JettyLog: servlet holder= 
2013.01.25 17:01:47 org.jivesoftware.util.log.util.JettyLog - JettyLog: chain= 
2013.01.25 17:01:48 org.jivesoftware.util.log.util.JettyLog - JettyLog: servlet holder= 
2013.01.25 17:01:48 org.jivesoftware.util.log.util.JettyLog - JettyLog: chain= 
2013.01.25 17:01:51 org.apache.mina.filter.executor.ExecutorFilter - Launching thread for /77.177.27.92:56567 
2013.01.25 17:01:52 org.apache.mina.filter.executor.ExecutorFilter - Exiting since queue is empty for /77.177.27.92:56567 
2013.01.25 17:01:52 org.apache.mina.filter.executor.ExecutorFilter - Launching thread for /77.177.27.92:56567 
2013.01.25 17:01:52 org.jivesoftware.openfire.nio.NIOConnection - NIOConnection: startTLS: using c2s 
2013.01.25 17:01:52 org.jivesoftware.openfire.nio.ClientConnectionHandler - [/77.177.27.92:56567] doHandshake() 
2013.01.25 17:01:52 org.jivesoftware.openfire.nio.ClientConnectionHandler - [/77.177.27.92:56567] handshakeStatus=NEED_UNWRAP 
2013.01.25 17:01:52 org.jivesoftware.openfire.nio.ClientConnectionHandler - [/77.177.27.92:56567] unwrapHandshake() 
2013.01.25 17:01:52 org.jivesoftware.openfire.nio.ClientConnectionHandler - [/77.177.27.92:56567] inNetBuffer: java.nio.DirectByteBuffer[pos=0 lim=0 cap=16665] 
2013.01.25 17:01:52 org.jivesoftware.openfire.nio.ClientConnectionHandler - [/77.177.27.92:56567] appBuffer: java.nio.DirectByteBuffer[pos=0 lim=33330 cap=33330] 
2013.01.25 17:01:52 org.jivesoftware.openfire.nio.ClientConnectionHandler - [/77.177.27.92:56567] Unwrap res:Status = BUFFER_UNDERFLOW HandshakeStatus = NEED_UNWRAP 
bytesConsumed = 0 bytesProduced = 0 
2013.01.25 17:01:52 org.apache.mina.filter.executor.ExecutorFilter - Exiting since queue is empty for /77.177.27.92:56567 
2013.01.25 17:01:52 org.jivesoftware.openfire.nio.ClientConnectionHandler - [/77.177.27.92:56567] Data Read: org.apache.mina.filter.support.SSLHandler@19a0c4e (HeapBuffer[pos=0 lim=212 cap=512: 16 03 01 00 CF 01 00 00 CB 03 01 51 02 BA 59 F6 98 F0 0B 3B ED 0A 3F FD EC AB 97 CB 7F C2 EA 96 5F 7E 08 55 54 CC 2F C2 D2 72 CB 00 00 2A C0 09 C0 13 00 2F C0 04 C0 0E 00 33 00 32 C0 07 C0 11 00 05 C0 02 C0 0C C0 08 C0 12 00 0A C0 03 C0 0D 00 16 00 13 00 04 00 FF 01 00 00 78 00 0A 00 34 00 32 00 17 00 01 00 03 00 13 00 15 00 06 00 07 00 09 00 0A 00 18 00 0B 00 0C 00 19 00 0D 00 0E 00 0F 00 10 00 11 00 02 00 12 00 04 00 05 00 14 00 08 00 16 00 0B 00 02 01 00 00 00 00 36 00 34 00 00 31 65 63 32 2D 31 37 36 2D 33 34 2D 32 31 33 2D 35 37 2E 65 75 2D 77 65 73 74 2D 31 2E 63 6F 6D 70 75 74 65 2E 61 6D 61 7A 6F 6E 61 77 73 2E 63 6F 6D]) 
2013.01.25 17:01:52 org.jivesoftware.openfire.nio.ClientConnectionHandler - [/77.177.27.92:56567] doHandshake() 
2013.01.25 17:01:52 org.jivesoftware.openfire.nio.ClientConnectionHandler - [/77.177.27.92:56567] handshakeStatus=NEED_UNWRAP 
2013.01.25 17:01:52 org.jivesoftware.openfire.nio.ClientConnectionHandler - [/77.177.27.92:56567] unwrapHandshake() 
2013.01.25 17:01:52 org.jivesoftware.openfire.nio.ClientConnectionHandler - [/77.177.27.92:56567] inNetBuffer: java.nio.DirectByteBuffer[pos=0 lim=212 cap=16665] 
2013.01.25 17:01:52 org.jivesoftware.openfire.nio.ClientConnectionHandler - [/77.177.27.92:56567] appBuffer: java.nio.DirectByteBuffer[pos=0 lim=33330 cap=33330] 
2013.01.25 17:01:52 org.jivesoftware.openfire.nio.ClientConnectionHandler - [/77.177.27.92:56567] Unwrap res:Status = OK HandshakeStatus = NEED_TASK 
bytesConsumed = 212 bytesProduced = 0 
2013.01.25 17:01:52 org.jivesoftware.openfire.nio.ClientConnectionHandler - [/77.177.27.92:56567] handshakeStatus=NEED_TASK 
2013.01.25 17:01:52 org.jivesoftware.openfire.nio.ClientConnectionHandler - [/77.177.27.92:56567] doTasks() 
2013.01.25 17:01:52 org.jivesoftware.openfire.nio.ClientConnectionHandler - [/77.177.27.92:56567] doTask: com.sun.net.ssl.internal.ssl.Handshaker$DelegatedTask@53f89f 
2013.01.25 17:01:52 org.jivesoftware.openfire.nio.ClientConnectionHandler - [/77.177.27.92:56567] doTasks(): NEED_WRAP 
2013.01.25 17:01:52 org.jivesoftware.openfire.nio.ClientConnectionHandler - [/77.177.27.92:56567] handshakeStatus=NEED_WRAP 
2013.01.25 17:01:52 org.jivesoftware.openfire.nio.ClientConnectionHandler - [/77.177.27.92:56567] Wrap res:Status = OK HandshakeStatus = NEED_UNWRAP 
bytesConsumed = 0 bytesProduced = 1270 
2013.01.25 17:01:52 org.jivesoftware.openfire.nio.ClientConnectionHandler - [/77.177.27.92:56567] write outNetBuffer: java.nio.DirectByteBuffer[pos=0 lim=1270 cap=16665] 
2013.01.25 17:01:52 org.jivesoftware.openfire.nio.ClientConnectionHandler - [/77.177.27.92:56567] session write: HeapBuffer[pos=0 lim=1270 cap=1270: 16 03 01 04 F1 02 00 00 46 03 01 51 02 BA 80 57 5C 8D 27 49 98 9B 71 AE 08 53 F9 53 B9 77 5F 08 E3 91 33 46 D7 92 E0 BD 2B FE 01 20 51 02 BA 80 BD D5 48 1A 5A 52 6D 0A B9 7A 5E C7 A2 80 99 0B E6 F9 94 1E 21 78 6F 5F 72 45 C1 7D C0 13 00 0B 00 03 54 00 03 51 00 03 4E 30 82 03 4A 30 82 02 32 A0 03 02 01 02 02 08 59 42 87 25 83 43 96 50 30 0D 06 09 2A 86 48 86 F7 0D 01 01 05 05 00 30 3C 31 3A 30 38 06 03 55 04 03 0C 31 65 63 32 2D 31 37 36 2D 33 34 2D 32 31 33 2D 35 37 2E 65 75 2D 77 65 73 74 2D 31 2E 63 6F 6D 70 75 74 65 2E 61 6D 61 7A 6F 6E 61 77 73 2E 63 6F 6D 30 1E 17 0D 31 33 30 31 32 35 31 36 33 37 32 39 5A 17 0D 31 37 31 32 33 30 31 36 33 37 32 39 5A 30 3C 31 3A 30 38 06 03 55 04 03 0C 31 65 63 32 2D 31 37 36 2D 33 34 2D 32 31 33 2D 35 37 2E 65 75 2D 77 65 73 74 2D 31 2E 63 6F 6D 70 75 74 65 2E 61 6D 61 7A 6F 6E 61 77 73 2E 63 6F 6D 30 82 01 22 30 0D 06 09 2A 86 48 86 F7 0D 01 01 01 05 00 03 82 01 0F 00 30 82 01 0A 02 82 01 01 00 BD 22 95 9F 66 39 48 AD A9 C1 E9 BC A9 19 36 5F 24 8A 1D 61 F7 18 EF 4C 5E 84 3D FB D7 CB 11 1E C9 BC C9 3F D7 5A 4E 99 B2 20 62 4A 69 52 FE 5C DC 6E 03 99 60 32 F4 D4 D3 5F 66 08 1E 73 3E 85 83 F7 2D A2 F2 4B 23 14 C4 3D 54 34 C5 81 82 BB 1F C6 6A E7 98 31 17 01 10 A3 B7 CB 1E 01 79 44 93 B9 BD 1A 0D 1E 89 B4 A2 72 24 EE D1 AB D6 B9 14 D1 5D 2D DF BC FB E6 45 44 44 03 2D 47 E0 3E 09 9C 66 07 48 AD 3C 87 14 49 AF 71 BA D0 BD E8 00 82 37 E3 BD CC 78 68 7B 44 C0 58 2E 70 5C 6E 7C A7 EE E4 44 77 A9 97 4D DA 8C 23 B6 3D 93 74 27 F9 F0 7F 49 5D 1C 8E 8E 55 84 3E 92 52 00 F2 BA 5B DC 61 FC 34 B3 C1 D1 6F 50 8A 97 C0 93 4D 16 E1 20 D0 7A 69 5D CC 3E AA B1 F6 77 75 85 6F BA EE 50 5A 17 35 C8 EB 14 60 61 F9 82 DC 8D 10 4C 8C 5A CE AA 46 77 88 CA 66 02 5C 17 69 23 AF 02 03 01 00 01 A3 50 30 4E 30 4C 06 03 55 1D 11 04 45 30 43 A0 41 06 08 2B 06 01 05 05 07 08 05 A0 35 0C 33 2A 2E 65 63 32 2D 31 37 36 2D 33 34 2D 32 31 33 2D 35 37 2E 65 75 2D 77 65 73 74 2D 31 2E 63 6F 6D 70 75 74 65 2E 61 6D 61 7A 6F 6E 61 77 73 2E 63 6F 6D 30 0D 06 09 2A 86 48 86 F7 0D 01 01 05 05 00 03 82 01 01 00 5A F0 00 5B CD 64 F1 A0 29 74 4B B3 72 79 C1 1D F6 37 13 82 34 B1 4F E2 F8 E3 26 1A B6 60 BB B3 A9 66 20 AF 22 D6 3A 5D E9 0D 64 14 57 C6 95 56 52 04 65 F6 9A 08 05 56 41 96 70 92 90 BA F0 2E E4 AD 18 A3 82 A4 9E 0C 83 BB 76 01 ED 1A 81 2A 74 DC 8F FF 9D 51 BB 37 12 40 53 05 10 2B E0 8B 2E 2E 7D 0C 30 4A 62 C7 97 D3 26 F9 72 E7 6A E3 A0 57 3E C3 5E BF 0B A9 F9 03 4D F5 6E 9C 99 99 C3 DB 20 39 DA 6A 15 F8 A9 57 13 70 60 5F 9A FC E2 CD 30 A0 53 99 AA 30 C4 6D 87 98 36 E1 B0 B2 8A 61 C9 96 CB 83 B9 3C FF B3 76 87 6A B2 05 CD 4B 71 42 A5 BC 8C F0 62 D5 84 36 46 94 94 F0 78 2F AD FD E7 E9 FD E9 A6 A0 94 D8 1F 91 BB 6F 78 05 1B 0F 2F 2E 82 B2 C1 9C BD A1 31 3F 3F DD 5F A5 24 7F 51 F0 1F 8B 68 66 4C EE 9B 5C B6 05 89 9B 8B CB 6D 5A BE 5B 62 C8 B0 DC D8 FA 2D D2 4E 0C 00 01 47 03 00 17 41 04 2C 05 71 F6 9F 39 A3 CD 40 20 72 81 F9 E2 48 F8 8D D4 82 84 85 E5 41 2D FA 09 82 C6 26 47 6B 35 EA 6B 72 A4 FA A3 59 21 37 73 85 ED 40 90 7D 82 A2 0E 62 C1 94 F5 E7 A2 84 15 66 3A C1 41 B5 3D 01 00 9A 87 32 B6 50 2F F7 63 ED F5 C7 E2 07 FD 50 21 1F C4 63 2F FB 72 DD 72 E3 D2 5B 17 7A F8 76 C2 E7 AA 3F 69 C9 38 D7 6F AD 44 F4 85 E4 FB 85 FD 77 70 AD 83 E8 29 F2 2D 41 AC E1 16 ED F6 00 9D A9 67 69 5E 8E 64 02 6E 89 29 70 22 13 65 4F 79 F1 CA 91 8B 37 92 67 75 85 F1 68 7C 84 BA 5A 07 75 D5 AB BC 81 E0 4B CA 3C FF 1B 60 9B 73 2F 54 0E 2B 54 37 8A 2B FB 0E 45 1D 76 26 4B 34 97 C1 BB 47 C2 18 94 7A E4 C3 CE 56 9B 69 DD 05 DC 82 68 9D C1 08 EA 5B B7 AD 2A 06 FE 07 23 9D B3 4F 82 86 CD A4 A9 10 E3 F7 AC 62 5A 35 D7 A7 6D 17 3D 41 BB 9C 15 0E C8 97 2A 28 E2 45 51 49 6A F3 44 FE BF 3B 19 AD 51 A3 87 DB D7 E0 B9 98 D9 81 09 4B 83 F6 D7 41 64 82 B1 69 59 6B 31 56 9B C0 FD A8 94 99 09 98 E9 BA 4A 82 B1 67 B4 EC 3E D0 33 0D 43 F0 47 9F AF 0F F0 C6 11 2C F9 DD 32 A0 0E 00 00 00] 
2013.01.25 17:01:52 org.jivesoftware.openfire.nio.ClientConnectionHandler - [/77.177.27.92:56567] Filtered Write: org.apache.mina.filter.support.SSLHandler@19a0c4e 
2013.01.25 17:01:52 org.jivesoftware.openfire.nio.ClientConnectionHandler - [/77.177.27.92:56567] already encrypted: HeapBuffer[pos=0 lim=1270 cap=1270: 16 03 01 04 F1 02 00 00 46 03 01 51 02 BA 80 57 5C 8D 27 49 98 9B 71 AE 08 53 F9 53 B9 77 5F 08 E3 91 33 46 D7 92 E0 BD 2B FE 01 20 51 02 BA 80 BD D5 48 1A 5A 52 6D 0A B9 7A 5E C7 A2 80 99 0B E6 F9 94 1E 21 78 6F 5F 72 45 C1 7D C0 13 00 0B 00 03 54 00 03 51 00 03 4E 30 82 03 4A 30 82 02 32 A0 03 02 01 02 02 08 59 42 87 25 83 43 96 50 30 0D 06 09 2A 86 48 86 F7 0D 01 01 05 05 00 30 3C 31 3A 30 38 06 03 55 04 03 0C 31 65 63 32 2D 31 37 36 2D 33 34 2D 32 31 33 2D 35 37 2E 65 75 2D 77 65 73 74 2D 31 2E 63 6F 6D 70 75 74 65 2E 61 6D 61 7A 6F 6E 61 77 73 2E 63 6F 6D 30 1E 17 0D 31 33 30 31 32 35 31 36 33 37 32 39 5A 17 0D 31 37 31 32 33 30 31 36 33 37 32 39 5A 30 3C 31 3A 30 38 06 03 55 04 03 0C 31 65 63 32 2D 31 37 36 2D 33 34 2D 32 31 33 2D 35 37 2E 65 75 2D 77 65 73 74 2D 31 2E 63 6F 6D 70 75 74 65 2E 61 6D 61 7A 6F 6E 61 77 73 2E 63 6F 6D 30 82 01 22 30 0D 06 09 2A 86 48 86 F7 0D 01 01 01 05 00 03 82 01 0F 00 30 82 01 0A 02 82 01 01 00 BD 22 95 9F 66 39 48 AD A9 C1 E9 BC A9 19 36 5F 24 8A 1D 61 F7 18 EF 4C 5E 84 3D FB D7 CB 11 1E C9 BC C9 3F D7 5A 4E 99 B2 20 62 4A 69 52 FE 5C DC 6E 03 99 60 32 F4 D4 D3 5F 66 08 1E 73 3E 85 83 F7 2D A2 F2 4B 23 14 C4 3D 54 34 C5 81 82 BB 1F C6 6A E7 98 31 17 01 10 A3 B7 CB 1E 01 79 44 93 B9 BD 1A 0D 1E 89 B4 A2 72 24 EE D1 AB D6 B9 14 D1 5D 2D DF BC FB E6 45 44 44 03 2D 47 E0 3E 09 9C 66 07 48 AD 3C 87 14 49 AF 71 BA D0 BD E8 00 82 37 E3 BD CC 78 68 7B 44 C0 58 2E 70 5C 6E 7C A7 EE E4 44 77 A9 97 4D DA 8C 23 B6 3D 93 74 27 F9 F0 7F 49 5D 1C 8E 8E 55 84 3E 92 52 00 F2 BA 5B DC 61 FC 34 B3 C1 D1 6F 50 8A 97 C0 93 4D 16 E1 20 D0 7A 69 5D CC 3E AA B1 F6 77 75 85 6F BA EE 50 5A 17 35 C8 EB 14 60 61 F9 82 DC 8D 10 4C 8C 5A CE AA 46 77 88 CA 66 02 5C 17 69 23 AF 02 03 01 00 01 A3 50 30 4E 30 4C 06 03 55 1D 11 04 45 30 43 A0 41 06 08 2B 06 01 05 05 07 08 05 A0 35 0C 33 2A 2E 65 63 32 2D 31 37 36 2D 33 34 2D 32 31 33 2D 35 37 2E 65 75 2D 77 65 73 74 2D 31 2E 63 6F 6D 70 75 74 65 2E 61 6D 61 7A 6F 6E 61 77 73 2E 63 6F 6D 30 0D 06 09 2A 86 48 86 F7 0D 01 01 05 05 00 03 82 01 01 00 5A F0 00 5B CD 64 F1 A0 29 74 4B B3 72 79 C1 1D F6 37 13 82 34 B1 4F E2 F8 E3 26 1A B6 60 BB B3 A9 66 20 AF 22 D6 3A 5D E9 0D 64 14 57 C6 95 56 52 04 65 F6 9A 08 05 56 41 96 70 92 90 BA F0 2E E4 AD 18 A3 82 A4 9E 0C 83 BB 76 01 ED 1A 81 2A 74 DC 8F FF 9D 51 BB 37 12 40 53 05 10 2B E0 8B 2E 2E 7D 0C 30 4A 62 C7 97 D3 26 F9 72 E7 6A E3 A0 57 3E C3 5E BF 0B A9 F9 03 4D F5 6E 9C 99 99 C3 DB 20 39 DA 6A 15 F8 A9 57 13 70 60 5F 9A FC E2 CD 30 A0 53 99 AA 30 C4 6D 87 98 36 E1 B0 B2 8A 61 C9 96 CB 83 B9 3C FF B3 76 87 6A B2 05 CD 4B 71 42 A5 BC 8C F0 62 D5 84 36 46 94 94 F0 78 2F AD FD E7 E9 FD E9 A6 A0 94 D8 1F 91 BB 6F 78 05 1B 0F 2F 2E 82 B2 C1 9C BD A1 31 3F 3F DD 5F A5 24 7F 51 F0 1F 8B 68 66 4C EE 9B 5C B6 05 89 9B 8B CB 6D 5A BE 5B 62 C8 B0 DC D8 FA 2D D2 4E 0C 00 01 47 03 00 17 41 04 2C 05 71 F6 9F 39 A3 CD 40 20 72 81 F9 E2 48 F8 8D D4 82 84 85 E5 41 2D FA 09 82 C6 26 47 6B 35 EA 6B 72 A4 FA A3 59 21 37 73 85 ED 40 90 7D 82 A2 0E 62 C1 94 F5 E7 A2 84 15 66 3A C1 41 B5 3D 01 00 9A 87 32 B6 50 2F F7 63 ED F5 C7 E2 07 FD 50 21 1F C4 63 2F FB 72 DD 72 E3 D2 5B 17 7A F8 76 C2 E7 AA 3F 69 C9 38 D7 6F AD 44 F4 85 E4 FB 85 FD 77 70 AD 83 E8 29 F2 2D 41 AC E1 16 ED F6 00 9D A9 67 69 5E 8E 64 02 6E 89 29 70 22 13 65 4F 79 F1 CA 91 8B 37 92 67 75 85 F1 68 7C 84 BA 5A 07 75 D5 AB BC 81 E0 4B CA 3C FF 1B 60 9B 73 2F 54 0E 2B 54 37 8A 2B FB 0E 45 1D 76 26 4B 34 97 C1 BB 47 C2 18 94 7A E4 C3 CE 56 9B 69 DD 05 DC 82 68 9D C1 08 EA 5B B7 AD 2A 06 FE 07 23 9D B3 4F 82 86 CD A4 A9 10 E3 F7 AC 62 5A 35 D7 A7 6D 17 3D 41 BB 9C 15 0E C8 97 2A 28 E2 45 51 49 6A F3 44 FE BF 3B 19 AD 51 A3 87 DB D7 E0 B9 98 D9 81 09 4B 83 F6 D7 41 64 82 B1 69 59 6B 31 56 9B C0 FD A8 94 99 09 98 E9 BA 4A 82 B1 67 B4 EC 3E D0 33 0D 43 F0 47 9F AF 0F F0 C6 11 2C F9 DD 32 A0 0E 00 00 00] 
2013.01.25 17:01:52 org.jivesoftware.openfire.nio.ClientConnectionHandler - [/77.177.27.92:56567] handshakeStatus=NEED_UNWRAP 
2013.01.25 17:01:52 org.jivesoftware.openfire.nio.ClientConnectionHandler - [/77.177.27.92:56567] unwrapHandshake() 
2013.01.25 17:01:52 org.jivesoftware.openfire.nio.ClientConnectionHandler - [/77.177.27.92:56567] inNetBuffer: java.nio.DirectByteBuffer[pos=0 lim=0 cap=16665] 
2013.01.25 17:01:52 org.jivesoftware.openfire.nio.ClientConnectionHandler - [/77.177.27.92:56567] appBuffer: java.nio.DirectByteBuffer[pos=0 lim=33330 cap=33330] 
2013.01.25 17:01:52 org.jivesoftware.openfire.nio.ClientConnectionHandler - [/77.177.27.92:56567] Unwrap res:Status = BUFFER_UNDERFLOW HandshakeStatus = NEED_UNWRAP 
bytesConsumed = 0 bytesProduced = 0
2013.01.25 17:01:52 org.jivesoftware.openfire.nio.ClientConnectionHandler - [/77.177.27.92:56567] Data Read: org.apache.mina.filter.support.SSLHandler@19a0c4e (HeapBuffer[pos=0 lim=7 cap=512: 15 03 01 00 02 02 2E])
2013.01.25 17:01:52 org.jivesoftware.openfire.nio.ClientConnectionHandler - [/77.177.27.92:56567] doHandshake()
2013.01.25 17:01:52 org.jivesoftware.openfire.nio.ClientConnectionHandler - [/77.177.27.92:56567] handshakeStatus=NEED_UNWRAP
2013.01.25 17:01:52 org.jivesoftware.openfire.nio.ClientConnectionHandler - [/77.177.27.92:56567] unwrapHandshake()
2013.01.25 17:01:52 org.jivesoftware.openfire.nio.ClientConnectionHandler - [/77.177.27.92:56567] inNetBuffer: java.nio.DirectByteBuffer[pos=0 lim=7 cap=16665]
2013.01.25 17:01:52 org.jivesoftware.openfire.nio.ClientConnectionHandler - [/77.177.27.92:56567] appBuffer: java.nio.DirectByteBuffer[pos=0 lim=33330 cap=33330]
2013.01.25 17:01:52 org.apache.mina.filter.executor.ExecutorFilter - Launching thread for /77.177.27.92:56567
2013.01.25 17:01:52 org.jivesoftware.openfire.nio.ClientConnectionHandler - [/77.177.27.92:56567] Closed: org.apache.mina.filter.support.SSLHandler@19a0c4e
2013.01.25 17:01:52 org.jivesoftware.openfire.nio.ClientConnectionHandler - [/77.177.27.92:56567] Unexpected exception from SSLEngine.closeInbound().
javax.net.ssl.SSLException: Inbound closed before receiving peer's close_notify: possible truncation attack?
at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Unknown Source)
at com.sun.net.ssl.internal.ssl.SSLEngineImpl.fatal(Unknown Source)
at com.sun.net.ssl.internal.ssl.SSLEngineImpl.fatal(Unknown Source)
at com.sun.net.ssl.internal.ssl.SSLEngineImpl.closeInbound(Unknown Source)
at org.apache.mina.filter.support.SSLHandler.destroy(SSLHandler.java:167)
at org.apache.mina.filter.SSLFilter.sessionClosed(SSLFilter.java:367)
at org.apache.mina.common.support.AbstractIoFilterChain.callNextSessionClosed(AbstractIoFilterChain.java:269)
at org.apache.mina.common.support.AbstractIoFilterChain.access$800(AbstractIoFilterChain.java:53)
at org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.sessionClosed(AbstractIoFilterChain.java:633)
at org.apache.mina.common.support.AbstractIoFilterChain$HeadFilter.sessionClosed(AbstractIoFilterChain.java:484)
at org.apache.mina.common.support.AbstractIoFilterChain.callNextSessionClosed(AbstractIoFilterChain.java:269)
at org.apache.mina.common.support.AbstractIoFilterChain.fireSessionClosed(AbstractIoFilterChain.java:264)
at org.apache.mina.common.support.IoServiceListenerSupport.fireSessionDestroyed(IoServiceListenerSupport.java:224)
at org.apache.mina.transport.socket.nio.SocketIoProcessor.doRemove(SocketIoProcessor.java:188)
at org.apache.mina.transport.socket.nio.SocketIoProcessor.access$600(SocketIoProcessor.java:45)
at org.apache.mina.transport.socket.nio.SocketIoProcessor$Worker.run(SocketIoProcessor.java:489)
at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:51)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
2013.01.25 17:01:52 org.jivesoftware.openfire.nio.ConnectionHandler - ConnectionHandler:
javax.net.ssl.SSLHandshakeException: SSL handshake failed.
at org.apache.mina.filter.SSLFilter.messageReceived(SSLFilter.java:416)
at org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(AbstractIoFilterChain.java:299)
at org.apache.mina.common.support.AbstractIoFilterChain.access$1100(AbstractIoFilterChain.java:53)
at org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageReceived(AbstractIoFilterChain.java:648)
at org.apache.mina.common.support.AbstractIoFilterChain$HeadFilter.messageReceived(AbstractIoFilterChain.java:499)
at org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(AbstractIoFilterChain.java:299)
at org.apache.mina.common.support.AbstractIoFilterChain.fireMessageReceived(AbstractIoFilterChain.java:293)
at org.apache.mina.transport.socket.nio.SocketIoProcessor.read(SocketIoProcessor.java:228)
at org.apache.mina.transport.socket.nio.SocketIoProcessor.process(SocketIoProcessor.java:198)
at org.apache.mina.transport.socket.nio.SocketIoProcessor.access$400(SocketIoProcessor.java:45)
at org.apache.mina.transport.socket.nio.SocketIoProcessor$Worker.run(SocketIoProcessor.java:485)
at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:51)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: javax.net.ssl.SSLException: Received fatal alert: certificate_unknown
at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Unknown Source)
at com.sun.net.ssl.internal.ssl.SSLEngineImpl.fatal(Unknown Source)
at com.sun.net.ssl.internal.ssl.SSLEngineImpl.fatal(Unknown Source)
at com.sun.net.ssl.internal.ssl.SSLEngineImpl.recvAlert(Unknown Source)
at com.sun.net.ssl.internal.ssl.SSLEngineImpl.readRecord(Unknown Source)
at com.sun.net.ssl.internal.ssl.SSLEngineImpl.readNetRecord(Unknown Source)
at com.sun.net.ssl.internal.ssl.SSLEngineImpl.unwrap(Unknown Source)
at javax.net.ssl.SSLEngine.unwrap(Unknown Source)
at org.apache.mina.filter.support.SSLHandler.unwrap0(SSLHandler.java:658)
at org.apache.mina.filter.support.SSLHandler.unwrapHandshake(SSLHandler.java:614)
at org.apache.mina.filter.support.SSLHandler.handshake(SSLHandler.java:493)
at org.apache.mina.filter.support.SSLHandler.messageReceived(SSLHandler.java:306)
at org.apache.mina.filter.SSLFilter.messageReceived(SSLFilter.java:392)
... 14 more
2013.01.25 17:01:52 org.apache.mina.filter.executor.ExecutorFilter - Exiting since queue is empty for /77.177.27.92:56567
2013.01.25 17:01:52 org.apache.mina.filter.executor.ExecutorFilter - Launching thread for /77.177.27.92:56568
2013.01.25 17:01:52 org.apache.mina.filter.executor.ExecutorFilter - Exiting since queue is empty for /77.177.27.92:56568
2013.01.25 17:01:53 org.jivesoftware.openfire.nio.ClientConnectionHandler - [/10.58.179.234:44345] Data Read: org.apache.mina.filter.support.SSLHandler@364ef (HeapBuffer[pos=0 lim=22 cap=64: 17 03 01 00 11 E3 0A 50 6E 6A 3F D5 25 0C F9 5E D6 A3 9B 38 F5 AA])
2013.01.25 17:01:53 org.jivesoftware.openfire.nio.ClientConnectionHandler - [/10.58.179.234:44345] unwrap()
2013.01.25 17:01:53 org.jivesoftware.openfire.nio.ClientConnectionHandler - [/10.58.179.234:44345] inNetBuffer: java.nio.DirectByteBuffer[pos=0 lim=22 cap=16665]
2013.01.25 17:01:53 org.jivesoftware.openfire.nio.ClientConnectionHandler - [/10.58.179.234:44345] appBuffer: java.nio.DirectByteBuffer[pos=0 lim=33330 cap=33330]
2013.01.25 17:01:53 org.jivesoftware.openfire.nio.ClientConnectionHandler - [/10.58.179.234:44345] Unwrap res:Status = OK HandshakeStatus = NOT_HANDSHAKING
bytesConsumed = 22 bytesProduced = 1
2013.01.25 17:01:53 org.jivesoftware.openfire.nio.ClientConnectionHandler - [/10.58.179.234:44345] inNetBuffer: java.nio.DirectByteBuffer[pos=22 lim=22 cap=16665]
2013.01.25 17:01:53 org.jivesoftware.openfire.nio.ClientConnectionHandler - [/10.58.179.234:44345] appBuffer: java.nio.DirectByteBuffer[pos=1 lim=33330 cap=33330]
2013.01.25 17:01:53 org.jivesoftware.openfire.nio.ClientConnectionHandler - [/10.58.179.234:44345] Unwrap res:Status = BUFFER_UNDERFLOW HandshakeStatus = NOT_HANDSHAKING
bytesConsumed = 0 bytesProduced = 0
2013.01.25 17:01:53 org.jivesoftware.openfire.nio.ClientConnectionHandler - [/10.58.179.234:44345] appBuffer: java.nio.DirectByteBuffer[pos=0 lim=1 cap=33330]
2013.01.25 17:01:53 org.jivesoftware.openfire.nio.ClientConnectionHandler - [/10.58.179.234:44345] app data read: HeapBuffer[pos=0 lim=1 cap=1: 20] (20)
2013.01.25 17:01:53 org.apache.mina.filter.executor.ExecutorFilter - Launching thread for /10.58.179.234:44345
2013.01.25 17:01:53 org.apache.mina.filter.executor.ExecutorFilter - Exiting since queue is empty for /10.58.179.234:44345
2013.01.25 17:01:53 org.jivesoftware.openfire.nio.ClientConnectionHandler - [/10.235.54.167:56181] Data Read: org.apache.mina.filter.support.SSLHandler@19fc4e (HeapBuffer[pos=0 lim=22 cap=64: 17 03 01 00 11 83 3D 7D D7 1C D8 0F 78 A8 79 ED 7F E4 DA 14 91 62])
2013.01.25 17:01:53 org.jivesoftware.openfire.nio.ClientConnectionHandler - [/10.235.54.167:56181] unwrap()
2013.01.25 17:01:53 org.jivesoftware.openfire.nio.ClientConnectionHandler - [/10.235.54.167:56181] inNetBuffer: java.nio.DirectByteBuffer[pos=0 lim=22 cap=16665]
2013.01.25 17:01:53 org.jivesoftware.openfire.nio.ClientConnectionHandler - [/10.235.54.167:56181] appBuffer: java.nio.DirectByteBuffer[pos=0 lim=33330 cap=33330]
2013.01.25 17:01:53 org.jivesoftware.openfire.nio.ClientConnectionHandler - [/10.235.54.167:56181] Unwrap res:Status = OK HandshakeStatus = NOT_HANDSHAKING
bytesConsumed = 22 bytesProduced = 1
2013.01.25 17:01:53 org.jivesoftware.openfire.nio.ClientConnectionHandler - [/10.235.54.167:56181] inNetBuffer: java.nio.DirectByteBuffer[pos=22 lim=22 cap=16665]
2013.01.25 17:01:53 org.jivesoftware.openfire.nio.ClientConnectionHandler - [/10.235.54.167:56181] appBuffer: java.nio.DirectByteBuffer[pos=1 lim=33330 cap=33330]
2013.01.25 17:01:53 org.jivesoftware.openfire.nio.ClientConnectionHandler - [/10.235.54.167:56181] Unwrap res:Status = BUFFER_UNDERFLOW HandshakeStatus = NOT_HANDSHAKING
bytesConsumed = 0 bytesProduced = 0
2013.01.25 17:01:53 org.jivesoftware.openfire.nio.ClientConnectionHandler - [/10.235.54.167:56181] appBuffer: java.nio.DirectByteBuffer[pos=0 lim=1 cap=33330]
2013.01.25 17:01:53 org.jivesoftware.openfire.nio.ClientConnectionHandler - [/10.235.54.167:56181] app data read: HeapBuffer[pos=0 lim=1 cap=1: 20] (20)
2013.01.25 17:01:53 org.apache.mina.filter.executor.ExecutorFilter - Launching thread for /10.235.54.167:56181
2013.01.25 17:01:53 org.apache.mina.filter.executor.ExecutorFilter - Exiting since queue is empty for /10.235.54.167:56181
2013.01.25 17:01:53 org.apache.mina.filter.executor.ExecutorFilter - Launching thread for /77.177.27.92:56568 
2013.01.25 17:01:53 org.apache.mina.filter.executor.ExecutorFilter - Exiting since queue is empty for /77.177.27.92:56568
2013.01.25 17:01:53 org.apache.mina.filter.executor.ExecutorFilter - Launching thread for /77.177.27.92:56568
2013.01.25 17:01:53 org.jivesoftware.openfire.net.SASLAuthentication - SASLAuthentication: SaslException
javax.security.sasl.SaslException: Expecting comma or linear whitespace after quoted string: "utf-8"
at com.sun.security.sasl.digest.DigestMD5Base.parseDirectives(Unknown Source) 
at com.sun.security.sasl.digest.DigestMD5Server.evaluateResponse(Unknown Source)
at org.jivesoftware.openfire.net.SASLAuthentication.handle(SASLAuthentication.java:325)
at org.jivesoftware.openfire.net.StanzaHandler.process(StanzaHandler.java:183)
at org.jivesoftware.openfire.nio.ConnectionHandler.messageReceived(ConnectionHandler.java:169)
at org.apache.mina.common.support.AbstractIoFilterChain$TailFilter.messageReceived(AbstractIoFilterChain.java:570)
at org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(AbstractIoFilterChain.java:299)
at org.apache.mina.common.support.AbstractIoFilterChain.access$1100(AbstractIoFilterChain.java:53)
at org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageReceived(AbstractIoFilterChain.java:648)
at org.apache.mina.common.IoFilterAdapter.messageReceived(IoFilterAdapter.java:80)
at org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(AbstractIoFilterChain.java:299)
at org.apache.mina.common.support.AbstractIoFilterChain.access$1100(AbstractIoFilterChain.java:53)
at org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageReceived(AbstractIoFilterChain.java:648)
at org.apache.mina.filter.codec.support.SimpleProtocolDecoderOutput.flush(SimpleProtocolDecoderOutput.java:58)
at org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecFilter.java:185)
at org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(AbstractIoFilterChain.java:299)
at org.apache.mina.common.support.AbstractIoFilterChain.access$1100(AbstractIoFilterChain.java:53)
at org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageReceived(AbstractIoFilterChain.java:648)
at org.apache.mina.filter.executor.ExecutorFilter.processEvent(ExecutorFilter.java:239)
at org.apache.mina.filter.executor.ExecutorFilter$ProcessEventsRunnable.run(ExecutorFilter.java:283)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:51)
at java.lang.Thread.run(Unknown Source)
2013.01.25 17:01:53 org.apache.mina.filter.executor.ExecutorFilter - Exiting since queue is empty for /77.177.27.92:56568
2013.01.25 17:01:54 org.apache.mina.filter.executor.ExecutorFilter - Launching thread for /77.177.27.92:56568
2013.01.25 17:01:54 org.apache.mina.filter.executor.ExecutorFilter - Exiting since queue is empty for /77.177.27.92:56568
2013.01.25 17:01:55 org.jivesoftware.openfire.nio.ClientConnectionHandler - [/10.58.179.234:44360] Data Read: org.apache.mina.filter.support.SSLHandler@d79c75 (HeapBuffer[pos=0 lim=22 cap=64: 17 03 01 00 11 A2 51 34 48 C2 51 CE C6 A3 49 15 91 0F 30 76 DC 16])
2013.01.25 17:01:55 org.jivesoftware.openfire.nio.ClientConnectionHandler - [/10.58.179.234:44360] unwrap()
2013.01.25 17:01:55 org.jivesoftware.openfire.nio.ClientConnectionHandler - [/10.58.179.234:44360] inNetBuffer: java.nio.DirectByteBuffer[pos=0 lim=22 cap=16665]
2013.01.25 17:01:55 org.jivesoftware.openfire.nio.ClientConnectionHandler - [/10.58.179.234:44360] appBuffer: java.nio.DirectByteBuffer[pos=0 lim=33330 cap=33330]
2013.01.25 17:01:55 org.jivesoftware.openfire.nio.ClientConnectionHandler - [/10.58.179.234:44360] Unwrap res:Status = OK HandshakeStatus = NOT_HANDSHAKING
bytesConsumed = 22 bytesProduced = 1
2013.01.25 17:01:55 org.jivesoftware.openfire.nio.ClientConnectionHandler - [/10.58.179.234:44360] inNetBuffer: java.nio.DirectByteBuffer[pos=22 lim=22 cap=16665]
2013.01.25 17:01:55 org.jivesoftware.openfire.nio.ClientConnectionHandler - [/10.58.179.234:44360] appBuffer: java.nio.DirectByteBuffer[pos=1 lim=33330 cap=33330]
2013.01.25 17:01:55 org.jivesoftware.openfire.nio.ClientConnectionHandler - [/10.58.179.234:44360] Unwrap res:Status = BUFFER_UNDERFLOW HandshakeStatus = NOT_HANDSHAKING
bytesConsumed = 0 bytesProduced = 0 
2013.01.25 17:01:55 org.jivesoftware.openfire.nio.ClientConnectionHandler - [/10.58.179.234:44360] appBuffer: java.nio.DirectByteBuffer[pos=0 lim=1 cap=33330]
2013.01.25 17:01:55 org.jivesoftware.openfire.nio.ClientConnectionHandler - [/10.58.179.234:44360] app data read: HeapBuffer[pos=0 lim=1 cap=1: 20] (20)
2013.01.25 17:01:55 org.apache.mina.filter.executor.ExecutorFilter - Launching thread for /10.58.179.234:44360
2013.01.25 17:01:55 org.apache.mina.filter.executor.ExecutorFilter - Exiting since queue is empty for /10.58.179.234:44360
2013.01.25 17:01:58 org.jivesoftware.util.log.util.JettyLog - JettyLog: servlet holder=
2013.01.25 17:01:58 org.jivesoftware.util.log.util.JettyLog - JettyLog: chain=
2013.01.25 17:01:58 org.jivesoftware.util.log.util.JettyLog - JettyLog: servlet holder=
2013.01.25 17:01:58 org.jivesoftware.util.log.util.JettyLog - JettyLog: chain=
2013.01.25 17:01:59 org.jivesoftware.util.log.util.JettyLog - JettyLog: servlet holder=
2013.01.25 17:01:59 org.jivesoftware.util.log.util.JettyLog - JettyLog: chain=

Audit messages

$
0
0

Hi,

 

I have Openfire3.7.1 configured to audit messages.

Then, it saves the messages in /opt/openfire/logs/jive-audit*.log.

Is there a plugin or configuration to save the messages in MySQL "openfire" database?

I would like to integrate the audit with my ERP system, allowing users to check message history,

but this way is very difficult, slow, to check each time all the log files. I though about to read each

log file and convert to some ERP "message" table, but at this way I don't have an "online" search,

just messages converted at some time a day.


New OpenFire AD Installation Problems

$
0
0

I'm trying to get OpenFire up and running, and have run into a few difficulties, primarily with AD integration.

 

I installed, and started going through the wizard. I get to the AD portion, and have trouble. I tried a few different settings and finally got through, but then when asked to log in, none of the usernames and passwords I put in worked. So I changed the <setup> flag to false, went back in and tried again....and again...and again. It keeps doing that. I have an integrated database, and it's almost like it's not being saved.

 

The next problem is the user filters, group filters, etc. our AD structure is a little odd, so I could use a little guidance on getting that set up as well. When setting up the LDAP query, I pointed it to a service account in the Users folder at the bottom. When I got to the User mapping section, I tried to point it to the top level Users folder, but it doesn't find any users. Can it not look in the OUs below?

 

 

For some reason, I can't attach a screenshot of my AD, but here's a basic structure:

 

domain.com

     -     OU

          -     Security Groups

          -     Users

               -     Accounting

                    -     Accounting UserA

                    -     Accounting UserB

               -     Customer Service

                    -     Customer Service UserA

                    -     Customer Service UserB

               -     Corporate

                    -     Corporate UserA

                    -     Corporate UserB

               -     Warehouse

                    -     Warehouse UserA

                    -     Warehouse UserB

     -     IT

          -     IT Department UserA

          -     IT Department UserB

     -     Users

          -     Service Admin AccountA

          -     Domain Admin AccountA

Clicking on link from browser results in null person

$
0
0

Clicking on a link from a browser window results in the spark client opening with the value "null" for the person.

 

Spark version 2.6.3

 

This is on a windows machine and affects chrome, firefox and IE.

 

Link is configured as

 

xmpp:username@somewhere.com?message

 

and not

 

xmpp://username@somewhere.com?message

 

Is this a problem? Nothing is showing in the logs, anyway to up the logging level?

 

Thanks!

Password encryption problem

$
0
0

Hey guys,

 

at first I'd like to thank you all for this great jabber software!

I like it

 

I just describe my problem:

 

I installed openfire and everything went fine.

As database I used Mysql which was installed and also that worked fine.

 

Then I saw an article about password encryption. I guess it was this one: http://www.igniterealtime.org/builds/openfire/docs/latest/documentation/db-integ ration-guide.html

 

And so I copied this code

 

<provider>

    <auth>

      <className>org.jivesoftware.openfire.auth.JDBCAuthProvider</className>

    </auth>

  </provider>

  <jdbcAuthProvider>

     <passwordSQL>SELECT password FROM user_account WHERE username=?</passwordSQL>

     <passwordType>sha512</passwordType>

   </jdbcAuthProvider>

 

 

and pasted it in my openfire.xml.

Than I restarted openfire and wanted to login in the web panel. But the only thing I saw was the setup page.

So reinstalled openfire again with the web panel and than I wanted to login again but the setup page was again there.

 

I changed nothing in the database, I only pasted this code into the openfire.xml.

 

 

Can you tell me what I have done wrong?

Thanks

User Search on Extra Attributes

$
0
0

Hello, I need to search an user on my Openfire Server by extra attributes,

 

Currently I perform a research in this way:

 


usm = new UserSearchManager(mApplication.getConnection());  //user manager
Form searchForm = usm.getSearchForm("search." + mApplication.getConnection().getServiceName());
Log.e("user", search_user);
Form answerForm = searchForm.createAnswerForm();
answerForm.setAnswer("Username", true); 
answerForm.setAnswer("search", search_user);
ReportedData data = usm.getSearchResults(answerForm, "search."+mApplication.getConnection().getServiceName()); 
Iterator<ReportedData.Row>  itr= data.getRows(); 

 

 

It works, but if I need to perform a research based on an extra field (ex. Address), I can't retrieve the user

 

 

Map<String, String> mp = new HashMap<String, String>();                                mp.put("address", "California");                                  
newAccount.createAccount(userName, psw, mp);  

 

Can somebody help me?

Chat features - send messages to every client logged doesn't work

$
0
0

Hello all,

 

Server: Openfire 3.7.1


I enabled this features:

 

route.all-resources - Enable routing of messages to base JID to    every client logged in with the same base JID (different resources)    and the same (highest) priority

 

When I am logged in from my PC and phone and session are both with the same priority(1) messages are not send to both devices, only to one.

 

So, I suppose this features doesn't work at all.

 

Any feedback and instruction are accepted.

 

Thank you in advance.

User not showing up in OpenFire group

$
0
0

I'm on OpenFire 3.7 using external postgres database and LDAP/AD integration on Linux build.

 

1 single user in my TechGroup is not showing up under Groups in OpenFire admin console.

My TechGroup in AD contains 40 members including him. However, under Groups in OpenFire it is showing 39.

 

When I add a new user. AD contains 41 members and under Groups in OpenFire it is showing 40.

For some strange reason, OpenFire is not syncing over ONLY his account.

 

I deleted his account from Active Directory and recreated it and readd him back in the TechGroup in AD. Same result.

 

I rebuilt a secondary OpenFire server and he does show up correctly.

 

I cleared the User and Roster cache still same result on the primary OpenFire server.

 

Why is OpenFire not syncing just his account? Is there a way to clear his account out of the database even though it is AD integrated?

 

Any help will be appreciated! Thanks.

Register XMPP-Account using the Strophe.js-Register-Plugin

$
0
0

Hi,

I try to register a xmpp-account using the strophe-register-pluging (https://github.com/metajack/strophejs-plugins/tree/master/register). It works fine with the connection manager from example "http://bosh.metajack.im:5280/xmpp-httpbind" but I cant register the account using the OpenFire connection manager. (Normal login works with both connection managers...)

Connection State Changes are 1 -> 10. 1 means "connecting" but i dont know what 10 means...

$(document).bind('connect', function (ev, data) {          console.log("Connect to XMPP-Server...");          var connection = new Strophe.Connection(
//                              "http://bosh.metajack.im:5280/xmpp-httpbind");                              "http://localhost/http-bind");          var callback = function (status) {              if (status === Strophe.Status.REGISTER) {alert("1"+status);            connection.register.fields.username = "fghdfhg";alert("2"+status);            connection.register.fields.name = "dfgfdgfdg";            connection.register.fields.password = "dfddfgfdg";            connection.register.submit();              } else if (status === Strophe.Status.REGISTERED) {            console.log("registered!");            connection.authenticate();              } else if (status === Strophe.Status.CONNECTED) {            $(document).trigger('connected');        } else if (status === Strophe.Status.DISCONNECTED) {            console.log("Disconnected from XMPP-Server");        }    };

//    connection.connect(data.jid, data.password, callback);    connection.register.connect("xyz.com", callback, 60, 1);    WebChat.connection = connection;

});

 

does someone can say me what i'm doing wrong? Is there a server configuration i have to change?


Decompress gzip automatically?

$
0
0

Hi,

 

This is regarding smack library. In org.jivesoftware.smack.util.Base64.decode( String s, int options ), i can see that after base64 decoding, the code tries to detect if the data is gzip compressed and then decompresses it. The API also says this is the behaviour. Can someone please tell me why is the library trying to do so? Is it part of any specification?

 

The application i am working on is like a proxy to an xmpp server. Therefore it has to return whatever data it gets as it is. This behaviour of decompressing any gzip data is causing issues.

 

Thanks,

Rohit

[MUC] using getJoinedRooms() for persistent rooms

$
0
0

Hi all,

 

I am probably missing smth regarding proper use of the API.

 

What I do is the following:

 

  1. Create a persistent room (by sending Conf form with muc#roomconfig_persistentroom set to true.
  2. Join it explicitly by calling join("somenick")
  3. Immediatelly after I call either
    1. MultiUserChat.getJoinedRooms(connection,myUserId+"/laptop" ); // laptop is the resource I use when doing login
    2. Or MultiUserChat.getJoinedRooms(connection,myUserId+"/somenick" );

 

In both cases I get nothing returned, but trying to trace the server (Tigase 5.0.0) I see the difference in the returned query results. For the 1st case I definitly see server returns the room's JID. For the second case it indeed returns nothing.

 

What am I doing wrong here, generally? Any help will be appreciated.

 

I have additional question - is there any way to query server for all the rooms a user is member of, regardless the resource string/nickname? Can it be done with smack?

 

Thanks!

 

Sergey

Branding Spark using Ant Builder / IzPack and AdvancedInstaller

$
0
0

Hi

 

After spending hours/days braning spark and building packaging it to an msi all for free (as some alternatives cost money)

I thought I would post how I did it. I will try answer any questions or issues I came across

 

Hope this is of SOME help, to SOMEONE!

Some how to documents here are old and dated.

-------------------------------------------------------------------------------- --------------------------------------------------------------------

 

Scope:

This document will help you setup a secure and free open source instantmessenger server & client, branded with your own company logos fullycustomisable. The environment of this document is:

Ubuntu 10.04 Server 64Bit VM  & Windows 7 32Bit clients.

You will need to install the following free software (details givenbelow)

MySQL / Java RE / Notepad++ / TortoiseSVN / Ant Builder / IzPack /Launch4J / AdvancedInstaller

 

MySQLSetup

Step 1: sudoapt-get install mysql-server

Step 2: JDBC Driver is bundled with Openfire so we don’t need to worryabout it, you need to use the following values later on (ignore for now):

driver: com.mysql.jdbc.Driver

server: jdbc:mysql://[YOUR_HOST]/[DATABASE_NAME]

Step 3: Using MySQL 4.1.18 or later create a db for Openfire Tables

                mysqladmincreate [dbname]    //creates the database dbname, call yours anything

                catopenfire_mysql.sql | mysql [dbname];            //imports the schema file

 

OpenfireServer Setup

Step 1: Ensuring MySQL is installed, install Java JRE (Java 5 or later,I installed 7)

                sudoadd-apt-repository "deb http://archive.canonical.com/ lucid partner"

                sudoapt-get update

sudo apt-get install sun-java7-jre sun-java7-pluginsun-java7-fonts

                java –version//To confirm install & Java Version

Step 2: Download Openfire

wget http://www.igniterealtime.org/downloads/download-landing.jsp?file=openfire/openf ire_3_7_1.tar.gz

//This tar.gz does NOT include JAVA JRE so be sureto follow Step 2

 

Step 3: Extract Openfire to /opt

tar-xzvf openfire_3_0_0.tar.gz
mv openfire /opt

 

Step 4: Start the Openfire Service

                # ./opt/openfire/bin/openfirestart

 

Step 5: Launch the Openfire Admin Console to test

                http://127.0.0.1:9090 or http://server.name:9090

 

Step 6: Go through Openfire Server Wizard

                Page 1 LanguageSelection

                                -SelectLanguage

                Page 2: ServerSettings

                                -Domain: server.name

                                -Admin Console Port:9090

                                -Secure Admin Port :9091

                Page 3: DatabaseSettings

                                -Standard Database Connection

                                                -Database Driver:MySQL

                                                -JDBC Driver Class:com.mysql.jdbc.Driver

                                                -Database URL:jdbc.mysql://localhost:3306/openfire

                                                -Username / PasswordYour MySQLUsername & Password

                Page 4: ProfileSettings

                                -DirectoryServer (LDAP)

                                -Server Type: ActiveDirectory

                                -Host: IP Address of your AD server   Port:289

                                -Administrator DN: uid=Administrator,ou=OU Name,dc=company,dc=local

                                -Password= AdministratorPassword

                                //Selectusers for AD to be administrators

//more infoon AD setup:  here

Rebrandingof the Spark Client.

For the below example, we are going to rebrand spark and call ourclient “MyMessenger” havingspaces in your Client name can throw up problems later on so it’s easier toleave it out for now. Do not use underscores either.

 

Step 1: Download TortoiseSVNClient and Notepad++

Step 2 : Download the Source Code of Spark using TortoiseSVN, copy thesource code and create a copy in a folder on your desktop “MyMessenger” – we aregoing to work from here now.

Do NOThave spaces in this folder , this caused me problems later on.

svn cohttp://svn.igniterealtime.org/svn/repos/spark/trunk spark

Step 3: Using Notepad++ open the following files. Find and replace all “Spark”with “MyMessenger”

 

  1. 1.     build\build.xml
  2. 2.     src\resources\i18n\spark_i18n.properties (for English)
  3. 3.     src\java\org\jivesoftware\launcher\Installer.java
  4. 4.     src\java\org\jivesoftware\resource\default.properties (also enteryour server name for the value of HOST_NAME)
  5. 5.     src\java\org\jivesoftware\resource\spark.properties (also replace"1.0" in "Version 1.0 Release" with the version of Sparkyou're building)
  6. 6.     src\plugins\fastpath\src\resources\fastpath.properties (also replace"1.0" in "Version 1.0 Release" with the version of Sparkyou're building)

 

 

Step 4: Using Gimp / Photoshop / Paint.NET etc replace the followingimages – be sure to keep the dimensions, with your own cooperate images.

 

  1. 1.    spark.gif
  2. 2.    spark.ico
  3. 3.    spark_100.jpg(100 x 100)
  4. 4.    spark-16x16.png
  5. 5.    spark-32x32.png
  6. 6.    spark-60x60.png
  7. 7.    spark-64x64.png
  8. 8.    spark.png(244 x 188)
  9. 9.    away.png(16 x 16)
  10. 10.  DoNotDisturb.png(16 x 16)
  11. 11.  message.icns

 

Step 5: Install Apache Ant

                Follow theinstructions here forthe installation of Ant

The most importantpart is step 4, set environmental variables JAVA_HOME to your Java Enviroment, Set ANT_HOME to the directory you unzipped Ant to. Skipping this stepwill cause Ant not to run correctly. Steps 5&6 I didn’t do.

 

Step 6: Ok you now have replaced the spark images with your companybranding. We will launch MyMessenger to see how it looks. To do this:

Open command prompt & cd to your build folder:

Desktop\MyMessenger-Code\build>ant release  //Launch Ant

Desktop\MyMessenger-Code\target\build\bin>startup.bat//Run MyMessenger

 

Step 7: Once you’re happy, close MyMessenger & Download and Install izpack and launch4j

Step 8: Make the following changes to \build\build.xml

                <propertyname="installer.izpack.dir" value="c:\\ProgramFiles\\IzPack"/>

                <propertyname="launch4j.dir" location="c:\\ProgramFiles\\Launch4j" />

Step 9: Now compile and create your exe file

                From\MyMessenger\Build type the following:

                MyMessenger\build>antinstaller.izpack

                Yourcode should compile giving the final message “Build Successful”

Remember if your folder name is MyMessenger or My_Messenger it won’tcompile.

You will notice now you have two newfolders. \MyMessenger\Installer which contains your jar file and\MyMessenger\target which is your main folder containing your exe file \pluggins

Your executable file is located in \MyMessenger\target\build.   //starter.exe is needed, don’t delete

You will also notice your newly compiled exe is called Spark.exe, letschange this

 

  

Step 10: Changing compiler to makeMyMessenger.exe

For me this was very trialand error, but my advice would be – make a change, run ant installer.izpack andbe sure it says “Build Successful” then make another etc…

 

                In\MyMessenger\build\build.xml Ctrl&F and locate “Installer Ant Script”

                Rename thefollowing from Spark to MyMessenger

                installer.app_name

                installer.app_short_name

installer.product_name

 

In \MyMessenger\build\installer\izpack\launch4j.xmlchange the following lines:

<outfile>C:\Users\xxxxxx\Desktop\MyMessenger/target/build//MyMessenger.exe</outfile>

<errTitle>MyMessenger </errTitle>

<fileDescription>MyMessenger </fileDescription>

<copyright>http://www.yourcompany.com</copyright>

<productVersion>2.6.0.0</productVersion>

    <txtProductVersion>2.6.0</txtProductVersion>

    <productName>MyMessenger</productName>

    <companyName>Company Name - You</companyName>

    <internalName> MyMessenger </internalName>

    <originalFilename> MyMessenger.exe</originalFilename>

You can change more but I THINK these are the basics for now. Run antinstaller.izpack again.

 

Step 11: Default Properties

This file is very important.From here you can customize what users can and cannot do. It is very wellcommented and self-explained. For example, I have hardcoded in HOST_NAME anddisabled it to be changed. This way the user doesn’t have to enter the host.Many changes are available.

\MyMessenger\src\java\org\jivesoftware\resource\default.properties

I have also black listed the OTR (Off the Record) pluggin, that allowsencrypted off the record chats:

PLUGIN_BLACKLIST_CLASS = org.jivesoftware.spark.otrplug.OTRPlugin

From here we can also remove buttons that aren’tneeded in a cooperate setting. Such as creating accounts etc.

 

 

 

EXAMPLE ERRORS:

Build Failed:

C:\Users\......\build.xml868:com.izforge.izpack.compiler.CompilerException:….C:\Users\.../build/installer/spark-izpack.xml:76

The Errors can often be frustrating but the compiler points you in theright direction, in the above example, if you go to spark-izpack.xml and go to line 76, I still had spark.exe referenced ratherthan MyMessenger.exe

 

 

 

FinalStep: Package MSI for deployment

Let’s package up our exe and build files and create an msi fordeployment.

Download AdvancedInstaller

Advanced installer is free to create basic msi files. So lets createNEW – Installer – Simple

 

-Product Details: Enter as much information here as you require

-Install Parameters: Application Folder: [ProgramFilesFolder][ProductName]and the same under Application Shortcut Folder

-Files & folders : Application Folder – Right Click – Add Folderand add the \MyMessenger\target folder. Select the entire Target folder as youneed the plugins etc.

-Application Shortcut Folder:  Select Application Shortcut Folder – right clickwhitespace on right pane – New Shortcut to – Installed File – Select yourMyMessenger.exe file.

-Desktop – same step as above. This will create a shortcut toMyMessenger on the desktop for the users.

Everything else is fine as is. Save As in MyMessenger Folder

Select Build – once built go to \MyMessenger\Project –SetupFile whereyou will find your msi ready to deploy.

 

Good Luck!

Openfire becomes unresponsive

$
0
0

Hi,

 

I am building a messaging system for my application using openfire. Recently we started running load tests on the application and observed that openfire became inresponsive after handling aroud 2000 messages. On analysing the vm profiles after that we saw these issues

 

  1. Openfire having high usage of oldgen heap space (~90%).
  2. We also observed that perm space grows to ~99% and we saw a lot of BOSH(7071) connection in CLOSE_WAIT state. (We reran the tests after bumping the max perm space to 64M after that it is under 60% and the CLOSE_WAIT connections also goes away but other issues remained).
  3. Failure while sending messages often exhibited by SASL authentication exception and server time outs which is preceded by stray NULL pointers (from PEP service and SASLauthenticationclasses).

 

In the scenario we have one message generator and 3 message receiver, we have as many nodes as the number of receivers. The receivers will be listening on BOSH-tunnel and will logout from the tunnel after receiving aroud 10 events and will login again. Message sender is using smack library for connection, node creation, subscription and sending messages. The openfire version is the 3.7.1 for linux.

 

On restarting openfire, things start looking good again but it again becomes unresponsive after handling around 2000 messages.

 

We have hit a roadblock with this, any help on how to analyze it further or to fix these issues would be of great help.

 

Thanks and Regards,

Praveen

smack:/ 13411 XEP-0280 Message Carbons implementation

$
0
0

Hi all,

 

anybody know which servers or public services support XEP-0280?

 

Thanks

damencho

Viewing all 10742 articles
Browse latest View live