portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mustafa TaƟdemir <tasde...@bilisim.com.tr>
Subject Jetspeed Derby installation
Date Thu, 23 Feb 2006 10:25:03 GMT
Hi,
When I install "Jetspeed2.0-derby-install.jar" and run Tomcat, I get the following error message.
Can anybody help.
Thanks,

2006-02-23 12:09:50,974 [main] INFO  org.apache.jetspeed.engine.JetspeedEngine - Configured
log4j from D:\Program Files\Apache Jetspeed 2.0\webapps\jetspeed\WEB-INF/conf/Log4j.properties

2006-02-23 12:09:50,974 [main] INFO  org.apache.jetspeed.engine.JetspeedEngine - Starting
Jetspeed Engine (org.apache.jetspeed.engine.JetspeedEngine) at 23.02.2006 12:09

2006-02-23 12:09:51,037 [main] INFO  org.springframework.web.context.support.ServletContextResourcePatternResolver
- Resolved location pattern [/WEB-INF/assembly/boot/*.xml] to resources [ServletContext resource
[/WEB-INF/assembly/boot/datasource.xml]]

2006-02-23 12:09:51,037 [main] INFO  org.springframework.beans.factory.xml.XmlBeanDefinitionReader
- Loading XML bean definitions from ServletContext resource [/WEB-INF/assembly/boot/datasource.xml]

2006-02-23 12:09:51,084 [main] INFO  org.springframework.web.context.support.XmlWebApplicationContext
- Bean factory for application context [org.springframework.web.context.support.XmlWebApplicationContext;hashCode=6400263]:
org.springframework.beans.factory.support.DefaultListableBeanFactory defining beans [JetspeedDS];
root of BeanFactory hierarchy

2006-02-23 12:09:51,099 [main] INFO  org.springframework.web.context.support.XmlWebApplicationContext
- 1 beans defined in application context [org.springframework.web.context.support.XmlWebApplicationContext;hashCode=6400263]

2006-02-23 12:09:51,099 [main] INFO  org.springframework.core.CollectionFactory - Using JDK
1.4 collections

2006-02-23 12:09:51,099 [main] INFO  org.springframework.web.context.support.XmlWebApplicationContext
- Unable to locate MessageSource with name 'messageSource': using default [org.springframework.context.support.DelegatingMessageSource@1843a75]

2006-02-23 12:09:51,099 [main] INFO  org.springframework.web.context.support.XmlWebApplicationContext
- Unable to locate ApplicationEventMulticaster with name 'applicationEventMulticaster': using
default [org.springframework.context.event.SimpleApplicationEventMulticaster@1fcc0a2]

2006-02-23 12:09:51,115 [main] INFO  org.springframework.ui.context.support.UiApplicationContextUtils
- No ThemeSource found for [org.springframework.web.context.support.XmlWebApplicationContext;hashCode=6400263]:
using ResourceBundleThemeSource

2006-02-23 12:09:51,115 [main] INFO  org.springframework.beans.factory.support.DefaultListableBeanFactory
- Pre-instantiating singletons in factory [org.springframework.beans.factory.support.DefaultListableBeanFactory
defining beans [JetspeedDS]; root of BeanFactory hierarchy]

2006-02-23 12:09:51,115 [main] INFO  org.springframework.beans.factory.support.DefaultListableBeanFactory
- Creating shared instance of singleton bean 'JetspeedDS'

2006-02-23 12:09:51,490 [main] INFO  org.springframework.beans.factory.support.DefaultListableBeanFactory
- Destroying singletons in factory {org.springframework.beans.factory.support.DefaultListableBeanFactory
defining beans [JetspeedDS]; root of BeanFactory hierarchy}

2006-02-23 12:09:51,568 [main] ERROR org.apache.jetspeed.engine.JetspeedEngine - org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'JetspeedDS' defined in ServletContext resource [/WEB-INF/assembly/boot/datasource.xml]:
Initialization of bean failed; nested exception is org.apache.ojb.broker.metadata.MetadataException:
Can't read repository file 'repository.xml'

2006-02-23 12:09:51,568 [main] INFO  org.apache.jetspeed.engine.JetspeedEngine - Finished
starting Jetspeed Engine (org.apache.jetspeed.engine.JetspeedEngine) at 23.02.2006 12:09.
 Elapsed time: 0 seconds.

2006-02-23 12:09:51,568 [main] FATAL org.apache.jetspeed.engine.JetspeedServlet - Jetspeed:
init() failed: 

org.apache.jetspeed.exception.JetspeedException: Jetspeed Initialization exception!

      at org.apache.jetspeed.engine.JetspeedEngine.start(JetspeedEngine.java:149)

      at org.apache.jetspeed.engine.JetspeedServlet.init(JetspeedServlet.java:147)

      at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1091)

      at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:925)

      at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3880)

      at org.apache.catalina.core.StandardContext.start(StandardContext.java:4141)

      at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)

      at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)

      at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)

      at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:603)

      at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:535)

      at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:470)

      at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1118)

      at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)

      at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)

      at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1020)

      at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)

      at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012)

      at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)

      at org.apache.catalina.core.StandardService.start(StandardService.java:450)

      at org.apache.catalina.core.StandardServer.start(StandardServer.java:680)

      at org.apache.catalina.startup.Catalina.start(Catalina.java:536)

      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

      at java.lang.reflect.Method.invoke(Method.java:585)

      at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:275)

      at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)

Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with
name 'JetspeedDS' defined in ServletContext resource [/WEB-INF/assembly/boot/datasource.xml]:
Initialization of bean failed; nested exception is org.apache.ojb.broker.metadata.MetadataException:
Can't read repository file 'repository.xml'

      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:356)

      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:260)

      at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:221)

      at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:145)

      at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:291)

      at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:317)

      at org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh(AbstractRefreshableWebApplicationContext.java:131)

      at org.apache.jetspeed.components.SpringComponentManager.start(SpringComponentManager.java:206)

      at org.apache.jetspeed.engine.JetspeedEngine.start(JetspeedEngine.java:140)

      ... 27 more

Caused by: org.apache.ojb.broker.metadata.MetadataException: Can't read repository file 'repository.xml'

      at org.apache.ojb.broker.metadata.MetadataManager.init(MetadataManager.java:160)

      at org.apache.ojb.broker.metadata.MetadataManager.<init>(MetadataManager.java:139)

      at org.apache.ojb.broker.metadata.MetadataManager.getInstance(MetadataManager.java:173)

      at org.apache.jetspeed.components.rdbms.ojb.ConnectionRepositoryEntry.afterPropertiesSet(ConnectionRepositoryEntry.java:233)

      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1072)

      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:343)

      ... 35 more

Caused by: org.apache.ojb.broker.metadata.MetadataException: Exception when reading metadata
information, please check your repository.xml file

      at org.apache.ojb.broker.metadata.RepositoryXmlHandler.startElement(RepositoryXmlHandler.java:956)

      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.DTDConfiguration.parse(Unknown Source)

      at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)

      at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)

      at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)

      at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.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.ojb.broker.metadata.MetadataManager.init(MetadataManager.java:149)

      ... 40 more

Caused by: org.apache.ojb.broker.OJBRuntimeException: Can't assign the specified jdbc field-type
'BIGINT' for field: 

      <field-descriptor 

        name="maxKey"

        column="MAX_KEY"

        jdbc-type="BIGINT"

        access="readwrite"

      />

 

in class: 

org.apache.ojb.broker.metadata.ClassDescriptor@2d95b3[

  classNameOfObject=org.apache.ojb.broker.util.sequence.HighLowSequence

  tableName=OJB_HL_SEQ

  schema=<null>

  isInterface=false

  extendClassNames=[]

  {org.apache.ojb.broker.metadata.FieldDescriptor@73305c[columnName=TABLENAME,columnType=VARCHAR,isPrimaryKey=true,isLocking=false,isAutoincrement=false,access=readwrite,sequenceName=<null>,jdbcType=org.apache.ojb.broker.metadata.JdbcTypesHelper$T_Varchar@6c1a82[jdbcType=12,jdbcTypeString=VARCHAR,associatedFieldType=org.apache.ojb.broker.metadata.FieldTypeClasses$StringFieldType@e29820[sqlType=12,sqlTypeAsString=VARCHAR,isMutable=false]],super_class_fields
==> org.apache.ojb.broker.metadata.fieldaccess.PersistentFieldDirectAccessImplNew@718242[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@3afb99[columnName=FIELDNAME,columnType=VARCHAR,isPrimaryKey=true,isLocking=false,isAutoincrement=false,access=readwrite,sequenceName=<null>,jdbcType=org.apache.ojb.broker.metadata.JdbcTypesHelper$T_Varchar@6c1a82[jdbcType=12,jdbcTypeString=VARCHAR,associatedFieldType=org.apache.ojb.broker.metadata.FieldTypeClasses$StringFieldType@e29820[sqlType=12,sqlTypeAsString=VARCHAR,isMutable=false]],super_class_fields
==> org.apache.ojb.broker.metadata.fieldaccess.PersistentFieldDirectAccessImplNew@5c3987[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@c4d04d[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@147917a[rootType=class
org.apache.ojb.broker.util.sequence.HighLowSequence,fieldName=maxKey], field_belongs_to org.apache.ojb.broker.util.sequence.HighLowSequence,
custom attributes [null],

]}

]

      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)

      ... 55 more

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.

      at org.apache.ojb.broker.metadata.JdbcTypesHelper.getJdbcTypeByName(JdbcTypesHelper.java:142)

      at org.apache.ojb.broker.metadata.FieldDescriptor.lookupJdbcType(FieldDescriptor.java:201)

      ... 57 more

2006-02-23 12:09:51,631 [main] INFO  org.apache.jetspeed.engine.JetspeedServlet - Jetspeed
Initialization complete, Ready to service requests.


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message