Jump to content
  • 0

Service failing to start


Kent
 Share

Question

Hi All,

First day back after our Christmas break and have been meet with reports that our Ant Media Server isn't working - it was prior to Christmas but I updated from CentOS 7.7 to 7.9.2003 over the break and this is probably the issue.

It was running Ant Media 2.1.0 community, but in an effort to resolve this I have updated to 2.4.1 community.  When  I try to start 2.4.1, I'm getting a JAVA error:

ServerClassLoader has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0

Can anyone tell me how to resolve this issue ?

Thanks
Kent.





# systemctl status antmedia.service

● antmedia.service - Ant Media Server

   Loaded: loaded (/usr/lib/systemd/system/antmedia.service; enabled; vendor preset: disabled)

   Active: activating (auto-restart) (Result: exit-code) since Mon 2022-01-17 11:39:50 NZDT; 1s ago

  Process: 4655 ExecStart=/usr/bin/env ${JAVA_HOME}/bin/java -Dlogback.ContextSelector=org.red5.logging.LoggingContextSelector -cp ${ANTMEDIA_HOME}/ant-media-server-service.jar:${ANTMEDIA_HOME}/conf -Djava.security.debug=failure -Djava.awt.headless=true -Djava.security.egd=file:/dev/./urandom -Dcatalina.home=${ANTMEDIA_HOME} -Dcatalina.useNaming=true -Dorg.terracotta.quartz.skipUpdateCheck=true -XX:+UseG1GC -XX:MaxGCPauseMillis=200 -XX:ParallelGCThreads=10 -XX:ConcGCThreads=5 -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.port=5599 -Dcom.sun.management.jmxremote.local.only=true -Dcom.sun.management.jmxremote.host=127.0.0.1 -Djava.rmi.server.hostname=127.0.0.1 -Djava.rmi.server.useLocalHostname=true -Dcom.sun.management.jmxremote.rmi.port=5599 -XX:+HeapDumpOnOutOfMemoryError -Djava.library.path=/usr/local/antmedia/lib/native -Xverify:none -XX:+TieredCompilation -XX:+UseBiasedLocking -XX:InitialCodeCacheSize=8m -XX:ReservedCodeCacheSize=32m -Djava.net.preferIPv4Stack=true $JVM_MEMORY_OPTIONS -Djava.system.class.loader=org.red5.server.classloading.ServerClassLoader -Xshare:off org.red5.server.Bootstrap 9999 (code=exited, status=127)

 Main PID: 4655 (code=exited, status=127)


Jan 17 11:39:50 stream.kamar.nz systemd[1]: Unit antmedia.service entered failed state.

Jan 17 11:39:50 stream.kamar.nz systemd[1]: antmedia.service failed.





[antmedia]# ./start.sh 

Running on  Linux

Starting Ant Media Server

Error occurred during initialization of VM

java.lang.UnsupportedClassVersionError: org/red5/server/classloading/ServerClassLoader has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0

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

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

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

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

at java.net.URLClassLoader.access$100(URLClassLoader.java:74)

at java.net.URLClassLoader$1.run(URLClassLoader.java:369)

at java.net.URLClassLoader$1.run(URLClassLoader.java:363)

at java.security.AccessController.doPrivileged(Native Method)

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

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

at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352)

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

at java.lang.Class.forName0(Native Method)

at java.lang.Class.forName(Class.java:348)

at java.lang.SystemClassLoaderAction.run(ClassLoader.java:2202)

at java.lang.SystemClassLoaderAction.run(ClassLoader.java:2188)

at java.security.AccessController.doPrivileged(Native Method)

at java.lang.ClassLoader.initSystemClassLoader(ClassLoader.java:1449)

at java.lang.ClassLoader.getSystemClassLoader(ClassLoader.java:1429)






[antmedia]# yum install java

Loaded plugins: fastestmirror

Loading mirror speeds from cached hostfile

 * base: mirror.xnet.co.nz

 * extras: mirror.xnet.co.nz

 * updates: mirror.xnet.co.nz

Package 1:java-1.8.0-openjdk-1.8.0.312.b07-1.el7_9.x86_64 already installed and latest version




Link to comment
Share on other sites

  • Answers 4
  • Created
  • Last Reply

Top Posters For This Question

4 answers to this question

Recommended Posts

  • 0

Okay, I've sorted the JAVA Runtime.  I had 11 installed, but it wasn't the default.  So I've managed to resolve that.


But now I'm back to the same error I was getting previously when I was trying to run 2.1.0.


The service is failing to start.


Does anyone know how I can proceed to debug this issue ?


Thanks

Kent.



starting service

-----------------------

[antmedia]# systemctl status antmedia.service

● antmedia.service - Ant Media Server

   Loaded: loaded (/usr/lib/systemd/system/antmedia.service; enabled; vendor preset: disabled)

   Active: activating (auto-restart) (Result: exit-code) since Mon 2022-01-17 11:55:50 NZDT; 2s ago

  Process: 5706 ExecStart=/usr/bin/env ${JAVA_HOME}/bin/java -Dlogback.ContextSelector=org.red5.logging.LoggingContextSelector -cp ${ANTMEDIA_HOME}/ant-media-server-service.jar:${ANTMEDIA_HOME}/conf -Djava.security.debug=failure -Djava.awt.headless=true -Djava.security.egd=file:/dev/./urandom -Dcatalina.home=${ANTMEDIA_HOME} -Dcatalina.useNaming=true -Dorg.terracotta.quartz.skipUpdateCheck=true -XX:+UseG1GC -XX:MaxGCPauseMillis=200 -XX:ParallelGCThreads=10 -XX:ConcGCThreads=5 -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.port=5599 -Dcom.sun.management.jmxremote.local.only=true -Dcom.sun.management.jmxremote.host=127.0.0.1 -Djava.rmi.server.hostname=127.0.0.1 -Djava.rmi.server.useLocalHostname=true -Dcom.sun.management.jmxremote.rmi.port=5599 -XX:+HeapDumpOnOutOfMemoryError -Djava.library.path=/usr/local/antmedia/lib/native -Xverify:none -XX:+TieredCompilation -XX:+UseBiasedLocking -XX:InitialCodeCacheSize=8m -XX:ReservedCodeCacheSize=32m -Djava.net.preferIPv4Stack=true $JVM_MEMORY_OPTIONS -Djava.system.class.loader=org.red5.server.classloading.ServerClassLoader -Xshare:off org.red5.server.Bootstrap 9999 (code=exited, status=127)

 Main PID: 5706 (code=exited, status=127)


Jan 17 11:55:50 stream.kamar.nz systemd[1]: Unit antmedia.service entered failed state.

Jan 17 11:55:50 stream.kamar.nz systemd[1]: antmedia.service failed.




Starting Manually

------------------------------

[antmedia]# ./start.sh 

Running on  Linux

Starting Ant Media Server

Selected libraries: (215 items)

Root: /usr/local/antmedia

Configuation root: /usr/local/antmedia/conf

11:59:07,584 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback.groovy]

11:59:07,587 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback-test.xml]

11:59:07,590 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Found resource [logback.xml] at [file:/usr/local/antmedia/conf/logback.xml]

11:59:07,788 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - debug attribute not set

11:59:07,821 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.ConsoleAppender]

11:59:07,826 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [CONSOLE]

11:59:07,839 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property

11:59:07,940 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [io.antmedia.logger.AntmediaAppender]

11:59:07,946 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [AntmediaLogger]

11:59:07,953 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.rolling.RollingFileAppender]

11:59:07,955 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [FILE]

11:59:07,967 |-INFO in ch.qos.logback.core.rolling.FixedWindowRollingPolicy@e4487af - Will use gz compression

