Archiva
  1. Archiva
  2. MRM-1373

Archiva fails when default charset in database is UTF 8

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.3
    • Fix Version/s: 1.3.1
    • Component/s: None
    • Labels:
      None
    • Environment:
      Ubuntu linux 8.04 + mysql 5.0.5
    • Number of attachments :
      2

      Description

      Archiva fails when default charset in database is UTF 8. When I set charset to latin2 it works
      I get following exceptions. There are very similar bugs, but these are said to be fixed in 1.0.1 and I'm using 1.3.

      2010-04-19 22:52:43.701::WARN: Nested in org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'xmlRpcUserRepositories' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Cannot resolve reference to bean 'userRepositories' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userRepositories': FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'roleManager' defined in URL [jar:file:/opt/apache-archiva-1.3/apps/archiva/WEB-INF/lib/redback-rbac-role-manager-1.2.3.jar!/org/codehaus/plexus/redback/role/DefaultRoleManager.class]: Initialization of bean failed; nested exception is javax.jdo.JDODataStoreException: An exception was thrown while adding/validating class(es) : Specified key was too long; max key length is 767 bytes
      INFO | jvm 1 | 2010/04/19 22:52:43 | com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Specified key was too long; max key length is 767 bytes
      INFO | jvm 1 | 2010/04/19 22:52:43 | at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at com.mysql.jdbc.Util.getInstance(Util.java:384)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1054)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3562)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3494)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1960)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2114)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2690)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2619)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at com.mysql.jdbc.StatementImpl.execute(StatementImpl.java:783)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at com.mysql.jdbc.StatementImpl.execute(StatementImpl.java:626)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.jpox.store.rdbms.table.AbstractTable.executeDdlStatement(AbstractTable.java:614)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.jpox.store.rdbms.table.AbstractTable.executeDdlStatementList(AbstractTable.java:570)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.jpox.store.rdbms.table.AbstractTable.create(AbstractTable.java:297)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.jpox.store.rdbms.table.AbstractTable.exists(AbstractTable.java:341)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.jpox.store.rdbms.RDBMSManager$ClassAdder.performTablesValidation(RDBMSManager.java:3065)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.jpox.store.rdbms.RDBMSManager$ClassAdder.addClassTablesAndValidate(RDBMSManager.java:3326)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.jpox.store.rdbms.RDBMSManager$ClassAdder.run(RDBMSManager.java:2567)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.jpox.store.rdbms.RDBMSManager$MgmtTransaction.execute(RDBMSManager.java:2419)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.jpox.store.rdbms.RDBMSManager.addClasses(RDBMSManager.java:824)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.jpox.store.rdbms.RDBMSManager.addClass(RDBMSManager.java:838)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.jpox.store.StoreManager.getDatastoreClass(StoreManager.java:1218)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.jpox.store.rdbms.RDBMSManager.getExtent(RDBMSManager.java:1357)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.jpox.AbstractPersistenceManager.getExtent(AbstractPersistenceManager.java:2328)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.codehaus.plexus.redback.rbac.jdo.JdoTool.getAllObjects(JdoTool.java:213)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.codehaus.plexus.redback.rbac.jdo.JdoTool.getAllObjects(JdoTool.java:196)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.codehaus.plexus.redback.rbac.jdo.JdoTool.triggerInit(JdoTool.java:133)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.codehaus.plexus.redback.rbac.jdo.JdoTool.getPersistenceManager(JdoTool.java:119)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.codehaus.plexus.redback.rbac.jdo.JdoTool.getObjectById(JdoTool.java:300)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.codehaus.plexus.redback.rbac.jdo.JdoTool.objectExistsById(JdoTool.java:348)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.codehaus.plexus.redback.rbac.jdo.JdoRbacManager.resourceExists(JdoRbacManager.java:463)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.codehaus.plexus.redback.rbac.cached.CachedRbacManager.resourceExists(CachedRbacManager.java:612)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.codehaus.plexus.redback.role.processor.DefaultRoleModelProcessor.processResources(DefaultRoleModelProcessor.java:77)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.codehaus.plexus.redback.role.processor.DefaultRoleModelProcessor.process(DefaultRoleModelProcessor.java:61)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.codehaus.plexus.redback.role.DefaultRoleManager.loadApplication(DefaultRoleManager.java:165)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.codehaus.plexus.redback.role.DefaultRoleManager.loadRoleModel(DefaultRoleManager.java:107)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.codehaus.plexus.redback.role.DefaultRoleManager.initialize(DefaultRoleManager.java:411)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.codehaus.plexus.spring.PlexusLifecycleBeanPostProcessor.postProcessAfterInitialization(PlexusLifecycleBeanPostProcessor.java:217)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsAfterInitialization(AbstractAutowireCapableBeanFactory.java:361)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1344)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at java.security.AccessController.doPrivileged(Native Method)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.codehaus.plexus.spring.PlexusComponentFactoryBean.resolveRequirement(PlexusComponentFactoryBean.java:246)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.codehaus.plexus.spring.PlexusComponentFactoryBean.createInstance(PlexusComponentFactoryBean.java:163)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.codehaus.plexus.spring.PlexusComponentFactoryBean.getObject(PlexusComponentFactoryBean.java:108)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.springframework.beans.factory.support.FactoryBeanRegistrySupport$1.run(FactoryBeanRegistrySupport.java:121)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at java.security.AccessController.doPrivileged(Native Method)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:116)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.getObjectFromFactoryBean(FactoryBeanRegistrySupport.java:91)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.springframework.beans.factory.support.AbstractBeanFactory.getObjectForBeanInstance(AbstractBeanFactory.java:1288)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:275)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:269)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:104)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:495)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:162)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:925)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:835)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at java.security.AccessController.doPrivileged(Native Method)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:380)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:255)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:548)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.mortbay.jetty.servlet.Context.startContext(Context.java:136)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1239)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:466)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.mortbay.jetty.Server.doStart(Server.java:224)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.mortbay.xml.XmlConfiguration.main(XmlConfiguration.java:985)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at java.lang.reflect.Method.invoke(Method.java:597)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.mortbay.start.Main.invokeMain(Main.java:194)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.mortbay.start.Main.start(Main.java:534)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.mortbay.start.Main.start(Main.java:441)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.mortbay.start.Main.main(Main.java:119)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at java.lang.reflect.Method.invoke(Method.java:597)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:240)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at java.lang.Thread.run(Thread.java:619)
      INFO | jvm 1 | 2010/04/19 22:52:43 |
      INFO | jvm 1 | 2010/04/19 22:52:43 | NestedThrowables:
      INFO | jvm 1 | 2010/04/19 22:52:43 | com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Specified key was too long; max key length is 767 bytes
      INFO | jvm 1 | 2010/04/19 22:52:43 | Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'repositoryMetadataBuilder': Initialization of bean failed; nested exception is org.springframework.beans.TypeMismatchException: Failed to convert property value of type [java.lang.String] to required type [java.lang.Class] for property 'role'; nested exception is java.lang.IllegalArgumentException: Cannot find class [org.apache.maven.artifact.repository.metadata.RepositoryMetadataBuilder]:
      INFO | jvm 1 | 2010/04/19 22:52:43 | com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Specified key was too long; max key length is 767 bytes
      INFO | jvm 1 | 2010/04/19 22:52:43 | at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at com.mysql.jdbc.Util.getInstance(Util.java:384)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1054)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3562)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3494)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1960)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2114)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2690)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2619)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at com.mysql.jdbc.StatementImpl.execute(StatementImpl.java:783)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at com.mysql.jdbc.StatementImpl.execute(StatementImpl.java:626)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.jpox.store.rdbms.table.AbstractTable.executeDdlStatement(AbstractTable.java:614)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.jpox.store.rdbms.table.AbstractTable.executeDdlStatementList(AbstractTable.java:570)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.jpox.store.rdbms.table.AbstractTable.create(AbstractTable.java:297)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.jpox.store.rdbms.table.AbstractTable.exists(AbstractTable.java:341)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.jpox.store.rdbms.RDBMSManager$ClassAdder.performTablesValidation(RDBMSManager.java:3065)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.jpox.store.rdbms.RDBMSManager$ClassAdder.addClassTablesAndValidate(RDBMSManager.java:3326)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.jpox.store.rdbms.RDBMSManager$ClassAdder.run(RDBMSManager.java:2567)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.jpox.store.rdbms.RDBMSManager$MgmtTransaction.execute(RDBMSManager.java:2419)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.jpox.store.rdbms.RDBMSManager.addClasses(RDBMSManager.java:824)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.jpox.store.rdbms.RDBMSManager.addClass(RDBMSManager.java:838)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.jpox.store.StoreManager.getDatastoreClass(StoreManager.java:1218)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.jpox.store.rdbms.RDBMSManager.getExtent(RDBMSManager.java:1357)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.jpox.AbstractPersistenceManager.getExtent(AbstractPersistenceManager.java:2328)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.codehaus.plexus.redback.rbac.jdo.JdoTool.getAllObjects(JdoTool.java:213)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.codehaus.plexus.redback.rbac.jdo.JdoTool.getAllObjects(JdoTool.java:196)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.codehaus.plexus.redback.rbac.jdo.JdoTool.triggerInit(JdoTool.java:133)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.codehaus.plexus.redback.rbac.jdo.JdoTool.getPersistenceManager(JdoTool.java:119)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.codehaus.plexus.redback.rbac.jdo.JdoTool.getObjectById(JdoTool.java:300)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.codehaus.plexus.redback.rbac.jdo.JdoTool.objectExistsById(JdoTool.java:348)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.codehaus.plexus.redback.rbac.jdo.JdoRbacManager.resourceExists(JdoRbacManager.java:463)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.codehaus.plexus.redback.rbac.cached.CachedRbacManager.resourceExists(CachedRbacManager.java:612)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.codehaus.plexus.redback.role.processor.DefaultRoleModelProcessor.processResources(DefaultRoleModelProcessor.java:77)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.codehaus.plexus.redback.role.processor.DefaultRoleModelProcessor.process(DefaultRoleModelProcessor.java:61)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.codehaus.plexus.redback.role.DefaultRoleManager.loadApplication(DefaultRoleManager.java:165)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.codehaus.plexus.redback.role.DefaultRoleManager.loadRoleModel(DefaultRoleManager.java:107)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.codehaus.plexus.redback.role.DefaultRoleManager.initialize(DefaultRoleManager.java:411)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.codehaus.plexus.spring.PlexusLifecycleBeanPostProcessor.postProcessAfterInitialization(PlexusLifecycleBeanPostProcessor.java:217)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsAfterInitialization(AbstractAutowireCapableBeanFactory.java:361)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1344)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at java.security.AccessController.doPrivileged(Native Method)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.codehaus.plexus.spring.PlexusComponentFactoryBean.resolveRequirement(PlexusComponentFactoryBean.java:246)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.codehaus.plexus.spring.PlexusComponentFactoryBean.createInstance(PlexusComponentFactoryBean.java:163)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.codehaus.plexus.spring.PlexusComponentFactoryBean.getObject(PlexusComponentFactoryBean.java:108)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.springframework.beans.factory.support.FactoryBeanRegistrySupport$1.run(FactoryBeanRegistrySupport.java:121)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at java.security.AccessController.doPrivileged(Native Method)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:116)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.getObjectFromFactoryBean(FactoryBeanRegistrySupport.java:91)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.springframework.beans.factory.support.AbstractBeanFactory.getObjectForBeanInstance(AbstractBeanFactory.java:1288)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:275)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:269)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:104)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:495)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:162)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:925)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:835)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at java.security.AccessController.doPrivileged(Native Method)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:380)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:255)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:548)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.mortbay.jetty.servlet.Context.startContext(Context.java:136)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1239)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:466)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.mortbay.jetty.Server.doStart(Server.java:224)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.mortbay.xml.XmlConfiguration.main(XmlConfiguration.java:985)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at java.lang.reflect.Method.invoke(Method.java:597)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.mortbay.start.Main.invokeMain(Main.java:194)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.mortbay.start.Main.start(Main.java:534)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.mortbay.start.Main.start(Main.java:441)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.mortbay.start.Main.main(Main.java:119)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at java.lang.reflect.Method.invoke(Method.java:597)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:240)
      INFO | jvm 1 | 2010/04/19 22:52:43 | at java.lang.Thread.run(Thread.java:619)

      1. MRM-1373.patch
        0.8 kB
        Gwen Harold Autencio
      2. MRM-1373-known-issues.patch
        0.6 kB
        Gwen Harold Autencio

        Issue Links

          Activity

          Hide
          Brill Pappin added a comment -

          I'm having the same issue.

          I will attempt to create that database as a non utf8.

          Show
          Brill Pappin added a comment - I'm having the same issue. I will attempt to create that database as a non utf8.
          Hide
          Maria Odea Ching added a comment -

          This is actually a problem in Redback. I'll file a separate issue in the Redback jira and fix it there. Thanks!

          Show
          Maria Odea Ching added a comment - This is actually a problem in Redback. I'll file a separate issue in the Redback jira and fix it there. Thanks!
          Hide
          Gwen Harold Autencio added a comment - - edited

          I have replicated issue, setting default character to utf8.

          Will be testing the workaround given in REDBACK-267 if it works.

          Show
          Gwen Harold Autencio added a comment - - edited I have replicated issue, setting default character to utf8. Will be testing the workaround given in REDBACK-267 if it works.
          Hide
          Gwen Harold Autencio added a comment -

          Hi,

          I'm attaching a workaround documentation for this issue. Also attaching a patch for the archiva site adding MRM-1373 in the known issues section.

          Thanks.

          Show
          Gwen Harold Autencio added a comment - Hi, I'm attaching a workaround documentation for this issue. Also attaching a patch for the archiva site adding MRM-1373 in the known issues section. Thanks.
          Hide
          Maria Odea Ching added a comment -

          MRM-1373.patch applied to 1.3.x branch -r953209. I moved the reference to this JIRA issue specified in MRM-1373-known-issues.patch to the databases.apt instead. Thanks Gwen!

          Show
          Maria Odea Ching added a comment - MRM-1373 .patch applied to 1.3.x branch -r953209 . I moved the reference to this JIRA issue specified in MRM-1373 -known-issues.patch to the databases.apt instead. Thanks Gwen!
          Hide
          Maria Odea Ching added a comment -

          Merged to trunk in -r953219

          Show
          Maria Odea Ching added a comment - Merged to trunk in -r953219

            People

            • Assignee:
              Maria Odea Ching
              Reporter:
              Jacek
            • Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: