> -----Original Message-----
> From: Stephen McConnell [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, December 30, 2003 12:44 AM
> To: Avalon framework users
> Subject: Re: Merlin Dynamic Block Un/Loading
>
>
>
>
> Olaf Bergner wrote:
>
> >>-----Original Message-----
> >>From: Fernando Padilla [mailto:[EMAIL PROTECTED]
> >>Sent: Monday, December 29, 2003 8:45 PM
> >>
> >>This LinkageError is really annoying, becuase we can't use the Unit
> >>testing to the fullest. Does anybody have any idea what is going
> >>wrong?
> >>
> >>
> >>
> >
> >No, unfortunately not. I have been struggling with this problem
> for quite a
> >few days and found absolutely nothing.
> >
> >
> >
> >>I went and added the maven.pom.dependeies from
> merlin/kernel/servlet, but
> >>nothing changed.
> >>
> >>
> >>
> >
> >After reading the JDK api-docs for java.lang.LinkageError:
> >
> >Subclasses of LinkageError indicate that a class has some dependency on
> >another class; however, the latter class has incompatibly
> changed after the
> >compilation of the former class.
> >
> >I decided on completely rebuilding absolutely everything. I
> erased my merlin
> >sources, made a fresh CVS checkout, rebuilt and reinstalled.
> After that, I
> >updated my merlin-related dependencies, cleaned my project's target
> >directory and rebuilt. Same error. Very strange.
> >
>
> That's what getting me - this does not make sense.
>
> >I am just guessing here, but could it be that on a second merlin
> startup -
> >if given a custom classloader via InitialContext - a subset of merlin's
> >internal classes is loaded via a classloader different from the
> classloader
> >used during the first startup? Also, the situation is different
> from merlin
> >standalone in that the JVM "survives" the shutdown and restart of the
> >kernel. So some of merlin's classes might remain loaded, whereas others
> >might be actively and explicitely reloaded by merlin during restart,
> >ultimately leading to this LinkageError. But then again I know
> very little
> >about classloading issues and could be completely off track. If it's a
> >classloading issue at all.
> >
> >
>
> Its a classloader issue - the thing I would like to confirm if this is
> specific to the maven/unit-test scenario or not. Also, what is similar
> about your cases (Olaf case + Fernando case) that is different from the
> Merlin unit test scenario. Getting that nailed down is the first step to
> figuring this one out.
>
I played around a bit to find a minimal setup for reproducing the
LinkageError. To this end, I reused an existing block of mine to be deployed
via AMTC. This is what does the trick:
(1) Subclass AbstractMerlinTestCase
(2) Add two (>1) *empty* test methods, don't overwrite setUp() or tearDown()
(3) Run the test case
(4) First test method runs just fine
(5) Second test method fails during setUp()
Below you will find the unedited and thus rather lengthy output. Have fun ;)
> Stephen.
>
Olaf
----------------------------------------------------------------------------
----------
test:test:
[junit] dir attribute ignored if running in the same VM
[junit] Running
manplan.merlin.component.impl.persistence.DefaultDAOFactoryBuilderTest
[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:\Projekte\OBergner\EclipseWorkspace\manplan-merlin\component
${user.home} == C:\Dokumente und Einstellungen\Otto Berg
${avalon.repository.cache} == C:\Dokumente und Einstellungen\Otto
Berg\.maven\repository
${avalon.repository.hosts} ==
file:/C:/Data/OBergner/Maven/repository/,http://dpml.net/,http://www.ibiblio
.org/maven/
${merlin.repository} == C:\Dokumente und Einstellungen\Otto
Berg\.maven\repository
${merlin.lang} == null
${merlin.home} == C:\Programme\OBergner\ApplicationServer\Merlin
${merlin.system} == C:\Programme\OBergner\ApplicationServer\Merlin\system
${merlin.config} == C:\Programme\OBergner\ApplicationServer\Merlin\config
${merlin.kernel} ==
file:/C:/Projekte/OBergner/EclipseWorkspace/manplan-merlin/component/impl/co
nf/kernel.xml
${merlin.override} == null
${merlin.dir} ==
C:\Projekte\OBergner\EclipseWorkspace\manplan-merlin\component\impl
${merlin.temp} == C:\DOKUME~1\OTTOBE~1\LOKALE~1\Temp
${merlin.context} ==
C:\Projekte\OBergner\EclipseWorkspace\manplan-merlin\component\impl\target
${merlin.anchor} ==
C:\Projekte\OBergner\EclipseWorkspace\manplan-merlin\component\impl
${merlin.info} == true
${merlin.debug} == true
${merlin.server} == true
${merlin.autostart} == true
${merlin.deployment} == file:/${user.dir}/impl/target/classes
[DEBUG ] (kernel): repository established: cache:C:\Dokumente und
Einstellungen\Otto Berg\.maven\repository,
file:/C:/Data/OBergner/Maven/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}/impl
[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}/impl
[DEBUG ] (classloader): classpath:
[DEBUG ] (classloader.types): type install count: 0
[DEBUG ] (kernel): install phase
[INFO ] (kernel): installing: file:/${user.dir}/impl/target/classes
[DEBUG ] (): including composite block:
file:/C:/Projekte/OBergner/EclipseWorkspace/manplan-merlin/component/impl/ta
rget/classes/BLOCK-INF/block.xml
[DEBUG ] (): installing: manplan-merlin
[DEBUG ] (kernel.logging): adding category: manplan-merlin
[DEBUG ] (kernel.logging): adding category: manplan-merlin
[DEBUG ] (manplan-merlin.classloader): base: ${user.dir}/impl
[DEBUG ] (manplan-merlin): implicit entries: 1
[DEBUG ] (manplan-merlin): repository declarations: 1
[DEBUG ] (manplan-merlin): repository 0 contains 7 entries.
[DEBUG ] (manplan-merlin.classloader): classpath:
file:/${user.dir}/impl/target/classes/;file:/C:/Dokumente und
Einstellungen/Otto
Berg/.maven/repository/avalon-framework/jars/avalon-framework-api-4.1.5.jar;
file:/C:/Dokumente und Einstellungen/Otto
Berg/.maven/repository/avalon-framework/jars/avalon-framework-impl-4.1.5.jar
;file:/C:/Dokumente und Einstellungen/Otto
Berg/.maven/repository/manplan-merlin/jars/common-0.1.jar;file:/C:/Dokumente
und Einstellungen/Otto
Berg/.maven/repository/manplan-merlin/jars/model-api-0.1.jar;file:/C:/Dokume
nte und Einstellungen/Otto
Berg/.maven/repository/manplan-merlin/jars/model-impl-0.1.jar;file:/C:/Dokum
ente und Einstellungen/Otto
Berg/.maven/repository/manplan-merlin/jars/persistence-api-0.1.jar;file:/C:/
Dokumente und Einstellungen/Otto
Berg/.maven/repository/manplan-merlin/jars/persistence-impl-0.1.jar
[DEBUG ] (manplan-merlin.classloader.scanner): scanning:
file:/${user.dir}/impl/target/classes/
[DEBUG ] (manplan-merlin.classloader.scanner): type:
manplan.merlin.component.impl.DefaultComponentManager
[DEBUG ] (manplan-merlin.classloader.scanner): type:
manplan.merlin.component.impl.persistence.DefaultDAOFactoryBuilder
[DEBUG ] (manplan-merlin.classloader.scanner): type:
manplan.merlin.component.impl.persistence.ThreadLocalSessionManager
[DEBUG ] (manplan-merlin.classloader.scanner): type:
manplan.merlin.component.impl.user.DefaultPasswordEncrypter
[DEBUG ] (manplan-merlin.classloader.scanner): type:
manplan.merlin.component.impl.user.DefaultUserAuthenticator
[DEBUG ] (manplan-merlin.classloader.scanner): scanning: file:/C:/Dokumente
und Einstellungen/Otto
Berg/.maven/repository/avalon-framework/jars/avalon-framework-api-4.1.5.jar
[DEBUG ] (manplan-merlin.classloader.scanner): scanning: file:/C:/Dokumente
und Einstellungen/Otto
Berg/.maven/repository/avalon-framework/jars/avalon-framework-impl-4.1.5.jar
[DEBUG ] (manplan-merlin.classloader.scanner): scanning: file:/C:/Dokumente
und Einstellungen/Otto
Berg/.maven/repository/manplan-merlin/jars/common-0.1.jar
[DEBUG ] (manplan-merlin.classloader.scanner): scanning: file:/C:/Dokumente
und Einstellungen/Otto
Berg/.maven/repository/manplan-merlin/jars/model-api-0.1.jar
[DEBUG ] (manplan-merlin.classloader.scanner): scanning: file:/C:/Dokumente
und Einstellungen/Otto
Berg/.maven/repository/manplan-merlin/jars/model-impl-0.1.jar
[DEBUG ] (manplan-merlin.classloader.scanner): scanning: file:/C:/Dokumente
und Einstellungen/Otto
Berg/.maven/repository/manplan-merlin/jars/persistence-api-0.1.jar
[DEBUG ] (manplan-merlin.classloader.scanner): scanning: file:/C:/Dokumente
und Einstellungen/Otto
Berg/.maven/repository/manplan-merlin/jars/persistence-impl-0.1.jar
[DEBUG ] (manplan-merlin.classloader.scanner): type:
manplan.merlin.persistence.impl.hibernate.DAOFactory_Hibernate
[DEBUG ] (manplan-merlin.classloader.scanner): type:
manplan.merlin.persistence.impl.hibernate.SessionFactory_Hibernate
[DEBUG ] (manplan-merlin.classloader.types): type install count: 7
[DEBUG ] (manplan-merlin.classloader.types): registered
[type:manplan.merlin.component.impl.DefaultComponentManager/1].
[DEBUG ] (manplan-merlin.classloader.types): registered
[type:manplan.merlin.component.impl.persistence.DefaultDAOFactoryBuilder/1].
[DEBUG ] (manplan-merlin.classloader.types): registered
[type:manplan.merlin.component.impl.persistence.ThreadLocalSessionManager/1]
.
[DEBUG ] (manplan-merlin.classloader.types): registered
[type:manplan.merlin.component.impl.user.DefaultPasswordEncrypter/1].
[DEBUG ] (manplan-merlin.classloader.types): registered
[type:manplan.merlin.component.impl.user.DefaultUserAuthenticator/1].
[DEBUG ] (manplan-merlin.classloader.types): registered
[type:manplan.merlin.persistence.impl.hibernate.DAOFactory_Hibernate/1].
[DEBUG ] (manplan-merlin.classloader.types): registered
[type:manplan.merlin.persistence.impl.hibernate.SessionFactory_Hibernate/1].
[DEBUG ] (manplan-merlin): installing: session-factory
[DEBUG ] (manplan-merlin): installing: dao-factory
[DEBUG ] (manplan-merlin): installing: dao-factory-builder
[DEBUG ] (manplan-merlin): installing: session-manager
[DEBUG ] (manplan-merlin): installing: password-encrypter
[DEBUG ] (manplan-merlin): installing: user-authenticator
[DEBUG ] (kernel): customize phase
[DEBUG ] (kernel): activation phase
[DEBUG ] (kernel.logging): adding category:
[DEBUG ] (): creating block: /manplan-merlin
[DEBUG ] (kernel.logging): adding category: manplan-merlin
[DEBUG ] (kernel.logging): adding category: manplan-merlin
[DEBUG ] (manplan-merlin): creating appliance:
/manplan-merlin/password-encrypter
[DEBUG ] (kernel.logging): adding category:
manplan-merlin.password-encrypter
[DEBUG ] (manplan-merlin): creating appliance: /manplan-merlin/dao-factory
[DEBUG ] (kernel.logging): adding category: manplan-merlin.dao-factory
[DEBUG ] (manplan-merlin): creating appliance:
/manplan-merlin/session-factory
[DEBUG ] (kernel.logging): adding category: manplan-merlin.session-factory
[DEBUG ] (manplan-merlin): creating appliance:
/manplan-merlin/dao-factory-builder
[DEBUG ] (kernel.logging): adding category:
manplan-merlin.dao-factory-builder
[DEBUG ] (manplan-merlin): creating appliance:
/manplan-merlin/session-manager
[DEBUG ] (kernel.logging): adding category: manplan-merlin.session-manager
[DEBUG ] (manplan-merlin): creating appliance:
/manplan-merlin/user-authenticator
[DEBUG ] (kernel.logging): adding category:
manplan-merlin.user-authenticator
[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 ] (manplan-merlin): assembly phase
[DEBUG ] (manplan-merlin.password-encrypter.appliance): assembly phase
[DEBUG ] (manplan-merlin.session-factory.appliance): assembly phase
[DEBUG ] (manplan-merlin.dao-factory.appliance): assembly phase
[DEBUG ] (manplan-merlin.dao-factory-builder.appliance): assembly phase
[DEBUG ] (manplan-merlin.session-manager.appliance): assembly phase
[DEBUG ] (manplan-merlin): resolving provider for:
[manplan.merlin.persistence.api.session.SessionFactory]
manplan.merlin.persistence.api.session.SessionFactory:1.0.0
[DEBUG ] (manplan-merlin.session-manager.appliance): assigning service
provider for key (manplan.merlin.persistence.api.session.SessionFactory):
appliance:/manplan-merlin/session-factory
[DEBUG ] (manplan-merlin.user-authenticator.appliance): assembly phase
[DEBUG ] (manplan-merlin): resolving provider for:
[manplan.merlin.component.api.persistence.SessionManager]
manplan.merlin.component.api.persistence.SessionManager:1.0.0
[DEBUG ] (manplan-merlin.user-authenticator.appliance): assigning service
provider for key (manplan.merlin.component.api.persistence.SessionManager):
appliance:/manplan-merlin/session-manager
[DEBUG ] (manplan-merlin): resolving provider for:
[manplan.merlin.component.api.user.PasswordEncrypter]
manplan.merlin.component.api.user.PasswordEncrypter:1.0.0
[DEBUG ] (manplan-merlin.user-authenticator.appliance): assigning service
provider for key (manplan.merlin.component.api.user.PasswordEncrypter):
appliance:/manplan-merlin/password-encrypter
[DEBUG ] (manplan-merlin): resolving provider for:
[manplan.merlin.persistence.api.dao.DAOFactory]
manplan.merlin.persistence.api.dao.DAOFactory:1.0.0
[DEBUG ] (manplan-merlin.user-authenticator.appliance): assigning service
provider for key (manplan.merlin.persistence.api.dao.DAOFactory):
appliance:/manplan-merlin/dao-factory
[DEBUG ] (kernel): state: block deployment
[DEBUG ] (kernel): application deployment
[DEBUG ] (): deployment: block:/manplan-merlin
[DEBUG ] (manplan-merlin): deployment:
appliance:/manplan-merlin/password-encrypter,
appliance:/manplan-merlin/dao-factory,
appliance:/manplan-merlin/session-factory,
appliance:/manplan-merlin/dao-factory-builder,
appliance:/manplan-merlin/session-manager,
appliance:/manplan-merlin/user-authenticator
[DEBUG ] (manplan-merlin.password-encrypter.appliance): deployment
(singleton/hard) [true]
[DEBUG ] (manplan-merlin.password-encrypter.appliance): new instance:
13299843
[DEBUG ] (manplan-merlin.password-encrypter.appliance): applying logger to:
13299843
[DEBUG ] (manplan-merlin.password-encrypter.appliance): applying
configuration to: 13299843
[INFO ] (manplan-merlin.password-encrypter): Configuring component ...
[INFO ] (manplan-merlin.password-encrypter): Configuration finished
[algorithm = SHA; encoding = UTF-8].
[DEBUG ] (manplan-merlin.password-encrypter.appliance): established:
13299843
[DEBUG ] (manplan-merlin.password-encrypter.appliance): activated instance:
30328948
[DEBUG ] (manplan-merlin.dao-factory.appliance): deployment
(singleton/hard) [true]
[DEBUG ] (manplan-merlin.dao-factory.appliance): new instance: 13266154
[DEBUG ] (manplan-merlin.dao-factory.appliance): applying logger to:
13266154
[DEBUG ] (manplan-merlin.dao-factory.appliance): established: 13266154
[DEBUG ] (manplan-merlin.dao-factory.appliance): activated instance:
30335841
[DEBUG ] (manplan-merlin.session-factory.appliance): deployment
(singleton/hard) [true]
[DEBUG ] (manplan-merlin.session-factory.appliance): new instance: 12812631
[DEBUG ] (manplan-merlin.session-factory.appliance): applying logger to:
12812631
[DEBUG ] (manplan-merlin.session-factory.appliance): applying service
manager to: 12812631
[DEBUG ] (manplan-merlin.session-factory.appliance): applying configuration
to: 12812631
[INFO ] (manplan-merlin.session-factory): Conf:
[EMAIL PROTECTED]
[INFO ] (manplan-merlin.session-factory): Loading mappings from file:
C:\Projekte\OBergner\EclipseWorkspace\manplan-merlin\model\api\src\resources
\manplan\merlin\model\api\Address.hbm.xml
[INFO ] (manplan-merlin.session-factory): Loading mappings from file:
C:\Projekte\OBergner\EclipseWorkspace\manplan-merlin\model\api\src\resources
\manplan\merlin\model\api\Craft.hbm.xml
[INFO ] (manplan-merlin.session-factory): Loading mappings from file:
C:\Projekte\OBergner\EclipseWorkspace\manplan-merlin\model\api\src\resources
\manplan\merlin\model\api\Document.hbm.xml
[INFO ] (manplan-merlin.session-factory): Loading mappings from file:
C:\Projekte\OBergner\EclipseWorkspace\manplan-merlin\model\api\src\resources
\manplan\merlin\model\api\Documentclass.hbm.xml
[INFO ] (manplan-merlin.session-factory): Loading mappings from file:
C:\Projekte\OBergner\EclipseWorkspace\manplan-merlin\model\api\src\resources
\manplan\merlin\model\api\Documentversion.hbm.xml
[INFO ] (manplan-merlin.session-factory): Loading mappings from file:
C:\Projekte\OBergner\EclipseWorkspace\manplan-merlin\model\api\src\resources
\manplan\merlin\model\api\Person.hbm.xml
[INFO ] (manplan-merlin.session-factory): Loading mappings from file:
C:\Projekte\OBergner\EclipseWorkspace\manplan-merlin\model\api\src\resources
\manplan\merlin\model\api\Project.hbm.xml
[INFO ] (manplan-merlin.session-factory): Loading mappings from file:
C:\Projekte\OBergner\EclipseWorkspace\manplan-merlin\model\api\src\resources
\manplan\merlin\model\api\Role.hbm.xml
[DEBUG ] (manplan-merlin.session-factory.appliance): applying
initialization to: 12812631
01:12:37,824 WARN XMLDatabinder:261 - no XSLT implementation found -
databinding disabled
[DEBUG ] (manplan-merlin.session-factory.appliance): established: 12812631
[DEBUG ] (manplan-merlin.session-factory.appliance): activated instance:
26976728
[DEBUG ] (manplan-merlin.dao-factory-builder.appliance): deployment
(singleton/hard) [true]
[DEBUG ] (manplan-merlin.dao-factory-builder.appliance): new instance:
10384886
[DEBUG ] (manplan-merlin.dao-factory-builder.appliance): applying logger
to: 10384886
[DEBUG ] (manplan-merlin.dao-factory-builder.appliance): established:
10384886
[DEBUG ] (manplan-merlin.dao-factory-builder.appliance): activated
instance: 30731957
[DEBUG ] (manplan-merlin.session-manager.appliance): deployment
(singleton/hard) [true]
[DEBUG ] (manplan-merlin.session-manager.appliance): new instance: 8643419
[DEBUG ] (manplan-merlin.session-manager.appliance): applying logger to:
8643419
[DEBUG ] (manplan-merlin.session-manager.appliance): applying service
manager to: 8643419
[DEBUG ] (manplan-merlin.session-manager.appliance): applying
initialization to: 8643419
[DEBUG ] (manplan-merlin.session-manager.appliance): resolved service
[26976728] for the key
[manplan.merlin.persistence.api.session.SessionFactory].
[DEBUG ] (manplan-merlin.session-manager): Looked up session-factory:
[EMAIL PROTECTED]
[DEBUG ] (manplan-merlin.session-manager.appliance): established: 8643419
[DEBUG ] (manplan-merlin.session-manager.appliance): activated instance:
10670852
[DEBUG ] (manplan-merlin.user-authenticator.appliance): deployment
(singleton/hard) [true]
[DEBUG ] (manplan-merlin.user-authenticator.appliance): new instance:
30135543
[DEBUG ] (manplan-merlin.user-authenticator.appliance): applying logger to:
30135543
[DEBUG ] (manplan-merlin.user-authenticator.appliance): applying service
manager to: 30135543
[DEBUG ] (manplan-merlin.user-authenticator.appliance): applying
initialization to: 30135543
[DEBUG ] (manplan-merlin.user-authenticator.appliance): resolved service
[30328948] for the key
[manplan.merlin.component.api.user.PasswordEncrypter].
[DEBUG ] (manplan-merlin.user-authenticator.appliance): resolved service
[10670852] for the key
[manplan.merlin.component.api.persistence.SessionManager].
[DEBUG ] (manplan-merlin.user-authenticator.appliance): resolved service
[30335841] for the key [manplan.merlin.persistence.api.dao.DAOFactory].
[DEBUG ] (manplan-merlin.user-authenticator.appliance): established:
30135543
[DEBUG ] (manplan-merlin.user-authenticator.appliance): activated instance:
23766062
[DEBUG ] (kernel): state: started
[DEBUG ] (kernel): state: stopping
[DEBUG ] (kernel): state: decommissioning
[DEBUG ] (): decommissioning: block:/manplan-merlin
[DEBUG ] (manplan-merlin): decommissioning:
appliance:/manplan-merlin/user-authenticator,
appliance:/manplan-merlin/password-encrypter,
appliance:/manplan-merlin/dao-factory,
appliance:/manplan-merlin/session-manager,
appliance:/manplan-merlin/session-factory,
appliance:/manplan-merlin/dao-factory-builder
[DEBUG ] (manplan-merlin.user-authenticator.appliance): decommissioning
phase
[DEBUG ] (manplan-merlin.user-authenticator.appliance): destroy: 30135543
[DEBUG ] (manplan-merlin.user-authenticator.appliance): disposing of:
30135543
[DEBUG ] (manplan-merlin.user-authenticator.appliance): released service
[30328948] from the key
[manplan.merlin.component.api.user.PasswordEncrypter].
[DEBUG ] (manplan-merlin.user-authenticator.appliance): released service
[10670852] from the key
[manplan.merlin.component.api.persistence.SessionManager].
[DEBUG ] (manplan-merlin.user-authenticator.appliance): released service
[30335841] from the key [manplan.merlin.persistence.api.dao.DAOFactory].
[DEBUG ] (manplan-merlin.password-encrypter.appliance): decommissioning
phase
[DEBUG ] (manplan-merlin.password-encrypter.appliance): destroy: 13299843
[DEBUG ] (manplan-merlin.dao-factory.appliance): decommissioning phase
[DEBUG ] (manplan-merlin.dao-factory.appliance): destroy: 13266154
[DEBUG ] (manplan-merlin.session-manager.appliance): decommissioning phase
[DEBUG ] (manplan-merlin.session-manager.appliance): destroy: 8643419
[DEBUG ] (manplan-merlin.session-manager.appliance): disposing of: 8643419
[DEBUG ] (manplan-merlin.session-manager.appliance): released service
[26976728] from the key
[manplan.merlin.persistence.api.session.SessionFactory].
[DEBUG ] (manplan-merlin.session-factory.appliance): decommissioning phase
[DEBUG ] (manplan-merlin.session-factory.appliance): destroy: 12812631
[DEBUG ] (manplan-merlin.session-factory.appliance): disposing of: 12812631
[DEBUG ] (manplan-merlin.dao-factory-builder.appliance): decommissioning
phase
[DEBUG ] (manplan-merlin.dao-factory-builder.appliance): destroy: 10384886
[DEBUG ] (kernel): state: dissassembly
[INFO ] (kernel): dissassembly phase
[DEBUG ] (): dissassembly phase
[DEBUG ] (manplan-merlin): dissassembly phase
[DEBUG ] (manplan-merlin.password-encrypter.appliance): dissassembly phase
[DEBUG ] (manplan-merlin.session-factory.appliance): dissassembly phase
[DEBUG ] (manplan-merlin.dao-factory.appliance): dissassembly phase
[DEBUG ] (manplan-merlin.dao-factory-builder.appliance): dissassembly phase
[DEBUG ] (manplan-merlin.session-manager.appliance): dissassembly phase
[DEBUG ] (manplan-merlin.user-authenticator.appliance): dissassembly phase
[DEBUG ] (kernel): active threads (2)
[DEBUG ] (kernel): state: stopped
[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:\Projekte\OBergner\EclipseWorkspace\manplan-merlin\component
${user.home} == C:\Dokumente und Einstellungen\Otto Berg
${avalon.repository.cache} == C:\Dokumente und Einstellungen\Otto
Berg\.maven\repository
${avalon.repository.hosts} ==
file:/C:/Data/OBergner/Maven/repository/,http://dpml.net/,http://www.ibiblio
.org/maven/
${merlin.repository} == C:\Dokumente und Einstellungen\Otto
Berg\.maven\repository
${merlin.lang} == null
${merlin.home} == C:\Programme\OBergner\ApplicationServer\Merlin
${merlin.system} == C:\Programme\OBergner\ApplicationServer\Merlin\system
${merlin.config} == C:\Programme\OBergner\ApplicationServer\Merlin\config
${merlin.kernel} ==
file:/C:/Projekte/OBergner/EclipseWorkspace/manplan-merlin/component/impl/co
nf/kernel.xml
${merlin.override} == null
${merlin.dir} ==
C:\Projekte\OBergner\EclipseWorkspace\manplan-merlin\component\impl
${merlin.temp} == C:\DOKUME~1\OTTOBE~1\LOKALE~1\Temp
${merlin.context} ==
C:\Projekte\OBergner\EclipseWorkspace\manplan-merlin\component\impl\target
${merlin.anchor} ==
C:\Projekte\OBergner\EclipseWorkspace\manplan-merlin\component\impl
${merlin.info} == true
${merlin.debug} == true
${merlin.server} == true
${merlin.autostart} == true
${merlin.deployment} == file:/${user.dir}/impl/target/classes
[DEBUG ] (kernel): repository established: cache:C:\Dokumente und
Einstellungen\Otto Berg\.maven\repository,
file:/C:/Data/OBergner/Maven/repository/, http://dpml.net/,
http://www.ibiblio.org/maven/
[DEBUG ] (kernel.logging): adding category: kernel
[DEBUG ] (kernel.logging): adding category:
---- error
report --------------------------------------------------------------
Exception: java.lang.LinkageError
Message: Class org/apache/avalon/extension/manager/ExtensionManager violates
loader constraints
---- stack
trace ---------------------------------------------------------------
java.lang.LinkageError: Class
org/apache/avalon/extension/manager/ExtensionManager violates loader
constraints
org.apache.avalon.merlin.impl.DefaultFactory.createContainmentContext(Defaul
tFactory.java:620)
org.apache.avalon.merlin.impl.DefaultFactory.create(DefaultFactory.java:399)
org.apache.avalon.merlin.unit.AbstractMerlinTestCase.setUp(AbstractMerlinTes
tCase.java:198)
junit.framework.TestCase.runBare(TestCase.java:125)
junit.framework.TestResult$1.protect(TestResult.java:106)
junit.framework.TestResult.runProtected(TestResult.java:124)
junit.framework.TestResult.run(TestResult.java:109)
junit.framework.TestCase.run(TestCase.java:118)
junit.framework.TestSuite.runTest(TestSuite.java:208)
junit.framework.TestSuite.run(TestSuite.java:203)
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRu
nner.java:325)
org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.executeInVM(JUnitTask
.java:848)
org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitTask.jav
a:556)
org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitTask.jav
a:532)
org.apache.tools.ant.Task.perform(Task.java:341)
org.apache.commons.jelly.tags.ant.AntTag.doTag(AntTag.java:232)
org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233)
org.apache.commons.jelly.tags.core.IfTag.doTag(IfTag.java:88)
org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233)
com.werken.werkz.jelly.GoalTag$1.performAction(GoalTag.java:128)
com.werken.werkz.Goal.fire(Goal.java:639)
com.werken.werkz.Goal.attain(Goal.java:575)
com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
com.werken.werkz.Goal.attain(Goal.java:573)
com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
com.werken.werkz.Goal.attain(Goal.java:573)
org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:448)
org.apache.maven.MavenSession.attainGoals(MavenSession.java:360)
org.apache.maven.jelly.tags.maven.ReactorTag.doTag(ReactorTag.java:378)
org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233)
com.werken.werkz.jelly.GoalTag$1.performAction(GoalTag.java:128)
com.werken.werkz.Goal.fire(Goal.java:639)
com.werken.werkz.Goal.attain(Goal.java:575)
org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:448)
org.apache.maven.MavenSession.attainGoals(MavenSession.java:348)
org.apache.maven.cli.App.doMain(App.java:546)
org.apache.maven.cli.App.main(App.java:1113)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
java.lang.reflect.Method.invoke(Method.java:324)
com.werken.forehead.Forehead.run(Forehead.java:551)
com.werken.forehead.Forehead.main(Forehead.java:581)
----------------------------------------------------------------------------
----
[junit] Tests run: 2, Failures: 0, Errors: 1, Time elapsed: 6,118 sec
[junit] [ERROR] TEST
manplan.merlin.component.impl.persistence.DefaultDAOFactoryBuilderTest
FAILED
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]