openejb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Quintin Beukes <quin...@skywalk.co.za>
Subject Re: More fine grained undeploy (Fwd: Override Porvider property via system properties)
Date Sat, 07 Nov 2009 12:07:51 GMT
That does explain something I've been experiencing. I've been meaning to
investigate it, as I thought it was a bug :>

Quintin Beukes


On Wed, Nov 4, 2009 at 1:59 AM, David Blevins <david.blevins@visi.com>wrote:

> Just a side note if someone is looking for something to work on.
>
> When an application fails to deploy, we don't really know how much work
> we've done in the assembler.creatApplication phase, so as a result we try
> and undo everything.  That of course results in a lot of exceptions saying
> that we couldn't cleanly undeploy the application.  Notice how many items
> are in the undeploy exception before we finally get to the real exception
> which is this:
>
> ERROR - Application could not be deployed:  classpath.ear
> org.apache.openejb.OpenEJBException: Creating application failed:
> classpath.ear: java.lang.ClassNotFoundException:
> org.hibernate.ejb.HibernatePersistence:
> org.hibernate.ejb.HibernatePersistence
>   at
>
> org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:666)
>   at
>
> org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:449)
>   at
>
> org.apache.openejb.assembler.classic.Assembler.buildContainerSystem(Assembler.java:367)
>   at
> org.apache.openejb.assembler.classic.Assembler.build(Assembler.java:279)
>
>
> We could do something simple and put an object on the thread in the
> createApplication method that records the steps we've taken; maybe stuff it
> full of enum values -- or even better, just remember the last enum value as
> there is an order to them and we could assume all previous steps were done.
>  Then in destroyApplication we can check for it and use it to only know how
> far to go in our destroy logic.
>
> Added a JIRA for it:  https://issues.apache.org/jira/browse/OPENEJB-1101
>
>
> -David
>
>
> Begin forwarded message:
>
>  Resent-From: <dblevins@visi.com>
>> From: El Arbi Aboussoror <aboussoror@gmail.com>
>> Date: November 3, 2009 1:55:18 PM PST
>> To: users@openejb.apache.org
>> Subject: Re: Override Porvider property via system properties
>> Reply-To: users@openejb.apache.org
>>
>> I've 2 decriptors: persistence.xml and test.persistence.xml
>> In the first one the provider is set as follow:
>>   <persistence-unit name="educaPU">
>>       <provider>org.hibernate.ejb.HibernatePersistence</provider>
>> And in the 2nd one:
>>   <persistence-unit name="educaPU">
>>   <provider>org.eclipse.persistence.jpa.PersistenceProvider</provider>
>>
>> In the jndi.properties I put:
>> openejb.altdd.prefix=test
>> openejb.deployments.classpath.filter.descriptors=true
>> openejb.deployments.classpath.include=.*/Educa-serveur/build/classes/
>> openejb.deployments.classpath.exclude=.*
>> openejb.jndiname.format = {ejbName}/{interfaceType.annotationName}
>> openejb.descriptors.output = true
>> openejb.validation.output.level = verbose
>>
>>
>> And this is the result (It doesn't work):
>>
>> DEBUG - Using default 'openejb.nobanner=true'
>> Apache OpenEJB 3.1.2    build: 20091010-03:11
>> http://openejb.apache.org/
>> INFO - openejb.home = G:\data\eclipse\workspace_0\Educa-serveur-test
>> INFO - openejb.base = G:\data\eclipse\workspace_0\Educa-serveur-test
>> DEBUG - Using default
>> 'openejb.assembler=org.apache.openejb.assembler.classic.Assembler'
>> DEBUG - Instantiating assembler class
>> org.apache.openejb.assembler.classic.Assembler
>> DEBUG - Using default 'openejb.jndiname.failoncollision=true'
>> DEBUG - Using default
>> 'openejb.configurator=org.apache.openejb.config.ConfigurationFactory'
>> DEBUG - Using default 'openejb.validation.skip=false'
>> DEBUG - Using default 'openejb.deploymentId.format={ejbName}'
>> DEBUG - Using default 'openejb.debuggable-vm-hackery=false'
>> DEBUG - Using default 'openejb.webservices.enabled=true'
>> DEBUG - Using default 'openejb.vendor.config=ALL'  Possible values are:
>> geronimo, glassfish, jboss, weblogic or NONE or ALL
>> DEBUG - Using default
>> 'openejb.provider.default=org.apache.openejb.embedded'
>> INFO - Configuring Service(id=Default Security Service,
>> type=SecurityService, provider-id=Default Security Service)
>> INFO - Configuring Service(id=Default Transaction Manager,
>> type=TransactionManager, provider-id=Default Transaction Manager)
>> INFO - Configuring Service(id=educaDatabase, type=Resource,
>> provider-id=Default JDBC Database)
>> DEBUG - Override [Password=<hidden>]
>> DEBUG - Override [JdbcUrl=jdbc:oracle:thin:@localhost:1521:xe]
>> DEBUG - Override [UserName=system]
>> DEBUG - Override [JdbcDriver=oracle.jdbc.OracleDriver]
>> DEBUG - Using default 'openejb.deployments.classpath=true'
>> INFO - Using
>> 'openejb.deployments.classpath.include=.*/Educa-serveur/build/classes/'
>> INFO - Using 'openejb.deployments.classpath.exclude=.*'
>> DEBUG - Using default
>> 'openejb.deployments.classpath.require.descriptor=false'
>> INFO - Using 'openejb.deployments.classpath.filter.descriptors=true'
>> DEBUG - Using default
>> 'openejb.deployments.classpath.filter.systemapps=true'
>> DEBUG - Inspecting classpath for applications: 1 urls.
>> INFO - Found EjbModule in classpath:
>> G:\data\eclipse\workspace_0\Educa-serveur\build\classes
>> DEBUG - URLs after filtering: 10
>> DEBUG - Annotations path:
>> file:/G:/data/eclipse/workspace_0/Educa-serveur/build/classes/
>> DEBUG - Searched 1 classpath urls in 35 milliseconds.  Average 35
>> milliseconds per url.
>> DEBUG - Using default 'openejb.deployments.classpath.ear=true'
>> INFO - Beginning load:
>> G:\data\eclipse\workspace_0\Educa-serveur\build\classes
>> DEBUG - Using default 'openejb.tempclassloader.skip=none'  Possible values
>> are: none, annotations, enums or NONE or ALL
>> DEBUG - Using default 'openejb.tempclassloader.skip=none'  Possible values
>> are: none, annotations, enums or NONE or ALL
>> INFO - Configuring enterprise application: classpath.ear
>> DEBUG - No ejb-jar.xml found assuming annotated beans present:
>> classpath.ear, module: classes
>> DEBUG - Searching for inherited application exceptions (see OPENEJB-980) -
>> it doesn't care whether inherited is true/false
>> DEBUG - ...handling class ma.orca.educa.exception.ValidationException
>> DEBUG - ...adding class ma.orca.educa.exception.ValidationException with
>> rollback=true
>> INFO - Configuring Service(id=Default Stateless Container, type=Container,
>> provider-id=Default Stateless Container)
>> INFO - Auto-creating a container for bean AnnuaireSA:
>> Container(type=STATELESS, id=Default Stateless Container)
>> INFO - Configuring PersistenceUnit(name=educaPU,
>> provider=org.hibernate.ejb.HibernatePersistence)
>> DEBUG - raw <jta-data-source>java:/OracleDS</jta-datasource>
>> DEBUG - raw <non-jta-data-source>null</non-jta-datasource>
>> DEBUG - normalized <jta-data-source>java:/OracleDS</jta-datasource>
>> DEBUG - normalized <non-jta-data-source>null</non-jta-datasource>
>> DEBUG - Available DataSources
>> DEBUG - DataSource(name=educaDatabase, JtaManaged=true)
>> INFO - Auto-creating a Resource with id 'educaDatabaseNonJta' of type
>> 'DataSource for 'educaPU'.
>> INFO - Configuring Service(id=educaDatabaseNonJta, type=Resource,
>> provider-id=educaDatabase)
>> INFO - Adjusting PersistenceUnit educaPU <jta-data-source> to Resource ID
>> 'educaDatabase' from 'java:/OracleDS'
>> INFO - Adjusting PersistenceUnit educaPU <non-jta-data-source> to Resource
>> ID 'educaDatabaseNonJta' from 'null'
>> INFO - Using 'openejb.descriptors.output=true'
>> INFO - Using 'openejb.descriptors.output=true'
>> INFO - Dumping Generated ejb-jar.xml to:
>>
>> C:\Users\ELARBI~1\AppData\Local\Temp\ejb-jar-5983584300064536573classes.xml
>> INFO - Dumping Generated openejb-jar.xml to:
>>
>> C:\Users\ELARBI~1\AppData\Local\Temp\openejb-jar-3542212472572389109classes.xml
>> DEBUG - Adding persistence-unit educaPU property
>>
>> eclipselink.target-database=org.eclipse.persistence.platform.database.oracle.OraclePlatform
>> DEBUG - Adding persistence-unit educaPU property
>> non-jta-data-source=educaDatabase
>> DEBUG - Adding persistence-unit educaPU property
>> jta-data-source=educaDatabase
>> DEBUG - Adding persistence-unit educaPU property
>> eclipselink.ddl-generation=drop-and-create-tables
>> DEBUG - Adding persistence-unit educaPU property
>>
>> eclipselink.application-location=G:/data/eclipse/workspace_0/Educa-serveur-test/scriptDB
>> DEBUG - Adding persistence-unit educaPU property
>> eclipselink.ddl-generation.output-mode=both
>> DEBUG - Adjusting PersistenceUnit(name=educaPU) property to
>>
>> hibernate.transaction.manager_lookup_class=org.apache.openejb.hibernate.TransactionManagerLookup
>> INFO - Using 'openejb.validation.output.level=VERBOSE'
>> INFO - Enterprise application "classpath.ear" loaded.
>> INFO - Assembling app: classpath.ear
>> DEBUG - Using default 'openejb.tempclassloader.skip=none'  Possible values
>> are: none, annotations, enums or NONE or ALL
>> INFO - Undeploying app: classpath.ear
>> DEBUG - App failing deployment may not have undeployed cleanly:
>> classpath.ear
>> org.apache.openejb.UndeployException: Failed undeploying application:
>> id=classpath.ear
>>   at
>>
>> org.apache.openejb.assembler.classic.Assembler.destroyApplication(Assembler.java:802)
>>   at
>>
>> org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:662)
>>   at
>>
>> org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:449)
>>   at
>>
>> org.apache.openejb.assembler.classic.Assembler.buildContainerSystem(Assembler.java:367)
>>   at
>> org.apache.openejb.assembler.classic.Assembler.build(Assembler.java:279)
>>   at org.apache.openejb.OpenEJB$Instance.<init>(OpenEJB.java:137)
>>   at org.apache.openejb.OpenEJB.init(OpenEJB.java:286)
>>   at org.apache.openejb.OpenEJB.init(OpenEJB.java:265)
>>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>   at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>>   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>>   at java.lang.reflect.Method.invoke(Unknown Source)
>>   at
>> org.apache.openejb.loader.OpenEJBInstance.init(OpenEJBInstance.java:36)
>>   at
>>
>> org.apache.openejb.client.LocalInitialContextFactory.init(LocalInitialContextFactory.java:71)
>>   at
>>
>> org.apache.openejb.client.LocalInitialContextFactory.init(LocalInitialContextFactory.java:53)
>>   at
>>
>> org.apache.openejb.client.LocalInitialContextFactory.getInitialContext(LocalInitialContextFactory.java:42)
>>   at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
>>   at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
>>   at javax.naming.InitialContext.init(Unknown Source)
>>   at javax.naming.InitialContext.<init>(Unknown Source)
>>   at
>>
>> ma.orca.educa.service.crud.configuration.ConfigurationCRUDTest.setUp(ConfigurationCRUDTest.java:21)
>>   at junit.framework.TestCase.runBare(TestCase.java:128)
>>   at junit.framework.TestResult$1.protect(TestResult.java:106)
>>   at junit.framework.TestResult.runProtected(TestResult.java:124)
>>   at junit.framework.TestResult.run(TestResult.java:109)
>>   at junit.framework.TestCase.run(TestCase.java:120)
>>   at junit.framework.TestSuite.runTest(TestSuite.java:230)
>>   at junit.framework.TestSuite.run(TestSuite.java:225)
>>   at junit.framework.TestSuite.runTest(TestSuite.java:230)
>>   at junit.framework.TestSuite.run(TestSuite.java:225)
>>   at junit.framework.TestSuite.runTest(TestSuite.java:230)
>>   at junit.framework.TestSuite.run(TestSuite.java:225)
>>   at
>>
>> org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:130)
>>   at
>>
>> org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
>>   at
>>
>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
>>   at
>>
>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
>>   at
>>
>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
>>   at
>>
>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
>> Nested caused by:
>> java.lang.Exception: deployment not found: AnnuaireSA
>>   at
>>
>> org.apache.openejb.assembler.classic.Assembler.destroyApplication(Assembler.java:820)
>>   at
>>
>> org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:662)
>>   at
>>
>> org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:449)
>>   at
>>
>> org.apache.openejb.assembler.classic.Assembler.buildContainerSystem(Assembler.java:367)
>>   at
>> org.apache.openejb.assembler.classic.Assembler.build(Assembler.java:279)
>>   at org.apache.openejb.OpenEJB$Instance.<init>(OpenEJB.java:137)
>>   at org.apache.openejb.OpenEJB.init(OpenEJB.java:286)
>>   at org.apache.openejb.OpenEJB.init(OpenEJB.java:265)
>>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>   at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>>   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>>   at java.lang.reflect.Method.invoke(Unknown Source)
>>   at
>> org.apache.openejb.loader.OpenEJBInstance.init(OpenEJBInstance.java:36)
>>   at
>>
>> org.apache.openejb.client.LocalInitialContextFactory.init(LocalInitialContextFactory.java:71)
>>   at
>>
>> org.apache.openejb.client.LocalInitialContextFactory.init(LocalInitialContextFactory.java:53)
>>   at
>>
>> org.apache.openejb.client.LocalInitialContextFactory.getInitialContext(LocalInitialContextFactory.java:42)
>>   at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
>>   at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
>>   at javax.naming.InitialContext.init(Unknown Source)
>>   at javax.naming.InitialContext.<init>(Unknown Source)
>>   at
>>
>> ma.orca.educa.service.crud.configuration.ConfigurationCRUDTest.setUp(ConfigurationCRUDTest.java:21)
>>   at junit.framework.TestCase.runBare(TestCase.java:128)
>>   at junit.framework.TestResult$1.protect(TestResult.java:106)
>>   at junit.framework.TestResult.runProtected(TestResult.java:124)
>>   at junit.framework.TestResult.run(TestResult.java:109)
>>   at junit.framework.TestCase.run(TestCase.java:120)
>>   at junit.framework.TestSuite.runTest(TestSuite.java:230)
>>   at junit.framework.TestSuite.run(TestSuite.java:225)
>>   at junit.framework.TestSuite.runTest(TestSuite.java:230)
>>   at junit.framework.TestSuite.run(TestSuite.java:225)
>>   at junit.framework.TestSuite.runTest(TestSuite.java:230)
>>   at junit.framework.TestSuite.run(TestSuite.java:225)
>>   at
>>
>> org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:130)
>>   at
>>
>> org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
>>   at
>>
>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
>>   at
>>
>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
>>   at
>>
>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
>>   at
>>
>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
>> Nested caused by:
>> java.lang.Exception: deployment not found: InsriptionSA
>>   at
>>
>> org.apache.openejb.assembler.classic.Assembler.destroyApplication(Assembler.java:820)
>>   at
>>
>> org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:662)
>>   at
>>
>> org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:449)
>>   at
>>
>> org.apache.openejb.assembler.classic.Assembler.buildContainerSystem(Assembler.java:367)
>>   at
>> org.apache.openejb.assembler.classic.Assembler.build(Assembler.java:279)
>>   at org.apache.openejb.OpenEJB$Instance.<init>(OpenEJB.java:137)
>>   at org.apache.openejb.OpenEJB.init(OpenEJB.java:286)
>>   at org.apache.openejb.OpenEJB.init(OpenEJB.java:265)
>>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>   at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>>   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>>   at java.lang.reflect.Method.invoke(Unknown Source)
>>   at
>> org.apache.openejb.loader.OpenEJBInstance.init(OpenEJBInstance.java:36)
>>   at
>>
>> org.apache.openejb.client.LocalInitialContextFactory.init(LocalInitialContextFactory.java:71)
>>   at
>>
>> org.apache.openejb.client.LocalInitialContextFactory.init(LocalInitialContextFactory.java:53)
>>   at
>>
>> org.apache.openejb.client.LocalInitialContextFactory.getInitialContext(LocalInitialContextFactory.java:42)
>>   at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
>>   at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
>>   at javax.naming.InitialContext.init(Unknown Source)
>>   at javax.naming.InitialContext.<init>(Unknown Source)
>>   at
>>
>> ma.orca.educa.service.crud.configuration.ConfigurationCRUDTest.setUp(ConfigurationCRUDTest.java:21)
>>   at junit.framework.TestCase.runBare(TestCase.java:128)
>>   at junit.framework.TestResult$1.protect(TestResult.java:106)
>>   at junit.framework.TestResult.runProtected(TestResult.java:124)
>>   at junit.framework.TestResult.run(TestResult.java:109)
>>   at junit.framework.TestCase.run(TestCase.java:120)
>>   at junit.framework.TestSuite.runTest(TestSuite.java:230)
>>   at junit.framework.TestSuite.run(TestSuite.java:225)
>>   at junit.framework.TestSuite.runTest(TestSuite.java:230)
>>   at junit.framework.TestSuite.run(TestSuite.java:225)
>>   at junit.framework.TestSuite.runTest(TestSuite.java:230)
>>   at junit.framework.TestSuite.run(TestSuite.java:225)
>>   at
>>
>> org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:130)
>>   at
>>
>> org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
>>   at
>>
>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
>>   at
>>
>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
>>   at
>>
>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
>>   at
>>
>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
>> Nested caused by:
>> java.lang.Exception: deployment not found: ConfigurationCRUD
>>   at
>>
>> org.apache.openejb.assembler.classic.Assembler.destroyApplication(Assembler.java:820)
>>   at
>>
>> org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:662)
>>   at
>>
>> org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:449)
>>   at
>>
>> org.apache.openejb.assembler.classic.Assembler.buildContainerSystem(Assembler.java:367)
>>   at
>> org.apache.openejb.assembler.classic.Assembler.build(Assembler.java:279)
>>   at org.apache.openejb.OpenEJB$Instance.<init>(OpenEJB.java:137)
>>   at org.apache.openejb.OpenEJB.init(OpenEJB.java:286)
>>   at org.apache.openejb.OpenEJB.init(OpenEJB.java:265)
>>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>   at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>>   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>>   at java.lang.reflect.Method.invoke(Unknown Source)
>>   at
>> org.apache.openejb.loader.OpenEJBInstance.init(OpenEJBInstance.java:36)
>>   at
>>
>> org.apache.openejb.client.LocalInitialContextFactory.init(LocalInitialContextFactory.java:71)
>>   at
>>
>> org.apache.openejb.client.LocalInitialContextFactory.init(LocalInitialContextFactory.java:53)
>>   at
>>
>> org.apache.openejb.client.LocalInitialContextFactory.getInitialContext(LocalInitialContextFactory.java:42)
>>   at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
>>   at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
>>   at javax.naming.InitialContext.init(Unknown Source)
>>   at javax.naming.InitialContext.<init>(Unknown Source)
>>   at
>>
>> ma.orca.educa.service.crud.configuration.ConfigurationCRUDTest.setUp(ConfigurationCRUDTest.java:21)
>>   at junit.framework.TestCase.runBare(TestCase.java:128)
>>   at junit.framework.TestResult$1.protect(TestResult.java:106)
>>   at junit.framework.TestResult.runProtected(TestResult.java:124)
>>   at junit.framework.TestResult.run(TestResult.java:109)
>>   at junit.framework.TestCase.run(TestCase.java:120)
>>   at junit.framework.TestSuite.runTest(TestSuite.java:230)
>>   at junit.framework.TestSuite.run(TestSuite.java:225)
>>   at junit.framework.TestSuite.runTest(TestSuite.java:230)
>>   at junit.framework.TestSuite.run(TestSuite.java:225)
>>   at junit.framework.TestSuite.runTest(TestSuite.java:230)
>>   at junit.framework.TestSuite.run(TestSuite.java:225)
>>   at
>>
>> org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:130)
>>   at
>>
>> org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
>>   at
>>
>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
>>   at
>>
>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
>>   at
>>
>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
>>   at
>>
>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
>> Nested caused by:
>> java.lang.Exception: deployment not found: AnnuaireCRUD
>>   at
>>
>> org.apache.openejb.assembler.classic.Assembler.destroyApplication(Assembler.java:820)
>>   at
>>
>> org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:662)
>>   at
>>
>> org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:449)
>>   at
>>
>> org.apache.openejb.assembler.classic.Assembler.buildContainerSystem(Assembler.java:367)
>>   at
>> org.apache.openejb.assembler.classic.Assembler.build(Assembler.java:279)
>>   at org.apache.openejb.OpenEJB$Instance.<init>(OpenEJB.java:137)
>>   at org.apache.openejb.OpenEJB.init(OpenEJB.java:286)
>>   at org.apache.openejb.OpenEJB.init(OpenEJB.java:265)
>>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>   at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>>   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>>   at java.lang.reflect.Method.invoke(Unknown Source)
>>   at
>> org.apache.openejb.loader.OpenEJBInstance.init(OpenEJBInstance.java:36)
>>   at
>>
>> org.apache.openejb.client.LocalInitialContextFactory.init(LocalInitialContextFactory.java:71)
>>   at
>>
>> org.apache.openejb.client.LocalInitialContextFactory.init(LocalInitialContextFactory.java:53)
>>   at
>>
>> org.apache.openejb.client.LocalInitialContextFactory.getInitialContext(LocalInitialContextFactory.java:42)
>>   at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
>>   at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
>>   at javax.naming.InitialContext.init(Unknown Source)
>>   at javax.naming.InitialContext.<init>(Unknown Source)
>>   at
>>
>> ma.orca.educa.service.crud.configuration.ConfigurationCRUDTest.setUp(ConfigurationCRUDTest.java:21)
>>   at junit.framework.TestCase.runBare(TestCase.java:128)
>>   at junit.framework.TestResult$1.protect(TestResult.java:106)
>>   at junit.framework.TestResult.runProtected(TestResult.java:124)
>>   at junit.framework.TestResult.run(TestResult.java:109)
>>   at junit.framework.TestCase.run(TestCase.java:120)
>>   at junit.framework.TestSuite.runTest(TestSuite.java:230)
>>   at junit.framework.TestSuite.run(TestSuite.java:225)
>>   at junit.framework.TestSuite.runTest(TestSuite.java:230)
>>   at junit.framework.TestSuite.run(TestSuite.java:225)
>>   at junit.framework.TestSuite.runTest(TestSuite.java:230)
>>   at junit.framework.TestSuite.run(TestSuite.java:225)
>>   at
>>
>> org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:130)
>>   at
>>
>> org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
>>   at
>>
>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
>>   at
>>
>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
>>   at
>>
>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
>>   at
>>
>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
>> Nested caused by:
>> java.lang.Exception: deployment not found: RessourceCRUD
>>   at
>>
>> org.apache.openejb.assembler.classic.Assembler.destroyApplication(Assembler.java:820)
>>   at
>>
>> org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:662)
>>   at
>>
>> org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:449)
>>   at
>>
>> org.apache.openejb.assembler.classic.Assembler.buildContainerSystem(Assembler.java:367)
>>   at
>> org.apache.openejb.assembler.classic.Assembler.build(Assembler.java:279)
>>   at org.apache.openejb.OpenEJB$Instance.<init>(OpenEJB.java:137)
>>   at org.apache.openejb.OpenEJB.init(OpenEJB.java:286)
>>   at org.apache.openejb.OpenEJB.init(OpenEJB.java:265)
>>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>   at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>>   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>>   at java.lang.reflect.Method.invoke(Unknown Source)
>>   at
>> org.apache.openejb.loader.OpenEJBInstance.init(OpenEJBInstance.java:36)
>>   at
>>
>> org.apache.openejb.client.LocalInitialContextFactory.init(LocalInitialContextFactory.java:71)
>>   at
>>
>> org.apache.openejb.client.LocalInitialContextFactory.init(LocalInitialContextFactory.java:53)
>>   at
>>
>> org.apache.openejb.client.LocalInitialContextFactory.getInitialContext(LocalInitialContextFactory.java:42)
>>   at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
>>   at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
>>   at javax.naming.InitialContext.init(Unknown Source)
>>   at javax.naming.InitialContext.<init>(Unknown Source)
>>   at
>>
>> ma.orca.educa.service.crud.configuration.ConfigurationCRUDTest.setUp(ConfigurationCRUDTest.java:21)
>>   at junit.framework.TestCase.runBare(TestCase.java:128)
>>   at junit.framework.TestResult$1.protect(TestResult.java:106)
>>   at junit.framework.TestResult.runProtected(TestResult.java:124)
>>   at junit.framework.TestResult.run(TestResult.java:109)
>>   at junit.framework.TestCase.run(TestCase.java:120)
>>   at junit.framework.TestSuite.runTest(TestSuite.java:230)
>>   at junit.framework.TestSuite.run(TestSuite.java:225)
>>   at junit.framework.TestSuite.runTest(TestSuite.java:230)
>>   at junit.framework.TestSuite.run(TestSuite.java:225)
>>   at junit.framework.TestSuite.runTest(TestSuite.java:230)
>>   at junit.framework.TestSuite.run(TestSuite.java:225)
>>   at
>>
>> org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:130)
>>   at
>>
>> org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
>>   at
>>
>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
>>   at
>>
>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
>>   at
>>
>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
>>   at
>>
>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
>> Nested caused by:
>> java.lang.Exception: deployment not found: FiliereCRUD
>>   at
>>
>> org.apache.openejb.assembler.classic.Assembler.destroyApplication(Assembler.java:820)
>>   at
>>
>> org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:662)
>>   at
>>
>> org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:449)
>>   at
>>
>> org.apache.openejb.assembler.classic.Assembler.buildContainerSystem(Assembler.java:367)
>>   at
>> org.apache.openejb.assembler.classic.Assembler.build(Assembler.java:279)
>>   at org.apache.openejb.OpenEJB$Instance.<init>(OpenEJB.java:137)
>>   at org.apache.openejb.OpenEJB.init(OpenEJB.java:286)
>>   at org.apache.openejb.OpenEJB.init(OpenEJB.java:265)
>>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>   at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>>   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>>   at java.lang.reflect.Method.invoke(Unknown Source)
>>   at
>> org.apache.openejb.loader.OpenEJBInstance.init(OpenEJBInstance.java:36)
>>   at
>>
>> org.apache.openejb.client.LocalInitialContextFactory.init(LocalInitialContextFactory.java:71)
>>   at
>>
>> org.apache.openejb.client.LocalInitialContextFactory.init(LocalInitialContextFactory.java:53)
>>   at
>>
>> org.apache.openejb.client.LocalInitialContextFactory.getInitialContext(LocalInitialContextFactory.java:42)
>>   at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
>>   at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
>>   at javax.naming.InitialContext.init(Unknown Source)
>>   at javax.naming.InitialContext.<init>(Unknown Source)
>>   at
>>
>> ma.orca.educa.service.crud.configuration.ConfigurationCRUDTest.setUp(ConfigurationCRUDTest.java:21)
>>   at junit.framework.TestCase.runBare(TestCase.java:128)
>>   at junit.framework.TestResult$1.protect(TestResult.java:106)
>>   at junit.framework.TestResult.runProtected(TestResult.java:124)
>>   at junit.framework.TestResult.run(TestResult.java:109)
>>   at junit.framework.TestCase.run(TestCase.java:120)
>>   at junit.framework.TestSuite.runTest(TestSuite.java:230)
>>   at junit.framework.TestSuite.run(TestSuite.java:225)
>>   at junit.framework.TestSuite.runTest(TestSuite.java:230)
>>   at junit.framework.TestSuite.run(TestSuite.java:225)
>>   at junit.framework.TestSuite.runTest(TestSuite.java:230)
>>   at junit.framework.TestSuite.run(TestSuite.java:225)
>>   at
>>
>> org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:130)
>>   at
>>
>> org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
>>   at
>>
>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
>>   at
>>
>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
>>   at
>>
>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
>>   at
>>
>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
>> Nested caused by:
>> java.lang.Exception: deployment not found: GroupeCRUD
>>   at
>>
>> org.apache.openejb.assembler.classic.Assembler.destroyApplication(Assembler.java:820)
>>   at
>>
>> org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:662)
>>   at
>>
>> org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:449)
>>   at
>>
>> org.apache.openejb.assembler.classic.Assembler.buildContainerSystem(Assembler.java:367)
>>   at
>> org.apache.openejb.assembler.classic.Assembler.build(Assembler.java:279)
>>   at org.apache.openejb.OpenEJB$Instance.<init>(OpenEJB.java:137)
>>   at org.apache.openejb.OpenEJB.init(OpenEJB.java:286)
>>   at org.apache.openejb.OpenEJB.init(OpenEJB.java:265)
>>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>   at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>>   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>>   at java.lang.reflect.Method.invoke(Unknown Source)
>>   at
>> org.apache.openejb.loader.OpenEJBInstance.init(OpenEJBInstance.java:36)
>>   at
>>
>> org.apache.openejb.client.LocalInitialContextFactory.init(LocalInitialContextFactory.java:71)
>>   at
>>
>> org.apache.openejb.client.LocalInitialContextFactory.init(LocalInitialContextFactory.java:53)
>>   at
>>
>> org.apache.openejb.client.LocalInitialContextFactory.getInitialContext(LocalInitialContextFactory.java:42)
>>   at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
>>   at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
>>   at javax.naming.InitialContext.init(Unknown Source)
>>   at javax.naming.InitialContext.<init>(Unknown Source)
>>   at
>>
>> ma.orca.educa.service.crud.configuration.ConfigurationCRUDTest.setUp(ConfigurationCRUDTest.java:21)
>>   at junit.framework.TestCase.runBare(TestCase.java:128)
>>   at junit.framework.TestResult$1.protect(TestResult.java:106)
>>   at junit.framework.TestResult.runProtected(TestResult.java:124)
>>   at junit.framework.TestResult.run(TestResult.java:109)
>>   at junit.framework.TestCase.run(TestCase.java:120)
>>   at junit.framework.TestSuite.runTest(TestSuite.java:230)
>>   at junit.framework.TestSuite.run(TestSuite.java:225)
>>   at junit.framework.TestSuite.runTest(TestSuite.java:230)
>>   at junit.framework.TestSuite.run(TestSuite.java:225)
>>   at junit.framework.TestSuite.runTest(TestSuite.java:230)
>>   at junit.framework.TestSuite.run(TestSuite.java:225)
>>   at
>>
>> org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:130)
>>   at
>>
>> org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
>>   at
>>
>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
>>   at
>>
>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
>>   at
>>
>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
>>   at
>>
>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
>> Nested caused by:
>> java.lang.Exception: deployment not found: NiveauCRUD
>>   at
>>
>> org.apache.openejb.assembler.classic.Assembler.destroyApplication(Assembler.java:820)
>>   at
>>
>> org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:662)
>>   at
>>
>> org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:449)
>>   at
>>
>> org.apache.openejb.assembler.classic.Assembler.buildContainerSystem(Assembler.java:367)
>>   at
>> org.apache.openejb.assembler.classic.Assembler.build(Assembler.java:279)
>>   at org.apache.openejb.OpenEJB$Instance.<init>(OpenEJB.java:137)
>>   at org.apache.openejb.OpenEJB.init(OpenEJB.java:286)
>>   at org.apache.openejb.OpenEJB.init(OpenEJB.java:265)
>>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>   at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>>   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>>   at java.lang.reflect.Method.invoke(Unknown Source)
>>   at
>> org.apache.openejb.loader.OpenEJBInstance.init(OpenEJBInstance.java:36)
>>   at
>>
>> org.apache.openejb.client.LocalInitialContextFactory.init(LocalInitialContextFactory.java:71)
>>   at
>>
>> org.apache.openejb.client.LocalInitialContextFactory.init(LocalInitialContextFactory.java:53)
>>   at
>>
>> org.apache.openejb.client.LocalInitialContextFactory.getInitialContext(LocalInitialContextFactory.java:42)
>>   at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
>>   at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
>>   at javax.naming.InitialContext.init(Unknown Source)
>>   at javax.naming.InitialContext.<init>(Unknown Source)
>>   at
>>
>> ma.orca.educa.service.crud.configuration.ConfigurationCRUDTest.setUp(ConfigurationCRUDTest.java:21)
>>   at junit.framework.TestCase.runBare(TestCase.java:128)
>>   at junit.framework.TestResult$1.protect(TestResult.java:106)
>>   at junit.framework.TestResult.runProtected(TestResult.java:124)
>>   at junit.framework.TestResult.run(TestResult.java:109)
>>   at junit.framework.TestCase.run(TestCase.java:120)
>>   at junit.framework.TestSuite.runTest(TestSuite.java:230)
>>   at junit.framework.TestSuite.run(TestSuite.java:225)
>>   at junit.framework.TestSuite.runTest(TestSuite.java:230)
>>   at junit.framework.TestSuite.run(TestSuite.java:225)
>>   at junit.framework.TestSuite.runTest(TestSuite.java:230)
>>   at junit.framework.TestSuite.run(TestSuite.java:225)
>>   at
>>
>> org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:130)
>>   at
>>
>> org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
>>   at
>>
>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
>>   at
>>
>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
>>   at
>>
>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
>>   at
>>
>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
>> Nested caused by:
>> java.lang.Exception: deployment not found: PieceCRUD
>>   at
>>
>> org.apache.openejb.assembler.classic.Assembler.destroyApplication(Assembler.java:820)
>>   at
>>
>> org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:662)
>>   at
>>
>> org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:449)
>>   at
>>
>> org.apache.openejb.assembler.classic.Assembler.buildContainerSystem(Assembler.java:367)
>>   at
>> org.apache.openejb.assembler.classic.Assembler.build(Assembler.java:279)
>>   at org.apache.openejb.OpenEJB$Instance.<init>(OpenEJB.java:137)
>>   at org.apache.openejb.OpenEJB.init(OpenEJB.java:286)
>>   at org.apache.openejb.OpenEJB.init(OpenEJB.java:265)
>>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>   at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>>   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>>   at java.lang.reflect.Method.invoke(Unknown Source)
>>   at
>> org.apache.openejb.loader.OpenEJBInstance.init(OpenEJBInstance.java:36)
>>   at
>>
>> org.apache.openejb.client.LocalInitialContextFactory.init(LocalInitialContextFactory.java:71)
>>   at
>>
>> org.apache.openejb.client.LocalInitialContextFactory.init(LocalInitialContextFactory.java:53)
>>   at
>>
>> org.apache.openejb.client.LocalInitialContextFactory.getInitialContext(LocalInitialContextFactory.java:42)
>>   at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
>>   at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
>>   at javax.naming.InitialContext.init(Unknown Source)
>>   at javax.naming.InitialContext.<init>(Unknown Source)
>>   at
>>
>> ma.orca.educa.service.crud.configuration.ConfigurationCRUDTest.setUp(ConfigurationCRUDTest.java:21)
>>   at junit.framework.TestCase.runBare(TestCase.java:128)
>>   at junit.framework.TestResult$1.protect(TestResult.java:106)
>>   at junit.framework.TestResult.runProtected(TestResult.java:124)
>>   at junit.framework.TestResult.run(TestResult.java:109)
>>   at junit.framework.TestCase.run(TestCase.java:120)
>>   at junit.framework.TestSuite.runTest(TestSuite.java:230)
>>   at junit.framework.TestSuite.run(TestSuite.java:225)
>>   at junit.framework.TestSuite.runTest(TestSuite.java:230)
>>   at junit.framework.TestSuite.run(TestSuite.java:225)
>>   at junit.framework.TestSuite.runTest(TestSuite.java:230)
>>   at junit.framework.TestSuite.run(TestSuite.java:225)
>>   at
>>
>> org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:130)
>>   at
>>
>> org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
>>   at
>>
>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
>>   at
>>
>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
>>   at
>>
>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
>>   at
>>
>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
>> Nested caused by:
>> java.lang.Exception: deployment not found: PieceJustificativeCRUD
>>   at
>>
>> org.apache.openejb.assembler.classic.Assembler.destroyApplication(Assembler.java:820)
>>   at
>>
>> org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:662)
>>   at
>>
>> org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:449)
>>   at
>>
>> org.apache.openejb.assembler.classic.Assembler.buildContainerSystem(Assembler.java:367)
>>   at
>> org.apache.openejb.assembler.classic.Assembler.build(Assembler.java:279)
>>   at org.apache.openejb.OpenEJB$Instance.<init>(OpenEJB.java:137)
>>   at org.apache.openejb.OpenEJB.init(OpenEJB.java:286)
>>   at org.apache.openejb.OpenEJB.init(OpenEJB.java:265)
>>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>   at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>>   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>>   at java.lang.reflect.Method.invoke(Unknown Source)
>>   at
>> org.apache.openejb.loader.OpenEJBInstance.init(OpenEJBInstance.java:36)
>>   at
>>
>> org.apache.openejb.client.LocalInitialContextFactory.init(LocalInitialContextFactory.java:71)
>>   at
>>
>> org.apache.openejb.client.LocalInitialContextFactory.init(LocalInitialContextFactory.java:53)
>>   at
>>
>> org.apache.openejb.client.LocalInitialContextFactory.getInitialContext(LocalInitialContextFactory.java:42)
>>   at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
>>   at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
>>   at javax.naming.InitialContext.init(Unknown Source)
>>   at javax.naming.InitialContext.<init>(Unknown Source)
>>   at
>>
>> ma.orca.educa.service.crud.configuration.ConfigurationCRUDTest.setUp(ConfigurationCRUDTest.java:21)
>>   at junit.framework.TestCase.runBare(TestCase.java:128)
>>   at junit.framework.TestResult$1.protect(TestResult.java:106)
>>   at junit.framework.TestResult.runProtected(TestResult.java:124)
>>   at junit.framework.TestResult.run(TestResult.java:109)
>>   at junit.framework.TestCase.run(TestCase.java:120)
>>   at junit.framework.TestSuite.runTest(TestSuite.java:230)
>>   at junit.framework.TestSuite.run(TestSuite.java:225)
>>   at junit.framework.TestSuite.runTest(TestSuite.java:230)
>>   at junit.framework.TestSuite.run(TestSuite.java:225)
>>   at junit.framework.TestSuite.runTest(TestSuite.java:230)
>>   at junit.framework.TestSuite.run(TestSuite.java:225)
>>   at
>>
>> org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:130)
>>   at
>>
>> org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
>>   at
>>
>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
>>   at
>>
>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
>>   at
>>
>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
>>   at
>>
>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
>> Nested caused by:
>> java.lang.Exception: deployment not found: SpecialiteCRUD
>>   at
>>
>> org.apache.openejb.assembler.classic.Assembler.destroyApplication(Assembler.java:820)
>>   at
>>
>> org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:662)
>>   at
>>
>> org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:449)
>>   at
>>
>> org.apache.openejb.assembler.classic.Assembler.buildContainerSystem(Assembler.java:367)
>>   at
>> org.apache.openejb.assembler.classic.Assembler.build(Assembler.java:279)
>>   at org.apache.openejb.OpenEJB$Instance.<init>(OpenEJB.java:137)
>>   at org.apache.openejb.OpenEJB.init(OpenEJB.java:286)
>>   at org.apache.openejb.OpenEJB.init(OpenEJB.java:265)
>>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>   at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>>   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>>   at java.lang.reflect.Method.invoke(Unknown Source)
>>   at
>> org.apache.openejb.loader.OpenEJBInstance.init(OpenEJBInstance.java:36)
>>   at
>>
>> org.apache.openejb.client.LocalInitialContextFactory.init(LocalInitialContextFactory.java:71)
>>   at
>>
>> org.apache.openejb.client.LocalInitialContextFactory.init(LocalInitialContextFactory.java:53)
>>   at
>>
>> org.apache.openejb.client.LocalInitialContextFactory.getInitialContext(LocalInitialContextFactory.java:42)
>>   at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
>>   at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
>>   at javax.naming.InitialContext.init(Unknown Source)
>>   at javax.naming.InitialContext.<init>(Unknown Source)
>>   at
>>
>> ma.orca.educa.service.crud.configuration.ConfigurationCRUDTest.setUp(ConfigurationCRUDTest.java:21)
>>   at junit.framework.TestCase.runBare(TestCase.java:128)
>>   at junit.framework.TestResult$1.protect(TestResult.java:106)
>>   at junit.framework.TestResult.runProtected(TestResult.java:124)
>>   at junit.framework.TestResult.run(TestResult.java:109)
>>   at junit.framework.TestCase.run(TestCase.java:120)
>>   at junit.framework.TestSuite.runTest(TestSuite.java:230)
>>   at junit.framework.TestSuite.run(TestSuite.java:225)
>>   at junit.framework.TestSuite.runTest(TestSuite.java:230)
>>   at junit.framework.TestSuite.run(TestSuite.java:225)
>>   at junit.framework.TestSuite.runTest(TestSuite.java:230)
>>   at junit.framework.TestSuite.run(TestSuite.java:225)
>>   at
>>
>> org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:130)
>>   at
>>
>> org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
>>   at
>>
>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
>>   at
>>
>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
>>   at
>>
>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
>>   at
>>
>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
>> Nested caused by:
>> java.lang.Exception: deployment not found: DocumentAdministratifSF
>>   at
>>
>> org.apache.openejb.assembler.classic.Assembler.destroyApplication(Assembler.java:820)
>>   at
>>
>> org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:662)
>>   at
>>
>> org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:449)
>>   at
>>
>> org.apache.openejb.assembler.classic.Assembler.buildContainerSystem(Assembler.java:367)
>>   at
>> org.apache.openejb.assembler.classic.Assembler.build(Assembler.java:279)
>>   at org.apache.openejb.OpenEJB$Instance.<init>(OpenEJB.java:137)
>>   at org.apache.openejb.OpenEJB.init(OpenEJB.java:286)
>>   at org.apache.openejb.OpenEJB.init(OpenEJB.java:265)
>>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>   at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>>   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>>   at java.lang.reflect.Method.invoke(Unknown Source)
>>   at
>> org.apache.openejb.loader.OpenEJBInstance.init(OpenEJBInstance.java:36)
>>   at
>>
>> org.apache.openejb.client.LocalInitialContextFactory.init(LocalInitialContextFactory.java:71)
>>   at
>>
>> org.apache.openejb.client.LocalInitialContextFactory.init(LocalInitialContextFactory.java:53)
>>   at
>>
>> org.apache.openejb.client.LocalInitialContextFactory.getInitialContext(LocalInitialContextFactory.java:42)
>>   at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
>>   at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
>>   at javax.naming.InitialContext.init(Unknown Source)
>>   at javax.naming.InitialContext.<init>(Unknown Source)
>>   at
>>
>> ma.orca.educa.service.crud.configuration.ConfigurationCRUDTest.setUp(ConfigurationCRUDTest.java:21)
>>   at junit.framework.TestCase.runBare(TestCase.java:128)
>>   at junit.framework.TestResult$1.protect(TestResult.java:106)
>>   at junit.framework.TestResult.runProtected(TestResult.java:124)
>>   at junit.framework.TestResult.run(TestResult.java:109)
>>   at junit.framework.TestCase.run(TestCase.java:120)
>>   at junit.framework.TestSuite.runTest(TestSuite.java:230)
>>   at junit.framework.TestSuite.run(TestSuite.java:225)
>>   at junit.framework.TestSuite.runTest(TestSuite.java:230)
>>   at junit.framework.TestSuite.run(TestSuite.java:225)
>>   at junit.framework.TestSuite.runTest(TestSuite.java:230)
>>   at junit.framework.TestSuite.run(TestSuite.java:225)
>>   at
>>
>> org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:130)
>>   at
>>
>> org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
>>   at
>>
>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
>>   at
>>
>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
>>   at
>>
>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
>>   at
>>
>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
>> Nested caused by:
>> java.lang.Exception: deployment not found: InscriptionSF
>>   at
>>
>> org.apache.openejb.assembler.classic.Assembler.destroyApplication(Assembler.java:820)
>>   at
>>
>> org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:662)
>>   at
>>
>> org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:449)
>>   at
>>
>> org.apache.openejb.assembler.classic.Assembler.buildContainerSystem(Assembler.java:367)
>>   at
>> org.apache.openejb.assembler.classic.Assembler.build(Assembler.java:279)
>>   at org.apache.openejb.OpenEJB$Instance.<init>(OpenEJB.java:137)
>>   at org.apache.openejb.OpenEJB.init(OpenEJB.java:286)
>>   at org.apache.openejb.OpenEJB.init(OpenEJB.java:265)
>>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>   at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>>   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>>   at java.lang.reflect.Method.invoke(Unknown Source)
>>   at
>> org.apache.openejb.loader.OpenEJBInstance.init(OpenEJBInstance.java:36)
>>   at
>>
>> org.apache.openejb.client.LocalInitialContextFactory.init(LocalInitialContextFactory.java:71)
>>   at
>>
>> org.apache.openejb.client.LocalInitialContextFactory.init(LocalInitialContextFactory.java:53)
>>   at
>>
>> org.apache.openejb.client.LocalInitialContextFactory.getInitialContext(LocalInitialContextFactory.java:42)
>>   at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
>>   at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
>>   at javax.naming.InitialContext.init(Unknown Source)
>>   at javax.naming.InitialContext.<init>(Unknown Source)
>>   at
>>
>> ma.orca.educa.service.crud.configuration.ConfigurationCRUDTest.setUp(ConfigurationCRUDTest.java:21)
>>   at junit.framework.TestCase.runBare(TestCase.java:128)
>>   at junit.framework.TestResult$1.protect(TestResult.java:106)
>>   at junit.framework.TestResult.runProtected(TestResult.java:124)
>>   at junit.framework.TestResult.run(TestResult.java:109)
>>   at junit.framework.TestCase.run(TestCase.java:120)
>>   at junit.framework.TestSuite.runTest(TestSuite.java:230)
>>   at junit.framework.TestSuite.run(TestSuite.java:225)
>>   at junit.framework.TestSuite.runTest(TestSuite.java:230)
>>   at junit.framework.TestSuite.run(TestSuite.java:225)
>>   at junit.framework.TestSuite.runTest(TestSuite.java:230)
>>   at junit.framework.TestSuite.run(TestSuite.java:225)
>>   at
>>
>> org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:130)
>>   at
>>
>> org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
>>   at
>>
>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
>>   at
>>
>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
>>   at
>>
>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
>>   at
>>
>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
>> Nested caused by:
>> java.lang.Exception: persistence-unit: educaPU 495723823: Name
>> "openejb/PersistenceUnit/educaPU 495723823" not found.
>>   at
>>
>> org.apache.openejb.assembler.classic.Assembler.destroyApplication(Assembler.java:893)
>>   at
>>
>> org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:662)
>>   at
>>
>> org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:449)
>>   at
>>
>> org.apache.openejb.assembler.classic.Assembler.buildContainerSystem(Assembler.java:367)
>>   at
>> org.apache.openejb.assembler.classic.Assembler.build(Assembler.java:279)
>>   at org.apache.openejb.OpenEJB$Instance.<init>(OpenEJB.java:137)
>>   at org.apache.openejb.OpenEJB.init(OpenEJB.java:286)
>>   at org.apache.openejb.OpenEJB.init(OpenEJB.java:265)
>>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>   at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>>   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>>   at java.lang.reflect.Method.invoke(Unknown Source)
>>   at
>> org.apache.openejb.loader.OpenEJBInstance.init(OpenEJBInstance.java:36)
>>   at
>>
>> org.apache.openejb.client.LocalInitialContextFactory.init(LocalInitialContextFactory.java:71)
>>   at
>>
>> org.apache.openejb.client.LocalInitialContextFactory.init(LocalInitialContextFactory.java:53)
>>   at
>>
>> org.apache.openejb.client.LocalInitialContextFactory.getInitialContext(LocalInitialContextFactory.java:42)
>>   at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
>>   at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
>>   at javax.naming.InitialContext.init(Unknown Source)
>>   at javax.naming.InitialContext.<init>(Unknown Source)
>>   at
>>
>> ma.orca.educa.service.crud.configuration.ConfigurationCRUDTest.setUp(ConfigurationCRUDTest.java:21)
>>   at junit.framework.TestCase.runBare(TestCase.java:128)
>>   at junit.framework.TestResult$1.protect(TestResult.java:106)
>>   at junit.framework.TestResult.runProtected(TestResult.java:124)
>>   at junit.framework.TestResult.run(TestResult.java:109)
>>   at junit.framework.TestCase.run(TestCase.java:120)
>>   at junit.framework.TestSuite.runTest(TestSuite.java:230)
>>   at junit.framework.TestSuite.run(TestSuite.java:225)
>>   at junit.framework.TestSuite.runTest(TestSuite.java:230)
>>   at junit.framework.TestSuite.run(TestSuite.java:225)
>>   at junit.framework.TestSuite.runTest(TestSuite.java:230)
>>   at junit.framework.TestSuite.run(TestSuite.java:225)
>>   at
>>
>> org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:130)
>>   at
>>
>> org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
>>   at
>>
>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
>>   at
>>
>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
>>   at
>>
>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
>>   at
>>
>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
>> Caused by: javax.naming.NameNotFoundException: Name
>> "openejb/PersistenceUnit/educaPU 495723823" not found.
>>   at
>>
>> org.apache.openejb.core.ivm.naming.IvmContext.federate(IvmContext.java:193)
>>   at
>> org.apache.openejb.core.ivm.naming.IvmContext.lookup(IvmContext.java:150)
>>   at
>>
>> org.apache.openejb.assembler.classic.Assembler.destroyApplication(Assembler.java:886)
>>   ... 37 more
>> ERROR - Application could not be deployed:  classpath.ear
>> org.apache.openejb.OpenEJBException: Creating application failed:
>> classpath.ear: java.lang.ClassNotFoundException:
>> org.hibernate.ejb.HibernatePersistence:
>> org.hibernate.ejb.HibernatePersistence
>>   at
>>
>> org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:666)
>>   at
>>
>> org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:449)
>>   at
>>
>> org.apache.openejb.assembler.classic.Assembler.buildContainerSystem(Assembler.java:367)
>>   at
>> org.apache.openejb.assembler.classic.Assembler.build(Assembler.java:279)
>>   at org.apache.openejb.OpenEJB$Instance.<init>(OpenEJB.java:137)
>>   at org.apache.openejb.OpenEJB.init(OpenEJB.java:286)
>>   at org.apache.openejb.OpenEJB.init(OpenEJB.java:265)
>>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>   at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>>   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>>   at java.lang.reflect.Method.invoke(Unknown Source)
>>   at
>> org.apache.openejb.loader.OpenEJBInstance.init(OpenEJBInstance.java:36)
>>   at
>>
>> org.apache.openejb.client.LocalInitialContextFactory.init(LocalInitialContextFactory.java:71)
>>   at
>>
>> org.apache.openejb.client.LocalInitialContextFactory.init(LocalInitialContextFactory.java:53)
>>   at
>>
>> org.apache.openejb.client.LocalInitialContextFactory.getInitialContext(LocalInitialContextFactory.java:42)
>>   at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
>>   at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
>>   at javax.naming.InitialContext.init(Unknown Source)
>>   at javax.naming.InitialContext.<init>(Unknown Source)
>>   at
>>
>> ma.orca.educa.service.crud.configuration.ConfigurationCRUDTest.setUp(ConfigurationCRUDTest.java:21)
>>   at junit.framework.TestCase.runBare(TestCase.java:128)
>>   at junit.framework.TestResult$1.protect(TestResult.java:106)
>>   at junit.framework.TestResult.runProtected(TestResult.java:124)
>>   at junit.framework.TestResult.run(TestResult.java:109)
>>   at junit.framework.TestCase.run(TestCase.java:120)
>>   at junit.framework.TestSuite.runTest(TestSuite.java:230)
>>   at junit.framework.TestSuite.run(TestSuite.java:225)
>>   at junit.framework.TestSuite.runTest(TestSuite.java:230)
>>   at junit.framework.TestSuite.run(TestSuite.java:225)
>>   at junit.framework.TestSuite.runTest(TestSuite.java:230)
>>   at junit.framework.TestSuite.run(TestSuite.java:225)
>>   at
>>
>> org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:130)
>>   at
>>
>> org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
>>   at
>>
>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
>>   at
>>
>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
>>   at
>>
>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
>>   at
>>
>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
>> Caused by: org.apache.openejb.OpenEJBException:
>> java.lang.ClassNotFoundException: org.hibernate.ejb.HibernatePersistence:
>> org.hibernate.ejb.HibernatePersistence
>>   at
>>
>> org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:494)
>>   ... 36 more
>> Caused by: java.lang.ClassNotFoundException:
>> org.hibernate.ejb.HibernatePersistence
>>   at java.net.URLClassLoader$1.run(Unknown Source)
>>   at java.security.AccessController.doPrivileged(Native Method)
>>   at java.net.URLClassLoader.findClass(Unknown Source)
>>   at java.lang.ClassLoader.loadClass(Unknown Source)
>>   at java.lang.ClassLoader.loadClass(Unknown Source)
>>   at
>>
>> org.apache.openejb.assembler.classic.PersistenceBuilder.createEntityManagerFactory(PersistenceBuilder.java:178)
>>   at
>>
>> org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:489)
>>   ... 36 more
>> DEBUG - Containers        : 1
>> DEBUG - Type        Container ID
>> DEBUG -    STATELESS   Default Stateless Container
>> DEBUG - Deployments       : 0
>> DEBUG - SecurityService   :
>> org.apache.openejb.core.security.SecurityServiceImpl
>> DEBUG - TransactionManager:
>> org.apache.geronimo.transaction.manager.GeronimoTransactionManager
>> DEBUG - OpenEJB Container System ready.
>>
>>
>> 2009/11/3 David Blevins <david.blevins@visi.com>
>>
>>
>>> On Nov 3, 2009, at 10:08 AM, hypnosat7 wrote:
>>>
>>>
>>>  Is it working with the persistence.xml file ?
>>>> I mean if I have a 'test.persistence.xml' file in my test project, will
>>>> this
>>>> file 'override' the persistence.xml in my production project ?
>>>>
>>>>
>>> It *should* for the version you are using (3.1.2).  There was a bug in
>>> 3.1.1 that prevented it from working for persistence.xml files
>>> specifically.
>>>
>>> If it isn't working, post the debug log output and we'll take a look.
>>>
>>> -David
>>>
>>>
>>> David Blevins wrote:
>>>
>>>>
>>>>
>>>>> Don't know if you've gotten passed this yet, but this feature should
>>>>> help with this:
>>>>>
>>>>> http://openejb.apache.org/3.0/alternate-descriptors.html
>>>>>
>>>>> Seems your situation falls into the "catch all" we mention at the top
>>>>> of that page.  The override support is really aimed at just tweaking
>>>>> properties of your provider.  But in your case you want a completely
>>>>> different provider and a completely different set of properties, so
>>>>> the AltDD support is probably best.
>>>>>
>>>>> -David
>>>>>
>>>>> On Oct 23, 2009, at 10:02 AM, hypnosat7 wrote:
>>>>>
>>>>>
>>>>>  Yes I want to use a different provider for tests than I do for
>>>>>> production. In
>>>>>> fact I have this persistence.xml for producation:
>>>>>>
>>>>>> <?xml version="1.0" encoding="UTF-8"?>
>>>>>> <persistence version="1.0"
>>>>>>      xmlns="http://java.sun.com/xml/ns/persistence"
>>>>>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>>>>>>      xsi:schemaLocation="http://java.sun.com/xml/ns/persistence
>>>>>> http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd">
>>>>>>      <persistence-unit name="educaPU">
>>>>>>              <!--
>>>>>>
>>>>>> <provider>org.eclipse.persistence.jpa.PersistenceProvider</provider>
>>>>>>               -->
>>>>>>
>>>>>> <provider>org.hibernate.ejb.HibernatePersistence</provider>
>>>>>>              <jta-data-source>java:/OracleDS</jta-data-source>
>>>>>>              <properties>
>>>>>>                      <property name="hibernate.hbm2ddl.auto"
>>>>>> value="update" />
>>>>>>                      <property name="hibernate.dialect"
>>>>>> value="org.hibernate.dialect.Oracle10gDialect" />
>>>>>>
>>>>>>              </properties>
>>>>>>      </persistence-unit>
>>>>>> </persistence>
>>>>>>
>>>>>> And to override the Hibernate provider I launch my test from eclipse
>>>>>> with
>>>>>> "Run Configurations ..." and then I specify in the "Program
>>>>>> arguments" text
>>>>>> area :
>>>>>> "-
>>>>>> Djavax
>>>>>> .persistence.provider=org.eclipse.persistence.jpa.PersistenceProvider"
>>>>>>
>>>>>> And this is the error:
>>>>>> DEBUG - Using default 'openejb.nobanner=true'
>>>>>> Apache OpenEJB 3.1.2    build: 20091010-03:11
>>>>>> http://openejb.apache.org/
>>>>>> INFO - openejb.home = G:\data\eclipse\workspace_0\Educa-serveur-test
>>>>>> INFO - openejb.base = G:\data\eclipse\workspace_0\Educa-serveur-test
>>>>>> DEBUG - Using default
>>>>>> 'openejb.assembler=org.apache.openejb.assembler.classic.Assembler'
>>>>>> DEBUG - Instantiating assembler class
>>>>>> org.apache.openejb.assembler.classic.Assembler
>>>>>> DEBUG - Using default 'openejb.jndiname.failoncollision=true'
>>>>>> DEBUG - Using default
>>>>>> 'openejb.configurator=org.apache.openejb.config.ConfigurationFactory'
>>>>>> DEBUG - Using default 'openejb.validation.skip=false'
>>>>>> DEBUG - Using default 'openejb.deploymentId.format={ejbName}'
>>>>>> DEBUG - Using default 'openejb.debuggable-vm-hackery=false'
>>>>>> DEBUG - Using default 'openejb.webservices.enabled=true'
>>>>>> DEBUG - Using default 'openejb.vendor.config=ALL'  Possible values
>>>>>> are:
>>>>>> geronimo, glassfish, jboss, weblogic or NONE or ALL
>>>>>> DEBUG - Using default
>>>>>> 'openejb.provider.default=org.apache.openejb.embedded'
>>>>>> INFO - Configuring Service(id=Default Security Service,
>>>>>> type=SecurityService, provider-id=Default Security Service)
>>>>>> INFO - Configuring Service(id=Default Transaction Manager,
>>>>>> type=TransactionManager, provider-id=Default Transaction Manager)
>>>>>> INFO - Configuring Service(id=educaDatabase, type=Resource,
>>>>>> provider-id=Default JDBC Database)
>>>>>> DEBUG - Override
>>>>>> [JdbcUrl=jdbc:hsqldb:file:G:/database/hsql/hsqldb_1_8_0_10/hsqldb/
>>>>>> data/educadb]
>>>>>> DEBUG - Override [UserName=sa]
>>>>>> DEBUG - Override [JdbcDriver=org.hsqldb.jdbcDriver]
>>>>>> DEBUG - Using default 'openejb.deployments.classpath=true'
>>>>>> DEBUG - Using default 'openejb.deployments.classpath.include='
>>>>>> INFO - Using
>>>>>>
>>>>>>
>>>>>> 'openejb.deployments.classpath.exclude="file:///G:/repository/jboss/as/jboss-5.1.0.GA-jdk6/
>>>>>> jboss-5.1.0.GA/.*
>>>>>> "'
>>>>>> DEBUG - Using default
>>>>>> 'openejb.deployments.classpath.require.descriptor=false'
>>>>>> DEBUG - Using default
>>>>>> 'openejb.deployments.classpath.filter.descriptors=false'
>>>>>> DEBUG - Using default
>>>>>> 'openejb.deployments.classpath.filter.systemapps=true'
>>>>>> WARN - Inspecting classpath for applications: 78 urls.
>>>>>> WARN - ADJUST THE EXCLUDE/INCLUDE!!!.  Current settings:
>>>>>>
>>>>>>
>>>>>> openejb.deployments.classpath.exclude='"file:///G:/repository/jboss/as/jboss-5.1.0.GA-jdk6/
>>>>>> jboss-5.1.0.GA/.*
>>>>>> "',
>>>>>> openejb.deployments.classpath.include=''
>>>>>> INFO - Found EjbModule in classpath:
>>>>>> G:\data\eclipse\workspace_0\Educa-serveur-test\bin
>>>>>> INFO - Found EjbModule in classpath:
>>>>>> G:\data\eclipse\workspace_0\Educa-serveur\build\classes
>>>>>> INFO - Found ClientModule in classpath:
>>>>>> G:\repository\jboss\as\jboss-5.1.0.GA-jdk6\jboss-5.1.0.GA\client
>>>>>> \javassist.jar
>>>>>> INFO - Found ClientModule in classpath:
>>>>>> G:\repository\apache\openejb\openejb-3.1.2\openejb-3.1.2\lib\xml-
>>>>>> resolver-1.2.jar
>>>>>> INFO - Found ClientModule in classpath:
>>>>>> G:\repository\jboss\as\jboss-5.1.0.GA-jdk6\jboss-5.1.0.GA\client
>>>>>> \jboss-serialization.jar
>>>>>> INFO - Found ClientModule in classpath:
>>>>>> G:\repository\jboss\as\jboss-5.1.0.GA-jdk6\jboss-5.1.0.GA\client
>>>>>> \jboss-remoting.jar
>>>>>> INFO - Found ClientModule in classpath:
>>>>>> G:\repository\apache\openejb\openejb-3.1.2\openejb-3.1.2\lib
>>>>>> \serializer-2.7.1.jar
>>>>>> DEBUG - URLs after filtering: 780
>>>>>> DEBUG - Annotations path:
>>>>>> jar:file:/G:/repository/jboss/as/jboss-5.1.0.GA-jdk6/jboss-5.1.0.GA/
>>>>>> client/jboss-client.jar!/
>>>>>> DEBUG - Annotations path:
>>>>>> jar:file:/G:/repository/jboss/as/jboss-5.1.0.GA-jdk6/jboss-5.1.0.GA/
>>>>>> client/jboss-common-core.jar!/
>>>>>> DEBUG - Annotations path:
>>>>>> jar:file:/G:/repository/jboss/as/jboss-5.1.0.GA-jdk6/jboss-5.1.0.GA/
>>>>>> client/jbosssx-as-client.jar!/
>>>>>> DEBUG - Annotations path:
>>>>>> jar:file:/G:/repository/jboss/as/jboss-5.1.0.GA-jdk6/jboss-5.1.0.GA/
>>>>>> client/jboss-srp-client.jar!/
>>>>>> DEBUG - Annotations path:
>>>>>> jar:file:/G:/repository/jboss/as/jboss-5.1.0.GA-jdk6/jboss-5.1.0.GA/
>>>>>> client/jboss-integration.jar!/
>>>>>> DEBUG - Annotations path:
>>>>>> jar:file:/G:/repository/jboss/as/jboss-5.1.0.GA-jdk6/jboss-5.1.0.GA/
>>>>>> client/jboss-mdr.jar!/
>>>>>> DEBUG - Annotations path:
>>>>>> file:/G:/data/eclipse/workspace_0/Educa-serveur-test/bin/
>>>>>> DEBUG - Annotations path:
>>>>>> jar:file:/G:/repository/apache/openejb/openejb-3.1.2/openejb-3.1.2/
>>>>>> lib/quartz-1.5.2.jar!/
>>>>>> DEBUG - Annotations path:
>>>>>> jar:file:/G:/data/eclipse/eclipse-jee-galileo-win32/eclipse/plugins/
>>>>>> javax.persistence_1.99.0.v200906021518.jar!/
>>>>>> DEBUG - Annotations path:
>>>>>> jar:file:/G:/repository/jboss/as/jboss-5.1.0.GA-jdk6/jboss-5.1.0.GA/
>>>>>> client/jboss-deployers-client.jar!/
>>>>>> DEBUG - Annotations path:
>>>>>> file:/G:/data/eclipse/workspace_0/Educa-serveur/build/classes/
>>>>>> DEBUG - Annotations path:
>>>>>> jar:file:/G:/data/eclipse/eclipse-jee-galileo-win32/eclipse/plugins/
>>>>>> org.eclipse.persistence.asm_1.1.2.v20090612-r4475.jar!/
>>>>>> DEBUG - Annotations path:
>>>>>> jar:file:/G:/repository/jboss/as/jboss-5.1.0.GA-jdk6/jboss-5.1.0.GA/
>>>>>> client/jboss-security-spi.jar!/
>>>>>> DEBUG - Annotations path:
>>>>>> jar:file:/G:/repository/jboss/as/jboss-5.1.0.GA-jdk6/jboss-5.1.0.GA/
>>>>>> client/slf4j-api.jar!/
>>>>>> DEBUG - Annotations path:
>>>>>> jar:file:/G:/repository/jboss/as/jboss-5.1.0.GA-jdk6/jboss-5.1.0.GA/
>>>>>> client/jboss-aspect-jdk50-client.jar!/
>>>>>> DEBUG - Annotations path:
>>>>>> jar:file:/G:/repository/jboss/as/jboss-5.1.0.GA-jdk6/jboss-5.1.0.GA/
>>>>>> client/jboss-ejb3-proxy-impl-client.jar!/
>>>>>> DEBUG - Annotations path:
>>>>>> jar:file:/G:/repository/apache/openejb/openejb-3.1.2/openejb-3.1.2/
>>>>>> lib/xbean-finder-shaded-3.6.jar!/
>>>>>> DEBUG - Annotations path:
>>>>>> jar:file:/G:/repository/jboss/as/jboss-5.1.0.GA-jdk6/jboss-5.1.0.GA/
>>>>>> client/jboss-deployers-core-spi.jar!/
>>>>>> DEBUG - Annotations path:
>>>>>> jar:file:/G:/repository/jboss/as/jboss-5.1.0.GA-jdk6/jboss-5.1.0.GA/
>>>>>> client/jboss-system-client.jar!/
>>>>>> DEBUG - Annotations path:
>>>>>> jar:file:/G:/repository/jboss/as/jboss-5.1.0.GA-jdk6/jboss-5.1.0.GA/
>>>>>> client/jboss-ha-client.jar!/
>>>>>> DEBUG - Annotations path:
>>>>>> jar:file:/G:/repository/jboss/as/jboss-5.1.0.GA-jdk6/jboss-5.1.0.GA/
>>>>>> client/jboss-ejb3-security-client.jar!/
>>>>>> DEBUG - Annotations path:
>>>>>> jar:file:/G:/repository/apache/openejb/openejb-3.1.2/openejb-3.1.2/
>>>>>> lib/neethi-2.0.4.jar!/
>>>>>> DEBUG - Annotations path:
>>>>>> jar:file:/G:/repository/jboss/as/jboss-5.1.0.GA-jdk6/jboss-5.1.0.GA/
>>>>>> client/commons-logging.jar!/
>>>>>> DEBUG - Annotations path:
>>>>>> jar:file:/G:/repository/jboss/as/jboss-5.1.0.GA-jdk6/jboss-5.1.0.GA/
>>>>>> client/jboss-logging-spi.jar!/
>>>>>> DEBUG - Annotations path:
>>>>>> jar:file:/G:/repository/jboss/as/jboss-5.1.0.GA-jdk6/jboss-5.1.0.GA/
>>>>>> client/javassist.jar!/
>>>>>> DEBUG - Annotations path:
>>>>>> jar:file:/G:/repository/jboss/as/jboss-5.1.0.GA-jdk6/jboss-5.1.0.GA/
>>>>>> client/jbosssx-client.jar!/
>>>>>> DEBUG - Annotations path:
>>>>>> jar:file:/G:/repository/jboss/as/jboss-5.1.0.GA-jdk6/jboss-5.1.0.GA/
>>>>>> client/hibernate-annotations.jar!/
>>>>>> DEBUG - Annotations path:
>>>>>> jar:file:/G:/repository/jboss/as/jboss-5.1.0.GA-jdk6/jboss-5.1.0.GA/
>>>>>> client/jmx-client.jar!/
>>>>>> DEBUG - Annotations path:
>>>>>> jar:file:/G:/repository/jboss/as/jboss-5.1.0.GA-jdk6/jboss-5.1.0.GA/
>>>>>> client/jbossall-client.jar!/
>>>>>> DEBUG - Annotations path:
>>>>>> jar:file:/G:/repository/jboss/as/jboss-5.1.0.GA-jdk6/jboss-5.1.0.GA/
>>>>>> client/jboss-logging-jdk.jar!/
>>>>>> DEBUG - Annotations path:
>>>>>> file:/G:/data/eclipse/eclipse-jee-galileo-win32/eclipse/
>>>>>> configuration/org.eclipse.osgi/bundles/329/1/.cp/
>>>>>> DEBUG - Annotations path:
>>>>>> jar:file:/G:/repository/jboss/as/jboss-5.1.0.GA-jdk6/jboss-5.1.0.GA/
>>>>>> client/jboss-j2se.jar!/
>>>>>> DEBUG - Annotations path:
>>>>>> jar:file:/G:/repository/jboss/as/jboss-5.1.0.GA-jdk6/jboss-5.1.0.GA/
>>>>>> client/jboss-logging-log4j.jar!/
>>>>>> DEBUG - Annotations path:
>>>>>> jar:file:/G:/repository/jboss/as/jboss-5.1.0.GA-jdk6/jboss-5.1.0.GA/
>>>>>> client/jboss-ejb3-proxy-clustered-client.jar!/
>>>>>> DEBUG - Annotations path:
>>>>>> jar:file:/G:/repository/jboss/as/jboss-5.1.0.GA-jdk6/jboss-5.1.0.GA/
>>>>>> client/jboss-deployment.jar!/
>>>>>> DEBUG - Annotations path:
>>>>>> jar:file:/G:/repository/jboss/as/jboss-5.1.0.GA-jdk6/jboss-5.1.0.GA/
>>>>>> client/log4j.jar!/
>>>>>> DEBUG - Annotations path:
>>>>>> jar:file:/G:/repository/jboss/as/jboss-5.1.0.GA-jdk6/jboss-5.1.0.GA/
>>>>>> client/jboss-iiop-client.jar!/
>>>>>> DEBUG - Annotations path:
>>>>>> jar:file:/G:/repository/apache/openejb/openejb-3.1.2/openejb-3.1.2/
>>>>>> lib/slf4j-api-1.3.1.jar!/
>>>>>> DEBUG - Annotations path:
>>>>>> jar:file:/G:/repository/jboss/as/jboss-5.1.0.GA-jdk6/jboss-5.1.0.GA/
>>>>>> client/jboss-ejb3-ext-api.jar!/
>>>>>> DEBUG - Annotations path:
>>>>>> jar:file:/G:/data/eclipse/eclipse-jee-galileo-win32/eclipse/plugins/
>>>>>> org.eclipse.persistence.jpa_1.1.2.v20090612-r4475.jar!/
>>>>>> DEBUG - Annotations path:
>>>>>> jar:file:/G:/data/eclipse/eclipse-jee-galileo-win32/eclipse/plugins/
>>>>>> org.eclipse.persistence.antlr_1.1.2.v20090612-r4475.jar!/
>>>>>> DEBUG - Annotations path:
>>>>>> jar:file:/G:/repository/jboss/as/jboss-5.1.0.GA-jdk6/jboss-5.1.0.GA/
>>>>>> client/ejb3-persistence.jar!/
>>>>>> DEBUG - Annotations path:
>>>>>> jar:file:/G:/repository/jboss/as/jboss-5.1.0.GA-jdk6/jboss-5.1.0.GA/
>>>>>> client/jboss-ejb3-core-client.jar!/
>>>>>> DEBUG - Annotations path:
>>>>>> jar:file:/G:/repository/jboss/as/jboss-5.1.0.GA-jdk6/jboss-5.1.0.GA/
>>>>>> client/jboss-appclient.jar!/
>>>>>> DEBUG - Annotations path:
>>>>>> jar:file:/G:/repository/apache/openejb/openejb-3.1.2/openejb-3.1.2/
>>>>>> lib/xml-resolver-1.2.jar!/
>>>>>> DEBUG - Annotations path:
>>>>>> jar:file:/G:/repository/jboss/as/jboss-5.1.0.GA-jdk6/jboss-5.1.0.GA/
>>>>>> client/jboss-messaging-client.jar!/
>>>>>> DEBUG - Annotations path:
>>>>>> jar:file:/G:/repository/jboss/as/jboss-5.1.0.GA-jdk6/jboss-5.1.0.GA/
>>>>>> client/jboss-serialization.jar!/
>>>>>> DEBUG - Annotations path:
>>>>>> jar:file:/G:/repository/jboss/as/jboss-5.1.0.GA-jdk6/jboss-5.1.0.GA/
>>>>>> client/slf4j-jboss-logging.jar!/
>>>>>> DEBUG - Annotations path:
>>>>>> jar:file:/G:/repository/jboss/as/jboss-5.1.0.GA-jdk6/jboss-5.1.0.GA/
>>>>>> client/jbossjts-integration.jar!/
>>>>>> DEBUG - Annotations path:
>>>>>> jar:file:/G:/repository/jboss/as/jboss-5.1.0.GA-jdk6/jboss-5.1.0.GA/
>>>>>> client/jboss-javaee.jar!/
>>>>>> DEBUG - Annotations path:
>>>>>> jar:file:/G:/repository/jboss/as/jboss-5.1.0.GA-jdk6/jboss-5.1.0.GA/
>>>>>> client/jnp-client.jar!/
>>>>>> DEBUG - Annotations path:
>>>>>> jar:file:/G:/repository/jboss/as/jboss-5.1.0.GA-jdk6/jboss-5.1.0.GA/
>>>>>> client/jbossjts.jar!/
>>>>>> DEBUG - Annotations path:
>>>>>> jar:file:/G:/repository/apache/openejb/openejb-3.1.2/openejb-3.1.2/
>>>>>> lib/commons-dbcp-all-1.3-r699049.jar!/
>>>>>> DEBUG - Annotations path:
>>>>>> jar:file:/G:/repository/jboss/as/jboss-5.1.0.GA-jdk6/jboss-5.1.0.GA/
>>>>>> client/trove.jar!/
>>>>>> DEBUG - Annotations path:
>>>>>> jar:file:/G:/repository/jboss/as/jboss-5.1.0.GA-jdk6/jboss-5.1.0.GA/
>>>>>> client/jboss-ejb3-proxy-spi-client.jar!/
>>>>>> DEBUG - Annotations path:
>>>>>> jar:file:/G:/repository/apache/openejb/openejb-3.1.2/openejb-3.1.2/
>>>>>> lib/XmlSchema-1.4.2.jar!/
>>>>>> DEBUG - Annotations path:
>>>>>> jar:file:/G:/repository/jboss/as/jboss-5.1.0.GA-jdk6/jboss-5.1.0.GA/
>>>>>> client/jboss-deployers-client-spi.jar!/
>>>>>> DEBUG - Annotations path:
>>>>>> jar:file:/G:/repository/apache/openejb/openejb-3.1.2/openejb-3.1.2/
>>>>>> lib/wss4j-1.5.4.jar!/
>>>>>> DEBUG - Annotations path:
>>>>>> jar:file:/G:/repository/jboss/as/jboss-5.1.0.GA-jdk6/jboss-5.1.0.GA/
>>>>>> client/jmx-invoker-adaptor-client.jar!/
>>>>>> DEBUG - Annotations path:
>>>>>> jar:file:/G:/repository/jboss/as/jboss-5.1.0.GA-jdk6/jboss-5.1.0.GA/
>>>>>> client/jboss-ejb3-common-client.jar!/
>>>>>> DEBUG - Annotations path:
>>>>>> jar:file:/G:/repository/apache/openejb/openejb-3.1.2/openejb-3.1.2/
>>>>>> lib/slf4j-jdk14-1.3.1.jar!/
>>>>>> DEBUG - Annotations path:
>>>>>> jar:file:/G:/repository/jboss/as/jboss-5.1.0.GA-jdk6/jboss-5.1.0.GA/
>>>>>> client/jboss-ha-legacy-client.jar!/
>>>>>> DEBUG - Annotations path:
>>>>>> jar:file:/G:/data/eclipse/eclipse-jee-galileo-win32/eclipse/plugins/
>>>>>> org.junit_3.8.2.v20090203-1005/junit.jar!/
>>>>>> DEBUG - Annotations path:
>>>>>> jar:file:/G:/data/eclipse/eclipse-jee-galileo-win32/eclipse/plugins/
>>>>>> org.eclipse.persistence.core_1.1.2.v20090612-r4475.jar!/
>>>>>> DEBUG - Annotations path:
>>>>>> jar:file:/G:/repository/apache/openejb/openejb-3.1.2/openejb-3.1.2/
>>>>>> lib/saaj-impl-1.3.jar!/
>>>>>> DEBUG - Annotations path:
>>>>>> jar:file:/G:/repository/apache/openejb/openejb-3.1.2/openejb-3.1.2/
>>>>>> lib/opensaml-1.1.jar!/
>>>>>> DEBUG - Annotations path:
>>>>>> file:/G:/data/eclipse/eclipse-jee-galileo-win32/eclipse/
>>>>>> configuration/org.eclipse.osgi/bundles/328/1/.cp/
>>>>>> DEBUG - Annotations path:
>>>>>> jar:file:/G:/repository/apache/openejb/openejb-3.1.2/openejb-3.1.2/
>>>>>> lib/bcprov-jdk15-140.jar!/
>>>>>> DEBUG - Annotations path:
>>>>>> jar:file:/G:/repository/apache/openejb/openejb-3.1.2/openejb-3.1.2/
>>>>>> lib/xmlsec-1.4.0.jar!/
>>>>>> DEBUG - Annotations path:
>>>>>> jar:file:/G:/repository/jboss/as/jboss-5.1.0.GA-jdk6/jboss-5.1.0.GA/
>>>>>> client/jboss-system-jmx-client.jar!/
>>>>>> DEBUG - Annotations path:
>>>>>> jar:file:/G:/repository/jboss/as/jboss-5.1.0.GA-jdk6/jboss-5.1.0.GA/
>>>>>> client/jboss-remoting.jar!/
>>>>>> DEBUG - Annotations path:
>>>>>> jar:file:/G:/repository/jboss/as/jboss-5.1.0.GA-jdk6/jboss-5.1.0.GA/
>>>>>> client/jboss-jsr77-client.jar!/
>>>>>> DEBUG - Annotations path:
>>>>>> jar:file:/G:/repository/apache/openejb/openejb-3.1.2/openejb-3.1.2/
>>>>>> lib/xbean-asm-shaded-3.6.jar!/
>>>>>> DEBUG - Annotations path:
>>>>>> jar:file:/G:/repository/jboss/as/jboss-5.1.0.GA-jdk6/jboss-5.1.0.GA/
>>>>>> client/jboss-aop-client.jar!/
>>>>>> DEBUG - Annotations path:
>>>>>> jar:file:/G:/repository/apache/openejb/openejb-3.1.2/openejb-3.1.2/
>>>>>> lib/serializer-2.7.1.jar!/
>>>>>> DEBUG - Annotations path:
>>>>>> jar:file:/G:/repository/jboss/as/jboss-5.1.0.GA-jdk6/jboss-5.1.0.GA/
>>>>>> client/jboss-deployers-core.jar!/
>>>>>> DEBUG - Annotations path:
>>>>>> jar:file:/G:/repository/jboss/as/jboss-5.1.0.GA-jdk6/jboss-5.1.0.GA/
>>>>>> client/xmlsec.jar!/
>>>>>> DEBUG - Annotations path:
>>>>>> jar:file:/G:/repository/jboss/as/jboss-5.1.0.GA-jdk6/jboss-5.1.0.GA/
>>>>>> client/jbosscx-client.jar!/
>>>>>> WARN - Searched 78 classpath urls in 7013 milliseconds.  Average 89
>>>>>> milliseconds per url.
>>>>>> WARN - Consider adjusting your openejb.deployments.classpath.exclude
>>>>>> and
>>>>>> openejb.deployments.classpath.include settings.  Current settings:
>>>>>> exclude='"file:///G:/repository/jboss/as/jboss-5.1.0.GA-jdk6/
>>>>>> jboss-5.1.0.GA/.*
>>>>>> "',
>>>>>> include=''
>>>>>> DEBUG - Using default 'openejb.deployments.classpath.ear=true'
>>>>>> INFO - Beginning load: G:\data\eclipse\workspace_0\Educa-serveur-test
>>>>>> \bin
>>>>>> DEBUG - Using default 'openejb.tempclassloader.skip=none'  Possible
>>>>>> values
>>>>>> are: none, annotations, enums or NONE or ALL
>>>>>> DEBUG - Using default 'openejb.tempclassloader.skip=none'  Possible
>>>>>> values
>>>>>> are: none, annotations, enums or NONE or ALL
>>>>>> INFO - Beginning load:
>>>>>> G:\data\eclipse\workspace_0\Educa-serveur\build\classes
>>>>>> DEBUG - Using default 'openejb.tempclassloader.skip=none'  Possible
>>>>>> values
>>>>>> are: none, annotations, enums or NONE or ALL
>>>>>> DEBUG - Using default 'openejb.tempclassloader.skip=none'  Possible
>>>>>> values
>>>>>> are: none, annotations, enums or NONE or ALL
>>>>>> INFO - Beginning load:
>>>>>> G:\repository\jboss\as\jboss-5.1.0.GA-jdk6\jboss-5.1.0.GA\client
>>>>>> \javassist.jar
>>>>>> DEBUG - Using default 'openejb.tempclassloader.skip=none'  Possible
>>>>>> values
>>>>>> are: none, annotations, enums or NONE or ALL
>>>>>> INFO - Beginning load:
>>>>>> G:\repository\apache\openejb\openejb-3.1.2\openejb-3.1.2\lib\xml-
>>>>>> resolver-1.2.jar
>>>>>> DEBUG - Using default 'openejb.tempclassloader.skip=none'  Possible
>>>>>> values
>>>>>> are: none, annotations, enums or NONE or ALL
>>>>>> INFO - Beginning load:
>>>>>> G:\repository\jboss\as\jboss-5.1.0.GA-jdk6\jboss-5.1.0.GA\client
>>>>>> \jboss-serialization.jar
>>>>>> DEBUG - Using default 'openejb.tempclassloader.skip=none'  Possible
>>>>>> values
>>>>>> are: none, annotations, enums or NONE or ALL
>>>>>> INFO - Beginning load:
>>>>>> G:\repository\jboss\as\jboss-5.1.0.GA-jdk6\jboss-5.1.0.GA\client
>>>>>> \jboss-remoting.jar
>>>>>> DEBUG - Using default 'openejb.tempclassloader.skip=none'  Possible
>>>>>> values
>>>>>> are: none, annotations, enums or NONE or ALL
>>>>>> INFO - Beginning load:
>>>>>> G:\repository\apache\openejb\openejb-3.1.2\openejb-3.1.2\lib
>>>>>> \serializer-2.7.1.jar
>>>>>> DEBUG - Using default 'openejb.tempclassloader.skip=none'  Possible
>>>>>> values
>>>>>> are: none, annotations, enums or NONE or ALL
>>>>>> INFO - Configuring enterprise application: classpath.ear
>>>>>> DEBUG - No ejb-jar.xml found assuming annotated beans present:
>>>>>> classpath.ear, module: classes
>>>>>> DEBUG - No application-client.xml found assuming annotations present:
>>>>>> classpath.ear, module: javassist.jar
>>>>>> DEBUG - No application-client.xml found assuming annotations present:
>>>>>> classpath.ear, module: xml-resolver-1.2.jar
>>>>>> DEBUG - No application-client.xml found assuming annotations present:
>>>>>> classpath.ear, module: jboss-serialization.jar
>>>>>> DEBUG - No application-client.xml found assuming annotations present:
>>>>>> classpath.ear, module: jboss-remoting.jar
>>>>>> DEBUG - No application-client.xml found assuming annotations present:
>>>>>> classpath.ear, module: serializer-2.7.1.jar
>>>>>> DEBUG - Searching for inherited application exceptions (see
>>>>>> OPENEJB-980) -
>>>>>> it doesn't care whether inherited is true/false
>>>>>> DEBUG - Searching for inherited application exceptions (see
>>>>>> OPENEJB-980) -
>>>>>> it doesn't care whether inherited is true/false
>>>>>> DEBUG - ...handling class ma.orca.educa.exception.ValidationException
>>>>>> DEBUG - ...adding class ma.orca.educa.exception.ValidationException
>>>>>> with
>>>>>> rollback=true
>>>>>> INFO - Configuring Service(id=Default Stateless Container,
>>>>>> type=Container,
>>>>>> provider-id=Default Stateless Container)
>>>>>> INFO - Auto-creating a container for bean ConfigurationBean:
>>>>>> Container(type=STATELESS, id=Default Stateless Container)
>>>>>> INFO - Configuring PersistenceUnit(name=Educa-serveur-test)
>>>>>> DEBUG - raw <jta-data-source>null</jta-datasource>
>>>>>> DEBUG - raw <non-jta-data-source>null</non-jta-datasource>
>>>>>> DEBUG - normalized <jta-data-source>null</jta-datasource>
>>>>>> DEBUG - normalized <non-jta-data-source>null</non-jta-datasource>
>>>>>> DEBUG - Available DataSources
>>>>>> DEBUG - DataSource(name=educaDatabase, JtaManaged=true)
>>>>>> INFO - Auto-creating a Resource with id 'educaDatabaseNonJta' of type
>>>>>> 'DataSource for 'Educa-serveur-test'.
>>>>>> INFO - Configuring Service(id=educaDatabaseNonJta, type=Resource,
>>>>>> provider-id=educaDatabase)
>>>>>> INFO - Adjusting PersistenceUnit Educa-serveur-test <jta-data-
>>>>>> source> to
>>>>>> Resource ID 'educaDatabase' from 'null'
>>>>>> INFO - Adjusting PersistenceUnit Educa-serveur-test <non-jta-data-
>>>>>> source> to
>>>>>> Resource ID 'educaDatabaseNonJta' from 'null'
>>>>>> INFO - Configuring PersistenceUnit(name=educaPU,
>>>>>> provider=org.hibernate.ejb.HibernatePersistence)
>>>>>> DEBUG - raw <jta-data-source>java:/OracleDS</jta-datasource>
>>>>>> DEBUG - raw <non-jta-data-source>null</non-jta-datasource>
>>>>>> DEBUG - normalized <jta-data-source>java:/OracleDS</jta-datasource>
>>>>>> DEBUG - normalized <non-jta-data-source>null</non-jta-datasource>
>>>>>> DEBUG - Available DataSources
>>>>>> DEBUG - DataSource(name=educaDatabase, JtaManaged=true)
>>>>>> DEBUG - DataSource(name=educaDatabaseNonJta, JtaManaged=false)
>>>>>> INFO - Adjusting PersistenceUnit educaPU <jta-data-source> to
>>>>>> Resource ID
>>>>>> 'educaDatabase' from 'java:/OracleDS'
>>>>>> INFO - Adjusting PersistenceUnit educaPU <non-jta-data-source> to
>>>>>> Resource
>>>>>> ID 'educaDatabaseNonJta' from 'null'
>>>>>> INFO - Using 'openejb.descriptors.output=true'
>>>>>> INFO - Using 'openejb.descriptors.output=true'
>>>>>> INFO - Dumping Generated ejb-jar.xml to:
>>>>>> C:\Users\ELARBI~1\AppData\Local\Temp\ejb-
>>>>>> jar-4519594178483779556bin.xml
>>>>>> INFO - Dumping Generated openejb-jar.xml to:
>>>>>> C:\Users\ELARBI~1\AppData\Local\Temp\openejb-
>>>>>> jar-2046724989127448680bin.xml
>>>>>> INFO - Using 'openejb.descriptors.output=true'
>>>>>> INFO - Dumping Generated ejb-jar.xml to:
>>>>>> C:\Users\ELARBI~1\AppData\Local\Temp\ejb-
>>>>>> jar-7664296864725927732classes.xml
>>>>>> INFO - Dumping Generated openejb-jar.xml to:
>>>>>> C:\Users\ELARBI~1\AppData\Local\Temp\openejb-
>>>>>> jar-1100372600686023701classes.xml
>>>>>> DEBUG - Adding persistence-unit educaPU property
>>>>>> eclipselink.target-
>>>>>> database=org.eclipse.persistence.platform.database.HSQLPlatform
>>>>>> DEBUG - Adding persistence-unit educaPU property
>>>>>> non-jta-data-source=educaDatabase
>>>>>> DEBUG - Adding persistence-unit educaPU property
>>>>>> jta-data-source=educaDatabase
>>>>>> DEBUG - Adding persistence-unit educaPU property
>>>>>> eclipselink.ddl-generation=drop-and-create-tables
>>>>>> DEBUG - Adding persistence-unit educaPU property
>>>>>> eclipselink.application-location=G:/data/eclipse/workspace_0/Educa-
>>>>>> serveur-test/scriptDB
>>>>>> DEBUG - Adding persistence-unit educaPU property
>>>>>> eclipselink.ddl-generation.output-mode=both
>>>>>> DEBUG - Adjusting PersistenceUnit(name=educaPU) property to
>>>>>> hibernate
>>>>>> .transaction
>>>>>> .manager_lookup_class
>>>>>> =org.apache.openejb.hibernate.TransactionManagerLookup
>>>>>> INFO - Using 'openejb.validation.output.level=VERBOSE'
>>>>>> INFO - Enterprise application "classpath.ear" loaded.
>>>>>> INFO - Assembling app: classpath.ear
>>>>>> DEBUG - Using default 'openejb.tempclassloader.skip=none'  Possible
>>>>>> values
>>>>>> are: none, annotations, enums or NONE or ALL
>>>>>> INFO - PersistenceUnit(name=Educa-serveur-test,
>>>>>> provider=org.apache.openjpa.persistence.PersistenceProviderImpl)
>>>>>> DEBUG - Using default 'openejb.tempclassloader.skip=none'  Possible
>>>>>> values
>>>>>> are: none, annotations, enums or NONE or ALL
>>>>>> ERROR - JAVA AGENT NOT INSTALLED. The JPA Persistence Provider
>>>>>> requested
>>>>>> installation of a ClassFileTransformer which requires a JavaAgent.
>>>>>> See
>>>>>> http://openejb.apache.org/3.0/javaagent.html
>>>>>> INFO - Undeploying app: classpath.ear
>>>>>> DEBUG - App failing deployment may not have undeployed cleanly:
>>>>>> classpath.ear
>>>>>> org.apache.openejb.UndeployException: Failed undeploying application:
>>>>>> id=classpath.ear
>>>>>>      at
>>>>>> org
>>>>>> .apache
>>>>>> .openejb
>>>>>> .assembler.classic.Assembler.destroyApplication(Assembler.java:802)
>>>>>>      at
>>>>>> org
>>>>>> .apache
>>>>>> .openejb
>>>>>> .assembler.classic.Assembler.createApplication(Assembler.java:662)
>>>>>>      at
>>>>>> org
>>>>>> .apache
>>>>>> .openejb
>>>>>> .assembler.classic.Assembler.createApplication(Assembler.java:449)
>>>>>>      at
>>>>>> org
>>>>>> .apache
>>>>>> .openejb
>>>>>> .assembler.classic.Assembler.buildContainerSystem(Assembler.java:367)
>>>>>>      at
>>>>>> org.apache.openejb.assembler.classic.Assembler.build(Assembler.java:
>>>>>> 279)
>>>>>>      at org.apache.openejb.OpenEJB$Instance.<init>(OpenEJB.java:137)
>>>>>>      at org.apache.openejb.OpenEJB.init(OpenEJB.java:286)
>>>>>>      at org.apache.openejb.OpenEJB.init(OpenEJB.java:265)
>>>>>>      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>>>>      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>>>>>>      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
>>>>>> Source)
>>>>>>      at java.lang.reflect.Method.invoke(Unknown Source)
>>>>>>      at
>>>>>> org.apache.openejb.loader.OpenEJBInstance.init(OpenEJBInstance.java:
>>>>>> 36)
>>>>>>      at
>>>>>> org
>>>>>> .apache
>>>>>> .openejb
>>>>>> .client
>>>>>> .LocalInitialContextFactory.init(LocalInitialContextFactory.java:71)
>>>>>>      at
>>>>>> org
>>>>>> .apache
>>>>>> .openejb
>>>>>> .client
>>>>>> .LocalInitialContextFactory.init(LocalInitialContextFactory.java:53)
>>>>>>      at
>>>>>> org
>>>>>> .apache
>>>>>> .openejb
>>>>>> .client
>>>>>> .LocalInitialContextFactory
>>>>>> .getInitialContext(LocalInitialContextFactory.java:42)
>>>>>>      at javax.naming.spi.NamingManager.getInitialContext(Unknown
>>>>>> Source)
>>>>>>      at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
>>>>>>      at javax.naming.InitialContext.init(Unknown Source)
>>>>>>      at javax.naming.InitialContext.<init>(Unknown Source)
>>>>>>      at
>>>>>> ma.orca.educa.service.RessourceBeanTest.setUp(RessourceBeanTest.java:
>>>>>> 22)
>>>>>>      at junit.framework.TestCase.runBare(TestCase.java:128)
>>>>>>      at junit.framework.TestResult$1.protect(TestResult.java:106)
>>>>>>      at junit.framework.TestResult.runProtected(TestResult.java:124)
>>>>>>      at junit.framework.TestResult.run(TestResult.java:109)
>>>>>>      at junit.framework.TestCase.run(TestCase.java:120)
>>>>>>      at junit.framework.TestSuite.runTest(TestSuite.java:230)
>>>>>>      at junit.framework.TestSuite.run(TestSuite.java:225)
>>>>>>      at
>>>>>> org
>>>>>> .eclipse
>>>>>> .jdt
>>>>>> .internal
>>>>>> .junit
>>>>>> .runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:130)
>>>>>>      at
>>>>>> org
>>>>>> .eclipse
>>>>>> .jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
>>>>>>      at
>>>>>> org
>>>>>> .eclipse
>>>>>> .jdt
>>>>>> .internal
>>>>>> .junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
>>>>>>      at
>>>>>> org
>>>>>> .eclipse
>>>>>> .jdt
>>>>>> .internal
>>>>>> .junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
>>>>>>      at
>>>>>> org
>>>>>> .eclipse
>>>>>> .jdt
>>>>>> .internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
>>>>>>      at
>>>>>> org
>>>>>> .eclipse
>>>>>> .jdt
>>>>>> .internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:
>>>>>> 197)
>>>>>> Nested caused by:
>>>>>> java.lang.Exception: deployment not found: ConfigurationBean
>>>>>>      at
>>>>>> org
>>>>>> .apache
>>>>>> .openejb
>>>>>> .assembler.classic.Assembler.destroyApplication(Assembler.java:820)
>>>>>>      at
>>>>>> org
>>>>>> .apache
>>>>>> .openejb
>>>>>> .assembler.classic.Assembler.createApplication(Assembler.java:662)
>>>>>>      at
>>>>>> org
>>>>>> .apache
>>>>>> .openejb
>>>>>> .assembler.classic.Assembler.createApplication(Assembler.java:449)
>>>>>>      at
>>>>>> org
>>>>>> .apache
>>>>>> .openejb
>>>>>> .assembler.classic.Assembler.buildContainerSystem(Assembler.java:367)
>>>>>>      at
>>>>>> org.apache.openejb.assembler.classic.Assembler.build(Assembler.java:
>>>>>> 279)
>>>>>>      at org.apache.openejb.OpenEJB$Instance.<init>(OpenEJB.java:137)
>>>>>>      at org.apache.openejb.OpenEJB.init(OpenEJB.java:286)
>>>>>>      at org.apache.openejb.OpenEJB.init(OpenEJB.java:265)
>>>>>>      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>>>>      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>>>>>>      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
>>>>>> Source)
>>>>>>      at java.lang.reflect.Method.invoke(Unknown Source)
>>>>>>      at
>>>>>> org.apache.openejb.loader.OpenEJBInstance.init(OpenEJBInstance.java:
>>>>>> 36)
>>>>>>      at
>>>>>> org
>>>>>> .apache
>>>>>> .openejb
>>>>>> .client
>>>>>> .LocalInitialContextFactory.init(LocalInitialContextFactory.java:71)
>>>>>>      at
>>>>>> org
>>>>>> .apache
>>>>>> .openejb
>>>>>> .client
>>>>>> .LocalInitialContextFactory.init(LocalInitialContextFactory.java:53)
>>>>>>      at
>>>>>> org
>>>>>> .apache
>>>>>> .openejb
>>>>>> .client
>>>>>> .LocalInitialContextFactory
>>>>>> .getInitialContext(LocalInitialContextFactory.java:42)
>>>>>>      at javax.naming.spi.NamingManager.getInitialContext(Unknown
>>>>>> Source)
>>>>>>      at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
>>>>>>      at javax.naming.InitialContext.init(Unknown Source)
>>>>>>      at javax.naming.InitialContext.<init>(Unknown Source)
>>>>>>      at
>>>>>> ma.orca.educa.service.RessourceBeanTest.setUp(RessourceBeanTest.java:
>>>>>> 22)
>>>>>>      at junit.framework.TestCase.runBare(TestCase.java:128)
>>>>>>      at junit.framework.TestResult$1.protect(TestResult.java:106)
>>>>>>      at junit.framework.TestResult.runProtected(TestResult.java:124)
>>>>>>      at junit.framework.TestResult.run(TestResult.java:109)
>>>>>>      at junit.framework.TestCase.run(TestCase.java:120)
>>>>>>      at junit.framework.TestSuite.runTest(TestSuite.java:230)
>>>>>>      at junit.framework.TestSuite.run(TestSuite.java:225)
>>>>>>      at
>>>>>> org
>>>>>> .eclipse
>>>>>> .jdt
>>>>>> .internal
>>>>>> .junit
>>>>>> .runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:130)
>>>>>>      at
>>>>>> org
>>>>>> .eclipse
>>>>>> .jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
>>>>>>      at
>>>>>> org
>>>>>> .eclipse
>>>>>> .jdt
>>>>>> .internal
>>>>>> .junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
>>>>>>      at
>>>>>> org
>>>>>> .eclipse
>>>>>> .jdt
>>>>>> .internal
>>>>>> .junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
>>>>>>      at
>>>>>> org
>>>>>> .eclipse
>>>>>> .jdt
>>>>>> .internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
>>>>>>      at
>>>>>> org
>>>>>> .eclipse
>>>>>> .jdt
>>>>>> .internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:
>>>>>> 197)
>>>>>> Nested caused by:
>>>>>> java.lang.Exception: deployment not found: AnnuaireBean
>>>>>>      at
>>>>>> org
>>>>>> .apache
>>>>>> .openejb
>>>>>> .assembler.classic.Assembler.destroyApplication(Assembler.java:820)
>>>>>>      at
>>>>>> org
>>>>>> .apache
>>>>>> .openejb
>>>>>> .assembler.classic.Assembler.createApplication(Assembler.java:662)
>>>>>>      at
>>>>>> org
>>>>>> .apache
>>>>>> .openejb
>>>>>> .assembler.classic.Assembler.createApplication(Assembler.java:449)
>>>>>>      at
>>>>>> org
>>>>>> .apache
>>>>>> .openejb
>>>>>> .assembler.classic.Assembler.buildContainerSystem(Assembler.java:367)
>>>>>>      at
>>>>>> org.apache.openejb.assembler.classic.Assembler.build(Assembler.java:
>>>>>> 279)
>>>>>>      at org.apache.openejb.OpenEJB$Instance.<init>(OpenEJB.java:137)
>>>>>>      at org.apache.openejb.OpenEJB.init(OpenEJB.java:286)
>>>>>>      at org.apache.openejb.OpenEJB.init(OpenEJB.java:265)
>>>>>>      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>>>>      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>>>>>>      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
>>>>>> Source)
>>>>>>      at java.lang.reflect.Method.invoke(Unknown Source)
>>>>>>      at
>>>>>> org.apache.openejb.loader.OpenEJBInstance.init(OpenEJBInstance.java:
>>>>>> 36)
>>>>>>      at
>>>>>> org
>>>>>> .apache
>>>>>> .openejb
>>>>>> .client
>>>>>> .LocalInitialContextFactory.init(LocalInitialContextFactory.java:71)
>>>>>>      at
>>>>>> org
>>>>>> .apache
>>>>>> .openejb
>>>>>> .client
>>>>>> .LocalInitialContextFactory.init(LocalInitialContextFactory.java:53)
>>>>>>      at
>>>>>> org
>>>>>> .apache
>>>>>> .openejb
>>>>>> .client
>>>>>> .LocalInitialContextFactory
>>>>>> .getInitialContext(LocalInitialContextFactory.java:42)
>>>>>>      at javax.naming.spi.NamingManager.getInitialContext(Unknown
>>>>>> Source)
>>>>>>      at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
>>>>>>      at javax.naming.InitialContext.init(Unknown Source)
>>>>>>      at javax.naming.InitialContext.<init>(Unknown Source)
>>>>>>      at
>>>>>> ma.orca.educa.service.RessourceBeanTest.setUp(RessourceBeanTest.java:
>>>>>> 22)
>>>>>>      at junit.framework.TestCase.runBare(TestCase.java:128)
>>>>>>      at junit.framework.TestResult$1.protect(TestResult.java:106)
>>>>>>      at junit.framework.TestResult.runProtected(TestResult.java:124)
>>>>>>      at junit.framework.TestResult.run(TestResult.java:109)
>>>>>>      at junit.framework.TestCase.run(TestCase.java:120)
>>>>>>      at junit.framework.TestSuite.runTest(TestSuite.java:230)
>>>>>>      at junit.framework.TestSuite.run(TestSuite.java:225)
>>>>>>      at
>>>>>> org
>>>>>> .eclipse
>>>>>> .jdt
>>>>>> .internal
>>>>>> .junit
>>>>>> .runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:130)
>>>>>>      at
>>>>>> org
>>>>>> .eclipse
>>>>>> .jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
>>>>>>      at
>>>>>> org
>>>>>> .eclipse
>>>>>> .jdt
>>>>>> .internal
>>>>>> .junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
>>>>>>      at
>>>>>> org
>>>>>> .eclipse
>>>>>> .jdt
>>>>>> .internal
>>>>>> .junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
>>>>>>      at
>>>>>> org
>>>>>> .eclipse
>>>>>> .jdt
>>>>>> .internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
>>>>>>      at
>>>>>> org
>>>>>> .eclipse
>>>>>> .jdt
>>>>>> .internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:
>>>>>> 197)
>>>>>> Nested caused by:
>>>>>> java.lang.Exception: deployment not found: RessourceBean
>>>>>>      at
>>>>>> org
>>>>>> .apache
>>>>>> .openejb
>>>>>> .assembler.classic.Assembler.destroyApplication(Assembler.java:820)
>>>>>>      at
>>>>>> org
>>>>>> .apache
>>>>>> .openejb
>>>>>> .assembler.classic.Assembler.createApplication(Assembler.java:662)
>>>>>>      at
>>>>>> org
>>>>>> .apache
>>>>>> .openejb
>>>>>> .assembler.classic.Assembler.createApplication(Assembler.java:449)
>>>>>>      at
>>>>>> org
>>>>>> .apache
>>>>>> .openejb
>>>>>> .assembler.classic.Assembler.buildContainerSystem(Assembler.java:367)
>>>>>>      at
>>>>>> org.apache.openejb.assembler.classic.Assembler.build(Assembler.java:
>>>>>> 279)
>>>>>>      at org.apache.openejb.OpenEJB$Instance.<init>(OpenEJB.java:137)
>>>>>>      at org.apache.openejb.OpenEJB.init(OpenEJB.java:286)
>>>>>>      at org.apache.openejb.OpenEJB.init(OpenEJB.java:265)
>>>>>>      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>>>>      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>>>>>>      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
>>>>>> Source)
>>>>>>      at java.lang.reflect.Method.invoke(Unknown Source)
>>>>>>      at
>>>>>> org.apache.openejb.loader.OpenEJBInstance.init(OpenEJBInstance.java:
>>>>>> 36)
>>>>>>      at
>>>>>> org
>>>>>> .apache
>>>>>> .openejb
>>>>>> .client
>>>>>> .LocalInitialContextFactory.init(LocalInitialContextFactory.java:71)
>>>>>>      at
>>>>>> org
>>>>>> .apache
>>>>>> .openejb
>>>>>> .client
>>>>>> .LocalInitialContextFactory.init(LocalInitialContextFactory.java:53)
>>>>>>      at
>>>>>> org
>>>>>> .apache
>>>>>> .openejb
>>>>>> .client
>>>>>> .LocalInitialContextFactory
>>>>>> .getInitialContext(LocalInitialContextFactory.java:42)
>>>>>>      at javax.naming.spi.NamingManager.getInitialContext(Unknown
>>>>>> Source)
>>>>>>      at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
>>>>>>      at javax.naming.InitialContext.init(Unknown Source)
>>>>>>      at javax.naming.InitialContext.<init>(Unknown Source)
>>>>>>      at
>>>>>> ma.orca.educa.service.RessourceBeanTest.setUp(RessourceBeanTest.java:
>>>>>> 22)
>>>>>>      at junit.framework.TestCase.runBare(TestCase.java:128)
>>>>>>      at junit.framework.TestResult$1.protect(TestResult.java:106)
>>>>>>      at junit.framework.TestResult.runProtected(TestResult.java:124)
>>>>>>      at junit.framework.TestResult.run(TestResult.java:109)
>>>>>>      at junit.framework.TestCase.run(TestCase.java:120)
>>>>>>      at junit.framework.TestSuite.runTest(TestSuite.java:230)
>>>>>>      at junit.framework.TestSuite.run(TestSuite.java:225)
>>>>>>      at
>>>>>> org
>>>>>> .eclipse
>>>>>> .jdt
>>>>>> .internal
>>>>>> .junit
>>>>>> .runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:130)
>>>>>>      at
>>>>>> org
>>>>>> .eclipse
>>>>>> .jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
>>>>>>      at
>>>>>> org
>>>>>> .eclipse
>>>>>> .jdt
>>>>>> .internal
>>>>>> .junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
>>>>>>      at
>>>>>> org
>>>>>> .eclipse
>>>>>> .jdt
>>>>>> .internal
>>>>>> .junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
>>>>>>      at
>>>>>> org
>>>>>> .eclipse
>>>>>> .jdt
>>>>>> .internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
>>>>>>      at
>>>>>> org
>>>>>> .eclipse
>>>>>> .jdt
>>>>>> .internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:
>>>>>> 197)
>>>>>> Nested caused by:
>>>>>> java.lang.Exception: deployment not found: InscriptionBean
>>>>>>      at
>>>>>> org
>>>>>> .apache
>>>>>> .openejb
>>>>>> .assembler.classic.Assembler.destroyApplication(Assembler.java:820)
>>>>>>      at
>>>>>> org
>>>>>> .apache
>>>>>> .openejb
>>>>>> .assembler.classic.Assembler.createApplication(Assembler.java:662)
>>>>>>      at
>>>>>> org
>>>>>> .apache
>>>>>> .openejb
>>>>>> .assembler.classic.Assembler.createApplication(Assembler.java:449)
>>>>>>      at
>>>>>> org
>>>>>> .apache
>>>>>> .openejb
>>>>>> .assembler.classic.Assembler.buildContainerSystem(Assembler.java:367)
>>>>>>      at
>>>>>> org.apache.openejb.assembler.classic.Assembler.build(Assembler.java:
>>>>>> 279)
>>>>>>      at org.apache.openejb.OpenEJB$Instance.<init>(OpenEJB.java:137)
>>>>>>      at org.apache.openejb.OpenEJB.init(OpenEJB.java:286)
>>>>>>      at org.apache.openejb.OpenEJB.init(OpenEJB.java:265)
>>>>>>      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>>>>      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>>>>>>      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
>>>>>> Source)
>>>>>>      at java.lang.reflect.Method.invoke(Unknown Source)
>>>>>>      at
>>>>>> org.apache.openejb.loader.OpenEJBInstance.init(OpenEJBInstance.java:
>>>>>> 36)
>>>>>>      at
>>>>>> org
>>>>>> .apache
>>>>>> .openejb
>>>>>> .client
>>>>>> .LocalInitialContextFactory.init(LocalInitialContextFactory.java:71)
>>>>>>      at
>>>>>> org
>>>>>> .apache
>>>>>> .openejb
>>>>>> .client
>>>>>> .LocalInitialContextFactory.init(LocalInitialContextFactory.java:53)
>>>>>>      at
>>>>>> org
>>>>>> .apache
>>>>>> .openejb
>>>>>> .client
>>>>>> .LocalInitialContextFactory
>>>>>> .getInitialContext(LocalInitialContextFactory.java:42)
>>>>>>      at javax.naming.spi.NamingManager.getInitialContext(Unknown
>>>>>> Source)
>>>>>>      at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
>>>>>>      at javax.naming.InitialContext.init(Unknown Source)
>>>>>>      at javax.naming.InitialContext.<init>(Unknown Source)
>>>>>>      at
>>>>>> ma.orca.educa.service.RessourceBeanTest.setUp(RessourceBeanTest.java:
>>>>>> 22)
>>>>>>      at junit.framework.TestCase.runBare(TestCase.java:128)
>>>>>>      at junit.framework.TestResult$1.protect(TestResult.java:106)
>>>>>>      at junit.framework.TestResult.runProtected(TestResult.java:124)
>>>>>>      at junit.framework.TestResult.run(TestResult.java:109)
>>>>>>      at junit.framework.TestCase.run(TestCase.java:120)
>>>>>>      at junit.framework.TestSuite.runTest(TestSuite.java:230)
>>>>>>      at junit.framework.TestSuite.run(TestSuite.java:225)
>>>>>>      at
>>>>>> org
>>>>>> .eclipse
>>>>>> .jdt
>>>>>> .internal
>>>>>> .junit
>>>>>> .runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:130)
>>>>>>      at
>>>>>> org
>>>>>> .eclipse
>>>>>> .jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
>>>>>>      at
>>>>>> org
>>>>>> .eclipse
>>>>>> .jdt
>>>>>> .internal
>>>>>> .junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
>>>>>>      at
>>>>>> org
>>>>>> .eclipse
>>>>>> .jdt
>>>>>> .internal
>>>>>> .junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
>>>>>>      at
>>>>>> org
>>>>>> .eclipse
>>>>>> .jdt
>>>>>> .internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
>>>>>>      at
>>>>>> org
>>>>>> .eclipse
>>>>>> .jdt
>>>>>> .internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:
>>>>>> 197)
>>>>>> Nested caused by:
>>>>>> java.lang.Exception: deployment not found: ScolariteBean
>>>>>>      at
>>>>>> org
>>>>>> .apache
>>>>>> .openejb
>>>>>> .assembler.classic.Assembler.destroyApplication(Assembler.java:820)
>>>>>>      at
>>>>>> org
>>>>>> .apache
>>>>>> .openejb
>>>>>> .assembler.classic.Assembler.createApplication(Assembler.java:662)
>>>>>>      at
>>>>>> org
>>>>>> .apache
>>>>>> .openejb
>>>>>> .assembler.classic.Assembler.createApplication(Assembler.java:449)
>>>>>>      at
>>>>>> org
>>>>>> .apache
>>>>>> .openejb
>>>>>> .assembler.classic.Assembler.buildContainerSystem(Assembler.java:367)
>>>>>>      at
>>>>>> org.apache.openejb.assembler.classic.Assembler.build(Assembler.java:
>>>>>> 279)
>>>>>>      at org.apache.openejb.OpenEJB$Instance.<init>(OpenEJB.java:137)
>>>>>>      at org.apache.openejb.OpenEJB.init(OpenEJB.java:286)
>>>>>>      at org.apache.openejb.OpenEJB.init(OpenEJB.java:265)
>>>>>>      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>>>>      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>>>>>>      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
>>>>>> Source)
>>>>>>      at java.lang.reflect.Method.invoke(Unknown Source)
>>>>>>      at
>>>>>> org.apache.openejb.loader.OpenEJBInstance.init(OpenEJBInstance.java:
>>>>>> 36)
>>>>>>      at
>>>>>> org
>>>>>> .apache
>>>>>> .openejb
>>>>>> .client
>>>>>> .LocalInitialContextFactory.init(LocalInitialContextFactory.java:71)
>>>>>>      at
>>>>>> org
>>>>>> .apache
>>>>>> .openejb
>>>>>> .client
>>>>>> .LocalInitialContextFactory.init(LocalInitialContextFactory.java:53)
>>>>>>      at
>>>>>> org
>>>>>> .apache
>>>>>> .openejb
>>>>>> .client
>>>>>> .LocalInitialContextFactory
>>>>>> .getInitialContext(LocalInitialContextFactory.java:42)
>>>>>>      at javax.naming.spi.NamingManager.getInitialContext(Unknown
>>>>>> Source)
>>>>>>      at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
>>>>>>      at javax.naming.InitialContext.init(Unknown Source)
>>>>>>      at javax.naming.InitialContext.<init>(Unknown Source)
>>>>>>      at
>>>>>> ma.orca.educa.service.RessourceBeanTest.setUp(RessourceBeanTest.java:
>>>>>> 22)
>>>>>>      at junit.framework.TestCase.runBare(TestCase.java:128)
>>>>>>      at junit.framework.TestResult$1.protect(TestResult.java:106)
>>>>>>      at junit.framework.TestResult.runProtected(TestResult.java:124)
>>>>>>      at junit.framework.TestResult.run(TestResult.java:109)
>>>>>>      at junit.framework.TestCase.run(TestCase.java:120)
>>>>>>      at junit.framework.TestSuite.runTest(TestSuite.java:230)
>>>>>>      at junit.framework.TestSuite.run(TestSuite.java:225)
>>>>>>      at
>>>>>> org
>>>>>> .eclipse
>>>>>> .jdt
>>>>>> .internal
>>>>>> .junit
>>>>>> .runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:130)
>>>>>>      at
>>>>>> org
>>>>>> .eclipse
>>>>>> .jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
>>>>>>      at
>>>>>> org
>>>>>> .eclipse
>>>>>> .jdt
>>>>>> .internal
>>>>>> .junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
>>>>>>      at
>>>>>> org
>>>>>> .eclipse
>>>>>> .jdt
>>>>>> .internal
>>>>>> .junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
>>>>>>      at
>>>>>> org
>>>>>> .eclipse
>>>>>> .jdt
>>>>>> .internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
>>>>>>      at
>>>>>> org
>>>>>> .eclipse
>>>>>> .jdt
>>>>>> .internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:
>>>>>> 197)
>>>>>> Nested caused by:
>>>>>> java.lang.Exception: deployment not found: RessourceWS
>>>>>>      at
>>>>>> org
>>>>>> .apache
>>>>>> .openejb
>>>>>> .assembler.classic.Assembler.destroyApplication(Assembler.java:820)
>>>>>>      at
>>>>>> org
>>>>>> .apache
>>>>>> .openejb
>>>>>> .assembler.classic.Assembler.createApplication(Assembler.java:662)
>>>>>>      at
>>>>>> org
>>>>>> .apache
>>>>>> .openejb
>>>>>> .assembler.classic.Assembler.createApplication(Assembler.java:449)
>>>>>>      at
>>>>>> org
>>>>>> .apache
>>>>>> .openejb
>>>>>> .assembler.classic.Assembler.buildContainerSystem(Assembler.java:367)
>>>>>>      at
>>>>>> org.apache.openejb.assembler.classic.Assembler.build(Assembler.java:
>>>>>> 279)
>>>>>>      at org.apache.openejb.OpenEJB$Instance.<init>(OpenEJB.java:137)
>>>>>>      at org.apache.openejb.OpenEJB.init(OpenEJB.java:286)
>>>>>>      at org.apache.openejb.OpenEJB.init(OpenEJB.java:265)
>>>>>>      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>>>>      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>>>>>>      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
>>>>>> Source)
>>>>>>      at java.lang.reflect.Method.invoke(Unknown Source)
>>>>>>      at
>>>>>> org.apache.openejb.loader.OpenEJBInstance.init(OpenEJBInstance.java:
>>>>>> 36)
>>>>>>      at
>>>>>> org
>>>>>> .apache
>>>>>> .openejb
>>>>>> .client
>>>>>> .LocalInitialContextFactory.init(LocalInitialContextFactory.java:71)
>>>>>>      at
>>>>>> org
>>>>>> .apache
>>>>>> .openejb
>>>>>> .client
>>>>>> .LocalInitialContextFactory.init(LocalInitialContextFactory.java:53)
>>>>>>      at
>>>>>> org
>>>>>> .apache
>>>>>> .openejb
>>>>>> .client
>>>>>> .LocalInitialContextFactory
>>>>>> .getInitialContext(LocalInitialContextFactory.java:42)
>>>>>>      at javax.naming.spi.NamingManager.getInitialContext(Unknown
>>>>>> Source)
>>>>>>      at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
>>>>>>      at javax.naming.InitialContext.init(Unknown Source)
>>>>>>      at javax.naming.InitialContext.<init>(Unknown Source)
>>>>>>      at
>>>>>> ma.orca.educa.service.RessourceBeanTest.setUp(RessourceBeanTest.java:
>>>>>> 22)
>>>>>>      at junit.framework.TestCase.runBare(TestCase.java:128)
>>>>>>      at junit.framework.TestResult$1.protect(TestResult.java:106)
>>>>>>      at junit.framework.TestResult.runProtected(TestResult.java:124)
>>>>>>      at junit.framework.TestResult.run(TestResult.java:109)
>>>>>>      at junit.framework.TestCase.run(TestCase.java:120)
>>>>>>      at junit.framework.TestSuite.runTest(TestSuite.java:230)
>>>>>>      at junit.framework.TestSuite.run(TestSuite.java:225)
>>>>>>      at
>>>>>> org
>>>>>> .eclipse
>>>>>> .jdt
>>>>>> .internal
>>>>>> .junit
>>>>>> .runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:130)
>>>>>>      at
>>>>>> org
>>>>>> .eclipse
>>>>>> .jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
>>>>>>      at
>>>>>> org
>>>>>> .eclipse
>>>>>> .jdt
>>>>>> .internal
>>>>>> .junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
>>>>>>      at
>>>>>> org
>>>>>> .eclipse
>>>>>> .jdt
>>>>>> .internal
>>>>>> .junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
>>>>>>      at
>>>>>> org
>>>>>> .eclipse
>>>>>> .jdt
>>>>>> .internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
>>>>>>      at
>>>>>> org
>>>>>> .eclipse
>>>>>> .jdt
>>>>>> .internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:
>>>>>> 197)
>>>>>> Nested caused by:
>>>>>> java.lang.Exception: deployment not found: ScolariteWS
>>>>>>      at
>>>>>> org
>>>>>> .apache
>>>>>> .openejb
>>>>>> .assembler.classic.Assembler.destroyApplication(Assembler.java:820)
>>>>>>      at
>>>>>> org
>>>>>> .apache
>>>>>> .openejb
>>>>>> .assembler.classic.Assembler.createApplication(Assembler.java:662)
>>>>>>      at
>>>>>> org
>>>>>> .apache
>>>>>> .openejb
>>>>>> .assembler.classic.Assembler.createApplication(Assembler.java:449)
>>>>>>      at
>>>>>> org
>>>>>> .apache
>>>>>> .openejb
>>>>>> .assembler.classic.Assembler.buildContainerSystem(Assembler.java:367)
>>>>>>      at
>>>>>> org.apache.openejb.assembler.classic.Assembler.build(Assembler.java:
>>>>>> 279)
>>>>>>      at org.apache.openejb.OpenEJB$Instance.<init>(OpenEJB.java:137)
>>>>>>      at org.apache.openejb.OpenEJB.init(OpenEJB.java:286)
>>>>>>      at org.apache.openejb.OpenEJB.init(OpenEJB.java:265)
>>>>>>      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>>>>      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>>>>>>      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
>>>>>> Source)
>>>>>>      at java.lang.reflect.Method.invoke(Unknown Source)
>>>>>>      at
>>>>>> org.apache.openejb.loader.OpenEJBInstance.init(OpenEJBInstance.java:
>>>>>> 36)
>>>>>>      at
>>>>>> org
>>>>>> .apache
>>>>>> .openejb
>>>>>> .client
>>>>>> .LocalInitialContextFactory.init(LocalInitialContextFactory.java:71)
>>>>>>      at
>>>>>> org
>>>>>> .apache
>>>>>> .openejb
>>>>>> .client
>>>>>> .LocalInitialContextFactory.init(LocalInitialContextFactory.java:53)
>>>>>>      at
>>>>>> org
>>>>>> .apache
>>>>>> .openejb
>>>>>> .client
>>>>>> .LocalInitialContextFactory
>>>>>> .getInitialContext(LocalInitialContextFactory.java:42)
>>>>>>      at javax.naming.spi.NamingManager.getInitialContext(Unknown
>>>>>> Source)
>>>>>>      at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
>>>>>>      at javax.naming.InitialContext.init(Unknown Source)
>>>>>>      at javax.naming.InitialContext.<init>(Unknown Source)
>>>>>>      at
>>>>>> ma.orca.educa.service.RessourceBeanTest.setUp(RessourceBeanTest.java:
>>>>>> 22)
>>>>>>      at junit.framework.TestCase.runBare(TestCase.java:128)
>>>>>>      at junit.framework.TestResult$1.protect(TestResult.java:106)
>>>>>>      at junit.framework.TestResult.runProtected(TestResult.java:124)
>>>>>>      at junit.framework.TestResult.run(TestResult.java:109)
>>>>>>      at junit.framework.TestCase.run(TestCase.java:120)
>>>>>>      at junit.framework.TestSuite.runTest(TestSuite.java:230)
>>>>>>      at junit.framework.TestSuite.run(TestSuite.java:225)
>>>>>>      at
>>>>>> org
>>>>>> .eclipse
>>>>>> .jdt
>>>>>> .internal
>>>>>> .junit
>>>>>> .runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:130)
>>>>>>      at
>>>>>> org
>>>>>> .eclipse
>>>>>> .jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
>>>>>>      at
>>>>>> org
>>>>>> .eclipse
>>>>>> .jdt
>>>>>> .internal
>>>>>> .junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
>>>>>>      at
>>>>>> org
>>>>>> .eclipse
>>>>>> .jdt
>>>>>> .internal
>>>>>> .junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
>>>>>>      at
>>>>>> org
>>>>>> .eclipse
>>>>>> .jdt
>>>>>> .internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
>>>>>>      at
>>>>>> org
>>>>>> .eclipse
>>>>>> .jdt
>>>>>> .internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:
>>>>>> 197)
>>>>>> Nested caused by:
>>>>>> java.lang.Exception: persistence-unit: educaPU 495723823: Name
>>>>>> "openejb/PersistenceUnit/educaPU 495723823" not found.
>>>>>>      at
>>>>>> org
>>>>>> .apache
>>>>>> .openejb
>>>>>> .assembler.classic.Assembler.destroyApplication(Assembler.java:893)
>>>>>>      at
>>>>>> org
>>>>>> .apache
>>>>>> .openejb
>>>>>> .assembler.classic.Assembler.createApplication(Assembler.java:662)
>>>>>>      at
>>>>>> org
>>>>>> .apache
>>>>>> .openejb
>>>>>> .assembler.classic.Assembler.createApplication(Assembler.java:449)
>>>>>>      at
>>>>>> org
>>>>>> .apache
>>>>>> .openejb
>>>>>> .assembler.classic.Assembler.buildContainerSystem(Assembler.java:367)
>>>>>>      at
>>>>>> org.apache.openejb.assembler.classic.Assembler.build(Assembler.java:
>>>>>> 279)
>>>>>>      at org.apache.openejb.OpenEJB$Instance.<init>(OpenEJB.java:137)
>>>>>>      at org.apache.openejb.OpenEJB.init(OpenEJB.java:286)
>>>>>>      at org.apache.openejb.OpenEJB.init(OpenEJB.java:265)
>>>>>>      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>>>>      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>>>>>>      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
>>>>>> Source)
>>>>>>      at java.lang.reflect.Method.invoke(Unknown Source)
>>>>>>      at
>>>>>> org.apache.openejb.loader.OpenEJBInstance.init(OpenEJBInstance.java:
>>>>>> 36)
>>>>>>      at
>>>>>> org
>>>>>> .apache
>>>>>> .openejb
>>>>>> .client
>>>>>> .LocalInitialContextFactory.init(LocalInitialContextFactory.java:71)
>>>>>>      at
>>>>>> org
>>>>>> .apache
>>>>>> .openejb
>>>>>> .client
>>>>>> .LocalInitialContextFactory.init(LocalInitialContextFactory.java:53)
>>>>>>      at
>>>>>> org
>>>>>> .apache
>>>>>> .openejb
>>>>>> .client
>>>>>> .LocalInitialContextFactory
>>>>>> .getInitialContext(LocalInitialContextFactory.java:42)
>>>>>>      at javax.naming.spi.NamingManager.getInitialContext(Unknown
>>>>>> Source)
>>>>>>      at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
>>>>>>      at javax.naming.InitialContext.init(Unknown Source)
>>>>>>      at javax.naming.InitialContext.<init>(Unknown Source)
>>>>>>      at
>>>>>> ma.orca.educa.service.RessourceBeanTest.setUp(RessourceBeanTest.java:
>>>>>> 22)
>>>>>>      at junit.framework.TestCase.runBare(TestCase.java:128)
>>>>>>      at junit.framework.TestResult$1.protect(TestResult.java:106)
>>>>>>      at junit.framework.TestResult.runProtected(TestResult.java:124)
>>>>>>      at junit.framework.TestResult.run(TestResult.java:109)
>>>>>>      at junit.framework.TestCase.run(TestCase.java:120)
>>>>>>      at junit.framework.TestSuite.runTest(TestSuite.java:230)
>>>>>>      at junit.framework.TestSuite.run(TestSuite.java:225)
>>>>>>      at
>>>>>> org
>>>>>> .eclipse
>>>>>> .jdt
>>>>>> .internal
>>>>>> .junit
>>>>>> .runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:130)
>>>>>>      at
>>>>>> org
>>>>>> .eclipse
>>>>>> .jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
>>>>>>      at
>>>>>> org
>>>>>> .eclipse
>>>>>> .jdt
>>>>>> .internal
>>>>>> .junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
>>>>>>      at
>>>>>> org
>>>>>> .eclipse
>>>>>> .jdt
>>>>>> .internal
>>>>>> .junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
>>>>>>      at
>>>>>> org
>>>>>> .eclipse
>>>>>> .jdt
>>>>>> .internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
>>>>>>      at
>>>>>> org
>>>>>> .eclipse
>>>>>> .jdt
>>>>>> .internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:
>>>>>> 197)
>>>>>> Caused by: javax.naming.NameNotFoundException: Name
>>>>>> "openejb/PersistenceUnit/educaPU 495723823" not found.
>>>>>>      at
>>>>>> org
>>>>>> .apache.openejb.core.ivm.naming.IvmContext.federate(IvmContext.java:
>>>>>> 193)
>>>>>>      at
>>>>>> org.apache.openejb.core.ivm.naming.IvmContext.lookup(IvmContext.java:
>>>>>> 150)
>>>>>>      at
>>>>>> org
>>>>>> .apache
>>>>>> .openejb
>>>>>> .assembler.classic.Assembler.destroyApplication(Assembler.java:886)
>>>>>>      ... 33 more
>>>>>> ERROR - Application could not be deployed:  classpath.ear
>>>>>> org.apache.openejb.OpenEJBException: Creating application failed:
>>>>>> classpath.ear: java.lang.ClassNotFoundException:
>>>>>> org.hibernate.ejb.HibernatePersistence:
>>>>>> org.hibernate.ejb.HibernatePersistence
>>>>>>      at
>>>>>> org
>>>>>> .apache
>>>>>> .openejb
>>>>>> .assembler.classic.Assembler.createApplication(Assembler.java:666)
>>>>>>      at
>>>>>> org
>>>>>> .apache
>>>>>> .openejb
>>>>>> .assembler.classic.Assembler.createApplication(Assembler.java:449)
>>>>>>      at
>>>>>> org
>>>>>> .apache
>>>>>> .openejb
>>>>>> .assembler.classic.Assembler.buildContainerSystem(Assembler.java:367)
>>>>>>      at
>>>>>> org.apache.openejb.assembler.classic.Assembler.build(Assembler.java:
>>>>>> 279)
>>>>>>      at org.apache.openejb.OpenEJB$Instance.<init>(OpenEJB.java:137)
>>>>>>      at org.apache.openejb.OpenEJB.init(OpenEJB.java:286)
>>>>>>      at org.apache.openejb.OpenEJB.init(OpenEJB.java:265)
>>>>>>      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>>>>      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>>>>>>      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
>>>>>> Source)
>>>>>>      at java.lang.reflect.Method.invoke(Unknown Source)
>>>>>>      at
>>>>>> org.apache.openejb.loader.OpenEJBInstance.init(OpenEJBInstance.java:
>>>>>> 36)
>>>>>>      at
>>>>>> org
>>>>>> .apache
>>>>>> .openejb
>>>>>> .client
>>>>>> .LocalInitialContextFactory.init(LocalInitialContextFactory.java:71)
>>>>>>      at
>>>>>> org
>>>>>> .apache
>>>>>> .openejb
>>>>>> .client
>>>>>> .LocalInitialContextFactory.init(LocalInitialContextFactory.java:53)
>>>>>>      at
>>>>>> org
>>>>>> .apache
>>>>>> .openejb
>>>>>> .client
>>>>>> .LocalInitialContextFactory
>>>>>> .getInitialContext(LocalInitialContextFactory.java:42)
>>>>>>      at javax.naming.spi.NamingManager.getInitialContext(Unknown
>>>>>> Source)
>>>>>>      at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
>>>>>>      at javax.naming.InitialContext.init(Unknown Source)
>>>>>>      at javax.naming.InitialContext.<init>(Unknown Source)
>>>>>>      at
>>>>>> ma.orca.educa.service.RessourceBeanTest.setUp(RessourceBeanTest.java:
>>>>>> 22)
>>>>>>      at junit.framework.TestCase.runBare(TestCase.java:128)
>>>>>>      at junit.framework.TestResult$1.protect(TestResult.java:106)
>>>>>>      at junit.framework.TestResult.runProtected(TestResult.java:124)
>>>>>>      at junit.framework.TestResult.run(TestResult.java:109)
>>>>>>      at junit.framework.TestCase.run(TestCase.java:120)
>>>>>>      at junit.framework.TestSuite.runTest(TestSuite.java:230)
>>>>>>      at junit.framework.TestSuite.run(TestSuite.java:225)
>>>>>>      at
>>>>>> org
>>>>>> .eclipse
>>>>>> .jdt
>>>>>> .internal
>>>>>> .junit
>>>>>> .runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:130)
>>>>>>      at
>>>>>> org
>>>>>> .eclipse
>>>>>> .jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
>>>>>>      at
>>>>>> org
>>>>>> .eclipse
>>>>>> .jdt
>>>>>> .internal
>>>>>> .junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
>>>>>>      at
>>>>>> org
>>>>>> .eclipse
>>>>>> .jdt
>>>>>> .internal
>>>>>> .junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
>>>>>>      at
>>>>>> org
>>>>>> .eclipse
>>>>>> .jdt
>>>>>> .internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
>>>>>>      at
>>>>>> org
>>>>>> .eclipse
>>>>>> .jdt
>>>>>> .internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:
>>>>>> 197)
>>>>>> Caused by: org.apache.openejb.OpenEJBException:
>>>>>> java.lang.ClassNotFoundException:
>>>>>> org.hibernate.ejb.HibernatePersistence:
>>>>>> org.hibernate.ejb.HibernatePersistence
>>>>>>      at
>>>>>> org
>>>>>> .apache
>>>>>> .openejb
>>>>>> .assembler.classic.Assembler.createApplication(Assembler.java:494)
>>>>>>      ... 32 more
>>>>>> Caused by: java.lang.ClassNotFoundException:
>>>>>> org.hibernate.ejb.HibernatePersistence
>>>>>>      at java.net.URLClassLoader$1.run(Unknown Source)
>>>>>>      at java.security.AccessController.doPrivileged(Native Method)
>>>>>>      at java.net.URLClassLoader.findClass(Unknown Source)
>>>>>>      at java.lang.ClassLoader.loadClass(Unknown Source)
>>>>>>      at java.lang.ClassLoader.loadClass(Unknown Source)
>>>>>>      at
>>>>>> org
>>>>>> .apache
>>>>>> .openejb
>>>>>> .assembler
>>>>>> .classic
>>>>>> .PersistenceBuilder
>>>>>> .createEntityManagerFactory(PersistenceBuilder.java:178)
>>>>>>      at
>>>>>> org
>>>>>> .apache
>>>>>> .openejb
>>>>>> .assembler.classic.Assembler.createApplication(Assembler.java:489)
>>>>>>      ... 32 more
>>>>>> DEBUG - Containers        : 1
>>>>>> DEBUG - Type        Container ID
>>>>>> DEBUG -    STATELESS   Default Stateless Container
>>>>>> DEBUG - Deployments       : 0
>>>>>> DEBUG - SecurityService   :
>>>>>> org.apache.openejb.core.security.SecurityServiceImpl
>>>>>> DEBUG - TransactionManager:
>>>>>> org.apache.geronimo.transaction.manager.GeronimoTransactionManager
>>>>>> DEBUG - OpenEJB Container System ready.
>>>>>>
>>>>>>
>>>>>> Quintin Beukes-2 wrote:
>>>>>>
>>>>>>
>>>>>>> Can you please paste the error you receive?
>>>>>>>
>>>>>>> I'm not sure how to override it, will have a look now. Though, what
>>>>>>> are you trying to achieve with this? Maybe there is another way to
>>>>>>> get
>>>>>>> the same thing. I assume you're just trying to use a different
>>>>>>> provider for tests than you do for production?
>>>>>>>
>>>>>>> Quintin Beukes
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On Fri, Oct 23, 2009 at 7:50 AM, hypnosat7 <ablarbi@yahoo.fr> wrote:
>>>>>>>
>>>>>>>
>>>>>>>> Hello,
>>>>>>>>
>>>>>>>> If I set the provider property in the persistence.xml of my EJB
>>>>>>>> project
>>>>>>>> in
>>>>>>>> works. But if I set the provider via system properties (to
>>>>>>>> override the
>>>>>>>> persistence.xml) my tests fail and the reason is that the data are
>>>>>>>> not
>>>>>>>> stored to the database.
>>>>>>>>
>>>>>>>> So this is my persistence.xml:
>>>>>>>> <?xml version="1.0" encoding="UTF-8"?>
>>>>>>>> <persistence version="1.0"
>>>>>>>> xmlns="http://java.sun.com/xml/ns/persistence"
>>>>>>>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>>>>>>>> xsi:schemaLocation="http://java.sun.com/xml/ns/persistence
>>>>>>>> http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd">
>>>>>>>> <persistence-unit name="educaPU">
>>>>>>>>    <!--
>>>>>>>>    <provider>org.hibernate.ejb.HibernatePersistence</provider>
>>>>>>>>     -->
>>>>>>>>
>>>>>>>> <provider>org.eclipse.persistence.jpa.PersistenceProvider</
>>>>>>>> provider>
>>>>>>>>    <jta-data-source>java:/OracleDS</jta-data-source>
>>>>>>>>    <properties>
>>>>>>>>        <property name="hibernate.hbm2ddl.auto" value="update" />
>>>>>>>>        <property name="hibernate.dialect"
>>>>>>>> value="org.hibernate.dialect.Oracle10gDialect" />
>>>>>>>>        <!--
>>>>>>>>            MySQL <property name="hibernate.hbm2ddl.auto"
>>>>>>>> value="create-drop" />
>>>>>>>>            <property name="hibernate.dialect"
>>>>>>>>            value="org.hibernate.dialect.MySQLInnoDBDialect" />
>>>>>>>>        -->
>>>>>>>>    </properties>
>>>>>>>> </persistence-unit>
>>>>>>>> </persistence>
>>>>>>>>
>>>>>>>> I've add the line:
>>>>>>>> <provider>org.eclipse.persistence.jpa.PersistenceProvider</provider>
>>>>>>>> because using the
>>>>>>>> "-
>>>>>>>> Djavax
>>>>>>>> .persistence
>>>>>>>> .provider=org.eclipse.persistence.jpa.PersistenceProvider"
>>>>>>>> as VM arguments make my tests failing.
>>>>>>>>
>>>>>>>> Thanks for any help.
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> View this message in context:
>>>>>>>>
>>>>>>>>
>>>>>>>> http://www.nabble.com/Override-Porvider-property-via-system-properties-tp26021215p26021215.html
>>>>>>>> Sent from the OpenEJB User mailing list archive at Nabble.com.
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>  --
>>>>>> View this message in context:
>>>>>>
>>>>>>
>>>>>> http://www.nabble.com/Override-Porvider-property-via-system-properties-tp26021215p26029996.html
>>>>>> Sent from the OpenEJB User mailing list archive at Nabble.com.
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>>  --
>>>> View this message in context:
>>>>
>>>> http://old.nabble.com/Override-Porvider-property-via-system-properties-tp26021215p26160653.html
>>>> Sent from the OpenEJB User mailing list archive at Nabble.com.
>>>>
>>>>
>>>>
>>>>
>>>
>

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