You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomee.apache.org by hypnosat7 <ab...@yahoo.fr> on 2009/10/24 08:39:00 UTC

Optimizing the OpenEjb modules discovery

Hello,

  I'm looking for a way to make my tests runing quickly. When I see the log
trace of my test run, there's a lot of things done by OpenEjb (dicovering
clientModule, checking for ejbs in the JBoss jars!, ...). How can I say to
OpenEJB to look for ejbs only in a path of my choice ?

In fact I've tried this:
openejb.deployments.classpath.exclude = ".*"
openejb.deployments.classpath.include =
"G:/data/eclipse/workspace_0/Educa-serveur/build/.*"

But when I run my test I'm still seing:
WARN - Inspecting classpath for applications: 78 urls.
WARN - ADJUST THE EXCLUDE/INCLUDE!!!.  Current settings:
openejb.deployments.classpath.exclude='".*"',
openejb.deployments.classpath.include='"G:/data/eclipse/workspace_0/Educa-serveur/build/.*"'
-- 
View this message in context: http://www.nabble.com/Optimizing-the-OpenEjb-modules-discovery-tp26036547p26036547.html
Sent from the OpenEJB User mailing list archive at Nabble.com.


Re: Optimizing the OpenEjb modules discovery

Posted by David Blevins <da...@visi.com>.
On Nov 3, 2009, at 9:40 AM, Quintin Beukes wrote:

> They don't work the same because you're using patterns/regular  
> expressions
> to do the matching. Do something like:
> openejb.deployments.classpath.include=file:/{1,3}G:/data/eclipse/ 
> workspace_0/my-serveur/build/classes/
>
> This wil allow a file:/ with 1, 2 OR 3 slashes.

Right.

I typically also like to shave off the part of the path that isn't  
they same for everyone and only include the paths that are "in" the  
project.  So something like:

openejb.deployments.classpath.include=.*/my-serveur/build/classes/


>> And if I remove the "exclude" property is it the same ?

It is in this case as the value you have is the same as the default.

-David


Re: Optimizing the OpenEjb modules discovery

Posted by Quintin Beukes <qu...@skywalk.co.za>.
They don't work the same because you're using patterns/regular expressions
to do the matching. Do something like:
openejb.deployments.classpath.include=file:/{1,3}G:/data/eclipse/workspace_0/my-serveur/build/classes/

This wil allow a file:/ with 1, 2 OR 3 slashes.

Quintin Beukes


On Tue, Nov 3, 2009 at 6:30 PM, hypnosat7 <ab...@yahoo.fr> wrote:

>
> Excellent !!
> It works with:
>
> openejb.deployments.classpath.include=file:/G:/data/eclipse/workspace_0/my-serveur/build/classes/
> openejb.deployments.classpath.exclude=.*
>
> But not with :
>
> openejb.deployments.classpath.include=file:///G:/data/eclipse/workspace_0/my-serveur/build/classes/
> openejb.deployments.classpath.exclude=.*
>
> Why ?
>
> And if I remove the "exclude" property is it the same ?
>
> Thanks
>
> Quintin Beukes-2 wrote:
> >
> > Can you please paste the settings with which you are setting up these
> > excludes? Are you using the quotes in the settings, for ex it says:
> > INFO - Using 'openejb.deployments.classpath.exclude=".*"'
> >
> > That looks like your setting the property as:
> > openejb.deployments.classpath.exclude=".*"
> >
> > Try setting it as:
> > openejb.deployments.classpath.exclude=.*
> >
> > Quintin Beukes
> >
> >
> > On Sat, Oct 24, 2009 at 7:40 PM, hypnosat7 <ab...@yahoo.fr> wrote:
> >
> >>
> >> I've copy/paste what you've proposed but my ejbs still being discovered.
> >> In
> >> fact I have 2 different projects, one for the test and the other formy
> >> ejbs.
> >> The test project is referencing the ejb project. I put the
> >> jndi.properties
> >> file in the test project. I've also tried to put this file in both, but
> >> no
> >> way:,(
> >>
> >> This is the output:
> >> 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=""'
> >> 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'
> >> WARN - Inspecting classpath for applications: 78 urls.
> >> WARN - ADJUST THE EXCLUDE/INCLUDE!!!.  Current settings:
> >> openejb.deployments.classpath.exclude='".*"',
> >> 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 6696 milliseconds.  Average 85
> >> milliseconds per url.
> >> WARN - Consider adjusting your openejb.deployments.classpath.exclude and
> >> openejb.deployments.classpath.include settings.  Current settings:
> >> exclude='".*"', 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.eclipse.persistence.jpa.PersistenceProvider)
> >> 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-8653392470350675266bin.xml
> >> INFO - Dumping Generated openejb-jar.xml to:
> >>
> C:\Users\ELARBI~1\AppData\Local\Temp\openejb-jar-2646860971308971129bin.xml
> >> INFO - Using 'openejb.descriptors.output=true'
> >> INFO - Dumping Generated ejb-jar.xml to:
> >>
> C:\Users\ELARBI~1\AppData\Local\Temp\ejb-jar-3949315494677255611classes.xml
> >> INFO - Dumping Generated openejb-jar.xml to:
> >>
> >>
> C:\Users\ELARBI~1\AppData\Local\Temp\openejb-jar-6700058807329760686classes.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
> >>
> >>
> eclipselink.target-server=org.apache.openejb.eclipselink.JTATransactionController
> >> 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 - PersistenceUnit(name=educaPU,
> >> provider=org.eclipse.persistence.jpa.PersistenceProvider)
> >> 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
> >> DEBUG - Using default
> >>
> >>
> 'openejb.jndiname.strategy.class=org.apache.openejb.assembler.classic.JndiBuilder$TemplatedStrategy'
> >> INFO - Using
> >> 'openejb.jndiname.format={ejbName}/{interfaceType.annotationName}'
> >> DEBUG - Using default
> >>
> >>
> 'openejb.jndiname.strategy.class=org.apache.openejb.assembler.classic.JndiBuilder$TemplatedStrategy'
> >> INFO - Using
> >> 'openejb.jndiname.format={ejbName}/{interfaceType.annotationName}'
> >> DEBUG - Using default 'openejb.localcopy=true'
> >> INFO - Jndi(name=ConfigurationBean/Remote) -->
> >> Ejb(deployment-id=ConfigurationBean)
> >> INFO - Jndi(name=AnnuaireBean/Remote) -->
> Ejb(deployment-id=AnnuaireBean)
> >> INFO - Jndi(name=RessourceBean/Remote) -->
> >> Ejb(deployment-id=RessourceBean)
> >> INFO - Jndi(name=InscriptionBean/Remote) -->
> >> Ejb(deployment-id=InscriptionBean)
> >> INFO - Jndi(name=ScolariteBean/Remote) -->
> >> Ejb(deployment-id=ScolariteBean)
> >> INFO - Jndi(name=RessourceWS/Remote) --> Ejb(deployment-id=RessourceWS)
> >> INFO - Jndi(name=ScolariteWS/Remote) --> Ejb(deployment-id=ScolariteWS)
> >> INFO - Created Ejb(deployment-id=ScolariteBean, ejb-name=ScolariteBean,
> >> container=Default Stateless Container)
> >> INFO - Created Ejb(deployment-id=RessourceWS, ejb-name=RessourceWS,
> >> container=Default Stateless Container)
> >> INFO - Created Ejb(deployment-id=InscriptionBean,
> >> ejb-name=InscriptionBean,
> >> container=Default Stateless Container)
> >> INFO - Created Ejb(deployment-id=RessourceBean, ejb-name=RessourceBean,
> >> container=Default Stateless Container)
> >> INFO - Created Ejb(deployment-id=ScolariteWS, ejb-name=ScolariteWS,
> >> container=Default Stateless Container)
> >> INFO - Created Ejb(deployment-id=ConfigurationBean,
> >> ejb-name=ConfigurationBean, container=Default Stateless Container)
> >> INFO - Created Ejb(deployment-id=AnnuaireBean, ejb-name=AnnuaireBean,
> >> container=Default Stateless Container)
> >> INFO - Deployed Application(path=classpath.ear)
> >> DEBUG - Containers        : 1
> >> DEBUG - Type        Container ID
> >> DEBUG -    STATELESS   Default Stateless Container
> >> DEBUG - Deployments       : 7
> >> DEBUG - Type        Deployment ID
> >> DEBUG -    STATELESS   AnnuaireBean
> >> DEBUG -    STATELESS   InscriptionBean
> >> DEBUG -    STATELESS   ScolariteBean
> >> DEBUG -    STATELESS   ScolariteWS
> >> DEBUG -    STATELESS   RessourceWS
> >> DEBUG -    STATELESS   RessourceBean
> >> DEBUG -    STATELESS   ConfigurationBean
> >> DEBUG - SecurityService   :
> >> org.apache.openejb.core.security.SecurityServiceImpl
> >> DEBUG - TransactionManager:
> >> org.apache.geronimo.transaction.manager.GeronimoTransactionManager
> >> DEBUG - OpenEJB Container System ready.
> >> [EL Info]: 2009-10-24 18:36:13.028--ServerSession(1056169)--EclipseLink,
> >> version: Eclipse Persistence Services - 1.1.2.v20090612-r4475
> >> [EL Info]: 2009-10-24
> >>
> >>
> 18:36:13.976--ServerSession(1056169)--file:/G:/data/eclipse/workspace_0/Educa-serveur/build/classes/-educaPU
> >> login successful
> >> [EL Warning]: 2009-10-24 18:36:14.792--ServerSession(1056169)--Exception
> >> [EclipseLink-4002] (Eclipse Persistence Services -
> >> 1.1.2.v20090612-r4475):
> >> org.eclipse.persistence.exceptions.DatabaseException
> >> Internal Exception: java.sql.SQLException: ORA-00955: ce nom d'objet
> >> existe
> >> déjà
> >>
> >> Error Code: 955
> >> Call: CREATE TABLE SEQUENCE (SEQ_NAME VARCHAR2(50) NOT NULL, SEQ_COUNT
> >> NUMBER(38) NULL, PRIMARY KEY (SEQ_NAME))
> >> Query: DataModifyQuery(sql="CREATE TABLE SEQUENCE (SEQ_NAME VARCHAR2(50)
> >> NOT
> >> NULL, SEQ_COUNT NUMBER(38) NULL, PRIMARY KEY (SEQ_NAME))")
> >>
> >>
> >> Quintin Beukes-2 wrote:
> >> >
> >> > These have to work.
> >> >
> >> > It looks like all 3 the necessary properties are being detected, so
> >> > you're specifying them in the correct place (system property or IC
> >> > environment). The only explanation could be that the values aren't
> >> > just right yet.
> >> >
> >> > So, set the following and see if it works:
> >> > openejb.deployments.classpath.filter.descriptors=true
> >> > openejb.deployments.classpath.include=""
> >> > openejb.deployments.classpath.exclude=".*"
> >> >
> >> > What happens when you specify the above. It should then not load
> >> > ANYTHING. If it works, you can start adjusting it till satisfied.
> >> >
> >> > You should remember that it is a regular expression on the URL, so
> >> > specify like "file:///c:/path/to/classes/.*"
> >> >
> >> > Also, if the libs is under your build/ directory, that would explain
> >> > why it finds it.
> >> >
> >> > Lastly, neither of these options take precedence. A list of urls are
> >> > taken, on which the excludes are run to give a list, then the includes
> >> > are run to give a list. These 2 lists are then combined and used as
> >> > the list of classpaths to scan. So you can choose to use both, or only
> >> > one. If you want to use ONLY includes, then use the exclude from above
> >> > with your own include. If you want to use ONLY excludes, do the same,
> >> > but the other way around.
> >> >
> >> > Also, if you're still not finding love, send your complete OpenEJB
> >> output.
> >> >
> >> > Q
> >> >
> >> > On Sat, Oct 24, 2009 at 3:47 PM, hypnosat7 <ab...@yahoo.fr> wrote:
> >> >>
> >> >> No change !
> >> >> I still got the message :
> >> >> WARN - Searched 78 classpath urls in 6917 milliseconds.  Average 88
> >> >> milliseconds per url.
> >> >> WARN - Consider adjusting your openejb.deployments.classpath.exclude
> >> and
> >> >> openejb.deployments.classpath.include settings.  Current settings:
> >> >> exclude='".*"',
> >> >> include='"G:/data/eclipse/workspace_0/Educa-serveur/build/.*"'
> >> >>
> >> >>
> >> >> Jean-Louis MONTEIRO wrote:
> >> >>>
> >> >>> Hi,
> >> >>>
> >> >>> try adding this property
> >> >>>
> >> >>> openejb.deployments.classpath.filter.descriptors=true
> >> >>>
> >> >>> Jean-Louis
> >> >>>
> >> >>>
> >> >>> hypnosat7 wrote:
> >> >>>>
> >> >>>> Hello,
> >> >>>>
> >> >>>>   I'm looking for a way to make my tests runing quickly. When I see
> >> the
> >> >>>> log trace of my test run, there's a lot of things done by OpenEjb
> >> >>>> (dicovering clientModule, checking for ejbs in the JBoss jars!,
> >> ...).
> >> >>>> How
> >> >>>> can I say to OpenEJB to look for ejbs only in a path of my choice ?
> >> >>>>
> >> >>>> In fact I've tried this:
> >> >>>> openejb.deployments.classpath.exclude = ".*"
> >> >>>> openejb.deployments.classpath.include =
> >> >>>> "G:/data/eclipse/workspace_0/Educa-serveur/build/.*"
> >> >>>>
> >> >>>> But when I run my test I'm still seing:
> >> >>>> WARN - Inspecting classpath for applications: 78 urls.
> >> >>>> WARN - ADJUST THE EXCLUDE/INCLUDE!!!.  Current settings:
> >> >>>> openejb.deployments.classpath.exclude='".*"',
> >> >>>>
> >>
> openejb.deployments.classpath.include='"G:/data/eclipse/workspace_0/Educa-serveur/build/.*"'
> >> >>>>
> >> >>>
> >> >>>
> >> >>
> >> >> --
> >> >> View this message in context:
> >> >>
> >>
> http://www.nabble.com/Optimizing-the-OpenEjb-modules-discovery-tp26036547p26039164.html
> >> >> Sent from the OpenEJB User mailing list archive at Nabble.com.
> >> >>
> >> >>
> >> >
> >> >
> >>
> >> --
> >> View this message in context:
> >>
> http://www.nabble.com/Optimizing-the-OpenEjb-modules-discovery-tp26036547p26041296.html
> >> Sent from the OpenEJB User mailing list archive at Nabble.com.
> >>
> >>
> >
> >
>
> --
> View this message in context:
> http://old.nabble.com/Optimizing-the-OpenEjb-modules-discovery-tp26036547p26160441.html
> Sent from the OpenEJB User mailing list archive at Nabble.com.
>
>