11:59:07,972 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property

11:59:07,974 |-WARN in ch.qos.logback.core.rolling.RollingFileAppender[FILE] - Append mode is mandatory for RollingFileAppender. Defaulting to append=true.

11:59:07,974 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[FILE] - Active log file name: /var/log/antmedia/ant-media-server.log

11:59:07,974 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[FILE] - File property is set to [/var/log/antmedia/ant-media-server.log]

11:59:07,977 |-INFO in ch.qos.logback.classic.joran.action.RootLoggerAction - Setting level of ROOT logger to INFO

11:59:07,977 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [CONSOLE] to Logger[ROOT]

11:59:07,977 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [FILE] to Logger[ROOT]

11:59:07,978 |-ERROR in ch.qos.logback.core.joran.action.AppenderRefAction - Could not find an appender named [ERROR_FILE]. Did you define it below instead of above in the configuration file?

11:59:07,978 |-ERROR in ch.qos.logback.core.joran.action.AppenderRefAction - See http://logback.qos.ch/codes.html#appender_order for more details.

11:59:07,978 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [AntmediaLogger] to Logger[ROOT]

11:59:07,978 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org.springframework] to INFO

11:59:07,978 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org.springframework.scheduling] to INFO

11:59:07,978 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org.apache] to INFO

11:59:07,978 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org.apache.jasper.servlet] to INFO

11:59:07,978 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [ch.qos] to INFO

11:59:07,979 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [com.antstreaming] to INFO

11:59:07,979 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org.quartz] to INFO

11:59:07,979 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org.apache.catalina.core.ApplicationContext] to INFO

11:59:07,979 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - End of configuration.

11:59:07,980 |-INFO in ch.qos.logback.classic.joran.JoranConfigurator@6aaceffd - Registering current configuration as safe fallback point


2022-01-17 11:59:08,015 [main] org.red5.server.Launcher - Ant Media Server Community 2.4.1

