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

VoIP in local Spark client

$
0
0

Hi all, I'm new to the Openfire and Spark technologies so forgive me if I'm overlooking something simple, but I'm having issues establishing a VoIP call using two Spark clients over a Openfire server. My setup is as follows:

All on the one machine, a locally hosted Openfire server is running in the background with a MySQL setup. Two Spark clients are running, logged in as user1 and user2. I have configured the STUN server settings, setting the primary IP address to my local IP address, and the STUN ports have been left at the defaults. The Spark clients can message each other and send files with no issues, but I cannot establish a VoIP call between them. When I make the Spark clients call each other I am able to establish a connection between them. The Spark client notifies user2 that he is recieving a call, and if he answers, the the connection is established but no sound is transmitted. And once I end this call, if I attempt to establish a call between these two clients again without relaunching them the connection will never fully establish itself. So with each call attempt I must re-launch both clients. I have my computer's firewall turned off. The main error I'm trying to solve is as follows (extracted from the Spark error log):

 

java.net.PortUnreachableException: ICMP Port Unreachable

    at java.net.PlainDatagramSocketImpl.receive0(Native Method)

    at java.net.PlainDatagramSocketImpl.receive(Unknown Source)

    at java.net.DatagramSocket.receive(Unknown Source)

    at de.javawi.jstun.test.DiscoveryTest.test1(DiscoveryTest.java:103)

    at de.javawi.jstun.test.DiscoveryTest.test(DiscoveryTest.java:65)

    at de.javawi.jstun.test.demo.ice.ICENegociator.testInterface(ICENegociator.java:12 6)

    at de.javawi.jstun.test.demo.ice.ICENegociator.access$000(ICENegociator.java:40)

    at de.javawi.jstun.test.demo.ice.ICENegociator$1.run(ICENegociator.java:88)

    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)

 

For those wondering, the reason this is all done on the one machine is because I am attempting to develop an instant messenger of my own, but currently only have access to one machine. I have my own prototype messenger sending files and messages to Spark clients with no issues, but I feel the VoIP issues I encountered are not a coding error, but maybe a server configuration no network issue?

 

Any help would be appreciated!


Looking for freelance developer capable of working on fastpath

$
0
0

Greetings all,

We have been using fastpath now for about 5 years and have been mostly happy with it. We originally started using it when it was a paid product and were happy to pay for it then and have continued happily using it since it was open sourced.

 

The problem we have encountered is that since being spun off into open source we have a few issues with the product that we have no resolution for, and nobody to appeal to to correct them, so I am hoping for an appeal to the community to generate some leads.

 

If you are a developer or contract development shop capable of tackling this project, and are interested, please let me know so we can have a discussion off-line.

 

Thanks,

Ryan

How to connect 3 LDAP to openfire 3.7.1?

$
0
0

Hi Support,

 

I have installed Openfire 3.7.1 on Ubuntu 12.04 LTS it works fine currently it only connects to single LDAP, our company is mixed inviroment and having 3 domain controllers, these 3 domain controllers is configured for cross forest trust. Just to ask the group if anyone had successfully connect 3 LDAP on one openfire server? Please shed some lights. Thanks in advance!

 

Regards,

Albert

Imports cannot be resolved in Eclipse

$
0
0

I'm developing a plugin for openfire in eclipse juno. But first I'm just trying to take an existing plugin and build/compile it myself.

 

It's the motd plugin I'm trying to compile, but as soon as I put it into eclipse I get errors for all the imports:

 

import org.jivesoftware.util.JiveGlobals;

import org.jivesoftware.util.TaskEngine;

import org.jivesoftware.openfire.MessageRouter;

(+more)

 

Getting these errors:

The import <importname> cannot be resolved

 

I'm pretty sure it's not a proxy problem as I've been through that and fixed the proxy settings and I can now update eclipse and connect to the repositproes but can't import these !

 

Anyone have any idea? It would be much appreciated!!

Christine

Spark ThinApp / Portable?

$
0
0

Hi Community,

 

Openfire and Spark are greate but the Spark Client is very big with compare with other im clients and needs admin rights to install it
May in Future exsist a Small / Portable Version? Or directly avaiable as MS SSCSM Package or AppV for Distribution?

 

Or does somebody know a other client similar to spark with printscreen function?

 

Regards

Rene

Openfire 3.7.1 + AD + VCARD Mapping + Given Name in Spark?

$
0
0

Dear Comunity,

 

Today i brong Openfire to work with our AD. So far so good.

But when i log in to Spark i can do that only with our user id. My is mq1w

