Maxim Thanks for the help , I fixed it
-baskar On Wed, Nov 14, 2012 at 4:19 PM, Maxim Solodovnik <[email protected]>wrote: > The only option I can guess is: > You have 1 DB in your config and another DB while you checking .. > > > On Mon, Nov 12, 2012 at 11:59 PM, Baskar Rajendran < > [email protected]> wrote: > > > Is there any other reference i should map this encryption class name > > correctly?? > > > > -baskar > > > > On Mon, Nov 12, 2012 at 10:27 PM, Baskar Rajendran < > > [email protected]> wrote: > > > > > Maxim > > > > > > here's the query result > > > > > > select * from configuration where id=1 > > > -> ; > > > > > > > > > +----+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------+-------------------------------------------------------+---------+---------------------+------------+---------+ > > > | id | comment_field > > > > > > > > > | conf_key | conf_value > > > | deleted | starttime | > > updatetime > > > | user_id | > > > > > > > > > +----+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------+-------------------------------------------------------+---------+---------------------+------------+---------+ > > > | 1 | This Class is used for Authentification-Crypting. Be carefull > what > > > you do here! If you change it while running previous Pass of users will > > not > > > be workign anymore! for more Information see > > > http://code.google.com/p/openmeetings/wiki/CustomCryptMechanism | > > > crypt_ClassName | > org.apache.openmeetings.utils.crypt.MD5Implementation | > > > | 2012-07-25 06:15:24 | NULL | NULL | > > > > > > > > > +----+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------+-------------------------------------------------------+---------+---------------------+------------+---------+ > > > 1 row in set (0.01 sec) > > > > > > > > > > > > On Mon, Nov 12, 2012 at 10:20 PM, Maxim Solodovnik < > [email protected] > > >wrote: > > > > > >> According to your stacktrace conf value in your db is null > > >> On Nov 12, 2012 11:26 PM, "Baskar Rajendran" < > > [email protected]> > > >> wrote: > > >> > > >> > This is failing the application to start... > > >> > > > > > > > > > > > >> > > > >> > -baskar > > >> > > > >> > On Mon, Nov 12, 2012 at 9:53 PM, Baskar Rajendran < > > >> > [email protected]> wrote: > > >> > > > >> > > Can any one help ? > > >> > > > > >> > > what's expected for crypt_ClassName? the conf_value in db > > >> > > is org.apache.openmeetings.utils.crypt.MD5Implementation > > >> > > > > >> > > > > >> > > > > >> > > uration CONF_KEY: crypt_ClassName > > >> > > ERROR 11-12 16:14:16.248 ConfigurationDao.java 15088 146 > > >> > > org.apache.openmeetings.data.basic.dao.ConfigurationDao > > >> > > [Launcher:/icollaborate] - cannot be cast to return type, you have > > >> > > misconfigured your configuration CONF_KEY: crypt_ClassName > > >> > > java.lang.NullPointerException: null > > >> > > at > > >> > > > > >> > > > >> > > > org.apache.openmeetings.data.basic.dao.ConfigurationDao.getConfValue(ConfigurationDao.java:138) > > >> > > ~[openmeetings-2.1.0-SNAPSHOT.jar:na] > > >> > > at > > >> > > > > >> > > > >> > > > org.apache.openmeetings.data.basic.dao.ConfigurationDao$$FastClassByCGLIB$$850542c6.invoke(<generated>) > > >> > > [com.springsource.net.sf.cglib-2.2.0.jar:na] > > >> > > at > > net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:191) > > >> > > [com.springsource.net.sf.cglib-2.2.0.jar:na] > > >> > > at > > >> > > > > >> > > > >> > > > org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:689) > > >> > > [spring-aop-3.1.1.RELEASE.jar:3.1.1.RELEASE] > > >> > > at > > >> > > > > >> > > > >> > > > org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) > > >> > > [spring-aop-3.1.1.RELEASE.jar:3.1.1.RELEASE] > > >> > > at > > >> > > > > >> > > > >> > > > org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110) > > >> > > > > [org.springframework.transaction-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.data.basic.dao.ConfigurationDao$$EnhancerByCGLIB$$5a43c5be.getConfValue(<generated>) > > >> > > [com.springsource.net.sf.cglib-2.2.0.jar:na] > > >> > > at > > >> > > > > >> > > > >> > > > org.apache.openmeetings.remote.red5.ScopeApplicationAdapter.getCryptKey(ScopeApplicationAdapter.java:2896) > > >> > > [openmeetings-2.1.0-SNAPSHOT.jar:na] > > >> > > at > > >> > > > > >> > > > >> > > > org.apache.openmeetings.remote.red5.ScopeApplicationAdapter.appStart(ScopeApplicationAdapter.java:125) > > >> > > [openmeetings-2.1.0-SNAPSHOT.jar:na] > > >> > > at > > >> > > > > >> > > > >> > > > org.red5.server.adapter.MultiThreadedApplicationAdapter.start(MultiThreadedApplicationAdapter.java:403) > > >> > > [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_33] > > >> > > at > > >> > > > > >> > > > >> > > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > > >> > > ~[na:1.6.0_33] > > >> > > at > > >> > > > > >> > > > >> > > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > > >> > > ~[na:1.6.0_33] > > >> > > at java.lang.reflect.Method.invoke(Method.java:597) > > >> > ~[na:1.6.0_33] > > >> > > 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] > > >> > > > > >> > > -baskar > > >> > > > > >> > > > >> > > > > > > > > > > > > -- > WBR > Maxim aka solomax >
