The "fix" didn't work, I still see the same error. I set the same name on
the Service and the Engine now, previously the Service (Embedded) did not
have a name set. Here is the relevant portion of the code:
embedded = new Embedded();
embedded.createLoader(originalClassLoader);
embedded.setCatalinaBase(serverRoot);
embedded.setCatalinaHome(serverRoot);
embedded.setName(serviceEngineName);
 engine = embedded.createEngine();
engine.setDefaultHost(host.getName());
engine.setName(serviceEngineName);

The string "serviceEngineName" is set to "red5Engine". Do I need some other
form of registration prior to calling embedded.start()?

Paul



On Thu, Jun 4, 2009 at 2:40 PM, Mondain <mond...@gmail.com> wrote:

> Thank you, Charles.. I'll give that a shot.
> Paul
>
>
> On Thu, Jun 4, 2009 at 1:08 PM, Caldarale, Charles R <
> chuck.caldar...@unisys.com> wrote:
>
>> > From: Mondain [mailto:mond...@gmail.com]
>> > Subject: Re: Having trouble with Tomcat 6.0.20 embedded in Red5
>> >
>> > everything is setup programically using Embedded.
>>
>> O.k., that makes things a bit more interesting.  Looks like you'll need to
>> call setName() with the same value for both the Service (Embedded) object,
>> and the Engine.
>>
>> (I suppose having separate Service and Engine objects Seemed Like A Good
>> Idea At The Time.)
>>
>>  - Chuck
>>
>>
>> THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
>> MATERIAL and is thus for use only by the intended recipient. If you received
>> this in error, please contact the sender and delete the e-mail and its
>> attachments from all computers.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
>> For additional commands, e-mail: users-h...@tomcat.apache.org
>>
>>
>
>
> --
> http://gregoire.org/
> http://osflash.org/red5
>



-- 
http://gregoire.org/
http://osflash.org/red5

Reply via email to