No Scope found, after some time the application starts

430 views
Skip to first unread message

Yamakasi

unread,
Sep 10, 2014, 5:25:17 AM9/10/14
to red5in...@googlegroups.com
HI All,

On 1.0.3 I have a strange issue comparing to my earlier topic.

It seems that when I start Red5 there is no scope found for my application (which actually works on 1.0.2).

Now once my app just started AFTER it first said the scope was not found.

I don't know why this happens, is there something changed on 1.0.3 ?

[INFO] [main] org.red5.server.Context - Setting parent bean factory as core
[INFO] [main] org.red5.server.tomcat.TomcatLoader - Loading tomcat
[INFO] [main] org.red5.server.tomcat.TomcatLoader - Server root: /opt/red5-server
[INFO] [main] org.red5.server.tomcat.TomcatLoader - Config root: /opt/red5-server/conf
[INFO] [main] org.red5.server.tomcat.TomcatLoader - Application root: /opt/red5-server/webapps
[INFO] [main] org.red5.server.tomcat.TomcatLoader - Starting Tomcat servlet engine
[INFO] [main] org.apache.catalina.core.AprLifecycleListener - The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/java/packages/lib/amd64:/usr/lib/x86_64-linux-gnu/jni:/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu:/usr/lib/jni:/lib:/usr/lib
[INFO] [main] org.apache.coyote.http11.Http11NioProtocol - Initializing ProtocolHandler ["http-nio-0.0.0.0-5080"]
[INFO] [main] org.apache.tomcat.util.net.NioSelectorPool - Using a shared selector for servlet write/read
[INFO] [main] org.apache.catalina.startup.Embedded - Starting tomcat server
[INFO] [main] org.apache.catalina.core.StandardEngine - Starting Servlet Engine: Apache Tomcat/7.0.55
[WARN] [RTMPExecutor#I81HPW4HTPVAA-1] org.red5.server.net.rtmp.RTMPHandler - Scope MyApplicationName/ not found
[INFO] [RTMPExecutor#I81HPW4HTPVAA-1] org.red5.server.net.rtmp.RTMPHandler - No application scope found for MyApplicationName/ on host xxx.xxx.xxx.xxx
[WARN] [RTMPExecutor#I81HPW4HTPVAA-1] org.red5.server.net.rtmp.RTMPConnManager - Connection not found for I81HPW4HTPVAA
[INFO] [0.0.0.0-startStop-1] org.apache.catalina.core.ContainerBase.[red5Engine].[0.0.0.0].[/MyApplicationName] - No Spring WebApplicationInitializer types detected on classpath
[WARN] [RTMPExecutor#EYO7CMKHFZPKW-1] org.red5.server.net.rtmp.RTMPHandler - Scope MyApplicationName/ not found
[INFO] [RTMPExecutor#EYO7CMKHFZPKW-1] org.red5.server.net.rtmp.RTMPHandler - No application scope found for MyApplicationName/ on host xxx.xxx.xxx.xxx
[WARN] [NioProcessor-3] org.red5.server.net.rtmp.RTMPConnManager - Connection not found for EYO7CMKHFZPKW
[WARN] [NioProcessor-3] org.red5.server.net.rtmp.RTMPMinaIoHandler - Destination connection was null, it is already disposed. Session id: EYO7CMKHFZPKW
[WARN] [NioProcessor-3] org.red5.server.net.rtmp.RTMPConnManager - Connection not found for EYO7CMKHFZPKW
[WARN] [RTMPExecutor#FNTSUEO5VABL3-1] org.red5.server.net.rtmp.RTMPHandler - Scope MyApplicationName/ not found
[INFO] [RTMPExecutor#FNTSUEO5VABL3-1] org.red5.server.net.rtmp.RTMPHandler - No application scope found for MyApplicationName/ on host xxx.xxx.xxx.xxx
[WARN] [NioProcessor-4] org.red5.server.net.rtmp.RTMPConnManager - Connection not found for FNTSUEO5VABL3
[WARN] [NioProcessor-4] org.red5.server.net.rtmp.RTMPMinaIoHandler - Destination connection was null, it is already disposed. Session id: FNTSUEO5VABL3
[WARN] [NioProcessor-4] org.red5.server.net.rtmp.RTMPConnManager - Connection not found for FNTSUEO5VABL3
[INFO] [0.0.0.0-startStop-1] org.apache.catalina.util.SessionIdGenerator - Creation of SecureRandom instance for session ID generation using [SHA1PRNG] took [78,669] milliseconds.
[INFO] [main] org.apache.coyote.http11.Http11NioProtocol - Starting ProtocolHandler ["http-nio-0.0.0.0-5080"]
[INFO] [main] org.red5.server.tomcat.TomcatLoader - Dedicated RTMPT server configuration was not specified
[INFO] [main] org.red5.server.ContextLoader - JEE server was found: TomcatLoader [serviceEngineName=red5Engine]
[INFO] [Launcher:/MyApplicationName] org.springframework.web.context.support.XmlWebApplicationContext - Refreshing Root WebApplicationContext: startup date [Wed Sep 10 11:09:04 CEST 2014]; parent: org.springframework.context.support.FileSystemXmlApplicationContext@21d20d34
[INFO] [main] org.red5.net.websocket.WebSocketPlugin - WebSocketPlugin ctor
[INFO] [main] org.red5.net.websocket.WebSocketPlugin - WebSocketPlugin start
[INFO] [main] org.red5.server.plugin.PluginLauncher - Loaded plugin: org.red5.net.websocket.WebSocketPlugin
[INFO] [main] org.red5.net.websocket.WebSocketTransport - WebSocket will be bound to [localhost:8081]
[INFO] [Launcher:/MyApplicationName] org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from ServletContext resource [/WEB-INF/red5-web.xml]
[INFO] [main] org.red5.net.websocket.WebSocketTransport - started  websocket transport
Bootstrap complete
Bootstrap exit
[INFO] [Launcher:/MyApplicationName] org.springframework.beans.factory.config.PropertyPlaceholderConfigurer - Loading properties file from ServletContext resource [/WEB-INF/red5-web.properties]
[INFO] [Launcher:/MyApplicationName] org.red5.server.Context - Setting parent bean factory as core
[INFO] [Launcher:/MyApplicationName] org.red5.server.scope.WebScope - Set server [Server@4d26b094map[[empty]]]
[INFO] [Launcher:/MyApplicationName] org.red5.server.Server - Add mapping global: default host:  context: MyApplicationName
[INFO] [RTMPExecutor#ELRUBCG10V1PA-1] Auth.Application - W3C x-category:session x-event:connect c-ip: xxx.xxx.xxx.xxx c-client-id:0
[INFO] [RTMPExecutor#ELRUBCG10V1PA-1] org.red5.server.net.rtmp.RTMPConnection - Client rejected, reason: status
[WARN] [NioProcessor-5] org.red5.server.net.rtmp.RTMPConnManager - Connection not found for ELRUBCG10V1PA

Yamakasi

unread,
Sep 10, 2014, 5:39:38 AM9/10/14
to red5in...@googlegroups.com
Update:

After about 10 minutes the application is finally found it seems and my Auth class works:


[INFO] [main] org.apache.coyote.http11.Http11NioProtocol - Starting ProtocolHandler ["http-nio-0.0.0.0-5080"]
[INFO] [main] org.red5.server.tomcat.TomcatLoader - Dedicated RTMPT server configuration was not specified
[INFO] [main] org.red5.server.ContextLoader - JEE server was found: TomcatLoader [serviceEngineName=red5Engine]
[INFO] [main] org.red5.net.websocket.WebSocketPlugin - WebSocketPlugin ctor
[INFO] [main] org.red5.net.websocket.WebSocketPlugin - WebSocketPlugin start
[INFO] [main] org.red5.server.plugin.PluginLauncher - Loaded plugin: org.red5.net.websocket.WebSocketPlugin
[INFO] [Launcher:/WebCamRecorder] org.springframework.web.context.support.XmlWebApplicationContext - Refreshing Root WebApplicationContext: startup date [Wed Sep 10 11:25:25 CEST 2014]; parent: org.springframework.context.support.FileSystemXmlApplicationContext@cce6203

[INFO] [main] org.red5.net.websocket.WebSocketTransport - WebSocket will be bound to [localhost:8081]
[INFO] [Launcher:/MyApplicationName] org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from ServletContext resource [/WEB-INF/red5-web.xml]
[INFO] [main] org.red5.net.websocket.WebSocketTransport - started  websocket transport
Bootstrap complete
Bootstrap exit
[INFO] [Launcher:/MyApplicationName] org.springframework.beans.factory.config.PropertyPlaceholderConfigurer - Loading properties file from ServletContext resource [/WEB-INF/red5-web.properties]
[INFO] [Launcher:/MyApplicationName] org.red5.server.Context - Setting parent bean factory as core
[INFO] [Launcher:/MyApplicationName] org.red5.server.scope.WebScope - Set server [Server@1fcdd1afmap[[empty]]]

[INFO] [Launcher:/MyApplicationName] org.red5.server.Server - Add mapping global: default host:  context: MyApplicationName

I'm kinda lost here.


Op woensdag 10 september 2014 11:25:17 UTC+2 schreef Yamakasi:

Mondain

unread,
Sep 10, 2014, 9:04:37 AM9/10/14
to red5in...@googlegroups.com
I don't see an error, you may need to increase the log level and also add additional logging to the "MyApplicationName" app class.

--

---
You received this message because you are subscribed to the Google Groups "red5" group.
To unsubscribe from this group and stop receiving emails from it, send an email to red5interest...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
http://gregoire.org/
http://code.google.com/p/red5/

Yamakasi

unread,
Sep 10, 2014, 9:30:29 AM9/10/14
to red5in...@googlegroups.com
A webbapp that runs fine on 1.0.2 should do on 1.0.3 ?

How should I higher up the debug level ? I run red5-debug at the moment.

/sorry for the "n00b" questions, this was devved before and now redevved and installed with the great 1.0.3 work.



Op woensdag 10 september 2014 15:04:37 UTC+2 schreef Mondain:

Mondain

unread,
Sep 10, 2014, 3:49:55 PM9/10/14
to red5in...@googlegroups.com
Read this https://code.google.com/p/red5/wiki/Logger and it will tell you about the logger; what I meant by debug was to increase the logging level of your application, so that we can see what is failing. 

Yamakasi

unread,
Sep 11, 2014, 9:13:33 AM9/11/14
to red5in...@googlegroups.com
I've done that, still the scope issues or a very slow "start" of the webapp and when it's registered there is still an issue it seems.

I'm thinking about going back to 1.0.2 as this was very stable.

2014-09-11 14:43:57,538 [main] INFO  o.r.net.websocket.WebSocketPlugin - WebSocketPlugin start
2014-09-11 14:43:57,538 [main] INFO  o.red5.server.plugin.PluginLauncher - Loaded plugin: org.red5.net.websocket.WebSocketPlugin
2014-09-11 14:43:57,546 [Launcher:/MyApplicationName] INFO  o.s.b.f.xml.XmlBeanDefinitionReader - Loading XML bean definitions from ServletContext resource [/WEB-INF/red5-web.xml]
2014-09-11 14:43:57,552 [main] INFO  o.r.n.websocket.WebSocketTransport - WebSocket will be bound to [localhost:8081]
2014-09-11 14:43:57,572 [main] INFO  o.r.n.websocket.WebSocketTransport - started  websocket transport
2014-09-11 14:43:57,609 [Launcher:/MyApplicationName] INFO  o.s.b.f.c.PropertyPlaceholderConfigurer - Loading properties file from ServletContext resource [/WEB-INF/red5-web.properties]
2014-09-11 14:43:57,618 [Launcher:/MyApplicationName] INFO  org.red5.server.Context - Setting parent bean factory as core
2014-09-11 14:43:57,634 [Launcher:/MyApplicationName] INFO  org.red5.server.scope.WebScope - Set server [Server@1055df73map[[empty]]]
2014-09-11 14:43:57,645 [Launcher:/MyApplicationName] INFO  org.red5.server.Server - Add mapping global: default host:  context: MyApplicationName
2014-09-11 14:45:49,552 [RTMPExecutor#J3KULYRLBWN3P-1] INFO  Auth.Application - W3C x-category:session x-event:connect c-ip:xxx.xxx.xxx c-client-id:0
^C
root@rtmp-01:/# tail -f /opt/red5-server/log/startup.log
[INFO] [RMI TCP Connection(12)-127.0.0.1] org.springframework.context.support.DefaultLifecycleProcessor - Stopping beans in phase 0
[INFO] [RMI TCP Connection(12)-127.0.0.1] org.red5.net.websocket.WebSocketTransport - stopped  websocket transport
[INFO] [RMI TCP Connection(12)-127.0.0.1] org.red5.server.plugin.PluginRegistry - Destroying and cleaning up 1 plugins
[INFO] [RMI TCP Connection(12)-127.0.0.1] org.red5.server.tomcat.TomcatLoader - Shutting down Tomcat context
[WARN] [RMI TCP Connection(12)-127.0.0.1] org.red5.server.tomcat.TomcatApplicationContext - Spring context for /MyApplicationName was not found
[INFO] [RMI TCP Connection(12)-127.0.0.1] org.apache.coyote.http11.Http11NioProtocol - Stopping ProtocolHandler ["http-nio-0.0.0.0-5080"]
[INFO] [RMI TCP Connection(12)-127.0.0.1] org.red5.server.ContextLoader - ContextLoader un-init
[INFO] [RMI TCP Connection(12)-127.0.0.1] org.red5.server.ContextLoader - Shutting down server
[INFO] [RMI TCP Connection(12)-127.0.0.1] org.red5.server.plugin.PluginRegistry - Destroying and cleaning up 0 plugins
[INFO] [RMI TCP Connection(12)-127.0.0.1] org.springframework.context.support.FileSystemXmlApplicationContext - Closing org.springframework.context.support.FileSystemXmlApplicationContext@3e18134b: startup date [Thu Sep 11 10:17:15 CEST 2014]; parent: ApplicationContext 'red5.common'


Op woensdag 10 september 2014 21:49:55 UTC+2 schreef Mondain:

Mondain

unread,
Sep 11, 2014, 1:19:14 PM9/11/14
to red5in...@googlegroups.com
I'd suggest setting this in your conf/logback.xml and then posting your results; at INFO level everything looks ok / normal.

  <root>
    <level value="DEBUG"/>
    <appender-ref ref="CONSOLE"/>
    <appender-ref ref="FILE"/>
  </root>

or just use the attached version.
logback.xml

Yamakasi

unread,
Sep 11, 2014, 7:07:01 PM9/11/14
to red5in...@googlegroups.com
Hi,

Thanks, I wasn't aware of it because of lack of sleep.

On 1.0.2 Release and 1.0.3 release I still have the same issues, nothing strange in the logs, only what I showed above.

The 1.0.2 Snapshot is still very stable to me, can you tell me in more detail what does change in the versions between ?

My Webcam doesn't get intialized in my app on 1.0.2 / 3-RELEASE but on 1.0.2-SNAPSHOT it works flawlesly

Thanks Paul for all the help everytime! I owe you.

Matt

Op donderdag 11 september 2014 19:19:14 UTC+2 schreef Mondain:

Yamakasi

unread,
Sep 11, 2014, 8:00:15 PM9/11/14
to red5in...@googlegroups.com
OK, my last log on 1.0.2 SNAPSHOT on Ubuntu 14.04 tested with Java en OpenJDO 1.7.0_x gives me the following log.


[INFO] [Launcher:/MyApplicationName] org.springframework.web.context.support.XmlWebApplicationContext - Refreshing Root WebApplicationContext: startup date [Fri Sep 12 01:56:38 CEST 2014]; parent: org.springframework.context.support.FileSystemXmlApplicationContext@56809629

[INFO] [Launcher:/MyApplicationName] org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from ServletContext resource [/WEB-INF/red5-web.xml]
[INFO] [Launcher:/MyApplicationName] org.springframework.beans.factory.config.PropertyPlaceholderConfigurer - Loading properties file from ServletContext resource [/WEB-INF/red5-web.properties]
[INFO] [Launcher:/MyApplicationName] org.springframework.beans.factory.support.DefaultListableBeanFactory - Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@7b36f42a: defining beans [placeholderConfig,web.context,web.scope,web.handler]; parent: org.springframework.beans.factory.support.DefaultListableBeanFactory@2c922cc5

[INFO] [Launcher:/MyApplicationName] org.red5.server.Context - Setting parent bean factory as core
[INFO] [Launcher:/MyApplicationName] org.springframework.beans.factory.support.DefaultListableBeanFactory - Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@7b36f42a: defining beans [placeholderConfig,web.context,web.scope,web.handler]; parent: org.springframework.beans.factory.support.DefaultListableBeanFactory@2c922cc5
Exception in thread "Launcher:/MyApplicationName" java.lang.RuntimeException: Failed to load webapplication context class
        at org.red5.server.tomcat.TomcatLoader$1.run(TomcatLoader.java:611)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'web.scope' defined in ServletContext resource [/WEB-INF/red5-web.xml]: Cannot resolve reference to bean 'web.handler' while setting bean property 'handler'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'web.handler' defined in ServletContext resource [/WEB-INF/red5-web.xml]: Instantiation of bean failed; nested exception is java.lang.ExceptionInInitializerError
        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328)
        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1360)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1118)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:585)
        at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:913)
        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:464)
        at org.red5.server.tomcat.TomcatLoader$1.run(TomcatLoader.java:590)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'web.handler' defined in ServletContext resource [/WEB-INF/red5-web.xml]: Instantiation of bean failed; nested exception is java.lang.ExceptionInInitializerError
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:997)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:943)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:322)
        ... 13 more
Caused by: java.lang.ExceptionInInitializerError
        at Auth.Application.<clinit>(Application.java:42)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
        at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:147)
        at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:76)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:990)
        ... 21 more
