org.apache.jetspeed.serializer.SerializerException: Unexpected error during import: 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'

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via portals-jetspeed-dev by David Sean Taylor (JIRA), 1 year ago
Unexpected error during import: 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'
via portals-jetspeed-dev by David Sean Taylor (JIRA), 1 year ago
Unexpected error during import: 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'
via portals-jetspeed-dev by Gökhan Şahin (JIRA), 1 year ago
Unexpected error during import: 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'
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(JdbcTypesHelper.java:142)
at org.apache.ojb.broker.metadata.FieldDescriptor.lookupJdbcType(FieldDescriptor.java:201)
at org.apache.ojb.broker.metadata.FieldDescriptor.lookupJdbcType(FieldDescriptor.java:206)
at org.apache.ojb.broker.metadata.FieldDescriptor.setColumnType(FieldDescriptor.java:147)
at org.apache.ojb.broker.metadata.RepositoryXmlHandler.startElement(RepositoryXmlHandler.java:397)
at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source)
at org.apache.xerces.impl.dtd.XMLDTDValidator.emptyElement(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.ojb.broker.metadata.RepositoryPersistor.readMetadataFromXML(RepositoryPersistor.java:326)
at org.apache.ojb.broker.metadata.RepositoryPersistor.buildRepository(RepositoryPersistor.java:278)
at org.apache.ojb.broker.metadata.RepositoryPersistor.readDescriptorRepository(RepositoryPersistor.java:179)
at org.apache.jetspeed.tools.db.serializer.JetspeedSerializerApplicationImpl.importFiles(JetspeedSerializerApplicationImpl.java:209)
at org.apache.jetspeed.tools.db.serializer.JetspeedSerializerApplicationImpl.main(JetspeedSerializerApplicationImpl.java:120)
at org.apache.ojb.broker.metadata.MetadataManager.(MetadataManager.java:139)
at org.apache.jetspeed.components.rdbms.ojb.DatabasePlatformConfigurator.init(DatabasePlatformConfigurator.java:60)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1414)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1375)
at org.apache.jetspeed.tools.db.serializer.JetspeedSerializerApplicationImpl.main(JetspeedSerializerApplicationImpl.java:120)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.