[Red5] Red5 + Java6 + Hibernate

Mondain mondain at gmail.com
Wed Aug 6 12:34:29 PDT 2008


I just wanted to inform you all about a problem I just helped a friend solve
using Red5 and Hibernate in Java 6. His application was using Javassist for
bytecode manipulation and it would not start due to a
ClassNotFoundException, even though the class was clearly in the classpath
(WEB-INF/classes/). The steps we used to fix it were to update all the
hibernate libs and place them in red5/lib and removing them from
WEB-INF/lib. Then we added -Dsun.lang.ClassLoader.allowArraySyntax=true to
the bootstrap startup script (red5-bootstrap.bat) and the app worked
perfectly.

Further info:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-2990
http://lists.jboss.org/pipermail/jboss-development/2007-June/009718.html
http://markmail.org/message/dyvvplkjkbedzopw#query:javassist%20ClassNotFoundException+page:1+mid:wtap77o4huykbviq+state:results


Paul
-- 
http://gregoire.org/
http://osflash.org/red5
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/red5_osflash.org/attachments/20080806/279f6108/attachment.html 


More information about the Red5 mailing list