org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'PlatformConfigurator' defined in file [e:\Jetspeed-2.2.2\database\..\webapps\jetspeed\WEB-INF\assembly\boot\datasource.xml]: Invocation of init method failed; nested exception is org.apache.ojb.broker.metadata.MetadataException: Can't read repository file 'repository.xml'

portals-jetspeed-dev | David Sean Taylor (JIRA) | 3 years ago
  1. 0

    [jira] [Created] (JS2-1289) Jetspeed installer 2.2.2 Turkish installation problem

    portals-jetspeed-dev | 3 years ago | Gökhan Şahin (JIRA)
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'PlatformConfigurator' defined in file [e:\Jetspeed-2.2.2\database\..\webapps\jetspeed\WEB-INF\assembly\boot\datasource.xml]: Invocation of init method failed; nested exception is org.apache.ojb.broker.metadata.MetadataException: Can't read repository file 'repository.xml'
  2. 0

    [jira] [Commented] (JS2-1289) Jetspeed installer 2.2.2 Turkish installation problem

    portals-jetspeed-dev | 2 years ago | David Sean Taylor (JIRA)
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'PlatformConfigurator' defined in file [e:\Jetspeed-2.2.2\database\..\webapps\jetspeed\WEB-INF\assembly\boot\datasource.xml]: Invocation of init method failed; nested exception is org.apache.ojb.broker.metadata.MetadataException: Can't read repository file 'repository.xml'
  3. 0

    [jira] [Updated] (JS2-1289) Jetspeed installer 2.2.2 Turkish installation problem

    portals-jetspeed-dev | 3 years ago | David Sean Taylor (JIRA)
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'PlatformConfigurator' defined in file [e:\Jetspeed-2.2.2\database\..\webapps\jetspeed\WEB-INF\assembly\boot\datasource.xml]: Invocation of init method failed; nested exception is org.apache.ojb.broker.metadata.MetadataException: Can't read repository file 'repository.xml'
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    [jira] [Created] (JS2-1289) Jetspeed installer 2.2.2 Turkish installation problem

    portals-jetspeed-dev | 3 years ago | Gökhan Şahin (JIRA)
    org.apache.ojb.broker.OJBRuntimeException: Can't assign the specified jdbc field-type 'BIGINT' for field: access="readwrite" <field-descriptor /> in class: name="maxKey" column="MAX_KEY" jdbc-type="BIGINT" access="readwrite" /> org.apache.ojb.broker.metadata.ClassDescriptor@62470c64[ classNameOfObject=org.apache.ojb.broker.util.sequence.HighLowSequence in class: tableName=OJB_HL_SEQ org.apache.ojb.broker.metadata.ClassDescriptor@62470c64[ schema=<null> classNameOfObject=org.apache.ojb.broker.util.sequence.HighLowSequence isInterface=false tableName=OJB_HL_SEQ extendClassNames=[] schema=<null> {org.apache.ojb.broker.metadata.FieldDescriptor@267eaba4[columnName=TABLENAME,columnType=VARCHAR,isPrimaryKey=true,isLocking=false,isAutoincrement=false,access=readwrite,sequenceName=<null>,jdbcType=org.apache.ojb.broker.metadata.JdbcTypesHelper$T_Varchar@4636afba[jdbcType=12,jdbcTypeString=VARCHAR,associatedFieldType=org.apache.ojb.broker.metadata.FieldTypeClasses$StringFieldType@78f30883[sqlType=12,sqlTypeAsString=VARCHAR,isMutable=false]],super_class_fields ==> org.apache.ojb.broker.metadata.fieldaccess.PersistentFieldDirectAccessImplNew@1bb40e7e[rootType=class org.apache.ojb.broker.util.sequence.HighLowSequence,fieldName=tableName], field_belongs_to org.apache.ojb.broker.util.sequence.HighLowSequence, custom attributes [null], isInterface=false extendClassNames=[] {org.apache.ojb.broker.metadata.FieldDescriptor@267eaba4[columnName=TABLENAME,columnType=VARCHAR,isPrimaryKey=true,isLocking=false,isAutoincrement=false,access=readwrite,sequenceName=<null>,jdbcType=org.apache.ojb.broker.metadata.JdbcTypesHelper$T_Varchar@4636afba[jdbcType=12,jdbcTypeString=VARCHAR,associatedFieldType=org.apache.ojb.broker.metadata.FieldTypeClasses$StringFieldType@78f30883[sqlType=12,sqlTypeAsString=VARCHAR,isMutable=false]],super_class_fields ==> org.apache.ojb.broker.metadata.fieldaccess.PersistentFieldDirectAccessImplNew@1bb40e7e[rootType=class org.apache.ojb.broker.util.sequence.HighLowSequence,fieldName=tableName], field_belongs_to org.apache.ojb.broker.util.sequence.HighLowSequence, custom attributes [null], ],org.apache.ojb.broker.metadata.FieldDescriptor@60c31037[columnName=FIELDNAME,columnType=VARCHAR,isPrimaryKey=true,isLocking=false,isAutoincrement=false,access=readwrite,sequenceName=<null>,jdbcType=org.apache.ojb.broker.metadata.JdbcTypesHelper$T_Varchar@4636afba[jdbcType=12,jdbcTypeString=VARCHAR,associatedFieldType=org.apache.ojb.broker.metadata.FieldTypeClasses$StringFieldType@78f30883[sqlType=12,sqlTypeAsString=VARCHAR,isMutable=false]],super_class_fields ==> org.apache.ojb.broker.metadata.fieldaccess.PersistentFieldDirectAccessImplNew@265dbc82[rootType=class org.apache.ojb.broker.util.sequence.HighLowSequence,fieldName=fieldName], field_belongs_to org.apache.ojb.broker.util.sequence.HighLowSequence, custom attributes [null], ],org.apache.ojb.broker.metadata.FieldDescriptor@54030e7b[columnName=MAX_KEY,columnType=BIGINT,isPrimaryKey=false,isLocking=false,isAutoincrement=false,access=readwrite,sequenceName=<null>,jdbcType=<null>,super_class_fields ==> org.apache.ojb.broker.metadata.fieldaccess.PersistentFieldDirectAccessImplNew@14abd854[rootType=class org.apache.ojb.broker.util.sequence.HighLowSequence,fieldName=maxKey], field_belongs_to org.apache.ojb.broker.util.sequence.HighLowSequence, custom attributes [null], ],org.apache.ojb.broker.metadata.FieldDescriptor@60c31037[columnName=FIELDNAME,columnType=VARCHAR,isPrimaryKey=true,isLocking=false,isAutoincrement=false,access=readwrite,sequenceName=<null>,jdbcType=org.apache.ojb.broker.metadata.JdbcTypesHelper$T_Varchar@4636afba[jdbcType=12,jdbcTypeString=VARCHAR,associatedFieldType=org.apache.ojb.broker.metadata.FieldTypeClasses$StringFieldType@78f30883[sqlType=12,sqlTypeAsString=VARCHAR,isMutable=false]],super_class_fields ==> org.apache.ojb.broker.metadata.fieldaccess.PersistentFieldDirectAccessImplNew@265dbc82[rootType=class org.apache.ojb.broker.util.sequence.HighLowSequence,fieldName=fieldName], field_belongs_to org.apache.ojb.broker.util.sequence.HighLowSequence, custom attributes [null], ]} ],org.apache.ojb.broker.metadata.FieldDescriptor@54030e7b[columnName=MAX_KEY,columnType=BIGINT,isPrimaryKey=false,isLocking=false,isAutoincrement=false,access=readwrite,sequenceName=<null>,jdbcType=<null>,super_class_fields ==> org.apache.ojb.broker.metadata.fieldaccess.PersistentFieldDirectAccessImplNew@14abd854[rootType=class org.apache.ojb.broker.util.sequence.HighLowSequence,fieldName=maxKey], field_belongs_to org.apache.ojb.broker.util.sequence.HighLowSequence, custom attributes [null], ]} ] ]
  6. 0

    [jira] [Updated] (JS2-1289) Jetspeed installer 2.2.2 Turkish installation problem

    portals-jetspeed-dev | 3 years ago | David Sean Taylor (JIRA)
    org.apache.ojb.broker.OJBRuntimeException: Can't assign the specified jdbc field-type 'BIGINT' for field: access="readwrite" <field-descriptor /> in class: name="maxKey" column="MAX_KEY" jdbc-type="BIGINT" access="readwrite" /> org.apache.ojb.broker.metadata.ClassDescriptor@62470c64[ classNameOfObject=org.apache.ojb.broker.util.sequence.HighLowSequence in class: tableName=OJB_HL_SEQ org.apache.ojb.broker.metadata.ClassDescriptor@62470c64[ schema=<null> classNameOfObject=org.apache.ojb.broker.util.sequence.HighLowSequence isInterface=false tableName=OJB_HL_SEQ extendClassNames=[] schema=<null> {org.apache.ojb.broker.metadata.FieldDescriptor@267eaba4[columnName=TABLENAME,columnType=VARCHAR,isPrimaryKey=true,isLocking=false,isAutoincrement=false,access=readwrite,sequenceName=<null>,jdbcType=org.apache.ojb.broker.metadata.JdbcTypesHelper$T_Varchar@4636afba[jdbcType=12,jdbcTypeString=VARCHAR,associatedFieldType=org.apache.ojb.broker.metadata.FieldTypeClasses$StringFieldType@78f30883[sqlType=12,sqlTypeAsString=VARCHAR,isMutable=false]],super_class_fields ==> org.apache.ojb.broker.metadata.fieldaccess.PersistentFieldDirectAccessImplNew@1bb40e7e[rootType=class org.apache.ojb.broker.util.sequence.HighLowSequence,fieldName=tableName], field_belongs_to org.apache.ojb.broker.util.sequence.HighLowSequence, custom attributes [null], isInterface=false extendClassNames=[] {org.apache.ojb.broker.metadata.FieldDescriptor@267eaba4[columnName=TABLENAME,columnType=VARCHAR,isPrimaryKey=true,isLocking=false,isAutoincrement=false,access=readwrite,sequenceName=<null>,jdbcType=org.apache.ojb.broker.metadata.JdbcTypesHelper$T_Varchar@4636afba[jdbcType=12,jdbcTypeString=VARCHAR,associatedFieldType=org.apache.ojb.broker.metadata.FieldTypeClasses$StringFieldType@78f30883[sqlType=12,sqlTypeAsString=VARCHAR,isMutable=false]],super_class_fields ==> org.apache.ojb.broker.metadata.fieldaccess.PersistentFieldDirectAccessImplNew@1bb40e7e[rootType=class org.apache.ojb.broker.util.sequence.HighLowSequence,fieldName=tableName], field_belongs_to org.apache.ojb.broker.util.sequence.HighLowSequence, custom attributes [null], ],org.apache.ojb.broker.metadata.FieldDescriptor@60c31037[columnName=FIELDNAME,columnType=VARCHAR,isPrimaryKey=true,isLocking=false,isAutoincrement=false,access=readwrite,sequenceName=<null>,jdbcType=org.apache.ojb.broker.metadata.JdbcTypesHelper$T_Varchar@4636afba[jdbcType=12,jdbcTypeString=VARCHAR,associatedFieldType=org.apache.ojb.broker.metadata.FieldTypeClasses$StringFieldType@78f30883[sqlType=12,sqlTypeAsString=VARCHAR,isMutable=false]],super_class_fields ==> org.apache.ojb.broker.metadata.fieldaccess.PersistentFieldDirectAccessImplNew@265dbc82[rootType=class org.apache.ojb.broker.util.sequence.HighLowSequence,fieldName=fieldName], field_belongs_to org.apache.ojb.broker.util.sequence.HighLowSequence, custom attributes [null], ],org.apache.ojb.broker.metadata.FieldDescriptor@54030e7b[columnName=MAX_KEY,columnType=BIGINT,isPrimaryKey=false,isLocking=false,isAutoincrement=false,access=readwrite,sequenceName=<null>,jdbcType=<null>,super_class_fields ==> org.apache.ojb.broker.metadata.fieldaccess.PersistentFieldDirectAccessImplNew@14abd854[rootType=class org.apache.ojb.broker.util.sequence.HighLowSequence,fieldName=maxKey], field_belongs_to org.apache.ojb.broker.util.sequence.HighLowSequence, custom attributes [null], ],org.apache.ojb.broker.metadata.FieldDescriptor@60c31037[columnName=FIELDNAME,columnType=VARCHAR,isPrimaryKey=true,isLocking=false,isAutoincrement=false,access=readwrite,sequenceName=<null>,jdbcType=org.apache.ojb.broker.metadata.JdbcTypesHelper$T_Varchar@4636afba[jdbcType=12,jdbcTypeString=VARCHAR,associatedFieldType=org.apache.ojb.broker.metadata.FieldTypeClasses$StringFieldType@78f30883[sqlType=12,sqlTypeAsString=VARCHAR,isMutable=false]],super_class_fields ==> org.apache.ojb.broker.metadata.fieldaccess.PersistentFieldDirectAccessImplNew@265dbc82[rootType=class org.apache.ojb.broker.util.sequence.HighLowSequence,fieldName=fieldName], field_belongs_to org.apache.ojb.broker.util.sequence.HighLowSequence, custom attributes [null], ]} ],org.apache.ojb.broker.metadata.FieldDescriptor@54030e7b[columnName=MAX_KEY,columnType=BIGINT,isPrimaryKey=false,isLocking=false,isAutoincrement=false,access=readwrite,sequenceName=<null>,jdbcType=<null>,super_class_fields ==> org.apache.ojb.broker.metadata.fieldaccess.PersistentFieldDirectAccessImplNew@14abd854[rootType=class org.apache.ojb.broker.util.sequence.HighLowSequence,fieldName=maxKey], field_belongs_to org.apache.ojb.broker.util.sequence.HighLowSequence, custom attributes [null], ]} ] ]

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.apache.ojb.broker.OJBRuntimeException

      The type BIGINT can not be handled by OJB. Please specify only types as defined by java.sql.Types.

      at org.apache.ojb.broker.metadata.JdbcTypesHelper.getJdbcTypeByName()
    2. ObJectRelationalBridge
      RepositoryXmlHandler.startElement
      1. org.apache.ojb.broker.metadata.JdbcTypesHelper.getJdbcTypeByName(JdbcTypesHelper.java:142)
      2. org.apache.ojb.broker.metadata.FieldDescriptor.lookupJdbcType(FieldDescriptor.java:201)
      3. org.apache.ojb.broker.metadata.FieldDescriptor.setColumnType(FieldDescriptor.java:147)
      4. org.apache.ojb.broker.metadata.RepositoryXmlHandler.startElement(RepositoryXmlHandler.java:397)
      4 frames
    3. Xerces2-j
      SAXParserImpl$JAXPSAXParser.parse
      1. org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
      2. org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source)
      3. org.apache.xerces.impl.dtd.XMLDTDValidator.emptyElement(Unknown Source)
      4. org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown Source)
      5. org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
      6. org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
      7. org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
      8. org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
      9. org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
      10. org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
      11. org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
      11 frames
    4. ObJectRelationalBridge
      MetadataManager.getInstance
      1. org.apache.ojb.broker.metadata.RepositoryPersistor.readMetadataFromXML(RepositoryPersistor.java:326)
      2. org.apache.ojb.broker.metadata.RepositoryPersistor.buildRepository(RepositoryPersistor.java:278)
      3. org.apache.ojb.broker.metadata.RepositoryPersistor.readDescriptorRepository(RepositoryPersistor.java:179)
      4. org.apache.ojb.broker.metadata.MetadataManager.init(MetadataManager.java:149)
      5. org.apache.ojb.broker.metadata.MetadataManager.<init>(MetadataManager.java:139)
      6. org.apache.ojb.broker.metadata.MetadataManager.getInstance(MetadataManager.java:173)
      6 frames
    5. org.apache.jetspeed
      DatabasePlatformConfigurator.init
      1. org.apache.jetspeed.components.rdbms.ojb.DatabasePlatformConfigurator.init(DatabasePlatformConfigurator.java:60)
      1 frame
    6. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      4. java.lang.reflect.Method.invoke(Unknown Source)
      4 frames
    7. Spring Beans
      AbstractAutowireCapableBeanFactory$1.run
      1. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1414)
      2. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1375)
      3. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1335)
      4. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)
      5. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
      5 frames
    8. Java RT
      AccessController.doPrivileged
      1. java.security.AccessController.doPrivileged(Native Method)
      1 frame
    9. Spring Beans
      DefaultListableBeanFactory.preInstantiateSingletons
      1. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
      2. org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
      3. org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
      4. org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
      5. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
      6. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
      7. org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429)
      7 frames
    10. Spring Context
      AbstractApplicationContext.refresh
      1. org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728)
      2. org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:380)
      2 frames
    11. org.apache.jetspeed
      JetspeedSerializerApplicationImpl.main
      1. org.apache.jetspeed.components.SpringComponentManager.start(SpringComponentManager.java:301)
      2. org.apache.jetspeed.tools.db.serializer.JetspeedSerializerApplicationImpl.importFiles(JetspeedSerializerApplicationImpl.java:184)
      3. org.apache.jetspeed.tools.db.serializer.JetspeedSerializerApplicationImpl.main(JetspeedSerializerApplicationImpl.java:120)
      3 frames