Redfire 0.0.0.4 Release

Spark on Linux is broken because of the changes requested to support native Spark windows for MS Window users. Unless someone posts their Spark log files or I can get a Linux PC to test with, I can only try to fix this in te dark and hope for the best

RTMFP is failing on your network. Wait for version 0.0.0.5 or change your RTMFP URL to a non exiting server like

var rtmfpUrl = getPageParameter(‘rtmfpUrl’, ‘rtmfp://this_does_not_exist.com/’);

SEVERE:

java.net.MalformedURLException: unknown protocol:** about**

That does not look good. The generated URL for the video seems to be bad. can I see the warn.log file as well please?

New addition from the Error Log,. it’s looking for the properties file in the old App Data location…

May 31, 2011 12:12:58 PM org.jivesoftware.spark.util.log.Log error

SEVERE: Red5-Error: Properties-file does not exist= C:\Users\username\Spark\red5.properties

From the Warn log:

Jun 1, 2011 3:15:44 PM org.jivesoftware.spark.util.log.Log warning

WARNING: Red5ChatRoomDecorator: red5Button http://servername:7070/redfire/video/redfire_2way.html?you=myname&me=otherperson name&key=441753e7

Jun 1, 2011 3:20:35 PM org.jivesoftware.spark.util.log.Log warning

WARNING: Red5ChatRoomDecorator: red5Button http://servername:7070/redfire/video/redfire_2way.html?you=myname&me=otherperson name&key=441753e7

Interestingly enough… while pulling these logs I had to initiate the plugin. While troubleshooting an s2s issue, I disabled the OpenRTMFP service, but left the entry ‘rtmfpUrl’, 'rtmfp://10.61.51.205:1985/ (Cumulus server and port) in the redfire_2way.html file. I guess this provides the same function as your suggestion above… With this configuration, about 5min after launcing the session it connected.

I guess this provides the same function as your suggestion above…

Yes. It would seem that RTMFP timed out out and it did a fallback to RTMP. I think I will change the logic to test for empty RTMFP URL and use RTMP straight way.

C:\Users\username\Spark\red5.properties

That looks strange. What version of Spark are you using? 2.6.0 final ?

-dele

Yes… using 2.6.0 final… I have completely uninstalled, removing all profile related app data, as well as the program files folder. Unless there are some rogue reg entries (I haven’t searched) not sure why it would be looking in the old location.

I was able to reproduce this on a second machine, completely different image (home system).

I should probably add that I edited the path in the log post to remove my last name… (username = my profile)

I am also getting this in the error log:

7/06/2011 9:37:11 AM org.jivesoftware.spark.util.log.Log error

SEVERE: Red5-Error: Properties-file does not exist= C:\Users\John\Spark\red5.properties"

When i click on the red5 button in a Spark chat window i get “Your connection was closed due to an error”. Spark disconnects from Openfire server and then reconnects.

In addition to the above error, when i go to Redfire test page and select any of the Audio/Video tests i get:

Problem accessing /redfire/video/video.html. Reason:

Not Found

Video.html is for the First person (160x120) test. These files are missing from the %programfiles%\Openfire\Plugins\Redfire\Video folder.

Please use the updated files on the files attached to this page above

I am happy to see this , learning

Thanks Dele.

I missed the updated index.html attachment.

I am now getting the same spark error as Piltch:

09/06/2011 8:44:59 AM org.jivesoftware.spark.util.log.Log error

SEVERE:

java.net.MalformedURLException: unknown protocol: about

at java.net.URL.(Unknown Source)

at java.net.URL.(Unknown Source)

at java.net.URL.(Unknown Source)

I assume you are using Redfire plugin for Spark (redfire-plugin.jar) version 0.7.

Please post the messages in the warnings.log file as well.

Yes, i am using 0.0.7 plugin for spark from your attachment above.

I rebooted my Openfire server and restarted Spark client, tried to use the Red5 button in a chat window and confirmed the Spark client disconnected. Here are fresh logs after this occurs:

Spark Error Log:


10/06/2011 9:18:13 AM org.jivesoftware.spark.util.log.Log error

SEVERE: Error unzipping plugin

java.util.zip.ZipException: error in opening zip file

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

at java.util.zip.ZipFile.(Unknown Source)

at java.util.jar.JarFile.(Unknown Source)

at java.util.jar.JarFile.(Unknown Source)

at org.jivesoftware.spark.PluginManager.unzipPlugin(PluginManager.java:743)

at org.jivesoftware.spark.PluginManager.expandNewPlugins(PluginManager.java:665)

at org.jivesoftware.spark.PluginManager.loadPublicPlugins(PluginManager.java:673)

at org.jivesoftware.spark.PluginManager.loadPlugins(PluginManager.java:237)

at org.jivesoftware.Spark.startup(Spark.java:209)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at org.jivesoftware.launcher.Startup.start(Startup.java:94)

at org.jivesoftware.launcher.Startup.main(Startup.java:44)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)

