---
title: "关于RED5 0.6.3的应用在0.7下不能运行的问题 "
author: "kaka99"
date: "2008-10-22T17:17:26Z"
tags: ["BBS", "PHP", "Web", "log4j", "应用服务器"]
slug: "red5-0-6-3-0-7"
draft: false
lastmod: "2008-10-22T17:17:26Z"
id: 256490
url: "https://kaka99.iteye.com/blog/256490"
---

在新的0.7版本服务器中，做了一些调整，导致0.6.3的程序必须做以下修改才可以正常运行：  
1.删除log4j.properties  
2.修改web.xml，去掉以下语句：  
   
&lt;context-param&gt;  
&lt;param-name&gt;log4jConfigLocation&lt;/param-name&gt;  
&lt;param-value&gt;/WEB-INF/log4j.properties&lt;/param-value&gt;  
&lt;/context-param&gt;  
   
&lt;listener&gt;  
&lt;listener-class&gt;org.springframework.web.util.Log4jConfigListener&lt;/listener-class&gt;  
&lt;/listener&gt;  
[http://www.openred5.com/bbs/viewthread.php?tid=955&extra=page%3D1&frombbs=1](http://www.openred5.com/bbs/viewthread.php?tid=955&amp%3Bextra=page%3D1&amp%3Bfrombbs=1) 中有本文的可执行代码

 

本文来源于 冰山上的播客 [http://xinsync.xju.edu.cn](http://xinsync.xju.edu.cn) , 原文地址：[http://xinsync.xju.edu.cn/index.php/archives/1844](http://xinsync.xju.edu.cn/index.php/archives/1844)