|
List Info
Thread: Re: can't create a new app
|
|
| Re: can't create a new app |

|
2008-03-14 15:38:43 |
|
Hi sean, there isn't a red5.sh on the dist, just on red5 folder(the root instalation). Anyway i'm clueless all threads that i saw didn't worked. -use java 5 on the project on Eclipse -remove the servlet tags on web.xml
-And i even tried to put the application on the jar by oppening the jar, creating a folder called tester and putting the compiled .class in there. It didn't worked. Is there any log in red5 for ubuntu( i didn't found any )? I don't know the reason but almos everybody seems to solve this pretty straight forward.
PS: i try to connect by rtmp://localhost/tester OR rtmp://127.0.0.1/tester thanks for the help > >Message: 6 >Date: Fri, 14 Mar 2008 14:45:30 -0500 >From: Sean Newman < sean_new hotmail.com">sean_new hotmail.com>
>Subject: Re: [Red5] can't create a new app >To: < red5 osflash.org">red5 osflash.org> >Message-ID: < BAY123-W9202963F8F09B587120E1F50A0 phx.gbl">BAY123-W9202963F8F09B587120E1F50A0 phx.gbl>
>Content-Type: text/plain; charset="iso-8859-1" > > >Hi Fabio, > > Did you run the red5.sh in the dist directory? > >Sean > >Date: Fri, 14 Mar 2008 15:51:58 -0300
>From: blackjackdevel gmail.com">blackjackdevel gmail.com >To: red5 osflash.org">red5 osflash.org >Subject: [Red5] can't create a new app > > I recently instaled red5 on an ubuntu notebook, all the demos works fine but my new application do not.
> It name is tester and it's package is br.com.vplace. > I used the following params: > In build.xml: > > > <context-param> > <param-name>webAppRootKey<
>/param-name> > <param-value>/tester</param-value> > </context-param> > > red5-web.xml > ><bean id="web.handler" > > class="br.com.vplace.tester"
> singleton="true" /> > >red5-web.properties >webapp.contextPath=/tester > > And in the build.xml : ><javac sourcepath="" srcdir="${webapps.dir}/tester/WEB-INF/src" destdir="${webapps.build.dir}/tester/WEB-INF/classes"
> > classpathref="webapps.classpath" optimize="${build.optimize}" verbose="${build.verbose}" > fork="${build.fork}" nowarn="${build.nowarn}" deprecation="${build.deprecation}"
> > debug="${debug.state}" compiler="${compiler}" source="${java.target_version}" target="${java.target_version}"/> > > The ant server aparently runs fine, and the webapps.build.dir which seems to be RED5_INSTALATION/dist/webapps, Has the tester folder and the WEB-INF, and etc, and when i runned ant server it created a tester.class file (which was expected).
> > Then after run ant server to build with ant my application, i start the sh to run the red5; > > But it seens that my application doesn't is reachable by the RTMP, like if i typed anything that isn't in the webapps folder.
> > What i could be possible doing wrong? > >Thanks F?bio Brazil >
|
| Re: can't create a new app |

|
2008-03-14 15:57:26 |
|
Apparently there is an error when i run ant i got the following outpu which i guess is that a socket error: [java] Exception in thread "main" java.net.BindException: Address already in use [java] at sun.nio.ch.Net.bind(Native Method)
[java] at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:119) [java] at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:59) [java] at org.apache.mina.transport.socket.nio.SocketAcceptor.registerNew(SocketAcceptor.java:365)
[java] at org.apache.mina.transport.socket.nio.SocketAcceptor.access$900(SocketAcceptor.java:55) [java] at org.apache.mina.transport.socket.nio.SocketAcceptor$Worker.run(SocketAcceptor.java:224) [java] at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:39)
[java] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885) [java] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907) [java] at java.lang.Thread.run(Thread.java:619)
But since the streaming of the demos works i don't see if it's related
2008/3/14, Fábio Costa < blackjackdevel gmail.com">blackjackdevel gmail.com>:
Hi sean, there isn't a red5.sh on the dist, just on red5 folder(the root instalation). Anyway i'm clueless all threads that i saw didn't worked. -use java 5 on the project on Eclipse -remove the servlet tags on web.xml
-And i even tried to put the application on the jar by oppening the jar, creating a folder called tester and putting the compiled .class in there. It didn't worked. Is there any log in red5 for ubuntu( i didn't found any )? I don't know the reason but almos everybody seems to solve this pretty straight forward.
PS: i try to connect by rtmp://localhost/tester OR rtmp://127.0.0.1/tester thanks for the help > >Message: 6 >Date: Fri, 14 Mar 2008 14:45:30 -0500 >From: Sean Newman < sean_new hotmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">sean_new hotmail.com>
>Subject: Re: [Red5] can't create a new app >To: < red5 osflash.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">red5 osflash.org> >Message-ID: < BAY123-W9202963F8F09B587120E1F50A0 phx.gbl" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">BAY123-W9202963F8F09B587120E1F50A0 phx.gbl>
>Content-Type: text/plain; charset="iso-8859-1" > > >Hi Fabio, > > Did you run the red5.sh in the dist directory? > >Sean > >Date: Fri, 14 Mar 2008 15:51:58 -0300
>From: blackjackdevel gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">blackjackdevel gmail.com >To: red5 osflash.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">red5 osflash.org
>Subject: [Red5] can't create a new app > > I recently instaled red5 on an ubuntu notebook, all the demos works fine but my new application do not.
> It name is tester and it's package is br.com.vplace. > I used the following params: > In build.xml: > > > <context-param> > <param-name>webAppRootKey<
>/param-name> > <param-value>/tester</param-value> > </context-param> > > red5-web.xml > ><bean id="web.handler" > > class="br.com.vplace.tester"
>   | |