[Red5] Classloader Problems with Hibernate and Spring Schedulers in Red5 0.8++
Karl Mertens
bigben009 at hotmail.de
Fri May 29 12:24:00 PDT 2009
hmm nope it doesent look like...
iam using the version 0.8RC2 from googlecode svn... and i dident changed that file
you are working from trunk i think... i was also working from trunk and from branch for a while but uhmm...
well i would like to avoide a broken installation i just would like to build my app ;)...
____
anyway if you have the same file like in link from svn you should have a logfile output exactly one line bevore the exception appears
499 log.debug("Classloader prior to refresh: {}", appctx.getClassLoader());
500 appctx.refresh();
may you would like to use this log file line to examine appctx a litle bit nearer
http://static.springframework.org/spring/docs/2.0.x/api/org/springframework/web/context/ConfigurableWebApplicationContext.html
... thats the way i would start search ...
Date: Fri, 29 May 2009 15:26:37 +0200
From: seba.wagner at gmail.com
To: red5 at osflash.org
Subject: Re: [Red5] Classloader Problems with Hibernate and Spring Schedulers in Red5 0.8++
http://code.google.com/p/red5/source/browse/java/server/trunk/src/org/red5/server/tomcat/TomcatLoader.java
that line 500 is: appctx.refresh()
I think we should have the same as the last change of that file was by mondain
on Mar 24, 2009
I deploy by commandline using: ./red5.sh
thanks,
sebastian
2009/5/29 Karl Mertens <bigben009 at hotmail.de>
and one qiuestion how do you deploy...
ant(commandline), ant(eclipse), maven...?
Date: Fri, 29 May 2009 08:58:56 +0200
From: seba.wagner at gmail.com
To: red5 at osflash.org
Subject: Re: [Red5] Classloader Problems with Hibernate and Spring Schedulers in Red5 0.8++
In Spring 2.5.6 there is no spring-dao anymore.
Adding a spring-dao.jar from previous releases won't solve the class not found exception.
Also adding all jars that spring contains won't solve it.
thanks,
sebastian
2009/5/29 Karl Mertens <bigben009 at hotmail.de>
do you have also the
spring-dao.jar
in your lib?
greetz
Date: Thu, 28 May 2009 23:32:32 +0200
From: seba.wagner at gmail.com
To: red5 at osflash.org
Subject: Re: [Red5] Classloader Problems with Hibernate and Spring Schedulers in Red5 0.8++
I don't know the root answer but its 1:1 like docu does it
http://static.springframework.org/spring/docs/2.5.x/reference/scheduling.html#scheduling-quartz-cron
I think you do not need to give it a name or Id as it makes no sense to reference that bean actively from another bean as spring will load it automatically to start the schedulers/triggers.
sebastian
2009/5/28 Karl Mertens <bigben009 at hotmail.de>
why does your bean for the scheduler job has no id?
all spring bean files i´ve seen had only beans with id or name attribute... sorry iam no spring specialist, i just say what i see.
greetz
Date: Wed, 27 May 2009 21:38:25 +0200
From: seba.wagner at gmail.com
To: red5 at osflash.org
Subject: Re: [Red5] Classloader Problems with Hibernate and Spring Schedulers in Red5 0.8++
I read this. As antlr was already in the global-lib I expect that to be loaded earlier then any jar from webapp-lib.
When you put all hibernate related jars in the global lib, the Exception is gone too.If its related to an Issue with antlr putting all into global should not solve anything?
sebastian
2009/5/27 Karl Mertens <bigben009 at hotmail.de>
about the classDefnot found exception of hql...
have you found the tons of google entrys regarding the same problem when using weblogic server, all of them solved this problem by puting the antlr.jar on topof the CLASSPATH...?
Date: Wed, 27 May 2009 20:20:12 +0200
From: seba.wagner at gmail.com
To: red5 at osflash.org
Subject: Re: [Red5] Classloader Problems with Hibernate and Spring Schedulers in Red5 0.8++
no that ain't a db driver. I don't know exactly what it is, but it is related to what kind of HQL-Factory you are using. ClassicalQuery... or ASTQueryTranslatorFactory.
sebastian
2009/5/27 Daniel Rossi <electroteque at gmail.com>
On 28/05/2009, at 3:15 AM, Sebastian Wagner wrote:
*hql.Token
Thats a db driver correct ? My example is using derby but the same should apply here. There isn't a need anymore to go into the common path :)
_______________________________________________
Red5 mailing list
Red5 at osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org
--
Sebastian Wagner
http://www.webbase-design.de
http://openmeetings.googlecode.com
http://www.laszlo-forum.de
seba.wagner at gmail.com
Kein Werbe-Blabla - hier klicken!
_______________________________________________
Red5 mailing list
Red5 at osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org
--
Sebastian Wagner
http://www.webbase-design.de
http://openmeetings.googlecode.com
http://www.laszlo-forum.de
seba.wagner at gmail.com
Kein Werbe-Blabla - hier klicken!
_______________________________________________
Red5 mailing list
Red5 at osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org
--
Sebastian Wagner
http://www.webbase-design.de
http://openmeetings.googlecode.com
http://www.laszlo-forum.de
seba.wagner at gmail.com
Die virtuelle Festplatte im Netz - 25 GB für deine Bilder, Musikfiles und Dateien! Jetzt kostenlos sichern!
_______________________________________________
Red5 mailing list
Red5 at osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org
--
Sebastian Wagner
http://www.webbase-design.de
http://openmeetings.googlecode.com
http://www.laszlo-forum.de
seba.wagner at gmail.com
Kein Werbe-Blabla - hier klicken!
_______________________________________________
Red5 mailing list
Red5 at osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org
--
Sebastian Wagner
http://www.webbase-design.de
http://openmeetings.googlecode.com
http://www.laszlo-forum.de
seba.wagner at gmail.com
_________________________________________________________________
http://redirect.gimas.net/?n=M0905xIE8_MSN3
Hol Dir den neuen Internet Explorer 8 mit MSN-Toolbar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://osflash.org/pipermail/red5_osflash.org/attachments/20090529/5a6bbd5c/attachment.html>
More information about the Red5
mailing list