2022-01-17 11:59:08,018 [main] org.red5.server.Launcher - 

                                                             

             `..-:/++oosssyyyyyyyysssoo++/::..`             

        .:+osyyyyysooo++///::::::///++ooosyyyyyso+:.        

     -+syyso/:-.`         ```````          `.-:/osyyy+-     

   .oyyo:.    ``.-:/+oossyyyyyys:`.+o+: `..`      `-+yys.   

   oyy-   `.-:://:::::///++ooo-`-oyo:../sys/`.::.    .yys   

   syy+`                       `.-. -oys/..:oys+:`   :yyy   

   syyyo-`                           `. `+so/.`   `-oyyyy   

   syy+sys+:.`                           ``   `.:+syyoyyy   

   syy``:+syyso`       `..`                 `osyyso:. syy   

   syy`   `.oyy.      :syyso:.`             `yys.`    syy   

   syy`     +yy.      syy:+syys+-`          `yyo      syy   

   syy`     +yy.      yyy  `.:osyso/.`      `yyo      syy   

   syy`     +yy.      yyy      `-/syys+.    `yyo      syy   

   syy`     +yy.      yyy         `./yyy    `yyo      syy   

   syy`     +yy.      yyy       `./oyys/    `yyo      syy   

   syy`     +yy.      yyy    .:+syyo/-`     `yyo      syy   

   syy`     +yy.      yyy`-/syys+:.         `yyo      syy   

   syy`     +yy.      +yyyyyo/.`            `yyo      yyy   

   /yy/     +yy.       -::-`                `yyo     :yy+   

    +yyo:.  +yy.                            `yyo  .-oyy+`   

     .+yyyysyyy.                            `yyysyyyy+-     

        .:/+++/                              :+//:-.        

                                                            



2022-01-17 11:59:08,052 [main] org.springframework.context.support.FileSystemXmlApplicationContext - Refreshing org.springframework.context.support.FileSystemXmlApplicationContext@4d02f94e: startup date [Mon Jan 17 11:59:08 NZDT 2022]; root of context hierarchy

2022-01-17 11:59:08,079 [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from class path resource [red5.xml]

2022-01-17 11:59:08,305 [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from class path resource [jee-container.xml]

2022-01-17 11:59:08,733 [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor - JSR-330 'javax.inject.Inject' annotation found and supported for autowiring

2022-01-17 11:59:08,818 [main] org.red5.spring.Red5ApplicationContext - setApplicationContext: org.springframework.context.support.FileSystemXmlApplicationContext@4d02f94e: startup date [Mon Jan 17 11:59:08 NZDT 2022]; root of context hierarchy

2022-01-17 11:59:08,819 [main] org.red5.spring.Red5ApplicationContext - Red5ApplicationContext init

2022-01-17 11:59:08,822 [main] org.red5.spring.Red5ApplicationContext - Refreshing ApplicationContext 'red5.common': startup date [Mon Jan 17 11:59:08 NZDT 2022]; parent: org.springframework.context.support.FileSystemXmlApplicationContext@4d02f94e

2022-01-17 11:59:08,822 [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from class path resource [red5-common.xml]

2022-01-17 11:59:09,015 [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor - JSR-330 'javax.inject.Inject' annotation found and supported for autowiring

2022-01-17 11:59:09,134 [main] org.quartz.impl.StdSchedulerFactory - Using default implementation for ThreadExecutor

2022-01-17 11:59:09,155 [main] org.quartz.core.SchedulerSignalerImpl - Initialized Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl

2022-01-17 11:59:09,155 [main] org.quartz.core.QuartzScheduler - Quartz Scheduler v.2.2.3 created.

2022-01-17 11:59:09,157 [main] org.quartz.simpl.RAMJobStore - RAMJobStore initialized.

2022-01-17 11:59:09,158 [main] org.quartz.core.QuartzScheduler - Scheduler meta-data: Quartz Scheduler (v2.2.3) 'Red5_Scheduler' with instanceId 'NON_CLUSTERED'

  Scheduler class: 'org.quartz.core.QuartzScheduler' - running locally.

  NOT STARTED.

  Currently in standby mode.

  Number of jobs executed: 0

  Using thread pool 'org.quartz.simpl.SimpleThreadPool' - with 6 threads.

  Using job-store 'org.quartz.simpl.RAMJobStore' - which does not support persistence. and is not clustered.


2022-01-17 11:59:09,159 [main] org.quartz.impl.StdSchedulerFactory - Quartz scheduler 'Red5_Scheduler' initialized from the specified file : '/usr/local/antmedia/conf/quartz.properties'

2022-01-17 11:59:09,159 [main] org.quartz.impl.StdSchedulerFactory - Quartz scheduler version: 2.2.3

2022-01-17 11:59:09,160 [main] org.quartz.core.QuartzScheduler - Scheduler Red5_Scheduler_$_NON_CLUSTERED started.

2022-01-17 11:59:09,652 [main] org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler - Initializing ExecutorService 'org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler#7e928e2f'

2022-01-17 11:59:10,287 [main] io.antmedia.statistic.StatsCollector - Starting heartbeats for the version:2.4.1 and type:Community

2022-01-17 11:59:10,338 [main] org.springframework.jmx.export.annotation.AnnotationMBeanExporter - Registering beans for JMX exposure on startup

2022-01-17 11:59:10,339 [main] org.springframework.jmx.export.annotation.AnnotationMBeanExporter - Bean with name 'schedulingService' has been autodetected for JMX exposure

2022-01-17 11:59:10,339 [main] org.springframework.jmx.export.annotation.AnnotationMBeanExporter - Bean with name 'clientBroadcastStream' has been autodetected for JMX exposure

2022-01-17 11:59:10,473 [main] org.springframework.jmx.export.annotation.AnnotationMBeanExporter - Located MBean 'schedulingService': registering with JMX server as MBean [org.red5.server:name=schedulingService,type=QuartzSchedulingService]

2022-01-17 11:59:10,484 [main] org.red5.spring.Red5ApplicationContext - setApplicationContext: org.springframework.context.support.FileSystemXmlApplicationContext@4d02f94e: startup date [Mon Jan 17 11:59:08 NZDT 2022]; root of context hierarchy

2022-01-17 11:59:10,485 [main] org.red5.spring.Red5ApplicationContext - Red5ApplicationContext init

2022-01-17 11:59:10,485 [main] org.red5.spring.Red5ApplicationContext - Refreshing ApplicationContext 'red5.core': startup date [Mon Jan 17 11:59:10 NZDT 2022]; parent: ApplicationContext 'red5.common'

2022-01-17 11:59:10,485 [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from class path resource [red5-core.xml]

2022-01-17 11:59:10,566 [main] org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler - Initializing ExecutorService 'rtmpScheduler'

2022-01-17 11:59:10,576 [main] org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor - Initializing ExecutorService 'messageExecutor'

2022-01-17 11:59:10,577 [main] org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler - Initializing ExecutorService 'deadlockGuardScheduler'

2022-01-17 11:59:10,633 [main] org.red5.server.net.rtmp.RTMPMinaTransport - RTMP will be bound to [0.0.0.0:1935]

2022-01-17 11:59:10,634 [main] org.red5.server.net.rtmp.RTMPMinaTransport - RTMP Mina Transport Settings

Acceptor style: default I/O threads: 16

TCP no-delay: true keep-alive: false

2022-01-17 11:59:10,668 [main] org.red5.server.net.rtmp.RTMPMinaTransport - Traffic class modification is disabled

2022-01-17 11:59:10,669 [main] org.red5.server.net.rtmp.RTMPMinaTransport - Send buffer size: 65536 recv buffer size: 65536 so linger: -1 traffic class: 0

2022-01-17 11:59:10,733 [main] org.red5.server.ContextLoader - ContextLoader init

2022-01-17 11:59:10,746 [main] org.red5.server.ContextLoader - Loading: default.context = ${red5.root}/webapps/red5-default.xml => /usr/local/antmedia/webapps/red5-default.xml

2022-01-17 11:59:10,747 [main] org.springframework.context.support.FileSystemXmlApplicationContext - Refreshing org.springframework.context.support.FileSystemXmlApplicationContext@5d1e0fbb: startup date [Mon Jan 17 11:59:10 NZDT 2022]; parent: ApplicationContext 'red5.common'

2022-01-17 11:59:10,748 [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from URL [file:/usr/local/antmedia/webapps/red5-default.xml]

2022-01-17 11:59:10,892 [main] org.red5.server.Context - Setting parent bean factory as core

2022-01-17 11:59:10,930 [main] org.red5.server.tomcat.WarDeployer - War deployer service created

2022-01-17 11:59:10,936 [main] org.red5.server.tomcat.WarDeployer - Starting WarDeployer

2022-01-17 11:59:10,937 [main] org.red5.server.tomcat.WarDeployer - Deploy wars without app start

2022-01-17 11:59:11,073 [main] org.red5.server.tomcat.TomcatLoader - Loading Tomcat

2022-01-17 11:59:11,074 [main] org.red5.server.tomcat.TomcatLoader - Server root: /usr/local/antmedia

2022-01-17 11:59:11,074 [main] org.red5.server.tomcat.TomcatLoader - Config root: /usr/local/antmedia/conf

2022-01-17 11:59:11,108 [main] org.red5.server.tomcat.TomcatLoader - Application root: /usr/local/antmedia/webapps

2022-01-17 11:59:11,333 [main] org.red5.server.tomcat.TomcatLoader - Starting Tomcat servlet engine

2022-01-17 11:59:11,613 [main] org.apache.catalina.core.AprLifecycleListener - The Apache Tomcat Native library which allows using OpenSSL was not found on the java.library.path: [/usr/local/antmedia/lib/native-linux-x86_64:/usr/local/antmedia/lib/native]

2022-01-17 11:59:11,623 [main] org.apache.coyote.http11.Http11Nio2Protocol - Initializing ProtocolHandler ["http-nio2-0.0.0.0-5080"]

2022-01-17 11:59:11,685 [main] org.apache.coyote.http11.Http11NioProtocol - Initializing ProtocolHandler ["https-jsse-nio-0.0.0.0-5443"]

2022-01-17 11:59:11,950 [main] org.apache.catalina.core.StandardService - Failed to initialize connector [Connector[HTTP/1.1-5443]]

org.apache.catalina.LifecycleException: Protocol handler initialization failed

at org.apache.catalina.connector.Connector.initInternal(Connector.java:1077)

at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:136)

at org.apache.catalina.core.StandardService.initInternal(StandardService.java:557)

at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:136)

at org.apache.catalina.core.StandardServer.initInternal(StandardServer.java:850)

at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:136)

at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:173)

at org.apache.catalina.startup.Tomcat.start(Tomcat.java:440)

at org.red5.server.tomcat.TomcatLoader.start(TomcatLoader.java:450)

at org.red5.server.tomcat.TomcatLoader.afterPropertiesSet(TomcatLoader.java:183)

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1677)

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1615)

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:553)

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:481)

at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:312)

at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)

at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:308)

at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:220)

at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveNamedBean(DefaultListableBeanFactory.java:1015)

at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBean(DefaultListableBeanFactory.java:345)

at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBean(DefaultListableBeanFactory.java:340)

at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1094)

at org.red5.server.service.ShutdownServer.afterPropertiesSet(ShutdownServer.java:118)

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1677)

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1615)

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:553)

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:481)

at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:312)

at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)

at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:308)

at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)

at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:757)

at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:867)

at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:542)

at org.red5.server.Launcher.launch(Launcher.java:95)

at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.base/java.lang.reflect.Method.invoke(Method.java:566)

at org.red5.server.Bootstrap.bootStrap(Bootstrap.java:91)

at org.red5.server.Bootstrap.main(Bootstrap.java:48)

Caused by: java.lang.IllegalArgumentException: /usr/local/antmedia/conf/keystore.jks (No such file or directory)

at org.apache.tomcat.util.net.AbstractJsseEndpoint.createSSLContext(AbstractJsseEndpoint.java:100)

at org.apache.tomcat.util.net.AbstractJsseEndpoint.initialiseSsl(AbstractJsseEndpoint.java:72)

at org.apache.tomcat.util.net.NioEndpoint.bind(NioEndpoint.java:247)

at org.apache.tomcat.util.net.AbstractEndpoint.init(AbstractEndpoint.java:1147)

at org.apache.tomcat.util.net.AbstractJsseEndpoint.init(AbstractJsseEndpoint.java:222)

at org.apache.coyote.AbstractProtocol.init(AbstractProtocol.java:599)

at org.apache.coyote.http11.AbstractHttp11Protocol.init(AbstractHttp11Protocol.java:80)

at org.apache.catalina.connector.Connector.initInternal(Connector.java:1074)

... 40 common frames omitted

Caused by: java.io.FileNotFoundException: /usr/local/antmedia/conf/keystore.jks (No such file or directory)

at java.base/java.io.FileInputStream.open0(Native Method)

at java.base/java.io.FileInputStream.open(FileInputStream.java:219)

at java.base/java.io.FileInputStream.<init>(FileInputStream.java:157)

at java.base/java.io.FileInputStream.<init>(FileInputStream.java:112)

at java.base/sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:86)

at java.base/sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:184)

at org.apache.tomcat.util.file.ConfigFileLoader.getInputStream(ConfigFileLoader.java:98)

at org.apache.tomcat.util.net.SSLUtilBase.getStore(SSLUtilBase.java:196)

at org.apache.tomcat.util.net.SSLHostConfigCertificate.getCertificateKeystore(SSLHostConfigCertificate.java:207)

at org.apache.tomcat.util.net.SSLUtilBase.getKeyManagers(SSLUtilBase.java:281)

at org.apache.tomcat.util.net.SSLUtilBase.createSSLContext(SSLUtilBase.java:245)

at org.apache.tomcat.util.net.AbstractJsseEndpoint.createSSLContext(AbstractJsseEndpoint.java:98)

... 47 common frames omitted

2022-01-17 11:59:11,986 [main] org.apache.catalina.core.StandardService - Starting service [Tomcat]

2022-01-17 11:59:11,987 [main] org.apache.catalina.core.StandardEngine - Starting Servlet engine: [Apache Tomcat/8.5.69]

2022-01-17 11:59:12,156 [0.0.0.0-startStop-1] org.apache.catalina.loader.WebappLoader - Unknown loader jdk.internal.loader.ClassLoaders$AppClassLoader@277050dc class jdk.internal.loader.ClassLoaders$AppClassLoader

2022-01-17 11:59:12,233 [0.0.0.0-startStop-1] org.apache.catalina.startup.ContextConfig - No global web.xml found

2022-01-17 11:59:12,414 [0.0.0.0-startStop-1] org.apache.catalina.core.ContainerBase.[red5Engine].[0.0.0.0].[/] - No Spring WebApplicationInitializer types detected on classpath

Context init: root

2022-01-17 11:59:12,474 [0.0.0.0-startStop-1] ROOT - Starting up context: root

Filter init: root

2022-01-17 11:59:13,565 [0.0.0.0-startStop-1] org.glassfish.jersey.server.spring.SpringComponentProvider - Spring context lookup failed, skipping spring component provider initialization.

2022-01-17 11:59:14,141 [0.0.0.0-startStop-1] org.apache.catalina.loader.WebappLoader - Unknown loader jdk.internal.loader.ClassLoaders$AppClassLoader@277050dc class jdk.internal.loader.ClassLoaders$AppClassLoader

2022-01-17 11:59:14,245 [0.0.0.0-startStop-1] org.apache.catalina.core.ContainerBase.[red5Engine].[0.0.0.0].[/WebRTCApp] - No Spring WebApplicationInitializer types detected on classpath

Context init: WebRTCApp

2022-01-17 11:59:14,260 [0.0.0.0-startStop-1] ROOT - Starting up context: WebRTCApp

2022-01-17 11:59:14,417 [0.0.0.0-startStop-1] org.glassfish.jersey.server.spring.SpringComponentProvider - Spring context lookup failed, skipping spring component provider initialization.

2022-01-17 11:59:14,555 [0.0.0.0-startStop-1] org.apache.catalina.loader.WebappLoader - Unknown loader jdk.internal.loader.ClassLoaders$AppClassLoader@277050dc class jdk.internal.loader.ClassLoaders$AppClassLoader

2022-01-17 11:59:14,637 [0.0.0.0-startStop-1] org.apache.catalina.core.ContainerBase.[red5Engine].[0.0.0.0].[/LiveApp] - No Spring WebApplicationInitializer types detected on classpath

Context init: LiveApp

2022-01-17 11:59:14,640 [0.0.0.0-startStop-1] ROOT - Starting up context: LiveApp

2022-01-17 11:59:14,811 [0.0.0.0-startStop-1] org.glassfish.jersey.server.spring.SpringComponentProvider - Spring context lookup failed, skipping spring component provider initialization.

2022-01-17 11:59:15,011 [main] org.apache.coyote.http11.Http11Nio2Protocol - Starting ProtocolHandler ["http-nio2-0.0.0.0-5080"]

2022-01-17 11:59:15,016 [main] org.red5.server.tomcat.TomcatLoader - Context initialized:  path: /usr/local/antmedia/webapps/root/

2022-01-17 11:59:15,018 [main] org.red5.server.tomcat.TomcatLoader - Context initialized: /WebRTCApp path: /usr/local/antmedia/webapps/WebRTCApp/

2022-01-17 11:59:15,018 [main] org.red5.server.tomcat.TomcatLoader - Context initialized: /LiveApp path: /usr/local/antmedia/webapps/LiveApp/

2022-01-17 11:59:15,019 [main] org.red5.server.tomcat.TomcatLoader - Dedicated RTMPT server configuration was not specified

2022-01-17 11:59:15,022 [main] org.red5.server.service.ShutdownServer - JEE server was found: TomcatLoader [serviceEngineName=red5Engine]

Token: e8d7e6fc-f091-4786-b54c-0797084d02bb

2022-01-17 11:59:15,038 [Loader:] org.springframework.web.context.support.XmlWebApplicationContext - Refreshing Root WebApplicationContext: startup date [Mon Jan 17 11:59:15 NZDT 2022]; parent: org.springframework.context.support.FileSystemXmlApplicationContext@5d1e0fbb

2022-01-17 11:59:15,045 [Loader:] org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from ServletContext resource [/WEB-INF/red5-web.xml]

Bootstrap complete

Bootstrap exit

2022-01-17 11:59:15,324 [Loader:] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor - JSR-330 'javax.inject.Inject' annotation found and supported for autowiring

2022-01-17 11:59:15,363 [Loader:] org.red5.server.Context - Setting parent bean factory as core

2022-01-17 11:59:15,469 [Loader:] org.red5.server.scope.WebScope - Set server [server@71a00cb5map[[empty]]]

2022-01-17 11:59:15,478 [Loader:] org.red5.server.scope.Scope - Scope null name reset to:  disallowed

2022-01-17 11:59:15,485 [Loader:] org.red5.server.Server - Add mapping global: default host:  context: null

2022-01-17 11:59:15,486 [Loader:] org.red5.server.scope.Scope - Invalid scope name, null is not allowed

2022-01-17 11:59:15,486 [Loader:] org.red5.server.scope.Scope - Invalid scope rejected: Scope [name=null, path=/default, type=APPLICATION, autoStart=true, creationTime=1642373955365, depth=1, enabled=true, running=false]

2022-01-17 11:59:15,521 [Loader:] org.red5.server.scope.Scope - Scope not added to parent

2022-01-17 11:59:15,522 [Loader:] org.red5.server.scope.WebScope - Webscope already registered; remove the 'init-method' from your 'web.scope' bean to prevent this message in the future.

2022-01-17 11:59:15,589 [Loader:/WebRTCApp] org.springframework.web.context.support.XmlWebApplicationContext - Refreshing Root WebApplicationContext: startup date [Mon Jan 17 11:59:15 NZDT 2022]; parent: org.springframework.context.support.FileSystemXmlApplicationContext@5d1e0fbb

2022-01-17 11:59:15,590 [Loader:/WebRTCApp] org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from ServletContext resource [/WEB-INF/red5-web.xml]

2022-01-17 11:59:15,727 [Loader:/WebRTCApp] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor - JSR-330 'javax.inject.Inject' annotation found and supported for autowiring

2022-01-17 11:59:15,811 [Loader:/WebRTCApp] org.red5.server.Context - Setting parent bean factory as core

2022-01-17 11:59:16,340 [Loader:/WebRTCApp] io.antmedia.datastore.db.DataStoreFactory - Used Datastore:mapdb  db name:webrtcapp

2022-01-17 11:59:16,374 [Loader:/WebRTCApp] org.red5.server.scope.WebScope - Set server [server@71a00cb5map['/' -> 'default']]

2022-01-17 11:59:16,380 [Loader:/WebRTCApp] org.red5.server.Server - Add mapping global: default host:  context: WebRTCApp

2022-01-17 11:59:16,386 [Loader:/WebRTCApp] io.antmedia.AntMediaApplicationAdapter - Delete the ".closed" file in WebRTCApp

2022-01-17 11:59:16,397 [Loader:/WebRTCApp] io.antmedia.AntMediaApplicationAdapter - WebRTCApp started

2022-01-17 11:59:16,405 [vert.x-eventloop-thread-3] io.antmedia.AntMediaApplicationAdapter - Stream source size: 0

2022-01-17 11:59:16,406 [vert.x-eventloop-thread-3] io.antmedia.streamsource.StreamFetcherManager - StreamFetcherSchedule job name 4

2022-01-17 11:59:16,407 [vert.x-eventloop-thread-3] io.antmedia.AntMediaApplicationAdapter - socialEndpoints size: 0

2022-01-17 11:59:16,470 [Loader:/LiveApp] org.springframework.web.context.support.XmlWebApplicationContext - Refreshing Root WebApplicationContext: startup date [Mon Jan 17 11:59:16 NZDT 2022]; parent: org.springframework.context.support.FileSystemXmlApplicationContext@5d1e0fbb

2022-01-17 11:59:16,472 [Loader:/LiveApp] org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from ServletContext resource [/WEB-INF/red5-web.xml]

2022-01-17 11:59:16,627 [Loader:/LiveApp] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor - JSR-330 'javax.inject.Inject' annotation found and supported for autowiring

2022-01-17 11:59:16,669 [Loader:/LiveApp] org.red5.server.Context - Setting parent bean factory as core

2022-01-17 11:59:16,678 [Loader:/LiveApp] io.antmedia.datastore.db.DataStoreFactory - Used Datastore:mapdb  db name:liveapp

2022-01-17 11:59:16,682 [Loader:/LiveApp] org.red5.server.scope.WebScope - Set server [server@71a00cb5map['/WebRTCApp' -> 'default', '/' -> 'default']]

2022-01-17 11:59:16,683 [Loader:/LiveApp] org.red5.server.Server - Add mapping global: default host:  context: LiveApp

2022-01-17 11:59:16,683 [Loader:/LiveApp] io.antmedia.AntMediaApplicationAdapter - Delete the ".closed" file in LiveApp

2022-01-17 11:59:16,685 [Loader:/LiveApp] io.antmedia.AntMediaApplicationAdapter - LiveApp started

2022-01-17 11:59:16,695 [vert.x-eventloop-thread-6] io.antmedia.AntMediaApplicationAdapter - Stream source size: 0

2022-01-17 11:59:16,696 [vert.x-eventloop-thread-6] io.antmedia.streamsource.StreamFetcherManager - StreamFetcherSchedule job name 9

2022-01-17 11:59:16,696 [vert.x-eventloop-thread-6] io.antmedia.AntMediaApplicationAdapter - socialEndpoints size: 0

2022-01-17 12:00:10,937 [pool-5-thread-1] org.red5.server.tomcat.WarDeployer - Deploy wars with app start

Link to comment
Share on other sites

  • 0

Hi Kent, 

Unfortunately, we have no longer support Centos 7[1]. In my advice to you is to update to Centos 8. By the way, if you share your log, I can check it for you. (for old version)

[1] https://groups.google.com/u/2/g/ant-media-server/c/YWzKijpjBBw/m/1oJm4POKAwAJ

Regards.

 

Link to comment
Share on other sites

  • 0
Hi,

Is this what you are looking for?

Given CentOS has been dropped and there will be no new releases, am I better off installing a new OS (eg. Debian, Ubuntu) and starting afresh ?   I mainly have Debian (majority) or CentOS - so Debian is my preference.   Is this a supported OS ?

Cheers
Kent.


2022-01-17 11:59:08,015 [main] INFO  org.red5.server.Launcher - Ant Media Server Community 2.4.1

2022-01-17 11:59:08,018 [main] INFO  org.red5.server.Launcher - 

                                                             

             `..-:/++oosssyyyyyyyysssoo++/::..`             

        .:+osyyyyysooo++///::::::///++ooosyyyyyso+:.        

     -+syyso/:-.`         ```````          `.-:/osyyy+-     

   .oyyo:.    ``.-:/+oossyyyyyys:`.+o+: `..`      `-+yys.   

   oyy-   `.-:://:::::///++ooo-`-oyo:../sys/`.::.    .yys   

   syy+`                       `.-. -oys/..:oys+:`   :yyy   

   syyyo-`                           `. `+so/.`   `-oyyyy   

   syy+sys+:.`                           ``   `.:+syyoyyy   

   syy``:+syyso`       `..`                 `osyyso:. syy   

   syy`   `.oyy.      :syyso:.`             `yys.`    syy   

   syy`     +yy.      syy:+syys+-`          `yyo      syy   

   syy`     +yy.      yyy  `.:osyso/.`      `yyo      syy   

   syy`     +yy.      yyy      `-/syys+.    `yyo      syy   

   syy`     +yy.      yyy         `./yyy    `yyo      syy   

   syy`     +yy.      yyy       `./oyys/    `yyo      syy   

   syy`     +yy.      yyy    .:+syyo/-`     `yyo      syy   

   syy`     +yy.      yyy`-/syys+:.         `yyo      syy   

   syy`     +yy.      +yyyyyo/.`            `yyo      yyy   

   /yy/     +yy.       -::-`                `yyo     :yy+   

    +yyo:.  +yy.                            `yyo  .-oyy+`   

     .+yyyysyyy.                            `yyysyyyy+-     

        .:/+++/                              :+//:-.        

                                                            