Re: Optimizing the OpenEjb modules discovery

Posted by hypnosat7 <ab...@yahoo.fr>.
Excellent !!
It works with:
openejb.deployments.classpath.include=file:/G:/data/eclipse/workspace_0/my-serveur/build/classes/
openejb.deployments.classpath.exclude=.*

But not with :
openejb.deployments.classpath.include=file:///G:/data/eclipse/workspace_0/my-serveur/build/classes/
openejb.deployments.classpath.exclude=.*

Why ?

And if I remove the "exclude" property is it the same ?

Thanks

Quintin Beukes-2 wrote:
> 
> Can you please paste the settings with which you are setting up these
> excludes? Are you using the quotes in the settings, for ex it says:
> INFO - Using 'openejb.deployments.classpath.exclude=".*"'
> 
> That looks like your setting the property as:
> openejb.deployments.classpath.exclude=".*"
> 
> Try setting it as:
> openejb.deployments.classpath.exclude=.*
> 
> Quintin Beukes
> 
> 
> On Sat, Oct 24, 2009 at 7:40 PM, hypnosat7 <ab...@yahoo.fr> wrote:
> 
>>
>> I've copy/paste what you've proposed but my ejbs still being discovered.
>> In
>> fact I have 2 different projects, one for the test and the other formy
>> ejbs.
>> The test project is referencing the ejb project. I put the
>> jndi.properties
>> file in the test project. I've also tried to put this file in both, but
>> no
>> way:,(
>>
>> This is the output:
>> 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=""'
>> 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'
>> WARN - Inspecting classpath for applications: 78 urls.
>> WARN - ADJUST THE EXCLUDE/INCLUDE!!!.  Current settings:
>> openejb.deployments.classpath.exclude='".*"',
>> 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 6696 milliseconds.  Average 85
>> milliseconds per url.
>> WARN - Consider adjusting your openejb.deployments.classpath.exclude and
>> openejb.deployments.classpath.include settings.  Current settings:
>> exclude='".*"', 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.eclipse.persistence.jpa.PersistenceProvider)
>> 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-8653392470350675266bin.xml
>> INFO - Dumping Generated openejb-jar.xml to:
>> C:\Users\ELARBI~1\AppData\Local\Temp\openejb-jar-2646860971308971129bin.xml
>> INFO - Using 'openejb.descriptors.output=true'
>> INFO - Dumping Generated ejb-jar.xml to:
>> C:\Users\ELARBI~1\AppData\Local\Temp\ejb-jar-3949315494677255611classes.xml
>> INFO - Dumping Generated openejb-jar.xml to:
>>
>> C:\Users\ELARBI~1\AppData\Local\Temp\openejb-jar-6700058807329760686classes.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
>>
>> eclipselink.target-server=org.apache.openejb.eclipselink.JTATransactionController
>> 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 - PersistenceUnit(name=educaPU,
>> provider=org.eclipse.persistence.jpa.PersistenceProvider)
>> 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
>> DEBUG - Using default
>>
>> 'openejb.jndiname.strategy.class=org.apache.openejb.assembler.classic.JndiBuilder$TemplatedStrategy'
>> INFO - Using
>> 'openejb.jndiname.format={ejbName}/{interfaceType.annotationName}'
>> DEBUG - Using default
>>
>> 'openejb.jndiname.strategy.class=org.apache.openejb.assembler.classic.JndiBuilder$TemplatedStrategy'
>> INFO - Using
>> 'openejb.jndiname.format={ejbName}/{interfaceType.annotationName}'
>> DEBUG - Using default 'openejb.localcopy=true'
>> INFO - Jndi(name=ConfigurationBean/Remote) -->
>> Ejb(deployment-id=ConfigurationBean)
>> INFO - Jndi(name=AnnuaireBean/Remote) --> Ejb(deployment-id=AnnuaireBean)
>> INFO - Jndi(name=RessourceBean/Remote) -->
>> Ejb(deployment-id=RessourceBean)
>> INFO - Jndi(name=InscriptionBean/Remote) -->
>> Ejb(deployment-id=InscriptionBean)
>> INFO - Jndi(name=ScolariteBean/Remote) -->
>> Ejb(deployment-id=ScolariteBean)
>> INFO - Jndi(name=RessourceWS/Remote) --> Ejb(deployment-id=RessourceWS)
>> INFO - Jndi(name=ScolariteWS/Remote) --> Ejb(deployment-id=ScolariteWS)
>> INFO - Created Ejb(deployment-id=ScolariteBean, ejb-name=ScolariteBean,
>> container=Default Stateless Container)
>> INFO - Created Ejb(deployment-id=RessourceWS, ejb-name=RessourceWS,
>> container=Default Stateless Container)
>> INFO - Created Ejb(deployment-id=InscriptionBean,
>> ejb-name=InscriptionBean,
>> container=Default Stateless Container)
>> INFO - Created Ejb(deployment-id=RessourceBean, ejb-name=RessourceBean,
>> container=Default Stateless Container)
>> INFO - Created Ejb(deployment-id=ScolariteWS, ejb-name=ScolariteWS,
>> container=Default Stateless Container)
>> INFO - Created Ejb(deployment-id=ConfigurationBean,
>> ejb-name=ConfigurationBean, container=Default Stateless Container)
>> INFO - Created Ejb(deployment-id=AnnuaireBean, ejb-name=AnnuaireBean,
>> container=Default Stateless Container)
>> INFO - Deployed Application(path=classpath.ear)
>> DEBUG - Containers        : 1
>> DEBUG - Type        Container ID
>> DEBUG -    STATELESS   Default Stateless Container
>> DEBUG - Deployments       : 7
>> DEBUG - Type        Deployment ID
>> DEBUG -    STATELESS   AnnuaireBean
>> DEBUG -    STATELESS   InscriptionBean
>> DEBUG -    STATELESS   ScolariteBean
>> DEBUG -    STATELESS   ScolariteWS
>> DEBUG -    STATELESS   RessourceWS
>> DEBUG -    STATELESS   RessourceBean
>> DEBUG -    STATELESS   ConfigurationBean
>> DEBUG - SecurityService   :
>> org.apache.openejb.core.security.SecurityServiceImpl
>> DEBUG - TransactionManager:
>> org.apache.geronimo.transaction.manager.GeronimoTransactionManager
>> DEBUG - OpenEJB Container System ready.
>> [EL Info]: 2009-10-24 18:36:13.028--ServerSession(1056169)--EclipseLink,
>> version: Eclipse Persistence Services - 1.1.2.v20090612-r4475
>> [EL Info]: 2009-10-24
>>
>> 18:36:13.976--ServerSession(1056169)--file:/G:/data/eclipse/workspace_0/Educa-serveur/build/classes/-educaPU
>> login successful
>> [EL Warning]: 2009-10-24 18:36:14.792--ServerSession(1056169)--Exception
>> [EclipseLink-4002] (Eclipse Persistence Services -
>> 1.1.2.v20090612-r4475):
>> org.eclipse.persistence.exceptions.DatabaseException
>> Internal Exception: java.sql.SQLException: ORA-00955: ce nom d'objet
>> existe
>> déjà
>>
>> Error Code: 955
>> Call: CREATE TABLE SEQUENCE (SEQ_NAME VARCHAR2(50) NOT NULL, SEQ_COUNT
>> NUMBER(38) NULL, PRIMARY KEY (SEQ_NAME))
>> Query: DataModifyQuery(sql="CREATE TABLE SEQUENCE (SEQ_NAME VARCHAR2(50)
>> NOT
>> NULL, SEQ_COUNT NUMBER(38) NULL, PRIMARY KEY (SEQ_NAME))")
>>
>>
>> Quintin Beukes-2 wrote:
>> >
>> > These have to work.
>> >
>> > It looks like all 3 the necessary properties are being detected, so
>> > you're specifying them in the correct place (system property or IC
>> > environment). The only explanation could be that the values aren't
>> > just right yet.
>> >
>> > So, set the following and see if it works:
>> > openejb.deployments.classpath.filter.descriptors=true
>> > openejb.deployments.classpath.include=""
>> > openejb.deployments.classpath.exclude=".*"
>> >
>> > What happens when you specify the above. It should then not load
>> > ANYTHING. If it works, you can start adjusting it till satisfied.
>> >
>> > You should remember that it is a regular expression on the URL, so
>> > specify like "file:///c:/path/to/classes/.*"
>> >
>> > Also, if the libs is under your build/ directory, that would explain
>> > why it finds it.
>> >
>> > Lastly, neither of these options take precedence. A list of urls are
>> > taken, on which the excludes are run to give a list, then the includes
>> > are run to give a list. These 2 lists are then combined and used as
>> > the list of classpaths to scan. So you can choose to use both, or only
>> > one. If you want to use ONLY includes, then use the exclude from above
>> > with your own include. If you want to use ONLY excludes, do the same,
>> > but the other way around.
>> >
>> > Also, if you're still not finding love, send your complete OpenEJB
>> output.
>> >
>> > Q
>> >
>> > On Sat, Oct 24, 2009 at 3:47 PM, hypnosat7 <ab...@yahoo.fr> wrote:
>> >>
>> >> No change !
>> >> I still got the message :
>> >> WARN - Searched 78 classpath urls in 6917 milliseconds.  Average 88
>> >> milliseconds per url.
>> >> WARN - Consider adjusting your openejb.deployments.classpath.exclude
>> and
>> >> openejb.deployments.classpath.include settings.  Current settings:
>> >> exclude='".*"',
>> >> include='"G:/data/eclipse/workspace_0/Educa-serveur/build/.*"'
>> >>
>> >>
>> >> Jean-Louis MONTEIRO wrote:
>> >>>
>> >>> Hi,
>> >>>
>> >>> try adding this property
>> >>>
>> >>> openejb.deployments.classpath.filter.descriptors=true
>> >>>
>> >>> Jean-Louis
>> >>>
>> >>>
>> >>> hypnosat7 wrote:
>> >>>>
>> >>>> Hello,
>> >>>>
>> >>>>   I'm looking for a way to make my tests runing quickly. When I see
>> the
>> >>>> log trace of my test run, there's a lot of things done by OpenEjb
>> >>>> (dicovering clientModule, checking for ejbs in the JBoss jars!,
>> ...).
>> >>>> How
>> >>>> can I say to OpenEJB to look for ejbs only in a path of my choice ?
>> >>>>
>> >>>> In fact I've tried this:
>> >>>> openejb.deployments.classpath.exclude = ".*"
>> >>>> openejb.deployments.classpath.include =
>> >>>> "G:/data/eclipse/workspace_0/Educa-serveur/build/.*"
>> >>>>
>> >>>> But when I run my test I'm still seing:
>> >>>> WARN - Inspecting classpath for applications: 78 urls.
>> >>>> WARN - ADJUST THE EXCLUDE/INCLUDE!!!.  Current settings:
>> >>>> openejb.deployments.classpath.exclude='".*"',
>> >>>>
>> openejb.deployments.classpath.include='"G:/data/eclipse/workspace_0/Educa-serveur/build/.*"'
>> >>>>
>> >>>
>> >>>
>> >>
>> >> --
>> >> View this message in context:
>> >>
>> http://www.nabble.com/Optimizing-the-OpenEjb-modules-discovery-tp26036547p26039164.html
>> >> Sent from the OpenEJB User mailing list archive at Nabble.com.
>> >>
>> >>
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Optimizing-the-OpenEjb-modules-discovery-tp26036547p26041296.html
>> Sent from the OpenEJB User mailing list archive at Nabble.com.
>>
>>
> 
> 

-- 
View this message in context: http://old.nabble.com/Optimizing-the-OpenEjb-modules-discovery-tp26036547p26160441.html
Sent from the OpenEJB User mailing list archive at Nabble.com.


Re: Optimizing the OpenEjb modules discovery

Posted by David Blevins <da...@visi.com>.
On Nov 3, 2009, at 11:44 AM, Quintin Beukes wrote:

> Quintin Beukes
>
>> Stripping them off, logging a warning that we did so, and including  
>> the
>> configurable flag in the warning seems like the way to go.  We  
>> might want to
>> do that for all properties.
>>
>
> Since reading Properties literally, quotes and all, is standard  
> (because
> they are handled on a line-by-line basis), it might be a good idea to
> implement this as a sort of "extension" on the standard OpenEJB,  
> then make
> the configuration flag default to "enabled=true". This way it can be  
> seen,
> when "enabled=false" that the extension is disabled, leaving a  
> "cleaner"
> OpenEJB. So it can be viewed as OpenEJB itself following the Java
> conventions/standards, with an extension to add the "slash stripping"
> functionality.
>
> It doesn't really make a difference to the functionality. I just  
> thought i'd
> suggest it. It comes down to viewpoint, so instead of "enabling the  
> standard
> way", you "disable the non-standard way extension". Even though it's  
> enabled
> by default, it seems a bit more acceptable for extensions to break  
> away from
> the standards, instead of extensions enforcing the standards.
>
> I don't know how to explain my justification for this, so I hope you
> understand.

Right, so I was thinking we could add the quote-stripping logic right  
into our SuperProperties class.  It has some other neat things like  
case-insensitive keys and whatnot.

The flag we can add elsewhere.  Finding a good name for the flag is  
always a trick. "openejb.properties.unquote" or something?

The part that isn't clear to me is where to put the logging.   
SuperProperties is designed to be a simple utility and not dependent  
on an logging, it's actually used far before logging is even "running"  
so to speak.  Some ideas there would be great.  Maybe the quote  
stripping logic is best done elsewhere?

Anyway, brainstorming as well.

-David


Re: Optimizing the OpenEjb modules discovery

Posted by Quintin Beukes <qu...@skywalk.co.za>.
Quintin Beukes

> Stripping them off, logging a warning that we did so, and including the
> configurable flag in the warning seems like the way to go.  We might want to
> do that for all properties.
>

Since reading Properties literally, quotes and all, is standard (because
they are handled on a line-by-line basis), it might be a good idea to
implement this as a sort of "extension" on the standard OpenEJB, then make
the configuration flag default to "enabled=true". This way it can be seen,
when "enabled=false" that the extension is disabled, leaving a "cleaner"
OpenEJB. So it can be viewed as OpenEJB itself following the Java
conventions/standards, with an extension to add the "slash stripping"
functionality.

