I had a similar problem last week after updating my RC2 trunk version
to RC3 build 3967. Red5 was showing an exception at app start when
compiling using "ant dist" even though compiling showed no errors. My
workaround was compiling inside eclipse, then I was able to start it.
I didn't have time to dig in to cause.
While this is not a solution, it might help.
Carlos
On Feb 5, 6:19 am, cem sonmez <cemoson...@gmail.com> wrote:
> hi all
> i was able to start the red5 0.9.RC1 with no errors.
> But when i try to start the red5 server, i m getting an exception like :
>
> Failed to instantiate [ch.qos.logback.classic.LoggerContext]
> Reported exception:
> java.lang.NoSuchMethodException:
> org.red5.logging.LoggingContextSelector.<init>(ch.qos.logback.classic.LoggerContext)
Carlos
On Feb 6, 11:04 am, "Carlos Lozano @ CAX" <carl...@caxonline.net>
wrote:
> > Cem SONMEZ- Hide quoted text -
>
> - Show quoted text -
How about your progress on this problem resolving? I am also blocked by
this issue. The issue happened in Red5 0.9.1 and the latest trunk, but
worked on 0.7.0. I've spent around 2 days on the troubleshooting, but not
resolved. Expect to hear voice from you.
Failed to instantiate [ch.qos.logback.classic.LoggerContext]
Reported exception:
java.lang.NoSuchMethodException:
org.red5.logging.LoggingContextSelector.<init>(ch.qos.logback.classic.LoggerContext)
at java.lang.Class.getConstructor0(Class.java:2706)
at java.lang.Class.getConstructor(Class.java:1657)
at
ch.qos.logback.classic.util.ContextSelectorStaticBinder.dynamicalContextSelector(ContextSelectorStaticBinder.java:98)
at
ch.qos.logback.classic.util.ContextSelectorStaticBinder.init(ContextSelectorStaticBinder.java:72)
at
org.slf4j.impl.StaticLoggerBinder.init(StaticLoggerBinder.java:90)
at
org.slf4j.impl.StaticLoggerBinder.<clinit>(StaticLoggerBinder.java:55)
at org.slf4j.LoggerFactory.bind(LoggerFactory.java:121)
at
org.slf4j.LoggerFactory.performInitialization(LoggerFactory.java:111)
at org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:268)
at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:241)
at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:254)
-- Reuben
--
View this message in context: http://old.nabble.com/problem-while-starting-up-the-red5-0.9.0-server-tp27467021p30402112.html
Sent from the Red5 - Interest/Users mailing list archive at Nabble.com.
Probably what's wrong is a misconfiguration on IVY logback dependency
so a wrong version is retrieved...
Hope that it helps somehow,
Regards
The code caused exception in A is as below:
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.BeansException;
import org.springframework.context.ApplicationContext;
import org.springframework.context.ApplicationContextAware;
public class ApplicationContextHelper implements ApplicationContextAware {
static Logger logger =
LoggerFactory.getLogger(ApplicationContextHelper.class);
The detailed exception is:
Failed to instantiate [ch.qos.logback.classic.LoggerContext]
Reported exception:
java.lang.NoSuchMethodException:
org.red5.logging.LoggingContextSelector.<init>(ch.qos.logback.classic.LoggerContext)
at java.lang.Class.getConstructor0(Class.java:2706)
at java.lang.Class.getConstructor(Class.java:1657)
at
org.slf4j.impl.StaticLoggerBinder.dynamicalContextSelector(StaticLoggerBinder.java:137)
at
org.slf4j.impl.StaticLoggerBinder.init(StaticLoggerBinder.java:105)
at
org.slf4j.impl.StaticLoggerBinder.<clinit>(StaticLoggerBinder.java:60)
at org.slf4j.LoggerFactory.getSingleton(LoggerFactory.java:230)
at org.slf4j.LoggerFactory.bind(LoggerFactory.java:121)
at
org.slf4j.LoggerFactory.performInitialization(LoggerFactory.java:112)
at org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:275)
at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:248)
at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:261)
at
test.utils.ApplicationContextHelper.<clinit>(ApplicationContextHelper.java:11)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at
org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:126)
at
org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:72)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:938)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:890)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:479)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:450)
at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:290)
at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:287)
at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:189)
at
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:557)
at
org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:842)
at
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:416)
at org.red5.server.tomcat.TomcatLoader$1.run(TomcatLoader.java:594)
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in
[jar:file:/D:/Red5/java/server/0_9_1/dist/lib/logback-classic-0.9.18.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in
[jar:file:/D:/Red5/java/server/0_9_1/dist/webapps/A/WEB-INF/lib/logback-classic-0.9.18.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an
explanation.
--
View this message in context: http://old.nabble.com/problem-while-starting-up-the-red5-0.9.0-server-tp27467021p30431627.html