db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Armin Waibel <ar...@code-au-lait.de>
Subject Re: OJB Class Loader Question with Avalon Merlin
Date Wed, 10 Dec 2003 21:12:42 GMT
Hi David,

have a look in ...broker.util.ClassHelper class.
OJB use the always the context ClassLoader to get Class objects.

Thus it seems that the ClassLoader associated with "ojb-thread" does not 
  have the appropriate ClassLoader or the ClassLoader doesn't see all 
OJB jars.
Sorry I can't help more.

regards,
Armin

David Le Strat wrote:

> Hi there,
> 
> I am currently working on a Avalon Merlin service
> wrapping OJB.  I have upgraded to the latest source
> from CVS.
> 
> I am having issue with the Classloader.  When Merlin
> starts the service, it sets the class loader context
> to the classes necessary for that service to run
> including db-ojb.jar and the other dependencies my
> service needs. However, when OJB reads the
> repository.xml file, it cannot find any of the classes
> in the context.  I am having some difficulties
> pinpointing the problem and would appreciate some
> guidance from the developers.
> 
> I enclosed the log outline the issue.
> 
> I am looking forward to your help.
> 
> Regards,
> 
> David Le Strat.
> 
> 
> 
> 
> 
> __________________________________
> Do you Yahoo!?
> New Yahoo! Photos - easier uploading and sharing.
> http://photos.yahoo.com/
> 
> 
> ------------------------------------------------------------------------
> 
> C:\tools\eclipse\workspace\jakarta-jetspeed-2-prefs-merlin\components\persistence>maven
>  __  __
> |  \/  |__ _Apache__ ___
> | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
> |_|  |_\__,_|\_/\___|_||_|  v. 1.0-rc1-SNAPSHOT
> 
> java:prepare-filesystem:
> 
> java:compile:
> avalon:meta:
>     [avalon] Writing descriptors using 'xml' format.
>     [avalon] Processed 1 Types and 0 Services from a total of 15 classes.
>     [avalon] Writing descriptors using 'xml' format.
>     [avalon] Processed 0 Types and 0 Services from a total of 1 classes.
> 
>     [echo] Compiling to C:\tools\eclipse\workspace\jakarta-jetspeed-2-prefs-merlin\components\persistence/target/classes
> 
> java:jar-resources:
> Copying 1 file to C:\tools\eclipse\workspace\jakarta-jetspeed-2-prefs-merlin\components\persistence\target\classes\BLOCK-INF
> 
> test:prepare-filesystem:
> 
> test:test-resources:
> 
> test:compile:
> 
> test:test:
>     [junit] dir attribute ignored if running in the same VM
>     [junit] Running org.apache.jetspeed.persistence.TestPersistenceService
> ### ${maven.home} == [C:\tools\maven-1.0-rc1]
> ### ${maven.home.local} == [C:\tools\maven-1.0-rc1]
> ### MAVEN_HOME == [C:\tools\maven-1.0-rc1]
> ### MAVEN_HOME_LOCAL == [C:\tools\maven-1.0-rc1]
> ### local == [C:\tools\maven-1.0-rc1]
> ### ${maven.home} == [C:\tools\maven-1.0-rc1]
> ### ${maven.home.local} == [C:\tools\maven-1.0-rc1]
> ### MAVEN_HOME == [C:\tools\maven-1.0-rc1]
> ### MAVEN_HOME_LOCAL == [C:\tools\maven-1.0-rc1]
> ### local == [C:\tools\maven-1.0-rc1]
> [DEBUG  ] (kernel.logging): default priority: DEBUG
> [DEBUG  ] (kernel.logging): adding category: kernel
> [DEBUG  ] (kernel): logging system established
> [INFO   ] (kernel): Merlin Kernel Environment Listing
> 
>   ${user.dir} == C:\tools\eclipse\workspace\jakarta-jetspeed-2-prefs-merlin\components\persistence
>   ${user.home} == C:\Documents and Settings\David Le Strat
> 
>   ${avalon.repository.cache} == C:\tools\maven-1.0-rc1\repository
>   ${avalon.repository.hosts} == http://dpml.net/,http://ibiblio.org/maven
> 
>   ${merlin.repository} == C:\tools\maven-1.0-rc1\repository
>   ${merlin.lang} == null
>   ${merlin.home} == C:\Documents and Settings\David Le Strat\.merlin
>   ${merlin.system} == C:\Documents and Settings\David Le Strat\.merlin\system
>   ${merlin.config} == C:\Documents and Settings\David Le Strat\.merlin\config
>   ${merlin.kernel} == null
>   ${merlin.override} == null
>   ${merlin.dir} == C:\tools\eclipse\workspace\jakarta-jetspeed-2-prefs-merlin\components\persistence
>   ${merlin.temp} == C:\DOCUME~1\DAVIDL~1\LOCALS~1\Temp
>   ${merlin.context} == C:\tools\eclipse\workspace\jakarta-jetspeed-2-prefs-merlin\components\persistence\target
>   ${merlin.anchor} == C:\tools\eclipse\workspace\jakarta-jetspeed-2-prefs-merlin\components\persistence
>   ${merlin.info} == true
>   ${merlin.debug} == true
>   ${merlin.server} == true
>   ${merlin.autostart} == true
>   ${merlin.deployment} == file:/${user.dir}/target/classes/
> 
> [DEBUG  ] (kernel): repository established: cache:C:\tools\maven-1.0-rc1\repository,
http://dpml.net/, http://www.ibiblio.org/maven/
> [DEBUG  ] (kernel.logging): adding category: kernel
> [DEBUG  ] (kernel.logging): adding category:
> [DEBUG  ] (kernel.classloader): base: ${user.dir}
> [DEBUG  ] (kernel.classloader): classpath:
> [DEBUG  ] (kernel.classloader.types): type install count: 0
> [DEBUG  ] (kernel.logging): adding category:
> [DEBUG  ] (kernel): system assembly
> [DEBUG  ] (): assembly phase
> [DEBUG  ] (kernel): system deployment
> [DEBUG  ] (): deployment:  (empty)
> [DEBUG  ] (kernel): system ready
> [DEBUG  ] (kernel.logging): adding category:
> [DEBUG  ] (kernel.logging): adding category:
> [DEBUG  ] (classloader): base: ${user.dir}
> [DEBUG  ] (classloader): classpath:
> [DEBUG  ] (classloader.types): type install count: 0
> [DEBUG  ] (kernel): install phase
> [INFO   ] (kernel): installing: file:/${user.dir}/target/classes/
> [DEBUG  ] (): including composite block: file:/C:/tools/eclipse/workspace/jakarta-jetspeed-2-prefs-merlin/components/persistence/target/classes/BLOCK-INF/block.xml
> [DEBUG  ] (): installing: jetspeed
> [DEBUG  ] (kernel.logging): adding category: jetspeed
> [DEBUG  ] (kernel.logging): adding category: jetspeed
> [DEBUG  ] (jetspeed.classloader): base: ${user.dir}
> [DEBUG  ] (jetspeed): implicit entries: 1
> [DEBUG  ] (jetspeed): repository declarations: 1
> [DEBUG  ] (jetspeed): repository 0 contains 7 entries.
> [DEBUG  ] (jetspeed.classloader): classpath: file:/${user.dir}/target/classes/;file:/C:/tools/maven-1.0-rc1/repository/avalon-framework/jars/avalon-framework-api-4.1.5.jar;file:/C:/tools/maven-1.0-rc1/repository/avalon-framework/jars/avalon-framework-impl-4.1.5.jar;file:/C:/tools/maven-1.0-rc1/repos
> itory/ojb/jars/db-ojb-1.0.rc5.jar;file:/C:/tools/maven-1.0-rc1/repository/commons-lang/jars/commons-lang-2.0.jar;file:/C:/tools/maven-1.0-rc1/repository/commons-lang/jars/commons-lang-2.0.jar;file:/C:/tools/maven-1.0-rc1/repository/jetspeed2/jars/jetspeed-2.0-a1-dev.jar;file:/C:/tools/maven-1.0-rc1/
> repository/jetspeed2/jars/jetspeed-commons-2.0-a1-dev.jar
> [DEBUG  ] (jetspeed.classloader.scanner): scanning: file:/${user.dir}/target/classes/
> [DEBUG  ] (jetspeed.classloader.scanner): type: org.apache.jetspeed.persistence.impl.OJBODMGPersistencePlugin
> [DEBUG  ] (jetspeed.classloader.scanner): scanning: file:/C:/tools/maven-1.0-rc1/repository/avalon-framework/jars/avalon-framework-api-4.1.5.jar
> [DEBUG  ] (jetspeed.classloader.scanner): scanning: file:/C:/tools/maven-1.0-rc1/repository/avalon-framework/jars/avalon-framework-impl-4.1.5.jar
> [DEBUG  ] (jetspeed.classloader.scanner): scanning: file:/C:/tools/maven-1.0-rc1/repository/ojb/jars/db-ojb-1.0.rc5.jar
> [DEBUG  ] (jetspeed.classloader.scanner): scanning: file:/C:/tools/maven-1.0-rc1/repository/commons-lang/jars/commons-lang-2.0.jar
> [DEBUG  ] (jetspeed.classloader.scanner): scanning: file:/C:/tools/maven-1.0-rc1/repository/commons-lang/jars/commons-lang-2.0.jar
> [DEBUG  ] (jetspeed.classloader.scanner): scanning: file:/C:/tools/maven-1.0-rc1/repository/jetspeed2/jars/jetspeed-2.0-a1-dev.jar
> [DEBUG  ] (jetspeed.classloader.scanner): scanning: file:/C:/tools/maven-1.0-rc1/repository/jetspeed2/jars/jetspeed-commons-2.0-a1-dev.jar
> [DEBUG  ] (jetspeed.classloader.types): type install count: 1
> [DEBUG  ] (jetspeed.classloader.types): registered [type:org.apache.jetspeed.persistence.impl.OJBODMGPersistencePlugin/1].
> [DEBUG  ] (jetspeed): installing: persistence
> [DEBUG  ] (kernel): customize phase
> [DEBUG  ] (kernel): activation phase
> [DEBUG  ] (kernel.logging): adding category:
> [DEBUG  ] (): creating block: /jetspeed
> [DEBUG  ] (kernel.logging): adding category: jetspeed
> [DEBUG  ] (kernel.logging): adding category: jetspeed
> [DEBUG  ] (jetspeed): creating appliance: /jetspeed/persistence
> [DEBUG  ] (kernel.logging): adding category: jetspeed.persistence
> [DEBUG  ] (kernel): state: initialized
> [DEBUG  ] (kernel): kernel established (1)
> [DEBUG  ] (kernel): startup phase
> [DEBUG  ] (kernel): state: model assembly
> [DEBUG  ] (kernel): assembly phase
> [DEBUG  ] (): assembly phase
> [DEBUG  ] (jetspeed): assembly phase
> [DEBUG  ] (jetspeed.persistence.appliance): assembly phase
> [DEBUG  ] (kernel): state: block deployment
> [DEBUG  ] (kernel): application deployment
> [DEBUG  ] (): deployment: block:/jetspeed
> [DEBUG  ] (jetspeed): deployment: appliance:/jetspeed/persistence
> [DEBUG  ] (jetspeed.persistence.appliance): deployment (singleton/conservative) [true]
> [DEBUG  ] (jetspeed.persistence.appliance): new instance: 35293
> [DEBUG  ] (jetspeed.persistence.appliance): applying logger to: 35293
> [DEBUG  ] (jetspeed.persistence.appliance): applying configuration to: 35293
> [DEBUG  ] (jetspeed.persistence): OJB.path: C:\tools\eclipse\workspace\jakarta-jetspeed-2-prefs-merlin\components\persistence\target\classes\BLOCK-INF\ojb\
> [INFO   ] (jetspeed.persistence): URL to OJB resources: file:/C:/tools/eclipse/workspace/jakarta-jetspeed-2-prefs-merlin/components/persistence/target/classes/BLOCK-INF/ojb/
> file:/C:/tools/eclipse/workspace/jakarta-jetspeed-2-prefs-merlin/components/persistence/target/classes/BLOCK-INF/ojb/
> 
> file:/C:/tools/eclipse/workspace/jakarta-jetspeed-2-prefs-merlin/components/persistence/target/classes/
> file:/C:/tools/maven-1.0-rc1/repository/avalon-framework/jars/avalon-framework-api-4.1.5.jar
> file:/C:/tools/maven-1.0-rc1/repository/avalon-framework/jars/avalon-framework-impl-4.1.5.jar
> file:/C:/tools/maven-1.0-rc1/repository/ojb/jars/db-ojb-1.0.rc5.jar
> file:/C:/tools/maven-1.0-rc1/repository/commons-lang/jars/commons-lang-2.0.jar
> file:/C:/tools/maven-1.0-rc1/repository/commons-lang/jars/commons-lang-2.0.jar
> file:/C:/tools/maven-1.0-rc1/repository/jetspeed2/jars/jetspeed-2.0-a1-dev.jar
> file:/C:/tools/maven-1.0-rc1/repository/jetspeed2/jars/jetspeed-commons-2.0-a1-dev.jar
> 
> [INFO   ] (jetspeed.persistence): Loading OJB.properties from: file:/C:/tools/eclipse/workspace/jakarta-jetspeed-2-prefs-merlin/components/persistence/target/classes/BLOCK-INF/ojb/OJB.properties
> [INFO   ] (jetspeed.persistence): overriding default JDBC Connection Descriptor with
jetspeed-test
> 0 [Thread-1] INFO core.PersistenceBrokerFactoryDefaultImpl  - Create PersistenceBroker
instance pool, pool configuration was {whenExhaustedAction=0, maxIdle=-1, maxActive=100, maxWait=2000,
removeAbandoned=false, numTestsPerEvictionRun=10, testWhileIdle=false, minEvictableIdleTimeMillis=1000000,
tes
> tOnReturn=false, logAbandoned=false, removeAbandonedTimeout=300, timeBetweenEvictionRunsMillis=-1,
testOnBorrow=false}
> 20 [Thread-1] INFO metadata.RepositoryPersistor  - OJB Descriptor Repository: file:/C:/tools/eclipse/workspace/jakarta-jetspeed-2-prefs-merlin/components/persistence/target/classes/BLOCK-INF/ojb/repository.xml
> 70 [Thread-1] INFO metadata.RepositoryXmlHandler  - Found attribute (name=grabSize, value=20)
but I could not assign them to a descriptor
> 70 [Thread-1] INFO metadata.RepositoryXmlHandler  - Found attribute (name=autoNaming,
value=true) but I could not assign them to a descriptor
> 70 [Thread-1] INFO metadata.RepositoryXmlHandler  - Found attribute (name=globalSequenceId,
value=false) but I could not assign them to a descriptor
> 70 [Thread-1] INFO metadata.RepositoryXmlHandler  - Found attribute (name=globalSequenceStart,
value=10000) but I could not assign them to a descriptor
> 70 [Thread-1] INFO metadata.RepositoryXmlHandler  - Found attribute (name=grabSize, value=20)
but I could not assign them to a descriptor
> 70 [Thread-1] INFO metadata.RepositoryXmlHandler  - Found attribute (name=autoNaming,
value=true) but I could not assign them to a descriptor
> 80 [Thread-1] INFO metadata.RepositoryXmlHandler  - Found attribute (name=globalSequenceId,
value=false) but I could not assign them to a descriptor
> 80 [Thread-1] INFO metadata.RepositoryXmlHandler  - Found attribute (name=globalSequenceStart,
value=10000) but I could not assign them to a descriptor
> 80 [Thread-1] INFO metadata.RepositoryXmlHandler  - Found attribute (name=grabSize, value=20)
but I could not assign them to a descriptor
> 80 [Thread-1] INFO metadata.RepositoryXmlHandler  - Found attribute (name=autoNaming,
value=true) but I could not assign them to a descriptor
> 80 [Thread-1] INFO metadata.RepositoryXmlHandler  - Found attribute (name=globalSequenceId,
value=false) but I could not assign them to a descriptor
> 80 [Thread-1] INFO metadata.RepositoryXmlHandler  - Found attribute (name=globalSequenceStart,
value=10000) but I could not assign them to a descriptor
> [DEBUG  ] (kernel): state: initialized
> ---- exception report ----------------------------------------------------------
> Exception: org.apache.avalon.merlin.KernelException
> Message: Kernel startup failure.
> ---- cause ---------------------------------------------------------------------
> Exception: org.apache.avalon.merlin.KernelException
> Message: Application deployment failure.
> ---- cause ---------------------------------------------------------------------
> Exception: org.apache.avalon.activation.appliance.DeploymentException
> Message: Composite deployment failure in block: [block:/jetspeed]
> ---- cause ---------------------------------------------------------------------
> Exception: org.apache.avalon.activation.lifecycle.LifecycleException
> Message: Unable to create a new component instance in appliance [/jetspeed/persistence]
due to a component deployment failure.
> ---- cause ---------------------------------------------------------------------
> Exception: java.lang.ExceptionInInitializerError
> Message: null
> ---- cause ---------------------------------------------------------------------
> Exception: org.apache.ojb.broker.metadata.MetadataException
> Message: Could not read repository class descriptor data, using repository: repository.xml:
Class org.apache.jetspeed.capability.impl.MediaTypeEntryImpl could not be found in the classpath.
This could cause unexpected behaviour of OJB, please remove or comment out this class descriptor
in the reposi
> tory.xml file.: org.apache.jetspeed.capability.impl.MediaTypeEntryImpl
> ---- cause ---------------------------------------------------------------------
> Exception: org.apache.ojb.broker.metadata.MetadataException
> Message: Class org.apache.jetspeed.capability.impl.MediaTypeEntryImpl could not be found
in the classpath. This could cause unexpected behaviour of OJB, please remove or comment out
this class descriptor in the repository.xml file.: org.apache.jetspeed.capability.impl.MediaTypeEntryImpl
> ---- cause ---------------------------------------------------------------------
> Exception: java.lang.ClassNotFoundException
> Message: org.apache.jetspeed.capability.impl.MediaTypeEntryImpl
> ---- stack trace ---------------------------------------------------------------
> java.lang.ClassNotFoundException: org.apache.jetspeed.capability.impl.MediaTypeEntryImpl
> java.net.URLClassLoader$1.run(URLClassLoader.java:199)
> java.security.AccessController.doPrivileged(Native Method)
> java.net.URLClassLoader.findClass(URLClassLoader.java:187)
> java.lang.ClassLoader.loadClass(ClassLoader.java:289)
> java.net.FactoryURLClassLoader.loadClass(URLClassLoader.java:575)
> java.lang.ClassLoader.loadClass(ClassLoader.java:235)
> java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
> java.lang.Class.forName0(Native Method)
> java.lang.Class.forName(Class.java:219)
> org.apache.ojb.broker.util.ClassHelper.getClass(Unknown Source)
> org.apache.ojb.broker.util.ClassHelper.getClass(Unknown Source)
> org.apache.ojb.broker.metadata.RepositoryXmlHandler.startElement(Unknown Source)
> org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
> org.apache.xerces.impl.dtd.XMLDTDValidator.startElement(Unknown Source)
> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown Source)
> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
Source)
> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
> org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
> org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
> org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
> org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
> org.apache.ojb.broker.metadata.RepositoryPersistor.readMetadataFromXML(Unknown Source)
> org.apache.ojb.broker.metadata.RepositoryPersistor.buildRepository(Unknown Source)
> org.apache.ojb.broker.metadata.RepositoryPersistor.readDescriptorRepository(Unknown Source)
> org.apache.ojb.broker.metadata.MetadataManager.init(Unknown Source)
> org.apache.ojb.broker.metadata.MetadataManager.<init>(Unknown Source)
> org.apache.ojb.broker.metadata.MetadataManager.<clinit>(Unknown Source)
> org.apache.ojb.broker.core.PersistenceBrokerFactoryDefaultImpl.buildDefaultKey(Unknown
Source)
> org.apache.ojb.broker.core.PersistenceBrokerFactoryDefaultImpl.<init>(Unknown Source)
> sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
> java.lang.reflect.Constructor.newInstance(Constructor.java:274)
> java.lang.Class.newInstance0(Class.java:308)
> java.lang.Class.newInstance(Class.java:261)
> org.apache.ojb.broker.core.PersistenceBrokerFactoryFactory.init(Unknown Source)
> org.apache.ojb.broker.core.PersistenceBrokerFactoryFactory.<clinit>(Unknown Source)
> org.apache.ojb.broker.PersistenceBrokerFactory.createPersistenceBroker(Unknown Source)
> org.apache.jetspeed.persistence.impl.AbstractOJBPersistencePlugin.getBroker(AbstractOJBPersistencePlugin.java:178)
> org.apache.jetspeed.persistence.impl.AbstractOJBPersistencePlugin.configure(AbstractOJBPersistencePlugin.java:359)
> org.apache.avalon.activation.appliance.impl.DefaultAppliance.applyConfiguration(DefaultAppliance.java:778)
> org.apache.avalon.activation.appliance.impl.DefaultAppliance.access$1000(DefaultAppliance.java:109)
> org.apache.avalon.activation.appliance.impl.DefaultAppliance$StandardFactory.newInstance(DefaultAppliance.java:1314)
> org.apache.avalon.activation.lifestyle.impl.SingletonLifestyleHandler.refreshReference(SingletonLifestyleHandler.java:138)
> org.apache.avalon.activation.lifestyle.impl.SingletonLifestyleHandler.resolve(SingletonLifestyleHandler.java:88)
> org.apache.avalon.activation.appliance.impl.DefaultAppliance.resolve(DefaultAppliance.java:580)
> org.apache.avalon.activation.appliance.impl.DefaultAppliance.deploy(DefaultAppliance.java:516)
> org.apache.avalon.activation.appliance.impl.AbstractBlock.deploy(AbstractBlock.java:655)
> org.apache.avalon.activation.appliance.impl.BlockThread.run(BlockThread.java:111)
> --------------------------------------------------------------------------------
> 
> Exception java.lang.Exception: ---- exception report ----------------------------------------------------------
> Exception: org.apache.avalon.merlin.KernelException
> Message: Kernel startup failure.
> ---- cause ---------------------------------------------------------------------
> Exception: org.apache.avalon.merlin.KernelException
> Message: Application deployment failure.
> ---- cause ---------------------------------------------------------------------
> Exception: org.apache.avalon.activation.appliance.DeploymentException
> Message: Composite deployment failure in block: [block:/jetspeed]
> ---- cause ---------------------------------------------------------------------
> Exception: org.apache.avalon.activation.lifecycle.LifecycleException
> Message: Unable to create a new component instance in appliance [/jetspeed/persistence]
due to a component deployment failure.
> ---- cause ---------------------------------------------------------------------
> Exception: java.lang.ExceptionInInitializerError
> Message: null
> ---- cause ---------------------------------------------------------------------
> Exception: org.apache.ojb.broker.metadata.MetadataException
> Message: Could not read repository class descriptor data, using repository: repository.xml:
Class org.apache.jetspeed.capability.impl.MediaTypeEntryImpl could not be found in the classpath.
This could cause unexpected behaviour of OJB, please remove or comment out this class descriptor
in the reposi
> tory.xml file.: org.apache.jetspeed.capability.impl.MediaTypeEntryImpl
> ---- cause ---------------------------------------------------------------------
> Exception: org.apache.ojb.broker.metadata.MetadataException
> Message: Class org.apache.jetspeed.capability.impl.MediaTypeEntryImpl could not be found
in the classpath. This could cause unexpected behaviour of OJB, please remove or comment out
this class descriptor in the repository.xml file.: org.apache.jetspeed.capability.impl.MediaTypeEntryImpl
> ---- cause ---------------------------------------------------------------------
> Exception: java.lang.ClassNotFoundException
> Message: org.apache.jetspeed.capability.impl.MediaTypeEntryImpl
> ---- stack trace ---------------------------------------------------------------
> java.lang.ClassNotFoundException: org.apache.jetspeed.capability.impl.MediaTypeEntryImpl
> java.net.URLClassLoader$1.run(URLClassLoader.java:199)
> java.security.AccessController.doPrivileged(Native Method)
> java.net.URLClassLoader.findClass(URLClassLoader.java:187)
> java.lang.ClassLoader.loadClass(ClassLoader.java:289)
> java.net.FactoryURLClassLoader.loadClass(URLClassLoader.java:575)
> java.lang.ClassLoader.loadClass(ClassLoader.java:235)
> java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
> java.lang.Class.forName0(Native Method)
> java.lang.Class.forName(Class.java:219)
> org.apache.ojb.broker.util.ClassHelper.getClass(Unknown Source)
> org.apache.ojb.broker.util.ClassHelper.getClass(Unknown Source)
> org.apache.ojb.broker.metadata.RepositoryXmlHandler.startElement(Unknown Source)
> org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
> org.apache.xerces.impl.dtd.XMLDTDValidator.startElement(Unknown Source)
> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown Source)
> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
Source)
> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
> org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
> org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
> org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
> org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
> org.apache.ojb.broker.metadata.RepositoryPersistor.readMetadataFromXML(Unknown Source)
> org.apache.ojb.broker.metadata.RepositoryPersistor.buildRepository(Unknown Source)
> org.apache.ojb.broker.metadata.RepositoryPersistor.readDescriptorRepository(Unknown Source)
> org.apache.ojb.broker.metadata.MetadataManager.init(Unknown Source)
> org.apache.ojb.broker.metadata.MetadataManager.<init>(Unknown Source)
> org.apache.ojb.broker.metadata.MetadataManager.<clinit>(Unknown Source)
> org.apache.ojb.broker.core.PersistenceBrokerFactoryDefaultImpl.buildDefaultKey(Unknown
Source)
> org.apache.ojb.broker.core.PersistenceBrokerFactoryDefaultImpl.<init>(Unknown Source)
> sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
> java.lang.reflect.Constructor.newInstance(Constructor.java:274)
> java.lang.Class.newInstance0(Class.java:308)
> java.lang.Class.newInstance(Class.java:261)
> org.apache.ojb.broker.core.PersistenceBrokerFactoryFactory.init(Unknown Source)
> org.apache.ojb.broker.core.PersistenceBrokerFactoryFactory.<clinit>(Unknown Source)
> org.apache.ojb.broker.PersistenceBrokerFactory.createPersistenceBroker(Unknown Source)
> org.apache.jetspeed.persistence.impl.AbstractOJBPersistencePlugin.getBroker(AbstractOJBPersistencePlugin.java:178)
> org.apache.jetspeed.persistence.impl.AbstractOJBPersistencePlugin.configure(AbstractOJBPersistencePlugin.java:359)
> org.apache.avalon.activation.appliance.impl.DefaultAppliance.applyConfiguration(DefaultAppliance.java:778)
> org.apache.avalon.activation.appliance.impl.DefaultAppliance.access$1000(DefaultAppliance.java:109)
> org.apache.avalon.activation.appliance.impl.DefaultAppliance$StandardFactory.newInstance(DefaultAppliance.java:1314)
> org.apache.avalon.activation.lifestyle.impl.SingletonLifestyleHandler.refreshReference(SingletonLifestyleHandler.java:138)
> org.apache.avalon.activation.lifestyle.impl.SingletonLifestyleHandler.resolve(SingletonLifestyleHandler.java:88)
> org.apache.avalon.activation.appliance.impl.DefaultAppliance.resolve(DefaultAppliance.java:580)
> org.apache.avalon.activation.appliance.impl.DefaultAppliance.deploy(DefaultAppliance.java:516)
> org.apache.avalon.activation.appliance.impl.AbstractBlock.deploy(AbstractBlock.java:655)
> org.apache.avalon.activation.appliance.impl.BlockThread.run(BlockThread.java:111)
> --------------------------------------------------------------------------------
> 
>     [junit] Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 2.364 sec
>     [junit] [ERROR] TEST org.apache.jetspeed.persistence.TestPersistenceService FAILED
> 
> BUILD FAILED
> File...... file:/C:/tools/maven-1.0-rc1/plugins/maven-test-plugin-1.4/
> Element... fail
> Line...... 130
> Column.... 54
> There were test failures.
> Total time: 6 seconds
> Finished at: Wed Dec 10 15:40:45 GMT-05:00 2003
> 
> [DEBUG  ] (kernel): shutdown event
> C:\tools\eclipse\workspace\jakarta-jetspeed-2-prefs-merlin\components\persistence>
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> ------------------------------------------------------------------------
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
> For additional commands, e-mail: ojb-dev-help@db.apache.org



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


Mime
View raw message