you already have OM running and try to start another one OM On Sat, Jan 31, 2015 at 5:16 PM, Getachew Areda <[email protected]> wrote:
> according to ".BindException: Address already in use" you have 2 > instances running > shut another instance before running new one > > I don't understand - how can I stop the instances? which instances? > ------------------------------ > *From:* Maxim Solodovnik <[email protected]> > *To:* Getachew Areda <[email protected]>; Openmeetings user-list < > [email protected]> > *Sent:* Saturday, January 31, 2015 12:11 PM > *Subject:* Re: Faiuler message while upgrading openmeetings from 2.2.0 to > 3.0.3 > > please don't write personal emails > > according to ".BindException: Address already in use" you have 2 > instances running > shut another instance before running new one > > > > On Sat, Jan 31, 2015 at 5:09 PM, Getachew Areda <[email protected]> > wrote: > > luna506:/usr/lib/red5# ./red5-debug.sh > Running on Linux > Starting Red5 > Listening for transport dt_socket at address: 8787 > Red5 root: /usr/lib/red5 > Configuation root: /usr/lib/red5/conf > Red5 server jar was found > URL list: [file:/usr/lib/red5/red5-server.jar] > Selected libraries: (58 items) > file:/usr/lib/red5/red5-server.jar > file:/usr/lib/red5/lib/spring-web-4.0.6.RELEASE.jar > file:/usr/lib/red5/lib/commons-beanutils-1.8.3.jar > file:/usr/lib/red5/lib/spring-context-support-4.0.6.RELEASE.jar > file:/usr/lib/red5/lib/cglib-nodep-2.2.2.jar > file:/usr/lib/red5/lib/xercesImpl-2.9.1.jar > file:/usr/lib/red5/lib/spring-expression-4.0.6.RELEASE.jar > file:/usr/lib/red5/lib/commons-codec-1.6.jar > file:/usr/lib/red5/lib/spring-jdbc-jar-4.0.6.RELEASE.jar > file:/usr/lib/red5/lib/red5-io-1.0.4-SNAPSHOT.jar > file:/usr/lib/red5/lib/quartz-2.1.7.jar > file:/usr/lib/red5/lib/asm-jar-3.1.jar > file:/usr/lib/red5/lib/mina-integration-jmx-2.0.7.jar > file:/usr/lib/red5/lib/commons-collections-20040616.jar > file:/usr/lib/red5/lib/spring-aop-4.0.6.RELEASE.jar > file:/usr/lib/red5/lib/mina-core-2.0.7.jar > file:/usr/lib/red5/lib/commons-io-jar-2.4.jar > file:/usr/lib/red5/lib/spring-context-support-jar-4.0.6.RELEASE.jar > file:/usr/lib/red5/lib/geronimo-jpa_2.0_spec-bundle-1.1.jar > file:/usr/lib/red5/lib/spring-core-4.0.6.RELEASE.jar > file:/usr/lib/red5/lib/commons-fileupload-jar-1.3.jar > file:/usr/lib/red5/lib/commons-pool-1.5.6.jar > file:/usr/lib/red5/lib/jul-to-slf4j-1.7.7.jar > file:/usr/lib/red5/lib/jcl-over-slf4j-1.7.7.jar > file:/usr/lib/red5/lib/groovy-2.0.4.jar > file:/usr/lib/red5/lib/aspectjrt-1.7.4.jar > file:/usr/lib/red5/lib/spring-webmvc-jar-4.0.6.RELEASE.jar > file:/usr/lib/red5/lib/antlr-3.1.3.jar > file:/usr/lib/red5/lib/logback-classic-1.1.2.jar > file:/usr/lib/red5/lib/logback-core-1.1.2.jar > file:/usr/lib/red5/lib/bcprov-jdk15on-1.50.jar > file:/usr/lib/red5/lib/spring-tx-jar-4.0.6.RELEASE.jar > file:/usr/lib/red5/lib/spring-aspects-jar-4.0.6.RELEASE.jar > file:/usr/lib/red5/lib/red5-client-jar-1.0.3-RELEASE.jar > file:/usr/lib/red5/lib/jruby-1.6.8.jar > file:/usr/lib/red5/lib/slf4j-api-1.7.7.jar > file:/usr/lib/red5/lib/jython-standalone-2.5.3.jar > file:/usr/lib/red5/lib/httpclient-4.2.1.jar > file:/usr/lib/red5/lib/aopalliance-1.0.jar > file:/usr/lib/red5/lib/mina-integration-beans-2.0.7.jar > file:/usr/lib/red5/lib/ehcache-core-2.5.0.jar > file:/usr/lib/red5/lib/commons-lang3-3.1.jar > file:/usr/lib/red5/lib/spring-context-4.0.6.RELEASE.jar > file:/usr/lib/red5/lib/spring-beans-4.0.6.RELEASE.jar > file:/usr/lib/red5/lib/log4j-over-slf4j-1.7.7.jar > file:/usr/lib/red5/lib/spring-test-4.0.6.RELEASE.jar > file:/usr/lib/red5/lib/httpcore-4.2.1.jar > file:/usr/lib/red5/lib/isoparser-1.0-RC-19-SNAPSHOT.jar > file:/usr/lib/red5/lib/spring-orm-jar-4.0.6.RELEASE.jar > file:/usr/lib/red5/conf/ > file:/usr/lib/red5/plugins/ > file:/usr/lib/red5/plugins/tomcat-embed-jasper.jar > file:/usr/lib/red5/plugins/tomcat-embed-logging-juli.jar > file:/usr/lib/red5/plugins/tomcat-embed-core.jar > file:/usr/lib/red5/plugins/ecj-4.4.jar > file:/usr/lib/red5/plugins/tomcatplugin-1.7.jar > file:/usr/lib/red5/plugins/tomcat-embed-logging-log4j.jar > file:/usr/lib/red5/plugins/websocket-1.0.jar > Root: /usr/lib/red5 > Deploy type: bootstrap > Logback selector: org.red5.logging.LoggingContextSelector > [INFO] [main] org.red5.server.Launcher - Red5 Server 1.0.3-SNAPSHOT ( > http://code.google.com/p/red5/) > SLF4J: Class path contains multiple SLF4J bindings. > SLF4J: Found binding in > [jar:file:/usr/lib/red5/red5-server.jar!/org/slf4j/impl/StaticLoggerBinder.class] > SLF4J: Found binding in > [jar:file:/usr/lib/red5/lib/logback-classic-1.1.2.jar!/org/slf4j/impl/StaticLoggerBinder.class] > SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an > explanation. > SLF4J: Actual binding is of type [org.red5.logging.LoggingContextSelector] > [INFO] [main] > org.springframework.context.support.FileSystemXmlApplicationContext - > Refreshing > org.springframework.context.support.FileSystemXmlApplicationContext@24150b2d: > startup date [Sat Jan 31 11:01:59 UTC 2015]; root of context hierarchy > [INFO] [main] > org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML > bean definitions from class path resource [red5.xml] > [INFO] [main] > org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML > bean definitions from class path resource [jee-container.xml] > [INFO] [main] > org.springframework.beans.factory.config.PropertyPlaceholderConfigurer - > Loading properties file from class path resource [red5.properties] > [INFO] [main] org.red5.spring.Red5ApplicationContext - > setApplicationContext: > org.springframework.context.support.FileSystemXmlApplicationContext@24150b2d: > startup date [Sat Jan 31 11:01:59 UTC 2015]; root of context hierarchy > [INFO] [main] org.red5.spring.Red5ApplicationContext - > Red5ApplicationContext init > [INFO] [main] org.red5.spring.Red5ApplicationContext - Refreshing > ApplicationContext 'red5.common': startup date [Sat Jan 31 11:01:59 UTC > 2015]; parent: > org.springframework.context.support.FileSystemXmlApplicationContext@24150b2d > [INFO] [main] > org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML > bean definitions from class path resource [red5-common.xml] > [INFO] [main] > org.springframework.beans.factory.config.PropertyPlaceholderConfigurer - > Loading properties file from class path resource [red5.properties] > [INFO] [main] org.quartz.impl.StdSchedulerFactory - Using default > implementation for ThreadExecutor > [INFO] [main] org.quartz.core.SchedulerSignalerImpl - Initialized > Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl > [INFO] [main] org.quartz.core.QuartzScheduler - Quartz Scheduler v.2.1.7 > created. > [INFO] [main] org.quartz.simpl.RAMJobStore - RAMJobStore initialized. > [INFO] [main] org.quartz.core.QuartzScheduler - Scheduler meta-data: > Quartz Scheduler (v2.1.7) 'Red5_Scheduler' with instanceId 'NON_CLUSTERED' > Scheduler class: 'org.quartz.core.QuartzScheduler' - running locally. > NOT STARTED. > Currently in standby mode. > Number of jobs executed: 0 > Using thread pool 'org.quartz.simpl.SimpleThreadPool' - with 32 threads. > Using job-store 'org.quartz.simpl.RAMJobStore' - which does not support > persistence. and is not clustered. > [INFO] [main] org.quartz.impl.StdSchedulerFactory - Quartz scheduler > 'Red5_Scheduler' initialized from the specified file : > '/usr/lib/red5/conf/quartz.properties' > [INFO] [main] org.quartz.impl.StdSchedulerFactory - Quartz scheduler > version: 2.1.7 > [INFO] [main] org.quartz.core.QuartzScheduler - Scheduler > Red5_Scheduler_$_NON_CLUSTERED started. > [INFO] [main] org.springframework.remoting.rmi.RmiRegistryFactoryBean - > Creating new RMI registry > [INFO] [main] org.quartz.core.QuartzScheduler - Scheduler > Red5_Scheduler_$_NON_CLUSTERED shutting down. > [INFO] [main] org.quartz.core.QuartzScheduler - Scheduler > Red5_Scheduler_$_NON_CLUSTERED paused. > [INFO] [main] org.quartz.core.QuartzScheduler - Scheduler > Red5_Scheduler_$_NON_CLUSTERED shutdown complete. > Bootstrap exception: null > java.lang.reflect.InvocationTargetException > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:606) > at org.red5.server.Bootstrap.bootStrap(Bootstrap.java:123) > at org.red5.server.Bootstrap.main(Bootstrap.java:48) > Caused by: org.springframework.beans.factory.BeanCreationException: Error > creating bean with name 'red5.common' defined in class path resource > [red5.xml]: Invocation of init method failed; nested exception is > org.springframework.beans.factory.BeanCreationException: Error creating > bean with name 'rmiRegistry' defined in class path resource > [red5-common.xml]: Invocation of init method failed; nested exception is > java.rmi.server.ExportException: Port already in use: 9999; nested > exception is: > java.net.BindException: Address already in use > at > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1553) > at > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:539) > at > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:475) > at > org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:302) > at > org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228) > at > org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:298) > at > org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193) > at > org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:703) > at > org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:760) > at > org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:482) > at org.red5.server.Launcher.launch(Launcher.java:67) > ... 6 more > Caused by: org.springframework.beans.factory.BeanCreationException: Error > creating bean with name 'rmiRegistry' defined in class path resource > [red5-common.xml]: Invocation of init method failed; nested exception is > java.rmi.server.ExportException: Port already in use: 9999; nested > exception is: > java.net.BindException: Address already in use > at > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1553) > at > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:539) > at > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:475) > at > org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:302) > at > org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228) > at > org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:298) > at > org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193) > at > org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:684) > at > org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:760) > at > org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:482) > at > org.red5.spring.Red5ApplicationContext.refresh(Red5ApplicationContext.java:36) > at > org.springframework.context.support.AbstractRefreshableConfigApplicationContext.afterPropertiesSet(AbstractRefreshableConfigApplicationContext.java:151) > at > org.red5.spring.Red5ApplicationContext.afterPropertiesSet(Red5ApplicationContext.java:30) > at > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1612) > at > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1549) > ... 16 more > Caused by: java.rmi.server.ExportException: Port already in use: 9999; > nested exception is: > java.net.BindException: Address already in use > at sun.rmi.transport.tcp.TCPTransport.listen(TCPTransport.java:340) > at > sun.rmi.transport.tcp.TCPTransport.exportObject(TCPTransport.java:248) > at > sun.rmi.transport.tcp.TCPEndpoint.exportObject(TCPEndpoint.java:411) > at sun.rmi.transport.LiveRef.exportObject(LiveRef.java:147) > at > sun.rmi.server.UnicastServerRef.exportObject(UnicastServerRef.java:207) > at sun.rmi.registry.RegistryImpl.setup(RegistryImpl.java:122) > at sun.rmi.registry.RegistryImpl.<init>(RegistryImpl.java:108) > at > java.rmi.registry.LocateRegistry.createRegistry(LocateRegistry.java:203) > at > org.springframework.remoting.rmi.RmiRegistryFactoryBean.getRegistry(RmiRegistryFactoryBean.java:251) > at > org.springframework.remoting.rmi.RmiRegistryFactoryBean.getRegistry(RmiRegistryFactoryBean.java:237) > at > org.springframework.remoting.rmi.RmiRegistryFactoryBean.getRegistry(RmiRegistryFactoryBean.java:194) > at > org.springframework.remoting.rmi.RmiRegistryFactoryBean.afterPropertiesSet(RmiRegistryFactoryBean.java:165) > at > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1612) > at > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1549) > ... 30 more > Caused by: java.net.BindException: Address already in use > at java.net.PlainSocketImpl.socketBind(Native Method) > at > java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:376) > at java.net.ServerSocket.bind(ServerSocket.java:376) > at java.net.ServerSocket.<init>(ServerSocket.java:237) > at java.net.ServerSocket.<init>(ServerSocket.java:128) > at > sun.rmi.transport.proxy.RMIDirectSocketFactory.createServerSocket(RMIDirectSocketFactory.java:45) > at > sun.rmi.transport.proxy.RMIMasterSocketFactory.createServerSocket(RMIMasterSocketFactory.java:344) > at > sun.rmi.transport.tcp.TCPEndpoint.newServerSocket(TCPEndpoint.java:666) > at sun.rmi.transport.tcp.TCPTransport.listen(TCPTransport.java:329) > ... 43 more > Bootstrap exit > > ------------------------------ > *From:* Maxim Solodovnik <[email protected]> > *To:* Getachew Areda <[email protected]> > *Sent:* Saturday, January 31, 2015 12:07 PM > *Subject:* Re: Faiuler message while upgrading openmeetings from 2.2.0 to > 3.0.3 > > if there are no errors > just install OM > > > > On Sat, Jan 31, 2015 at 5:06 PM, Getachew Areda <[email protected]> > wrote: > > I don't see an error displayed. > with echo $RED5_HOME no message > with ./red5-debug.sh a very log message but no errors. > do you need the outcome? I will post it. > > > ------------------------------ > *From:* Maxim Solodovnik <[email protected]> > *To:* Getachew Areda <[email protected]> > *Sent:* Saturday, January 31, 2015 11:32 AM > *Subject:* Re: Faiuler message while upgrading openmeetings from 2.2.0 to > 3.0.3 > > OK > please additionally check environment variables: > echo $RED5_HOME > > Can you delete log/openmeetings.log > cd /usr/lib/red5 > ./red5-debug.sh > and send me error displayed > WBR, Maxim > (from mobile, sorry for the typos) > > > On Jan 31, 2015 3:00 PM, "Getachew Areda" <[email protected]> > wrote: > > Outcome. > -rw-r--r-- 1 nobody root 960374 Jan 31 07:23 mysql-connector-java.jar > > ------------------------------ > *From:* Maxim Solodovnik <[email protected]> > *To:* Getachew Areda <[email protected]> > *Sent:* Saturday, January 31, 2015 9:57 AM > *Subject:* Re: Faiuler message while upgrading openmeetings from 2.2.0 to > 3.0.3 > > ok > can you run this command: > ls -la /usr/lib/red5/webapps/openmeetings/WEB-INF/lib|grep mysql > > > > On Sat, Jan 31, 2015 at 2:56 PM, Getachew Areda <[email protected]> > wrote: > > script in /etc/init.d/red5: > > PROG=red5 > RED5_HOME=/usr/lib/red5 > DAEMON=$RED5_HOME/$PROG.sh > PIDFILE=/var/run/$PROG.pid > # Source function library > # . /etc/rc.d/init.d/functions > [ -r /etc/sysconfig/red5 ] && . /etc/sysconfig/red5 > RETVAL=0 > case "$1" in > start) > # echo -n $"Starting $PROG: " > # /usr/lib/openoffice/program/soffice > "-accept=socket,host=127.0.0.1,port=8100,tcpNoDelay=1;urp;" -headles$ > cd $RED5_HOME > start-stop-daemon --start -c nobody --pidfile $PIDFILE > $DAEMON >/dev/null 2>/dev/null & > RETVAL=$? > if [ $RETVAL -eq 0 ]; then > echo $! > $PIDFILE > # touch /var/lock/subsys/$PROG > fi > # [ $RETVAL -eq 0 ] && success $"$PROG startup" || failure $"$PROG startup" > echo > ;; > stop) > # pkill soffice.bin > start-stop-daemon --stop --quiet --pidfile $PIDFILE \ > --name java > rm -f $PIDFILE > echo > [ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/$PROG > ;; > restart) > $0 stop > $0 start > ;; > status) > status $PROG -p $PIDFILE > RETVAL=$? > ;; > *) > echo $"Usage: $0 {start|stop|restart|status}" > RETVAL=1 > esac > exit $RETVAL > > > ------------------------------ > *From:* Maxim Solodovnik <[email protected]> > *To:* Getachew Areda <[email protected]> > *Sent:* Saturday, January 31, 2015 9:50 AM > *Subject:* Re: Faiuler message while upgrading openmeetings from 2.2.0 to > 3.0.3 > > and what path is specified in /etc/init.d/red5 ??? > > > > On Sat, Jan 31, 2015 at 2:49 PM, Getachew Areda <[email protected]> > wrote: > > code: > /etc/init.d/red5 start > outcome: > start-stop-daemon: --start needs --exec or --startas > Try 'start-stop-daemon --help' for more information. > ------------------------------ > *From:* Maxim Solodovnik <[email protected]> > *To:* Openmeetings user-list <[email protected]>; Getachew > Areda <[email protected]> > *Sent:* Saturday, January 31, 2015 9:46 AM > > *Subject:* Re: Faiuler message while upgrading openmeetings from 2.2.0 to > 3.0.3 > > no > if error is "MySQL driver is not found" > how are you starting OM? > > > > On Sat, Jan 31, 2015 at 2:45 PM, Getachew Areda <[email protected]> > wrote: > > I've checked it again. The file "mysql-connector-java.jar" is in > /usr/lib/red5/webapps/openmeetings/WEB-INF/lib. > can the error be with other issues? > > > ------------------------------ > *From:* Maxim Solodovnik <[email protected]> > *To:* Openmeetings user-list <[email protected]>; Getachew > Areda <[email protected]> > *Sent:* Saturday, January 31, 2015 9:32 AM > *Subject:* Re: Faiuler message while upgrading openmeetings from 2.2.0 to > 3.0.3 > > if the output is the same, then you placed jar file in the wrong place .... > please check the file is copied into proper location > > > > On Sat, Jan 31, 2015 at 2:28 PM, Getachew Areda <[email protected]> > wrote: > > I've backed up the original OM 2.2.0 red5 files that worked before > upgrading to OM 3.0.3 in /usr/lib/red5.bak. > > ------------------------------ > *From:* Getachew Areda <[email protected]> > *To:* "[email protected]" <[email protected]> > *Sent:* Saturday, January 31, 2015 9:26 AM > > *Subject:* Re: Faiuler message while upgrading openmeetings from 2.2.0 to > 3.0.3 > > I mean cp mysql-connector-java-5.1.34/mysql-connector-java-5.1.34-bin.jar > /usr/lib/red5/webapps/openmeetings/WEB-INF/lib/mysql-connector-java.jar > /opt/red5 is where I original downloaded OM. Then after I moved it to > /usr/lib/ i.e. OM is in /usr/lib/red5 installed. > I've shortly posted the new error message. > > > > > > ------------------------------ > *From:* Maxim Solodovnik <[email protected]> > *To:* Openmeetings user-list <[email protected]>; Getachew > Areda <[email protected]> > *Sent:* Saturday, January 31, 2015 9:16 AM > *Subject:* Re: Faiuler message while upgrading openmeetings from 2.2.0 to > 3.0.3 > > great > > and the folder: /opt/red5 is the place OM is installed? > if yes > can you re-start OM and check what is the new error in the log? > > > > On Sat, Jan 31, 2015 at 2:13 PM, Getachew Areda <[email protected]> > wrote: > > yes I did it. after unzipping it, used the code > cp mysql-connector-java-5.1.34/mysql-connector-java-5.1.34-bin.jar > /opt/red5/webapps/openmeetings/WEB-INF/lib/mysql-connector-java.jar > > > ------------------------------ > *From:* Maxim Solodovnik <[email protected]> > *To:* Openmeetings user-list <[email protected]>; Getachew > Areda <[email protected]> > *Sent:* Saturday, January 31, 2015 9:09 AM > *Subject:* Re: Faiuler message while upgrading openmeetings from 2.2.0 to > 3.0.3 > > you need to place *jar* file into lib folder, NOT *tar.gz* > > > > On Sat, Jan 31, 2015 at 2:04 PM, Getachew Areda <[email protected]> > wrote: > > I've downloaded mysql-connector-java-5.1.34.tar.gz and placed it in > red5/webapps/openmeetings/WEB-INF/lib/. > > > Using > cp mysql-connector-java-5.1.34/mysql-connector-java-5.1.34-bin.jar > /opt/red5/webapps/openmeetings/WEB-INF/lib/mysql-connector-java.jar > > > > > On Saturday, January 31, 2015 8:59 AM, Getachew Areda < > [email protected]> wrote: > > > Sorry. I've tried by following the instruction. But it didn't work. > > > > On Saturday, January 31, 2015 7:38 AM, Maxim Solodovnik < > [email protected]> wrote: > > > to work with MySQL you need to download DB driver and put it into proper > place as described here: http://openmeetings.apache.org/MySQLConfig.html > > On Sat, Jan 31, 2015 at 12:28 PM, Getachew Areda <[email protected] > > wrote: > > I’ve successfully installed openmeetings 2.2.0 on debian wheezy following > the instructions by Matteo Veroni – translated from Italian*.* I wanted > to upgrade it to OM 3.0.3 latest version. I’ve followed the instruction > from the web interface of OM 2.2.0. > > At first I got this message: > *OpenMeetings - Loading ...* > The server is not yet completely initialized. Please try again in a couple > of seconds. > If this message persists for several minutes contact your > Sys-Administration. > If that message stays forever you should check the logs located in > openmeetings_install_dir/log > folder, probably your database user/pwd/host is wrong! > > As it stayed forever, I tried to reinstall it via the web > http://ip:5080/openmeetings. Following this step I got the following > error message. > > I’m very thankful if I get your respected support. > > Thank you > Tadewos > > Faiuler message while attempting to install from web interface > > Installation is failed > > org.springframework.transaction.CannotCreateTransactionException: Could > not open JPA EntityManager for transaction; nested exception is > <openjpa-2.3.0-r422266:1540826 fatal general error> > org.apache.openjpa.persistence.PersistenceException: Cannot load JDBC > driver class 'com.mysql.jdbc.Driver' > at > org.springframework.orm.jpa.JpaTransactionManager.doBegin(JpaTransactionManager.java:430) > at > org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:373) > at > org.springframework.transaction.interceptor.TransactionAspectSupport.createTransactionIfNecessary(TransactionAspectSupport.java:420) > at > org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:257) > at > org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:95) > at > org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) > at > org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:644) > at > org.apache.openmeetings.db.dao.basic.NavigationDao$$EnhancerBySpringCGLIB$$e835fa23.addGlobalStructure(<generated>) > at > org.apache.openmeetings.installation.ImportInitvalues.loadMainMenu(ImportInitvalues.java:141) > at > org.apache.openmeetings.installation.ImportInitvalues.loadSystem(ImportInitvalues.java:950) > at > org.apache.openmeetings.installation.ImportInitvalues.loadAll(ImportInitvalues.java:986) > at > org.apache.openmeetings.web.pages.install.InstallWizard$InstallProcess.run(InstallWizard.java:389) > at java.lang.Thread.run(Thread.java:745) > Caused by: <openjpa-2.3.0-r422266:1540826 fatal general error> > org.apache.openjpa.persistence.PersistenceException: Cannot load JDBC > driver class 'com.mysql.jdbc.Driver' > at > org.apache.openjpa.jdbc.sql.DBDictionaryFactory.newDBDictionary(DBDictionaryFactory.java:107) > at > org.apache.openjpa.jdbc.conf.JDBCConfigurationImpl.getDBDictionaryInstance(JDBCConfigurationImpl.java:603) > at > org.apache.openjpa.jdbc.meta.MappingRepository.endConfiguration(MappingRepository.java:1518) > at > org.apache.openjpa.lib.conf.Configurations.configureInstance(Configurations.java:535) > at > org.apache.openjpa.lib.conf.Configurations.configureInstance(Configurations.java:460) > at > org.apache.openjpa.lib.conf.PluginValue.instantiate(PluginValue.java:121) > at > org.apache.openjpa.conf.MetaDataRepositoryValue.instantiate(MetaDataRepositoryValue.java:68) > at > org.apache.openjpa.lib.conf.ObjectValue.instantiate(ObjectValue.java:83) > at > org.apache.openjpa.conf.OpenJPAConfigurationImpl.newMetaDataRepositoryInstance(OpenJPAConfigurationImpl.java:967) > at > org.apache.openjpa.conf.OpenJPAConfigurationImpl.getMetaDataRepositoryInstance(OpenJPAConfigurationImpl.java:958) > at > org.apache.openjpa.kernel.AbstractBrokerFactory.makeReadOnly(AbstractBrokerFactory.java:643) > at > org.apache.openjpa.kernel.AbstractBrokerFactory.newBroker(AbstractBrokerFactory.java:203) > at > org.apache.openjpa.kernel.DelegatingBrokerFactory.newBroker(DelegatingBrokerFactory.java:155) > at > org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:226) > at > org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:153) > at > org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:59) > at > org.springframework.orm.jpa.JpaTransactionManager.createEntityManagerForTransaction(JpaTransactionManager.java:448) > at > org.springframework.orm.jpa.JpaTransactionManager.doBegin(JpaTransactionManager.java:369) > ... 12 more > Caused by: org.apache.commons.dbcp.SQLNestedException: Cannot load JDBC > driver class 'com.mysql.jdbc.Driver' > at > org.apache.commons.dbcp.BasicDataSource.createConnectionFactory(BasicDataSource.java:1429) > at > org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1371) > at > org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:1044) > at > org.apache.openjpa.lib.jdbc.DelegatingDataSource.getConnection(DelegatingDataSource.java:110) > at > org.apache.openjpa.lib.jdbc.DecoratingDataSource.getConnection(DecoratingDataSource.java:87) > at > org.apache.openjpa.jdbc.sql.DBDictionaryFactory.newDBDictionary(DBDictionaryFactory.java:91) > ... 29 more > Caused by: java.lang.ClassNotFoundException: com.mysql.jdbc.Driver > at > org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1720) > at > org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1571) > at > org.apache.commons.dbcp.BasicDataSource.createConnectionFactory(BasicDataSource.java:1420) > ... 34 more > > > > > > > > > -- > WBR > Maxim aka solomax > > > > > > > > -- > WBR > Maxim aka solomax > > > > > > -- > WBR > Maxim aka solomax > > > > > > > > -- > WBR > Maxim aka solomax > > > > > > -- > WBR > Maxim aka solomax > > > > > > -- > WBR > Maxim aka solomax > > > > > > -- > WBR > Maxim aka solomax > > > > > > > > -- > WBR > Maxim aka solomax > > > > > > -- > WBR > Maxim aka solomax > > > -- WBR Maxim aka solomax
