tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Quintin Beukes <quin...@skywalk.co.za>
Subject Re: Optimizing the OpenEjb modules discovery
Date Tue, 03 Nov 2009 17:40:34 GMT
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 <ablarbi@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 <ablarbi@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 <ablarbi@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.
>
>

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