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

Disco IQ error on Openfire

$
0
0

Hi,

 

I am struggling to make FileTransfert working between 2 XMPP clients :

 

- droid@breizh/Smack running on Android using asmack

- eloi@breizh/home running on linux using pidgin

 

Messaging and presence work fine. FileTransfert can not be done from pidgin. I think that it is because pidgin does not receive disco info bytestream from android.

 

With the web interface, I see all the time this error.

 

Could you tell me what is wrong ?

 

type result exists in XMPP standard.

 

Thanks,

 

Eloi

 

java.lang.IllegalArgumentException: IQ must be of type 'set' or 'get'. Original IQ: <iq id="684-17" to="breizh" type="result" from="droid@breizh/Smack"><query xmlns="http://jabber.org/protocol/disco#info"><identity category="client" name="Smack" type="pc"/><feature var="http://jabber.org/protocol/caps"/><feature var="http://jabber.org/protocol/xhtml-im"/><feature var="http://jabber.org/protocol/muc"/><feature var="http://jabber.org/protocol/bytestreams"/><feature var="http://jabber.org/protocol/commands"/></query></iq>

at org.xmpp.packet.IQ.createResultIQ(IQ.java:384)

at org.jivesoftware.openfire.disco.IQDiscoInfoHandler.handleIQ(IQDiscoInfoHandler. java:109)

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


Openfire(XMPP) and Database for turn based game

$
0
0

We're currently designing a turn based game for android (card game) and we are toying with openfire + smack to manage online play.

 

The game itself is nearly finished but we have some difficulties to figure out how is it possible to use Openfire as we want to (and if it is possible).

 

We want to use a database to save points or currency for each player and we want the openfire server to do that, is it possible ?

For example, when someone wins a game against an opponent the server will acces the db to add points to this player. Or sometimes, players can just buy cards with interaction between client and server (+db) but not between 2 clients.

 

My question is simple : Where do I start ? Can I do that with an openfire (and internal/external db) server with plugins or something like that or should I redefine XMPP protocol itself ?

 

Thanks !!

Child element namespace handling in custom PacketExtensions

$
0
0