2022-01-17 11:59:08,052 [main] INFO  o.s.c.s.FileSystemXmlApplicationContext - Refreshing org.springframework.context.support.FileSystemXmlApplicationContext@4d02f94e: startup date [Mon Jan 17 11:59:08 NZDT 2022]; root of context hierarchy

2022-01-17 11:59:08,079 [main] INFO  o.s.b.f.xml.XmlBeanDefinitionReader - Loading XML bean definitions from class path resource [red5.xml]

2022-01-17 11:59:08,305 [main] INFO  o.s.b.f.xml.XmlBeanDefinitionReader - Loading XML bean definitions from class path resource [jee-container.xml]

2022-01-17 11:59:08,733 [main] INFO  o.s.b.f.a.AutowiredAnnotationBeanPostProcessor - JSR-330 'javax.inject.Inject' annotation found and supported for autowiring

2022-01-17 11:59:08,818 [main] INFO  o.r.spring.Red5ApplicationContext - setApplicationContext: org.springframework.context.support.FileSystemXmlApplicationContext@4d02f94e: startup date [Mon Jan 17 11:59:08 NZDT 2022]; root of context hierarchy

2022-01-17 11:59:08,819 [main] INFO  o.r.spring.Red5ApplicationContext - Red5ApplicationContext init

