Redfire 0.0.0.2 on a new installation openfire 3.7.0

Hello

After installing the .war downloaded on the other thread, I started my openfire serveur (3.7.0 beta) and I get this message in the logs.

2010.11.30 11:18:27 Error loading plugin: /opt/openfire/plugins/redfire java.lang.UnsupportedClassVersionError: (com/ifsoft/redfire/RedfirePlugin) bad major version at offset=6

at java.lang.ClassLoader.defineClassImpl(Native Method)

at java.lang.ClassLoader.defineClass(ClassLoader.java:266)

at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:151)

at java.net.URLClassLoader.defineClass(URLClassLoader.java:600)

at java.net.URLClassLoader.access$400(URLClassLoader.java:124)

at java.net.URLClassLoader$ClassFinder.run(URLClassLoader.java:1055)

at java.security.AccessController.doPrivileged(AccessController.java:274)

at java.net.URLClassLoader.findClass(URLClassLoader.java:492)

at java.lang.ClassLoader.loadClass(ClassLoader.java:639)

at java.lang.ClassLoader.loadClass(ClassLoader.java:605)

at org.jivesoftware.openfire.container.PluginManager.loadPlugin(PluginManager.java :420)

at org.jivesoftware.openfire.container.PluginManager.access$300(PluginManager.java :80)

at org.jivesoftware.openfire.container.PluginManager$PluginMonitor.run(PluginManag er.java:1067)

at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:432)

at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:295)

at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)

at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101 (ScheduledThreadPoolExecutor.java:88)

at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodi c(ScheduledThreadPoolExecutor.java:165)

at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Schedu ledThreadPoolExecutor.java:189)

at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java: 678)

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

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

Version of Java

/opt/openfire/jre/bin # java -version

java version “1.5.0”

Java™ 2 Runtime Environment, Standard Edition (build pxa64dev-20091106a (SR11 ))

IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3 Linux amd64-64 j9vmxa6423-20091104 (JIT enabled)

J9VM - 20091103_45935_LHdSMr

JIT - 20091016_1845_r8 GC - 20091026_AA)

JCL - 20091106

Any idea?

Thanks

Sorry, you need Java JRE 1.6

Otherwise download source from SVN and recompile for Java 1.5

I found why.

I didn’t have my variables set on the JRE that comes with openfire.

Everything works now in the test page except the Desktop screen publisher/viewer.

Something about my security settings doesn’t allow me to autorize new certificates.

Any idea on that? Is it something about the openfire server certificates, or red5 certificate?

Thanks

It is the self-certificate I signed the screenshare.jar file with.

  1. create keystore

keytool -genkeypair -keystore developer.keystore -storepass password -keypass password -alias screenshare -dname “CN=Unknown, OU=Unknown, O=Unknown, L=Unknown, ST=Unknown, C=Unknown” -validity 5300

  1. Sign jar file with keystore

jarsigner.exe -keystore developer.keystore -storepass password screenshare.jar screenshare

Try signing with an existing certifiate