Thanks to earlier help, I'm happily parsing the ugly-chunky 'special' element that I have to handle in my tests.  But it's requireing ugly-chunky code because it has to deal with all kinds of child elements.  So I figured I'd break out the child elements into their own custom extensions.  The trouble (I think) is that these child elements do not have an explicit namespace.  By XML rules, they do have a namespace (it comes from the outermost element containing the child) but that doesn't seem to be seen when parsing at that depth.  First, the XML in question -- the focus is on the <address> elements inside <content> element (not the similar RFC-033 <addresses> block.

 

<message to="multicast.gocortext.com" type="chat" from="tdka4c5ba62691f4@gocortext.com" id="eb0bbea0-487d-11e2-9c3b-58b035f3b7bb">

  <body>1</body>

  <thread>5a5a27d4-487d-11e2-8468-58b035f3b7bb</thread>

  <domain xmlns="http://imprivata.com/protocol/cortext">qa.imprivata.com</domain>

  <addresses xmlns="http://jabber.org/protocol/address">

      <address jid="dkashtan.1@gocortext.com" type="to" />

      <address jid="tdkaa32cd44bbbf9@gocortext.com" type="to" />

  </addresses>

 

  <content xmlns="http://imprivata.com/protocol/cortext" mime-type="application/x-cortext-group-message">

    <from domain="qa.imprivata.com" name="test dkashtan.2">tdka4c5ba62691f4@gocortext.com</from>

    <domain name="mpgQA">qa.imprivata.com</domain>

    <addresses>

        <address jid="dkashtan.1@gocortext.com" name="dkashtan.1" />

        <address jid="tdkaa32cd44bbbf9@gocortext.com" name="dkashtan.3" />

        <address jid="tdka4c5ba62691f4@gocortext.com" name="dkashtan.2" />

      </addresses>

  </content>

</message>

 

Current State:

* A default extension is created for the RFC-033 <addresses> element but not for <address> elements inside it.  So I don't think there is a clash there.

* In my current provider for <content>, as I iterate over the elements my <address> element does have the namespace I expect.  Because it is contained inside of a <content> element with the namespace http://imprivata.com/protocol/cortex, it has that namespace.

* Provider is registered in code via:

 

        ProviderManager pm = ProviderManager.getInstance();

        pm.addExtensionProvider("content", XMLConstants.AV_CORTEXT_NAMESPACE, new ContentExtension.Provider());

        pm.addExtensionProvider("domain", XMLConstants.AV_CORTEXT_NAMESPACE, new DomainExtension.Provider());

        pm.addExtensionProvider("domain", "jabber:client", new CalvinDomainExtension.Provider());

        pm.addExtensionProvider("address", XMLConstants.AV_CORTEXT_NAMESPACE, new CortextAddressExtension.Provider());

 

It is the last one.

 

Problem continued in next post...

Status disappears.

$
0
0

 

I would like to know how to save the status message because the check box "save the status message" does not work.

Indeed when i close SPARK the status message disappears when i reconnect.

Thank you for your reponse.

Userlist is empty in a conference

Spark Promblem (Sip)

$
0
0

Hello!

 

 

We are using Openfire 3.7.1 since few months and are very with it. But we have issues when we tried to integrate SIP Phone Plugin with Spark (2.6.3, 2.5.8).

Our server side setup is good and we can see the plugin in Spark client and does the basic functionality with some issues.

 

Basically we have the below issues:

 

Spark 2.6.3 Sip –Client Issues : Delay in audio

 

 

Spark 2.5.8 Sip –Client Issues: For incoming and outgoing calls no audio for first 4-5 seconds.

 

 

Please let me knwo if anyone has encountered these issues.

How to send and listen to custom xmpp presence packet

$
0
0

I'm struggling to listen to contacts' updating of VCard. I'm trying to do this by sending a custom presence that carries some custom information while updating VCard.from the output of the debug,I found that ,whenever such a custom presence is send,it's contact will receive the presence stanza.Unfortunately,when the contact's packetListener can not detect the incoming packet,and then all of the listener added to the connection seems have been removed, that is other packet that can be detected previously can not listened though the debug still works well. some of my code snippet just like this:

    // to update VCard
mVCard.load(mXMPPConnection);
        mVCard.setField(XmppUserInfo.tagHeadIcon, userInfo.getHeadIconUrl());
        mVCard.setField(XmppUserInfo.tagGender, userInfo.getGender());
        mVCard.setField(XmppUserInfo.tagNickname,userInfo.getNickname());
        mVCard.setField(XmppUserInfo.tagAccount, userInfo.getAccount());
        mVCard.setField(XmppUserInfo.tagSignnature, userInfo.getSignnature());
        mVCard.save(mXMPPConnection);


// to send custom presence to subscribers to renew infomation
            Presence presence = new Presence(Type.available);
            presence.addExtension(new UserInfoExtension(userInfo));
            mXMPPConnection.sendPacket(presence);

 

and my Listener is like this :

//add Listener 

PacketListener packetListener = new PacketListener() {

            @Override
            public void processPacket(Packet packet) {
                if(null != packet){
                    Log.i(TAG,"UserInfo is being updated" );
                    Log.i(TAG, "the packet is " +packet.toXML());

                    }
                }
            }
        };
        xmppConnection.addPacketListener(packetListener, new PacketFilter() {

            @Override
            public boolean accept(Packet p) {
                return true;
            }
        });

 

but I can not say the prescen stanza in log though I can receive the presence from the output of debug. can any body help me? thanks very much.

the receieved presence is like this:

<presence id="AL4As-4" from="20298509@openfire/ad9a8862" to="20298468@openfire">
<user xmlns="kascend:video:xmpp:userinfo">
<info account="133787245" gender="f" signnature="wwwwwww" nickname="bbbb"/>
</user>
<c xmlns="http://jabber.org/protocol/caps" hash="sha-1" node="http://www.igniterealtime.org/projects/smack/" ver="O1jiM4C3yPnCFLp9hBZUn4AgVXs="/></presence>

presence update by admin

$
0
0

Hello

 

Just started testing the openfire and sparc client. Is there a way where an admin user can change or update the presence status of an offline user.

 

We are testing this in house with no external access but if a user is sick I would like to have an admin user update the presence of that user.

 

kind regards

 

paulo


RedFire Phono - Help Needed, Will Pay

$
0
0

Looking for someone with experience in RedFire Phono. I am trying to get the system up and running for a voice chat on my website but have received nothing but headache trying to get it to work. (And I have very little system admin knowledge)

 

I have been able to send out calls to the standard sip@mouselike.org number and connect, but am unable to connect to two IDs on the same server. (I.E. Open up two browsers and copy the ID off of one page into the other and connect a call - It will just ring on one browser and not receive the call on the other). It should also be noted calling from one browser to another browser this is something that I CAN do on the Phono website see here (http://s.phono.com/releases/0.5/samples/kitchen-sink/www/index.html).

 

I'd really like to get this set up so I can integrate chatting into my websites chatrooms.

 

If you think you can help let me know the total est $ or an hourly rate.

 

Someone please help!!!!!!

Openfire-Spark Avatar Error

$
0
0

So, I've been running Openfire 3.6.0 for a while now with Spark 2.5.8 on the clients. I'm using the default database, with LDAP integration. I'm trying to give my users the ability to update their profiles with avatars. I've looked at all of the tickets and nothing has fixed my problem. I tried the plugin, but then realized that it's unnecessary for my version of Openfire. Right now i've got ldap.override.avatarset to true. I don't have photos in Active Directory. When I try to add an avatar to my profile in Spark (Spark-->Edit My Profile...-->Avatar tab-->Browse...) it gives me the "Server does not support VCards. Unable to update your VCard" error. The below gets dumped to the error log.

 

Any ideas?

 

Thanks,

Cal

 

Dec 16, 2008 5:21:20 PM org.jivesoftware.spark.util.log.Log error
SEVERE:
internal-server-error(500)
    at org.jivesoftware.smackx.packet.VCard.save(VCard.java:495)
    at org.jivesoftware.sparkimpl.profile.VCardEditor.saveVCard(VCardEditor.java:422)
    at org.jivesoftware.sparkimpl.profile.VCardEditor.access$000(VCardEditor.java:50)
    at org.jivesoftware.sparkimpl.profile.VCardEditor$1.propertyChange(VCardEditor.jav a:129)
    at java.beans.PropertyChangeSupport.firePropertyChange(Unknown Source)
    at java.beans.PropertyChangeSupport.firePropertyChange(Unknown Source)
    at java.awt.Component.firePropertyChange(Unknown Source)
    at javax.swing.JOptionPane.setValue(Unknown Source)
    at javax.swing.plaf.basic.BasicOptionPaneUI$ButtonActionListener.actionPerformed(U nknown Source)
    at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
    at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
    at java.awt.Component.processMouseEvent(Unknown Source)
    at javax.swing.JComponent.processMouseEvent(Unknown Source)
    at java.awt.Component.processEvent(Unknown Source)
    at java.awt.Container.processEvent(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Window.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)

Spark Version download

$
0
0

Hi all!

 

Where to downloadall versions ofSpark? Interested2.5.8 SVN and2.7.0 beta

Archive broadcast (Alert Notification) on spark

$
0
0

is it possible to archive broadcast(Alert Notification) messages sent by spark client?

Problem with contact list sharing

$
0
0

I'm trying to share security groups from my active directory in order to make them visible for all users, but from some reason each user can see only the members of his security group, even though i selected the share group with all users option.

 

Any idea waht i'm doing wrong? I'm using Openfire server version 3.7.1 and Spark client version 2.6.3.

 

Thanks in advance.

Java IO error - Spark will not start

$
0
0

Running Windows 7 64 bit.  Using Spark 6.2.3.   It was functional this morning and now when I start it, the UI never appears though it is visible in the task manager.   If I get an IM the messaging window shows and is functional but that's all.  I updated to Java 1.7.0_11 this morning - using all default settings.   The error log says:

 

Jan 16, 2013 10:41:34 AM org.jivesoftware.spark.util.log.Log error

SEVERE: Error saving settings.

java.io.FileNotFoundException: C:\Users\jwhite\AppData\Roaming\Spark\spark.properties (The requested operation cannot be performed on a file with a user-mapped section open)

    at java.io.FileOutputStream.open(Native Method)

    at java.io.FileOutputStream.<init>(Unknown Source)

    at java.io.FileOutputStream.<init>(Unknown Source)

    at org.jivesoftware.sparkimpl.settings.local.SettingsManager.saveSettings(Settings Manager.java:84)

    at org.jivesoftware.spark.ui.ContactList.showEmptyGroups(ContactList.java:2032)

    at org.jivesoftware.spark.ui.ContactList.addContactGroup(ContactList.java:1145)

    at org.jivesoftware.spark.ui.ContactList.buildContactList(ContactList.java:602)

    at org.jivesoftware.spark.ui.ContactList.loadContactList(ContactList.java:1801)

    at org.jivesoftware.spark.ui.ContactList.access$1900(ContactList.java:112)

    at org.jivesoftware.spark.ui.ContactList$25$1.run(ContactList.java:1788)

    at java.awt.event.InvocationEvent.dispatch(Unknown Source)

    at java.awt.EventQueue.dispatchEvent(Unknown Source)

    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)

    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)

    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)

    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

    at java.awt.EventDispatchThread.run(Unknown Source)

 

