[Red5] Changes in 0.8 vs 0.7
Tyler Kocheran
rfkrocktk at gmail.com
Wed Oct 29 20:43:47 PST 2008
I experienced the last issue in 0.7. When I'd accidentally include a spring
jar that Red5 already has, it would cause all of my apps to fail. Well, this
is good to know for the future! Thanks Daniel.
On Wed, Oct 29, 2008 at 5:25 PM, Daniel Rossi <electroteque at gmail.com>wrote:
> Possibly since the inclusion of embedded tomcat. It's a little hard to
> explain paul is the expert there. However it has a mixture of unable to see
> the class in the classpath unless it's in the common lib, unable to access
> the class if in the webapp lib saying something like its locked or not
> accessible, and then the funky one where can't have the same jar loaded in
> both the common lib and webapp lib it will also return some errors.
>
> On 30/10/2008, at 11:14 AM, Tyler Kocheran wrote:
>
> So Red5 is having ClassLoader issues for loading JARs outside of Red5's lib
> path? This was working in 0.7 correct?
>
> On Thu, Oct 23, 2008 at 6:16 PM, Daniel Rossi <electroteque at gmail.com>wrote:
>
>> Here you go, if you mind adding to the docs exactly what JTA transaction
>> support helps you with please do I still don't understand it, its something
>> like managing multiple sessions for different database connections I guess,
>> this example is managing one database and a single source, some complex
>> examples with join tables would be great to see.
>> http://jira.red5.org/confluence/display/docs/Red5+and+Hibernate
>>
>> I forgot to add spring orm as a requirement but its already included in
>> red5. Stuff about JTA is here. This is a hibernate integration into spring
>> framework btw.
>>
>> http://static.springframework.org/spring/docs/2.5.x/reference/orm.html
>>
>>
>> On 24/10/2008, at 9:52 AM, Tyler Kocheran wrote:
>>
>> Awesome, thanks Daniel. I'm trying to start using the trunk server, so
>> this really helps out. It really does seem like there are a lot of
>> differences in 0.8 vs 0.7 about how the server is configured. Hopefully I
>> can get up and running with the trunk server and sort out these missing
>> libraries.
>>
>> On Thu, Oct 23, 2008 at 2:38 PM, Daniel Rossi <electroteque at gmail.com>wrote:
>>
>>> The dao classes are in spring-tx it's suggested where to find that, it
>>> also requires the aspectweaver for the aop stuff for the transactions so it
>>> traps which methods to update the cache with etc. You need to put hibernate,
>>> your db driver, spring tx in the common lib path. The very latest hibernate
>>> which my example was updated to does not use ehcache by default anymore.
>>> Ehcache is for the second level caching which I dont even know if its
>>> configured correctly or hitting. I will update in a bit how to monitor the
>>> hibernate but i am not sure yet how to attach screenshots in the wiki !
>>> I will investigate in the JTA example but im not sure where to find those
>>> libraries.
>>>
>>>
>>>
>>>
>>> On 24/10/2008, at 5:03 AM, Tyler Kocheran wrote:
>>>
>>> So does the included JARs include the Spring HibernateDaoSupport class as
>>> well as the Spring HibernateTemplate class? That's one thing I'm definitely
>>> missing from my 0.7 setup. The HibernateTemplate manages exception
>>> translation and is a really easy way to manage transactions in Hibernate.
>>> Also, I'm using the Hibernate AnnotatedSessionFactoryBean in Spring so where
>>> do I get those libraries?
>>>
>>> And what in the heck is the EHCache manager? Is it necessary?
>>>
>>> I'm not so new to Java anymore but I'm still wondering how in the world
>>> one would know how and where and what to include for all the dependencies in
>>> a project. It seems like something nearly impossible to figure out. Can I
>>> use the Red5 Ivy builder to include these dependencies since they need to be
>>> in the Red5/lib folder anyway?
>>>
>>> On Tue, Oct 21, 2008 at 2:30 PM, Daniel Rossi <electroteque at gmail.com>wrote:
>>>
>>>> I've updated the example, i've updated hibernate to 3.3.1 and ehcache to
>>>> 1.6 and quoted it's dependancy libraries all of it needs to be in the common
>>>> library path not the webapp library path it seems, cannot self contain any
>>>> of it yet.
>>>> I've also noted to remove the ehcache 1.4 that comes with Red5 and
>>>> replace with the updated 1.6 version which doesnt use the backport
>>>> concurrent library which tries to work with java below 1.5, the new version
>>>> works for 1.5 and above.
>>>> http://jira.red5.org/confluence/display/docs/Red5+and+Hibernate
>>>>
>>>> On 22/10/2008, at 7:14 AM, Tyler Kocheran wrote:
>>>>
>>>> So do we know what dependencies the latest Hibernate has?
>>>> I'll get a test for this up and going at some point, I've been stuck on
>>>> 0.7 for a long time, I'm just hoping all that I've learned won't be waste
>>>> for 0.8.
>>>>
>>>> On Tue, Oct 21, 2008 at 9:41 AM, Daniel Rossi <electroteque at gmail.com>wrote:
>>>>
>>>>> BTW, it seems the very latest hibernate has extra dependancy jars, it's
>>>>> now having classpath issues trying to resolve that now. Also trying to get
>>>>> it to function properly with ehcache 1.6 which has removed dependancy for
>>>>> the backports concurrent project. Red5 also has a ehcache so this is going
>>>>> to be interesting might have to remove manually.
>>>>> On 21/10/2008, at 12:09 PM, Tyler Kocheran wrote:
>>>>>
>>>>> I'm new to using C3P0 in Hibernate, I'll google it, but what the heck
>>>>> is it?
>>>>> In my old 0.7 Hibernate spring beans file, I had about *half* the code
>>>>> as the wiki suggests. I'm going to have to test the heck out of this to see
>>>>> the differences.
>>>>>
>>>>> On Thu, Oct 16, 2008 at 6:46 PM, Daniel Rossi <electroteque at gmail.com>wrote:
>>>>>
>>>>>> please have a look at my hibernate tutorial it also uses the suggested
>>>>>> aop way for transactions over the old way. there is a note there about
>>>>>> libraries. as usual please update some information if it seems
>>>>>> incorrect i am still green with hibernate i dont think its hitting the
>>>>>> cache properly to be honest :D
>>>>>>
>>>>>> http://jira.red5.org/confluence/display/docs/Red5+and+Hibernate
>>>>>>
>>>>>> On 17/10/2008, at 9:53 AM, Tyler Kocheran wrote:
>>>>>>
>>>>>> > I've started trying out the trunk version of the server rather than
>>>>>> > my 0.7 (which I use at work). I've noticed a LOT of differences in
>>>>>> > the way that it starts, and in the way the libraries are handled.
>>>>>> > Are there any huge major changes that I should be aware of when
>>>>>> > trying to develop applications that will run on both 0.7 and 0.8? I
>>>>>> > develop a lot of Hibernate applications and one thing I have noticed
>>>>>> > is that some classes are missing from 0.7 from the Spring
>>>>>> > dependencies in the trunk version.
>>>>>> > When I use the Spring "HibernateDaoSupport" class, I get errors in
>>>>>> > Eclipse telling me that the type is inconsistent and indirectly
>>>>>> > referenced from required class files. My workaround in 0.7 was to
>>>>>> > include all JARs in the /lib folder as an Eclipse variable. Now,
>>>>>> > since the trunk builds with Ivy and deposits the JARs elsewhere,
>>>>>> > what do I have to do to resolve this?
>>>>>> >
>>>>>> > --
>>>>>> > 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.
>>>>>> > _______________________________________________
>>>>>> > Red5 mailing list
>>>>>> > Red5 at osflash.org
>>>>>> > http://osflash.org/mailman/listinfo/red5_osflash.org
>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> 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.
>>>>> _______________________________________________
>>>>> Red5 mailing list
>>>>> Red5 at osflash.org
>>>>> http://osflash.org/mailman/listinfo/red5_osflash.org
>>>>>
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> 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.
>>>> _______________________________________________
>>>> Red5 mailing list
>>>> Red5 at osflash.org
>>>> http://osflash.org/mailman/listinfo/red5_osflash.org
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> 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.
>>> _______________________________________________
>>> Red5 mailing list
>>> Red5 at osflash.org
>>> http://osflash.org/mailman/listinfo/red5_osflash.org
>>>
>>>
>>>
>>> _______________________________________________
>>> 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.
>> _______________________________________________
>> Red5 mailing list
>> Red5 at osflash.org
>> http://osflash.org/mailman/listinfo/red5_osflash.org
>>
>>
>>
>> _______________________________________________
>> 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.
> _______________________________________________
> Red5 mailing list
> Red5 at osflash.org
> http://osflash.org/mailman/listinfo/red5_osflash.org
>
>
>
> _______________________________________________
> 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/20081029/c0df7671/attachment.html>
More information about the Red5
mailing list