I used Step 9 on your guide, completing with BUILD SUCCESSFUL.
this is what in on stderr with red5-debug.sh
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in
[jar:file:/usr/lib/red5/red5.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in
[jar:file:/usr/lib/red5/lib/logback-classic-1.0.3.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an
explanation.
this is what in on stdout with 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
Selected libraries: (62 items)
file:/usr/lib/red5/red5.jar
file:/usr/lib/red5/lib/com.springsource.org.objectweb.asm-3.2.0.jar
file:/usr/lib/red5/lib/slf4j-api-1.6.4.jar
file:/usr/lib/red5/lib/commons-beanutils-1.8.3.jar
file:/usr/lib/red5/lib/geronimo-jpa_2.0_spec-bundle-1.1.jar
file:/usr/lib/red5/lib/javaee-api-5.1.2.om.jar
file:/usr/lib/red5/lib/sysout-over-slf4j-1.0.2.jar
file:/usr/lib/red5/lib/mina-integration-beans-2.0.4.jar
file:/usr/lib/red5/lib/jython-standalone-2.5.2.jar
file:/usr/lib/red5/lib/commons-lang3-3.1.jar
file:/usr/lib/red5/lib/mina-core-2.0.4.jar
file:/usr/lib/red5/lib/commons-codec-1.6.jar
file:/usr/lib/red5/lib/commons-pool-1.5.6.jar
file:/usr/lib/red5/lib/httpcore-4.2.1.jar
file:/usr/lib/red5/lib/com.springsource.net.sf.cglib-2.2.0.jar
file:/usr/lib/red5/lib/org.springframework.aspects-jar-3.1.1.RELEASE.jar
file:/usr/lib/red5/lib/com.springsource.org.aopalliance-1.0.0.jar
file:/usr/lib/red5/lib/spring-aop-3.1.1.RELEASE.jar
file:/usr/lib/red5/lib/logback-core-1.0.3.jar
file:/usr/lib/red5/lib/spring-context-support-3.1.1.RELEASE.jar
file:/usr/lib/red5/lib/ehcache-core-2.5.0.jar
file:/usr/lib/red5/lib/com.springsource.org.mozilla.javascript-1.7.0.R2.jar
file:/usr/lib/red5/lib/com.springsource.org.apache.xerces-2.9.1.jar
file:/usr/lib/red5/lib/spring-asm-3.1.1.RELEASE.jar
file:/usr/lib/red5/lib/spring-context-3.1.1.RELEASE.jar
file:/usr/lib/red5/lib/com.springsource.org.antlr-3.1.3.jar
file:/usr/lib/red5/lib/jruby-1.6.7.2.jar
file:/usr/lib/red5/lib/mina-integration-jmx-2.0.4.jar
file:/usr/lib/red5/lib/httpclient-4.2.jar
file:/usr/lib/red5/lib/com.springsource.org.codehaus.groovy-1.7.0.jar
file:/usr/lib/red5/lib/jcl-over-slf4j-1.6.4.jar
file:/usr/lib/red5/lib/org.springframework.web.servlet-jar-3.1.1.RELEASE.jar
file:/usr/lib/red5/lib/com.springsource.org.objectweb.asm.commons-3.2.0.jar
file:/usr/lib/red5/lib/spring-web-3.1.1.RELEASE.jar
file:/usr/lib/red5/lib/commons-io-jar-2.1.jar
file:/usr/lib/red5/lib/commons-fileupload-jar-1.2.2.jar
file:/usr/lib/red5/lib/com.springsource.javax.xml.stream-1.0.1.jar
file:/usr/lib/red5/lib/quartz-1.8.5.jar
file:/usr/lib/red5/lib/org.springframework.transaction-jar-3.1.1.RELEASE.jar
file:/usr/lib/red5/lib/xmlrpc-2.0.1.jar
file:/usr/lib/red5/lib/spring-core-3.1.1.RELEASE.jar
file:/usr/lib/red5/lib/log4j-over-slf4j-1.6.4.jar
file:/usr/lib/red5/lib/red5-client.jar
file:/usr/lib/red5/lib/bcprov-jdk16-145.jar
file:/usr/lib/red5/lib/jul-to-slf4j-1.6.4.jar
file:/usr/lib/red5/lib/org.springframework.orm-jar-3.1.1.RELEASE.jar
file:/usr/lib/red5/lib/logback-classic-1.0.3.jar
file:/usr/lib/red5/lib/commons-collections-3.2.1.jar
file:/usr/lib/red5/lib/spring-beans-3.1.1.RELEASE.jar
file:/usr/lib/red5/lib/spring-expression-3.1.1.RELEASE.jar
file:/usr/lib/red5/lib/org.springframework.jdbc-jar-3.1.1.RELEASE.jar
file:/usr/lib/red5/lib/commons-modeler-2.0.1.jar
file:/usr/lib/red5/lib/cglib-jar-2.2.2.jar
file:/usr/lib/red5/conf/
file:/usr/lib/red5/plugins/
file:/usr/lib/red5/plugins/jasper-6.0.32.jar
file:/usr/lib/red5/plugins/tomcatplugin-1.3.jar
file:/usr/lib/red5/plugins/tomcat-coyote-6.0.32.jar
file:/usr/lib/red5/plugins/jasper-jdt-6.0.29.jar
file:/usr/lib/red5/plugins/jasper-el-6.0.32.jar
file:/usr/lib/red5/plugins/tomcat-juli-slf4j-1.5.0.jar
file:/usr/lib/red5/plugins/catalina-6.0.32.jar
Root: /usr/lib/red5
Deploy type: bootstrap
Logback selector: org.red5.logging.LoggingContextSelector
11:18:54,923 |-INFO in ch.qos.logback.classic.LoggerContext[default] -
Could NOT find resource [logback.groovy]
11:18:54,923 |-INFO in ch.qos.logback.classic.LoggerContext[default] -
Could NOT find resource [logback-test.xml]
11:18:54,923 |-INFO in ch.qos.logback.classic.LoggerContext[default] -
Found resource [logback.xml] at [file:/usr/lib/red5/conf/logback.xml]
11:18:54,924 |-WARN in ch.qos.logback.classic.LoggerContext[default] -
Resource [logback.xml] occurs multiple times on the classpath.
11:18:54,924 |-WARN in ch.qos.logback.classic.LoggerContext[default] -
Resource [logback.xml] occurs at [file:/usr/lib/red5/conf/logback.xml]
11:18:54,924 |-WARN in ch.qos.logback.classic.LoggerContext[default] -
Resource [logback.xml] occurs at [file:/usr/lib/red5/conf/logback.xml]
11:18:55,084 |-INFO in
ch.qos.logback.classic.joran.action.ConfigurationAction - debug
attribute not set
11:18:55,086 |-INFO in ch.qos.logback.core.joran.action.AppenderAction
- About to instantiate appender of type
[ch.qos.logback.core.ConsoleAppender]
11:18:55,095 |-INFO in ch.qos.logback.core.joran.action.AppenderAction
- Naming appender as [CONSOLE]
11:18:55,126 |-INFO in
ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming
default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for
[encoder] property
11:18:55,162 |-INFO in ch.qos.logback.core.joran.action.AppenderAction
- About to instantiate appender of type
[ch.qos.logback.core.FileAppender]
11:18:55,163 |-INFO in ch.qos.logback.core.joran.action.AppenderAction
- Naming appender as [FILE]
11:18:55,165 |-INFO in
ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming
default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for
[encoder] property
11:18:55,176 |-INFO in ch.qos.logback.core.FileAppender[FILE] - File
property is set to [log/red5.log]
11:18:55,177 |-INFO in ch.qos.logback.core.joran.action.AppenderAction
- About to instantiate appender of type
[ch.qos.logback.core.FileAppender]
11:18:55,177 |-INFO in ch.qos.logback.core.joran.action.AppenderAction
- Naming appender as [ERRORFILE]
11:18:55,181 |-INFO in
ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming
default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for
[encoder] property
11:18:55,181 |-INFO in ch.qos.logback.core.FileAppender[ERRORFILE] -
File property is set to [log/error.log]
11:18:55,181 |-INFO in ch.qos.logback.classic.joran.action.LevelAction
- ROOT level set to INFO
11:18:55,182 |-INFO in
ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender
named [CONSOLE] to Logger[ROOT]
11:18:55,182 |-INFO in
ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender
named [FILE] to Logger[ROOT]
11:18:55,182 |-INFO in ch.qos.logback.classic.joran.action.LevelAction
- org.springframework level set to INFO
11:18:55,182 |-INFO in ch.qos.logback.classic.joran.action.LevelAction
- org.apache level set to INFO
11:18:55,182 |-INFO in ch.qos.logback.classic.joran.action.LevelAction
- ch.qos level set to WARN
11:18:55,182 |-INFO in
ch.qos.logback.classic.joran.action.ConfigurationAction - End of
configuration.
11:18:55,183 |-INFO in
ch.qos.logback.classic.joran.JoranConfigurator@3d47358f - Registering
current configuration as safe fallback point
Setting default logging context: default
[INFO] [main] org.red5.server.Launcher - Red5 Server 1.0.0 RC3 $Rev:
4387 $ (http://code.google.com/p/red5/)
Red5 Server 1.0.0 RC3 $Rev: 4387 $ (http://code.google.com/p/red5/)
[INFO] [main]
org.springframework.context.support.FileSystemXmlApplicationContext -
Refreshing
org.springframework.context.support.FileSystemXmlApplicationContext@548997d1:
startup date [Tue Sep 18 11:18:55 MDT 2012]; 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.springframework.beans.factory.support.DefaultListableBeanFactory -
Pre-instantiating singletons in
org.springframework.beans.factory.support.DefaultListableBeanFactory@7023d08b:
defining beans
[placeholderConfig,red5.common,red5.core,context.loader,pluginLauncher,tomcat.server,rtmpt.server];
root of factory hierarchy
[INFO] [main]
org.springframework.context.support.FileSystemXmlApplicationContext -
Refreshing
org.springframework.context.support.FileSystemXmlApplicationContext@357c7988:
startup date [Tue Sep 18 11:18:55 MDT 2012]; root of context hierarchy
[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.springframework.beans.factory.support.DefaultListableBeanFactory -
Pre-instantiating singletons in
org.springframework.beans.factory.support.DefaultListableBeanFactory@ffa490e:
defining beans
[placeholderConfig,red5.server,rmiRegistry,mbeanServer,org.springframework.jmx.support.ConnectorServerFactoryBean#0,mbeanExporter,serializer,deserializer,minaEncoder,minaDecoder,statusObjectService,rtmpCodecFactory,rtmptCodecFactory,remotingCodecFactory,streamableFileFactory,filePersistenceThread,sharedObjectService,streamService,providerService,consumerService,schedulingService,warDeployService,remotingClient,object.cache,keyframe.cache,flv.impl,flvreader.impl,org.springframework.beans.factory.config.MethodInvokingFactoryBean#0,org.springframework.beans.factory.config.MethodInvokingFactoryBean#1,streamExecutor,fileConsumer,playlistSubscriberStream,clientBroadcastStream];
root of factory hierarchy
[INFO] [main] org.springframework.remoting.rmi.RmiRegistryFactoryBean -
Creating new RMI registry
[INFO] [main]
org.springframework.beans.factory.support.DefaultListableBeanFactory -
Destroying singletons in
org.springframework.beans.factory.support.DefaultListableBeanFactory@ffa490e:
defining beans
[placeholderConfig,red5.server,rmiRegistry,mbeanServer,org.springframework.jmx.support.ConnectorServerFactoryBean#0,mbeanExporter,serializer,deserializer,minaEncoder,minaDecoder,statusObjectService,rtmpCodecFactory,rtmptCodecFactory,remotingCodecFactory,streamableFileFactory,filePersistenceThread,sharedObjectService,streamService,providerService,consumerService,schedulingService,warDeployService,remotingClient,object.cache,keyframe.cache,flv.impl,flvreader.impl,org.springframework.beans.factory.config.MethodInvokingFactoryBean#0,org.springframework.beans.factory.config.MethodInvokingFactoryBean#1,streamExecutor,fileConsumer,playlistSubscriberStream,clientBroadcastStream];
root of factory hierarchy
[INFO] [main]
org.springframework.beans.factory.support.DefaultListableBeanFactory -
Destroying singletons in
org.springframework.beans.factory.support.DefaultListableBeanFactory@7023d08b:
defining beans
[placeholderConfig,red5.common,red5.core,context.loader,pluginLauncher,tomcat.server,rtmpt.server];
root of factory hierarchy
Exception org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'red5.common' defined in class path
resource [red5.xml]: Instantiation of bean failed; nested exception is
org.springframework.beans.BeanInstantiationException: Could not
instantiate bean class
[org.springframework.context.support.FileSystemXmlApplicationContext]:
Constructor threw exception; 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
On 2012-09-18 11:11, Stephen Cottham wrote:
If you stop OM running and then issue this
cd /usr/lib/red5/
then
./red5-debug.sh
What does the debug window say as it starts? Paste the error(s) back
and we can assist you further.
Im assuming you either compiled using the mysql syntax or downloaded
and copied the mysql connector manually?
Best regards
Stephen Cottham
Group IT Manager (Associate)
Robert Bird Group
Level 5, 333 Ann St
Brisbane, Queensland, 4000, Australia
Phone: +6173 319 2777 (AUS)
Phone: +44207 592 8000 (UK)
Fax: +6173 319 2799
Mobile: +61400 756 963 (AUS)
Mobile: +447900 918 616 (UK)
Web: www.robertbird.com
This email and any attachments are confidential and may contain
legally privileged information or copyright material. Unless
expressly
stated, confidentiality and/or legal privilege is not intended to be
waived by the sending of this email. The contents of this email,
including any attachments, are intended solely for the use of the
individual or entity to whom they are addressed. If you are not an
intended recipient, please contact us immediately by return email and
then delete both messages. You may not otherwise read, forward, copy,
use or disclose this email or any attachments. Any views expressed in
this email are those of the individual sender except where the sender
expressly, and with authority, states otherwise. It is your
responsibility to check any attachments for viruses or defects before
opening or sending them on. None of the sender or its related
entities
accepts any liability for any consequential damage resulting from
this
email containing computer viruses.
Disclaimer added by CodeTwo Exchange Rules
http://www.codetwo.com
-----Original Message-----
From: kmn [mailto:[email protected]]
Sent: 18 September 2012 18:00
To: Openmeetings User
Subject: Mysql connection issue on install
Using the headless ubuntu install guide, I get to this page in the
setup:
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!
My connection string in persistence.xml looks like this
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=openmeetings
, Password=password"/>
The openmeetings.log file looks like this
ry(BasicDataSource.java:1545) ~[commons-dbcp-jar-1.4.jar:1.4]
... 41 common frames omitted
Caused by: java.sql.SQLException: Access denied for user
'openmeetings'@'localhost' (using password: YES)
at
com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1055)
~[mysql-connector-java-jar-5.1.9.jar:na]
I have checked the username and password for mysql , they are ok,
I've even changed the grant on openmeetings to 'openmeetings'@'%',
with no effect.
Although I know what I am doing with MySQL, I've no clue with JDBC.
Any suggestions to where I might be going wrong?
--
Mark Newnham
American Data Group
(303)741-5711
--
This message has been scanned for viruses and dangerous content by
MailScanner, and is believed to be clean.
--
Mark Newnham
American Data Group
(303)741-5711
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.