Closed GoogleCodeExporter closed 9 years ago
For my server I see the following problem in ~100% of cases. I believe there is
some
non-critical bug in hibernate binding description.
org.hibernate.QueryException: ClassNotFoundException: org.hibernate.hql.ast.HqlT
oken [select c from org.openmeetings.app.hibernate.beans.recording.Recording as
c where c.whiteBoardConverted = :whiteBoardConverted AND c.deleted != :deleted]
Original comment by alexei.f...@gmail.com
on 27 May 2009 at 3:30
I have reproduced the problem with
[select c from org.openmeetings.app.hibernate.beans.basic.Configuration as
c where c.conf_key = :conf_key and c.deleted = :deleted]
Original comment by alexei.f...@gmail.com
on 27 May 2009 at 5:06
We will have to add certain JARs to the servers-lib directory.
I have found a combination of JARs that works BUT that brings new problems:
1) Some of the features (espacially batik) does not harmony when you copy it to
servers-lib
2) It will make the BUild_From-Source process more complex when you have to add
some
JARs to your red5 installation everytime, we will need to update the ANT-Script
to do
that JOb, once we found a combination that works for all our features.
Original comment by seba.wag...@gmail.com
on 27 May 2009 at 5:18
I put this down from Priority, this is not Critical I think.
We may search for an alternative that let us use stay with the current setup.
Original comment by seba.wag...@gmail.com
on 28 May 2009 at 8:04
Issue 747 has been merged into this issue.
Original comment by alexei.f...@gmail.com
on 2 Jun 2009 at 5:36
Please pay attention. In comment to the issue 747, I proposed a temporary
solution (and
patch) to this problem.
As I understand, in general, to solve this problem, we will have to use the
same version of antlr,
that red5 uses. I will try to find out later about it
Original comment by CTpaH...@gmail.com
on 3 Jun 2009 at 6:03
I have noticed that the problem started to manifest itself during 0.7 to 0.8
transition. In 0.7 red5 used openmeetings_0_7_rc2/lib/antlr-2.7.6.jar. In 0.8
red5
uses red5-0.8.RC3-build-hudson-red5_jdk6_stable-79_2/lib/antlr-3.1.2.jar. Could
the
change of ANTLR version be a reason of AST parser failure?
Original comment by alexei.f...@gmail.com
on 3 Jun 2009 at 1:10
It seems I found a root of the problem. We have 6 antlr distribution copies in
the
classpath including incompatible ones. For me the following jar removal fixed
the
"whiteboard sql request" problem. Could anyone confirm that this fixes
"configuration
sql request" as well?
$ mv webapps/openmeetings/WEB-INF/lib/antlr-2.7.6.jar
webapps/openmeetings/WEB-INF/lib/antlr-2.7.6.jar.1
If yes, I will remove jar from svn.
Original comment by alexei.f...@gmail.com
on 3 Jun 2009 at 1:41
Well, in my environment I also deleted the following jars from Red5
distribution.
Restoring antlr-3.1.2.jar restores the problem.
lib/antlr-3.1.2.jar.1 lib/groovy-all-1.5.7.jar.1 lib/jython-2.5.jar.1
Original comment by alexei.f...@gmail.com
on 3 Jun 2009 at 1:54
Restored lib/groovy-all-1.5.7.jar and lib/jython-2.5.jar, and the system
worked. So
the final solution is to remove (or rename) lib/antlr-3.1.2.jar and
webapps/openmeetings/WEB-INF/lib/antlr-2.7.6.jar
Original comment by alexei.f...@gmail.com
on 3 Jun 2009 at 2:02
The antlr which works resides in
webapps/openmeetings/WEB-INF/lib/jalopy-1.5rc3.jar
It is a part of axis.
Original comment by alexei.f...@gmail.com
on 3 Jun 2009 at 2:28
The ANTLR embedded into jalopy has version 2.7.5 (20050128) which is different
from
2.7.6. I have removed jalopy (why should we have a source formatter in our
bundle?)
and replaced webapps/openmeetings/WEB-INF/lib/antlr-2.7.6.jar with
antlr-2.7.5.jar.
That worked for me.
Original comment by alexei.f...@gmail.com
on 3 Jun 2009 at 3:23
Vasya,
Could you please check if downgrading ANTLR version works for your/Sebastian's
problem? I used the following version:
http://www.antlr2.org/download/antlr-2.7.5.jar
Original comment by alexei.f...@gmail.com
on 3 Jun 2009 at 3:44
Let me summarize. Here goes an algorithm how to fix the problem.
1. Remove lib/antlr-3.1.2.jar,
webapps/openmeetings/WEB-INF/lib/jalopy-1.5rc3.jar,
webapps/openmeetings/WEB-INF/lib/antlr-2.7.6.jar
2. Add webapps/openmeetings/WEB-INF/lib/antlr-2.7.5.jar from
http://www.antlr2.org/download/antlr-2.7.5.jar
Original comment by alexei.f...@gmail.com
on 4 Jun 2009 at 9:20
This works for me too
Only found some differences. I do not have lib/antlr-3.1.2.jar - instead, I
deleted lib/antlr-
2.7.5.jar.
What is the reason for lower version of the library? It looks like DLL hell on
windowse.
Original comment by CTpaH...@gmail.com
on 4 Jun 2009 at 10:24
I was able to reproduce it, seems to be fixed that way.
Original comment by seba.wag...@gmail.com
on 5 Jun 2009 at 9:04
For public review, fixed in r2051
=> the removal of lib/antlr-3.1.2.jar from the red5-common lib has to be done
by hand
as this is not part of our project-codebase.
Original comment by seba.wag...@gmail.com
on 5 Jun 2009 at 9:11
Original issue reported on code.google.com by
seba.wag...@gmail.com
on 27 May 2009 at 10:27