Well actually, that caused other problems.

Anyway. A better way to fix this, is to replace the /red5/lib/
antlr-3*.jar with /red5/webapps/openmeetings/WEB-INF/lib/
antlr-2.7.6.jar

(The hibernate problem has been caused by the antlr version 3)


On 8 Mai, 18:03, Stefan Handschuh <handschuh.ste...@googlemail.com>
wrote:
> Here's a quick fix: copy the /red5/webapps/openmeetings/WEB-INF/lib/
> hibernate3.jar to /red5/lib
>
> Note: this is some kind of dirty
>
> On 4 Mai, 04:29, Tony Langdon <vk3...@gmail.com> wrote:
>
> > Hi,
>
> > Just installed Openmeetings on a CentOS 5.2 VPS.  Other than a few
> > hiccups with Java, which I got sorted out with the help of the service
> > provider, most of the parts went fine.  I installed the 0.8RC2 package
> > with the included Red 5.  Openmeetings started, and the database was
> > created, with the right characterset, so it looks like my database
> > configuration is right.  However, I get some Java exceptions in the
> > log, and connecting to Openmeetings from the web browser fails, when
> > it attempts to make a rtmpt connection to port 5088.
>
> > The server is a VPS running CentOS 5.2 64 bit, with 2GB RAM.  My Java
> > version is as follows:
>
> > java version "1.6.0_11"
> > Java(TM) SE Runtime Environment (build 1.6.0_11-b03)
> > Java HotSpot(TM) 64-Bit Server VM (build 11.0-b16, mixed mode)
>
> > Here's my logs.
>
> > error.log
>
> > 2009-05-04 12:14:57,771 [DefaultQuartzScheduler_Worker-1] WARN
> > o.h.c.C3P0ConnectionProvider - Both hibernate-style property
> > 'hibernate.c3p0.max_size' and c3p0-style property 'c3p0.max_size' have
> > been set in hibernate.properties. Hibernate-style property
> > 'hibernate.c3p0.max_size' will be used and c3p0-style property
> > 'c3p0.max_size' will be ignored!
> > 2009-05-04 12:14:57,771 [DefaultQuartzScheduler_Worker-1] WARN
> > o.h.c.C3P0ConnectionProvider - Both hibernate-style property
> > 'hibernate.c3p0.min_size' and c3p0-style property 'c3p0.min_size' have
> > been set in hibernate.properties. Hibernate-style property
> > 'hibernate.c3p0.min_size' will be used and c3p0-style property
> > 'c3p0.min_size' will be ignored!
> > 2009-05-04 12:14:57,771 [DefaultQuartzScheduler_Worker-1] WARN
> > o.h.c.C3P0ConnectionProvider - Both hibernate-style property
> > 'hibernate.c3p0.timeout' and c3p0-style property 'c3p0.timeout' have
> > been set in hibernate.properties. Hibernate-style property
> > 'hibernate.c3p0.timeout' will be used and c3p0-style property
> > 'c3p0.timeout' will be ignored!
> > 2009-05-04 12:14:57,771 [DefaultQuartzScheduler_Worker-1] WARN
> > o.h.c.C3P0ConnectionProvider - Both hibernate-style property
> > 'hibernate.c3p0.idle_test_period' and c3p0-style property
> > 'c3p0.idle_test_period' have been set in hibernate.properties.
> > Hibernate-style property 'hibernate.c3p0.idle_test_period' will be
> > used and c3p0-style property 'c3p0.idle_test_period' will be ignored!
> > 2009-05-04 12:14:57,772 [DefaultQuartzScheduler_Worker-1] WARN
> > o.h.c.C3P0ConnectionProvider - Both hibernate-style property
> > 'hibernate.c3p0.max_statements' and c3p0-style property
> > 'c3p0.max_statements' have been set in hibernate.properties.
> > Hibernate-style property 'hibernate.c3p0.max_statements' will be used
> > and c3p0-style property 'c3p0.max_statements' will be ignored!
> > 2009-05-04 12:14:59,371 [DefaultQuartzScheduler_Worker-2] ERROR
> > o.o.a.d.record.dao.RecordingDaoImpl - getRecordingsByRoom
> > org.hibernate.QueryException: ClassNotFoundException:
> > org.hibernate.hql.ast.HqlToken [select c from
> > org.openmeetings.app.hibernate.beans.recording.Recording as c where
> > c.whiteBoardConverted = :whiteBoardConverted AND c.deleted !=
> > :deleted]
> >         at org.hibernate.hql.ast.HqlLexer.panic(HqlLexer.java:80)
> > [hibernate3.jar:na]
> >         at antlr.CharScanner.setTokenObjectClass(CharScanner.java:338)
> > [antlr-3.1.2.jar:na]
> >         at 
> > org.hibernate.hql.ast.HqlLexer.setTokenObjectClass(HqlLexer.java:54)
> > [hibernate3.jar:na]
> >         at antlr.CharScanner.<init>(CharScanner.java:49) 
> > [antlr-3.1.2.jar:na]
> >         at antlr.CharScanner.<init>(CharScanner.java:58) 
> > [antlr-3.1.2.jar:na]
> >         at org.hibernate.hql.antlr.HqlBaseLexer.<init>(HqlBaseLexer.java:56)
> > [hibernate3.jar:na]
> >         at org.hibernate.hql.antlr.HqlBaseLexer.<init>(HqlBaseLexer.java:53)
> > [hibernate3.jar:na]
> >         at org.hibernate.hql.antlr.HqlBaseLexer.<init>(HqlBaseLexer.java:50)
> > [hibernate3.jar:na]
> >         at org.hibernate.hql.ast.HqlLexer.<init>(HqlLexer.java:49)
> > [hibernate3.jar:na]
> >         at org.hibernate.hql.ast.HqlParser.getInstance(HqlParser.java:67)
> > [hibernate3.jar:na]
> >         at 
> > org.hibernate.hql.ast.QueryTranslatorImpl.parse(QueryTranslatorImpl.java:265)
> > [hibernate3.jar:na]
> >         at 
> > org.hibernate.hql.ast.QueryTranslatorImpl.doCompile(QueryTranslatorImpl.java:180)
> > [hibernate3.jar:na]
> >         at 
> > org.hibernate.hql.ast.QueryTranslatorImpl.compile(QueryTranslatorImpl.java:134)
> > [hibernate3.jar:na]
> >         at 
> > org.hibernate.engine.query.HQLQueryPlan.<init>(HQLQueryPlan.java:101)
> > [hibernate3.jar:na]
> >         at 
> > org.hibernate.engine.query.HQLQueryPlan.<init>(HQLQueryPlan.java:80)
> > [hibernate3.jar:na]
> >         at 
> > org.hibernate.engine.query.QueryPlanCache.getHQLQueryPlan(QueryPlanCache.java:94)
> > [hibernate3.jar:na]
> >         at 
> > org.hibernate.impl.AbstractSessionImpl.getHQLQueryPlan(AbstractSessionImpl.java:156)
> > [hibernate3.jar:na]
> >         at 
> > org.hibernate.impl.AbstractSessionImpl.createQuery(AbstractSessionImpl.java:135)
> > [hibernate3.jar:na]
> >         at org.hibernate.impl.SessionImpl.createQuery(SessionImpl.java:1650)
> > [hibernate3.jar:na]
> >         at 
> > org.openmeetings.app.data.record.dao.RecordingDaoImpl.getRecordingWhiteboardToConvert(RecordingDaoImpl.java:114)
> > [openmeetings.jar:na]
> >         at 
> > org.openmeetings.app.data.record.WhiteboardConvertionJobManager.initJobs(WhiteboardConvertionJobManager.java:89)
> > [openmeetings.jar:na]
> >         at 
> > org.openmeetings.app.quartz.scheduler.QuartzRecordingJob.execute(QuartzRecordingJob.java:23)
> > [openmeetings.jar:na]
> >         at 
> > org.red5.server.scheduling.QuartzSchedulingServiceJob.execute(QuartzSchedulingServiceJob.java:59)
> > [red5.jar:na]
> >         at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
> > [quartz-1.6.1.jar:1.6.1]
> >         at 
> > org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:525)
> > [quartz-1.6.1.jar:1.6.1]
>
> > And here's openmeetings.log
>
> > DEBUG 05-04 12:14:55.296 ContextLoggingListener.java 1735 80 root
> > [main] - Starting up context openmeetings
> > DEBUG 05-04 12:14:56.684 ScopeApplicationAdapter.java 3123 111
> > org.openmeetings.app.remote.red5.ScopeApplicationAdapter
> > [Launcher:/openmeetings] - webAppPath :
> > /opt/red5/./webapps/openmeetings
> > DEBUG 05-04 12:14:56.978 EmoticonsManager.java 3417 53
> > org.openmeetings.app.remote.red5.EmoticonsManager
> > [Launcher:/openmeetings] - ##### loadEmot completed
> > ERROR 05-04 12:14:59.374 WhiteboardConvertionJobManager.java 5813 130
> > org.openmeetings.app.data.record.WhiteboardConvertionJobManager
> > [DefaultQuartzScheduler_Worker-2] - [initJobs]
> > java.lang.NullPointerException
> >         at 
> > org.openmeetings.app.data.record.WhiteboardConvertionJobManager.initJobs(WhiteboardConvertionJobManager.java:91)
> > [openmeetings.jar:na]
> >         at 
> > org.openmeetings.app.quartz.scheduler.QuartzRecordingJob.execute(QuartzRecordingJob.java:23)
> > [openmeetings.jar:na]
> >         at 
> > org.red5.server.scheduling.QuartzSchedulingServiceJob.execute(QuartzSchedulingServiceJob.java:59)
> > [red5.jar:na]
> >         at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
> > [quartz-1.6.1.jar:1.6.1]
> >         at 
> > org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:525)
> > [quartz-1.6.1.jar:1.6.1]
>
> > Any thoughts?
>
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"OpenMeetings User" group.
To post to this group, send email to openmeetings-user@googlegroups.com
To unsubscribe from this group, send email to 
openmeetings-user+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/openmeetings-user?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to