portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Sean Taylor (JIRA)" <jetspeed-...@portals.apache.org>
Subject [jira] [Resolved] (JS2-1289) Jetspeed installer 2.2.2 Turkish installation problem
Date Sun, 19 Apr 2015 21:31:58 GMT

     [ https://issues.apache.org/jira/browse/JS2-1289?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

David Sean Taylor resolved JS2-1289.
------------------------------------
    Resolution: Cannot Reproduce

Checked back with user months ago, no response. Closing issue

> Jetspeed installer 2.2.2 Turkish installation problem
> -----------------------------------------------------
>
>                 Key: JS2-1289
>                 URL: https://issues.apache.org/jira/browse/JS2-1289
>             Project: Jetspeed 2
>          Issue Type: Bug
>          Components: Installer
>    Affects Versions: 2.2.2
>         Environment: Windows 8 Turkish
>            Reporter: Gökhan Şahin
>            Priority: Blocker
>             Fix For: 2.3.0
>
>
> Unable to locate tools.jar. Expected to find it in C:\Program Files\Java\jre7\lib\tools.jar
> antinstaller.jarE:\jetspeed-installer-2.2.2.jar
> setupInstallation:
>      [echo] Starting the installation
>      [echo] Deleting all content from the installation target directory
>      [echo] Installing Jetspeed-2.2.2 Enterprise Portal
>     [unzip] Expanding: E:\jetspeed-installer-2.2.2.jar into e:\Jetspeed-2.2.2
>     [unzip] Expanding: e:\Jetspeed-2.2.2\database.zip into e:\Jetspeed-2.2.2
>     [unzip] Expanding: e:\Jetspeed-2.2.2\tomcat-portal.zip into e:\Jetspeed-2.2.2
>      [echo] Setting up the database configuration
>      [copy] Copying 1 file to e:\Jetspeed-2.2.2\lib
>      [move] Moving 1 file to e:\Jetspeed-2.2.2\database
> checkMinimalInstall:
> minimalInstall:
> installPortal:
>      [echo] Setting up default index redirect url
>      [move] Moving 1 file to e:\Jetspeed-2.2.2\webapps\jetspeed
>      [move] Moving 1 file to e:\Jetspeed-2.2.2\webapps\jetspeed
>      [echo] Moving pages out of jetspeed webapp
>      [echo] Installing: ui-pages
>      [move] Moving 85 files to e:\Jetspeed-2.2.2\pages
>      [move] Moving 1 file to e:\Jetspeed-2.2.2\webapps\jetspeed\WEB-INF\conf
>      [move] Moving 1 file to e:\Jetspeed-2.2.2\webapps\jetspeed\WEB-INF\conf
>      [echo] Configure portal pipeline
>      [echo] Customization method: ajax
>      [move] Moving 1 file to e:\Jetspeed-2.2.2\webapps\jetspeed\WEB-INF\conf
>      [move] Moving 1 file to e:\Jetspeed-2.2.2\webapps\jetspeed\WEB-INF\conf
>      [echo] Setting up the Jetspeed database (if selected)
> checkDerby:
> checkImportPsml:
> generateStandardDB:
>      [echo] Cleaning up possible existing database
>       [sql] Executing resource: e:\Jetspeed-2.2.2\database\oracle10\drop-schema.sql
>       [sql] 96 of 96 SQL statements executed successfully
>      [echo] Starting database generation
>       [sql] Executing resource: e:\Jetspeed-2.2.2\database\oracle10\create-schema.sql
>       [sql] 209 of 209 SQL statements executed successfully
>      [echo] Database generation done!
> generateDerbyDB:
> copyJetspeedContext:
>      [copy] Copying 1 file to e:\Jetspeed-2.2.2\conf\Catalina\localhost
> filterSpringFilterKey:
> filterSpringFilterKey_db:
> filterSpringFilterKey_file:
>      [copy] Copying 1 file to e:\Jetspeed-2.2.2\webapps\jetspeed\WEB-INF\conf
> seedDB:
>      [echo] Seeding the database
>      [echo] Importing: j2-ui-seed.xml
>      [java] [org.apache.ojb.broker.metadata.RepositoryXmlHandler] ERROR: Exception while
read metadata
>      [java] Can't assign the specified jdbc field-type 'BIGINT' for field: 
>      [java]       <field-descriptor 
>      [java]         name="maxKey"
>      [java]         column="MAX_KEY"
>      [java]         jdbc-type="BIGINT"
>      [java] org.apache.ojb.broker.OJBRuntimeException: Can't assign the specified jdbc
field-type 'BIGINT' for field: 
>      [java]         access="readwrite"
>      [java]       <field-descriptor 
>      [java]       />
>      [java] 
>      [java] in class: 
>      [java]         name="maxKey"
>      [java]         column="MAX_KEY"
>      [java]         jdbc-type="BIGINT"
>      [java]         access="readwrite"
>      [java]       />
>      [java] org.apache.ojb.broker.metadata.ClassDescriptor@62470c64[
>      [java] 
>      [java]   classNameOfObject=org.apache.ojb.broker.util.sequence.HighLowSequence
>      [java] in class: 
>      [java]   tableName=OJB_HL_SEQ
>      [java] org.apache.ojb.broker.metadata.ClassDescriptor@62470c64[
>      [java]   schema=<null>
>      [java]   classNameOfObject=org.apache.ojb.broker.util.sequence.HighLowSequence
>      [java]   isInterface=false
>      [java]   tableName=OJB_HL_SEQ
>      [java]   extendClassNames=[]
>      [java]   schema=<null>
>      [java]   {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],
>      [java]   isInterface=false
>      [java]   extendClassNames=[]
>      [java]   {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],
>      [java] ],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],
>      [java] ],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],
>      [java] ],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],
>      [java] ]}
>      [java] ],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],
>      [java] ]}
>      [java] ]
>      [java] ]
>      [java] 	at org.apache.ojb.broker.metadata.FieldDescriptor.lookupJdbcType(FieldDescriptor.java:206)
>      [java] 	at org.apache.ojb.broker.metadata.FieldDescriptor.setColumnType(FieldDescriptor.java:147)
>      [java] 	at org.apache.ojb.broker.metadata.RepositoryXmlHandler.startElement(RepositoryXmlHandler.java:397)
>      [java] 	at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
>      [java] 	at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown
Source)
>      [java] 	at org.apache.xerces.impl.dtd.XMLDTDValidator.emptyElement(Unknown Source)
>      [java] 	at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown
Source)
>      [java] 	at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
Source)
>      [java] 	at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
>      [java] 	at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
>      [java] 	at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
>      [java] 	at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
>      [java] 	at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
>      [java] 	at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
>      [java] 	at org.apache.ojb.broker.metadata.RepositoryPersistor.readMetadataFromXML(RepositoryPersistor.java:326)
>      [java] 	at org.apache.ojb.broker.metadata.RepositoryPersistor.buildRepository(RepositoryPersistor.java:278)
>      [java] 	at org.apache.ojb.broker.metadata.RepositoryPersistor.readDescriptorRepository(RepositoryPersistor.java:179)
>      [java] 	at org.apache.ojb.broker.metadata.MetadataManager.init(MetadataManager.java:149)
>      [java] 	at org.apache.ojb.broker.metadata.MetadataManager.<init>(MetadataManager.java:139)
>      [java] 	at org.apache.ojb.broker.metadata.MetadataManager.getInstance(MetadataManager.java:173)
>      [java] 	at org.apache.jetspeed.components.rdbms.ojb.DatabasePlatformConfigurator.init(DatabasePlatformConfigurator.java:60)
>      [java] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>      [java] 	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>      [java] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>      [java] 	at java.lang.reflect.Method.invoke(Unknown Source)
>      [java] 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1414)
>      [java] 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1375)
>      [java] 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1335)
>      [java] 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)
>      [java] 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
>      [java] 	at java.security.AccessController.doPrivileged(Native Method)
>      [java] 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
>      [java] 	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
>      [java] 	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
>      [java] 	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
>      [java] 	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
>      [java] 	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
>      [java] 	at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429)
>      [java] 	at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728)
>      [java] 	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:380)
>      [java] 	at org.apache.jetspeed.components.SpringComponentManager.start(SpringComponentManager.java:301)
>      [java] 	at org.apache.jetspeed.tools.db.serializer.JetspeedSerializerApplicationImpl.importFiles(JetspeedSerializerApplicationImpl.java:184)
>      [java] 	at org.apache.jetspeed.tools.db.serializer.JetspeedSerializerApplicationImpl.main(JetspeedSerializerApplicationImpl.java:120)
>      [java] Caused by: org.apache.ojb.broker.OJBRuntimeException: The type BIGINT can
not be handled by OJB. Please specify only types as defined by java.sql.Types.
>      [java] 	at org.apache.ojb.broker.metadata.JdbcTypesHelper.getJdbcTypeByName(JdbcTypesHelper.java:142)
>      [java] 	at org.apache.ojb.broker.metadata.FieldDescriptor.lookupJdbcType(FieldDescriptor.java:201)
>      [java] 	... 42 more
>      [java] 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'
>      [java] 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1338)
>      [java] 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)
>      [java] 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
>      [java] 	at java.security.AccessController.doPrivileged(Native Method)
>      [java] 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
>      [java] 	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
>      [java] 	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
>      [java] 	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
>      [java] 	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
>      [java] 	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
>      [java] 	at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429)
>      [java] 	at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728)
>      [java] 	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:380)
>      [java] 	at org.apache.jetspeed.components.SpringComponentManager.start(SpringComponentManager.java:301)
>      [java] 	at org.apache.jetspeed.tools.db.serializer.JetspeedSerializerApplicationImpl.importFiles(JetspeedSerializerApplicationImpl.java:184)
>      [java] 	at org.apache.jetspeed.tools.db.serializer.JetspeedSerializerApplicationImpl.main(JetspeedSerializerApplicationImpl.java:120)
>      [java] Caused by: org.apache.ojb.broker.metadata.MetadataException: Can't read repository
file 'repository.xml'
>      [java] 	at org.apache.ojb.broker.metadata.MetadataManager.init(MetadataManager.java:160)
>      [java] 	at org.apache.ojb.broker.metadata.MetadataManager.<init>(MetadataManager.java:139)
>      [java] 	at org.apache.ojb.broker.metadata.MetadataManager.getInstance(MetadataManager.java:173)
>      [java] 	at org.apache.jetspeed.components.rdbms.ojb.DatabasePlatformConfigurator.init(DatabasePlatformConfigurator.java:60)
>      [java] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>      [java] 	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>      [java] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>      [java] 	at java.lang.reflect.Method.invoke(Unknown Source)
>      [java] 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1414)
>      [java] 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1375)
>      [java] 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1335)
>      [java] 	... 15 more
>      [java] Caused by: org.apache.ojb.broker.metadata.MetadataException: Exception when
reading metadata information, please check your repository.xml file
>      [java] 	at org.apache.ojb.broker.metadata.RepositoryXmlHandler.startElement(RepositoryXmlHandler.java:956)
>      [java] 	at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
>      [java] 	at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown
Source)
>      [java] 	at org.apache.xerces.impl.dtd.XMLDTDValidator.emptyElement(Unknown Source)
>      [java] 	at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown
Source)
>      [java] 	at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
Source)
>      [java] 	at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
>      [java] 	at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
>      [java] 	at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
>      [java] 	at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
>      [java] 	at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
>      [java] 	at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
>      [java] 	at org.apache.ojb.broker.metadata.RepositoryPersistor.readMetadataFromXML(RepositoryPersistor.java:326)
>      [java] 	at org.apache.ojb.broker.metadata.RepositoryPersistor.buildRepository(RepositoryPersistor.java:278)
>      [java] 	at org.apache.ojb.broker.metadata.RepositoryPersistor.readDescriptorRepository(RepositoryPersistor.java:179)
>      [java] 	at org.apache.ojb.broker.metadata.MetadataManager.init(MetadataManager.java:149)
>      [java] 	... 25 more
>      [java] Caused by: org.apache.ojb.broker.OJBRuntimeException: Can't assign the specified
jdbc field-type 'BIGINT' for field: 
>      [java]       <field-descriptor 
>      [java]         name="maxKey"
>      [java]         column="MAX_KEY"
>      [java]         jdbc-type="BIGINT"
>      [java]         access="readwrite"
>      [java]       />
>      [java] 
>      [java] in class: 
>      [java] org.apache.ojb.broker.metadata.ClassDescriptor@62470c64[
>      [java]   classNameOfObject=org.apache.ojb.broker.util.sequence.HighLowSequence
>      [java]   tableName=OJB_HL_SEQ
>      [java]   schema=<null>
>      [java]   isInterface=false
>      [java]   extendClassNames=[]
>      [java]   {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],
>      [java] ],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],
>      [java] ],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],
>      [java] ]}
>      [java] ]
>      [java] 	at org.apache.ojb.broker.metadata.FieldDescriptor.lookupJdbcType(FieldDescriptor.java:206)
>      [java] 	at org.apache.ojb.broker.metadata.FieldDescriptor.setColumnType(FieldDescriptor.java:147)
>      [java] 	at org.apache.ojb.broker.metadata.RepositoryXmlHandler.startElement(RepositoryXmlHandler.java:397)
>      [java] 	... 40 more
>      [java] Caused by: org.apache.ojb.broker.OJBRuntimeException: The type BIGINT can
not be handled by OJB. Please specify only types as defined by java.sql.Types.
>      [java] 	at org.apache.ojb.broker.metadata.JdbcTypesHelper.getJdbcTypeByName(JdbcTypesHelper.java:142)
>      [java] 	at org.apache.ojb.broker.metadata.FieldDescriptor.lookupJdbcType(FieldDescriptor.java:201)
>      [java] 	... 42 more
>      [java] 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'
>      [java] 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'
>      [java] 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1338)
>      [java] 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)
>      [java] 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
>      [java] 	at java.security.AccessController.doPrivileged(Native Method)
>      [java] 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
>      [java] 	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
>      [java] 	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
>      [java] 	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
>      [java] 	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
>      [java] 	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
>      [java] 	at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429)
>      [java] 	at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728)
>      [java] 	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:380)
>      [java] 	at org.apache.jetspeed.components.SpringComponentManager.start(SpringComponentManager.java:301)
>      [java] 	at org.apache.jetspeed.tools.db.serializer.JetspeedSerializerApplicationImpl.importFiles(JetspeedSerializerApplicationImpl.java:184)
>      [java] Exception in thread "main" 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'
>      [java] 	at org.apache.jetspeed.tools.db.serializer.JetspeedSerializerApplicationImpl.main(JetspeedSerializerApplicationImpl.java:120)
>      [java] Caused by: org.apache.ojb.broker.metadata.MetadataException: Can't read repository
file 'repository.xml'
>      [java] 	at org.apache.jetspeed.tools.db.serializer.JetspeedSerializerApplicationImpl.importFiles(JetspeedSerializerApplicationImpl.java:209)
>      [java] 	at org.apache.ojb.broker.metadata.MetadataManager.init(MetadataManager.java:160)
>      [java] 	at org.apache.jetspeed.tools.db.serializer.JetspeedSerializerApplicationImpl.main(JetspeedSerializerApplicationImpl.java:120)
>      [java] 	at org.apache.ojb.broker.metadata.MetadataManager.<init>(MetadataManager.java:139)
>      [java] 	at org.apache.ojb.broker.metadata.MetadataManager.getInstance(MetadataManager.java:173)
>      [java] 	at org.apache.jetspeed.components.rdbms.ojb.DatabasePlatformConfigurator.init(DatabasePlatformConfigurator.java:60)
>      [java] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>      [java] 	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>      [java] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>      [java] 	at java.lang.reflect.Method.invoke(Unknown Source)
>      [java] 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1414)
>      [java] 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1375)
>      [java] 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1335)
>      [java] 	... 15 more
>      [java] Caused by: org.apache.ojb.broker.metadata.MetadataException: Exception when
reading metadata information, please check your repository.xml file
>      [java] 	at org.apache.ojb.broker.metadata.RepositoryXmlHandler.startElement(RepositoryXmlHandler.java:956)
>      [java] 	at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
>      [java] 	at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown
Source)
>      [java] 	at org.apache.xerces.impl.dtd.XMLDTDValidator.emptyElement(Unknown Source)
>      [java] 	at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown
Source)
>      [java] 	at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
Source)
>      [java] 	at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
>      [java] 	at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
>      [java] 	at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
>      [java] 	at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
>      [java] 	at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
>      [java] 	at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
>      [java] 	at org.apache.ojb.broker.metadata.RepositoryPersistor.readMetadataFromXML(RepositoryPersistor.java:326)
>      [java] 	at org.apache.ojb.broker.metadata.RepositoryPersistor.buildRepository(RepositoryPersistor.java:278)
>      [java] 	at org.apache.ojb.broker.metadata.RepositoryPersistor.readDescriptorRepository(RepositoryPersistor.java:179)
>      [java] 	at org.apache.ojb.broker.metadata.MetadataManager.init(MetadataManager.java:149)
>      [java] 	... 25 more
>      [java] Caused by: org.apache.ojb.broker.OJBRuntimeException: Can't assign the specified
jdbc field-type 'BIGINT' for field: 
>      [java]       <field-descriptor 
>      [java]         name="maxKey"
>      [java]         column="MAX_KEY"
>      [java]         jdbc-type="BIGINT"
>      [java]         access="readwrite"
>      [java]       />
>      [java] 
>      [java] in class: 
>      [java] org.apache.ojb.broker.metadata.ClassDescriptor@62470c64[
>      [java]   classNameOfObject=org.apache.ojb.broker.util.sequence.HighLowSequence
>      [java]   tableName=OJB_HL_SEQ
>      [java]   schema=<null>
>      [java]   isInterface=false
>      [java]   extendClassNames=[]
>      [java]   {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],
>      [java] ],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],
>      [java] ],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],
>      [java] ]}
>      [java] ]
>      [java] 	at org.apache.ojb.broker.metadata.FieldDescriptor.lookupJdbcType(FieldDescriptor.java:206)
>      [java] 	at org.apache.ojb.broker.metadata.FieldDescriptor.setColumnType(FieldDescriptor.java:147)
>      [java] 	at org.apache.ojb.broker.metadata.RepositoryXmlHandler.startElement(RepositoryXmlHandler.java:397)
>      [java] 	... 40 more
>      [java] Caused by: org.apache.ojb.broker.OJBRuntimeException: The type BIGINT can
not be handled by OJB. Please specify only types as defined by java.sql.Types.
>      [java] 	at org.apache.ojb.broker.metadata.JdbcTypesHelper.getJdbcTypeByName(JdbcTypesHelper.java:142)
>      [java] 	at org.apache.ojb.broker.metadata.FieldDescriptor.lookupJdbcType(FieldDescriptor.java:201)
>      [java] 	... 42 more



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


Mime
View raw message