Quantcast
Channel: Ignite Realtime : Discussion List - Openfire Support
Viewing all 4596 articles
Browse latest View live

SSO - Need Help

$
0
0

All:

 

I am in desperate need of getting an Openfire/Spark installation working with SSO.  Despite carefully trying to follow all of the various guides I could locate, I can't quite get it to go.  I was wondering if any one might be willing to help - I would pay you for your time.

 

I'm running Openfire 4.1.3 and Spark 2.8.3.  Everything works without SSO.  When I change the SASL.Mechs property to GSSAPI, I can no longer login in with or without SSO.  Error from the Spark log is "org.jivesoftware.smack.sasl.SASLErrorException: SASLError using GSSAPI: not-authorized".  I'm guessing it's something very simple with the keytab file, gss.conf file, or similar but this is really not my area of expertise and I need this working just as fast as humanly possible.

 

Please contact me if you would be willing to help - I would greatly appreciate it.

 

Cameron


Multiple-Sessions?

$
0
0

Hi,

The version 4.1.5 works route.all-resources?

 

I have the version 3.9.3, I have my user connected to two resources, Pidgin and Pandion.

 

I did a test someone wrote me a message only Pandion works.

 

Any chance to fix this? o any chance to disable multiple sessions with the username?

 

Thanks

Java optimization in openfire

$
0
0

Hi,

Openfire 4.0.4, Spark 2.8.2 mostly, 290 users, plugins: Broadcast, Monitoring Service, Search.

Memory using by java up to 1,4 GB with 1,5 GB limit! Is this normal? How to decrease this java memory consumption?

SSO not fuction totaly

$
0
0

Hi

i've got a problem with openfire 4.1.5 + Spark 2.8.3 and SSO.

so i describe infrastructure:

AD Windows 2012 r2 with ad level 2012 r2

Openfire installed on drive E of AD Server

Client Windows 10 + spark 2.8.3

I just configured openfire with AD and of read correctly my AD

Client have this situation:

 

With krb5.ini SSo

With DNS or setting:

in all 3 case the result not change

 

 

This is my gss conf

com.sun.security.jgss.accept {

    com.sun.security.auth.module.Krb5LoginModule required

    storeKey=true

    keyTab="E:/Openfire/resources/xmpp.keytab"

    doNotPrompt=true

    useKeyTab=true

isInitiator=false

    realm="domain.LOCAL"

    principal="xmpp/dc1.domain.local"

    debug=true;

};

ServicePrincipalNames registrati per CN=xmpp-openfire,OU=Service,OU=dominio,DC=dominio,DC=local:

        xmpp/dc1.dominio.local

        xmpp/dc1

        xmpp/dc1.dominio.local@dominio.LOCAL

 

KRB5.ini

libdefaults]
     default_realm = dominio.LOCAL

[realms]
    DOMINIO.LOCAL = {
        kdc = dc1.dominio.local
        admin_server = dc1.dominio.local
        default_domain = dominio.local
    }

[domain_realms]
    dominio.local= DOMINIO.LOCAL
    .dominio.local= DOMINIO.LOCAL

 

this is my openfire.xml

 

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

<!-- This file stores bootstrap properties needed by Openfire. Property names must be in the format: "prop.name.is.blah=value" That will be stored as: <prop> <name> <is> <blah>value</blah> </is> </name> </prop> Most properties are stored in the Openfire database. A property viewer and editor is included in the admin console. -->

<!-- root element, all properties must be under this element -->

-<jive>

-<adminConsole>

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

<port>9090</port>

<securePort>9091</securePort>

</adminConsole>

<locale>en</locale>

<!-- Network settings. By default, Openfire will bind to all network interfaces. Alternatively, you can specify a specific network interfaces that the server will listen on. For example, 127.0.0.1. This setting is generally only useful on multi-homed servers. -->

<!-- <network> <interface></interface> </network> -->

<!-- sasl configuration -->

-<sasl>

<mechs>GSSAPI</mechs>

<!-- <mechs>CRAM-MD5,DIGEST MD5,PLAIN,EXTERNAL,ANONYMOUS</mechs> -->

<!-- Specify the realm you used when you created the service principal and keytab.-->

<realm>dominio.LOCAL</realm>

<!-- Mechanism-specific configuration here -->

-<gssapi>

<!-- Use true to turn on debugging information. This adds a lot of noise to your log files, but it can help you spot problems sooner in the initial setup. -->

<debug>true</debug>

<!-- Specify the location of the GSSAPI configuration file you edited. -->

<!-- Sets the system property with the same name. You'll probably want "false" here (the default). For more details, see [http://java.sun.com/j2se/1.4.2/docs/api/org/ietf/jgss/package-summary.html] -->

</gssapi>

</sasl>

<!-- SPDY Protocol is npn. (note: npn does not work with Java 8) add -Xbootclasspath/p:/OPENFIRE_HOME/lib/npn-boot.jar to .vmoptions file -->

<!-- <spdy> <protocol>npn</protocol> </spdy> -->

<!-- XEP-0198 properties -->

-<stream>

-<management>

<!-- Whether stream management is offered to clients by server. -->

<active>true</active>

<!-- Number of stanzas sent to client before a stream management acknowledgement request is made. -->

<requestFrequency>5</requestFrequency>

</management>

</stream>

-<connectionProvider>

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

</connectionProvider>

<setup>true</setup>

</jive>

 

Windows Firewall Disable

Client and Server same Network

on client java is not installed.

 

i read this guide:

How to Setup  SSO on Windows Server 2008r2/2012r2 with a Domain level of 2008r2/2012r2

SSO Issues (WinSrv2016/Win10Ent w/ Openfire 4.1.0 & Spark 2.8.2)

SSO Configuration

 

help?

4.1.5.1 on FreeBSD error on configuration after install

$
0
0

OS: FreeBSD vld-bsd-2 10.3-RELEASE-p20 FreeBSD 10.3-RELEASE-p20

OpenFire version: openfire-4.1.5,1

 

After installation i got an error on the selection profile configurationstep:

 

HTTP ERROR 500

Problem accessing /setup/setup-profile-settings.jsp. Reason:

    Server Error

 

Caused by:

java.lang.NullPointerException at org.jivesoftware.openfire.admin.setup.setup_002dprofile_002dsettings_jsp._jspService(setup_002dprofile_002dsettings_jsp.java:95) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:812) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1669) at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:118) at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:52) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652) at org.jivesoftware.util.LocaleFilter.doFilter(LocaleFilter.java:76) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652) at org.jivesoftware.util.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:53) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652) at org.jivesoftware.admin.PluginFilter.doFilter(PluginFilter.java:226) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652) at org.jivesoftware.admin.AuthCheckFilter.doFilter(AuthCheckFilter.java:165) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143) at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:577) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:215) at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:110) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97) at org.eclipse.jetty.server.Server.handle(Server.java:499) at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:311) at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257) at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:544) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635) at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555) at java.lang.Thread.run(Thread.java:748)

No metter what i've choose. It's always finished with this error.

Had try to reinstall - no success.

Openfire 4.1.5 can't open

$
0
0

Openfire 4.1.5 when i installed in my pc it's not working please help me.error in this image please help me

spark error.PNG

 

Message was edited by: SAM

ldap name@r41

$
0
0

Hi.

My server OpenLdap contains names in the format "name@r41". But username field not supported this format. How to get around this problem?

lastLogin

$
0
0

is there any way to check "when" a user was last logged in? i heared something of a plugin "user-status-plugin", but i dont find it in the list...


Problem run Openfire server

$
0
0

I have problem to run OpenFire Server - OpenFire is running but clients with Spark does not working connect.

Please for help this problem.

ScreenshotSnímek obrazovky 2017-06-23 v 15.53.39.png

Problem run Openfire with error login to Spark

$
0
0

I have problem to run OpenFire Server - OpenFire is running but clients with Spark does not working connect.

Please for help this problem.

 

Screenshot:

Snímek obrazovky 2017-08-04 v 8.42.12.png

Problem importing org.jivesoftware.openfire.* in my project

$
0
0

I want to use groups and group managers in my project, however, whenever I try to import for example org.jivesoftware.openfire.group or anything else starting with org.jivesoftware.openfire, I get an error : "The import org.jivesoftware.openfire cannot be resolved", so I can't use groups or group manager. What's even stranger is that org.jivesoftware.smack works perfectly fine!

I already tried replacing the openfire.jar in the lib directory but it doesn't seem to work.

Can anyone please help me?

 

I'll be forever in your debt.

Muddy

Increase Java heap space

$
0
0

Hi friends :

I built 100.000 users on Sql server for test Openfire and I added then to e group.

Now, when I click on group, I see this error : java.lang.OutOfMemoryError: Java heap space...

I did belows for solution of error, but It did'nt change the Openfire.

(I installed Openfire on Win7)

 

...If you use OpenFire as a service configured in Windows, create a file with the openfire-service.vmoptions name and place within it the following parameters one below the other as they are.
-Xms512m
-Xmx1024m

...

Thanks.

Openfire test

$
0
0

Hi friends :