spark.properties does exist in the directory listed above.   I booted and tried a reinstall - no change.  Do you recognize the cause of this error?  Thanks

Errors - compiling on eclipse no civil in java.library path

$
0
0

Hi

Anyone any idea how I might fix this?

David

 

 

Jan 17, 2013 6:26:12 AM net.sf.fmj.media.cdp.civil.CaptureDevicePlugger addCaptureDevices

WARNING: com.lti.civil.CaptureException: java.lang.UnsatisfiedLinkError: no civil in java.library.path

com.lti.civil.CaptureException: java.lang.UnsatisfiedLinkError: no civil in java.library.path

          at com.lti.civil.impl.jni.NativeCaptureSystemFactory.createCaptureSystem(NativeCap tureSystemFactory.java:24)

          at net.sf.fmj.media.cdp.civil.CaptureDevicePlugger.addCaptureDevices(CaptureDevice Plugger.java:37)

          at net.sf.fmj.media.cdp.GlobalCaptureDevicePlugger.addCaptureDevices(GlobalCapture DevicePlugger.java:18)

          at org.jivesoftware.sparkimpl.preference.media.MediaPreferencePanel.scanDevices(Me diaPreferencePanel.java:122)

          at org.jivesoftware.sparkimpl.preference.media.MediaPreferencePanel.<init>(MediaPr eferencePanel.java:97)

          at org.jivesoftware.sparkimpl.preference.media.MediaPreference.<init>(MediaPrefere nce.java:33)

          at org.jivesoftware.spark.preference.PreferenceManager.<init>(PreferenceManager.ja va:59)

          at org.jivesoftware.spark.SparkManager.getPreferenceManager(SparkManager.java:170)

          at org.jivesoftware.spark.filetransfer.SparkTransferManager.<init>(SparkTransferMa nager.java:181)

          at org.jivesoftware.spark.filetransfer.SparkTransferManager.getInstance(SparkTrans ferManager.java:139)

          at org.jivesoftware.spark.Workspace.buildLayout(Workspace.java:214)

          at org.jivesoftware.LoginDialog$2.run(LoginDialog.java:1227)

          at java.awt.event.InvocationEvent.dispatch(Unknown Source)

          at java.awt.EventQueue.dispatchEventImpl(Unknown Source)

          at java.awt.EventQueue.access$200(Unknown Source)

          at java.awt.EventQueue$3.run(Unknown Source)

          at java.awt.EventQueue$3.run(Unknown Source)

          at java.security.AccessController.doPrivileged(Native Method)

          at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)

          at java.awt.EventQueue.dispatchEvent(Unknown Source)

          at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)

          at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)

          at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)

          at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

          at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

          at java.awt.EventDispatchThread.run(Unknown Source)

