Hello Horace :) On Mon, 30 Dec 2024 at 11:30, Horace Miles <horace.mi...@gmail.com> wrote: > > Hello Maximum, > I tried to send this to user@openmeetings.apache.org but it bounced. I may > have been purged from the subscriber list.
I've added CC to user@ list :) > > I finally have some time and I am trying to upgrade from OM 6.1.0 to OM 7.2.0. > I have not been able to get a proper environment to work to do any programing > yet. > Here is my current configuration: > user@meetings:/opt/open720/bin/logs# java -version > openjdk version "17.0.7" 2023-04-18 > OpenJDK Runtime Environment (build 17.0.7+7-Ubuntu-0ubuntu118.04) > OpenJDK 64-Bit Server VM (build 17.0.7+7-Ubuntu-0ubuntu118.04, mixed mode, > sharing) > user@meetings:/opt/open720/bin/logs# cat /etc/os-release > NAME="Ubuntu" > VERSION="18.04.6 LTS (Bionic Beaver)" > ID=ubuntu > ID_LIKE=debian > PRETTY_NAME="Ubuntu 18.04.6 LTS" > VERSION_ID="18.04" > VERSION_CODENAME=bionic > UBUNTU_CODENAME=bionic > > Steps I have done: > > Stop Openmeetings > (*) Backup folder with existing installation > (*) Perform DB backup using tools available for your database > mv open700 to open700.old > Drop existing OM database > Create empty Database with same name and UTF-8 support > Unzip new version to open720 > Copied the following files from open700 to open720: > > /opt/open700/webapps/openmeetings/WEB-INF/classes/openmeetings.properties/ > opt/open700/webapps/openmeetings/WEB-INF/classes/META-INF/mysql_persistence.xml > /opt/open700/webapps/openmeetings/WEB-INF/classes/META-INF/persistence.xml These files should be **merged** NOT **copied** :((( The error below: "Could not resolve placeholder 'otp.issuer' in value "${otp.issuer}"" Caused by the fact **new** values are missing from `openmeetings.properties` file You can compare your current file and the file shipped with OM using your favorite visual diff tool (vim, Meld, WinMerge :))) I would recommend to use visual diff tool for all 3 files above instead of copying :) > /opt/open700/webapps/openmeetings/WEB-INF/lib/mysql-connector-java-8.0.29.jar > /opt/open700/conf/glorytoyah.org.jks/opt/open700/conf/meetings.glorytoyah.org.jks > /opt/open700/conf/logging.properties/opt/open700/conf/server.xml/opt/open700/conf/web.xml > > Updated Catalina home to /opt/open720 in tomcat4 file and > openmeetings.service file > > Start Openmeetings > go to https://localhost:5443/openmeetings > > I am getting the following error when starting openmeetings > ERROR 12-29 19:17:11.376 o.s.w.c.ContextLoader:299 [main] - Context > initialization failed > org.springframework.beans.factory.BeanCreationException: Error creating bean > with name 'otpManager': Injection of autowired dependencies failed; nested > exception is java.lang.IllegalArgumentException: Could not resolve > placeholder 'otp.issuer' in value "${otp.issuer}" > > Here is the complete Openmeetings log file that is generated: > INFO 12-29 19:17:08.557 o.s.w.c.ContextLoader:257 [main] - Root > WebApplicationContext: initialization started > INFO 12-29 19:17:10.291 o.s.o.j.LocalEntityManagerFactoryBean:437 [main] - > Initialized JPA EntityManagerFactory for persistence unit 'openmeetings' > DEBUG 12-29 19:17:11.107 o.a.o.m.KurentoHandler:144 [pool-1-thread-1] - > Reconnecting KMS > INFO 12-29 19:17:11.168 o.k.j.c.JsonRpcClientNettyWebSocket:191 > [pool-1-thread-1] - Connecting native client > INFO 12-29 19:17:11.171 o.k.j.c.JsonRpcClientNettyWebSocket:220 > [pool-1-thread-1] - Creating new NioEventLoopGroup > WARN 12-29 19:17:11.366 o.s.w.c.s.XmlWebApplicationContext:599 [main] - > Exception encountered during context initialization - cancelling refresh > attempt: org.springframework.beans.factory.BeanCreationException: Error > creating bean with name 'otpManager': Injection of autowired dependencies > failed; nested exception is java.lang.IllegalArgumentException: Could not > resolve placeholder 'otp.issuer' in value "${otp.issuer}" > INFO 12-29 19:17:11.369 o.s.o.j.LocalEntityManagerFactoryBean:651 [main] - > Closing JPA EntityManagerFactory for persistence unit 'openmeetings' > ERROR 12-29 19:17:11.376 o.s.w.c.ContextLoader:299 [main] - Context > initialization failed > org.springframework.beans.factory.BeanCreationException: Error creating bean > with name 'otpManager': Injection of autowired dependencies failed; nested > exception is java.lang.IllegalArgumentException: Could not resolve > placeholder 'otp.issuer' in value "${otp.issuer}" > at > org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessProperties(AutowiredAnnotationBeanPostProcessor.java:414) > at > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1431) > at > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:619) > at > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542) > at > org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335) > at > org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) > at > org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333) > at > org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208) > at > org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:955) > at > org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:929) > at > org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:591) > at > org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:399) > at > org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:278) > at > org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:103) > at > org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4462) > at > org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:4914) > at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:171) > at > org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:683) > at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:658) > at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:661) > at > org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1186) > at > org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1941) > at > java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539) > at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) > at > org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75) > at > java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:123) > at > org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:1096) > at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:478) > at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1619) > at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:318) > at > org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:114) > at > org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:402) > at org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:345) > at > org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:893) > at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:794) > at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:171) > at > org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1332) > at > org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1322) > at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) > at > org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75) > at > java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:145) > at > org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:866) > at > org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:248) > at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:171) > at > org.apache.catalina.core.StandardService.startInternal(StandardService.java:433) > at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:171) > at > org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:921) > at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:171) > at org.apache.catalina.startup.Catalina.start(Catalina.java:772) > at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native > Method) > at > java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) > at > java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.base/java.lang.reflect.Method.invoke(Method.java:568) > at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:347) > at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:478) > Caused by: java.lang.IllegalArgumentException: Could not resolve placeholder > 'otp.issuer' in value "${otp.issuer}" > at > org.springframework.util.PropertyPlaceholderHelper.parseStringValue(PropertyPlaceholderHelper.java:180) > at > org.springframework.util.PropertyPlaceholderHelper.replacePlaceholders(PropertyPlaceholderHelper.java:126) > at > org.springframework.beans.factory.config.PropertyPlaceholderConfigurer$PlaceholderResolvingStringValueResolver.resolveStringValue(PropertyPlaceholderConfigurer.java:230) > at > org.springframework.beans.factory.support.AbstractBeanFactory.resolveEmbeddedValue(AbstractBeanFactory.java:936) > at > org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1332) > at > org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1311) > at > org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.resolveFieldValue(AutowiredAnnotationBeanPostProcessor.java:710) > at > org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:693) > at > org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:119) > at > org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessProperties(AutowiredAnnotationBeanPostProcessor.java:408) > ... 54 common frames omitted > INFO 12-29 19:17:11.438 o.k.j.c.JsonRpcClientNettyWebSocket:191 > [rbeatExec-e1-t0] - Connecting native client > > -- > Horace Miles Jr > Ga 6:3 For if a man think himself to be something, when he is nothing, he > deceiveth himself. -- Best regards, Maxim