Now, i fix another problem....

You have to erase the database tables if everything fails in the first 
startup...
The second time, the server things that the database is ok, perhaps only 
cheching if the table are created or something similar....

Now i have this problem:

log4j:WARN No appenders could be found for logger 
(org.osaf.cosmo.log.LifecycleLoggerListener).
INFO   | jvm 1    | 2010/01/12 15:53:55 | log4j:WARN Please initialize the 
log4j system properly.
INFO   | jvm 1    | 2010/01/12 15:53:55 | Jan 12, 2010 3:53:55 PM 
org.apache.catalina.core.ApplicationContext log
INFO   | jvm 1    | 2010/01/12 15:53:55 | INFO: Initializing Spring root 
WebApplicationContext
INFO   | jvm 1    | 2010/01/12 15:54:16 | Jan 12, 2010 3:54:16 PM 
org.apache.catalina.core.ApplicationContext log
INFO   | jvm 1    | 2010/01/12 15:54:16 | INFO: 
org.tuckey.web.filters.urlrewrite.utils.Log ERROR: logLevelConf: commons
INFO   | jvm 1    | 2010/01/12 15:54:16 | Jan 12, 2010 3:54:16 PM 
org.apache.catalina.core.ApplicationContext log
INFO   | jvm 1    | 2010/01/12 15:54:16 | INFO: Initializing Spring 
FrameworkServlet 'springDispatcherServlet'
INFO   | jvm 1    | 2010/01/12 15:54:17 | Jan 12, 2010 3:54:17 PM 
org.apache.catalina.core.ApplicationContext log
INFO   | jvm 1    | 2010/01/12 15:54:17 | INFO: Initializing Spring root 
WebApplicationContext
INFO   | jvm 1    | 2010/01/12 15:54:29 | Jan 12, 2010 3:54:29 PM 
org.apache.catalina.core.StandardContext listenerStart
INFO   | jvm 1    | 2010/01/12 15:54:29 | SEVERE: Exception sending context 
initialized event to listener instance of class 
org.springframework.web.context.ContextLoaderListener
INFO   | jvm 1    | 2010/01/12 15:54:29 | 
org.springframework.beans.factory.BeanCreationException: Error creating bean 
with name 'exporter' defined in class path resource [applicationContext.xml]: 
Invocation of init method failed; nested exception is 
org.springframework.jmx.export.UnableToRegisterMBeanException: Unable to 
register MBean [org.osaf.cosmo.hibernate.jmx.cosmohibernateserv...@1fcc7a9] 
with key 'cosmo:name=hibernateStatistics'; nested exception is 
javax.management.InstanceAlreadyExistsException: cosmo:name=hibernateStatistics


Any idea that why a MBean is deployed two times????

Thanks!

  ----- Original Message ----- 
  From: Jordi Pujol 
  To: [email protected] 
  Sent: Tuesday, January 12, 2010 3:21 PM
  Subject: Re: Error on Cosmo server startup


  Hi!

  I fix the problem on the datasource, but know i have this error:

  java.lang.RuntimeException: Schema version found in database does not match 
schema version required by server

  Any idea?

  Regards!
    ----- Original Message ----- 
    From: Jordi Pujol 
    To: [email protected] 
    Sent: Tuesday, January 12, 2010 10:30 AM
    Subject: Error on Cosmo server startup


    Hi!

    I follow all the instructions to config Cosmo on Tomcat.

    But when i startup i see this error on logs:

     SEVERE: Exception sending context initialized event to listener instance 
of class org.osaf.cosmo.db.DbListener
    INFO   | jvm 1    | 2010/01/12 10:07:49 | 
org.springframework.jdbc.UncategorizedSQLException: Hibernate operation: Cannot 
open connection; uncategorized SQLException for SQL [???]; SQL state [null]; 
error code [0]; Cannot create JDBC driver of class '' for connect URL 'null'; 
nested exception is org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot 
create JDBC driver of class '' for connect URL 'null'

    I check that the context is set up, the database created (also the database 
has the tables, etc...).....

    It seems that the org.osaf.cosmo.db.DbListener class can connect to the 
datasource....

    Any idea?

    Thanks!
_______________________________________________
[email protected] mailing list
unsubscribe here: http://lists.osafoundation.org/mailman/listinfo/chandler-users
Chandler wiki: http://chandlerproject.org/wikihome

Reply via email to