Caused by: java.lang.UnsatisfiedLinkError: no civil in java.library.path

          at java.lang.ClassLoader.loadLibrary(Unknown Source)

          at java.lang.Runtime.loadLibrary0(Unknown Source)

          at java.lang.System.loadLibrary(Unknown Source)

          at com.lti.civil.impl.jni.NativeCaptureSystemFactory.createCaptureSystem(NativeCap tureSystemFactory.java:21)

          ... 25 more

 

 

Jan 17, 2013 6:26:15 AM org.jivesoftware.spark.util.log.Log error

SEVERE:

java.lang.ExceptionInInitializerError

          at org.jivesoftware.spark.plugin.flashing.FlashingPreferenceDialog.<init>(Flashing PreferenceDialog.java:62)

          at org.jivesoftware.spark.plugin.flashing.FlashingPreference.<init>(FlashingPrefer ence.java:40)

          at org.jivesoftware.spark.plugin.flashing.FlashingPlugin.initialize(FlashingPlugin .java:34)

          at org.jivesoftware.spark.PluginManager$2.run(PluginManager.java:662)

          at java.awt.event.InvocationEvent.dispatch(Unknown Source)

          at java.awt.EventQueue.dispatchEventImpl(Unknown Source)

          at java.awt.EventQueue.access$200(Unknown Source)

          at java.awt.EventQueue$3.run(Unknown Source)

          at java.awt.EventQueue$3.run(Unknown Source)

          at java.security.AccessController.doPrivileged(Native Method)

          at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)

          at java.awt.EventQueue.dispatchEvent(Unknown Source)

          at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)

          at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)

          at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)

          at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

          at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

          at java.awt.EventDispatchThread.run(Unknown Source)

Caused by: java.util.MissingResourceException: Can't find bundle for base name i18n/flashing_i18n, locale en_US

          at java.util.ResourceBundle.throwMissingResourceException(Unknown Source)

          at java.util.ResourceBundle.getBundleImpl(Unknown Source)

          at java.util.ResourceBundle.getBundle(Unknown Source)

          at org.jivesoftware.spark.plugin.flashing.FlashingResources.<clinit>(FlashingResou rces.java:33)

          ... 18 more

 

 

log4j:WARN No appenders could be found for logger (org.jivesoftware.smackx.jingle.nat.STUN).

log4j:WARN Please initialize the log4j system properly.

Jan 17, 2013 6:26:16 AM org.jivesoftware.spark.util.log.Log error

SEVERE:

java.lang.ExceptionInInitializerError

          at org.jivesoftware.spark.otrplug.pref.OTRPrefPanel.init(OTRPrefPanel.java:79)

          at org.jivesoftware.spark.otrplug.pref.OTRPrefPanel.<init>(OTRPrefPanel.java:57)

          at org.jivesoftware.spark.otrplug.pref.OTRPreferences.<init>(OTRPreferences.java:1 7)

          at org.jivesoftware.spark.otrplug.OTRPlugin.initialize(OTRPlugin.java:25)

          at org.jivesoftware.spark.PluginManager$2.run(PluginManager.java:662)

          at java.awt.event.InvocationEvent.dispatch(Unknown Source)

          at java.awt.EventQueue.dispatchEventImpl(Unknown Source)

          at java.awt.EventQueue.access$200(Unknown Source)

          at java.awt.EventQueue$3.run(Unknown Source)

          at java.awt.EventQueue$3.run(Unknown Source)

          at java.security.AccessController.doPrivileged(Native Method)

          at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)

          at java.awt.EventQueue.dispatchEvent(Unknown Source)

          at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)

          at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)

          at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)

          at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

          at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

          at java.awt.EventDispatchThread.run(Unknown Source)