I should build 100.000 users on Openfire in local network and send message to them and achieve the time of sending to reciving.

(I use agsxmpp or Matrix Lib for connection. I've added users as script to Sql Server DB )

I want achieve online time and offline time.

Could you please say how should I do?

 

Thanks a lot.

Sort of broadcast running

$
0
0

Hi friends :

When we broadcast a message to 100000th user, are the sort of receiving messages depend on sort of users rows in database?

( It means when a user is in the first row, It's faster than the 100000th user that receive message) or it has another mechanism.

I want to achieve the time of broadcast that is from sending to receiving.

thanks a lot.

Openfire service start issue

$
0
0

Hi,

I install openfire into my server(centOS) successfully. But, when I am starting opefire, it shows some error and FAILED status is shown.

 

[root@server ~]# service openfire status

openfire is running

[root@server ~]# service openfire start

Starting openfire (via systemctl):  Job for openfire.service failed because the control process exited with error code. See "systemctl status openfire.service" and "journalctl -xe" for details. [FAILED].

 

Also it shows following things.

 

[root@server ~]# systemctl status openfire.service

* openfire.service - SYSV: Openfire is an XMPP server, which is a server that facilitates XML based communication, such as chat.

  Loaded: loaded (/etc/rc.d/init.d/openfire; bad; vendor preset: disabled)

  Active: failed (Result: exit-code) since Sun 2017-08-06 06:59:28 UTC; 11min ago

    Docs: man:systemd-sysv-generator(8)

  Process: 4408 ExecStart=/etc/rc.d/init.d/openfire start (code=exited, status=1/FAILURE)

 

 

Aug 06 06:59:28 server systemd[1]: Starting SYSV: Openfire is an XMPP serve.....

Aug 06 06:59:28 server openfire[4408]: Openfire is already running.

Aug 06 06:59:28 server systemd[1]: openfire.service: control process exited...=1

Aug 06 06:59:28 server systemd[1]: Failed to start SYSV: Openfire is an XMPP server, which is a ser...hat

Aug 06 06:59:28 server systemd[1]: Unit openfire.service entered failed state.

Aug 06 06:59:28 server systemd[1]: openfire.service failed.

Hint: Some lines were ellipsized, use -l to show in full.

[root@server ~]#

 

 

Please help me.


Aumentar memoria java en Openfire 4.1.5

$
0
0

Tengo instalado Openfire en SO Windows 10

 

¿Como puedo aumentar la memoria de Java en este sistema operativo?

Memoria Java (openfire)

$
0
0

Buenas tardes, se instalo openfire 4.1.5 en windows10, mi pregunta es como puedo hacer para aumentar la memoria java de openfire?

Broadcast mekanism in Openfire

$
0
0

Hi friends :

How do work the mechanism of broadcast and alguritm in Openfire?

When I was sending message to 20k users, I understood the sort of receiving message depends on sort of records in database.

but what about the sort of sending message? for exampele what time is the turn of 15000th user?

Openfire admin password error occurs when connect Openfire server with MySQL database(import/restored on Cloud SQL using dump)

$
0
0

I have Openfire chat server on Google Compute Engine instance and MySQL database on same instance (on same IP, in case you don't know).

Now I have taken dump of MySQL and import/restored it to Cloud SQL instance. So that, in future multiple Openfire server can access data from same MySQL database.

When I install new Openfire server on another Compute Engine instance and connect MySQL database (which I imported on Cloud SQL instance) using IP, connection with MySQL is Ok but it says my current Openfire admin password is wrong during Openfire setup, even though it is setup.

If I click on 'Skip This Step' and then login on Administration console, its says - "Login failed: make sure your username and password are correct and that you're an admin or moderator."

Let's say

      IP of MySQL installed on Cloud SQL instance:104.155.1.1  
      IP
of new Openfire installed onCompute Engine:173.101.2.2

I have tried following options, but none these worked-

  • Entered Openfire default password 'admin'
  • Entered password of my old Openfire server.
  • Updated plainPassword field of ofUser table in MySQL and tried.
  • Changed fileds in ofProperty table of MySQL and tried.
  • Changed openfire.xml file on Openfire server as per this docs-                                                                                                 http://download.igniterealtime.org/openfire/docs/latest/documentation/db-integra tion-guide.html

 

2bVoD.jpg

Java optimization in openfire

$
0
0

Hi,

Openfire 4.0.4, Spark 2.8.2 mostly, 290 users, plugins: Broadcast, Monitoring Service, Search.

Memory using by java up to 1,4 GB with 1,5 GB limit! Is this normal? How to decrease this java memory consumption?

Viewing all 4596 articles
Browse latest View live