2022-01-17 11:59:08,822 [main] INFO  o.r.spring.Red5ApplicationContext - Refreshing ApplicationContext 'red5.common': startup date [Mon Jan 17 11:59:08 NZDT 2022]; parent: org.springframework.context.support.FileSystemXmlApplicationContext@4d02f94e

2022-01-17 11:59:08,822 [main] INFO  o.s.b.f.xml.XmlBeanDefinitionReader - Loading XML bean definitions from class path resource [red5-common.xml]

2022-01-17 11:59:09,015 [main] INFO  o.s.b.f.a.AutowiredAnnotationBeanPostProcessor - JSR-330 'javax.inject.Inject' annotation found and supported for autowiring

2022-01-17 11:59:09,134 [main] INFO  org.quartz.impl.StdSchedulerFactory - Using default implementation for ThreadExecutor

2022-01-17 11:59:09,155 [main] INFO  o.quartz.core.SchedulerSignalerImpl - Initialized Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl

2022-01-17 11:59:09,155 [main] INFO  org.quartz.core.QuartzScheduler - Quartz Scheduler v.2.2.3 created.

2022-01-17 11:59:09,157 [main] INFO  org.quartz.simpl.RAMJobStore - RAMJobStore initialized.

2022-01-17 11:59:09,158 [main] INFO  org.quartz.core.QuartzScheduler - Scheduler meta-data: Quartz Scheduler (v2.2.3) 'Red5_Scheduler' with instanceId 'NON_CLUSTERED'

  Scheduler class: 'org.quartz.core.QuartzScheduler' - running locally.

  NOT STARTED.

  Currently in standby mode.

  Number of jobs executed: 0

  Using thread pool 'org.quartz.simpl.SimpleThreadPool' - with 6 threads.

  Using job-store 'org.quartz.simpl.RAMJobStore' - which does not support persistence. and is not clustered.


