Hello,
I am trying to open a file playlist.xml in the directory
{myapp}/WEB-INF/playlist/playlist.xml
Here's the line of code that gets the inputstream:
InputStream xmlStream = this.appScope.getResource
("playlist/playlist.xml").getInputStream();
However, when trying to start the server, I get the following error (it's
complaining about not being able to find the file):
- - - -
[java] [INFO] 6422 main:(
org.springframework.beans.factory.support.DefaultListableBeanFactory.info )
Pre-instantiating singletons in factory [
org.springframework.beans.factory.support.DefaultListableBeanFactorydefining
beans [placeholderConfig,
web.context,web.scope,web.handler]; parent:
org.springframework.beans.factory.support.DefaultListableBeanFactorydefining
beans [
global.clientRegistry,global.serviceInvoker,global.mappingStrategy,
global.context,global.handler,global.scope,red5.scopeResolver]; parent:
org.springframework.beans.factory.support.DefaultListableBeanFactorydefining
beans [
red5.server
,serializer,deserializer,statusObjectService,rtmpCodecFactory,remotingCodecFactory,videoCodecFactory,streamableFileFactory,sharedObjectService,streamService,providerService,consumerService,FlowControlService,schedulingService,threadFactory,remotingPool,
object.cache,flv.impl,
org.springframework.beans.factory.config.MethodInvokingFactoryBean,
org.springframework.beans.factory.config.MethodInvokingFactoryBean#1,playlistSubscriberStream,clientBroadcastStream];
root of BeanFactory hierarchy]
[java] [ERROR] 6446 main:(
org.red5.webapps.red5java.Application.error) IOException converting
xml to dom
[java] java.io.IOException: Error converting from string to doc
/home/sysadmin/red5/red5_server/[EMAIL PROTECTED] (No such
file or directory)
- - - -
Please help, where is the file in the red5 servlet context, thanks.
--
C is forever.
_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org