Caused by: java.lang.NullPointerException
        at java.util.Properties$LineReader.readLine(Properties.java:434)
        at java.util.Properties.load0(Properties.java:353)
        at java.util.Properties.load(Properties.java:341)
        at Auth.ApplicationProperties.<clinit>(ApplicationProperties.java:13)
        ... 29 more

I'm out of options... even working copies don't work on new servers.

Never had this before.


Op vrijdag 12 september 2014 01:07:01 UTC+2 schreef Yamakasi:

Mondain

unread,
Sep 11, 2014, 8:20:12 PM9/11/14
to red5in...@googlegroups.com
Seems your properties file is missing? and this causes your Auth class to not start, which causes your MyApplication not to start and thus not be available on Red5.

Yamakasi

unread,
Sep 12, 2014, 3:06:01 AM9/12/14
to red5in...@googlegroups.com
The properties file is there, it's a webapp copy of the working 1.0.2 snapshot server.

I have ripped out everything in /webapps except the red5-default.xml, this should be OK as far as I know ?



Op vrijdag 12 september 2014 02:20:12 UTC+2 schreef Mondain:

Mondain

unread,
Sep 12, 2014, 7:46:44 AM9/12/14
to red5in...@googlegroups.com
This section indicates the main issue:
Caused by: java.lang.ExceptionInInitializerError
        at Auth.Application.<clinit>(Application.java:42)

        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
        at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:147)
        at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:76)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:990)
        ... 21 more