It doesn't really make a difference to the functionality. I just thought i'd
suggest it. It comes down to viewpoint, so instead of "enabling the standard
way", you "disable the non-standard way extension". Even though it's enabled
by default, it seems a bit more acceptable for extensions to break away from
the standards, instead of extensions enforcing the standards.

I don't know how to explain my justification for this, so I hope you
understand.

Q

Re: Optimizing the OpenEjb modules discovery

Posted by David Blevins <da...@visi.com>.
On Nov 2, 2009, at 1:11 AM, Quintin Beukes wrote:

> David: Maybe a warning should be printed when using quotes? I think a
> warning is a better option than ignoring the quotes, for the odd  
> occasion
> where someone actually meant to include the quotes? Something like:  
> "WARN:
> Your exclude/include pattern is surrounded by quotes. Quotes are  
> interpreted
> literally and will be treated as part of the pattern. If you did not  
> intend
> your patterns might not work correctly."

Absolutely, doing something here would be a good idea.  Certainly the  
quote thing threw me off.  Very good catch on your part.

The standard way I like to slice and dice these kinds of situations is  
to make the behavior configurable and set the default to favor the  
majority.

Stripping them off, logging a warning that we did so, and including  
the configurable flag in the warning seems like the way to go.  We  
might want to do that for all properties.

Now that I think about it I've done the quote thing myself thinking  
that they'll be "understood" by java.util.Properties, which they aren't.

Kicking this over to dev@ so we can chat about how to roll this out.

-David









Re: Optimizing the OpenEjb modules discovery

Posted by Quintin Beukes <qu...@skywalk.co.za>.
Hey,

I think this might just be the problem! I just tried it with and without
quotes, and with quotes the exclude has no effect, because it interprets the
quotes as part of the pattern :> Sorry for not noticing it earlier. I
figured it was fine when you listed your properties and didn't correct this.
I really didn't think it would be like this, though it's a commonly accepted
way of doing it. In Java, properties are interpreted on a line by line
basis, so quotes aren't needed to enclose a property's value.

I'm sure if you remove your quotes to leave the following, all will be
excluded:
openejb.deployments.classpath.filter.descriptors=true
openejb.deployments.classpath.include=
openejb.deployments.classpath.exclude=.*

And updating your own patterns to not use quotes, you should get the desired
effect.

David: Maybe a warning should be printed when using quotes? I think a
warning is a better option than ignoring the quotes, for the odd occasion
where someone actually meant to include the quotes? Something like: "WARN:
Your exclude/include pattern is surrounded by quotes. Quotes are interpreted
literally and will be treated as part of the pattern. If you did not intend
your patterns might not work correctly."

Quintin Beukes


On Mon, Nov 2, 2009 at 10:36 AM, Quintin Beukes <qu...@skywalk.co.za>wrote:

> Can you please paste the settings with which you are setting up these
> excludes? Are you using the quotes in the settings, for ex it says:
> INFO - Using 'openejb.deployments.classpath.exclude=".*"'
>
> That looks like your setting the property as:
> openejb.deployments.classpath.exclude=".*"
>
> Try setting it as:
> openejb.deployments.classpath.exclude=.*
>
> Quintin Beukes
>
>
>
> On Sat, Oct 24, 2009 at 7:40 PM, hypnosat7 <ab...@yahoo.fr> wrote:
>
>>
>> I've copy/paste what you've proposed but my ejbs still being discovered.
>> In
>> fact I have 2 different projects, one for the test and the other formy
>> ejbs.
>> The test project is referencing the ejb project. I put the jndi.properties
>> file in the test project. I've also tried to put this file in both, but no
>> way:,(
>>
>> This is the output:
>> 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=""'
>> 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'
>> WARN - Inspecting classpath for applications: 78 urls.
>> WARN - ADJUST THE EXCLUDE/INCLUDE!!!.  Current settings:
>> openejb.deployments.classpath.exclude='".*"',
>> 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 6696 milliseconds.  Average 85
>> milliseconds per url.
>> WARN - Consider adjusting your openejb.deployments.classpath.exclude and
>> openejb.deployments.classpath.include settings.  Current settings:
>> exclude='".*"', 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.eclipse.persistence.jpa.PersistenceProvider)
>> 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-8653392470350675266bin.xml
>> INFO - Dumping Generated openejb-jar.xml to:
>>
>> C:\Users\ELARBI~1\AppData\Local\Temp\openejb-jar-2646860971308971129bin.xml
>> INFO - Using 'openejb.descriptors.output=true'
>> INFO - Dumping Generated ejb-jar.xml to:
>>
>> C:\Users\ELARBI~1\AppData\Local\Temp\ejb-jar-3949315494677255611classes.xml
>> INFO - Dumping Generated openejb-jar.xml to:
>>
>> C:\Users\ELARBI~1\AppData\Local\Temp\openejb-jar-6700058807329760686classes.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
>>
>> eclipselink.target-server=org.apache.openejb.eclipselink.JTATransactionController
>> 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 - PersistenceUnit(name=educaPU,
>> provider=org.eclipse.persistence.jpa.PersistenceProvider)
>> 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
>> DEBUG - Using default
>>
>> 'openejb.jndiname.strategy.class=org.apache.openejb.assembler.classic.JndiBuilder$TemplatedStrategy'
>> INFO - Using
>> 'openejb.jndiname.format={ejbName}/{interfaceType.annotationName}'
>> DEBUG - Using default
>>
>> 'openejb.jndiname.strategy.class=org.apache.openejb.assembler.classic.JndiBuilder$TemplatedStrategy'
>> INFO - Using
>> 'openejb.jndiname.format={ejbName}/{interfaceType.annotationName}'
>> DEBUG - Using default 'openejb.localcopy=true'
>> INFO - Jndi(name=ConfigurationBean/Remote) -->
>> Ejb(deployment-id=ConfigurationBean)
>> INFO - Jndi(name=AnnuaireBean/Remote) --> Ejb(deployment-id=AnnuaireBean)
>> INFO - Jndi(name=RessourceBean/Remote) -->
>> Ejb(deployment-id=RessourceBean)
>> INFO - Jndi(name=InscriptionBean/Remote) -->
>> Ejb(deployment-id=InscriptionBean)
>> INFO - Jndi(name=ScolariteBean/Remote) -->
>> Ejb(deployment-id=ScolariteBean)
>> INFO - Jndi(name=RessourceWS/Remote) --> Ejb(deployment-id=RessourceWS)
>> INFO - Jndi(name=ScolariteWS/Remote) --> Ejb(deployment-id=ScolariteWS)
>> INFO - Created Ejb(deployment-id=ScolariteBean, ejb-name=ScolariteBean,
>> container=Default Stateless Container)
>> INFO - Created Ejb(deployment-id=RessourceWS, ejb-name=RessourceWS,
>> container=Default Stateless Container)
>> INFO - Created Ejb(deployment-id=InscriptionBean,
>> ejb-name=InscriptionBean,
>> container=Default Stateless Container)
>> INFO - Created Ejb(deployment-id=RessourceBean, ejb-name=RessourceBean,
>> container=Default Stateless Container)
>> INFO - Created Ejb(deployment-id=ScolariteWS, ejb-name=ScolariteWS,
>> container=Default Stateless Container)
>> INFO - Created Ejb(deployment-id=ConfigurationBean,
>> ejb-name=ConfigurationBean, container=Default Stateless Container)
>> INFO - Created Ejb(deployment-id=AnnuaireBean, ejb-name=AnnuaireBean,
>> container=Default Stateless Container)
>> INFO - Deployed Application(path=classpath.ear)
>> DEBUG - Containers        : 1
>> DEBUG - Type        Container ID
>> DEBUG -    STATELESS   Default Stateless Container
>> DEBUG - Deployments       : 7
>> DEBUG - Type        Deployment ID
>> DEBUG -    STATELESS   AnnuaireBean
>> DEBUG -    STATELESS   InscriptionBean
>> DEBUG -    STATELESS   ScolariteBean
>> DEBUG -    STATELESS   ScolariteWS
>> DEBUG -    STATELESS   RessourceWS
>> DEBUG -    STATELESS   RessourceBean
>> DEBUG -    STATELESS   ConfigurationBean
>> DEBUG - SecurityService   :
>> org.apache.openejb.core.security.SecurityServiceImpl
>> DEBUG - TransactionManager:
>> org.apache.geronimo.transaction.manager.GeronimoTransactionManager
>> DEBUG - OpenEJB Container System ready.
>> [EL Info]: 2009-10-24 18:36:13.028--ServerSession(1056169)--EclipseLink,
>> version: Eclipse Persistence Services - 1.1.2.v20090612-r4475
>> [EL Info]: 2009-10-24
>>
>> 18:36:13.976--ServerSession(1056169)--file:/G:/data/eclipse/workspace_0/Educa-serveur/build/classes/-educaPU
>> login successful
>> [EL Warning]: 2009-10-24 18:36:14.792--ServerSession(1056169)--Exception
>> [EclipseLink-4002] (Eclipse Persistence Services - 1.1.2.v20090612-r4475):
>> org.eclipse.persistence.exceptions.DatabaseException
>> Internal Exception: java.sql.SQLException: ORA-00955: ce nom d'objet
>> existe
>> déjà
>>
>> Error Code: 955
>> Call: CREATE TABLE SEQUENCE (SEQ_NAME VARCHAR2(50) NOT NULL, SEQ_COUNT
>> NUMBER(38) NULL, PRIMARY KEY (SEQ_NAME))
>> Query: DataModifyQuery(sql="CREATE TABLE SEQUENCE (SEQ_NAME VARCHAR2(50)
>> NOT
>> NULL, SEQ_COUNT NUMBER(38) NULL, PRIMARY KEY (SEQ_NAME))")
>>
>>
>> Quintin Beukes-2 wrote:
>> >
>> > These have to work.
>> >
>> > It looks like all 3 the necessary properties are being detected, so
>> > you're specifying them in the correct place (system property or IC
>> > environment). The only explanation could be that the values aren't
>> > just right yet.
>> >
>> > So, set the following and see if it works:
>> > openejb.deployments.classpath.filter.descriptors=true
>> > openejb.deployments.classpath.include=""
>> > openejb.deployments.classpath.exclude=".*"
>> >
>> > What happens when you specify the above. It should then not load
>> > ANYTHING. If it works, you can start adjusting it till satisfied.
>> >
>> > You should remember that it is a regular expression on the URL, so
>> > specify like "file:///c:/path/to/classes/.*"
>> >
>> > Also, if the libs is under your build/ directory, that would explain
>> > why it finds it.
>> >
>> > Lastly, neither of these options take precedence. A list of urls are
>> > taken, on which the excludes are run to give a list, then the includes
>> > are run to give a list. These 2 lists are then combined and used as
>> > the list of classpaths to scan. So you can choose to use both, or only
>> > one. If you want to use ONLY includes, then use the exclude from above
>> > with your own include. If you want to use ONLY excludes, do the same,
>> > but the other way around.
>> >
>> > Also, if you're still not finding love, send your complete OpenEJB
>> output.
>> >
>> > Q
>> >
>> > On Sat, Oct 24, 2009 at 3:47 PM, hypnosat7 <ab...@yahoo.fr> wrote:
>> >>
>> >> No change !
>> >> I still got the message :
>> >> WARN - Searched 78 classpath urls in 6917 milliseconds.  Average 88
>> >> milliseconds per url.
>> >> WARN - Consider adjusting your openejb.deployments.classpath.exclude
>> and
>> >> openejb.deployments.classpath.include settings.  Current settings:
>> >> exclude='".*"',
>> >> include='"G:/data/eclipse/workspace_0/Educa-serveur/build/.*"'
>> >>
>> >>
>> >> Jean-Louis MONTEIRO wrote:
>> >>>
>> >>> Hi,
>> >>>
>> >>> try adding this property
>> >>>
>> >>> openejb.deployments.classpath.filter.descriptors=true
>> >>>
>> >>> Jean-Louis
>> >>>
>> >>>
>> >>> hypnosat7 wrote:
>> >>>>
>> >>>> Hello,
>> >>>>
>> >>>>   I'm looking for a way to make my tests runing quickly. When I see
>> the
>> >>>> log trace of my test run, there's a lot of things done by OpenEjb
>> >>>> (dicovering clientModule, checking for ejbs in the JBoss jars!, ...).
>> >>>> How
>> >>>> can I say to OpenEJB to look for ejbs only in a path of my choice ?
>> >>>>
>> >>>> In fact I've tried this:
>> >>>> openejb.deployments.classpath.exclude = ".*"
>> >>>> openejb.deployments.classpath.include =
>> >>>> "G:/data/eclipse/workspace_0/Educa-serveur/build/.*"
>> >>>>
>> >>>> But when I run my test I'm still seing:
>> >>>> WARN - Inspecting classpath for applications: 78 urls.
>> >>>> WARN - ADJUST THE EXCLUDE/INCLUDE!!!.  Current settings:
>> >>>> openejb.deployments.classpath.exclude='".*"',
>> >>>>
>> openejb.deployments.classpath.include='"G:/data/eclipse/workspace_0/Educa-serveur/build/.*"'
>> >>>>
>> >>>
>> >>>
>> >>
>> >> --
>> >> View this message in context:
>> >>
>> http://www.nabble.com/Optimizing-the-OpenEjb-modules-discovery-tp26036547p26039164.html
>> >> Sent from the OpenEJB User mailing list archive at Nabble.com.
>> >>
>> >>
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Optimizing-the-OpenEjb-modules-discovery-tp26036547p26041296.html
>> Sent from the OpenEJB User mailing list archive at Nabble.com.
>>
>>
>

Re: Optimizing the OpenEjb modules discovery

Posted by Quintin Beukes <qu...@skywalk.co.za>.
Can you please paste the settings with which you are setting up these
excludes? Are you using the quotes in the settings, for ex it says:
INFO - Using 'openejb.deployments.classpath.exclude=".*"'

That looks like your setting the property as:
openejb.deployments.classpath.exclude=".*"

Try setting it as:
openejb.deployments.classpath.exclude=.*

Quintin Beukes


On Sat, Oct 24, 2009 at 7:40 PM, hypnosat7 <ab...@yahoo.fr> wrote:

