Comments (12)
Getting the same here
Original comment by [email protected]
on 21 Aug 2011 at 1:52
from redfire.
Here is the full stack trace of the error:
2011.08.26 08:34:57 com.ifsoft.redfire.RedfirePlugin cannot be cast to
com.ifsoft.iftalk.plugin.voicebridge.RedfirePlugin
java.lang.ClassCastException: com.ifsoft.redfire.RedfirePlugin cannot be cast
to com.ifsoft.iftalk.plugin.voicebridge.RedfirePlugin
at com.ifsoft.iftalk.plugin.voicebridge.view.VoiceBridgeSummary.init(VoiceBridgeSummary.java:37)
at org.jivesoftware.openfire.container.PluginServlet.registerServlets(PluginServlet.java:177)
at org.jivesoftware.openfire.container.PluginManager.loadPlugin(PluginManager.java:464)
at org.jivesoftware.openfire.container.PluginManager.access$300(PluginManager.java:80)
at org.jivesoftware.openfire.container.PluginManager$PluginMonitor.run(PluginManager.java:1067)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRunAndReset(Unknown Source)
at java.util.concurrent.FutureTask.runAndReset(Unknown Source)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(Unknown Source)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(Unknown Source)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
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)
Original comment by [email protected]
on 26 Aug 2011 at 12:36
from redfire.
Line 37 of VoiceBridgeSummary initializes the plugin, but the cast is not
working. Perhaps an explicit cast is necessary?
plugin =
(com.ifsoft.iftalk.plugin.voicebridge.RedfirePlugin)XMPPServer.getInstance().get
PluginManager().getPlugin("redfire");
It's just my first thought. I haven't looked at the code very deeply.
G.
Original comment by [email protected]
on 26 Aug 2011 at 6:00
from redfire.
same problem here
Original comment by [email protected]
on 15 Oct 2011 at 5:59
from redfire.
同样的问题,而且不仅仅这一个问题.
明显地,redfire-370-0.0.06.zip不兼容openfire 3.7.
stack trace:
Red5XMPP starting in scope xmpp D:\我的文档\Desktop\work\XMPP\openfire_src
Red5XMPP version 0.0.0.1
0 [pool-8-thread-1]ERROR
com.ifsoft.iftalk.plugin.voicebridge.SiteDao.getSites
-com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: Table
'openfire_src.ofvoicebridge' doesn't exist
14594[pool-8-thread-1]WARN org.jivesoftware.database.SequenceManager.createNewID -Autocreating jiveID row for type '200'
93 [pool-8-thread-1]INFO com.ifsoft.iftalk.plugin.voicebridge.SiteDao.insert -Adding new site pyw
109 [pool-8-thread-1]ERROR com.ifsoft.iftalk.plugin.voicebridge.SiteDao.insert -Table 'openfire_src.ofvoicebridge' doesn't exist
com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: Table 'openfire_src.ofvoicebridge' doesn't exist
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:936)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2985)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1631)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1723)
at com.mysql.jdbc.Connection.execSQL(Connection.java:3283)
at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1332)
at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1604)
at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1519)
at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1504)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.logicalcobwebs.proxool.ProxyStatement.invoke(ProxyStatement.java:100)
at org.logicalcobwebs.proxool.ProxyStatement.intercept(ProxyStatement.java:57)
at $java.sql.Statement$$EnhancerByProxool$$11d2b68c.executeUpdate(<generated>)
at com.ifsoft.iftalk.plugin.voicebridge.SiteDao.insert(SiteDao.java:111)
at org.red5.server.webapp.voicebridge.Application.appStart(Application.java:102)
at org.red5.server.adapter.MultiThreadedApplicationAdapter.start(MultiThreadedApplicationAdapter.java:413)
at org.red5.server.Scope.start(Scope.java:1175)
at org.red5.server.Scope.init(Scope.java:910)
at org.red5.server.WebScope.register(WebScope.java:198)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1544)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1485)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1417)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:580)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425)
at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:276)
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:197)
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
at org.red5.server.war.WarLoaderServlet.contextInitialized(WarLoaderServlet.java:114)
at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:645)
at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:189)
at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:978)
at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:586)
at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:349)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55)
at org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:165)
at org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:162)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55)
at org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:165)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55)
at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:92)
at org.eclipse.jetty.server.Server.doStart(Server.java:228)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55)
at org.jivesoftware.openfire.http.HttpBindManager.start(HttpBindManager.java:118)
at org.jivesoftware.openfire.spi.ConnectionManagerImpl.startHTTPBindListeners(ConnectionManagerImpl.java:555)
at org.jivesoftware.openfire.spi.ConnectionManagerImpl.startListeners(ConnectionManagerImpl.java:168)
at org.jivesoftware.openfire.spi.ConnectionManagerImpl.access$0(ConnectionManagerImpl.java:127)
at org.jivesoftware.openfire.spi.ConnectionManagerImpl$1.pluginsMonitored(ConnectionManagerImpl.java:140)
at org.jivesoftware.openfire.container.PluginManager.firePluginsMonitored(PluginManager.java:570)
at org.jivesoftware.openfire.container.PluginManager.access$6(PluginManager.java:568)
at org.jivesoftware.openfire.container.PluginManager$PluginMonitor.run(PluginManager.java:1079)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:181)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:205)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
java.sql.SQLException: Table 'openfire_src.ofvoicebridge' doesn't exist
at com.ifsoft.iftalk.plugin.voicebridge.SiteDao.insert(SiteDao.java:116)
at org.red5.server.webapp.voicebridge.Application.appStart(Application.java:102)
at org.red5.server.adapter.MultiThreadedApplicationAdapter.start(MultiThreadedApplicationAdapter.java:413)
at org.red5.server.Scope.start(Scope.java:1175)
at org.red5.server.Scope.init(Scope.java:910)
at org.red5.server.WebScope.register(WebScope.java:198)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1544)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1485)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1417)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:580)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425)
at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:276)
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:197)
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
at org.red5.server.war.WarLoaderServlet.contextInitialized(WarLoaderServlet.java:114)
at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:645)
at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:189)
at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:978)
at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:586)
at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:349)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55)
at org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:165)
at org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:162)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55)
at org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:165)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55)
at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:92)
at org.eclipse.jetty.server.Server.doStart(Server.java:228)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55)
at org.jivesoftware.openfire.http.HttpBindManager.start(HttpBindManager.java:118)
at org.jivesoftware.openfire.spi.ConnectionManagerImpl.startHTTPBindListeners(ConnectionManagerImpl.java:555)
at org.jivesoftware.openfire.spi.ConnectionManagerImpl.startListeners(ConnectionManagerImpl.java:168)
at org.jivesoftware.openfire.spi.ConnectionManagerImpl.access$0(ConnectionManagerImpl.java:127)
at org.jivesoftware.openfire.spi.ConnectionManagerImpl$1.pluginsMonitored(ConnectionManagerImpl.java:140)
at org.jivesoftware.openfire.container.PluginManager.firePluginsMonitored(PluginManager.java:570)
at org.jivesoftware.openfire.container.PluginManager.access$6(PluginManager.java:568)
at org.jivesoftware.openfire.container.PluginManager$PluginMonitor.run(PluginManager.java:1079)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:181)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:205)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
Original comment by [email protected]
on 26 Oct 2011 at 5:23
from redfire.
I have the same error. Anyone has the solution?
Original comment by [email protected]
on 26 Oct 2011 at 11:22
from redfire.
same here, openfire 3.7.1
Original comment by [email protected]
on 29 Nov 2011 at 4:12
from redfire.
Actually this is just a matter of enabling http binding in openfire
Original comment by [email protected]
on 29 Nov 2011 at 5:08
from redfire.
I have the same problem: OpenFire 3.7.1 and plugin redfire-370-0.0.06. It all
runs on Windows XP SP3 on VMWare Workstation, Java(TM) SE Runtime Environment
(build 1.6.0_18-b07).
The exception I get is:
2011.11.25 16:00:48 org.jivesoftware.openfire.container.PluginServlet -
com.ifsoft.redfire.RedfirePlugin cannot be cast to
com.ifsoft.iftalk.plugin.voicebridge.RedfirePlugin
java.lang.ClassCastException: com.ifsoft.redfire.RedfirePlugin cannot be cast
to com.ifsoft.iftalk.plugin.voicebridge.RedfirePlugin
at com.ifsoft.iftalk.plugin.voicebridge.view.VoiceBridgeSummary.init(VoiceBridgeSummary.java:37)
at org.jivesoftware.openfire.container.PluginServlet.registerServlets(PluginServlet.java:177)
at org.jivesoftware.openfire.container.PluginManager.loadPlugin(PluginManager.java:464)
at org.jivesoftware.openfire.container.PluginManager.access$300(PluginManager.java:80)
at org.jivesoftware.openfire.container.PluginManager$PluginMonitor.run(PluginManager.java:1067)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRunAndReset(Unknown Source)
at java.util.concurrent.FutureTask.runAndReset(Unknown Source)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(Unknown Source)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(Unknown Source)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
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)
2011.11.25 16:17:24 org.jivesoftware.openfire.container.PluginServlet -
com.ifsoft.redfire.RedfirePlugin cannot be cast to
com.ifsoft.iftalk.plugin.voicebridge.RedfirePlugin
java.lang.ClassCastException: com.ifsoft.redfire.RedfirePlugin cannot be cast
to com.ifsoft.iftalk.plugin.voicebridge.RedfirePlugin
at com.ifsoft.iftalk.plugin.voicebridge.view.VoiceBridgeSummary.init(VoiceBridgeSummary.java:37)
at org.jivesoftware.openfire.container.PluginServlet.registerServlets(PluginServlet.java:177)
at org.jivesoftware.openfire.container.PluginManager.loadPlugin(PluginManager.java:464)
at org.jivesoftware.openfire.container.PluginManager.access$300(PluginManager.java:80)
at org.jivesoftware.openfire.container.PluginManager$PluginMonitor.run(PluginManager.java:1067)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRunAndReset(Unknown Source)
at java.util.concurrent.FutureTask.runAndReset(Unknown Source)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(Unknown Source)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(Unknown Source)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
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)
Original comment by [email protected]
on 30 Nov 2011 at 11:21
from redfire.
Same here - Openfire: 3.7.1 - Redfire: 0.0.0.6
Original comment by [email protected]
on 5 Dec 2011 at 5:39
from redfire.
We also getting the same error. Openfire 3.7.1 checked with redfire 0.0.0.5/6.
Any solution or workaround..?
Original comment by [email protected]
on 27 Dec 2011 at 12:21
from redfire.
same question, need help.
Original comment by [email protected]
on 25 Feb 2012 at 9:24
from redfire.
Related Issues (20)
- More than 12 person audio/video conferencing possible?
- Incoming call not working
- ports
- Cannot download java source with scn
- Error redfire/redspark
- HTTP 404 when open http://your_openfire-server:7070/redfire HOT 6
- No RTMFP calls -- help HOT 3
- screencast.jnlp HOT 2
- Redfire plugin for spark not getting to server HOT 2
- Patch for /trunk/spark/plugin/red5.properties
- video chat go gray and message enter connected! HOT 3
- redfire + screen share is not working HOT 1
- can't make call using phono
- Call only established if the caller has a webcam
- screencast.jnlp (openfire 3.8.1 & redfire 0.0.3.2) HOT 4
- Spark 2.6.3 client hangs
- tomcat is not yet starting in Ecplise
- After deploying the war file in the tomcat serve http 404 eroor?
- unable to install
- Redfire Recording of all Audio & Vedio Chats
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from redfire.