Caused by: java.lang.NullPointerException
        at java.util.Properties$LineReader.readLine(Properties.java:434)

        at java.util.Properties.load0(Properties.java:353)
        at java.util.Properties.load(Properties.java:341)
        at Auth.ApplicationProperties.<clinit>(ApplicationProperties.java:13)
        ... 29 more

Yamakasi

unread,
Sep 12, 2014, 11:42:42 AM9/12/14
to red5in...@googlegroups.com
Hi,

Yes, I solved that that was some compile/deploy/etc difference!

But it seems that 1.0.3 registers the Webscope much later (if it finally does it), the same for 1.0.2-RELEASE. the snapshot registers the webapp right away and my class is used perfectly.

I use mysql connector at the moment and on 1.0.3 and 0.2 it queries and noting else happens after it, 1.0.2-S does.

What has been changed here between versions?

Cheers,

Matt

Op vrijdag 12 september 2014 13:46:44 UTC+2 schreef Mondain:

Mondain

unread,
Sep 12, 2014, 5:40:35 PM9/12/14
to red5in...@googlegroups.com
To see changes between versions, you'd have to look through the commit logs on github. I don't believe there are any changes that I can recall that have anything to do with the start-up of apps for quite some time now. The spring versions havent changed much and neither has the embeded tomcat for that matter with regards to this whole thing. If you find some difference that modifies startup between the snapshot and 02 or 03, I'd be glad to look into it.

