Uploaded image for project: 'Openmeetings'
  1. Openmeetings
  2. OPENMEETINGS-1034

openmeetings start always fails with postgresql db on debian

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Cannot Reproduce
    • Affects Version/s: 3.0.2
    • Fix Version/s: 3.0.3, 4.0.0
    • Component/s: None
    • Environment:

      Description

      Error appears during install after first run. It makes installation continue impossible.

      ERROR 07-04 12:05:43.462 ScopeApplicationAdapter.java 27077 151 org.apache.openmeetings.remote.red5.ScopeApplicationAdapter [Launcher:/openmeetings] - [appStart]
      org.springframework.transaction.CannotCreateTransactionException: Could not open JPA EntityManager for transaction; nested exception is <openjpa-2.2.2-r422266:1468616 fatal user error> org.apache.openjpa.persistence.ArgumentException: The persistence provider is attempting to use properties in the persistence.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".
      at org.springframework.orm.jpa.JpaTransactionManager.doBegin(JpaTransactionManager.java:427) ~[spring-orm-jar-3.1.1.RELEASE.jar:3.1.1.RELEASE]
      at org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:371) ~[spring-tx-jar-3.1.1.RELEASE.jar:3.1.1.RELEASE]
      at org.springframework.transaction.interceptor.TransactionAspectSupport.createTransactionIfNecessary(TransactionAspectSupport.java:335) ~[spring-tx-jar-3.1.1.RELEASE.jar:3.1.1.RELEASE]
      at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:105) ~[spring-tx-jar-3.1.1.RELEASE.jar:3.1.1.RELEASE]
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) ~[spring-aop-3.1.1.RELEASE.jar:3.1.1.RELEASE]
      at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:622) ~[spring-aop-3.1.1.RELEASE.jar:3.1.1.RELEASE]
      at org.apache.openmeetings.db.dao.basic.ConfigurationDao$$EnhancerByCGLIB$$4e73e75.getCryptKey(<generated>) ~[com.springsource.net.sf.cglib-2.2.0.jar:na]
      at org.apache.openmeetings.remote.red5.ScopeApplicationAdapter.getCryptKey(ScopeApplicationAdapter.java:2557) ~[openmeetings-core-3.0.2-RELEASE.jar:na]
      at org.apache.openmeetings.remote.red5.ScopeApplicationAdapter.appStart(ScopeApplicationAdapter.java:134) ~[openmeetings-core-3.0.2-RELEASE.jar:na]
      at org.red5.server.adapter.MultiThreadedApplicationAdapter.start(MultiThreadedApplicationAdapter.java:403) [red5.jar:na]
      at org.red5.server.adapter.ApplicationAdapter.start(ApplicationAdapter.java:54) [red5.jar:na]
      at org.red5.server.scope.Scope.start(Scope.java:1081) [red5.jar:na]
      at org.red5.server.scope.Scope.init(Scope.java:864) [red5.jar:na]
      at org.red5.server.scope.WebScope.register(WebScope.java:213) [red5.jar:na]
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.6.0_45]
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) ~[na:1.6.0_45]
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) ~[na:1.6.0_45]
      at java.lang.reflect.Method.invoke(Method.java:597) ~[na:1.6.0_45]
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1581) [spring-beans-3.1.1.RELEASE.jar:3.1.1.RELEASE]
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1522) [spring-beans-3.1.1.RELEASE.jar:3.1.1.RELEASE]
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1452) [spring-beans-3.1.1.RELEASE.jar:3.1.1.RELEASE]
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519) [spring-beans-3.1.1.RELEASE.jar:3.1.1.RELEASE]
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) [spring-beans-3.1.1.RELEASE.jar:3.1.1.RELEASE]
      at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294) [spring-beans-3.1.1.RELEASE.jar:3.1.1.RELEASE]
      at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225) [spring-beans-3.1.1.RELEASE.jar:3.1.1.RELEASE]
      at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291) [spring-beans-3.1.1.RELEASE.jar:3.1.1.RELEASE]
      at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193) [spring-beans-3.1.1.RELEASE.jar:3.1.1.RELEASE]
      at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:585) [spring-beans-3.1.1.RELEASE.jar:3.1.1.RELEASE]
      at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:913) [spring-context-3.1.1.RELEASE.jar:3.1.1.RELEASE]
      at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:464) [spring-context-3.1.1.RELEASE.jar:3.1.1.RELEASE]
      at org.red5.server.tomcat.TomcatLoader$1.run(TomcatLoader.java:595) [tomcatplugin-jar-1.4.jar:na]
      Caused by: org.apache.openjpa.persistence.ArgumentException: The persistence provider is attempting to use properties in the persistence.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".
      at org.apache.openjpa.jdbc.schema.DataSourceFactory.newDataSource(DataSourceFactory.java:72) ~[openjpa-bundle-2.2.2.jar:2.2.2]
      at org.apache.openjpa.jdbc.conf.JDBCConfigurationImpl.createConnectionFactory(JDBCConfigurationImpl.java:849) ~[openjpa-bundle-2.2.2.jar:2.2.2]
      at org.apache.openjpa.jdbc.conf.JDBCConfigurationImpl.getDBDictionaryInstance(JDBCConfigurationImpl.java:602) ~[openjpa-bundle-2.2.2.jar:2.2.2]
      at org.apache.openjpa.jdbc.meta.MappingRepository.endConfiguration(MappingRepository.java:1518) ~[openjpa-bundle-2.2.2.jar:2.2.2]
      at org.apache.openjpa.lib.conf.Configurations.configureInstance(Configurations.java:531) ~[openjpa-bundle-2.2.2.jar:2.2.2]
      at org.apache.openjpa.lib.conf.Configurations.configureInstance(Configurations.java:456) ~[openjpa-bundle-2.2.2.jar:2.2.2]
      at org.apache.openjpa.lib.conf.PluginValue.instantiate(PluginValue.java:120) ~[openjpa-bundle-2.2.2.jar:2.2.2]
      at org.apache.openjpa.conf.MetaDataRepositoryValue.instantiate(MetaDataRepositoryValue.java:68) ~[openjpa-bundle-2.2.2.jar:2.2.2]
      at org.apache.openjpa.lib.conf.ObjectValue.instantiate(ObjectValue.java:83) ~[openjpa-bundle-2.2.2.jar:2.2.2]
      at org.apache.openjpa.conf.OpenJPAConfigurationImpl.newMetaDataRepositoryInstance(OpenJPAConfigurationImpl.java:967) ~[openjpa-bundle-2.2.2.jar:2.2.2]
      at org.apache.openjpa.conf.OpenJPAConfigurationImpl.getMetaDataRepositoryInstance(OpenJPAConfigurationImpl.java:958) ~[openjpa-bundle-2.2.2.jar:2.2.2]
      at org.apache.openjpa.kernel.AbstractBrokerFactory.makeReadOnly(AbstractBrokerFactory.java:644) ~[openjpa-bundle-2.2.2.jar:2.2.2]
      at org.apache.openjpa.kernel.AbstractBrokerFactory.newBroker(AbstractBrokerFactory.java:203) ~[openjpa-bundle-2.2.2.jar:2.2.2]
      at org.apache.openjpa.kernel.DelegatingBrokerFactory.newBroker(DelegatingBrokerFactory.java:156) ~[openjpa-bundle-2.2.2.jar:2.2.2]
      at org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:227) ~[openjpa-bundle-2.2.2.jar:2.2.2]
      at org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:154) ~[openjpa-bundle-2.2.2.jar:2.2.2]
      at org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:60) ~[openjpa-bundle-2.2.2.jar:2.2.2]
      at org.springframework.orm.jpa.JpaTransactionManager.createEntityManagerForTransaction(JpaTransactionManager.java:445) ~[spring-orm-jar-3.1.1.RELEASE.jar:3.1.1.RELEASE]
      at org.springframework.orm.jpa.JpaTransactionManager.doBegin(JpaTransactionManager.java:366) ~[spring-orm-jar-3.1.1.RELEASE.jar:3.1.1.RELEASE]
      ... 30 common frames omitted

        Attachments

          Activity

            People

            • Assignee:
              solomax Maxim Solodovnik
              Reporter:
              bskydive Valeriy
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: