openmeetings-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sonia SWEngineer <swengineeru...@gmail.com>
Subject Re: Issue running application after upgrading to Red5 1.0.9
Date Thu, 22 Feb 2018 19:28:49 GMT
Thanks very much Maxim. I am going to check the logback versions.

On Wed, Feb 21, 2018 at 10:57 PM, Maxim Solodovnik <solomax666@gmail.com>
wrote:

> Latest OM is based on red5 1.0.10-M4
>
> I guess your issue is caused by wrong version of logback ...
> not sure
> too few information
>
> On Thu, Feb 22, 2018 at 12:16 AM, Sonia SWEngineer
> <swengineeruser@gmail.com> wrote:
> > I have upgraded to Red5 1.0.9 and now my application (based on
> > openmeetings) can not run due to a linkage error related to org.slf4j.
> > Red5 has now jcl-over-slf4j-1.7.25,
> > jul-to-slf4j-1.7.25, log4j-over-slf4j-1.7.25, and slf4j-api-1.7.25
> >
> > I have excluded some jars but still have the error. Thanks in advance for
> > any assistance with this issue.
> >
> >    <plugin>
> >     <artifactId>maven-war-plugin</artifactId>
> >     <version>2.6</version>
> >     <configuration>
> >      <packagingExcludes>WEB-INF/lib/slf4j-api-1.7.25.jar,
> >       WEB-INF/lib/spring-beans*.jar,
> >       WEB-INF/lib/spring-context*.jar,
> >       WEB-INF/lib/spring-core*.jar,
> >       WEB-INF/lib/spring-expression*.jar,
> >       WEB-INF/lib/spring-web*.jar,
> >       WEB-INF/lib/mina*.jar,
> >       WEB-INF/lib/red5*.jar,
> >       WEB-INF/lib/servlet-api*.jar,
> >       WEB-INF/lib/javaee-api*.jar,
> >       WEB-INF/lib/log4j*.jar
> >      </packagingExcludes>
> >     </configuration>
> >    </plugin>
> >
> > The error is:
> > java.lang.LinkageError: loader constraint violation: when resolving
> method
> > "org.slf4j.impl.StaticLoggerBinder.getLoggerFactory()Lorg/slf4j/
> ILoggerFactory;"
> > the class loader (instance of
> > org/apache/catalina/loader/ParallelWebappClassLoader) of the current
> class,
> > org/slf4j/LoggerFactory, and the class loader (instance of
> > java/net/URLClassLoader) for the method's defining class,
> > org/slf4j/impl/StaticLoggerBinder, have different Class objects for the
> > type org/slf4j/ILoggerFactory used in the signature
> >  at org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:418)
> >  at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:357)
> >  at
> > org.apache.commons.logging.impl.SLF4JLogFactory.
> getInstance(SLF4JLogFactory.java:155)
> >  at
> > org.apache.commons.logging.impl.SLF4JLogFactory.
> getInstance(SLF4JLogFactory.java:132)
> >  at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:645)
> >  at
> > org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator.<
> init>(AbstractAutoProxyCreator.java:111)
> >  at
> > org.springframework.aop.framework.autoproxy.
> AbstractAdvisorAutoProxyCreator.<init>(AbstractAdvisorAutoProxyCreato
> r.java:48)
> >  at
> > org.springframework.aop.aspectj.autoproxy.AspectJAwareAdvisorAutoProxyCr
> eator.<init>(AspectJAwareAdvisorAutoProxyCreator.java:47)
> >  at
> > org.springframework.aop.aspectj.annotation.
> AnnotationAwareAspectJAutoProxyCreator.<init>(
> AnnotationAwareAspectJAutoProxyCreator.java:49)
> >  at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
> Method)
> >  at
> > sun.reflect.NativeConstructorAccessorImpl.newInstance(
> NativeConstructorAccessorImpl.java:62)
> >  at
> > sun.reflect.DelegatingConstructorAccessorImpl.newInstance(
> DelegatingConstructorAccessorImpl.java:45)
> >  at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
> >  at org.springframework.beans.BeanUtils.instantiateClass(
> BeanUtils.java:142)
> >  at
> > org.springframework.beans.factory.support.SimpleInstantiationStrategy.
> instantiate(SimpleInstantiationStrategy.java:89)
> >  at
> > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFac
> tory.instantiateBean(AbstractAutowireCapableBeanFactory.java:1147)
> >  at
> > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFac
> tory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1099)
> >  at
> > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFac
> tory.doCreateBean(AbstractAutowireCapableBeanFactory.java:513)
> >  at
> > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFac
> tory.createBean(AbstractAutowireCapableBeanFactory.java:483)
> >  at
> > org.springframework.beans.factory.support.AbstractBeanFactory$1.
> getObject(AbstractBeanFactory.java:306)
> >  at
> > org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.
> getSingleton(DefaultSingletonBeanRegistry.java:230)
> >  at
> > org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(
> AbstractBeanFactory.java:302)
> >  at
> > org.springframework.beans.factory.support.AbstractBeanFactory.getBean(
> AbstractBeanFactory.java:202)
> >  at
> > org.springframework.context.support.PostProcessorRegistrationDelegate.
> registerBeanPostProcessors(PostProcessorRegistrationDelegate.java:223)
> >  at
> > org.springframework.context.support.AbstractApplicationContext.
> registerBeanPostProcessors(AbstractApplicationContext.java:702)
> >  at
> > org.springframework.context.support.AbstractApplicationContext.refresh(
> AbstractApplicationContext.java:527)
> >  at
> > org.springframework.web.servlet.FrameworkServlet.
> configureAndRefreshWebApplicationContext(FrameworkServlet.java:668)
> >  at
> > org.springframework.web.servlet.FrameworkServlet.
> createWebApplicationContext(FrameworkServlet.java:634)
> >  at
> > org.springframework.web.servlet.FrameworkServlet.
> createWebApplicationContext(FrameworkServlet.java:682)
> >  at
> > org.springframework.web.servlet.FrameworkServlet.
> initWebApplicationContext(FrameworkServlet.java:553)
> >  at
> > org.springframework.web.servlet.FrameworkServlet.initServletBean(
> FrameworkServlet.java:494)
> >  at
> > org.springframework.web.servlet.HttpServletBean.init(
> HttpServletBean.java:138)
> >  at javax.servlet.GenericServlet.init(GenericServlet.java:158)
> >  at
> > org.apache.catalina.core.StandardWrapper.initServlet(
> StandardWrapper.java:1183)
> >  at
> > org.apache.catalina.core.StandardWrapper.loadServlet(
> StandardWrapper.java:1099)
> >  at org.apache.catalina.core.StandardWrapper.load(
> StandardWrapper.java:989)
> >  at
> > org.apache.catalina.core.StandardContext.loadOnStartup(
> StandardContext.java:4931)
> >  at
> > org.apache.catalina.core.StandardContext.startInternal(
> StandardContext.java:5241)
> >  at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
> >  at
> > org.apache.catalina.core.ContainerBase$StartChild.call(
> ContainerBase.java:1419)
> >  at
> > org.apache.catalina.core.ContainerBase$StartChild.call(
> ContainerBase.java:1409)
> >  at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> >  at
> > java.util.concurrent.ThreadPoolExecutor.runWorker(
> ThreadPoolExecutor.java:1149)
> >  at
> > java.util.concurrent.ThreadPoolExecutor$Worker.run(
> ThreadPoolExecutor.java:624)
> >  at java.lang.Thread.run(Thread.java:748)
>
>
>
> --
> WBR
> Maxim aka solomax
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message