Title: quote
In an odd configuration by my ISP... I have JDK 1.5 , but it only supports 2.3.  I'm not sure why they didn't move to a configuration for 2.4/2.5?

So I got it to work with the following changes to the web.xml:

Header Change:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app>

Replaced the listeners. This  solved the problem of ClassNotFound on org.springframework.web.context.request.RequestContextListener error.

Not sure if this is the "correct" hack... but it worked by adding the <load-on-startup>

!--
    <listener>
       
        <listener-class>org.red5.server.MainServlet</listener-class>
    </listener>
-->
<!--
    <listener>     <listener-class>org.springframework.web.context.request.RequestContextListener</listener-class>
    </listener>   
-->

   <servlet>
        <servlet-name>foo</servlet-name>
        <servlet-class>
            org.springframework.web.context.request.RequestContextListener
        </servlet-class>
        <load-on-startup>1</load-on-startup>
    </servlet>

       <servlet>
        <servlet-name>mainServlet</servlet-name>
        <servlet-class>
            org.red5.server.MainServlet
        </servlet-class>
        <load-on-startup>1</load-on-startup>
    </servlet>

......
--
Whether you think that you can, or that you can't, you are usually right.
 - Henry Ford
_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org

Reply via email to