at com.exe4j.runtime.WinLauncher.main(Unknown Source)

10/06/2011 9:18:20 AM org.jivesoftware.spark.util.log.Log error

SEVERE: Red5-Error: Properties-file does not exist= C:\Users\John\Spark\red5.properties

10/06/2011 9:18:27 AM org.jivesoftware.spark.util.log.Log warning

WARNING: Red5ChatRoomDecorator: red5Button http://lcim1:7070/redfire/video/redfire_2way.html?you=c2049&me=c2049&key=e7882b2 8

java.lang.InstantiationException: org.jivesoftware.spark.plugin.red5.RedfireExtension

at java.lang.Class.newInstance0(Unknown Source)

at java.lang.Class.newInstance(Unknown Source)

at org.jivesoftware.smack.util.PacketParserUtils.parseWithIntrospection(PacketPars erUtils.java:820)

at org.jivesoftware.smack.util.PacketParserUtils.parsePacketExtension(PacketParser Utils.java:771)

at org.jivesoftware.smack.util.PacketParserUtils.parseMessage(PacketParserUtils.ja va:132)

at org.jivesoftware.smack.PacketReader.parsePackets(PacketReader.java:226)

at org.jivesoftware.smack.PacketReader.access$000(PacketReader.java:43)

at org.jivesoftware.smack.PacketReader$1.run(PacketReader.java:70)

Exception in thread “AWT-EventQueue-0” java.lang.IllegalStateException: Must be logged in to XMPP server.

at org.jivesoftware.smackx.PrivateDataManager.(PrivateDataManager.java:140)

at org.jivesoftware.sparkimpl.plugin.scratchpad.Tasks.getTaskList(Tasks.java:197)

at org.jivesoftware.sparkimpl.plugin.scratchpad.TaskNotification$2.run(TaskNotific ation.java:73)

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)

10/06/2011 9:18:36 AM org.jivesoftware.spark.util.log.Log error

SEVERE:

java.net.MalformedURLException: unknown protocol: about

at java.net.URL.(Unknown Source)

at java.net.URL.(Unknown Source)

at java.net.URL.(Unknown Source)

at org.jivesoftware.spark.plugin.red5.NativeBrowserViewer.loadURL(NativeBrowserVie wer.java:56)

at org.jivesoftware.spark.plugin.red5.BareBonesBrowserLaunch$1.windowClosing(BareB onesBrowserLaunch.java:84)

at java.awt.AWTEventMulticaster.windowClosing(Unknown Source)

at java.awt.Window.processWindowEvent(Unknown Source)

at javax.swing.JFrame.processWindowEvent(Unknown Source)

at java.awt.Window.processEvent(Unknown Source)

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

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

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

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

at com.jtattoo.plaf.BaseTitlePane.close(Unknown Source)

at com.jtattoo.plaf.BaseTitlePane$CloseAction.actionPerformed(Unknown 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 com.jtattoo.plaf.BaseButtonListener.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)

10/06/2011 9:27:25 AM org.jivesoftware.spark.util.log.Log warning

