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

SMACK - subscription depth

0
0

I try to find the way to insert the subscriptionDepth in the database.

 

I 've got a SubscribeForm with some value :

 

SubscribeForm subForm = new SubscribeForm(FormType.submit);

                                        subForm.setDeliverOn(true);

                                        subForm.setDigestFrequency(5000);

                                        subForm.setDigestOn(true);

                                        subForm.setIncludeBody(true);

 

 

but I can find something like setSubscriptionDepth..

 

 

Someone can help me??


ssl certificates in openfire

0
0

We are using openfire 3.6.0.  We have installed openfire on 2 different servers and been having problems with signed CA ssl certificates.  We have tried wildcard ssl certificate and xmpp ssl certifcate.

 

Our latest server we went through the process of xmpp ssl certificate in install Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files and followed the instructions from xmpp (http://xmpp.org/ca/installation.shtml). All with no problems.

 

In openfire, imported the xmpp info and with no problems.  On the Server Information, under Server Properties it shows ! yellow icon beside Server Name.  the cert and server name is the same domain.  I know in a previous discussions this is just a small bug and don't worry about it.

 

In server >> server settings >> server certificates.  Importing worked.  It shows it accepted the certificate.  With the other server and wildcard server same thing.

 

With spark 2.5.8, we cannot log on.  If we delete imported certificates and select self-signed (with no CA signed), we can log on.

 

Please advise.  We have been trying and trying here and we NEED secure communications.

Custom Authentication using MYSQL

0
0

I have done the setup as mentioned in the below link:

http://www.igniterealtime.org/builds/openfire/docs/latest/documentation/db-integ ration-guide.html

 

These are the properties set ('ofproperty' table):

'admin.authorizedUsernames'          -     'sirim'

'emailField'                                     -     'email'

'jdbcAuthProvider.passwordSQL'     -      'SELECT password FROM user_profiles WHERE user_id=?'

'jdbcAuthProvider.passwordType'     -      'plain'

'jdbcGroupProvider.allGroupsSQL'     -      'SELECT group_Name FROM user_groups'

'jdbcGroupProvider.descriptionSQL'     -      'SELECT group_Description FROM user_groups WHERE group_Name=?'

'jdbcGroupProvider.groupCountSQL'     -      'SELECT count(*) FROM user_groups'

'jdbcGroupProvider.loadAdminsSQL'     -      'SELECT user_id FROM user_groups WHERE group_Name=? AND isAdmin=''Y'''

'jdbcGroupProvider.loadMembersSQL'     -      'SELECT user_id FROM user_groups WHERE group_Name=? AND isAdmin=''N'''

'jdbcGroupProvider.userGroupsSQL'     -      'SELECT group_Name FROM group_users WHERE user_id=?'

'jdbcProvider.connectionString'               -      'jdbc:mysql://localhost/DojoProj?user=root&password=root'

'jdbcProvider.driver'                              -     'com.mysql.jdbc.Driver'

'jdbcUserProvider.allUsersSQL'              -      'SELECT user_id FROM user_profiles'

'jdbcUserProvider.loadUserSQL'          -      'SELECT name,email FROM user_profiles WHERE user_id=?'

'jdbcUserProvider.searchSQL'               -     'SELECT user_id FROM user_profiles WHERE'

'jdbcUserProvider.userCountSQL'          -      'SELECT COUNT(*) FROM user_profiles'

'nameField'                                        -     'name'

'passwordKey'                                   -      'LG9okrU2A8PKpIS'

'provider.admin.className'               -      'org.jivesoftware.openfire.admin.DefaultAdminProvider'

'provider.auth.className'                    -      'org.jivesoftware.openfire.auth.JDBCAuthProvider'

'provider.group.className'               -      'org.jivesoftware.openfire.group.JDBCGroupProvider'

'provider.lockout.className'               -     'org.jivesoftware.openfire.lockout.DefaultLockOutProvider'

'provider.securityAudit.className'     -      'org.jivesoftware.openfire.security.DefaultSecurityAuditProvider'

'provider.user.className'                    - 'org.jivesoftware.openfire.user.JDBCUserProvider'

'provider.vcard.className'                    -     'org.jivesoftware.openfire.vcard.DefaultVCardProvider'

'update.lastCheck'                              -     '1357540683343'

'usernameField'                                   -     'user_id'

'xmpp.auth.anonymous'                             -     'true'

'xmpp.domain'                                   -      'localhost'

'xmpp.pubsub.service'                    -      'pubsub'

'xmpp.session.conflict-limit'               -      '0'

'xmpp.socket.ssl.active'                    -      'true'

 

This is the content in 'conf/openfire.xml':

<jive>

  <adminConsole>

    <!-- Disable either port by setting the value to -1 --> 

    <port>9090</port> 

    <securePort>9091</securePort>

  </adminConsole> 

  <locale>en</locale> 

 

<connectionProvider>

    <className>org.jivesoftware.database.DefaultConnectionProvider</className>

  </connectionProvider> 

  <database>

    <defaultProvider>

      <driver>com.mysql.jdbc.Driver</driver> 

      <serverURL>jdbc:mysql://localhost:3306/DojoProj?rewriteBatchedStatements=true</ serverURL> 

      <username>root</username> 

      <password>root</password> 

      <testSQL>select 1</testSQL> 

      <testBeforeUse>false</testBeforeUse> 

      <testAfterUse>false</testAfterUse> 

      <minConnections>1</minConnections> 

      <maxConnections>2000</maxConnections> 

      <connectionTimeout>1</connectionTimeout>

    </defaultProvider>

  </database> 

  <setup>true</setup>

</jive>

 

I tried logging in openfire admin console with username 'sirim' and password 'siri', but ended up with some error like ''Login failed: make sure your username and password are correct and that you're an admin or moderator." Even with 'admin', 'admin', the issue is same.

 

I have checked even the logs, but ended up with no clue. Even error.log is not updated with any error message.

Can someome please help me out to resolve this. Please let me know if additional information is needed. Thanks.

what's new in Openfire 3.7.2

0
0

a.t.t.

 

As we encountered some issues using 3.7.2, for example, NullPointerException when deleteing a groupchat. Want to do a rollback to 3.7.1.

 

Wonder what's new in Openfire 3.7.2 to make sure that we don't miss anything.

 

Thanks,

Como Configurar o Openfire para conectar-se em uma Rede Externa

0
0

Estou com dificuldades em colocar o o serviço em uma rede externa, na empresa é proibido o uso do MSN,

daí fica dificil, alguém pode me dar uma luz de como fazer o negoço legal. Agradeço!

Tests for bamboo's smack build

0
0

Is it possible that the unit tests for smack are enabled on bamboo's CI build? See here: http://bamboo.igniterealtime.org/browse/SMACK-TRUNK

 

cd build && ant test-unit

 

should do the trick. Although it seems that only a part of the available unit-tests in run, but that's another issue.

Openfire integration with Custom Mysql database - users cannot login

0
0

Hello All,

 

I'm trying to get openfire to authenticate and load users from an external users-table (in my case, app_user).

I had followed the documentation provided for the same, but the users in the custom table were not able to login.

(I had also followed the community thread - http://www.igniterealtime.org/community/message/161839 - It didn't work.. )

Also no errors were displayed in the logs.

I noticed that if a user was added to the "ofUsers" table of Openfire, they could login normally. But my requirement is to allow users from my current application's database to login to openfire.

 

The content of my openfire.xml is

 

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

<?xml version="1.0" encoding="UTF-8"?>

<jive>
  <adminConsole>
    <port>9090</port> 
    <securePort>9091</securePort>
  </adminConsole> 
  <locale>en</locale> 
  <connectionProvider>
    <className>org.jivesoftware.database.DefaultConnectionProvider</className>
  </connectionProvider> 
  <database>
    <defaultProvider>
      <driver>com.mysql.jdbc.Driver</driver> 
      <serverURL>jdbc:mysql://localhost:3306/mydb</serverURL> 
      <username>root</username> 
      <password>password</password> 
      <minConnections>5</minConnections> 
      <maxConnections>15</maxConnections> 
      <connectionTimeout>1.0</connectionTimeout>
    </defaultProvider>
  </database> 
  <setup>true</setup> 
  <jdbcProvider>
    <driver>com.mysql.jdbc.Driver</driver> 
    <connectionString>jdbc:mysql://localhost/mydb?user=root&amp;password=password</ connectionString>
  </jdbcProvider> 
  <provider>
    <auth>
      <className>org.jivesoftware.openfire.auth.JDBCAuthProvider</className>
    </auth> 
    <user>
      <className>org.jivesoftware.openfire.user.JDBCUserProvider</className>
    </user>
  </provider> 
  <jdbcAuthProvider>
    <passwordSQL>SELECT password FROM app_user WHERE username=?</passwordSQL> 
    <passwordType>plain</passwordType>
  </jdbcAuthProvider> 
  <jdbcUserProvider>
    <loadUserSQL>SELECT CONCAT(first_name,' ',last_name),email FROM app_user WHERE username=?</loadUserSQL> 
    <userCountSQL>SELECT COUNT(*) FROM app_user</userCountSQL> 
    <allUsersSQL>SELECT username FROM app_user</allUsersSQL> 
    <searchSQL>SELECT username FROM app_user WHERE</searchSQL> 
    <usernameField>username</usernameField> 
    <nameField>CONCAT(first_name,' ',last_name)</nameField> 
    <emailField>email</emailField>
  </jdbcUserProvider> 
  <admin>
    <authorizedUsernames>admin,sreekj</authorizedUsernames>
  </admin>
</jive>

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

The "ofProperty" table in openfire database also holds the same values as given above.

 

Could anyone please help....?

Ajuda com chat de voz

0
0

Estamos implantando o spark na empresa, mas não conseguimos utilizar o spark com microfone,

alguém pode me dar alguma dica? Algum plugin necessário?

É necessário habilitar alguma coisa no servidor?

 

Obrigado


VOZ

0
0

Senhores e senhoras! MOças e rapazes! Criançs de Todas as idades!!

 

Minha situação é a seguinte: ao tentar realizar uma ligação computer to computer aparece a mensagem abaixo:

 

Voice chat ended: Unable to negotiate session. this may be caused by firewall configuration problems.

 

O problems é que eu desativei os firewall pro teste. Alguém sabe o que fazer.

Administration

0
0

Saludos a todos,

 

La pregunta es simple pero no se si la respuesta lo es,

 

Como administrador de sistemas de un call-center quiero evitar que mis usuarios de spark hagan cambios y/o creen usuarios,

Es esto posible?

 

 

As a systems administrator for a call-center could I avoid my spark users make changes and / or create users?

 

Gracias!!

Administration

0
0

Saludos a todos,

 

La pregunta es simple pero no se si la respuesta lo es,

 

Como administrador de sistemas de un call-center quiero evitar que mis usuarios de spark hagan cambios y/o creen usuarios,

Es esto posible?

 

 

As a systems administrator for a call-center could I avoid my spark users make changes and / or create users?

 

Gracias!!

Seeing that your are getting a response

0
0

Using Spark is there a way to see that the user is responding to you. For example with other clients you can see [username]: is typing when they are responding.

 

I can't see how to enable this in Spark.

 

Thanks,

Installed Openfire on RedHat Server - Spark Client can't find server

0
0

Good day.

 

I have installed openfire on a redhat server. I used the 'basic' method of installing - no external database & no LDAP.

 

I currently cannot connect my spark client (from another machine) to the openfire server. I also cannot get to the admin console from another pc. However, I am able to log in with spark on the server using localhost as server and admin console using 127.0.0.1:9090.

 

Here are a few questions that may help troubleshoot:

 

1. Should the Server Name be the same as the server's Host Name?

2. Does it matter that the server and clients are on different subnets? i.e. server: xxx.xxx.xx.xx    client: xxx.xxx.yy.yy

3. On the spark client, under Server should I type the Server Name or Host Name (if they are different)?

 

For what it's worth, I've tried:

- different combinations in the server field

- manually pointed the client to the server's IP Address.

- checked, and verified that ports are open on server

- changed the server name field on openfire from servername.domain.com to servername

 

TYIA,

 

lAresl

spark server too busy

0
0

Hi,

 

Spark IM worked smoothly for the past years. Recently, when I tried to open the Spark, its giving me a message that the server is too busy and not able to connect to the server. Below are what Im getting on the screen.

The connection has timed out

The server at .... is  taking too long to respond

The site coulbe be temporarily unavailable

 

How can i resolve the issues? What are these means?

 

MP

User administration

0
0

Hi all,

 

How could I do so that end users could not make changes or create user? I need to restrict the use of "spark" in order to they only can communicate with the users who administrator wants,

 

Is this possible?

 

Thanks in advance,

 

regards


Users

0
0

Hi all,

 

How could I do so that end users could not make changes or create user? I need to restrict the use of "spark" in order to they only can communicate with the users who administrator wants,

 

Is this possible?

 

Thanks in advance,

[BUG] User having Privacy List can't login in clustering enabled

0
0

I found a little bit critical bug related Privacy Lists with Clustering.

 

If clustering setting is disabled, this bug isn't happen.

 

I tested with Openfire 3.7.1 release with Hazelcast plugin,

and current Openfire 3.7.2 Beta trunk on Amazon EC2.

 

<How to Reproduce>

 

Login to Clustering enabled server

Create Privacy Lists, and set to Active List

Repeat logout and login

This user can't login again

 

In admin console, delete cache of Privacy Lists.

User can login again

 

 

 

 

<?xml version="1.0"?>

<stream:stream xmlns:stream="http://etherx.jabber.org/streams" version="1.0" xmlns="jabber:client" to="......." xml:lang="en" xmlns:xml="http://www.w3.org/XML/1998/namespace">

 

  <?xml version='1.0' encoding='UTF-8'?><stream:stream xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client" from="....." id="d99bdc35" xml:lang="en" version="1.0">

 

<stream:features>

<bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"/>

<session xmlns="urn:ietf:params:xml:ns:xmpp-session"/>

</stream:features>

 

<iq type="set" id="bind_1">

<bind xmlns="urn:ietf:params:xml:ns:xmpp-bind">

<resource>TEST</resource>

</bind>

</iq>

 

<iq xmlns="jabber:client" type="error" id="bind_1" to="......./d99bdc35">

<bind xmlns="urn:ietf:params:xml:ns:xmpp-bind">

<resource>TEST</resource>

</bind>

<error type="wait" code="500">

<internal-server-error xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/>

</error>

</iq>

 

2013.01.10 15:02:29 org.jivesoftware.openfire.handler.IQHandler - Internal server error

java.lang.NullPointerException

        at org.jivesoftware.openfire.session.LocalClientSession.setDefaultList(LocalClient Session.java:530)

        at org.jivesoftware.openfire.handler.IQPrivacyHandler.setDefaultList(IQPrivacyHand ler.java:282)

        at org.jivesoftware.openfire.handler.IQPrivacyHandler.handleIQ(IQPrivacyHandler.ja va:110)

        at org.jivesoftware.openfire.handler.IQHandler.process(IQHandler.java:65)

        at org.jivesoftware.openfire.IQRouter.handle(IQRouter.java:372)

        at org.jivesoftware.openfire.IQRouter.route(IQRouter.java:121)

        at org.jivesoftware.openfire.spi.PacketRouterImpl.route(PacketRouterImpl.java:76)

        at org.jivesoftware.openfire.net.StanzaHandler.processIQ(StanzaHandler.java:337)

        at org.jivesoftware.openfire.net.ClientStanzaHandler.processIQ(ClientStanzaHandler .java:93)

        at org.jivesoftware.openfire.net.StanzaHandler.process(StanzaHandler.java:302)

        at org.jivesoftware.openfire.net.StanzaHandler.process(StanzaHandler.java:194)

        at org.jivesoftware.openfire.nio.ConnectionHandler.messageReceived(ConnectionHandl er.java:181)

        at org.apache.mina.common.support.AbstractIoFilterChain$TailFilter.messageReceived (AbstractIoFilterChain.java:570)

        at org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(Ab stractIoFilterChain.java:299)

        at org.apache.mina.common.support.AbstractIoFilterChain.access$1100(AbstractIoFilt erChain.java:53)

        at org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageReceive d(AbstractIoFilterChain.java:648)

        at org.apache.mina.common.IoFilterAdapter.messageReceived(IoFilterAdapter.java:80)

        at org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(Ab stractIoFilterChain.java:299)

        at org.apache.mina.common.support.AbstractIoFilterChain.access$1100(AbstractIoFilt erChain.java:53)

        at org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageReceive d(AbstractIoFilterChain.java:648)

        at org.apache.mina.filter.codec.support.SimpleProtocolDecoderOutput.flush(SimplePr otocolDecoderOutput.java:58)

        at org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecF ilter.java:185)

        at org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(Ab stractIoFilterChain.java:299)

        at org.apache.mina.common.support.AbstractIoFilterChain.access$1100(AbstractIoFilt erChain.java:53)

        at org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageReceive d(AbstractIoFilterChain.java:648)

        at org.apache.mina.common.IoFilterAdapter.messageReceived(IoFilterAdapter.java:80)

        at org.jivesoftware.openfire.plugin.RawPrintFilter.messageReceived(RawPrintFilter. java:66)

        at org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(Ab stractIoFilterChain.java:299)

        at org.apache.mina.common.support.AbstractIoFilterChain.access$1100(AbstractIoFilt erChain.java:53)

        at org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageReceive d(AbstractIoFilterChain.java:648)

        at org.apache.mina.filter.executor.ExecutorFilter.processEvent(ExecutorFilter.java :239)

        at org.apache.mina.filter.executor.ExecutorFilter$ProcessEventsRunnable.run(Execut orFilter.java:283)

        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)

        at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:51)

        at java.lang.Thread.run(Thread.java:679)