>
> I've copy/paste what you've proposed but my ejbs still being discovered. In
> fact I have 2 different projects, one for the test and the other formy
> ejbs.
> The test project is referencing the ejb project. I put the jndi.properties
> file in the test project. I've also tried to put this file in both, but no
> way:,(
>
> This is the output:
> 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=""'
> 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'
> WARN - Inspecting classpath for applications: 78 urls.
> WARN - ADJUST THE EXCLUDE/INCLUDE!!!.  Current settings:
> openejb.deployments.classpath.exclude='".*"',
> 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 6696 milliseconds.  Average 85
> milliseconds per url.
> WARN - Consider adjusting your openejb.deployments.classpath.exclude and
> openejb.deployments.classpath.include settings.  Current settings:
> exclude='".*"', 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.eclipse.persistence.jpa.PersistenceProvider)
> 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-8653392470350675266bin.xml
> INFO - Dumping Generated openejb-jar.xml to:
> C:\Users\ELARBI~1\AppData\Local\Temp\openejb-jar-2646860971308971129bin.xml
> INFO - Using 'openejb.descriptors.output=true'
> INFO - Dumping Generated ejb-jar.xml to:
> C:\Users\ELARBI~1\AppData\Local\Temp\ejb-jar-3949315494677255611classes.xml
> INFO - Dumping Generated openejb-jar.xml to:
>
> C:\Users\ELARBI~1\AppData\Local\Temp\openejb-jar-6700058807329760686classes.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
>
> eclipselink.target-server=org.apache.openejb.eclipselink.JTATransactionController
> 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 - PersistenceUnit(name=educaPU,
> provider=org.eclipse.persistence.jpa.PersistenceProvider)
> 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
> DEBUG - Using default
>
> 'openejb.jndiname.strategy.class=org.apache.openejb.assembler.classic.JndiBuilder$TemplatedStrategy'
> INFO - Using
> 'openejb.jndiname.format={ejbName}/{interfaceType.annotationName}'
> DEBUG - Using default
>
> 'openejb.jndiname.strategy.class=org.apache.openejb.assembler.classic.JndiBuilder$TemplatedStrategy'
> INFO - Using
> 'openejb.jndiname.format={ejbName}/{interfaceType.annotationName}'
> DEBUG - Using default 'openejb.localcopy=true'
> INFO - Jndi(name=ConfigurationBean/Remote) -->
> Ejb(deployment-id=ConfigurationBean)
> INFO - Jndi(name=AnnuaireBean/Remote) --> Ejb(deployment-id=AnnuaireBean)
> INFO - Jndi(name=RessourceBean/Remote) --> Ejb(deployment-id=RessourceBean)
> INFO - Jndi(name=InscriptionBean/Remote) -->
> Ejb(deployment-id=InscriptionBean)
> INFO - Jndi(name=ScolariteBean/Remote) --> Ejb(deployment-id=ScolariteBean)
> INFO - Jndi(name=RessourceWS/Remote) --> Ejb(deployment-id=RessourceWS)
> INFO - Jndi(name=ScolariteWS/Remote) --> Ejb(deployment-id=ScolariteWS)
> INFO - Created Ejb(deployment-id=ScolariteBean, ejb-name=ScolariteBean,
> container=Default Stateless Container)
> INFO - Created Ejb(deployment-id=RessourceWS, ejb-name=RessourceWS,
> container=Default Stateless Container)
> INFO - Created Ejb(deployment-id=InscriptionBean, ejb-name=InscriptionBean,
> container=Default Stateless Container)
> INFO - Created Ejb(deployment-id=RessourceBean, ejb-name=RessourceBean,
> container=Default Stateless Container)
> INFO - Created Ejb(deployment-id=ScolariteWS, ejb-name=ScolariteWS,
> container=Default Stateless Container)
> INFO - Created Ejb(deployment-id=ConfigurationBean,
> ejb-name=ConfigurationBean, container=Default Stateless Container)
> INFO - Created Ejb(deployment-id=AnnuaireBean, ejb-name=AnnuaireBean,
> container=Default Stateless Container)
> INFO - Deployed Application(path=classpath.ear)
> DEBUG - Containers        : 1
> DEBUG - Type        Container ID
> DEBUG -    STATELESS   Default Stateless Container
> DEBUG - Deployments       : 7
> DEBUG - Type        Deployment ID
> DEBUG -    STATELESS   AnnuaireBean
> DEBUG -    STATELESS   InscriptionBean
> DEBUG -    STATELESS   ScolariteBean
> DEBUG -    STATELESS   ScolariteWS
> DEBUG -    STATELESS   RessourceWS
> DEBUG -    STATELESS   RessourceBean
> DEBUG -    STATELESS   ConfigurationBean
> DEBUG - SecurityService   :
> org.apache.openejb.core.security.SecurityServiceImpl
> DEBUG - TransactionManager:
> org.apache.geronimo.transaction.manager.GeronimoTransactionManager
> DEBUG - OpenEJB Container System ready.
> [EL Info]: 2009-10-24 18:36:13.028--ServerSession(1056169)--EclipseLink,
> version: Eclipse Persistence Services - 1.1.2.v20090612-r4475
> [EL Info]: 2009-10-24
>
> 18:36:13.976--ServerSession(1056169)--file:/G:/data/eclipse/workspace_0/Educa-serveur/build/classes/-educaPU
> login successful
> [EL Warning]: 2009-10-24 18:36:14.792--ServerSession(1056169)--Exception
> [EclipseLink-4002] (Eclipse Persistence Services - 1.1.2.v20090612-r4475):
> org.eclipse.persistence.exceptions.DatabaseException
> Internal Exception: java.sql.SQLException: ORA-00955: ce nom d'objet existe
> déjà
>
> Error Code: 955
> Call: CREATE TABLE SEQUENCE (SEQ_NAME VARCHAR2(50) NOT NULL, SEQ_COUNT
> NUMBER(38) NULL, PRIMARY KEY (SEQ_NAME))
> Query: DataModifyQuery(sql="CREATE TABLE SEQUENCE (SEQ_NAME VARCHAR2(50)
> NOT
> NULL, SEQ_COUNT NUMBER(38) NULL, PRIMARY KEY (SEQ_NAME))")
>
>
> Quintin Beukes-2 wrote:
> >
> > These have to work.
> >
> > It looks like all 3 the necessary properties are being detected, so
> > you're specifying them in the correct place (system property or IC
> > environment). The only explanation could be that the values aren't
> > just right yet.
> >
> > So, set the following and see if it works:
> > openejb.deployments.classpath.filter.descriptors=true
> > openejb.deployments.classpath.include=""
> > openejb.deployments.classpath.exclude=".*"
> >
> > What happens when you specify the above. It should then not load
> > ANYTHING. If it works, you can start adjusting it till satisfied.
> >
> > You should remember that it is a regular expression on the URL, so
> > specify like "file:///c:/path/to/classes/.*"
> >
> > Also, if the libs is under your build/ directory, that would explain
> > why it finds it.
> >
> > Lastly, neither of these options take precedence. A list of urls are
> > taken, on which the excludes are run to give a list, then the includes
> > are run to give a list. These 2 lists are then combined and used as
> > the list of classpaths to scan. So you can choose to use both, or only
> > one. If you want to use ONLY includes, then use the exclude from above
> > with your own include. If you want to use ONLY excludes, do the same,
> > but the other way around.
> >
> > Also, if you're still not finding love, send your complete OpenEJB
> output.
> >
> > Q
> >
> > On Sat, Oct 24, 2009 at 3:47 PM, hypnosat7 <ab...@yahoo.fr> wrote:
> >>
> >> No change !
> >> I still got the message :
> >> WARN - Searched 78 classpath urls in 6917 milliseconds.  Average 88
> >> milliseconds per url.
> >> WARN - Consider adjusting your openejb.deployments.classpath.exclude and
> >> openejb.deployments.classpath.include settings.  Current settings:
> >> exclude='".*"',
> >> include='"G:/data/eclipse/workspace_0/Educa-serveur/build/.*"'
> >>
> >>
> >> Jean-Louis MONTEIRO wrote:
> >>>
> >>> Hi,
> >>>
> >>> try adding this property
> >>>
> >>> openejb.deployments.classpath.filter.descriptors=true
> >>>
> >>> Jean-Louis
> >>>
> >>>
> >>> hypnosat7 wrote:
> >>>>
> >>>> Hello,
> >>>>
> >>>>   I'm looking for a way to make my tests runing quickly. When I see
> the
> >>>> log trace of my test run, there's a lot of things done by OpenEjb
> >>>> (dicovering clientModule, checking for ejbs in the JBoss jars!, ...).
> >>>> How
> >>>> can I say to OpenEJB to look for ejbs only in a path of my choice ?
> >>>>
> >>>> In fact I've tried this:
> >>>> openejb.deployments.classpath.exclude = ".*"
> >>>> openejb.deployments.classpath.include =
> >>>> "G:/data/eclipse/workspace_0/Educa-serveur/build/.*"
> >>>>
> >>>> But when I run my test I'm still seing:
> >>>> WARN - Inspecting classpath for applications: 78 urls.
> >>>> WARN - ADJUST THE EXCLUDE/INCLUDE!!!.  Current settings:
> >>>> openejb.deployments.classpath.exclude='".*"',
> >>>>
> openejb.deployments.classpath.include='"G:/data/eclipse/workspace_0/Educa-serveur/build/.*"'
> >>>>
> >>>
> >>>
> >>
> >> --
> >> View this message in context:
> >>
> http://www.nabble.com/Optimizing-the-OpenEjb-modules-discovery-tp26036547p26039164.html
> >> Sent from the OpenEJB User mailing list archive at Nabble.com.
> >>
> >>
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/Optimizing-the-OpenEjb-modules-discovery-tp26036547p26041296.html
> Sent from the OpenEJB User mailing list archive at Nabble.com.
>
>

Re: Optimizing the OpenEjb modules discovery

Posted by David Blevins <da...@visi.com>.
As a side note of this issue.  We do have a built-in list of excludes  
so that we don't scan known third party libraries (at least where  
possible).  I've updated it to exclude most of the unwanted jars  
listed in your debug output.

   https://issues.apache.org/jira/browse/OPENEJB-1107

It's really more of a convenience, but is pretty convenient :)

-David


On Oct 24, 2009, at 10:40 AM, hypnosat7 wrote:

>
> I've copy/paste what you've proposed but my ejbs still being  
> discovered. In
> fact I have 2 different projects, one for the test and the other  
> formy ejbs.
> The test project is referencing the ejb project. I put the  
> jndi.properties
> file in the test project. I've also tried to put this file in both,  
> but no
> way:,(
>
> This is the output:
> 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=""'
> 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'
> WARN - Inspecting classpath for applications: 78 urls.
> WARN - ADJUST THE EXCLUDE/INCLUDE!!!.  Current settings:
> openejb.deployments.classpath.exclude='".*"',
> 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 6696 milliseconds.  Average 85
> milliseconds per url.
> WARN - Consider adjusting your openejb.deployments.classpath.exclude  
> and
> openejb.deployments.classpath.include settings.  Current settings:
> exclude='".*"', 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.eclipse.persistence.jpa.PersistenceProvider)
> 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-8653392470350675266bin.xml
> INFO - Dumping Generated openejb-jar.xml to:
> C:\Users\ELARBI~1\AppData\Local\Temp\openejb- 
> jar-2646860971308971129bin.xml
> INFO - Using 'openejb.descriptors.output=true'
> INFO - Dumping Generated ejb-jar.xml to:
> C:\Users\ELARBI~1\AppData\Local\Temp\ejb- 
> jar-3949315494677255611classes.xml
> INFO - Dumping Generated openejb-jar.xml to:
> C:\Users\ELARBI~1\AppData\Local\Temp\openejb- 
> jar-6700058807329760686classes.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
> eclipselink.target- 
> server=org.apache.openejb.eclipselink.JTATransactionController
> 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 - PersistenceUnit(name=educaPU,
> provider=org.eclipse.persistence.jpa.PersistenceProvider)
> 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
> DEBUG - Using default
> 'openejb 
> .jndiname 
> .strategy.class=org.apache.openejb.assembler.classic.JndiBuilder 
> $TemplatedStrategy'
> INFO - Using
> 'openejb.jndiname.format={ejbName}/{interfaceType.annotationName}'
> DEBUG - Using default
> 'openejb 
> .jndiname 
> .strategy.class=org.apache.openejb.assembler.classic.JndiBuilder 
> $TemplatedStrategy'
> INFO - Using
> 'openejb.jndiname.format={ejbName}/{interfaceType.annotationName}'
> DEBUG - Using default 'openejb.localcopy=true'
> INFO - Jndi(name=ConfigurationBean/Remote) -->
> Ejb(deployment-id=ConfigurationBean)
> INFO - Jndi(name=AnnuaireBean/Remote) --> Ejb(deployment- 
> id=AnnuaireBean)
> INFO - Jndi(name=RessourceBean/Remote) --> Ejb(deployment- 
> id=RessourceBean)
> INFO - Jndi(name=InscriptionBean/Remote) -->
> Ejb(deployment-id=InscriptionBean)
> INFO - Jndi(name=ScolariteBean/Remote) --> Ejb(deployment- 
> id=ScolariteBean)
> INFO - Jndi(name=RessourceWS/Remote) --> Ejb(deployment- 
> id=RessourceWS)
> INFO - Jndi(name=ScolariteWS/Remote) --> Ejb(deployment- 
> id=ScolariteWS)
> INFO - Created Ejb(deployment-id=ScolariteBean, ejb- 
> name=ScolariteBean,
> container=Default Stateless Container)
> INFO - Created Ejb(deployment-id=RessourceWS, ejb-name=RessourceWS,
> container=Default Stateless Container)
> INFO - Created Ejb(deployment-id=InscriptionBean, ejb- 
> name=InscriptionBean,
> container=Default Stateless Container)
> INFO - Created Ejb(deployment-id=RessourceBean, ejb- 
> name=RessourceBean,
> container=Default Stateless Container)
> INFO - Created Ejb(deployment-id=ScolariteWS, ejb-name=ScolariteWS,
> container=Default Stateless Container)
> INFO - Created Ejb(deployment-id=ConfigurationBean,
> ejb-name=ConfigurationBean, container=Default Stateless Container)
> INFO - Created Ejb(deployment-id=AnnuaireBean, ejb-name=AnnuaireBean,
> container=Default Stateless Container)
> INFO - Deployed Application(path=classpath.ear)
> DEBUG - Containers        : 1
> DEBUG - Type        Container ID
> DEBUG -    STATELESS   Default Stateless Container
> DEBUG - Deployments       : 7
> DEBUG - Type        Deployment ID
> DEBUG -    STATELESS   AnnuaireBean
> DEBUG -    STATELESS   InscriptionBean
> DEBUG -    STATELESS   ScolariteBean
> DEBUG -    STATELESS   ScolariteWS
> DEBUG -    STATELESS   RessourceWS
> DEBUG -    STATELESS   RessourceBean
> DEBUG -    STATELESS   ConfigurationBean
> DEBUG - SecurityService   :
> org.apache.openejb.core.security.SecurityServiceImpl
> DEBUG - TransactionManager:
> org.apache.geronimo.transaction.manager.GeronimoTransactionManager
> DEBUG - OpenEJB Container System ready.
> [EL Info]: 2009-10-24 18:36:13.028--ServerSession(1056169)-- 
> EclipseLink,
> version: Eclipse Persistence Services - 1.1.2.v20090612-r4475
> [EL Info]: 2009-10-24
> 18:36:13.976--ServerSession(1056169)--file:/G:/data/eclipse/ 
> workspace_0/Educa-serveur/build/classes/-educaPU
> login successful
> [EL Warning]: 2009-10-24 18:36:14.792--ServerSession(1056169)-- 
> Exception
> [EclipseLink-4002] (Eclipse Persistence Services - 1.1.2.v20090612- 
> r4475):
> org.eclipse.persistence.exceptions.DatabaseException
> Internal Exception: java.sql.SQLException: ORA-00955: ce nom d'objet  
> existe
> déjà
>
> Error Code: 955
> Call: CREATE TABLE SEQUENCE (SEQ_NAME VARCHAR2(50) NOT NULL, SEQ_COUNT
> NUMBER(38) NULL, PRIMARY KEY (SEQ_NAME))
> Query: DataModifyQuery(sql="CREATE TABLE SEQUENCE (SEQ_NAME  
> VARCHAR2(50) NOT
> NULL, SEQ_COUNT NUMBER(38) NULL, PRIMARY KEY (SEQ_NAME))")
>
>
> Quintin Beukes-2 wrote:
>>
>> These have to work.
>>
>> It looks like all 3 the necessary properties are being detected, so
>> you're specifying them in the correct place (system property or IC
>> environment). The only explanation could be that the values aren't
>> just right yet.
>>
>> So, set the following and see if it works:
>> openejb.deployments.classpath.filter.descriptors=true
>> openejb.deployments.classpath.include=""
>> openejb.deployments.classpath.exclude=".*"
>>
>> What happens when you specify the above. It should then not load
>> ANYTHING. If it works, you can start adjusting it till satisfied.
>>
>> You should remember that it is a regular expression on the URL, so
>> specify like "file:///c:/path/to/classes/.*"
>>
>> Also, if the libs is under your build/ directory, that would explain
>> why it finds it.
>>
>> Lastly, neither of these options take precedence. A list of urls are
>> taken, on which the excludes are run to give a list, then the  
>> includes
>> are run to give a list. These 2 lists are then combined and used as
>> the list of classpaths to scan. So you can choose to use both, or  
>> only
>> one. If you want to use ONLY includes, then use the exclude from  
>> above
>> with your own include. If you want to use ONLY excludes, do the same,
>> but the other way around.
>>
>> Also, if you're still not finding love, send your complete OpenEJB  
>> output.
>>
>> Q
>>
>> On Sat, Oct 24, 2009 at 3:47 PM, hypnosat7 <ab...@yahoo.fr> wrote:
>>>
>>> No change !
>>> I still got the message :
>>> WARN - Searched 78 classpath urls in 6917 milliseconds.  Average 88
>>> milliseconds per url.
>>> WARN - Consider adjusting your  
>>> openejb.deployments.classpath.exclude and
>>> openejb.deployments.classpath.include settings.  Current settings:
>>> exclude='".*"',
>>> include='"G:/data/eclipse/workspace_0/Educa-serveur/build/.*"'
>>>
>>>
>>> Jean-Louis MONTEIRO wrote:
>>>>
>>>> Hi,
>>>>
>>>> try adding this property
>>>>
>>>> openejb.deployments.classpath.filter.descriptors=true
>>>>
>>>> Jean-Louis
>>>>
>>>>
>>>> hypnosat7 wrote:
>>>>>
>>>>> Hello,
>>>>>
>>>>>   I'm looking for a way to make my tests runing quickly. When I  
>>>>> see the
>>>>> log trace of my test run, there's a lot of things done by OpenEjb
>>>>> (dicovering clientModule, checking for ejbs in the JBoss  
>>>>> jars!, ...).
>>>>> How
>>>>> can I say to OpenEJB to look for ejbs only in a path of my  
>>>>> choice ?
>>>>>
>>>>> In fact I've tried this:
>>>>> openejb.deployments.classpath.exclude = ".*"
>>>>> openejb.deployments.classpath.include =
>>>>> "G:/data/eclipse/workspace_0/Educa-serveur/build/.*"
>>>>>
>>>>> But when I run my test I'm still seing:
>>>>> WARN - Inspecting classpath for applications: 78 urls.
>>>>> WARN - ADJUST THE EXCLUDE/INCLUDE!!!.  Current settings:
>>>>> openejb.deployments.classpath.exclude='".*"',
>>>>> openejb.deployments.classpath.include='"G:/data/eclipse/ 
>>>>> workspace_0/Educa-serveur/build/.*"'
>>>>>
>>>>
>>>>
>>>
>>> --
>>> View this message in context:
>>> http://www.nabble.com/Optimizing-the-OpenEjb-modules-discovery-tp26036547p26039164.html
>>> Sent from the OpenEJB User mailing list archive at Nabble.com.
>>>
>>>
>>
>>
>
> -- 
> View this message in context: http://www.nabble.com/Optimizing-the-OpenEjb-modules-discovery-tp26036547p26041296.html
> Sent from the OpenEJB User mailing list archive at Nabble.com.
>
>


Re: Optimizing the OpenEjb modules discovery

Posted by hypnosat7 <ab...@yahoo.fr>.
I've run your testcase, it passes.

David Blevins wrote:
> 
> I've been staring at this output and I can't figure out what might be  
> happening.  Your include and exclude settings are the same as the  
> default and should exclude everything.  There is some sort of strange  
> bug here that I've not yet seen.
> 
> Can you try running this test case and report back the results.  You  
> can put the test method in an existing test or put next to an existing  
> test -- anywhere we can be sure the test case is seeing the same  
> classpath as your ejb tests.
> 
>    import junit.framework.TestCase;
>    import org.apache.xbean.finder.UrlSet;
> 
>    import java.net.URL;
> 
>    public class IncludeExcludeTest extends TestCase {
> 
>        public void test() throws Exception {
>            String includeSetting = "";
>            String excludeSetting = ".*";
> 
>            UrlSet urlSet = new  
> UrlSet(DeploymentsResolver.class.getClassLoader());
>            UrlSet includes = urlSet.matching(includeSetting);
>            urlSet = urlSet.exclude(excludeSetting);
>            urlSet = urlSet.include(includes);
> 
>            for (URL url : urlSet.getUrls()) {
>                System.out.println("url = " + url);
>            }
> 
>            assertEquals(0, urlSet.getUrls().size());
>        }
>    }
> 
> 
> This should exclude everything.
> 
> -David
> 
> 
> On Oct 24, 2009, at 10:40 AM, hypnosat7 wrote:
> 
>>
>> I've copy/paste what you've proposed but my ejbs still being  
>> discovered. In
>> fact I have 2 different projects, one for the test and the other  
>> formy ejbs.
>> The test project is referencing the ejb project. I put the  
>> jndi.properties
>> file in the test project. I've also tried to put this file in both,  
>> but no
>> way:,(
>>
>> This is the output:
>> 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=""'
>> 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'
>> WARN - Inspecting classpath for applications: 78 urls.
>> WARN - ADJUST THE EXCLUDE/INCLUDE!!!.  Current settings:
>> openejb.deployments.classpath.exclude='".*"',
>> 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 6696 milliseconds.  Average 85
>> milliseconds per url.
>> WARN - Consider adjusting your openejb.deployments.classpath.exclude  
>> and
>> openejb.deployments.classpath.include settings.  Current settings:
>> exclude='".*"', 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.eclipse.persistence.jpa.PersistenceProvider)
>> 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-8653392470350675266bin.xml
>> INFO - Dumping Generated openejb-jar.xml to:
>> C:\Users\ELARBI~1\AppData\Local\Temp\openejb- 
>> jar-2646860971308971129bin.xml
>> INFO - Using 'openejb.descriptors.output=true'
>> INFO - Dumping Generated ejb-jar.xml to:
>> C:\Users\ELARBI~1\AppData\Local\Temp\ejb- 
>> jar-3949315494677255611classes.xml
>> INFO - Dumping Generated openejb-jar.xml to:
>> C:\Users\ELARBI~1\AppData\Local\Temp\openejb- 
>> jar-6700058807329760686classes.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
>> eclipselink.target- 
>> server=org.apache.openejb.eclipselink.JTATransactionController
>> 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 - PersistenceUnit(name=educaPU,
>> provider=org.eclipse.persistence.jpa.PersistenceProvider)
>> 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
>> DEBUG - Using default
>> 'openejb 
>> .jndiname 
>> .strategy.class=org.apache.openejb.assembler.classic.JndiBuilder 
>> $TemplatedStrategy'
>> INFO - Using
>> 'openejb.jndiname.format={ejbName}/{interfaceType.annotationName}'
>> DEBUG - Using default
>> 'openejb 
>> .jndiname 
>> .strategy.class=org.apache.openejb.assembler.classic.JndiBuilder 
>> $TemplatedStrategy'
>> INFO - Using
>> 'openejb.jndiname.format={ejbName}/{interfaceType.annotationName}'
>> DEBUG - Using default 'openejb.localcopy=true'
>> INFO - Jndi(name=ConfigurationBean/Remote) -->
>> Ejb(deployment-id=ConfigurationBean)
>> INFO - Jndi(name=AnnuaireBean/Remote) --> Ejb(deployment- 
>> id=AnnuaireBean)
>> INFO - Jndi(name=RessourceBean/Remote) --> Ejb(deployment- 
>> id=RessourceBean)
>> INFO - Jndi(name=InscriptionBean/Remote) -->
>> Ejb(deployment-id=InscriptionBean)
>> INFO - Jndi(name=ScolariteBean/Remote) --> Ejb(deployment- 
>> id=ScolariteBean)
>> INFO - Jndi(name=RessourceWS/Remote) --> Ejb(deployment- 
>> id=RessourceWS)
>> INFO - Jndi(name=ScolariteWS/Remote) --> Ejb(deployment- 
>> id=ScolariteWS)
>> INFO - Created Ejb(deployment-id=ScolariteBean, ejb- 
>> name=ScolariteBean,
>> container=Default Stateless Container)
>> INFO - Created Ejb(deployment-id=RessourceWS, ejb-name=RessourceWS,
>> container=Default Stateless Container)
>> INFO - Created Ejb(deployment-id=InscriptionBean, ejb- 
>> name=InscriptionBean,
>> container=Default Stateless Container)
>> INFO - Created Ejb(deployment-id=RessourceBean, ejb- 
>> name=RessourceBean,
>> container=Default Stateless Container)
>> INFO - Created Ejb(deployment-id=ScolariteWS, ejb-name=ScolariteWS,
>> container=Default Stateless Container)
>> INFO - Created Ejb(deployment-id=ConfigurationBean,
>> ejb-name=ConfigurationBean, container=Default Stateless Container)
>> INFO - Created Ejb(deployment-id=AnnuaireBean, ejb-name=AnnuaireBean,
>> container=Default Stateless Container)
>> INFO - Deployed Application(path=classpath.ear)
>> DEBUG - Containers        : 1
>> DEBUG - Type        Container ID
>> DEBUG -    STATELESS   Default Stateless Container
>> DEBUG - Deployments       : 7
>> DEBUG - Type        Deployment ID
>> DEBUG -    STATELESS   AnnuaireBean
>> DEBUG -    STATELESS   InscriptionBean
>> DEBUG -    STATELESS   ScolariteBean
>> DEBUG -    STATELESS   ScolariteWS
>> DEBUG -    STATELESS   RessourceWS
>> DEBUG -    STATELESS   RessourceBean
>> DEBUG -    STATELESS   ConfigurationBean
>> DEBUG - SecurityService   :
>> org.apache.openejb.core.security.SecurityServiceImpl
>> DEBUG - TransactionManager:
>> org.apache.geronimo.transaction.manager.GeronimoTransactionManager
>> DEBUG - OpenEJB Container System ready.
>> [EL Info]: 2009-10-24 18:36:13.028--ServerSession(1056169)-- 
>> EclipseLink,
>> version: Eclipse Persistence Services - 1.1.2.v20090612-r4475
>> [EL Info]: 2009-10-24
>> 18:36:13.976--ServerSession(1056169)--file:/G:/data/eclipse/ 
>> workspace_0/Educa-serveur/build/classes/-educaPU
>> login successful
>> [EL Warning]: 2009-10-24 18:36:14.792--ServerSession(1056169)-- 
>> Exception
>> [EclipseLink-4002] (Eclipse Persistence Services - 1.1.2.v20090612- 
>> r4475):
>> org.eclipse.persistence.exceptions.DatabaseException
>> Internal Exception: java.sql.SQLException: ORA-00955: ce nom d'objet  
>> existe
>> déjà
>>
>> Error Code: 955
>> Call: CREATE TABLE SEQUENCE (SEQ_NAME VARCHAR2(50) NOT NULL, SEQ_COUNT
>> NUMBER(38) NULL, PRIMARY KEY (SEQ_NAME))
>> Query: DataModifyQuery(sql="CREATE TABLE SEQUENCE (SEQ_NAME  
>> VARCHAR2(50) NOT
>> NULL, SEQ_COUNT NUMBER(38) NULL, PRIMARY KEY (SEQ_NAME))")
>>
>>
>> Quintin Beukes-2 wrote:
>>>
>>> These have to work.
>>>
>>> It looks like all 3 the necessary properties are being detected, so
>>> you're specifying them in the correct place (system property or IC
>>> environment). The only explanation could be that the values aren't
>>> just right yet.
>>>
>>> So, set the following and see if it works:
>>> openejb.deployments.classpath.filter.descriptors=true
>>> openejb.deployments.classpath.include=""
>>> openejb.deployments.classpath.exclude=".*"
>>>
>>> What happens when you specify the above. It should then not load
>>> ANYTHING. If it works, you can start adjusting it till satisfied.
>>>
>>> You should remember that it is a regular expression on the URL, so
>>> specify like "file:///c:/path/to/classes/.*"
>>>
>>> Also, if the libs is under your build/ directory, that would explain
>>> why it finds it.
>>>
>>> Lastly, neither of these options take precedence. A list of urls are
>>> taken, on which the excludes are run to give a list, then the  
>>> includes
>>> are run to give a list. These 2 lists are then combined and used as
>>> the list of classpaths to scan. So you can choose to use both, or  
>>> only
>>> one. If you want to use ONLY includes, then use the exclude from  
>>> above
>>> with your own include. If you want to use ONLY excludes, do the same,
>>> but the other way around.
>>>
>>> Also, if you're still not finding love, send your complete OpenEJB  
>>> output.
>>>
>>> Q
>>>
>>> On Sat, Oct 24, 2009 at 3:47 PM, hypnosat7 <ab...@yahoo.fr> wrote:
>>>>
>>>> No change !
>>>> I still got the message :
>>>> WARN - Searched 78 classpath urls in 6917 milliseconds.  Average 88
>>>> milliseconds per url.
>>>> WARN - Consider adjusting your  
>>>> openejb.deployments.classpath.exclude and
>>>> openejb.deployments.classpath.include settings.  Current settings:
>>>> exclude='".*"',
>>>> include='"G:/data/eclipse/workspace_0/Educa-serveur/build/.*"'
>>>>
>>>>
>>>> Jean-Louis MONTEIRO wrote:
>>>>>
>>>>> Hi,
>>>>>
>>>>> try adding this property
>>>>>
>>>>> openejb.deployments.classpath.filter.descriptors=true
>>>>>
>>>>> Jean-Louis
>>>>>
>>>>>
>>>>> hypnosat7 wrote:
>>>>>>
>>>>>> Hello,
>>>>>>
>>>>>>   I'm looking for a way to make my tests runing quickly. When I  
>>>>>> see the
>>>>>> log trace of my test run, there's a lot of things done by OpenEjb
>>>>>> (dicovering clientModule, checking for ejbs in the JBoss  
>>>>>> jars!, ...).
>>>>>> How
>>>>>> can I say to OpenEJB to look for ejbs only in a path of my  
>>>>>> choice ?
>>>>>>
>>>>>> In fact I've tried this:
>>>>>> openejb.deployments.classpath.exclude = ".*"
>>>>>> openejb.deployments.classpath.include =
>>>>>> "G:/data/eclipse/workspace_0/Educa-serveur/build/.*"
>>>>>>
>>>>>> But when I run my test I'm still seing:
>>>>>> WARN - Inspecting classpath for applications: 78 urls.
>>>>>> WARN - ADJUST THE EXCLUDE/INCLUDE!!!.  Current settings:
>>>>>> openejb.deployments.classpath.exclude='".*"',
>>>>>> openejb.deployments.classpath.include='"G:/data/eclipse/ 
>>>>>> workspace_0/Educa-serveur/build/.*"'
>>>>>>
>>>>>
>>>>>
>>>>
>>>> --
>>>> View this message in context:
>>>> http://www.nabble.com/Optimizing-the-OpenEjb-modules-discovery-tp26036547p26039164.html
>>>> Sent from the OpenEJB User mailing list archive at Nabble.com.
>>>>
>>>>
>>>
>>>
>>
>> -- 
>> View this message in context:
>> http://www.nabble.com/Optimizing-the-OpenEjb-modules-discovery-tp26036547p26041296.html
>> Sent from the OpenEJB User mailing list archive at Nabble.com.
>>
>>
> 
> 
> 