2022-01-17 11:59:09,159 [main] INFO  org.quartz.impl.StdSchedulerFactory - Quartz scheduler 'Red5_Scheduler' initialized from the specified file : '/usr/local/antmedia/conf/quartz.properties'

2022-01-17 11:59:09,159 [main] INFO  org.quartz.impl.StdSchedulerFactory - Quartz scheduler version: 2.2.3

2022-01-17 11:59:09,160 [main] INFO  org.quartz.core.QuartzScheduler - Scheduler Red5_Scheduler_$_NON_CLUSTERED started.

2022-01-17 11:59:09,652 [main] INFO  o.s.s.c.ThreadPoolTaskScheduler - Initializing ExecutorService 'org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler#7e928e2f'

2022-01-17 11:59:10,287 [main] WARN  i.antmedia.statistic.StatsCollector - Starting heartbeats for the version:2.4.1 and type:Community

2022-01-17 11:59:10,338 [main] INFO  o.s.j.e.a.AnnotationMBeanExporter - Registering beans for JMX exposure on startup

2022-01-17 11:59:10,339 [main] INFO  o.s.j.e.a.AnnotationMBeanExporter - Bean with name 'schedulingService' has been autodetected for JMX exposure

2022-01-17 11:59:10,339 [main] INFO  o.s.j.e.a.AnnotationMBeanExporter - Bean with name 'clientBroadcastStream' has been autodetected for JMX exposure

2022-01-17 11:59:10,473 [main] INFO  o.s.j.e.a.AnnotationMBeanExporter - Located MBean 'schedulingService': registering with JMX server as MBean [org.red5.server:name=schedulingService,type=QuartzSchedulingService]

2022-01-17 11:59:10,484 [main] INFO  o.r.spring.Red5ApplicationContext - setApplicationContext: org.springframework.context.support.FileSystemXmlApplicationContext@4d02f94e: startup date [Mon Jan 17 11:59:08 NZDT 2022]; root of context hierarchy

2022-01-17 11:59:10,485 [main] INFO  o.r.spring.Red5ApplicationContext - Red5ApplicationContext init

2022-01-17 11:59:10,485 [main] INFO  o.r.spring.Red5ApplicationContext - Refreshing ApplicationContext 'red5.core': startup date [Mon Jan 17 11:59:10 NZDT 2022]; parent: ApplicationContext 'red5.common'

2022-01-17 11:59:10,485 [main] INFO  o.s.b.f.xml.XmlBeanDefinitionReader - Loading XML bean definitions from class path resource [red5-core.xml]

2022-01-17 11:59:10,566 [main] INFO  o.s.s.c.ThreadPoolTaskScheduler - Initializing ExecutorService 'rtmpScheduler'

2022-01-17 11:59:10,576 [main] INFO  o.s.s.c.ThreadPoolTaskExecutor - Initializing ExecutorService 'messageExecutor'

2022-01-17 11:59:10,577 [main] INFO  o.s.s.c.ThreadPoolTaskScheduler - Initializing ExecutorService 'deadlockGuardScheduler'

2022-01-17 11:59:10,633 [main] INFO  o.r.s.net.rtmp.RTMPMinaTransport - RTMP will be bound to [0.0.0.0:1935]

2022-01-17 11:59:10,634 [main] INFO  o.r.s.net.rtmp.RTMPMinaTransport - RTMP Mina Transport Settings

Acceptor style: default I/O threads: 16

TCP no-delay: true keep-alive: false

2022-01-17 11:59:10,668 [main] INFO  o.r.s.net.rtmp.RTMPMinaTransport - Traffic class modification is disabled

2022-01-17 11:59:10,669 [main] INFO  o.r.s.net.rtmp.RTMPMinaTransport - Send buffer size: 65536 recv buffer size: 65536 so linger: -1 traffic class: 0

2022-01-17 11:59:10,733 [main] INFO  org.red5.server.ContextLoader - ContextLoader init

2022-01-17 11:59:10,746 [main] INFO  org.red5.server.ContextLoader - Loading: default.context = ${red5.root}/webapps/red5-default.xml => /usr/local/antmedia/webapps/red5-default.xml

2022-01-17 11:59:10,747 [main] INFO  o.s.c.s.FileSystemXmlApplicationContext - Refreshing org.springframework.context.support.FileSystemXmlApplicationContext@5d1e0fbb: startup date [Mon Jan 17 11:59:10 NZDT 2022]; parent: ApplicationContext 'red5.common'

2022-01-17 11:59:10,748 [main] INFO  o.s.b.f.xml.XmlBeanDefinitionReader - Loading XML bean definitions from URL [file:/usr/local/antmedia/webapps/red5-default.xml]

2022-01-17 11:59:10,892 [main] INFO  org.red5.server.Context - Setting parent bean factory as core

2022-01-17 11:59:10,930 [main] INFO  org.red5.server.tomcat.WarDeployer - War deployer service created

2022-01-17 11:59:10,936 [main] INFO  org.red5.server.tomcat.WarDeployer - Starting WarDeployer

2022-01-17 11:59:10,937 [main] INFO  org.red5.server.tomcat.WarDeployer - Deploy wars without app start

2022-01-17 11:59:11,073 [main] INFO  org.red5.server.tomcat.TomcatLoader - Loading Tomcat

2022-01-17 11:59:11,074 [main] INFO  org.red5.server.tomcat.TomcatLoader - Server root: /usr/local/antmedia

2022-01-17 11:59:11,074 [main] INFO  org.red5.server.tomcat.TomcatLoader - Config root: /usr/local/antmedia/conf

2022-01-17 11:59:11,108 [main] INFO  org.red5.server.tomcat.TomcatLoader - Application root: /usr/local/antmedia/webapps

2022-01-17 11:59:11,333 [main] INFO  org.red5.server.tomcat.TomcatLoader - Starting Tomcat servlet engine

2022-01-17 11:59:11,613 [main] INFO  o.a.c.core.AprLifecycleListener - The Apache Tomcat Native library which allows using OpenSSL was not found on the java.library.path: [/usr/local/antmedia/lib/native-linux-x86_64:/usr/local/antmedia/lib/native]

2022-01-17 11:59:11,623 [main] INFO  o.a.c.http11.Http11Nio2Protocol - Initializing ProtocolHandler ["http-nio2-0.0.0.0-5080"]

2022-01-17 11:59:11,685 [main] INFO  o.a.coyote.http11.Http11NioProtocol - Initializing ProtocolHandler ["https-jsse-nio-0.0.0.0-5443"]

2022-01-17 11:59:11,950 [main] ERROR o.a.catalina.core.StandardService - Failed to initialize connector [Connector[HTTP/1.1-5443]]

