Hi, i'm using ubuntu 14.04 LTS, today after an reboot the openmeeting
application doesnt want to start,
i'm getting since the reboot the following error message :
/ERROR 06-11 20:04:45.090 o.a.o.r.r.ScopeApplicationAdapter:148
[Launcher:/openmeetings] - [appStart]//
//org.springframework.transaction.CannotCreateTransactionException:
Could not open JPA EntityManager for transaction; nested exception is
<openjpa-2.3.0//
//-r422266:1540826 fatal user error>
org.apache.openjpa.persistence.ArgumentException: The persistence
provider is attempting to use properties in the p//
//ersistence.xml file to resolve the data source. A Java Database
Connectivity (JDBC) driver or data source class name must be specified
in the openjpa.//
//ConnectionDriverName or javax.persistence.jdbc.driver property. The
following properties are available in the configuration:
"org.apache.openjpa.jdbc.//
//conf.JDBCConfigurationImpl@442ce698". /
Using version 3.0.5, i've check persistence.xml is correctly in place
and setup is good
<properties>
<property
name="openjpa.RuntimeUnenhancedClasses" value="unsupported" />
<property name="openjpa.ConnectionDriverName"
value="org.apache.commons.dbcp2.BasicDataSource" />
<property name="javax.persistence.jdbc.driver"
value="com.mysql.jdbc.Driver" />
<property name="openjpa.ConnectionProperties"
value="DriverClassName=com.mysql.jdbc.Driver
,
Url=jdbc:mysql://localhost:3306/openmeetings?autoReconnect=true&useUnicode=true&createDatabaseIfNotExist=true&characterEncoding=utf-8&connectionCollation=utf8_general_ci&cachePrepStmts=true&cacheCallableStatements=true&cacheServerConfiguration=true&useLocalSessionState=true&elideSetAutoCommits=true&alwaysSendSetIsolation=false&enableQueryTimeouts=false&prepStmtCacheSize=3000&prepStmtCacheSqlLimit=1000
, MaxActive=100
, MaxWait=10000
, TestOnBorrow=true
, poolPreparedStatements=true
, Username=root
, Password=xxxx" />
<property
name="openjpa.jdbc.SynchronizeMappings" value="buildSchema" />
<property name="openjpa.Log"
value="DefaultLevel=WARN, Runtime=INFO" />
<property name="openjpa.DataCache" value="true" />
<!-- QueryCache disabled due to changes outside
of JPA doesn't take effect with caching -->
<property name="openjpa.QueryCache"
value="false" />
<property name="openjpa.jdbc.DBDictionary"
value="batchLimit=100" />
<property name="openjpa.jdbc.QuerySQLCache"
value="false" />
</properties>
Was thinking coming from java version Oracle so i've use version openjdk
ava version "1.7.0_79"
OpenJDK Runtime Environment (IcedTea 2.5.5) (7u79-2.5.5-0ubuntu0.12.04.1)
OpenJDK 64-Bit Server VM (build 24.79-b02, mixed mode)
Unfortunaly nothing change.
If someone could help me ....
Vincent