Return-Path: Delivered-To: apmail-openejb-users-archive@www.apache.org Received: (qmail 8843 invoked from network); 1 Nov 2009 00:05:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 1 Nov 2009 00:05:29 -0000 Received: (qmail 44467 invoked by uid 500); 1 Nov 2009 00:05:29 -0000 Delivered-To: apmail-openejb-users-archive@openejb.apache.org Received: (qmail 44416 invoked by uid 500); 1 Nov 2009 00:05:28 -0000 Mailing-List: contact users-help@openejb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@openejb.apache.org Delivered-To: mailing list users@openejb.apache.org Received: (qmail 44405 invoked by uid 99); 1 Nov 2009 00:05:28 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Nov 2009 00:05:28 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of david.blevins@visi.com designates 208.42.176.212 as permitted sender) Received: from [208.42.176.212] (HELO g2host.com) (208.42.176.212) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Nov 2009 00:05:16 +0000 Received: from [71.106.81.39] (account dblevins@visi.com HELO [192.168.42.2]) by mailfront1.g2host.com (CommuniGate Pro SMTP 5.1.16) with ESMTPSA id 124373708 for users@openejb.apache.org; Sat, 31 Oct 2009 19:04:54 -0500 Message-Id: From: David Blevins To: users@openejb.apache.org In-Reply-To: <26041296.post@talk.nabble.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Apple Message framework v936) Subject: Re: Optimizing the OpenEjb modules discovery Date: Sat, 31 Oct 2009 17:04:52 -0700 References: <26036547.post@talk.nabble.com> <26037095.post@talk.nabble.com> <26039164.post@talk.nabble.com> <1f3854d50910240919h14cc6c66t2aaaeda017ffa39d@mail.gmail.com> <26041296.post@talk.nabble.com> X-Mailer: Apple Mail (2.936) X-Virus-Checked: Checked by ClamAV on apache.org I've been staring at this output and I can't figure out what might be =20= happening. Your include and exclude settings are the same as the =20 default and should exclude everything. There is some sort of strange =20= bug here that I've not yet seen. Can you try running this test case and report back the results. You =20 can put the test method in an existing test or put next to an existing =20= test -- anywhere we can be sure the test case is seeing the same =20 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 =3D ""; String excludeSetting =3D ".*"; UrlSet urlSet =3D new =20 UrlSet(DeploymentsResolver.class.getClassLoader()); UrlSet includes =3D urlSet.matching(includeSetting); urlSet =3D urlSet.exclude(excludeSetting); urlSet =3D urlSet.include(includes); for (URL url : urlSet.getUrls()) { System.out.println("url =3D " + 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 =20 > discovered. In > fact I have 2 different projects, one for the test and the other =20 > formy ejbs. > The test project is referencing the ejb project. I put the =20 > jndi.properties > file in the test project. I've also tried to put this file in both, =20= > but no > way:,( > > This is the output: > DEBUG - Using default 'openejb.nobanner=3Dtrue' > Apache OpenEJB 3.1.2 build: 20091010-03:11 > http://openejb.apache.org/ > INFO - openejb.home =3D G:\data\eclipse\workspace_0\Educa-serveur-test > INFO - openejb.base =3D G:\data\eclipse\workspace_0\Educa-serveur-test > DEBUG - Using default > 'openejb.assembler=3Dorg.apache.openejb.assembler.classic.Assembler' > DEBUG - Instantiating assembler class > org.apache.openejb.assembler.classic.Assembler > DEBUG - Using default 'openejb.jndiname.failoncollision=3Dtrue' > DEBUG - Using default > 'openejb.configurator=3Dorg.apache.openejb.config.ConfigurationFactory' > DEBUG - Using default 'openejb.validation.skip=3Dfalse' > DEBUG - Using default 'openejb.deploymentId.format=3D{ejbName}' > DEBUG - Using default 'openejb.debuggable-vm-hackery=3Dfalse' > DEBUG - Using default 'openejb.webservices.enabled=3Dtrue' > DEBUG - Using default 'openejb.vendor.config=3DALL' Possible values =20= > are: > geronimo, glassfish, jboss, weblogic or NONE or ALL > DEBUG - Using default =20 > 'openejb.provider.default=3Dorg.apache.openejb.embedded' > INFO - Configuring Service(id=3DDefault Security Service, > type=3DSecurityService, provider-id=3DDefault Security Service) > INFO - Configuring Service(id=3DDefault Transaction Manager, > type=3DTransactionManager, provider-id=3DDefault Transaction Manager) > INFO - Configuring Service(id=3DeducaDatabase, type=3DResource, > provider-id=3DDefault JDBC Database) > DEBUG - Override [Password=3D] > DEBUG - Override [JdbcUrl=3Djdbc:oracle:thin:@localhost:1521:xe] > DEBUG - Override [UserName=3Dsystem] > DEBUG - Override [JdbcDriver=3Doracle.jdbc.OracleDriver] > DEBUG - Using default 'openejb.deployments.classpath=3Dtrue' > INFO - Using 'openejb.deployments.classpath.include=3D""' > INFO - Using 'openejb.deployments.classpath.exclude=3D".*"' > DEBUG - Using default > 'openejb.deployments.classpath.require.descriptor=3Dfalse' > INFO - Using 'openejb.deployments.classpath.filter.descriptors=3Dtrue' > DEBUG - Using default =20 > 'openejb.deployments.classpath.filter.systemapps=3Dtrue' > WARN - Inspecting classpath for applications: 78 urls. > WARN - ADJUST THE EXCLUDE/INCLUDE!!!. Current settings: > openejb.deployments.classpath.exclude=3D'".*"', > openejb.deployments.classpath.include=3D'""' > 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=20 > \javassist.jar > INFO - Found ClientModule in classpath: > G:\repository\apache\openejb\openejb-3.1.2\openejb-3.1.2\lib\xml-=20 > 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=20 > \jboss-serialization.jar > INFO - Found ClientModule in classpath: > G:\repository\jboss\as\jboss-5.1.0.GA-jdk6\jboss-5.1.0.GA\client=20 > \jboss-remoting.jar > INFO - Found ClientModule in classpath: > G:\repository\apache\openejb\openejb-3.1.2\openejb-3.1.2\lib=20 > \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/=20= > client/jboss-client.jar!/ > DEBUG - Annotations path: > jar:file:/G:/repository/jboss/as/jboss-5.1.0.GA-jdk6/jboss-5.1.0.GA/=20= > 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/=20= > 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/=20= > 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/=20= > client/jboss-integration.jar!/ > DEBUG - Annotations path: > jar:file:/G:/repository/jboss/as/jboss-5.1.0.GA-jdk6/jboss-5.1.0.GA/=20= > 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/=20 > lib/quartz-1.5.2.jar!/ > DEBUG - Annotations path: > jar:file:/G:/data/eclipse/eclipse-jee-galileo-win32/eclipse/plugins/=20= > 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/=20= > 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/=20= > 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/=20= > 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/=20= > client/slf4j-api.jar!/ > DEBUG - Annotations path: > jar:file:/G:/repository/jboss/as/jboss-5.1.0.GA-jdk6/jboss-5.1.0.GA/=20= > 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/=20= > client/jboss-ejb3-proxy-impl-client.jar!/ > DEBUG - Annotations path: > jar:file:/G:/repository/apache/openejb/openejb-3.1.2/openejb-3.1.2/=20 > 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/=20= > 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/=20= > 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/=20= > 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/=20= > client/jboss-ejb3-security-client.jar!/ > DEBUG - Annotations path: > jar:file:/G:/repository/apache/openejb/openejb-3.1.2/openejb-3.1.2/=20 > 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/=20= > client/commons-logging.jar!/ > DEBUG - Annotations path: > jar:file:/G:/repository/jboss/as/jboss-5.1.0.GA-jdk6/jboss-5.1.0.GA/=20= > 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/=20= > client/javassist.jar!/ > DEBUG - Annotations path: > jar:file:/G:/repository/jboss/as/jboss-5.1.0.GA-jdk6/jboss-5.1.0.GA/=20= > client/jbosssx-client.jar!/ > DEBUG - Annotations path: > jar:file:/G:/repository/jboss/as/jboss-5.1.0.GA-jdk6/jboss-5.1.0.GA/=20= > client/hibernate-annotations.jar!/ > DEBUG - Annotations path: > jar:file:/G:/repository/jboss/as/jboss-5.1.0.GA-jdk6/jboss-5.1.0.GA/=20= > client/jmx-client.jar!/ > DEBUG - Annotations path: > jar:file:/G:/repository/jboss/as/jboss-5.1.0.GA-jdk6/jboss-5.1.0.GA/=20= > client/jbossall-client.jar!/ > DEBUG - Annotations path: > jar:file:/G:/repository/jboss/as/jboss-5.1.0.GA-jdk6/jboss-5.1.0.GA/=20= > client/jboss-logging-jdk.jar!/ > DEBUG - Annotations path: > file:/G:/data/eclipse/eclipse-jee-galileo-win32/eclipse/=20 > 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/=20= > client/jboss-j2se.jar!/ > DEBUG - Annotations path: > jar:file:/G:/repository/jboss/as/jboss-5.1.0.GA-jdk6/jboss-5.1.0.GA/=20= > 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/=20= > 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/=20= > client/jboss-deployment.jar!/ > DEBUG - Annotations path: > jar:file:/G:/repository/jboss/as/jboss-5.1.0.GA-jdk6/jboss-5.1.0.GA/=20= > client/log4j.jar!/ > DEBUG - Annotations path: > jar:file:/G:/repository/jboss/as/jboss-5.1.0.GA-jdk6/jboss-5.1.0.GA/=20= > client/jboss-iiop-client.jar!/ > DEBUG - Annotations path: > jar:file:/G:/repository/apache/openejb/openejb-3.1.2/openejb-3.1.2/=20 > 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/=20= > client/jboss-ejb3-ext-api.jar!/ > DEBUG - Annotations path: > jar:file:/G:/data/eclipse/eclipse-jee-galileo-win32/eclipse/plugins/=20= > org.eclipse.persistence.jpa_1.1.2.v20090612-r4475.jar!/ > DEBUG - Annotations path: > jar:file:/G:/data/eclipse/eclipse-jee-galileo-win32/eclipse/plugins/=20= > 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/=20= > client/ejb3-persistence.jar!/ > DEBUG - Annotations path: > jar:file:/G:/repository/jboss/as/jboss-5.1.0.GA-jdk6/jboss-5.1.0.GA/=20= > 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/=20= > client/jboss-appclient.jar!/ > DEBUG - Annotations path: > jar:file:/G:/repository/apache/openejb/openejb-3.1.2/openejb-3.1.2/=20 > 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/=20= > 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/=20= > client/jboss-serialization.jar!/ > DEBUG - Annotations path: > jar:file:/G:/repository/jboss/as/jboss-5.1.0.GA-jdk6/jboss-5.1.0.GA/=20= > 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/=20= > client/jbossjts-integration.jar!/ > DEBUG - Annotations path: > jar:file:/G:/repository/jboss/as/jboss-5.1.0.GA-jdk6/jboss-5.1.0.GA/=20= > client/jboss-javaee.jar!/ > DEBUG - Annotations path: > jar:file:/G:/repository/jboss/as/jboss-5.1.0.GA-jdk6/jboss-5.1.0.GA/=20= > client/jnp-client.jar!/ > DEBUG - Annotations path: > jar:file:/G:/repository/jboss/as/jboss-5.1.0.GA-jdk6/jboss-5.1.0.GA/=20= > client/jbossjts.jar!/ > DEBUG - Annotations path: > jar:file:/G:/repository/apache/openejb/openejb-3.1.2/openejb-3.1.2/=20 > 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/=20= > client/trove.jar!/ > DEBUG - Annotations path: > jar:file:/G:/repository/jboss/as/jboss-5.1.0.GA-jdk6/jboss-5.1.0.GA/=20= > client/jboss-ejb3-proxy-spi-client.jar!/ > DEBUG - Annotations path: > jar:file:/G:/repository/apache/openejb/openejb-3.1.2/openejb-3.1.2/=20 > 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/=20= > client/jboss-deployers-client-spi.jar!/ > DEBUG - Annotations path: > jar:file:/G:/repository/apache/openejb/openejb-3.1.2/openejb-3.1.2/=20 > 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/=20= > 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/=20= > client/jboss-ejb3-common-client.jar!/ > DEBUG - Annotations path: > jar:file:/G:/repository/apache/openejb/openejb-3.1.2/openejb-3.1.2/=20 > 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/=20= > client/jboss-ha-legacy-client.jar!/ > DEBUG - Annotations path: > jar:file:/G:/data/eclipse/eclipse-jee-galileo-win32/eclipse/plugins/=20= > org.junit_3.8.2.v20090203-1005/junit.jar!/ > DEBUG - Annotations path: > jar:file:/G:/data/eclipse/eclipse-jee-galileo-win32/eclipse/plugins/=20= > 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/=20 > lib/saaj-impl-1.3.jar!/ > DEBUG - Annotations path: > jar:file:/G:/repository/apache/openejb/openejb-3.1.2/openejb-3.1.2/=20 > lib/opensaml-1.1.jar!/ > DEBUG - Annotations path: > file:/G:/data/eclipse/eclipse-jee-galileo-win32/eclipse/=20 > 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/=20 > lib/bcprov-jdk15-140.jar!/ > DEBUG - Annotations path: > jar:file:/G:/repository/apache/openejb/openejb-3.1.2/openejb-3.1.2/=20 > 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/=20= > 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/=20= > client/jboss-remoting.jar!/ > DEBUG - Annotations path: > jar:file:/G:/repository/jboss/as/jboss-5.1.0.GA-jdk6/jboss-5.1.0.GA/=20= > client/jboss-jsr77-client.jar!/ > DEBUG - Annotations path: > jar:file:/G:/repository/apache/openejb/openejb-3.1.2/openejb-3.1.2/=20 > 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/=20= > client/jboss-aop-client.jar!/ > DEBUG - Annotations path: > jar:file:/G:/repository/apache/openejb/openejb-3.1.2/openejb-3.1.2/=20 > 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/=20= > 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/=20= > client/xmlsec.jar!/ > DEBUG - Annotations path: > jar:file:/G:/repository/jboss/as/jboss-5.1.0.GA-jdk6/jboss-5.1.0.GA/=20= > 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 =20= > and > openejb.deployments.classpath.include settings. Current settings: > exclude=3D'".*"', include=3D'""' > DEBUG - Using default 'openejb.deployments.classpath.ear=3Dtrue' > INFO - Beginning load: G:\data\eclipse\workspace_0\Educa-serveur-test=20= > \bin > DEBUG - Using default 'openejb.tempclassloader.skip=3Dnone' Possible =20= > values > are: none, annotations, enums or NONE or ALL > DEBUG - Using default 'openejb.tempclassloader.skip=3Dnone' Possible =20= > 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=3Dnone' Possible =20= > values > are: none, annotations, enums or NONE or ALL > DEBUG - Using default 'openejb.tempclassloader.skip=3Dnone' Possible =20= > 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=20 > \javassist.jar > DEBUG - Using default 'openejb.tempclassloader.skip=3Dnone' Possible =20= > 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-=20 > resolver-1.2.jar > DEBUG - Using default 'openejb.tempclassloader.skip=3Dnone' Possible =20= > 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=20 > \jboss-serialization.jar > DEBUG - Using default 'openejb.tempclassloader.skip=3Dnone' Possible =20= > 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=20 > \jboss-remoting.jar > DEBUG - Using default 'openejb.tempclassloader.skip=3Dnone' Possible =20= > 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=20 > \serializer-2.7.1.jar > DEBUG - Using default 'openejb.tempclassloader.skip=3Dnone' Possible =20= > 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 =20 > OPENEJB-980) - > it doesn't care whether inherited is true/false > DEBUG - Searching for inherited application exceptions (see =20 > 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 =20= > with > rollback=3Dtrue > INFO - Configuring Service(id=3DDefault Stateless Container, =20 > type=3DContainer, > provider-id=3DDefault Stateless Container) > INFO - Auto-creating a container for bean ConfigurationBean: > Container(type=3DSTATELESS, id=3DDefault Stateless Container) > INFO - Configuring PersistenceUnit(name=3DEduca-serveur-test) > DEBUG - raw null > DEBUG - raw null > DEBUG - normalized null > DEBUG - normalized null > DEBUG - Available DataSources > DEBUG - DataSource(name=3DeducaDatabase, JtaManaged=3Dtrue) > INFO - Auto-creating a Resource with id 'educaDatabaseNonJta' of type > 'DataSource for 'Educa-serveur-test'. > INFO - Configuring Service(id=3DeducaDatabaseNonJta, type=3DResource, > provider-id=3DeducaDatabase) > INFO - Adjusting PersistenceUnit Educa-serveur-test source> to > Resource ID 'educaDatabase' from 'null' > INFO - Adjusting PersistenceUnit Educa-serveur-test source> to > Resource ID 'educaDatabaseNonJta' from 'null' > INFO - Configuring PersistenceUnit(name=3DeducaPU, > provider=3Dorg.eclipse.persistence.jpa.PersistenceProvider) > DEBUG - raw java:/OracleDS > DEBUG - raw null > DEBUG - normalized java:/OracleDS > DEBUG - normalized null > DEBUG - Available DataSources > DEBUG - DataSource(name=3DeducaDatabase, JtaManaged=3Dtrue) > DEBUG - DataSource(name=3DeducaDatabaseNonJta, JtaManaged=3Dfalse) > INFO - Adjusting PersistenceUnit educaPU to =20 > Resource ID > 'educaDatabase' from 'java:/OracleDS' > INFO - Adjusting PersistenceUnit educaPU to =20 > Resource > ID 'educaDatabaseNonJta' from 'null' > INFO - Using 'openejb.descriptors.output=3Dtrue' > INFO - Using 'openejb.descriptors.output=3Dtrue' > INFO - Dumping Generated ejb-jar.xml to: > C:\Users\ELARBI~1\AppData\Local\Temp\ejb-=20 > jar-8653392470350675266bin.xml > INFO - Dumping Generated openejb-jar.xml to: > C:\Users\ELARBI~1\AppData\Local\Temp\openejb-=20 > jar-2646860971308971129bin.xml > INFO - Using 'openejb.descriptors.output=3Dtrue' > INFO - Dumping Generated ejb-jar.xml to: > C:\Users\ELARBI~1\AppData\Local\Temp\ejb-=20 > jar-3949315494677255611classes.xml > INFO - Dumping Generated openejb-jar.xml to: > C:\Users\ELARBI~1\AppData\Local\Temp\openejb-=20 > jar-6700058807329760686classes.xml > DEBUG - Adding persistence-unit educaPU property > eclipselink.target-=20 > database=20 > =3Dorg.eclipse.persistence.platform.database.oracle.OraclePlatform > DEBUG - Adding persistence-unit educaPU property > non-jta-data-source=3DeducaDatabase > DEBUG - Adding persistence-unit educaPU property > jta-data-source=3DeducaDatabase > DEBUG - Adding persistence-unit educaPU property > eclipselink.ddl-generation=3Ddrop-and-create-tables > DEBUG - Adding persistence-unit educaPU property > eclipselink.application-location=3DG:/data/eclipse/workspace_0/Educa-=20= > serveur-test/scriptDB > DEBUG - Adding persistence-unit educaPU property > eclipselink.ddl-generation.output-mode=3Dboth > DEBUG - Adjusting PersistenceUnit(name=3DeducaPU) property to > eclipselink.target-=20 > server=3Dorg.apache.openejb.eclipselink.JTATransactionController > INFO - Using 'openejb.validation.output.level=3DVERBOSE' > INFO - Enterprise application "classpath.ear" loaded. > INFO - Assembling app: classpath.ear > DEBUG - Using default 'openejb.tempclassloader.skip=3Dnone' Possible =20= > values > are: none, annotations, enums or NONE or ALL > INFO - PersistenceUnit(name=3DEduca-serveur-test, > provider=3Dorg.apache.openjpa.persistence.PersistenceProviderImpl) > DEBUG - Using default 'openejb.tempclassloader.skip=3Dnone' Possible =20= > values > are: none, annotations, enums or NONE or ALL > ERROR - JAVA AGENT NOT INSTALLED. The JPA Persistence Provider =20 > requested > installation of a ClassFileTransformer which requires a JavaAgent. =20= > See > http://openejb.apache.org/3.0/javaagent.html > INFO - PersistenceUnit(name=3DeducaPU, > provider=3Dorg.eclipse.persistence.jpa.PersistenceProvider) > DEBUG - Using default 'openejb.tempclassloader.skip=3Dnone' Possible =20= > values > are: none, annotations, enums or NONE or ALL > ERROR - JAVA AGENT NOT INSTALLED. The JPA Persistence Provider =20 > requested > installation of a ClassFileTransformer which requires a JavaAgent. =20= > See > http://openejb.apache.org/3.0/javaagent.html > DEBUG - Using default > 'openejb=20 > .jndiname=20 > .strategy.class=3Dorg.apache.openejb.assembler.classic.JndiBuilder=20 > $TemplatedStrategy' > INFO - Using > 'openejb.jndiname.format=3D{ejbName}/{interfaceType.annotationName}' > DEBUG - Using default > 'openejb=20 > .jndiname=20 > .strategy.class=3Dorg.apache.openejb.assembler.classic.JndiBuilder=20 > $TemplatedStrategy' > INFO - Using > 'openejb.jndiname.format=3D{ejbName}/{interfaceType.annotationName}' > DEBUG - Using default 'openejb.localcopy=3Dtrue' > INFO - Jndi(name=3DConfigurationBean/Remote) --> > Ejb(deployment-id=3DConfigurationBean) > INFO - Jndi(name=3DAnnuaireBean/Remote) --> Ejb(deployment-=20 > id=3DAnnuaireBean) > INFO - Jndi(name=3DRessourceBean/Remote) --> Ejb(deployment-=20 > id=3DRessourceBean) > INFO - Jndi(name=3DInscriptionBean/Remote) --> > Ejb(deployment-id=3DInscriptionBean) > INFO - Jndi(name=3DScolariteBean/Remote) --> Ejb(deployment-=20 > id=3DScolariteBean) > INFO - Jndi(name=3DRessourceWS/Remote) --> Ejb(deployment-=20 > id=3DRessourceWS) > INFO - Jndi(name=3DScolariteWS/Remote) --> Ejb(deployment-=20 > id=3DScolariteWS) > INFO - Created Ejb(deployment-id=3DScolariteBean, ejb-=20 > name=3DScolariteBean, > container=3DDefault Stateless Container) > INFO - Created Ejb(deployment-id=3DRessourceWS, ejb-name=3DRessourceWS, > container=3DDefault Stateless Container) > INFO - Created Ejb(deployment-id=3DInscriptionBean, ejb-=20 > name=3DInscriptionBean, > container=3DDefault Stateless Container) > INFO - Created Ejb(deployment-id=3DRessourceBean, ejb-=20 > name=3DRessourceBean, > container=3DDefault Stateless Container) > INFO - Created Ejb(deployment-id=3DScolariteWS, ejb-name=3DScolariteWS, > container=3DDefault Stateless Container) > INFO - Created Ejb(deployment-id=3DConfigurationBean, > ejb-name=3DConfigurationBean, container=3DDefault Stateless Container) > INFO - Created Ejb(deployment-id=3DAnnuaireBean, = ejb-name=3DAnnuaireBean, > container=3DDefault Stateless Container) > INFO - Deployed Application(path=3Dclasspath.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)--=20 > 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/=20 > workspace_0/Educa-serveur/build/classes/-educaPU > login successful > [EL Warning]: 2009-10-24 18:36:14.792--ServerSession(1056169)--=20 > Exception > [EclipseLink-4002] (Eclipse Persistence Services - 1.1.2.v20090612-=20 > r4475): > org.eclipse.persistence.exceptions.DatabaseException > Internal Exception: java.sql.SQLException: ORA-00955: ce nom d'objet =20= > existe > d=E9j=E0 > > 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=3D"CREATE TABLE SEQUENCE (SEQ_NAME =20 > 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=3Dtrue >> openejb.deployments.classpath.include=3D"" >> openejb.deployments.classpath.exclude=3D".*" >> >> 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 =20 >> 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 =20 >> only >> one. If you want to use ONLY includes, then use the exclude from =20 >> 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 =20= >> output. >> >> Q >> >> On Sat, Oct 24, 2009 at 3:47 PM, hypnosat7 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 =20 >>> openejb.deployments.classpath.exclude and >>> openejb.deployments.classpath.include settings. Current settings: >>> exclude=3D'".*"', >>> include=3D'"G:/data/eclipse/workspace_0/Educa-serveur/build/.*"' >>> >>> >>> Jean-Louis MONTEIRO wrote: >>>> >>>> Hi, >>>> >>>> try adding this property >>>> >>>> openejb.deployments.classpath.filter.descriptors=3Dtrue >>>> >>>> Jean-Louis >>>> >>>> >>>> hypnosat7 wrote: >>>>> >>>>> Hello, >>>>> >>>>> I'm looking for a way to make my tests runing quickly. When I =20= >>>>> 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 =20 >>>>> jars!, ...). >>>>> How >>>>> can I say to OpenEJB to look for ejbs only in a path of my =20 >>>>> choice ? >>>>> >>>>> In fact I've tried this: >>>>> openejb.deployments.classpath.exclude =3D ".*" >>>>> openejb.deployments.classpath.include =3D >>>>> "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=3D'".*"', >>>>> openejb.deployments.classpath.include=3D'"G:/data/eclipse/=20 >>>>> workspace_0/Educa-serveur/build/.*"' >>>>> >>>> >>>> >>> >>> -- >>> View this message in context: >>> = http://www.nabble.com/Optimizing-the-OpenEjb-modules-discovery-tp26036547p= 26039164.html >>> Sent from the OpenEJB User mailing list archive at Nabble.com. >>> >>> >> >> > > --=20 > View this message in context: = http://www.nabble.com/Optimizing-the-OpenEjb-modules-discovery-tp26036547p= 26041296.html > Sent from the OpenEJB User mailing list archive at Nabble.com. > >