-- 
View this message in context: http://old.nabble.com/Optimizing-the-OpenEjb-modules-discovery-tp26036547p26160421.html
Sent from the OpenEJB User mailing list archive at Nabble.com.


Re: Optimizing the OpenEjb modules discovery

Posted by hypnosat7 <ab...@yahoo.fr>.
I've run your testcase, it passes.

David Blevins wrote:
> 
> I've been staring at this output and I can't figure out what might be  
> happening.  Your include and exclude settings are the same as the  
> default and should exclude everything.  There is some sort of strange  
> bug here that I've not yet seen.
> 
> Can you try running this test case and report back the results.  You  
> can put the test method in an existing test or put next to an existing  
> test -- anywhere we can be sure the test case is seeing the same  
> classpath as your ejb tests.
> 
>    import junit.framework.TestCase;
>    import org.apache.xbean.finder.UrlSet;
> 
>    import java.net.URL;
> 
>    public class IncludeExcludeTest extends TestCase {
> 
>        public void test() throws Exception {
>            String includeSetting = "";
>            String excludeSetting = ".*";
> 
>            UrlSet urlSet = new  
> UrlSet(DeploymentsResolver.class.getClassLoader());
>            UrlSet includes = urlSet.matching(includeSetting);
>            urlSet = urlSet.exclude(excludeSetting);
>            urlSet = urlSet.include(includes);
> 
>            for (URL url : urlSet.getUrls()) {
>                System.out.println("url = " + url);
>            }
> 
>            assertEquals(0, urlSet.getUrls().size());
>        }
>    }
> 
> 
> This should exclude everything.
> 
> -David
> 
> 
> On Oct 24, 2009, at 10:40 AM, hypnosat7 wrote:
> 
>>
>> I've copy/paste what you've proposed but my ejbs still being  
>> discovered. In
>> fact I have 2 different projects, one for the test and the other  
>> formy ejbs.
>> The test project is referencing the ejb project. I put the  
>> jndi.properties
>> file in the test project. I've also tried to put this file in both,  
>> but no
>> way:,(
>>
>> This is the output:
>> 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=""'
>> 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'
>> WARN - Inspecting classpath for applications: 78 urls.
>> WARN - ADJUST THE EXCLUDE/INCLUDE!!!.  Current settings:
>> openejb.deployments.classpath.exclude='".*"',
>> 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 6696 milliseconds.  Average 85
>> milliseconds per url.
>> WARN - Consider adjusting your openejb.deployments.classpath.exclude  
>> and
>> openejb.deployments.classpath.include settings.  Current settings:
>> exclude='".*"', 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.eclipse.persistence.jpa.PersistenceProvider)
>> 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-8653392470350675266bin.xml
>> INFO - Dumping Generated openejb-jar.xml to:
>> C:\Users\ELARBI~1\AppData\Local\Temp\openejb- 
>> jar-2646860971308971129bin.xml
>> INFO - Using 'openejb.descriptors.output=true'
>> INFO - Dumping Generated ejb-jar.xml to:
>> C:\Users\ELARBI~1\AppData\Local\Temp\ejb- 
>> jar-3949315494677255611classes.xml
>> INFO - Dumping Generated openejb-jar.xml to:
>> C:\Users\ELARBI~1\AppData\Local\Temp\openejb- 
>> jar-6700058807329760686classes.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
>> eclipselink.target- 
>> server=org.apache.openejb.eclipselink.JTATransactionController
>> 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 - PersistenceUnit(name=educaPU,
>> provider=org.eclipse.persistence.jpa.PersistenceProvider)
>> 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
>> DEBUG - Using default
>> 'openejb 
>> .jndiname 
>> .strategy.class=org.apache.openejb.assembler.classic.JndiBuilder 
>> $TemplatedStrategy'
>> INFO - Using
>> 'openejb.jndiname.format={ejbName}/{interfaceType.annotationName}'
>> DEBUG - Using default
>> 'openejb 
>> .jndiname 
>> .strategy.class=org.apache.openejb.assembler.classic.JndiBuilder 
>> $TemplatedStrategy'
>> INFO - Using
>> 'openejb.jndiname.format={ejbName}/{interfaceType.annotationName}'
>> DEBUG - Using default 'openejb.localcopy=true'
>> INFO - Jndi(name=ConfigurationBean/Remote) -->
>> Ejb(deployment-id=ConfigurationBean)
>> INFO - Jndi(name=AnnuaireBean/Remote) --> Ejb(deployment- 
>> id=AnnuaireBean)
>> INFO - Jndi(name=RessourceBean/Remote) --> Ejb(deployment- 
>> id=RessourceBean)
>> INFO - Jndi(name=InscriptionBean/Remote) -->
>> Ejb(deployment-id=InscriptionBean)
>> INFO - Jndi(name=ScolariteBean/Remote) --> Ejb(deployment- 
>> id=ScolariteBean)
>> INFO - Jndi(name=RessourceWS/Remote) --> Ejb(deployment- 
>> id=RessourceWS)
>> INFO - Jndi(name=ScolariteWS/Remote) --> Ejb(deployment- 
>> id=ScolariteWS)
>> INFO - Created Ejb(deployment-id=ScolariteBean, ejb- 
>> name=ScolariteBean,
>> container=Default Stateless Container)
>> INFO - Created Ejb(deployment-id=RessourceWS, ejb-name=RessourceWS,
>> container=Default Stateless Container)
>> INFO - Created Ejb(deployment-id=InscriptionBean, ejb- 
>> name=InscriptionBean,
>> container=Default Stateless Container)
>> INFO - Created Ejb(deployment-id=RessourceBean, ejb- 
>> name=RessourceBean,
>> container=Default Stateless Container)
>> INFO - Created Ejb(deployment-id=ScolariteWS, ejb-name=ScolariteWS,
>> container=Default Stateless Container)
>> INFO - Created Ejb(deployment-id=ConfigurationBean,
>> ejb-name=ConfigurationBean, container=Default Stateless Container)
>> INFO - Created Ejb(deployment-id=AnnuaireBean, ejb-name=AnnuaireBean,
>> container=Default Stateless Container)
>> INFO - Deployed Application(path=classpath.ear)
>> DEBUG - Containers        : 1
>> DEBUG - Type        Container ID
>> DEBUG -    STATELESS   Default Stateless Container
>> DEBUG - Deployments       : 7
>> DEBUG - Type        Deployment ID
>> DEBUG -    STATELESS   AnnuaireBean
>> DEBUG -    STATELESS   InscriptionBean
>> DEBUG -    STATELESS   ScolariteBean
>> DEBUG -    STATELESS   ScolariteWS
>> DEBUG -    STATELESS   RessourceWS
>> DEBUG -    STATELESS   RessourceBean
>> DEBUG -    STATELESS   ConfigurationBean
>> DEBUG - SecurityService   :
>> org.apache.openejb.core.security.SecurityServiceImpl
>> DEBUG - TransactionManager:
>> org.apache.geronimo.transaction.manager.GeronimoTransactionManager
>> DEBUG - OpenEJB Container System ready.
>> [EL Info]: 2009-10-24 18:36:13.028--ServerSession(1056169)-- 
>> EclipseLink,
>> version: Eclipse Persistence Services - 1.1.2.v20090612-r4475
>> [EL Info]: 2009-10-24
>> 18:36:13.976--ServerSession(1056169)--file:/G:/data/eclipse/ 
>> workspace_0/Educa-serveur/build/classes/-educaPU
>> login successful
>> [EL Warning]: 2009-10-24 18:36:14.792--ServerSession(1056169)-- 
>> Exception
>> [EclipseLink-4002] (Eclipse Persistence Services - 1.1.2.v20090612- 
>> r4475):
>> org.eclipse.persistence.exceptions.DatabaseException
>> Internal Exception: java.sql.SQLException: ORA-00955: ce nom d'objet  
>> existe
>> déjà
>>
>> Error Code: 955
>> Call: CREATE TABLE SEQUENCE (SEQ_NAME VARCHAR2(50) NOT NULL, SEQ_COUNT
>> NUMBER(38) NULL, PRIMARY KEY (SEQ_NAME))
>> Query: DataModifyQuery(sql="CREATE TABLE SEQUENCE (SEQ_NAME  
>> VARCHAR2(50) NOT
>> NULL, SEQ_COUNT NUMBER(38) NULL, PRIMARY KEY (SEQ_NAME))")
>>
>>
>> Quintin Beukes-2 wrote:
>>>
>>> These have to work.
>>>
>>> It looks like all 3 the necessary properties are being detected, so
>>> you're specifying them in the correct place (system property or IC
>>> environment). The only explanation could be that the values aren't
>>> just right yet.
>>>
>>> So, set the following and see if it works:
>>> openejb.deployments.classpath.filter.descriptors=true
>>> openejb.deployments.classpath.include=""
>>> openejb.deployments.classpath.exclude=".*"
>>>
>>> What happens when you specify the above. It should then not load
>>> ANYTHING. If it works, you can start adjusting it till satisfied.
>>>
>>> You should remember that it is a regular expression on the URL, so
>>> specify like "file:///c:/path/to/classes/.*"
>>>
>>> Also, if the libs is under your build/ directory, that would explain
>>> why it finds it.
>>>
>>> Lastly, neither of these options take precedence. A list of urls are
>>> taken, on which the excludes are run to give a list, then the  
>>> includes
>>> are run to give a list. These 2 lists are then combined and used as
>>> the list of classpaths to scan. So you can choose to use both, or  
>>> only
>>> one. If you want to use ONLY includes, then use the exclude from  
>>> above
>>> with your own include. If you want to use ONLY excludes, do the same,
>>> but the other way around.
>>>
>>> Also, if you're still not finding love, send your complete OpenEJB  
>>> output.
>>>
>>> Q
>>>
>>> On Sat, Oct 24, 2009 at 3:47 PM, hypnosat7 <ab...@yahoo.fr> wrote:
>>>>
>>>> No change !
>>>> I still got the message :
>>>> WARN - Searched 78 classpath urls in 6917 milliseconds.  Average 88
>>>> milliseconds per url.
>>>> WARN - Consider adjusting your  
>>>> openejb.deployments.classpath.exclude and
>>>> openejb.deployments.classpath.include settings.  Current settings:
>>>> exclude='".*"',
>>>> include='"G:/data/eclipse/workspace_0/Educa-serveur/build/.*"'
>>>>
>>>>
>>>> Jean-Louis MONTEIRO wrote:
>>>>>
>>>>> Hi,
>>>>>
>>>>> try adding this property
>>>>>
>>>>> openejb.deployments.classpath.filter.descriptors=true
>>>>>
>>>>> Jean-Louis
>>>>>
>>>>>
>>>>> hypnosat7 wrote:
>>>>>>
>>>>>> Hello,
>>>>>>
>>>>>>   I'm looking for a way to make my tests runing quickly. When I  
>>>>>> see the
>>>>>> log trace of my test run, there's a lot of things done by OpenEjb
>>>>>> (dicovering clientModule, checking for ejbs in the JBoss  
>>>>>> jars!, ...).
>>>>>> How
>>>>>> can I say to OpenEJB to look for ejbs only in a path of my  
>>>>>> choice ?
>>>>>>
>>>>>> In fact I've tried this:
>>>>>> openejb.deployments.classpath.exclude = ".*"
>>>>>> openejb.deployments.classpath.include =
>>>>>> "G:/data/eclipse/workspace_0/Educa-serveur/build/.*"
>>>>>>
>>>>>> But when I run my test I'm still seing:
>>>>>> WARN - Inspecting classpath for applications: 78 urls.
>>>>>> WARN - ADJUST THE EXCLUDE/INCLUDE!!!.  Current settings:
>>>>>> openejb.deployments.classpath.exclude='".*"',
>>>>>> openejb.deployments.classpath.include='"G:/data/eclipse/ 
>>>>>> workspace_0/Educa-serveur/build/.*"'
>>>>>>
>>>>>
>>>>>
>>>>
>>>> --
>>>> View this message in context:
>>>> http://www.nabble.com/Optimizing-the-OpenEjb-modules-discovery-tp26036547p26039164.html
>>>> Sent from the OpenEJB User mailing list archive at Nabble.com.
>>>>
>>>>
>>>
>>>
>>
>> -- 
>> View this message in context:
>> http://www.nabble.com/Optimizing-the-OpenEjb-modules-discovery-tp26036547p26041296.html
>> Sent from the OpenEJB User mailing list archive at Nabble.com.
>>
>>
> 
> 
> 

