Jeff, So all you are doing in Tomcat is just changing the reference in your flash files from rtmp to rtmpt and you are getting the NPE?
If I remember correctly you should not have to change anything in the web.xml The web.xml you are referencing is the one from the red5/conf/war folder. Right? Sorry, but it has been so long since I look 0.6.2. Regards, Lenny On 9/10/07, Jeff Wilder <[EMAIL PROTECTED]> wrote: > > > Thanks for the response Lenny - > > The message that I sent was actually from the catalina log. When I try > and set both rtmp and rtmpt to port 8080 I get the "address already in use" > error, which is what I would expect...because they couldn't run on both. > > The configuration I was using was in web.xml > <servlet> > <servlet-name>rtmpt</servlet-name> > <servlet-class>org.red5.server.net.rtmpt.RTMPTServlet</servlet-class> > > <load-on-startup>2</load-on-startup> > </servlet> > <servlet-mapping> > <servlet-name>rtmpt</servlet-name> > <url-pattern>/open/*</url-pattern> > </servlet-mapping> > <servlet-mapping> > <servlet-name>rtmpt</servlet-name> > <url-pattern>/idle/*</url-pattern> > </servlet-mapping> > <servlet-mapping> > <servlet-name>rtmpt</servlet-name> > <url-pattern>/send/*</url-pattern> > </servlet-mapping> > <servlet-mapping> > <servlet-name>rtmpt</servlet-name> > <url-pattern>/close/*</url-pattern> > </servlet-mapping> > > I have now switched to the red5-rtmpt.xml method using the jetty engine > (which would actually use the red5.properties file for port assigning). I > am still getting a similar message.... > > [DEBUG] 148998 btpool0-0 - /open/1:( org.mortbay.log.invoke ) POST > /open/1 HTTP/1.1 > Host: 127.0.0.1:8089 > User-Agent: CFNetwork/129.20 > Content-Type: application/x-fcs > Max-Forwards: 10 > X-Forwarded-For: 192.168.90.214 > X-Forwarded-Host: t-stream.puma.com:80 <http://t-stream.puma.com/> > X-Forwarded-Server: stream.puma.com > Connection: close > Content-Length: 1 > > > [ERROR] 148998 btpool0-0 - /open/1:( org.mortbay.log.invoke0 ) /open/1 > java.lang.NullPointerException > at org.red5.server.net.rtmpt.RTMPTServlet.handleOpen( > RTMPTServlet.java:260) > at org.red5.server.net.rtmpt.RTMPTServlet.service( > RTMPTServlet.java:415) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) > at org.mortbay.jetty.servlet.ServletHolder.handle( > ServletHolder.java:491) > at org.mortbay.jetty.servlet.ServletHandler.handle( > ServletHandler.java:367) > at org.mortbay.jetty.handler.ContextHandler.handle( > ContextHandler.java:689) > at org.mortbay.jetty.handler.ContextHandlerCollection.handle( > ContextHandlerCollection.java:146) > at org.mortbay.jetty.handler.HandlerCollection.handle( > HandlerCollection.java:114) > at org.mortbay.jetty.handler.HandlerWrapper.handle( > HandlerWrapper.java:139) > at org.mortbay.jetty.Server.handle(Server.java:281) > at org.mortbay.jetty.HttpConnection.handleRequest( > HttpConnection.java:457) > at org.mortbay.jetty.HttpConnection$RequestHandler.content( > HttpConnection.java:765) > at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:627) > at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java > :209) > at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java > :357) > at org.mortbay.io.nio.SelectChannelEndPoint.run( > SelectChannelEndPoint.java:329) > at org.mortbay.thread.BoundedThreadPool$PoolThread.run( > BoundedThreadPool.java:475) > [DEBUG] 149000 btpool0-0 - /open/1:( org.mortbay.log.invoke ) RESPONSE > /open/1 500 > > Still getting NPE @ handleOpen call? I don't think it is a ports problem > because I am getting a response from the rtmpt service just not the one I > want :) > > > -Jeff > > > ______________________________________________________________________________________________________ > Please be advised that the information contained herein is confidential > and intended only for use by the individual stated above. > If you are not the named recipient, you are hereby notified that any > disclosure, distribution, dissemination, or copying is prohibited. > If this information has been directed to you in error, please contact the > sender immediately at the telephone number listed above. > > _______________________________________________ > Red5 mailing list > [email protected] > http://osflash.org/mailman/listinfo/red5_osflash.org > >
_______________________________________________ Red5 mailing list [email protected] http://osflash.org/mailman/listinfo/red5_osflash.org