Candy - a new opensource Multi-User AJAX Jabber Chat

0
0

Hi all,

 

 

 

we just released our new Multi-User Ajax Jabber Chat named Candy (acronym for Chats are not dead yet ).

 

Why Candy?

- Focused on real-time multi-user chatting

- Easy to configure, easy to run, easy to use

- Highly customizable

- 100% well-documented JavaScript source code

- Built for Jabber (XMPP), using famous technologies

- Used and approved in a productive environment with up to 400 concurrent users

- Works with all major web browsers including IE7

 

Take a look. We built it from scratch upon the famous Strophe.js Library and made it easily extendable and customizable (see the Project Page).

 

I hope we can gain some contributors and users of it .

 

We're using in our Installation of it Openfire with Punjab as the HTTP-Bind Module. It works for over 400 Users concurrently in all major browsers seamlessly.

Of course you can also use another Jabber Server (we tested also on ejabberd).

 

If you have any ideas or bugs or whatever -> open an issue on github or send an email to our google groups mailinglist (All links on the project page).

 

Cheers,

Michael

SMACK - subscription depth

0
0

I try to find the way to insert the subscriptionDepth in the database.

 

I 've got a SubscribeForm with some value :

 

SubscribeForm subForm = new SubscribeForm(FormType.submit);

                                        subForm.setDeliverOn(true);

                                        subForm.setDigestFrequency(5000);

                                        subForm.setDigestOn(true);

                                        subForm.setIncludeBody(true);

 

 

