Tomcat-dbcp.jar to fix Red5 error



  • tomcat-dbcp.jar – only needed if the next error occurs:

    javax.naming.NamingException: Could not create resource factory instance
    [Root exception is java.lang.ClassNotFoundException: org.apache.tomcat.dbcp.dbcp.BasicDataSourceFactory]

    *if the above error occurs, place the tomcat-dbcp.jar in [red5 root]/lib and restart red5



  • still error occurs:

    Exception in thread "Launcher:/ChatrouletteApp" org.springframework.beans.factor
    y.BeanCreationException: Error creating bean with name 'org.springframework.scri
    pting.support.ScriptFactoryPostProcessor#0' defined in ServletContext resource [
    /WEB-INF/red5-web.xml]: Instantiation of bean failed; nested exception is java.l
    ang.NoClassDefFoundError: org/aopalliance/aop/Advice


    all the INFO:


    [INFO] [Launcher:/ChatrouletteApp] org.springframework.beans.factory.support.Def
    aultListableBeanFactory - Destroying singletons in org.springframework.beans.fac
    tory.support.DefaultListableBeanFactory@1e4905a: defining beans [placeholderConf
    ig,web.context,web.scope,dataSource,web.handler,org.springframework.scripting.su
    pport.ScriptFactoryPostProcessor#0]; parent: org.springframework.beans.factory.s
    upport.DefaultListableBeanFactory@ffd135
    Exception in thread "Launcher:/ChatrouletteApp" org.springframework.beans.factor
    y.BeanCreationException: Error creating bean with name 'org.springframework.scri
    pting.support.ScriptFactoryPostProcessor#0' defined in ServletContext resource [
    /WEB-INF/red5-web.xml]: Instantiation of bean failed; nested exception is java.l
    ang.NoClassDefFoundError: org/aopalliance/aop/Advice
    at org.springframework.beans.factory.support.AbstractAutowireCapableBean
    Factory.instantiateBean(AbstractAutowireCapableBeanFactory.java:946)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBean
    Factory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:890)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBean
    Factory.doCreateBean(AbstractAutowireCapableBeanFactory.java:479)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBean
    Factory.createBean(AbstractAutowireCapableBeanFactory.java:450)[INFO] [Launcher:
    /bwcheck] org.springframework.beans.factory.support.DefaultListableBeanFactory -
    Pre-instantiating singletons in org.springframework.beans.factory.support.Defau
    ltListableBeanFactory@1c7f37d: defining beans [placeholderConfig,web.context,web
    .scope,bwcheck.handler,bwCheckService.service]; parent: org.springframework.bean
    s.factory.support.DefaultListableBeanFactory@ffd135

    at org.springframework.beans.factory.support.AbstractBeanFactory$1.getOb
    ject(AbstractBeanFactory.java:290)
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistr
    y.getSingleton(DefaultSingletonBeanRegistry.java:222)
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBe
    an(AbstractBeanFactory.java:287)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean
    (AbstractBeanFactory.java:193)


Log in to reply