-- 
View this message in context: http://old.nabble.com/Optimizing-the-OpenEjb-modules-discovery-tp26036547p26160432.html
Sent from the OpenEJB User mailing list archive at Nabble.com.


Re: Optimizing the OpenEjb modules discovery

Posted by David Blevins <da...@visi.com>.
I've been staring at this output and I can't figure out what might be  
happening.  Your include and exclude settings are the same as the  
default and should exclude everything.  There is some sort of strange  
bug here that I've not yet seen.

Can you try running this test case and report back the results.  You  
can put the test method in an existing test or put next to an existing  
test -- anywhere we can be sure the test case is seeing the same  
classpath as your ejb tests.

   import junit.framework.TestCase;
   import org.apache.xbean.finder.UrlSet;

   import java.net.URL;

   public class IncludeExcludeTest extends TestCase {

       public void test() throws Exception {
           String includeSetting = "";
           String excludeSetting = ".*";

           UrlSet urlSet = new  
UrlSet(DeploymentsResolver.class.getClassLoader());
           UrlSet includes = urlSet.matching(includeSetting);
           urlSet = urlSet.exclude(excludeSetting);
           urlSet = urlSet.include(includes);

           for (URL url : urlSet.getUrls()) {
               System.out.println("url = " + url);
           }

           assertEquals(0, urlSet.getUrls().size());
       }
   }


This should exclude everything.

-David


On Oct 24, 2009, at 10:40 AM, hypnosat7 wrote:

>
> I've copy/paste what you've proposed but my ejbs still being  
> discovered. In
> fact I have 2 different projects, one for the test and the other  
> formy ejbs.
> The test project is referencing the ejb project. I put the  
> jndi.properties
> file in the test project. I've also tried to put this file in both,  
> but no
> way:,(
>
> This is the output:
> 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=""'
> 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'
> WARN - Inspecting classpath for applications: 78 urls.
> WARN - ADJUST THE EXCLUDE/INCLUDE!!!.  Current settings:
> openejb.deployments.classpath.exclude='".*"',
> 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 6696 milliseconds.  Average 85
> milliseconds per url.
> WARN - Consider adjusting your openejb.deployments.classpath.exclude  
> and
> openejb.deployments.classpath.include settings.  Current settings:
> exclude='".*"', 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.eclipse.persistence.jpa.PersistenceProvider)
> 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-8653392470350675266bin.xml
> INFO - Dumping Generated openejb-jar.xml to:
> C:\Users\ELARBI~1\AppData\Local\Temp\openejb- 
> jar-2646860971308971129bin.xml
> INFO - Using 'openejb.descriptors.output=true'
> INFO - Dumping Generated ejb-jar.xml to:
> C:\Users\ELARBI~1\AppData\Local\Temp\ejb- 
> jar-3949315494677255611classes.xml
> INFO - Dumping Generated openejb-jar.xml to:
> C:\Users\ELARBI~1\AppData\Local\Temp\openejb- 
> jar-6700058807329760686classes.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
> eclipselink.target- 
> server=org.apache.openejb.eclipselink.JTATransactionController
> 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 - PersistenceUnit(name=educaPU,
> provider=org.eclipse.persistence.jpa.PersistenceProvider)
> 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
> DEBUG - Using default
> 'openejb 
> .jndiname 
> .strategy.class=org.apache.openejb.assembler.classic.JndiBuilder 
> $TemplatedStrategy'
> INFO - Using
> 'openejb.jndiname.format={ejbName}/{interfaceType.annotationName}'
> DEBUG - Using default
> 'openejb 
> .jndiname 
> .strategy.class=org.apache.openejb.assembler.classic.JndiBuilder 
> $TemplatedStrategy'
> INFO - Using
> 'openejb.jndiname.format={ejbName}/{interfaceType.annotationName}'
> DEBUG - Using default 'openejb.localcopy=true'
> INFO - Jndi(name=ConfigurationBean/Remote) -->
> Ejb(deployment-id=ConfigurationBean)
> INFO - Jndi(name=AnnuaireBean/Remote) --> Ejb(deployment- 
> id=AnnuaireBean)
> INFO - Jndi(name=RessourceBean/Remote) --> Ejb(deployment- 
> id=RessourceBean)
> INFO - Jndi(name=InscriptionBean/Remote) -->
> Ejb(deployment-id=InscriptionBean)
> INFO - Jndi(name=ScolariteBean/Remote) --> Ejb(deployment- 
> id=ScolariteBean)
> INFO - Jndi(name=RessourceWS/Remote) --> Ejb(deployment- 
> id=RessourceWS)
> INFO - Jndi(name=ScolariteWS/Remote) --> Ejb(deployment- 
> id=ScolariteWS)
> INFO - Created Ejb(deployment-id=ScolariteBean, ejb- 
> name=ScolariteBean,
> container=Default Stateless Container)
> INFO - Created Ejb(deployment-id=RessourceWS, ejb-name=RessourceWS,
> container=Default Stateless Container)
> INFO - Created Ejb(deployment-id=InscriptionBean, ejb- 
> name=InscriptionBean,
> container=Default Stateless Container)
> INFO - Created Ejb(deployment-id=RessourceBean, ejb- 
> name=RessourceBean,
> container=Default Stateless Container)
> INFO - Created Ejb(deployment-id=ScolariteWS, ejb-name=ScolariteWS,
> container=Default Stateless Container)
> INFO - Created Ejb(deployment-id=ConfigurationBean,
> ejb-name=ConfigurationBean, container=Default Stateless Container)
> INFO - Created Ejb(deployment-id=AnnuaireBean, ejb-name=AnnuaireBean,
> container=Default Stateless Container)
> INFO - Deployed Application(path=classpath.ear)
> DEBUG - Containers        : 1
> DEBUG - Type        Container ID
> DEBUG -    STATELESS   Default Stateless Container
> DEBUG - Deployments       : 7
> DEBUG - Type        Deployment ID
> DEBUG -    STATELESS   AnnuaireBean
> DEBUG -    STATELESS   InscriptionBean
> DEBUG -    STATELESS   ScolariteBean
> DEBUG -    STATELESS   ScolariteWS
> DEBUG -    STATELESS   RessourceWS
> DEBUG -    STATELESS   RessourceBean
> DEBUG -    STATELESS   ConfigurationBean
> DEBUG - SecurityService   :
> org.apache.openejb.core.security.SecurityServiceImpl
> DEBUG - TransactionManager:
> org.apache.geronimo.transaction.manager.GeronimoTransactionManager
> DEBUG - OpenEJB Container System ready.
> [EL Info]: 2009-10-24 18:36:13.028--ServerSession(1056169)-- 
> EclipseLink,
> version: Eclipse Persistence Services - 1.1.2.v20090612-r4475
> [EL Info]: 2009-10-24
> 18:36:13.976--ServerSession(1056169)--file:/G:/data/eclipse/ 
> workspace_0/Educa-serveur/build/classes/-educaPU
> login successful
> [EL Warning]: 2009-10-24 18:36:14.792--ServerSession(1056169)-- 
> Exception
> [EclipseLink-4002] (Eclipse Persistence Services - 1.1.2.v20090612- 
> r4475):
> org.eclipse.persistence.exceptions.DatabaseException
> Internal Exception: java.sql.SQLException: ORA-00955: ce nom d'objet  
> existe
> déjà
>
> Error Code: 955
> Call: CREATE TABLE SEQUENCE (SEQ_NAME VARCHAR2(50) NOT NULL, SEQ_COUNT
> NUMBER(38) NULL, PRIMARY KEY (SEQ_NAME))
> Query: DataModifyQuery(sql="CREATE TABLE SEQUENCE (SEQ_NAME  
> VARCHAR2(50) NOT
> NULL, SEQ_COUNT NUMBER(38) NULL, PRIMARY KEY (SEQ_NAME))")
>
>
> Quintin Beukes-2 wrote:
>>
>> These have to work.
>>
>> It looks like all 3 the necessary properties are being detected, so
>> you're specifying them in the correct place (system property or IC
>> environment). The only explanation could be that the values aren't
>> just right yet.
>>
>> So, set the following and see if it works:
>> openejb.deployments.classpath.filter.descriptors=true
>> openejb.deployments.classpath.include=""
>> openejb.deployments.classpath.exclude=".*"
>>
>> What happens when you specify the above. It should then not load
>> ANYTHING. If it works, you can start adjusting it till satisfied.
>>
>> You should remember that it is a regular expression on the URL, so
>> specify like "file:///c:/path/to/classes/.*"
>>
>> Also, if the libs is under your build/ directory, that would explain
>> why it finds it.
>>
>> Lastly, neither of these options take precedence. A list of urls are
>> taken, on which the excludes are run to give a list, then the  
>> includes
>> are run to give a list. These 2 lists are then combined and used as
>> the list of classpaths to scan. So you can choose to use both, or  
>> only
>> one. If you want to use ONLY includes, then use the exclude from  
>> above
>> with your own include. If you want to use ONLY excludes, do the same,
>> but the other way around.
>>
>> Also, if you're still not finding love, send your complete OpenEJB  
>> output.
>>
>> Q
>>
>> On Sat, Oct 24, 2009 at 3:47 PM, hypnosat7 <ab...@yahoo.fr> wrote:
>>>
>>> No change !
>>> I still got the message :
>>> WARN - Searched 78 classpath urls in 6917 milliseconds.  Average 88
>>> milliseconds per url.
>>> WARN - Consider adjusting your  
>>> openejb.deployments.classpath.exclude and
>>> openejb.deployments.classpath.include settings.  Current settings:
>>> exclude='".*"',
>>> include='"G:/data/eclipse/workspace_0/Educa-serveur/build/.*"'
>>>
>>>
>>> Jean-Louis MONTEIRO wrote:
>>>>
>>>> Hi,
>>>>
>>>> try adding this property
>>>>
>>>> openejb.deployments.classpath.filter.descriptors=true
>>>>
>>>> Jean-Louis
>>>>
>>>>
>>>> hypnosat7 wrote:
>>>>>
>>>>> Hello,
>>>>>
>>>>>   I'm looking for a way to make my tests runing quickly. When I  
>>>>> see the
>>>>> log trace of my test run, there's a lot of things done by OpenEjb
>>>>> (dicovering clientModule, checking for ejbs in the JBoss  
>>>>> jars!, ...).
>>>>> How
>>>>> can I say to OpenEJB to look for ejbs only in a path of my  
>>>>> choice ?
>>>>>
>>>>> In fact I've tried this:
>>>>> openejb.deployments.classpath.exclude = ".*"
>>>>> openejb.deployments.classpath.include =
>>>>> "G:/data/eclipse/workspace_0/Educa-serveur/build/.*"
>>>>>
>>>>> But when I run my test I'm still seing:
>>>>> WARN - Inspecting classpath for applications: 78 urls.
>>>>> WARN - ADJUST THE EXCLUDE/INCLUDE!!!.  Current settings:
>>>>> openejb.deployments.classpath.exclude='".*"',
>>>>> openejb.deployments.classpath.include='"G:/data/eclipse/ 
>>>>> workspace_0/Educa-serveur/build/.*"'
>>>>>
>>>>
>>>>
>>>
>>> --
>>> View this message in context:
>>> http://www.nabble.com/Optimizing-the-OpenEjb-modules-discovery-tp26036547p26039164.html
>>> Sent from the OpenEJB User mailing list archive at Nabble.com.
>>>
>>>
>>
>>
>
> -- 
> View this message in context: http://www.nabble.com/Optimizing-the-OpenEjb-modules-discovery-tp26036547p26041296.html
> Sent from the OpenEJB User mailing list archive at Nabble.com.
>
>


Re: Optimizing the OpenEjb modules discovery

