[Red5] RED5 has come to a crawl?

Dan Rossi spam at electroteque.org
Mon Nov 12 04:24:33 PST 2007


Hi paul still having issues, i cant seem to get my webapp to log to a  
file. Im loading via eclipse debug, have put logback.xml into the  
classes directory although bin is the default output folder correct  ?  
The loggers are being bubbled up to the root logger even when i  
comment them out of my webapp one.
  Not sure what is going on here.

On 07/11/2007, at 12:48 PM, Mondain wrote:

> Guys,
> The WEB-INF directory is not part of the classpath, therefore if it  
> is not specified as part of the a path when loading properties the  
> file will not be loaded / found. The WEB-INF/classes directory is  
> part of the classpath as well as the internals of jar files  
> contained in the WEB-INF/lib directory. I know this can be confusing  
> but it is basic J2EE webapp class loader stuff.
>
> Paul
>
> On Nov 6, 2007 5:41 PM, Daniel Rossi <spam at electroteque.org> wrote:
> I already have the logback.xml iside the webapp WEB-INF its not  
> being loaded, and the eclipse logging plugin stops after loading the  
> jetty classes.
>
> On 07/11/2007, at 12:32 PM, Mondain wrote:
>
>> Please read: http://jira.red5.org/confluence/display/docs/Logging+Setup 
>>  I updated for web applications.
>>
>> On Nov 6, 2007 4:55 PM, Daniel Rossi < spam at electroteque.org> wrote:
>> Hey i believe the logfactory now also needs to be this if importing  
>> those packages
>>
>> private static final Logger log =  
>> (Logger)LoggerFactory.getLogger(Application. class .getName());
>>
>> One of your classes is still trying to use log4j, there is the  
>> logback.xml located in conf now, yes u have to comment out the  
>> log4j stuff out of the web.xml. Unless logback.xml isnt being  
>> loaded for some reason ? Im just about to ask a question about per  
>> webapp logback configs as its not being loaded in.
>>
>>
>>  	
>>
>> On 07/11/2007, at 11:31 AM, Lenny Sorey wrote:
>>
>>> Hello All,
>>>
>>> I am using , Java 1.6_02, Tomcat 6.0.14 with RED5's later trunk  
>>> update of  2462.
>>>
>>> I changed all my apps logging to the following:
>>>
>>> import org.slf4j.Logger ;
>>> import org.slf4j.LoggerFactory;
>>>
>>> I don't know what is the matter but all my apps along with the  
>>> standard RED5 apps
>>> have just slowed to a crawl. It takes a long time for an app to  
>>> even load.
>>>
>>> Yesterday the platform was popping along very fast. Today after  
>>> the update and logging update, It is VERY slow.
>>>
>>> Are there any specific instructions regarding the slf4j logger. I  
>>> just want to make sure
>>> I have the platform configured correctly.
>>>
>>> Anything special in the web.xml that needs to be addressed?  
>>> Anything need to be added or removed.
>>>
>>> I commented out the following in the web.xml file.
>>>
>>> <!--
>>>  <context-param>
>>>   <param-name>log4jConfigLocation</param-name>
>>>   <param-value>/WEB-INF/log4j.properties</param-value>
>>>  </context-param>
>>>  -->
>>>
>>> <!--
>>>     <listener>
>>>         <listener-class>org.springframework. web.context.request.RequestContextListener 
>>> </listener-class>
>>>     </listener>
>>>  -->
>>>
>>> But am still getting the following in the stdout.log file:
>>>
>>> log4j:WARN No appenders could be found for logger  
>>> (org.springframework.web.context.ContextLoader).
>>> log4j:WARN Please initialize the log4j system properly.
>>> [INFO] 2007-11-06 17:51:10,531 Thread-1: 
>>> ( org.red5.server.jmx.JMXAgent.init [INFO] 2007-11-06 17:51:10,546  
>>> Thread-1:( org.red5.server.jmx.JMXAgent.init [INFO] 2007-11-06  
>>> 17:51:11,343 Thread-1: 
>>> ( org.red5.server.net.rtmp.RTMPMinaTransport.start [INFO]  
>>> 2007-11-06 17:51:11,343 Thread-1: 
>>> ( org.red5.server.net.rtmp.RTMPMinaTransport.start [INFO]  
>>> 2007-11-06 17:51:11,343 Thread-1: 
>>> ( org.red5.server.net.rtmp.RTMPMinaTransport.start [INFO]  
>>> 2007-11-06 17:51:11,437 Thread-1: 
>>> ( org.red5.server.net.rtmp.RTMPMinaTransport.start [INFO]  
>>> 2007-11-06 17:51:11,437 Thread-1: 
>>> ( org.red5.server.net.rtmp.RTMPMinaTransport.start [INFO]  
>>> 2007-11-06 17:51:11,437 Thread-1: 
>>> ( org.red5.server.net.rtmp.RTMPMinaTransport.start [INFO]  
>>> 2007-11-06 17:51:11,468 Thread-1: 
>>> ( org.red5.server.net.rtmp.RTMPMinaTransport.start [INFO]  
>>> 2007-11-06 17:51:16,671 Thread-1: 
>>> ( org.red5.server.stream.ProviderService.getVODProviderFile [INFO]  
>>> 2007-11-06 17:51:16,671 Thread-1:(
>>>
>>> Regards,
>>>
>>> Lenny
>>> _______________________________________________
>>> Red5 mailing list
>>> Red5 at osflash.org
>>> http://osflash.org/mailman/listinfo/red5_osflash.org
>>
>>
>> _______________________________________________
>> Red5 mailing list
>> Red5 at osflash.org
>> http://osflash.org/mailman/listinfo/red5_osflash.org
>>
>>
>>
>>
>> -- 
>> It is difficult to free fools from the chains they revere. - Voltaire
>> _______________________________________________
>> Red5 mailing list
>> Red5 at osflash.org
>> http://osflash.org/mailman/listinfo/red5_osflash.org
>
>
> _______________________________________________
> Red5 mailing list
> Red5 at osflash.org
> http://osflash.org/mailman/listinfo/red5_osflash.org
>
>
>
>
> -- 
> It is difficult to free fools from the chains they revere. -  
> Voltaire _______________________________________________
> Red5 mailing list
> Red5 at osflash.org
> http://osflash.org/mailman/listinfo/red5_osflash.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/red5_osflash.org/attachments/20071112/daa4b469/attachment-0001.html 


More information about the Red5 mailing list