WARNING: Red5ChatRoomDecorator: red5Button http://lcim1:7070/redfire/video/redfire_2way.html?you=c2049&me=c2049&key=c861222 e

*** Error: Engine Internet Explorerhas been initialized,can’t change it anymore!

java.lang.InstantiationException: org.jivesoftware.spark.plugin.red5.RedfireExtension

at java.lang.Class.newInstance0(Unknown Source)

at java.lang.Class.newInstance(Unknown Source)

at org.jivesoftware.smack.util.PacketParserUtils.parseWithIntrospection(PacketPars erUtils.java:820)

at org.jivesoftware.smack.util.PacketParserUtils.parsePacketExtension(PacketParser Utils.java:771)

at org.jivesoftware.smack.util.PacketParserUtils.parseMessage(PacketParserUtils.ja va:132)

at org.jivesoftware.smack.PacketReader.parsePackets(PacketReader.java:226)

at org.jivesoftware.smack.PacketReader.access$000(PacketReader.java:43)

at org.jivesoftware.smack.PacketReader$1.run(PacketReader.java:70)

Openfire WARN log:


2011.06.10 09:15:38 Passing PropertyEditor instances into CustomEditorConfigurer is deprecated: use PropertyEditorRegistrars or PropertyEditor class names instead. Offending key [java.net.SocketAddress; offending editor instance: org.apache.mina.integration.beans.InetSocketAddressEditor@748417

Openfire is running on Windows XP Pro SP3 x86

Spark clients running on Windows XP Pro SP3 x86 and Windows 7 Ultimate x64

Hopefully this provides some insight.

Regards,

John

Thanks for the logs, but I need the warnings.log file for Spark as well

Hopefully this is the log you are talking about “warn.txt” in C:\Users\John\AppData\Roaming\Spark\logs

WARNING: Red5ChatRoomDecorator: red5Button http://lcim1:7070/redfire/video/redfire_2way.html?you=c2049&me=mmtest1&key=8fbb7 d05

09/06/2011 8:41:52 AM org.jivesoftware.spark.util.log.Log warning

WARNING: Red5ChatRoomDecorator: red5Button http://lcim1:7070/redfire/video/redfire_2way.html?you=c2049&me=c2049&key=e383171 5

09/06/2011 8:44:47 AM org.jivesoftware.spark.util.log.Log warning

WARNING: Red5ChatRoomDecorator: red5Button http://lcim1:7070/redfire/video/redfire_2way.html?you=c2049&me=c2049&key=6876e73 6

09/06/2011 8:58:37 AM org.jivesoftware.spark.util.log.Log warning

WARNING: Red5ChatRoomDecorator: red5Button http://lcim1:7070/redfire/video/redfire_2way.html?you=c2049&me=mmtest1&key=77272 331

09/06/2011 9:00:17 AM org.jivesoftware.spark.util.log.Log warning

WARNING: Red5ChatRoomDecorator: found participant red5test@conference.lcim1/mmtest1

09/06/2011 9:00:17 AM org.jivesoftware.spark.util.log.Log warning

WARNING: Red5ChatRoomDecorator: found participant red5test@conference.lcim1/John Marzella

10/06/2011 9:09:29 AM org.jivesoftware.spark.util.log.Log warning

WARNING: Red5ChatRoomDecorator: red5Button http://lcim1:7070/redfire/video/redfire_2way.html?you=c2049&me=c2049&key=feaf098 6

10/06/2011 9:18:27 AM org.jivesoftware.spark.util.log.Log warning

WARNING: Red5ChatRoomDecorator: red5Button http://lcim1:7070/redfire/video/redfire_2way.html?you=c2049&me=c2049&key=e7882b2 8

10/06/2011 9:27:25 AM org.jivesoftware.spark.util.log.Log warning

WARNING: Red5ChatRoomDecorator: red5Button http://lcim1:7070/redfire/video/redfire_2way.html?you=c2049&me=c2049&key=c861222 e