ashish-codeware / xuggle

Automatically exported from code.google.com/p/xuggle
0 stars 0 forks source link

server fails to start with latest red5 build #24

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. os windows xp
2. java ver 1.6
3.

What is the expected output? What do you see instead?
I run version 0.7 on same system fine. Latest build reports a context error
when server is starting and seems to die as there no further output when 
app accesses it. I start the server from a dos window to observe connection 
output info. Notice the log seems to show that context path directory 
syntax is wrong d:\root\ and then default.context = d:\red5/webapps/red5-
default.xml in another case.

Check labels below: Priority, OpSys, JVM, & Component.
urgent, windows xp, java 1.6

Attach relevant log/output files.
red5 log
[INFO] 2008-09-18 00:11:28,546 [main] o.r.server.Bootstrap - Red5 Server 
0.9.0-dev $Revision: 3020 $ (http://www.osflash.org/red5)
[INFO] 2008-09-18 00:11:28,609 [main] 
o.s.c.s.FileSystemXmlApplicationContext - Refreshing 
org.springframework.context.support.FileSystemXmlApplicationContext@1e893df
: display name 
[org.springframework.context.support.FileSystemXmlApplicationContext@1e893d
f]; startup date [Thu Sep 18 00:11:28 EDT 2008]; root of context hierarchy
[INFO] 2008-09-18 00:11:29,078 [main] 
o.s.c.s.FileSystemXmlApplicationContext - Bean factory for application 
context 
[org.springframework.context.support.FileSystemXmlApplicationContext@1e893d
f]: 
org.springframework.beans.factory.support.DefaultListableBeanFactory@7bb290
[INFO] 2008-09-18 00:11:29,140 [main] 
o.s.b.f.c.PropertyPlaceholderConfigurer - Loading properties file from 
class path resource [red5.properties]
[INFO] 2008-09-18 00:11:29,156 [main] o.s.b.f.s.DefaultListableBeanFactory 
- Pre-instantiating singletons in 
org.springframework.beans.factory.support.DefaultListableBeanFactory@7bb290
: defining beans 
[placeholderConfig,red5.common,red5.core,context.loader,tomcat.server]; 
root of factory hierarchy
[INFO] 2008-09-18 00:11:29,171 [main] 
o.s.c.s.FileSystemXmlApplicationContext - Refreshing 
org.springframework.context.support.FileSystemXmlApplicationContext@fb56b1: 
display name 
[org.springframework.context.support.FileSystemXmlApplicationContext@fb56b1
]; startup date [Thu Sep 18 00:11:29 EDT 2008]; root of context hierarchy
[INFO] 2008-09-18 00:11:29,234 [main] 
o.s.c.s.FileSystemXmlApplicationContext - Bean factory for application 
context 
[org.springframework.context.support.FileSystemXmlApplicationContext@fb56b1
]: 
org.springframework.beans.factory.support.DefaultListableBeanFactory@1c5f74
3
[INFO] 2008-09-18 00:11:29,281 [main] 
o.s.b.f.c.PropertyPlaceholderConfigurer - Loading properties file from 
class path resource [red5.properties]
[INFO] 2008-09-18 00:11:29,281 [main] o.s.b.f.s.DefaultListableBeanFactory 
- Pre-instantiating singletons in 
org.springframework.beans.factory.support.DefaultListableBeanFactory@1c5f74
3: defining beans 
[placeholderConfig,red5.server,jmxFactory,jmxAgent,serializer,deserializer,
statusObjectService,rtmpCodecFactory,remotingCodecFactory,videoCodecFactory
,streamableFileFactory,filePersistenceThread,sharedObjectService,streamServ
ice,providerService,consumerService,BWControlService,schedulingService,warD
eployService,remotingPool,remotingClient,object.cache,keyframe.cache,flv.im
pl,flvreader.impl,mp4reader.impl,mp3reader.impl,org.springframework.beans.f
actory.config.MethodInvokingFactoryBean#0,org.springframework.beans.factory
.config.MethodInvokingFactoryBean#1,streamExecutor,playlistSubscriberStream
,clientBroadcastStream]; root of factory hierarchy
[INFO] 2008-09-18 00:11:30,750 [main] o.r.s.s.WarDeployer - War deployer 
service created
[INFO] 2008-09-18 00:11:30,843 [main] 
o.s.c.s.FileSystemXmlApplicationContext - Refreshing 
org.springframework.context.support.FileSystemXmlApplicationContext@2798e7: 
display name 
[org.springframework.context.support.FileSystemXmlApplicationContext@2798e7
]; startup date [Thu Sep 18 00:11:30 EDT 2008]; parent: red5.common
[INFO] 2008-09-18 00:11:30,875 [main] 
o.s.c.s.FileSystemXmlApplicationContext - Bean factory for application 
context 
[org.springframework.context.support.FileSystemXmlApplicationContext@2798e7
]: 
org.springframework.beans.factory.support.DefaultListableBeanFactory@7f58ef
[INFO] 2008-09-18 00:11:30,890 [main] 
o.s.b.f.c.PropertyPlaceholderConfigurer - Loading properties file from 
class path resource [red5.properties]
[INFO] 2008-09-18 00:11:30,906 [main] o.s.b.f.s.DefaultListableBeanFactory 
- Pre-instantiating singletons in 
org.springframework.beans.factory.support.DefaultListableBeanFactory@7f58ef
: defining beans 
[customEditorConfigurer,placeholderConfig,rtmpMinaConnManager,rtmpHandler,r
tmpMinaIoHandler,rtmpTransport,rtmpMinaConnection,rtmptConnManager,rtmptHan
dler,rtmptServlet,rtmptConnection,rtmpt.server]; parent: 
org.springframework.beans.factory.support.DefaultListableBeanFactory@1c5f74
3
[INFO] 2008-09-18 00:11:30,937 [main] o.r.s.n.r.RTMPMinaTransport - RTMP 
Mina Transport Settings
[INFO] 2008-09-18 00:11:30,937 [main] o.r.s.n.r.RTMPMinaTransport - IO 
Threads: 2
[INFO] 2008-09-18 00:11:30,937 [main] o.r.s.n.r.RTMPMinaTransport - Event 
Threads - core: 16, max: 64, queue: 0, keepalive: 60
[INFO] 2008-09-18 00:11:30,953 [main] o.r.s.n.r.RTMPMinaTransport - TCP No 
Delay: true
[INFO] 2008-09-18 00:11:30,953 [main] o.r.s.n.r.RTMPMinaTransport - Receive 
Buffer Size: 65536
[INFO] 2008-09-18 00:11:30,953 [main] o.r.s.n.r.RTMPMinaTransport - Send 
Buffer Size: 271360
[INFO] 2008-09-18 00:11:30,984 [main] o.r.s.n.r.RTMPMinaTransport - RTMP 
Mina Transport bound to 0.0.0.0/0.0.0.0:1935
[INFO] 2008-09-18 00:11:31,031 [main] o.r.s.ContextLoader - Loading: 
default.context = d:\red5/webapps/red5-default.xml
[INFO] 2008-09-18 00:11:31,031 [main] 
o.s.c.s.FileSystemXmlApplicationContext - Refreshing 
org.springframework.context.support.FileSystemXmlApplicationContext@1dcc2a3
: display name 
[org.springframework.context.support.FileSystemXmlApplicationContext@1dcc2a
3]; startup date [Thu Sep 18 00:11:31 EDT 2008]; parent: red5.common
[INFO] 2008-09-18 00:11:31,062 [main] 
o.s.c.s.FileSystemXmlApplicationContext - Bean factory for application 
context 
[org.springframework.context.support.FileSystemXmlApplicationContext@1dcc2a
3]: 
org.springframework.beans.factory.support.DefaultListableBeanFactory@45c97b
[INFO] 2008-09-18 00:11:31,078 [main] o.s.b.f.s.DefaultListableBeanFactory 
- Pre-instantiating singletons in 
org.springframework.beans.factory.support.DefaultListableBeanFactory@45c97b
: defining beans 
[global.clientRegistry,global.serviceInvoker,global.mappingStrategy,global.
context,global.handler,global.scope,red5.scopeResolver]; parent: 
org.springframework.beans.factory.support.DefaultListableBeanFactory@1c5f74
3
[INFO] 2008-09-18 00:11:31,125 [main] o.red5.server.Server - Registering 
global scope: default
[INFO] 2008-09-18 00:11:31,125 [main] o.red5.server.Context - Setting 
parent bean factory as core
[INFO] 2008-09-18 00:11:31,125 [main] o.r.s.t.TomcatLoader - Init tomcat
[INFO] 2008-09-18 00:11:31,125 [main] o.r.s.t.TomcatLoader - Server root: 
d:\red5
[INFO] 2008-09-18 00:11:31,125 [main] o.r.s.t.TomcatLoader - Config root: 
d:/red5/conf
[INFO] 2008-09-18 00:11:31,343 [main] o.r.s.t.TomcatLoader - Setting 
connector: org.apache.catalina.connector.Connector
[INFO] 2008-09-18 00:11:31,343 [main] o.r.s.t.TomcatLoader - Loading tomcat 
context
[INFO] 2008-09-18 00:11:31,359 [main] o.r.s.t.TomcatLoader - Application 
root: d:\red5/webapps
[INFO] 2008-09-18 00:11:31,437 [main] o.r.s.t.TomcatLoader - Starting 
Tomcat servlet engine
[INFO] 2008-09-18 00:11:31,437 [main] o.a.c.s.Embedded - Starting tomcat 
server
[INFO] 2008-09-18 00:11:31,531 [main] o.a.c.c.StandardEngine - Starting 
Servlet Engine: Apache Tomcat/6.0.16
[INFO] 2008-09-18 00:11:32,281 [main] o.a.t.u.n.NioSelectorPool - Using a 
shared selector for servlet write/read
[INFO] 2008-09-18 00:11:32,281 [main] o.a.c.h.Http11NioProtocol - 
Initializing Coyote HTTP/1.1 on http-80
[INFO] 2008-09-18 00:11:32,312 [main] o.a.c.h.Http11NioProtocol - Starting 
Coyote HTTP/1.1 on http-80
[INFO] 2008-09-18 00:11:32,375 [main] 
o.s.b.f.c.PropertyPlaceholderConfigurer - Loading properties file from 
ServletContext resource [/WEB-INF/red5-web.properties]
[INFO] 2008-09-18 00:11:32,390 [main] o.s.b.f.s.DefaultListableBeanFactory 
- Pre-instantiating singletons in 
org.springframework.beans.factory.support.DefaultListableBeanFactory@83020: 
defining beans 
[placeholderConfig,web.context,web.scope,web.handler,demoService.service,or
g.springframework.scripting.support.ScriptFactoryPostProcessor#0]; parent: 
org.springframework.beans.factory.support.DefaultListableBeanFactory@45c97b
[INFO] 2008-09-18 00:11:32,390 [main] o.red5.server.Context - Setting 
parent bean factory as core
[INFO] 2008-09-18 00:11:32,421 [main] o.r.server.WebScope - Set server 
[Server@1a034dmap[[empty]]]
[INFO] 2008-09-18 00:11:32,421 [main] o.red5.server.Server - Add mapping 
global: default host:  context: oflaDemo
[INFO] 2008-09-18 00:11:32,421 [main] o.red5.server.Server - Add mapping 
global: default host: localhost context: oflaDemo
[INFO] 2008-09-18 00:11:32,421 [main] o.red5.server.Server - Add mapping 
global: default host: localhost:8088 context: oflaDemo
[INFO] 2008-09-18 00:11:32,421 [main] o.red5.server.Server - Add mapping 
global: default host: 127.0.0.1:8088 context: oflaDemo
[INFO] 2008-09-18 00:11:32,468 [main] 
o.s.b.f.c.PropertyPlaceholderConfigurer - Loading properties file from 
ServletContext resource [/WEB-INF/red5-web.properties]
[INFO] 2008-09-18 00:11:32,593 [main] o.s.b.f.s.DefaultListableBeanFactory 
- Pre-instantiating singletons in 
org.springframework.beans.factory.support.DefaultListableBeanFactory@13dd20
8: defining beans [placeholderConfig,web.context,web.scope]; parent: 
org.springframework.beans.factory.support.DefaultListableBeanFactory@45c97b
[INFO] 2008-09-18 00:11:32,593 [main] o.red5.server.Context - Setting 
parent bean factory as core
[INFO] 2008-09-18 00:11:32,593 [main] o.r.server.WebScope - Set server 
[Server@1a034dmap['127.0.0.1:8088/oflaDemo' -> 'default', '/oflaDemo' -> 
'default', 'localhost:8088/oflaDemo' -> 'default', 'localhost/oflaDemo' -> 
'default']]
[INFO] 2008-09-18 00:11:32,593 [main] o.red5.server.Server - Add mapping 
global: default host:  context: 
[INFO] 2008-09-18 00:11:32,593 [main] o.red5.server.Server - Add mapping 
global: default host: localhost context: 
[INFO] 2008-09-18 00:11:32,593 [main] o.red5.server.Server - Add mapping 
global: default host: localhost:5080 context: 
[INFO] 2008-09-18 00:11:32,593 [main] o.red5.server.Server - Add mapping 
global: default host: 127.0.0.1:5080 context: 
[INFO] 2008-09-18 00:11:32,625 [main] 
o.s.b.f.c.PropertyPlaceholderConfigurer - Loading properties file from 
ServletContext resource [/WEB-INF/red5-web.properties]
[INFO] 2008-09-18 00:11:32,625 [main] o.s.b.f.s.DefaultListableBeanFactory 
- Pre-instantiating singletons in 
org.springframework.beans.factory.support.DefaultListableBeanFactory@9770a3
: defining beans 
[placeholderConfig,web.context,web.scope,web.handler,installer.service]; 
parent: 
org.springframework.beans.factory.support.DefaultListableBeanFactory@45c97b
[INFO] 2008-09-18 00:11:32,625 [main] o.red5.server.Context - Setting 
parent bean factory as core
[INFO] 2008-09-18 00:11:32,625 [main] o.r.server.WebScope - Set server 
[Server@1a034dmap['127.0.0.1:8088/oflaDemo' -> 'default', '/' -> 'default', 
'127.0.0.1:5080/' -> 'default', 'localhost/' -> 'default', 
'localhost:5080/' -> 'default', '/oflaDemo' -> 'default', 
'localhost:8088/oflaDemo' -> 'default', 'localhost/oflaDemo' -> 'default']]
[INFO] 2008-09-18 00:11:32,625 [main] o.red5.server.Server - Add mapping 
global: default host: localhost context: installer
[INFO] 2008-09-18 00:11:32,625 [main] o.red5.server.Server - Add mapping 
global: default host: localhost:5080 context: installer
[INFO] 2008-09-18 00:11:32,625 [main] o.r.s.s.Installer - Installer service 
created
[INFO] 2008-09-18 00:11:32,671 [main] o.r.s.t.TomcatLoader - Setting 
connector: org.apache.catalina.connector.Connector
[INFO] 2008-09-18 00:11:32,671 [main] o.a.c.c.StandardEngine - Starting 
Servlet Engine: Apache Tomcat/6.0.16
[INFO] 2008-09-18 00:11:32,812 [main] o.a.t.u.n.NioSelectorPool - Using a 
shared selector for servlet write/read
[INFO] 2008-09-18 00:11:32,812 [main] o.a.c.h.Http11NioProtocol - 
Initializing Coyote HTTP/1.1 on http-8088
[INFO] 2008-09-18 00:11:32,828 [main] o.a.c.h.Http11NioProtocol - Starting 
Coyote HTTP/1.1 on http-8088
[INFO] 2008-09-18 00:11:32,828 [main] o.r.s.t.TomcatLoader - RTMPS server 
bean was not found

Original issue reported on code.google.com by wilbert....@gmail.com on 18 Jan 2009 at 11:54

GoogleCodeExporter commented 9 years ago
Again, this seems to be a red5 0.7 versus 0.8 issue.  Please try to reproduce 
without
xuggler installed, and if so open the issue with the red5 team:
<red5@osflash.org>

Original comment by art.cla...@gmail.com on 18 Jan 2009 at 9:38