Caused by: java.util.MissingResourceException: Can't find bundle for base name i18n/otrplugin_i18n, locale en_US

          at java.util.ResourceBundle.throwMissingResourceException(Unknown Source)

          at java.util.ResourceBundle.getBundleImpl(Unknown Source)

          at java.util.ResourceBundle.getBundle(Unknown Source)

          at org.jivesoftware.spark.otrplug.util.OTRResources.<clinit>(OTRResources.java:23)

          ... 19 more

 

 

Jan 17, 2013 6:26:16 AM org.jivesoftware.spark.util.log.Log error

SEVERE:

java.lang.ExceptionInInitializerError

          at org.jivesoftware.spark.roar.gui.RoarPreferencePanel$ColorTypes.<clinit>(RoarPre ferencePanel.java:294)

          at org.jivesoftware.spark.roar.gui.RoarPreferencePanel.<init>(RoarPreferencePanel. java:80)

          at org.jivesoftware.spark.roar.RoarPreference.<init>(RoarPreference.java:49)

          at org.jivesoftware.spark.roar.Roar.initialize(Roar.java:37)

          at org.jivesoftware.spark.PluginManager$2.run(PluginManager.java:662)

          at java.awt.event.InvocationEvent.dispatch(Unknown Source)

          at java.awt.EventQueue.dispatchEventImpl(Unknown Source)

          at java.awt.EventQueue.access$200(Unknown Source)

          at java.awt.EventQueue$3.run(Unknown Source)

          at java.awt.EventQueue$3.run(Unknown Source)

          at java.security.AccessController.doPrivileged(Native Method)

          at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)

          at java.awt.EventQueue.dispatchEvent(Unknown Source)

          at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)

          at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)

          at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)

          at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

          at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

          at java.awt.EventDispatchThread.run(Unknown Source)

Caused by: java.util.MissingResourceException: Can't find bundle for base name i18n/roar_i18n, locale en_US

          at java.util.ResourceBundle.throwMissingResourceException(Unknown Source)

          at java.util.ResourceBundle.getBundleImpl(Unknown Source)

          at java.util.ResourceBundle.getBundle(Unknown Source)

          at org.jivesoftware.spark.roar.RoarResources.<clinit>(RoarResources.java:15)

          ... 19 more

 

 

Jan 17, 2013 6:26:16 AM org.jivesoftware.spark.util.log.Log error

SEVERE: Error unzipping plugin

java.io.FileNotFoundException: C:\Users\David\workspace\spark\bin (Access is denied)

          at java.util.zip.ZipFile.open(Native Method)

          at java.util.zip.ZipFile.<init>(Unknown Source)

          at java.util.zip.ZipFile.<init>(Unknown Source)

          at java.util.jar.JarFile.<init>(Unknown Source)

          at java.util.jar.JarFile.<init>(Unknown Source)

          at org.jivesoftware.sparkimpl.plugin.language.LanguagePlugin.initialize(LanguagePl ugin.java:75)

          at org.jivesoftware.spark.PluginManager$2.run(PluginManager.java:662)

          at java.awt.event.InvocationEvent.dispatch(Unknown Source)

          at java.awt.EventQueue.dispatchEventImpl(Unknown Source)

          at java.awt.EventQueue.access$200(Unknown Source)

          at java.awt.EventQueue$3.run(Unknown Source)

          at java.awt.EventQueue$3.run(Unknown Source)

          at java.security.AccessController.doPrivileged(Native Method)

          at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)

          at java.awt.EventQueue.dispatchEvent(Unknown Source)

          at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)

          at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)

          at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)

          at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

          at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

          at java.awt.EventDispatchThread.run(Unknown Source)

 

 