In the search function from Spark i can also only search for other user id`s.

The Problem is that i can then also not add them because the user id have only 4 Charakters.
When i check my Profil i see no Name is there. By prename is my userid lastname is empty.
Is it possible somehow to user the normall user id for login Spark and that it show the full Given Name as Showed Name and not the User ID?

The Business Adress (Street etc seems all correct) linked.

 

I guess in vcard it is not correct mapped?

 

I saw this community post but my openfire config looks the same like from isnoface
http://community.igniterealtime.org/thread/31611#165648

Discovery info

$
0
0

Hi,

i'm writing a plugin for openfire and i need to know which feature are supported by client. I've implemented packetInterceptor to get Message packets. I need to know if sender and receiver of a Message packet have a particular feature. So i need to know by using disco#info request. Is there an API to do this? Do the server cache this information without requesting always? Do you know an example to start from?

 

Please help!!!

Blowfish decryptString encryptString not match?

$
0
0

I use Blowfish to decrypt the encrypted password got from database, then I get the right plain password.

But I encrypt the same plain password using the same blowfish, the encrypted password is different with the database.

What's the problem?

 

Is there any way to change user's password in a plugin?

I use "AuthFactory.encryptPassword(password)" to get the encrypted password, but it different with the one encrypted by "UserManager.createUser()".


Some dev hours to spend in Openfire: Where ?

$
0
0

Hi

 

where should we spend some dev hours in Openfire? We were thinking about updating some libs to current versions and refactoring parts.

 

Anything that deserves special attention?

 

Fastpath is already in the making....

 

Walter

Smack nightlies are back!

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.

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/

Openfire reports Invalid State, the Connection object is closed.

$
0
0

hi we are using openfire 3.7.0 and have tied our Openfire to a SQL Server 2005 hosted on another machine. We do have constant interruptions to our database server and it gets rebooted quite frequently. We have been experiecning this problem which basically kills out database connection and hence our roster is empty until the openfire server is restarted and then everything is back to normal. We are using the jtds driver . Not sure if it is a issue with the driver or something else whcih we can do to prevent this.

 

2013.01.20 10:59:18 Invalid state, the Connection object is closed.

java.sql.SQLException: Invalid state, the Connection object is closed.

at net.sourceforge.jtds.jdbc.ConnectionJDBC2.checkOpen(ConnectionJDBC2.java:1634)

at net.sourceforge.jtds.jdbc.ConnectionJDBC2.prepareStatement(ConnectionJDBC2.java :2328)

at org.jivesoftware.openfire.group.DefaultGroupProvider.getMembers(DefaultGroupPro vider.java:732)

at org.jivesoftware.openfire.group.DefaultGroupProvider.getGroup(DefaultGroupProvi der.java:280)

at org.jivesoftware.openfire.group.GroupManager.getGroup(GroupManager.java:294)

at org.jivesoftware.openfire.group.GroupManager.getGroup(GroupManager.java:273)

at org.jivesoftware.openfire.group.GroupCollection$UserIterator.getNextElement(Gro upCollection.java:113)

at org.jivesoftware.openfire.group.GroupCollection$UserIterator.hasNext(GroupColle ction.java:76)

at org.jivesoftware.openfire.roster.RosterManager.getSharedGroups(RosterManager.ja va:170)

at org.jivesoftware.openfire.roster.Roster.<init>(Roster.java:127)

at org.jivesoftware.openfire.roster.RosterManager.getRoster(RosterManager.java:94)

at org.jivesoftware.openfire.handler.PresenceUpdateHandler.broadcastUpdate(Presenc eUpdateHandler.java:305)

at org.jivesoftware.openfire.handler.PresenceUpdateHandler.process(PresenceUpdateH andler.java:160)

at org.jivesoftware.openfire.handler.PresenceUpdateHandler.process(PresenceUpdateH andler.java:135)

at org.jivesoftware.openfire.handler.PresenceUpdateHandler.process(PresenceUpdateH andler.java:199)

at org.jivesoftware.openfire.PresenceRouter.handle(PresenceRouter.java:149)

at org.jivesoftware.openfire.PresenceRouter.route(PresenceRouter.java:85)

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

at org.jivesoftware.openfire.SessionManager.removeSession(SessionManager.java:1101 )

at org.jivesoftware.openfire.SessionManager.removeSession(SessionManager.java:1054 )

at org.jivesoftware.openfire.SessionManager$ClientSessionListener.onConnectionClos e(SessionManager.java:1169)

at org.jivesoftware.openfire.net.VirtualConnection.notifyCloseListeners(VirtualCon nection.java:214)

at org.jivesoftware.openfire.net.VirtualConnection.close(VirtualConnection.java:19 0)

at org.jivesoftware.openfire.session.LocalSession.close(LocalSession.java:322)

at org.jivesoftware.openfire.multiplex.ConnectionMultiplexerManager.closeClientSes sion(ConnectionMultiplexerManager.java:192)

at org.jivesoftware.openfire.multiplex.MultiplexerPacketHandler.handle(Multiplexer PacketHandler.java:113)

at org.jivesoftware.openfire.net.MultiplexerStanzaHandler.processIQ(MultiplexerSta nzaHandler.java:67)

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:169)

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.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.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(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)

Spark not starting with the system

$
0
0

Hi everybody

 

I compiled the spark and I created one installer with inno setup, but when the operating system make logging the spark don´t start together, I am using jre-6u27-windows-i586-s and the trunk that I´ve did download from svn 12885

How many ressources openfire use ?

$
0
0

Hello,

 

I'm Kenny and I'm an IT Technician for a commercial website. We are about a thousand employees.

 

After many tests, I'd like to install openfire for all the employees on a Linux server. Yesterday, I searched on the forum\website some many informations but I didn't find what I wanted.

 

For a year and for a thousand employees, I would like to know how many space disk I need approximately.

Have you some stats on the network ressources ? on the CPU usage ? Memory used ?

 

Thanks in advance for your help.

Have a nice day.


Questions about Java

$
0
0

Hello,

 

I'm going to install OpenFire on a linux server and I ask me a question about Java.

OpenFire works on a virtual machine java but there are a lot of updates because specialists find security vulnerabilities.

 

Are there risks for the openfire server ?

Are there troubles for the openfire server to update Java ?

When an update of java is available, the openfire server have to be stop ?

 

Thank you.

Best regards.

 

Kenny.

Patch to enable unknown IQ messages to include childXML

$
0
0

I had a need to send IQ messages to a client, and then get the response(without modeling).

 

This mostly worked. I could attach a packetCollector for the packetId and get an IQ subclass. The only problerm was the unknown IQ dropped any childXML beneath. This patch creates a StringIQ class that simply stores any text underneath the IQ.

 

It also edited the parseContent method to use a StringBuffer instead of concatination.

What causes the difference between raw and interpreted packets received?

$
0
0

Hi folks,

 

I'm writing a simple Scala wrapper for smack and I prefer to handle all XML processing (parsing and serializing) in Scala code. Hence I thought the best thing I can do is to: 1. add a root packet listener that handles all incoming stanzas and 2. write Packet subclasses with Scala flavored toXML (PubSub is my main interest at the moment).

 

But I can't seem to access the raw packets in a packet listener, the packets I receive contain the parent node but not the child nodes e.g. instead of getting this:

<iq from='SERVER' to='ME' id='ID' type='result'>

  <pubsub xmlns='http://jabber.org/protocol/pubsub'>

    <subscribe node='NODE' jid='JID' subscription='subscribed'>

      <status>

      ...

      </status>

    </subscribe>

  </pubsub>

</iq>

 

I receive this:

<iq from='SERVER' to='ME' id='ID' type='result'></iq>

 

Which is the same as the contents of the "Interpreted" tab in the debugger.

 

Q1. What causes this?

Q2. How can I dig deeper and access raw XML data from the reader (like the one used for the debugger)?

 

Any help is appreciated.

I need help with setting up a openfire server

$
0
0

Hey,

 

I have an older unit sitting around that I need to use to setup a chat server for my company. I would need this box to be able to hold around 5k-10k connections at the same time with gateway support using either spectrum or kraken to connect to outside network chat on facebook, yahoo, aim, so on.. What i dont know is if it would be possible with the current specs availible to me. and if so how would you go about getting this done. I dont need any video or file sharing but i would also like to possibly use fastpath for live help.. I would also like to use jappix mini as the client on my website and any help with it would be great as well..

 

Specs availible to me at the moment:

 

CPU:          Intel Core 2 Extreme quad-core QX9770 Yorkfield 3.2GHz LGA775 136w

Ram:          8GB DDR3 - 2000 (PC16000)

HDD:          2x ADATA XPG SX900 ASX900S3-256GM-C 256GB SATA III MLC (SSD) 550MB/s-Read 530MB/s Write

HDD:          2x Western Digital RE WD3000FYYZ 3TB 7200 RPM 64MB Cache SATA 6.0Gb/s

RCC:          HighPoint Rocket 640L PCI-Express 2.0 x4 SATA III (6.0Gb/s) RAID Controller Card

MB:   EVGA 132-YW-E180-A1 LGA 775 NVIDIA nForce 790i SLI ATX Intel Motherboard

INS:   Average 33.76Mbps Down and 4.87Mbps Up

OS:   Ubuntu 12.10 or Ubuntu Server 12.10 x64 or x86

 

Any help would be awesome, and i'd be very thankful..

How can I get the window to fall to the back?

$
0
0

Hi Everyone,

 

I need some help. I am a new user to Spark and I have been trying to find a way to stop the windows from staying to the front of everything. I would like to be able to have the windows fall back when I am no longer using them and I start on my other work. If anyone could help, if it can even be done. I would greatly appreciate it.

 

Thanks.

Amethyst

Viewing all 10742 articles
Browse latest View live