org.apache.catalina.LifecycleException: Protocol handler initialization failed

at org.apache.catalina.connector.Connector.initInternal(Connector.java:1077)

at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:136)

at org.apache.catalina.core.StandardService.initInternal(StandardService.java:557)

at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:136)

at org.apache.catalina.core.StandardServer.initInternal(StandardServer.java:850)

at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:136)

at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:173)

at org.apache.catalina.startup.Tomcat.start(Tomcat.java:440)

at org.red5.server.tomcat.TomcatLoader.start(TomcatLoader.java:450)

at org.red5.server.tomcat.TomcatLoader.afterPropertiesSet(TomcatLoader.java:183)

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1677)

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1615)

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:553)

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:481)

at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:312)

at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)

at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:308)

at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:220)

at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveNamedBean(DefaultListableBeanFactory.java:1015)

at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBean(DefaultListableBeanFactory.java:345)

at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBean(DefaultListableBeanFactory.java:340)

at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1094)

at org.red5.server.service.ShutdownServer.afterPropertiesSet(ShutdownServer.java:118)

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1677)

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1615)

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:553)

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:481)

at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:312)

at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)

at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:308)

at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)

at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:757)

at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:867)

at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:542)

at org.red5.server.Launcher.launch(Launcher.java:95)

at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.base/java.lang.reflect.Method.invoke(Method.java:566)

at org.red5.server.Bootstrap.bootStrap(Bootstrap.java:91)

at org.red5.server.Bootstrap.main(Bootstrap.java:48)

Caused by: java.lang.IllegalArgumentException: /usr/local/antmedia/conf/keystore.jks (No such file or directory)

at org.apache.tomcat.util.net.AbstractJsseEndpoint.createSSLContext(AbstractJsseEndpoint.java:100)

at org.apache.tomcat.util.net.AbstractJsseEndpoint.initialiseSsl(AbstractJsseEndpoint.java:72)

at org.apache.tomcat.util.net.NioEndpoint.bind(NioEndpoint.java:247)

at org.apache.tomcat.util.net.AbstractEndpoint.init(AbstractEndpoint.java:1147)

at org.apache.tomcat.util.net.AbstractJsseEndpoint.init(AbstractJsseEndpoint.java:222)

at org.apache.coyote.AbstractProtocol.init(AbstractProtocol.java:599)

at org.apache.coyote.http11.AbstractHttp11Protocol.init(AbstractHttp11Protocol.java:80)

at org.apache.catalina.connector.Connector.initInternal(Connector.java:1074)

... 40 common frames omitted

Caused by: java.io.FileNotFoundException: /usr/local/antmedia/conf/keystore.jks (No such file or directory)

at java.base/java.io.FileInputStream.open0(Native Method)

at java.base/java.io.FileInputStream.open(FileInputStream.java:219)

at java.base/java.io.FileInputStream.<init>(FileInputStream.java:157)

at java.base/java.io.FileInputStream.<init>(FileInputStream.java:112)

at java.base/sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:86)

at java.base/sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:184)

at org.apache.tomcat.util.file.ConfigFileLoader.getInputStream(ConfigFileLoader.java:98)

at org.apache.tomcat.util.net.SSLUtilBase.getStore(SSLUtilBase.java:196)

at org.apache.tomcat.util.net.SSLHostConfigCertificate.getCertificateKeystore(SSLHostConfigCertificate.java:207)

at org.apache.tomcat.util.net.SSLUtilBase.getKeyManagers(SSLUtilBase.java:281)

at org.apache.tomcat.util.net.SSLUtilBase.createSSLContext(SSLUtilBase.java:245)

at org.apache.tomcat.util.net.AbstractJsseEndpoint.createSSLContext(AbstractJsseEndpoint.java:98)

... 47 common frames omitted

2022-01-17 11:59:11,986 [main] INFO  o.a.catalina.core.StandardService - Starting service [Tomcat]

2022-01-17 11:59:11,987 [main] INFO  o.a.catalina.core.StandardEngine - Starting Servlet engine: [Apache Tomcat/8.5.69]

2022-01-17 11:59:12,156 [0.0.0.0-startStop-1] INFO  o.a.catalina.loader.WebappLoader - Unknown loader jdk.internal.loader.ClassLoaders$AppClassLoader@277050dc class jdk.internal.loader.ClassLoaders$AppClassLoader

2022-01-17 11:59:12,233 [0.0.0.0-startStop-1] INFO  o.a.catalina.startup.ContextConfig - No global web.xml found

