[Red5] Fixed: Classloader issues

Tyler Kocheran rfkrocktk at gmail.com
Fri Mar 20 11:01:06 PST 2009


Is it possible for us to look at another JEE server like Tomcat and adjust
their code to work with Red5?
Anyone can see that classloaders are evil, and we are thankful that you wage
war with them for us :)

2009/3/20 Mondain <mondain at gmail.com>

> I don't have any experience with Hessian and would be against adding jars
> to the server boot classpath. But the bottom line is that if it doesn't work
> in the following locations in order then, do what you have to do..
> 1. red5/webapps/<your app dir>/WEB-INF/lib
> 2. red5/lib
>
> I would like to state that working with the classloader is not fun and I
> would be glad to have someone more experienced than myself to have a look at
> it.
>
> Paul
>
>
> On Fri, Mar 20, 2009 at 10:58 AM, Marcello Teodori <
> marcello.teodori at gmail.com> wrote:
>
>>
>> Hi,
>>
>>
>> Mondain wrote:
>> >
>> > I would like to let you all know that I am fairly certain that the
>> > classloader issues we have be experiencing are now resolved in the
>> latest
>> > revision (3375). If you are adventurous and have time to kill, give it
>> > run.
>> > You should be able to keep your classes and jars separated from your
>> other
>> > applications running inside a red5 instance and keep your red5/lib
>> > directory
>> > tidy. So if you need more help, this means you may pull your jdbc
>> drivers
>> > and hibernate jars out of the red5/lib and place them in your
>> > myapp/WEB-INF/lib.
>> >
>>
>> I've just retried on a red5-0.8.RC3 compiled from the latest trunk to
>> verify
>> a problem in a project of mine with an HessianProxy configured to call an
>> external service but I still get a java.lang.ClassNotFoundException:
>> com.caucho.hessian.io.SerializerFactory
>>
>> I've also tried copying all the spring jars into myapp/WEB-INF/lib but
>> still
>> no success
>>
>> The only workaround I have is to add in the launch script:
>> myapp/WEB-INF/lib/*.jar to the RED5_CLASSPATH
>>
>> Thnx for any suggestion,
>>  Marcello
>>
>>
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Fixed%3A-Classloader-issues-tp21470144p22625690.html
>> Sent from the Red5 - English mailing list archive at Nabble.com.
>>
>>
>> _______________________________________________
>> Red5 mailing list
>> Red5 at osflash.org
>> http://osflash.org/mailman/listinfo/red5_osflash.org
>>
>
>
>
> --
> http://gregoire.org/
> http://osflash.org/red5
>
> _______________________________________________
> Red5 mailing list
> Red5 at osflash.org
> http://osflash.org/mailman/listinfo/red5_osflash.org
>
>


-- 
And do this, knowing the time, that now it is high time to awake out of
sleep;
for now our salvation is nearer than when we first believed.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://osflash.org/pipermail/red5_osflash.org/attachments/20090320/103d8230/attachment-0001.html>


More information about the Red5 mailing list