Jan 17, 2013 6:26:16 AM org.jivesoftware.spark.util.log.Log error

SEVERE:

java.lang.ExceptionInInitializerError

          at org.jivesoftware.spellchecker.SpellcheckerPreferenceDialog.<init>(SpellcheckerP referenceDialog.java:103)

          at org.jivesoftware.spellchecker.SpellcheckerPreference.<init>(SpellcheckerPrefere nce.java:49)

          at org.jivesoftware.spellchecker.SpellcheckManager.<init>(SpellcheckManager.java:5 7)

          at org.jivesoftware.spellchecker.SpellcheckManager.getInstance(SpellcheckManager.j ava:46)

          at org.jivesoftware.spellchecker.SpellcheckerPlugin.initialize(SpellcheckerPlugin. java:39)

          at org.jivesoftware.spark.PluginManager$2.run(PluginManager.java:662)

          at java.awt.event.InvocationEvent.dispatch(Unknown Source)

          at java.awt.EventQueue.dispatchEventImpl(Unknown Source)

          at java.awt.EventQueue.access$200(Unknown Source)

          at java.awt.EventQueue$3.run(Unknown Source)

          at java.awt.EventQueue$3.run(Unknown Source)

          at java.security.AccessController.doPrivileged(Native Method)

          at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)

          at java.awt.EventQueue.dispatchEvent(Unknown Source)

          at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)

          at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)

          at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)

          at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

          at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

          at java.awt.EventDispatchThread.run(Unknown Source)

Caused by: java.util.MissingResourceException: Can't find bundle for base name i18n/spellchecker_i18n, locale en_US

          at java.util.ResourceBundle.throwMissingResourceException(Unknown Source)

          at java.util.ResourceBundle.getBundleImpl(Unknown Source)

          at java.util.ResourceBundle.getBundle(Unknown Source)

          at org.jivesoftware.spellchecker.SpellcheckerResource.<clinit>(SpellcheckerResourc e.java:34)

          ... 20 more

 

 

Exception in thread "AWT-EventQueue-0" java.lang.ExceptionInInitializerError

          at org.jivesoftware.fastpath.FastpathPlugin$1.run(FastpathPlugin.java:88)

          at java.awt.event.InvocationEvent.dispatch(Unknown Source)

          at java.awt.EventQueue.dispatchEventImpl(Unknown Source)

          at java.awt.EventQueue.access$200(Unknown Source)

          at java.awt.EventQueue$3.run(Unknown Source)

          at java.awt.EventQueue$3.run(Unknown Source)

          at java.security.AccessController.doPrivileged(Native Method)

          at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)

          at java.awt.EventQueue.dispatchEvent(Unknown Source)

          at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)

          at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)

          at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)

          at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

          at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

          at java.awt.EventDispatchThread.run(Unknown Source)

Caused by: java.util.MissingResourceException: Can't find bundle for base name i18n/fastpath_i18n, locale en_US

          at java.util.ResourceBundle.throwMissingResourceException(Unknown Source)

          at java.util.ResourceBundle.getBundleImpl(Unknown Source)

          at java.util.ResourceBundle.getBundle(Unknown Source)

          at org.jivesoftware.fastpath.FpRes.<clinit>(FpRes.java:41)

          ... 15 more


Getting Webchat working on Windows

$
0
0

I am trying to get Webchat working on my install, but so far, I cant get it to work.

 

I have Openfire installed on a Windows XP (32bit) machine.

I have tried using the webchat plugin from the following threads, but none of them work:

 

http://community.igniterealtime.org/thread/44193

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

http://community.igniterealtime.org/thread/46065

 

Everything I try gives me the same result.

 

I go to "http://localhost:9090/webchat" and I get the following message:

 

HTTP ERROR: 503

Problem accessing /webchat. Reason:

Service Unavailable

 