Yamakasi

unread,
Sep 12, 2014, 6:38:03 PM9/12/14
to red5in...@googlegroups.com
I wouldn't expect much changement there, only improvements but I see more people have issues between versions with quite simple apps.

I have time near between now and 2 weeks to look into that after we deployed our app fully. I'm willing to give you as much information if I can give you there.

It would be great if you are willing to have some overview already if "something" critical has been changed on purpose.

Cheers,

Mat

Op vrijdag 12 september 2014 23:40:35 UTC+2 schreef Mondain:

Yamakasi

unread,
Nov 12, 2014, 12:21:37 PM11/12/14
to red5in...@googlegroups.com
And again, without any Java changement at the moment I'm hitting this issue again:

[WARN] [RTMPExecutor#2Q6GYLNOABQ1O-1] org.red5.server.net.rtmp.RTMPHandler - Scope MyApp/ not found
[INFO] [RTMPExecutor#2Q6GYLNOABQ1O-1] org.red5.server.net.rtmp.RTMPHandler - No application scope found for MyApp/ on host xx.xx.xx.xx
[WARN] [RTMPExecutor#2Q6GYLNOABQ1O-1] org.red5.server.net.rtmp.RTMPConnManager - Connection not found for 2Q6GYLNOABQ1O

I run 1.0.3 now and I rebuild even my java app with all 1.0.3 libs, same issue.

I was testing as code and this happens...

I get back:

NetConnection.Connect.Closed

after my nc.connect()
...

Mondain

unread,
Nov 12, 2014, 1:27:17 PM11/12/14
to red5in...@googlegroups.com
If "MyApp" is not found:
1. The server has not loaded it yet (connect too early)
2. The "MyApp" instance failed to load

Check the logs and increase logging if the problem persists.

Yamakasi

unread,
Nov 12, 2014, 1:44:30 PM11/12/14
to red5in...@googlegroups.com
Paul, It finally loads, takes multiple seconds up to a minute or so... on 1.0.2 this is much faster.

Same application test on both servers... Why could this be slower ?
...

Yamakasi

unread,
Nov 12, 2014, 2:04:07 PM11/12/14
to red5in...@googlegroups.com
I need to say, all apps are slow starting, even the default ones.
...
Reply all
Reply to author
Forward
0 new messages