[Red5] Changes in 0.8 vs 0.7

Tyler Kocheran rfkrocktk at gmail.com
Fri Oct 31 10:20:20 PST 2008


That's a bummer. Thanks for being steadfast in helping me out [?]

On Fri, Oct 31, 2008 at 10:50 AM, Daniel Rossi <electroteque at gmail.com>wrote:

> JTA is broken again will have to look into it again.
>
> On 01/11/2008, at 4:43 AM, Tyler Kocheran wrote:
>
> Thanks, I'll try that on my Ubuntu box when I get home. I think I may have
> been missing the spring-tx JAR.
>
>   - TK
>
> On Fri, Oct 31, 2008 at 1:38 AM, Daniel Rossi <electroteque at gmail.com>wrote:
>
>> http://jira.red5.org/confluence/display/docs/Red5+and+Hibernate
>> I've created a demo application to go with the docs. Need the very latest
>> trunk. Its functioning on my end even after cleaning the red5 libs.
>>
>> On 31/10/2008, at 2:31 PM, Tyler Kocheran wrote:
>>
>> Crap. I don't know what I did, but I have all of my required JARs in the
>> red5 global lib. I was using <import> to keep my hibernate beans separate
>> from my main app logic. I copied just my JDBC bean over to my main beans
>> file and I got an error saying my MySQL driver is missing, but I've got it
>> in the Red5/lib folder. Weird?
>>
>> On Thu, Oct 30, 2008 at 8:20 PM, Daniel Rossi <electroteque at gmail.com>wrote:
>>
>>> Have you got any libs in the webapp lib or all in red5 common lib ? Thats
>>> the spring jdbc that would be in the common lib.
>>>
>>> On 31/10/2008, at 2:08 PM, Tyler Kocheran wrote:
>>>
>>> On running the Hibernate application, I get the following errors:
>>> [ERROR] [main] org.springframework.web.context.ContextLoader - Context
>>> initialization failed
>>> org.springframework.beans.factory.CannotLoadBeanClassException: Cannot
>>> find class [org.springframework.jdbc.datasource.DriverManagerDataSource] for
>>> bean with name 'dataSource' defined in ServletContext resource
>>> [/WEB-INF/hibernate/hibernate-setup.xml]; nested exception is
>>> java.lang.ClassNotFoundException:
>>> org.springframework.jdbc.datasource.DriverManagerDataSource
>>>     at
>>> org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1138)
>>>     at
>>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.predictBeanType(AbstractAutowireCapableBeanFactory.java:524)
>>>     at
>>> org.springframework.beans.factory.support.AbstractBeanFactory.isFactoryBean(AbstractBeanFactory.java:1174)
>>>     at
>>> org.springframework.beans.factory.support.AbstractBeanFactory.isFactoryBean(AbstractBeanFactory.java:754)
>>>     at
>>> org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:422)
>>>     at
>>> org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:729)
>>>     at
>>> org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:381)
>>>     at org.springframework.
>>> web.context.ContextLoader.createWebApplicationContext
>>> (ContextLoader.java:255)
>>>     at org.springframework.
>>> web.context.ContextLoader.initWebApplicationContext
>>> (ContextLoader.java:199)
>>>     at org.springframework.
>>> web.context.ContextLoaderListener.contextInitialized
>>> (ContextLoaderListener.java:45)
>>>     at
>>> org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3843)
>>>     at
>>> org.apache.catalina.core.StandardContext.start(StandardContext.java:4342)
>>>     at
>>> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
>>>     at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
>>>     at
>>> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
>>>     at
>>> org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
>>>     at org.apache.catalina.startup.Embedded.start(Embedded.java:825)
>>>     at org.red5.server.tomcat.TomcatLoader.init(TomcatLoader.java:375)
>>>     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>     at
>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>>     at
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>>     at java.lang.reflect.Method.invoke(Method.java:597)
>>>     at
>>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1413)
>>>     at
>>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1374)
>>>     at
>>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1334)
>>>     at
>>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)
>>>     at
>>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
>>>     at java.security.AccessController.doPrivileged(Native Method)
>>>     at
>>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
>>>     at
>>> org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
>>>     at
>>> org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:221)
>>>     at
>>> org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
>>>     at
>>> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
>>>     at
>>> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
>>>     at
>>> org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429)
>>>     at
>>> org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:729)
>>>     at
>>> org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:381)
>>>     at
>>> org.springframework.context.access.ContextSingletonBeanFactoryLocator.initializeDefinition(ContextSingletonBeanFactoryLocator.java:141)
>>>     at
>>> org.springframework.beans.factory.access.SingletonBeanFactoryLocator.useBeanFactory(SingletonBeanFactoryLocator.java:384)
>>>     at org.red5.server.Standalone.main(Standalone.java:158)
>>>
>>> I HAVE the DriverManagerDataSource in my Red5/lib folder and everything.
>>> What am I doing wrong?
>>>
>>> On Thu, Oct 30, 2008 at 11:37 AM, Tyler Kocheran <rfkrocktk at gmail.com>wrote:
>>>
>>>> I'm still a little new to Ivy, but would this be a great way to resolve
>>>> all of the dependencies? I configured Ivy last night to download the Spring
>>>> JDBC and Transaction libraries, but yeah. Maybe that could be included in
>>>> the Red5+Hibernate tutorial to abstract this away from us developers :)
>>>> Oh, and which build target in the red5/build.xml file copies all of the
>>>> Ivy dependencies to the red5/lib folder? I know that the default target
>>>> downloads them with Ivy, but they wind up in the .ivy cache folder. What do
>>>> I need to change?
>>>>
>>>>
>>>> On Thu, Oct 30, 2008 at 11:28 AM, Enrico Weigelt <weigelt at metux.de>wrote:
>>>>
>>>>> * Tyler Kocheran <rfkrocktk at gmail.com> wrote:
>>>>> > 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.
>>>>>
>>>>> Thats why deps should not be bundled ;-P
>>>>>
>>>>>
>>>>> cu
>>>>> --
>>>>> ---------------------------------------------------------------------
>>>>>  Enrico Weigelt    ==   metux IT service - http://www.metux.de/
>>>>> ---------------------------------------------------------------------
>>>>>  Please visit the OpenSource QM Taskforce:
>>>>>        http://wiki.metux.de/public/OpenSource_QM_Taskforce
>>>>>  Patches / Fixes for a lot dozens of packages in dozens of versions:
>>>>>        http://patches.metux.de/
>>>>> ---------------------------------------------------------------------
>>>>>
>>>>> _______________________________________________
>>>>> 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.
>>>>
>>>
>>>
>>>
>>> --
>>> 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/20081031/ce44914e/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 611 bytes
Desc: not available
URL: <http://osflash.org/pipermail/red5_osflash.org/attachments/20081031/ce44914e/attachment.png>


More information about the Red5 mailing list