Powered by Jetty://

 

 

If I go to "http://localhost:7070/webchat" I get the following:

 

HTTP ERROR 404

Problem accessing /webchat. Reason:

Not Found

 

Powered by Jetty://

 

 

This is what I see in the Openfire warn log:

 

2012.12.14 11:19:42 org.jivesoftware.util.log.util.JettyLog - /webchat

java.lang.IllegalStateException: Committed

          at org.eclipse.jetty.server.Response.resetBuffer(Response.java:1047)

          at org.eclipse.jetty.server.Response.sendError(Response.java:265)

          at org.eclipse.jetty.server.Response.sendError(Response.java:367)

          at javax.servlet.http.HttpServletResponseWrapper.sendError(HttpServletResponseWrap per.java:128)

          at com.opensymphony.module.sitemesh.filter.PageResponseWrapper.sendError(PageRespo nseWrapper.java:175)

          at org.eclipse.jetty.servlet.DefaultServlet.doGet(DefaultServlet.java:451)

          at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)

          at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)

          at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:530)

          at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.ja va:1216)

          at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:11 8)

          at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:52)

          at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.ja va:1187)

          at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:425)

          at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119)

          at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:494)

          at org.eclipse.jetty.server.session.SessionHandler.handle(SessionHandler.java:182)

          at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:93 3)

          at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:362)

          at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:867 )

          at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)

          at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandler Collection.java:245)

          at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.jav a:126)

          at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:113)

          at org.eclipse.jetty.server.Server.handle(Server.java:334)

          at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:559)

          at org.eclipse.jetty.server.HttpConnection$RequestHandler.headerComplete(HttpConne ction.java:992)

          at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:541)

          at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:203)

          at org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:406)

          at org.eclipse.jetty.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:4 62)

          at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:436)

          at java.lang.Thread.run(Unknown Source)

 

 

I have JRE 6U38 and JDK 6U38 installed on the machine.

 

Any ideas as what I need to do to get it working?

 

Thanks for any help you can provide, and Happy Holidays!

 

-Levi

What's is better: do a plugin or another app in another container/server?

$
0
0

Hey guys!

 

I'm doing an application for my company that will be our enterprise communicator and i need to do some services to perform selects and inserts in our database. The interaction with our database (this database isn't related to Openfire) will be massive as well as instant messaging.

 

I'm trying to figure out what's is better: do a plugin inside Openfire that will be deployed as a servlet or do a new application web services based running in another server/container.

 

In solution 1 (plugin for Openfire) our client will connect on Openfire, use features like IM and our own plugin.

 

In solution 2 (new app) our client will connect on Openfire for IM and on another server to consume our web services.

 

This new application has no relation with instant messaging, it's an app to retrieve information about projects, team, etc.I'm afraid to develop a plugin and my plugin crashes Openfire because will do massive interaction with database.

 

What's is better for my situation?

 

Thanks in advance.

 

David

Is Oepnfire suitable?

$
0
0

Hello i am new to openfire and i have to make chat app that used in both android and iphone so i want to ask you it is suitable for my app or not?

Pré-Requisitos de Hardware

$
0
0

Prezados, boa tarde.

 

Sou iniciante com o OpenFire, e gostaria de saber que configurações de hardware é recomendada para uma rede com aproximadamente 100 usuários.

Aproveitando, qual o melhor cliente para usar com o OpenFire? Desde já agradeço aos que colaborarem.

working with websockets

$
0
0

Hi,

 

I have seen your example on WEBRTC and found it impressive.  I wanted to try it out on my server but I failed.

I had OpenFire 3.7.1 alpha. When I added the websockets plugin and restarted, it asked me to upgrade to version 3.7.2.  I took the latest nightly builds #786 and installed. After the restart I tried to access http://127.0.0.1:7070/websockets but I get 404 .  Do I need to do anything else other than adding the war into the #openfire_directory/plugins?

 

Thanks

Viewing all 10742 articles
Browse latest View live