Error during installation of openmeetings

103 views
Skip to first unread message

Giuseppe Tofoni

unread,
Jul 9, 2011, 10:34:14 AM7/9/11
to openmeet...@googlegroups.com
Hello there,

This my first installation, and I have the following error:

2011-07-09 16:15:29,758 [Launcher:/openmeetings] ERROR org.red5.server.Scope - Could not start scope [WebScope@1ca203 Depth = 1,
Path = '/default', Name = 'openmeetings']. java.lang.AbstractMethodError: org.postgresql.jdbc2.Jdbc2DatabaseMetaData.getDatabaseM
ajorVersion()I

The file  hibernate.cfg.xml (summary)
 

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-configuration PUBLIC "-//Hibernate/Hibernate Configuration DTD 3.0//EN" "hibernate-configuration-3.0.dtd">

<!-- Generated file - Do not edit! -->
<hibernate-configuration>
 <!-- a SessionFactory instance listed as /jndi/name -->
 <session-factory name="">
  <!-- User  / Password -->
  <property name="connection.username">user</property>
  <property name="connection.password">password</property>
  <!-- Database Settings -->
  <property name="connection.driver_class">org.postgresql.Driver</property>
  <property name="dialect">org.hibernate.dialect.PostgreSQLDialect</property>
  <property name="connection.url">jdbc:postgresql://172.16.65.1/openmeetings</property>
  <property name="hibernate.connection.CharSet">utf8</property>
  <property name="hibernate.connection.characterEncoding">utf8</property>
  <property name="hibernate.connection.useUnicode">true</property>
............
The database has been successfully created (with utf8), the user and passord are correct.

Can you help me?
Thanks in advance

Giuseppe

Wercules

unread,
Jul 15, 2011, 8:58:59 AM7/15/11
to openmeet...@googlegroups.com
I had the same problem.
 
 
 It helped me a lot.
 
Wercules

Giuseppe Tofoni

unread,
Jul 19, 2011, 5:56:33 PM7/19/11
to openmeet...@googlegroups.com
Thanks for your post.
I solved the problem this way:

Download the file from http://jdbc.postgresql.org/download.html
JDBC4 Postgresql Driver, Version 9.0-801, in folder openmeetings/webapps/openmeetings/WEB-INF/lib.
I renamed the file in postgresql-9.0 postgresql-8.2-801.jdbc4.jar 504.jdbc2.jar.old-and-file postgresql-9.0 postgresql-9.0-801.jdbc4.jar in 801.jdbc4.jar. Red5 restart the server and everything will be ok.
I tried openmeetings with moodle and created new users properly.


Giuseppe

seba....@gmail.com

unread,
Jul 20, 2011, 3:37:26 AM7/20/11
to openmeet...@googlegroups.com
Hi Giuseppe,

yes, we recently updated the Postgres JDBC driver in the SVN too, but its not released as package yet.

Sebastian

2011/7/19 Giuseppe Tofoni <gt0...@gmail.com>


--
You received this message because you are subscribed to the Google Groups "OpenMeetings User" group.
To view this discussion on the web visit https://groups.google.com/d/msg/openmeetings-user/-/L_hvopzelHwJ.

To post to this group, send email to openmeet...@googlegroups.com.
To unsubscribe from this group, send email to openmeetings-u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/openmeetings-user?hl=en.



--
Sebastian Wagner
http://www.webbase-design.de
http://openmeetings.googlecode.com
http://www.wagner-sebastian.com
seba....@gmail.com

Nilson Morais

unread,
Aug 19, 2011, 10:48:59 AM8/19/11
to openmeet...@googlegroups.com
thanks Giuseppe, I did like you said and it works.

# cd /usr/share/openmeetings/red5/webapps/openmeetings/WEB-INF/lib
# mv postgresql-8.2-504.jdbc2.jar postgresql-8.2-504.jdbc2.jar.old
# mv postgresql-9.0-801.jdbc4.jar postgresql-8.2-504.jdbc2.jar

tyvm!
Nilson Morais


Reply all
Reply to author
Forward
0 new messages