but I can find something like setSubscriptionDepth..

 

 

Someone can help me??

Merged monitoring/open archive plugins

0
0

By merging the open archive plugin with the openfire monitoring plugin we've created a new monitoring plugin which has chat and group chat archiving (from monitoring) as well as XEP-0136 Message Archiving support (from open archive).

 

The base plugin is the Openfire Monitoring plugin.

 

Only issue is that the archive plugin is GPL2 licensed and the monitoring plugin is Apache licensed (right?). Best I can tell the two licenses combine fine:

http://www.gnu.org/licenses/gpl-faq.html#AllCompatibility

 

We use the plugin internally but I'm happy to share the source (took some work integrating the two) if anyone wants it.

 

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

 

EDIT

 

Work and a new baby got in the way of my best intentions, but despite being a little late we're happy to let everyone know that the updated Monitoring plugin is in Openfire trunk.

 

We wanted to originally add the plugin as a separate Maven project since the Openfire Ant build is a touch archaic (but functional! ) However due to the way the Maven-Openfire Plugin works and an issue in DWR 1.1.3 (it does not resolve classes outside its own lib folder) we had to put the new Monitoring plugin src in the Openfire trunk and compile it the Ant way.

 

The upshot of this is that all the graphing and statistics pages work just fine.

 

A change to the database schema of the Monitoring plugin was made to support the XEP-0136 spec. We've tried our very best to handle the database upgrade for all the supported DBs as best as possible.

 

Source:

http://svn.igniterealtime.org/svn/repos/openfire/trunk/src/plugins/monitoring/

 

Latest build (1.3.0) of the plugin is attached.

 

Any bugs please contact me or ideally file in JIRA (I believe you can file them against leonroy).

Viewing all 10742 articles
Browse latest View live




Latest Images