2022-01-17 11:59:12,414 [0.0.0.0-startStop-1] INFO  o.a.c.c.C.[.[0.0.0.0].[/] - No Spring WebApplicationInitializer types detected on classpath

2022-01-17 11:59:12,474 [0.0.0.0-startStop-1] INFO  ROOT - Starting up context: root

2022-01-17 11:59:13,565 [0.0.0.0-startStop-1] ERROR o.g.j.s.s.SpringComponentProvider - Spring context lookup failed, skipping spring component provider initialization.

2022-01-17 11:59:14,141 [0.0.0.0-startStop-1] INFO  o.a.catalina.loader.WebappLoader - Unknown loader jdk.internal.loader.ClassLoaders$AppClassLoader@277050dc class jdk.internal.loader.ClassLoaders$AppClassLoader

2022-01-17 11:59:14,245 [0.0.0.0-startStop-1] INFO  o.a.c.c.C.[.[0.0.0.0].[/WebRTCApp] - No Spring WebApplicationInitializer types detected on classpath

2022-01-17 11:59:14,260 [0.0.0.0-startStop-1] INFO  ROOT - Starting up context: WebRTCApp

2022-01-17 11:59:14,417 [0.0.0.0-startStop-1] ERROR o.g.j.s.s.SpringComponentProvider - Spring context lookup failed, skipping spring component provider initialization.

2022-01-17 11:59:14,555 [0.0.0.0-startStop-1] INFO  o.a.catalina.loader.WebappLoader - Unknown loader jdk.internal.loader.ClassLoaders$AppClassLoader@277050dc class jdk.internal.loader.ClassLoaders$AppClassLoader

2022-01-17 11:59:14,637 [0.0.0.0-startStop-1] INFO  o.a.c.c.C.[.[0.0.0.0].[/LiveApp] - No Spring WebApplicationInitializer types detected on classpath

2022-01-17 11:59:14,640 [0.0.0.0-startStop-1] INFO  ROOT - Starting up context: LiveApp

2022-01-17 11:59:14,811 [0.0.0.0-startStop-1] ERROR o.g.j.s.s.SpringComponentProvider - Spring context lookup failed, skipping spring component provider initialization.

2022-01-17 11:59:15,011 [main] INFO  o.a.c.http11.Http11Nio2Protocol - Starting ProtocolHandler ["http-nio2-0.0.0.0-5080"]

2022-01-17 11:59:15,016 [main] INFO  org.red5.server.tomcat.TomcatLoader - Context initialized:  path: /usr/local/antmedia/webapps/root/

2022-01-17 11:59:15,018 [main] INFO  org.red5.server.tomcat.TomcatLoader - Context initialized: /WebRTCApp path: /usr/local/antmedia/webapps/WebRTCApp/

2022-01-17 11:59:15,018 [main] INFO  org.red5.server.tomcat.TomcatLoader - Context initialized: /LiveApp path: /usr/local/antmedia/webapps/LiveApp/

2022-01-17 11:59:15,019 [main] INFO  org.red5.server.tomcat.TomcatLoader - Dedicated RTMPT server configuration was not specified

2022-01-17 11:59:15,022 [main] INFO  o.r.server.service.ShutdownServer - JEE server was found: TomcatLoader [serviceEngineName=red5Engine]

2022-01-17 11:59:15,038 [Loader:] INFO  o.s.w.c.s.XmlWebApplicationContext - Refreshing Root WebApplicationContext: startup date [Mon Jan 17 11:59:15 NZDT 2022]; parent: org.springframework.context.support.FileSystemXmlApplicationContext@5d1e0fbb

2022-01-17 11:59:15,045 [Loader:] INFO  o.s.b.f.xml.XmlBeanDefinitionReader - Loading XML bean definitions from ServletContext resource [/WEB-INF/red5-web.xml]

2022-01-17 11:59:15,324 [Loader:] INFO  o.s.b.f.a.AutowiredAnnotationBeanPostProcessor - JSR-330 'javax.inject.Inject' annotation found and supported for autowiring

2022-01-17 11:59:15,363 [Loader:] INFO  org.red5.server.Context - Setting parent bean factory as core

2022-01-17 11:59:15,469 [Loader:] INFO  org.red5.server.scope.WebScope - Set server [server@71a00cb5map[[empty]]]

2022-01-17 11:59:15,478 [Loader:] INFO  org.red5.server.scope.Scope - Scope null name reset to:  disallowed

2022-01-17 11:59:15,485 [Loader:] INFO  org.red5.server.Server - Add mapping global: default host:  context: null

2022-01-17 11:59:15,486 [Loader:] INFO  org.red5.server.scope.Scope - Invalid scope name, null is not allowed

2022-01-17 11:59:15,486 [Loader:] WARN  org.red5.server.scope.Scope - Invalid scope rejected: Scope [name=null, path=/default, type=APPLICATION, autoStart=true, creationTime=1642373955365, depth=1, enabled=true, running=false]

2022-01-17 11:59:15,521 [Loader:] WARN  org.red5.server.scope.Scope - Scope not added to parent

2022-01-17 11:59:15,522 [Loader:] INFO  org.red5.server.scope.WebScope - Webscope already registered; remove the 'init-method' from your 'web.scope' bean to prevent this message in the future.

2022-01-17 11:59:15,589 [Loader:/WebRTCApp] INFO  o.s.w.c.s.XmlWebApplicationContext - Refreshing Root WebApplicationContext: startup date [Mon Jan 17 11:59:15 NZDT 2022]; parent: org.springframework.context.support.FileSystemXmlApplicationContext@5d1e0fbb

2022-01-17 11:59:15,590 [Loader:/WebRTCApp] INFO  o.s.b.f.xml.XmlBeanDefinitionReader - Loading XML bean definitions from ServletContext resource [/WEB-INF/red5-web.xml]

2022-01-17 11:59:15,727 [Loader:/WebRTCApp] INFO  o.s.b.f.a.AutowiredAnnotationBeanPostProcessor - JSR-330 'javax.inject.Inject' annotation found and supported for autowiring

2022-01-17 11:59:15,811 [Loader:/WebRTCApp] INFO  org.red5.server.Context - Setting parent bean factory as core

2022-01-17 11:59:16,340 [Loader:/WebRTCApp] INFO  i.a.datastore.db.DataStoreFactory - Used Datastore:mapdb  db name:webrtcapp

2022-01-17 11:59:16,374 [Loader:/WebRTCApp] INFO  org.red5.server.scope.WebScope - Set server [server@71a00cb5map['/' -> 'default']]

2022-01-17 11:59:16,380 [Loader:/WebRTCApp] INFO  org.red5.server.Server - Add mapping global: default host:  context: WebRTCApp

2022-01-17 11:59:16,386 [Loader:/WebRTCApp] INFO  i.a.AntMediaApplicationAdapter - Delete the ".closed" file in WebRTCApp

2022-01-17 11:59:16,397 [Loader:/WebRTCApp] INFO  i.a.AntMediaApplicationAdapter - WebRTCApp started

2022-01-17 11:59:16,405 [vert.x-eventloop-thread-3] INFO  i.a.AntMediaApplicationAdapter - Stream source size: 0

2022-01-17 11:59:16,406 [vert.x-eventloop-thread-3] INFO  i.a.s.StreamFetcherManager - StreamFetcherSchedule job name 4

2022-01-17 11:59:16,407 [vert.x-eventloop-thread-3] INFO  i.a.AntMediaApplicationAdapter - socialEndpoints size: 0

2022-01-17 11:59:16,470 [Loader:/LiveApp] INFO  o.s.w.c.s.XmlWebApplicationContext - Refreshing Root WebApplicationContext: startup date [Mon Jan 17 11:59:16 NZDT 2022]; parent: org.springframework.context.support.FileSystemXmlApplicationContext@5d1e0fbb

2022-01-17 11:59:16,472 [Loader:/LiveApp] INFO  o.s.b.f.xml.XmlBeanDefinitionReader - Loading XML bean definitions from ServletContext resource [/WEB-INF/red5-web.xml]

2022-01-17 11:59:16,627 [Loader:/LiveApp] INFO  o.s.b.f.a.AutowiredAnnotationBeanPostProcessor - JSR-330 'javax.inject.Inject' annotation found and supported for autowiring

2022-01-17 11:59:16,669 [Loader:/LiveApp] INFO  org.red5.server.Context - Setting parent bean factory as core

2022-01-17 11:59:16,678 [Loader:/LiveApp] INFO  i.a.datastore.db.DataStoreFactory - Used Datastore:mapdb  db name:liveapp

2022-01-17 11:59:16,682 [Loader:/LiveApp] INFO  org.red5.server.scope.WebScope - Set server [server@71a00cb5map['/WebRTCApp' -> 'default', '/' -> 'default']]

2022-01-17 11:59:16,683 [Loader:/LiveApp] INFO  org.red5.server.Server - Add mapping global: default host:  context: LiveApp

2022-01-17 11:59:16,683 [Loader:/LiveApp] INFO  i.a.AntMediaApplicationAdapter - Delete the ".closed" file in LiveApp

2022-01-17 11:59:16,685 [Loader:/LiveApp] INFO  i.a.AntMediaApplicationAdapter - LiveApp started

2022-01-17 11:59:16,695 [vert.x-eventloop-thread-6] INFO  i.a.AntMediaApplicationAdapter - Stream source size: 0

2022-01-17 11:59:16,696 [vert.x-eventloop-thread-6] INFO  i.a.s.StreamFetcherManager - StreamFetcherSchedule job name 9

2022-01-17 11:59:16,696 [vert.x-eventloop-thread-6] INFO  i.a.AntMediaApplicationAdapter - socialEndpoints size: 0

2022-01-17 12:00:10,937 [pool-5-thread-1] INFO  org.red5.server.tomcat.WarDeployer - Deploy wars with app start

2022-01-17 12:04:11,293 [vert.x-eventloop-thread-0] INFO  i.antmedia.statistic.StatsCollector - System cpu load:0 process cpu load:0 available memory: 14868112 KB used memory(RSS): 637452 KB

2022-01-17 12:04:11,299 [vert.x-eventloop-thread-0] INFO  i.antmedia.statistic.StatsCollector - Vertx worker queue size:0 WebRTCVertx worker queue size:0

2022-01-17 12:05:42,640 [Thread-7] INFO  i.a.AntMediaApplicationAdapter - WebRTCApp is closing streams

2022-01-17 12:05:42,645 [Thread-7] INFO  i.a.AntMediaApplicationAdapter - Closed file created in WebRTCApp

2022-01-17 12:05:42,650 [Thread-7] INFO  i.a.AntMediaApplicationAdapter - LiveApp is closing streams

2022-01-17 12:05:42,652 [Thread-7] INFO  i.a.AntMediaApplicationAdapter - Closed file created in LiveApp






Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share


×
×
  • Create New...