Multiple contextPaths with the same app

View: New views
6 Messages — Rating Filter:   Alert me  

Multiple contextPaths with the same app

by bobbrinks :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi all,

I've made an webapp for red5 that has to run on multiple contextPaths (localhost/bla1, localhost/bla2) because there are different types of clients. But i dont want to copy my jar into multiple subdirectories of the webapps folder for maintenance reasons.

So is there a way in red5 (standalone) to creat context aliases all pointing to the same webapp (handler).
Or i tried placing my jar file in the red5/lib directory and making multiple subdirectories with only the config files but then i get a class not found exception.

Does anyone understand what i mean and know a way to realize this?

Tnx in advance

Bob

Re: Multiple contextPaths with the same app

by Dominick Accattato-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

why don't you just use sub-scopes.  For iinstance:

rtmp://localhost/myApp/blah1
rtmp://localhost/myApp/blah2

this way, both of your context paths use the same application.


On Thu, Jul 2, 2009 at 3:20 AM, bobbrinks <brinks_bob@...> wrote:

Hi all,

I've made an webapp for red5 that has to run on multiple contextPaths
(localhost/bla1, localhost/bla2) because there are different types of
clients. But i dont want to copy my jar into multiple subdirectories of the
webapps folder for maintenance reasons.

So is there a way in red5 (standalone) to creat context aliases all pointing
to the same webapp (handler).
Or i tried placing my jar file in the red5/lib directory and making multiple
subdirectories with only the config files but then i get a class not found
exception.

Does anyone understand what i mean and know a way to realize this?

Tnx in advance

Bob
--
View this message in context: http://www.nabble.com/Multiple-contextPaths-with-the-same-app-tp24288706p24288706.html
Sent from the Red5 - English mailing list archive at Nabble.com.


_______________________________________________
Red5 mailing list
Red5@...
http://osflash.org/mailman/listinfo/red5_osflash.org


_______________________________________________
Red5 mailing list
Red5@...
http://osflash.org/mailman/listinfo/red5_osflash.org

Re: Multiple contextPaths with the same app

by bobbrinks :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
Can i sub scobe the root "localhost/" 
 
because the clients are outsourced and i can't change them and the connect to /bla1 and /bla2


Bob




 

Date: Thu, 2 Jul 2009 11:04:20 -0400
From: dominick@...
To: red5@...
Subject: Re: [Red5] Multiple contextPaths with the same app

why don't you just use sub-scopes.  For iinstance:

rtmp://localhost/myApp/blah1
rtmp://localhost/myApp/blah2

this way, both of your context paths use the same application.


On Thu, Jul 2, 2009 at 3:20 AM, bobbrinks <brinks_bob@...> wrote:

Hi all,

I've made an webapp for red5 that has to run on multiple contextPaths
(localhost/bla1, localhost/bla2) because there are different types of
clients. But i dont want to copy my jar into multiple subdirectories of the
webapps folder for maintenance reasons.

So is there a way in red5 (standalone) to creat context aliases all pointing
to the same webapp (handler).
Or i tried placing my jar file in the red5/lib directory and making multiple
subdirectories with only the config files but then i get a class not found
exception.

Does anyone understand what i mean and know a way to realize this?

Tnx in advance

Bob
--
View this message in context: http://www.nabble.com/Multiple-contextPaths-with-the-same-app-tp24288706p24288706.html
Sent from the Red5 - English mailing list archive at Nabble.com.


_______________________________________________
Red5 mailing list
Red5@...
http://osflash.org/mailman/listinfo/red5_osflash.org



Deel je favoriete foto's online met Windows Live Photos
_______________________________________________
Red5 mailing list
Red5@...
http://osflash.org/mailman/listinfo/red5_osflash.org

Re: Multiple contextPaths with the same app

by bobbrinks :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Can i sub scobe the root "localhost/" ?
 
because the clients are outsourced and i can't change them and the connect to /bla1 and /bla2



Dominick Accattato-2 wrote:
why don't you just use sub-scopes.  For iinstance:

rtmp://localhost/myApp/blah1
rtmp://localhost/myApp/blah2

this way, both of your context paths use the same application.



On Thu, Jul 2, 2009 at 3:20 AM, bobbrinks <brinks_bob@hotmail.com> wrote:

>
> Hi all,
>
> I've made an webapp for red5 that has to run on multiple contextPaths
> (localhost/bla1, localhost/bla2) because there are different types of
> clients. But i dont want to copy my jar into multiple subdirectories of the
> webapps folder for maintenance reasons.
>
> So is there a way in red5 (standalone) to creat context aliases all
> pointing
> to the same webapp (handler).
> Or i tried placing my jar file in the red5/lib directory and making
> multiple
> subdirectories with only the config files but then i get a class not found
> exception.
>
> Does anyone understand what i mean and know a way to realize this?
>
> Tnx in advance
>
> Bob
> --
> View this message in context:
> http://www.nabble.com/Multiple-contextPaths-with-the-same-app-tp24288706p24288706.html
> Sent from the Red5 - English mailing list archive at Nabble.com.
>
>
> _______________________________________________
> Red5 mailing list
> Red5@osflash.org
> http://osflash.org/mailman/listinfo/red5_osflash.org
>