Posted by hypnosat7 <ab...@yahoo.fr>.
I've copy/paste what you've proposed but my ejbs still being discovered. In
fact I have 2 different projects, one for the test and the other formy ejbs.
The test project is referencing the ejb project. I put the jndi.properties
file in the test project. I've also tried to put this file in both, but no
way:,( 

This is the output:
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=""'
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'
WARN - Inspecting classpath for applications: 78 urls.
WARN - ADJUST THE EXCLUDE/INCLUDE!!!.  Current settings:
openejb.deployments.classpath.exclude='".*"',
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 6696 milliseconds.  Average 85
milliseconds per url.
WARN - Consider adjusting your openejb.deployments.classpath.exclude and
openejb.deployments.classpath.include settings.  Current settings:
exclude='".*"', 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.eclipse.persistence.jpa.PersistenceProvider)
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-8653392470350675266bin.xml
INFO - Dumping Generated openejb-jar.xml to:
C:\Users\ELARBI~1\AppData\Local\Temp\openejb-jar-2646860971308971129bin.xml
INFO - Using 'openejb.descriptors.output=true'
INFO - Dumping Generated ejb-jar.xml to:
C:\Users\ELARBI~1\AppData\Local\Temp\ejb-jar-3949315494677255611classes.xml
INFO - Dumping Generated openejb-jar.xml to:
C:\Users\ELARBI~1\AppData\Local\Temp\openejb-jar-6700058807329760686classes.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
eclipselink.target-server=org.apache.openejb.eclipselink.JTATransactionController
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 - PersistenceUnit(name=educaPU,
provider=org.eclipse.persistence.jpa.PersistenceProvider)
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
DEBUG - Using default
'openejb.jndiname.strategy.class=org.apache.openejb.assembler.classic.JndiBuilder$TemplatedStrategy'
INFO - Using
'openejb.jndiname.format={ejbName}/{interfaceType.annotationName}'
DEBUG - Using default
'openejb.jndiname.strategy.class=org.apache.openejb.assembler.classic.JndiBuilder$TemplatedStrategy'
INFO - Using
'openejb.jndiname.format={ejbName}/{interfaceType.annotationName}'
DEBUG - Using default 'openejb.localcopy=true'
INFO - Jndi(name=ConfigurationBean/Remote) -->
Ejb(deployment-id=ConfigurationBean)
INFO - Jndi(name=AnnuaireBean/Remote) --> Ejb(deployment-id=AnnuaireBean)
INFO - Jndi(name=RessourceBean/Remote) --> Ejb(deployment-id=RessourceBean)
INFO - Jndi(name=InscriptionBean/Remote) -->
Ejb(deployment-id=InscriptionBean)
INFO - Jndi(name=ScolariteBean/Remote) --> Ejb(deployment-id=ScolariteBean)
INFO - Jndi(name=RessourceWS/Remote) --> Ejb(deployment-id=RessourceWS)
INFO - Jndi(name=ScolariteWS/Remote) --> Ejb(deployment-id=ScolariteWS)
INFO - Created Ejb(deployment-id=ScolariteBean, ejb-name=ScolariteBean,
container=Default Stateless Container)
INFO - Created Ejb(deployment-id=RessourceWS, ejb-name=RessourceWS,
container=Default Stateless Container)
INFO - Created Ejb(deployment-id=InscriptionBean, ejb-name=InscriptionBean,
container=Default Stateless Container)
INFO - Created Ejb(deployment-id=RessourceBean, ejb-name=RessourceBean,
container=Default Stateless Container)
INFO - Created Ejb(deployment-id=ScolariteWS, ejb-name=ScolariteWS,
container=Default Stateless Container)
INFO - Created Ejb(deployment-id=ConfigurationBean,
ejb-name=ConfigurationBean, container=Default Stateless Container)
INFO - Created Ejb(deployment-id=AnnuaireBean, ejb-name=AnnuaireBean,
container=Default Stateless Container)
INFO - Deployed Application(path=classpath.ear)
DEBUG - Containers        : 1
DEBUG - Type        Container ID
DEBUG -    STATELESS   Default Stateless Container
DEBUG - Deployments       : 7
DEBUG - Type        Deployment ID
DEBUG -    STATELESS   AnnuaireBean
DEBUG -    STATELESS   InscriptionBean
DEBUG -    STATELESS   ScolariteBean
DEBUG -    STATELESS   ScolariteWS
DEBUG -    STATELESS   RessourceWS
DEBUG -    STATELESS   RessourceBean
DEBUG -    STATELESS   ConfigurationBean
DEBUG - SecurityService   :
org.apache.openejb.core.security.SecurityServiceImpl
DEBUG - TransactionManager:
org.apache.geronimo.transaction.manager.GeronimoTransactionManager
DEBUG - OpenEJB Container System ready.
[EL Info]: 2009-10-24 18:36:13.028--ServerSession(1056169)--EclipseLink,
version: Eclipse Persistence Services - 1.1.2.v20090612-r4475
[EL Info]: 2009-10-24
18:36:13.976--ServerSession(1056169)--file:/G:/data/eclipse/workspace_0/Educa-serveur/build/classes/-educaPU
login successful
[EL Warning]: 2009-10-24 18:36:14.792--ServerSession(1056169)--Exception
[EclipseLink-4002] (Eclipse Persistence Services - 1.1.2.v20090612-r4475):
org.eclipse.persistence.exceptions.DatabaseException
Internal Exception: java.sql.SQLException: ORA-00955: ce nom d'objet existe
déjà

Error Code: 955
Call: CREATE TABLE SEQUENCE (SEQ_NAME VARCHAR2(50) NOT NULL, SEQ_COUNT
NUMBER(38) NULL, PRIMARY KEY (SEQ_NAME))
Query: DataModifyQuery(sql="CREATE TABLE SEQUENCE (SEQ_NAME VARCHAR2(50) NOT
NULL, SEQ_COUNT NUMBER(38) NULL, PRIMARY KEY (SEQ_NAME))")


Quintin Beukes-2 wrote:
> 
> These have to work.
> 
> It looks like all 3 the necessary properties are being detected, so
> you're specifying them in the correct place (system property or IC
> environment). The only explanation could be that the values aren't
> just right yet.
> 
> So, set the following and see if it works:
> openejb.deployments.classpath.filter.descriptors=true
> openejb.deployments.classpath.include=""
> openejb.deployments.classpath.exclude=".*"
> 
> What happens when you specify the above. It should then not load
> ANYTHING. If it works, you can start adjusting it till satisfied.
> 
> You should remember that it is a regular expression on the URL, so
> specify like "file:///c:/path/to/classes/.*"
> 
> Also, if the libs is under your build/ directory, that would explain
> why it finds it.
> 
> Lastly, neither of these options take precedence. A list of urls are
> taken, on which the excludes are run to give a list, then the includes
> are run to give a list. These 2 lists are then combined and used as
> the list of classpaths to scan. So you can choose to use both, or only
> one. If you want to use ONLY includes, then use the exclude from above
> with your own include. If you want to use ONLY excludes, do the same,
> but the other way around.
> 
> Also, if you're still not finding love, send your complete OpenEJB output.
> 
> Q
> 
> On Sat, Oct 24, 2009 at 3:47 PM, hypnosat7 <ab...@yahoo.fr> wrote:
>>
>> No change !
>> I still got the message :
>> WARN - Searched 78 classpath urls in 6917 milliseconds.  Average 88
>> milliseconds per url.
>> WARN - Consider adjusting your openejb.deployments.classpath.exclude and
>> openejb.deployments.classpath.include settings.  Current settings:
>> exclude='".*"',
>> include='"G:/data/eclipse/workspace_0/Educa-serveur/build/.*"'
>>
>>
>> Jean-Louis MONTEIRO wrote:
>>>
>>> Hi,
>>>
>>> try adding this property
>>>
>>> openejb.deployments.classpath.filter.descriptors=true
>>>
>>> Jean-Louis
>>>
>>>
>>> hypnosat7 wrote:
>>>>
>>>> Hello,
>>>>
>>>>   I'm looking for a way to make my tests runing quickly. When I see the
>>>> log trace of my test run, there's a lot of things done by OpenEjb
>>>> (dicovering clientModule, checking for ejbs in the JBoss jars!, ...).
>>>> How
>>>> can I say to OpenEJB to look for ejbs only in a path of my choice ?
>>>>
>>>> In fact I've tried this:
>>>> openejb.deployments.classpath.exclude = ".*"
>>>> openejb.deployments.classpath.include =
>>>> "G:/data/eclipse/workspace_0/Educa-serveur/build/.*"
>>>>
>>>> But when I run my test I'm still seing:
>>>> WARN - Inspecting classpath for applications: 78 urls.
>>>> WARN - ADJUST THE EXCLUDE/INCLUDE!!!.  Current settings:
>>>> openejb.deployments.classpath.exclude='".*"',
>>>> openejb.deployments.classpath.include='"G:/data/eclipse/workspace_0/Educa-serveur/build/.*"'
>>>>
>>>
>>>
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Optimizing-the-OpenEjb-modules-discovery-tp26036547p26039164.html
>> Sent from the OpenEJB User mailing list archive at Nabble.com.
>>
>>
> 
> 

-- 
View this message in context: http://www.nabble.com/Optimizing-the-OpenEjb-modules-discovery-tp26036547p26041296.html
Sent from the OpenEJB User mailing list archive at Nabble.com.


Re: Optimizing the OpenEjb modules discovery

Posted by Quintin Beukes <qu...@skywalk.co.za>.
These have to work.

It looks like all 3 the necessary properties are being detected, so
you're specifying them in the correct place (system property or IC
environment). The only explanation could be that the values aren't
just right yet.

So, set the following and see if it works:
openejb.deployments.classpath.filter.descriptors=true
openejb.deployments.classpath.include=""
openejb.deployments.classpath.exclude=".*"

What happens when you specify the above. It should then not load
ANYTHING. If it works, you can start adjusting it till satisfied.

You should remember that it is a regular expression on the URL, so
specify like "file:///c:/path/to/classes/.*"

Also, if the libs is under your build/ directory, that would explain
why it finds it.

Lastly, neither of these options take precedence. A list of urls are
taken, on which the excludes are run to give a list, then the includes
are run to give a list. These 2 lists are then combined and used as
the list of classpaths to scan. So you can choose to use both, or only
one. If you want to use ONLY includes, then use the exclude from above
with your own include. If you want to use ONLY excludes, do the same,
but the other way around.

Also, if you're still not finding love, send your complete OpenEJB output.

Q

On Sat, Oct 24, 2009 at 3:47 PM, hypnosat7 <ab...@yahoo.fr> wrote:
>
> No change !
> I still got the message :
> WARN - Searched 78 classpath urls in 6917 milliseconds.  Average 88
> milliseconds per url.
> WARN - Consider adjusting your openejb.deployments.classpath.exclude and
> openejb.deployments.classpath.include settings.  Current settings:
> exclude='".*"',
> include='"G:/data/eclipse/workspace_0/Educa-serveur/build/.*"'
>
>
> Jean-Louis MONTEIRO wrote:
>>
>> Hi,
>>
>> try adding this property
>>
>> openejb.deployments.classpath.filter.descriptors=true
>>
>> Jean-Louis
>>
>>
>> hypnosat7 wrote:
>>>
>>> Hello,
>>>
>>>   I'm looking for a way to make my tests runing quickly. When I see the
>>> log trace of my test run, there's a lot of things done by OpenEjb
>>> (dicovering clientModule, checking for ejbs in the JBoss jars!, ...). How
>>> can I say to OpenEJB to look for ejbs only in a path of my choice ?
>>>
>>> In fact I've tried this:
>>> openejb.deployments.classpath.exclude = ".*"
>>> openejb.deployments.classpath.include =
>>> "G:/data/eclipse/workspace_0/Educa-serveur/build/.*"
>>>
>>> But when I run my test I'm still seing:
>>> WARN - Inspecting classpath for applications: 78 urls.
>>> WARN - ADJUST THE EXCLUDE/INCLUDE!!!.  Current settings:
>>> openejb.deployments.classpath.exclude='".*"',
>>> openejb.deployments.classpath.include='"G:/data/eclipse/workspace_0/Educa-serveur/build/.*"'
>>>
>>
>>
>
> --
> View this message in context: http://www.nabble.com/Optimizing-the-OpenEjb-modules-discovery-tp26036547p26039164.html
> Sent from the OpenEJB User mailing list archive at Nabble.com.
>
>

Re: Optimizing the OpenEjb modules discovery

Posted by hypnosat7 <ab...@yahoo.fr>.
No change !
I still got the message : 
WARN - Searched 78 classpath urls in 6917 milliseconds.  Average 88
milliseconds per url.
WARN - Consider adjusting your openejb.deployments.classpath.exclude and
openejb.deployments.classpath.include settings.  Current settings:
exclude='".*"',
include='"G:/data/eclipse/workspace_0/Educa-serveur/build/.*"'


Jean-Louis MONTEIRO wrote:
> 
> Hi,
> 
> try adding this property
> 
> openejb.deployments.classpath.filter.descriptors=true
> 
> Jean-Louis
> 
> 
> hypnosat7 wrote:
>> 
>> Hello,
>> 
>>   I'm looking for a way to make my tests runing quickly. When I see the
>> log trace of my test run, there's a lot of things done by OpenEjb
>> (dicovering clientModule, checking for ejbs in the JBoss jars!, ...). How
>> can I say to OpenEJB to look for ejbs only in a path of my choice ?
>> 
>> In fact I've tried this:
>> openejb.deployments.classpath.exclude = ".*"
>> openejb.deployments.classpath.include =
>> "G:/data/eclipse/workspace_0/Educa-serveur/build/.*"
>> 
>> But when I run my test I'm still seing:
>> WARN - Inspecting classpath for applications: 78 urls.
>> WARN - ADJUST THE EXCLUDE/INCLUDE!!!.  Current settings:
>> openejb.deployments.classpath.exclude='".*"',
>> openejb.deployments.classpath.include='"G:/data/eclipse/workspace_0/Educa-serveur/build/.*"'
>> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Optimizing-the-OpenEjb-modules-discovery-tp26036547p26039164.html
Sent from the OpenEJB User mailing list archive at Nabble.com.


Re: Optimizing the OpenEjb modules discovery

Posted by Jean-Louis MONTEIRO <je...@atosorigin.com>.
Hi,

try adding this property

openejb.deployments.classpath.filter.descriptors=true

Jean-Louis


hypnosat7 wrote:
> 
> Hello,
> 
>   I'm looking for a way to make my tests runing quickly. When I see the
> log trace of my test run, there's a lot of things done by OpenEjb
> (dicovering clientModule, checking for ejbs in the JBoss jars!, ...). How
> can I say to OpenEJB to look for ejbs only in a path of my choice ?
> 
> In fact I've tried this:
> openejb.deployments.classpath.exclude = ".*"
> openejb.deployments.classpath.include =
> "G:/data/eclipse/workspace_0/Educa-serveur/build/.*"
> 
> But when I run my test I'm still seing:
> WARN - Inspecting classpath for applications: 78 urls.
> WARN - ADJUST THE EXCLUDE/INCLUDE!!!.  Current settings:
> openejb.deployments.classpath.exclude='".*"',
> openejb.deployments.classpath.include='"G:/data/eclipse/workspace_0/Educa-serveur/build/.*"'
> 

-- 
View this message in context: http://www.nabble.com/Optimizing-the-OpenEjb-modules-discovery-tp26036547p26037095.html
Sent from the OpenEJB User mailing list archive at Nabble.com.