it is fixed the following command works for me ./admin.sh -v -i -user admin -group group -email [email protected] -tz "Asia/Tehran" --db-name openmeetings_test --db-type=mysql
On Sun, Mar 2, 2014 at 9:36 PM, Maduranga Siriwardena < [email protected]> wrote: > @Maxim Solodovnik > Thank you for the reply. > > I am planing to participate in GSoC through openmeetings. So I need get > familiar with the product. As I can't run the product currently, it is bit > difficult to proceed. Can you please notify me when the issue is fixed? > > > On Sun, Mar 2, 2014 at 6:55 PM, Maxim Solodovnik <[email protected] > >wrote: > > > You seems to find an issue > > Thanks for reporting :) > > > > Should be fixed > > > > > > On Sun, Mar 2, 2014 at 10:48 AM, Maduranga Siriwardena < > > [email protected]> wrote: > > > > > Hi all, > > > I'm trying to build the source code. I checked it out from the svn and > > > build it using the command "ant -Ddb=myql" and the building process > well > > > without any errors. > > > Then I tried to run the product. First I created a user and granted the > > > privileges to the user. Then I ran the bellow command. > > > > > > ./admin.sh -i -v -tz Europe/Berlin -email [email protected] -group > > > webbase -user admin --smtp-server localhost --db-type mysql --db-name > > > openmeetings_db --email-auth-user [email protected] --password > > > maduranga123 --system-email-address [email protected] > > > maduranga --db-host localhost --email-auth-pass maduranga123 --db-pass > > > maduranga123 > > > > > > But it gives some errors and terminates to run. Bellow is the output > > > printed on the command line. Can someone please help me to correct this > > > error? > > > > > > SLF4J: Class path contains multiple SLF4J bindings. > > > SLF4J: Found binding in > > > > > > > > > [jar:file:/home/maduranga/GSoC/openmeetings/trunk/singlewebapp/dist/red5/red5-server.jar!/org/slf4j/impl/StaticLoggerBinder.class] > > > SLF4J: Found binding in > > > > > > > > > [jar:file:/home/maduranga/GSoC/openmeetings/trunk/singlewebapp/dist/red5/lib/logback-classic-1.0.13.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] > > > Context init... > > > Logger name for context: openmeetings > > > DEBUG 03-02 09:05:24.291 ContextLoggingListener.java 88 72 ROOT [main] > - > > > Starting up context openmeetings > > > [INFO] [main] > > > org.springframework.context.support.ClassPathXmlApplicationContext - > > > Refreshing > > > > > > org.springframework.context.support.ClassPathXmlApplicationContext@c1da30b > > > : > > > startup date [Sun Mar 02 09:05:24 IST 2014]; root of context hierarchy > > > [INFO] [main] > > org.springframework.beans.factory.xml.XmlBeanDefinitionReader > > > - Loading XML bean definitions from class path resource > > > [openmeetings-applicationContext.xml] > > > [INFO] [main] > > > org.springframework.context.annotation.ClassPathBeanDefinitionScanner - > > > JSR-250 'javax.annotation.ManagedBean' found and supported for > component > > > scanning > > > [INFO] [main] > > > org.springframework.beans.factory.support.DefaultListableBeanFactory - > > > Pre-instantiating singletons in > > > > > > > > > org.springframework.beans.factory.support.DefaultListableBeanFactory@4258f598 > > > : > > > defining beans > > > > > > > > > [entityManagerFactory,transactionManager,org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor#0,multipartResolver,org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping#0,org.springframework.format.support.FormattingConversionServiceFactoryBean#0,org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter#0,org.springframework.web.servlet.handler.MappedInterceptor#0,org.springframework.web.servlet.mvc.method.annotation.ExceptionHandlerExceptionResolver#0,org.springframework.web.servlet.mvc.annotation.ResponseStatusExceptionResolver#0,org.springframework.web.servlet.mvc.support.DefaultHandlerExceptionResolver#0,org.springframework.web.servlet.handler.BeanNameUrlHandlerMapping,org.springframework.web.servlet.mvc.HttpRequestHandlerAdapter,org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter,org.springframework.aop.config.internalAutoProxyCreator,org.springframework.transaction.annotation.AnnotationTransactionAttributeSource#0,org.springframework.transaction.interceptor.TransactionInterceptor#0,org.springframework.transaction.config.internalTransactionAdvisor,org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,org.springframework.context.annotation.internalPersistenceAnnotationProcessor,networkTestingController,screenController,uploadController,web.handler,openmeetings.SessionManager,openmeetings.EmoticonsManager,openmeetings.HashMapStore,whiteBoardObjectListManagerById,whiteBoardObjectSyncManager,openmeetings.DatabaseStore,openmeetings.ServerUtil,xmlcrm.service,printservice.service,pollservice.service,languageservice.service,invitationservice.service,whiteboardservice.service,userservice.service,fileservice.service,openmeetings.FileProcessor,openmeetings.FlvExplorerConverter,errorservice.service,conferenceservice.service,chatservice.service,flvrecorderservice.service,openmeetings.FlvRecorderConverterTask,openmeetings.FlvInterviewConverterTask,openmeetings.FlvInterviewReConverterTask,openmeetings.FlvInterviewConverter,openmeetings.FlvRecorderConverter,openmeetings.SlaveHTTPConnectionManager,openmeetings.SessionClearJob,sessionClearJob,triggerSessionClear,openmeetings.MeetingReminderJob,meetingReminderClear,triggerMeetingReminder,testSetupCleanupJob,testSetupCleanup,triggerTestSetupCleanup,mailHandler,resetSendingMailStatus,triggerResetSendingMailStatus,sendMails,triggerSendMails,org.springframework.scheduling.quartz.SchedulerFactoryBean#0,appointmentReminderTypDaoImpl,appointmentCategoryDaoImpl,roommanagement,roomDao,sipDao,invitationDao,organisationmanagement,organisationDao,organisationUserDao,salutationmanagement,errorManagement,navimanagement,pollManagement,statemanagement,fieldLanguageDaoImpl,fieldValueDaoImpl,fieldLanguagesValuesDAO,fieldmanagment,configurationDaoImpl,appointmentDao,appointmentLogic,sessionManagement,userManagement,roomModeratorsDao,roomOrganisationDao,roomTypeDao,conferenceLogDao,conferenceLogTypeDao,emailManagement,fileExplorerItemDao,flvRecordingDao,flvRecordingLogDao,flvRecordingMetaDataDao,flvRecordingMetaDeltaDao,ldapConfigDao,invitationManagement,meetingMemberDao,privateMessageFolderDao,privateMessagesDao,soapLoginDao,userContactsDao,dao,usersDao,adminUserDao,userLevelDao,serverDao,chatDao,clientDao,mailMessageDao,oauth2Dao,generateImage,generateThumbs,generatePDF,smsHandler,importInitvalues,languageImport,libraryWmlLoader,generateSWF,fileUtils,ldapLoginManagement,timezoneUtil,whiteboardManagement,backupExport,backupImport,taskExecutor,userWebService,roomWebService,fileWebService,calendarWebService,jabberWebService,serverWebService,org.springframework.context.annotation.ConfigurationClassPostProcessor.importAwareProcessor]; > > > root of factory hierarchy > > > [INFO] [main] > org.springframework.orm.jpa.LocalEntityManagerFactoryBean - > > > Building JPA EntityManagerFactory for persistence unit 'openmeetings' > > > 447 openmeetings INFO [main] openjpa.Runtime - OpenJPA dynamically > > > loaded the class enhancer. Any classes that were not enhanced at build > > time > > > will be enhanced when they are loaded by the JVM. > > > [INFO] [main] > > > > > > > > > org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping > > > - Mapped > > > > > > > > > "{[/networktest.upload],methods=[GET],params=[],headers=[],consumes=[],produces=[],custom=[]}" > > > onto public void > > > > > > > > > org.apache.openmeetings.servlet.outputhandler.NetworkTestingController.serviceGet(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse,javax.servlet.http.HttpSession) > > > throws javax.servlet.ServletException,java.io.IOException > > > [INFO] [main] > > > > > > > > > org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping > > > - Mapped > > > > > > > > > "{[/networktest.upload],methods=[POST],params=[],headers=[],consumes=[],produces=[],custom=[]}" > > > onto public void > > > > > > > > > org.apache.openmeetings.servlet.outputhandler.NetworkTestingController.servicePost(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse,javax.servlet.http.HttpSession) > > > throws javax.servlet.ServletException,java.io.IOException > > > [INFO] [main] > > > > > > > > > org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping > > > - Mapped > > > > > > > > > "{[/screen.upload],methods=[],params=[],headers=[],consumes=[],produces=[],custom=[]}" > > > onto public void > > > > > > > > > org.apache.openmeetings.servlet.outputhandler.ScreenController.handleRequest(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse) > > > [INFO] [main] > > > > > > > > > org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping > > > - Mapped > > > > > > > > > "{[/file.upload],methods=[POST],params=[],headers=[],consumes=[],produces=[],custom=[]}" > > > onto public void > > > > > > > > > org.apache.openmeetings.servlet.outputhandler.UploadController.handleFileUpload(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse,javax.servlet.http.HttpSession) > > > throws javax.servlet.ServletException > > > [INFO] [main] > > > > > > > > > org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping > > > - Mapped > > > > > > > > > "{[/remotelog.upload],methods=[POST],params=[],headers=[],consumes=[],produces=[],custom=[]}" > > > onto public void > > > > > > > > > org.apache.openmeetings.servlet.outputhandler.UploadController.handleRemoteLog(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse) > > > throws javax.servlet.ServletException > > > [INFO] [main] > > > > > > > > > org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping > > > - Mapped > > > > > > > > > "{[/upload.upload],methods=[POST],params=[],headers=[],consumes=[],produces=[],custom=[]}" > > > onto public void > > > > > > > > > org.apache.openmeetings.servlet.outputhandler.UploadController.handleFormUpload(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse) > > > throws javax.servlet.ServletException > > > [WARN] [main] org.springframework.aop.framework.Cglib2AopProxy - Unable > > to > > > proxy method [public final long > > > > org.apache.openmeetings.db.dao.basic.ConfigurationDao.getMaxUploadSize()] > > > because it is final: All calls to this method via a proxy will be > routed > > > directly to the proxy. > > > [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.6 > > > created. > > > [INFO] [main] org.quartz.simpl.RAMJobStore - RAMJobStore initialized. > > > [INFO] [main] org.quartz.core.QuartzScheduler - Scheduler meta-data: > > Quartz > > > Scheduler (v2.1.6) > > > 'org.springframework.scheduling.quartz.SchedulerFactoryBean#0' 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 10 > > 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 > > > 'org.springframework.scheduling.quartz.SchedulerFactoryBean#0' > > initialized > > > from an externally provided properties instance. > > > [INFO] [main] org.quartz.impl.StdSchedulerFactory - Quartz scheduler > > > version: 2.1.6 > > > [INFO] [main] org.quartz.core.QuartzScheduler - JobFactory set to: > > > org.springframework.scheduling.quartz.AdaptableJobFactory@31fd4b0b > > > [INFO] [main] > > org.springframework.context.support.DefaultLifecycleProcessor > > > - Starting beans in phase 2147483647 > > > [INFO] [main] org.quartz.core.QuartzScheduler - Scheduler > > > > > > > > > org.springframework.scheduling.quartz.SchedulerFactoryBean#0_$_NON_CLUSTERED > > > started. > > > [INFO] [main] org.quartz.core.QuartzScheduler - Scheduler > > > > > > > > > org.springframework.scheduling.quartz.SchedulerFactoryBean#0_$_NON_CLUSTERED > > > shutting down. > > > [INFO] [main] org.quartz.core.QuartzScheduler - Scheduler > > > > > > > > > org.springframework.scheduling.quartz.SchedulerFactoryBean#0_$_NON_CLUSTERED > > > paused. > > > [INFO] [main] org.quartz.core.QuartzScheduler - Scheduler > > > > > > > > > org.springframework.scheduling.quartz.SchedulerFactoryBean#0_$_NON_CLUSTERED > > > shutdown complete. > > > 3336 openmeetings INFO [main] openjpa.Runtime - Starting OpenJPA > > 2.2.2 > > > [ERROR] [main] org.apache.openmeetings.db.dao.basic.ConfigurationDao - > > > cannot be cast to return type, you have misconfigured your > configuration > > > CONF_KEY: user.pass.minimum.length > > > java.lang.NullPointerException: null > > > at > > > > > > > > > org.apache.openmeetings.db.dao.basic.ConfigurationDao.getConfValue(ConfigurationDao.java:123) > > > ~[openmeetings-db-3.1.0-SNAPSHOT.jar:na] > > > at > > > > > > > > > org.apache.openmeetings.db.dao.basic.ConfigurationDao$$FastClassByCGLIB$$2f9526f2.invoke(<generated>) > > > [cglib-nodep-2.2.2.jar:na] > > > at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) > > > [cglib-nodep-2.2.2.jar:na] > > > at > > > > > > > > > org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:689) > > > [spring-aop-3.1.4.RELEASE.jar:3.1.4.RELEASE] > > > at > > > > > > > > > org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) > > > [spring-aop-3.1.4.RELEASE.jar:3.1.4.RELEASE] > > > at > > > > > > > > > org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110) > > > [spring-tx-jar-3.1.4.RELEASE.jar:3.1.4.RELEASE] > > > at > > > > > > > > > org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) > > > [spring-aop-3.1.4.RELEASE.jar:3.1.4.RELEASE] > > > at > > > > > > > > > org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:622) > > > [spring-aop-3.1.4.RELEASE.jar:3.1.4.RELEASE] > > > at > > > > > > > > > org.apache.openmeetings.db.dao.basic.ConfigurationDao$$EnhancerByCGLIB$$76f66a27.getConfValue(<generated>) > > > [cglib-nodep-2.2.2.jar:na] > > > at > > > > > > > > > org.apache.openmeetings.db.util.UserHelper.getMinPasswdLength(UserHelper.java:34) > > > [openmeetings-db-3.1.0-SNAPSHOT.jar:na] > > > at > > > > > > > > > org.apache.openmeetings.db.util.UserHelper.invalidPassword(UserHelper.java:38) > > > [openmeetings-db-3.1.0-SNAPSHOT.jar:na] > > > at org.apache.openmeetings.cli.Admin.checkAdminDetails(Admin.java:543) > > > [openmeetings-cli-3.1.0-SNAPSHOT.jar:na] > > > at org.apache.openmeetings.cli.Admin.process(Admin.java:274) > > > [openmeetings-cli-3.1.0-SNAPSHOT.jar:na] > > > at org.apache.openmeetings.cli.Admin.main(Admin.java:625) > > > [openmeetings-cli-3.1.0-SNAPSHOT.jar:na] > > > [ERROR] [main] org.apache.openmeetings.cli.Admin - Install failed > > > java.lang.NullPointerException: null > > > at > > > > > > > > > org.apache.openmeetings.db.util.UserHelper.getMinPasswdLength(UserHelper.java:34) > > > ~[openmeetings-db-3.1.0-SNAPSHOT.jar:na] > > > at > > > > > > > > > org.apache.openmeetings.db.util.UserHelper.invalidPassword(UserHelper.java:38) > > > ~[openmeetings-db-3.1.0-SNAPSHOT.jar:na] > > > at org.apache.openmeetings.cli.Admin.checkAdminDetails(Admin.java:543) > > > [openmeetings-cli-3.1.0-SNAPSHOT.jar:na] > > > at org.apache.openmeetings.cli.Admin.process(Admin.java:274) > > > [openmeetings-cli-3.1.0-SNAPSHOT.jar:na] > > > at org.apache.openmeetings.cli.Admin.main(Admin.java:625) > > > [openmeetings-cli-3.1.0-SNAPSHOT.jar:na] > > > > > > Thank you > > > -- > > > Maduranga Siriwardena > > > Undergraduate > > > University of Moratuwa, Faculty of Engineering > > > Department of Computer Science and Engineering > > > > > > > > > > > -- > > WBR > > Maxim aka solomax > > > > > > -- > Maduranga Siriwardena > Undergraduate > University of Moratuwa, Faculty of Engineering > Department of Computer Science and Engineering > -- WBR Maxim aka solomax