_______________________________________________
Red5 mailing list
Red5@osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org

Re: Multiple contextPaths with the same app

by Dominick Accattato-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I don't believe so.


On Thu, Jul 2, 2009 at 11:08 AM, bobbrinks <brinks_bob@...> wrote:

Can i sub scobe the root "localhost/" ?

because the clients are outsourced and i can't change them and the connect
to /bla1 and /bla2




Dominick Accattato-2 wrote:
>
> why don't you just use sub-scopes.  For iinstance:
>
> rtmp://localhost/myApp/blah1
> rtmp://localhost/myApp/blah2
>
> this way, both of your context paths use the same application.
>
>
>
> On Thu, Jul 2, 2009 at 3:20 AM, bobbrinks <brinks_bob@...> wrote:
>
>>
>> Hi all,
>>
>> I've made an webapp for red5 that has to run on multiple contextPaths
>> (localhost/bla1, localhost/bla2) because there are different types of
>> clients. But i dont want to copy my jar into multiple subdirectories of
>> the
>> webapps folder for maintenance reasons.
>>
>> So is there a way in red5 (standalone) to creat context aliases all
>> pointing
>> to the same webapp (handler).
>> Or i tried placing my jar file in the red5/lib directory and making
>> multiple
>> subdirectories with only the config files but then i get a class not
>> found
>> exception.
>>
>> Does anyone understand what i mean and know a way to realize this?
>>
>> Tnx in advance
>>
>> Bob
>> --
>> View this message in context:
>> http://www.nabble.com/Multiple-contextPaths-with-the-same-app-tp24288706p24288706.html
>> Sent from the Red5 - English mailing list archive at Nabble.com.
>>
>>
>> _______________________________________________
>> Red5 mailing list
>> Red5@...
>> http://osflash.org/mailman/listinfo/red5_osflash.org
>>
>
> _______________________________________________
> Red5 mailing list
> Red5@...
> http://osflash.org/mailman/listinfo/red5_osflash.org
>
>

--
View this message in context: http://www.nabble.com/Multiple-contextPaths-with-the-same-app-tp24288706p24308493.html
Sent from the Red5 - English mailing list archive at Nabble.com.


_______________________________________________
Red5 mailing list
Red5@...
http://osflash.org/mailman/listinfo/red5_osflash.org


_______________________________________________
Red5 mailing list
Red5@...
http://osflash.org/mailman/listinfo/red5_osflash.org

Re: Multiple contextPaths with the same app

by Andy Shaules :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
'because the clients are outsourced and i can't change them and the connect to /bla1 and /bla2'
 
ooops!
 
Actually, you could change them and simply update your application to deal with 'rooms' for each client set.
 
Or you could copy your app to a different name for each client.
 
I recommend to write apps that isolate groups by context.
 
 
 
----- Original Message -----
Sent: Thursday, July 02, 2009 8:06 AM
Subject: Re: [Red5] Multiple contextPaths with the same app

Can i sub scobe the root "localhost/" 
 
because the clients are outsourced and i can't change them and the connect to /bla1 and /bla2


Bob




 

Date: Thu, 2 Jul 2009 11:04:20 -0400
From: dominick@...
To: red5@...
Subject: Re: [Red5] Multiple contextPaths with the same app

why don't you just use sub-scopes.  For iinstance:

rtmp://localhost/myApp/blah1
rtmp://localhost/myApp/blah2

this way, both of your context paths use the same application.


On Thu, Jul 2, 2009 at 3:20 AM, bobbrinks <brinks_bob@...> wrote:

Hi all,

I've made an webapp for red5 that has to run on multiple contextPaths
(localhost/bla1, localhost/bla2) because there are different types of
clients. But i dont want to copy my jar into multiple subdirectories of the
webapps folder for maintenance reasons.

So is there a way in red5 (standalone) to creat context aliases all pointing
to the same webapp (handler).
Or i tried placing my jar file in the red5/lib directory and making multiple
subdirectories with only the config files but then i get a class not found
exception.

Does anyone understand what i mean and know a way to realize this?

Tnx in advance

Bob
--
View this message in context: http://www.nabble.com/Multiple-contextPaths-with-the-same-app-tp24288706p24288706.html
Sent from the Red5 - English mailing list archive at Nabble.com.


_______________________________________________
Red5 mailing list
Red5@...
http://osflash.org/mailman/listinfo/red5_osflash.org



Deel je favoriete foto's online met Windows Live Photos


_______________________________________________
Red5 mailing list
Red5@...
http://osflash.org/mailman/listinfo/red5_osflash.org

_______________________________________________
Red5 mailing list
Red5@...
http://osflash.org/mailman/listinfo/red5_osflash.org