[BUILD] trunk: Failed for Revision: 1005716
Geronimo Revision: 1005716 built with tests included See the full build-0300.log file at http://people.apache.org/builds/geronimo/server/binaries/trunk/20101008/build-0300.log See the unit test reports at http://people.apache.org/builds/geronimo/server/binaries/trunk/20101008/unit-test-reports [org.apache.geronimo.system.configuration.DependencyManager] : Starting artifact: DependencyType [org.apache.geronimo.specs/geronimo-annotation_1.1_spec/1.0.1/jar:null] [org.apache.geronimo.system.configuration.DependencyManager] : Starting artifact: DependencyType [org.apache.servicemix.bundles/org.apache.servicemix.bundles.serp/1.13.1_2/jar:null] [org.apache.geronimo.system.configuration.DependencyManager] : Starting artifact: DependencyType [commons-lang/commons-lang/2.5/jar:null] [org.apache.geronimo.system.configuration.DependencyManager] : Starting artifact: DependencyType [org.apache.geronimo.configs/transaction-1_6/3.0-SNAPSHOT/car:null] [org.apache.geronimo.system.configuration.DependencyManager] : Starting artifact: DependencyType [org.apache.geronimo.modules/geronimo-aries-jpa/3.0-SNAPSHOT/jar:null] [org.apache.geronimo.system.configuration.DependencyManager] : Starting artifact: DependencyType [org.apache.aries.jpa/org.apache.aries.jpa.container/0.2-incubating/jar:null] [org.apache.geronimo.system.configuration.DependencyManager] : Starting artifact: DependencyType [org.apache.aries.jpa/org.apache.aries.jpa.api/0.2-incubating/jar:null] [org.apache.geronimo.system.configuration.DependencyManager] : Starting artifact: DependencyType [org.apache.aries.jpa/org.apache.aries.jpa.blueprint.aries/0.2-incubating/jar:null] [org.apache.geronimo.system.configuration.DependencyManager] : Starting artifact: DependencyType [org.apache.aries.jpa/org.apache.aries.jpa.container.context/0.2-incubating/jar:null] [org.apache.geronimo.system.configuration.DependencyManager] : did not find geronimo-plugin.xml for bundle org.apache.geronimo.modules.geronimo-openjpa2 [127] [org.apache.geronimo.system.configuration.DependencyManager] : did not find geronimo-plugin.xml for bundle org.apache.openjpa [128] [org.apache.geronimo.system.configuration.DependencyManager] : did not find geronimo-plugin.xml for bundle org.apache.commons.collections [129] [org.apache.geronimo.system.configuration.DependencyManager] : did not find geronimo-plugin.xml for bundle org.apache.commons.pool [130] [org.apache.geronimo.system.configuration.DependencyManager] : did not find geronimo-plugin.xml for bundle org.apache.geronimo.specs.geronimo-annotation_1.1_spec [131] [org.apache.geronimo.system.configuration.DependencyManager] : did not find geronimo-plugin.xml for bundle org.apache.servicemix.bundles.serp [132] [org.apache.geronimo.system.configuration.DependencyManager] : did not find geronimo-plugin.xml for bundle org.apache.commons.lang [133] [org.apache.geronimo.system.configuration.DependencyManager] : did not find geronimo-plugin.xml for bundle org.apache.aries.jpa.container [135] [org.apache.geronimo.system.configuration.DependencyManager] : did not find geronimo-plugin.xml for bundle org.apache.aries.jpa.api [136] [org.apache.geronimo.system.configuration.DependencyManager] : did not find geronimo-plugin.xml for bundle org.apache.aries.jpa.blueprint.aries [137] [org.apache.geronimo.system.configuration.DependencyManager] : did not find geronimo-plugin.xml for bundle org.apache.aries.jpa.container.context [138] [org.apache.geronimo.gbean.runtime.GBeanInstanceState] : GBeanInstanceState for: org.apache.geronimo.configs/openjpa2/3.0-SNAPSHOT/car?configurationName=org.apache.geronimo.configs/openjpa2/3.0-SNAPSHOT/car State changed from stopped to starting [org.apache.geronimo.kernel.config.Configuration] : Started configuration org.apache.geronimo.configs/openjpa2/3.0-SNAPSHOT/car [org.apache.geronimo.gbean.runtime.GBeanInstanceState] : GBeanInstanceState for: org.apache.geronimo.configs/openjpa2/3.0-SNAPSHOT/car?configurationName=org.apache.geronimo.configs/openjpa2/3.0-SNAPSHOT/car State changed from starting to running [org.apache.geronimo.kernel.config.SimpleConfigurationManager] : Loaded Configuration org.apache.geronimo.configs/openjpa2/3.0-SNAPSHOT/car?configurationName=org.apache.geronimo.configs/openjpa2/3.0-SNAPSHOT/car [org.apache.geronimo.system.configuration.DependencyManager] : did not find geronimo-plugin.xml for bundle org.apache.yoko.spec-corba [139] [org.apache.geronimo.system.configuration.DependencyManager] : did not find geronimo-plugin.xml for bundle org.apache.xbean.asm-shaded [140] [org.apache.geronimo.system.configuration.DependencyManager] : did not find geronimo-plugin.xml for bundle org.apache.servicemix.bundles.quartz [141] [org.apache.geronimo.kernel.config.Configuration] : Started configuration org.apache.geronimo.configs/openejb/3.0-SNAPSHOT/car [org.apache.geronimo.kernel.config.Configuration] : Stopping configuration org.apache.geronimo.configs/openejb/3.0
Re: svn commit: r963176 - in /geronimo/server/branches/2.2/plugins/activemq/activemq-broker/src/main/resources: activemq-template.xml activemq.xml
On Jul 11, 2010, at 10:43 PM, genspr...@apache.org wrote: Author: genspring Date: Mon Jul 12 02:43:22 2010 New Revision: 963176 URL: http://svn.apache.org/viewvc?rev=963176view=rev Log: Revert GERONIMO-5372 - change the default adapter in geronimo to kahaDB. Because it's causing a jms tck failure. Since persistentAdapter is also working well per GERONIMO-5426. we need to revert this back. Hi Shawn, Do we have information on the failures that kahaDB caused? If this is a problem with the kahaDB persistence adapter, we should pass this information along to the ActiveMQ community so that the problem can be fixed. Would it be possible to recreate this problem? --kevan
[jira] Commented: (GERONIMO-5230) Add Bean Validation Support to the connector 1.6 implementation.
[ https://issues.apache.org/jira/browse/GERONIMO-5230?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12919297#action_12919297 ] Rick McGuire commented on GERONIMO-5230: Changes to connector component committed r1005848 Changes to geronimo server commited r1005852 Still working on some unit tests to verify the validation works and changes to openejb to support this for ActivationSpec objects. Add Bean Validation Support to the connector 1.6 implementation. - Key: GERONIMO-5230 URL: https://issues.apache.org/jira/browse/GERONIMO-5230 Project: Geronimo Issue Type: Sub-task Security Level: public(Regular issues) Reporter: Rick McGuire Assignee: Rick McGuire Attachments: connector.patch, txmanager.patch -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Created: (GERONIMO-5635) corrupt JobSchedulerStore can cause server restart to fail
corrupt JobSchedulerStore can cause server restart to fail --- Key: GERONIMO-5635 URL: https://issues.apache.org/jira/browse/GERONIMO-5635 Project: Geronimo Issue Type: Bug Security Level: public (Regular issues) Affects Versions: 2.2.1 Reporter: Kevan Miller Fix For: 2.2.1 A hard server stop (e.g. kill -9) will frequently result in a corrupt JobSchedulerStore. Subsequent restart will fail. See https://issues.apache.org/activemq/browse/AMQ-2935 for more information. This should be fixed in an ActiveMQ 5.4.2 release. In meantime, you can avoid the problem using the following in var/activemq/conf/activemq.xml: broker xmlns=http://activemq.apache.org/schema/core; brokerName=${activemq.brokerName} tmpDataDirectory=${activemq.data}/tmp_storage useShutdownHook=false start=false schedulerSupport=false -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Updated: (GERONIMO-5635) corrupt JobSchedulerStore can cause server restart to fail
[ https://issues.apache.org/jira/browse/GERONIMO-5635?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kevan Miller updated GERONIMO-5635: --- Priority: Blocker (was: Major) corrupt JobSchedulerStore can cause server restart to fail --- Key: GERONIMO-5635 URL: https://issues.apache.org/jira/browse/GERONIMO-5635 Project: Geronimo Issue Type: Bug Security Level: public(Regular issues) Affects Versions: 2.2.1 Reporter: Kevan Miller Priority: Blocker Fix For: 2.2.1 A hard server stop (e.g. kill -9) will frequently result in a corrupt JobSchedulerStore. Subsequent restart will fail. See https://issues.apache.org/activemq/browse/AMQ-2935 for more information. This should be fixed in an ActiveMQ 5.4.2 release. In meantime, you can avoid the problem using the following in var/activemq/conf/activemq.xml: broker xmlns=http://activemq.apache.org/schema/core; brokerName=${activemq.brokerName} tmpDataDirectory=${activemq.data}/tmp_storage useShutdownHook=false start=false schedulerSupport=false -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[BUILD] trunk: Failed for Revision: 1005809
Geronimo Revision: 1005809 built with tests included See the full build-0900.log file at http://people.apache.org/builds/geronimo/server/binaries/trunk/20101008/build-0900.log Download the binaries from http://people.apache.org/builds/geronimo/server/binaries/trunk/20101008 [INFO] BUILD SUCCESSFUL [INFO] [INFO] Total time: 41 minutes 24 seconds [INFO] Finished at: Fri Oct 08 09:42:34 EDT 2010 [INFO] Final Memory: 462M/1007M [INFO] TESTSUITE RESULTS (Failures only) = Assembly: tomcat = See full test results and logs at http://people.apache.org/builds/geronimo/server/binaries/trunk/20101008/logs-0900-tomcat/ Running TestSuite Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 19.567 sec FAILURE! [INFO] skip non existing resourceDirectory /home/geronimo/geronimo/trunk/testsuite/javaee6-testsuite/servlet3.0-test/fragment2/src/main/filtered-resources [INFO] Copying 3 resources [INFO] [compiler:compile {execution: default-compile}] [INFO] Compiling 3 source files to /home/geronimo/geronimo/trunk/testsuite/javaee6-testsuite/servlet3.0-test/fragment2/target/classes [INFO] [resources:testResources {execution: default-testResources}] [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/geronimo/geronimo/trunk/testsuite/javaee6-testsuite/servlet3.0-test/fragment2/src/test/resources [INFO] skip non existing resourceDirectory /home/geronimo/geronimo/trunk/testsuite/javaee6-testsuite/servlet3.0-test/fragment2/src/test/filtered-resources [INFO] Copying 3 resources [INFO] [compiler:testCompile {execution: default-testCompile}] [INFO] No sources to compile [INFO] [surefire:test {execution: default-test}] [INFO] Tests are skipped. [INFO] [jar:jar {execution: default-jar}] [INFO] Building jar: /home/geronimo/geronimo/trunk/testsuite/javaee6-testsuite/servlet3.0-test/fragment2/target/fragment2-3.0-SNAPSHOT.jar [INFO] [ianal:verify-legal-files {execution: default}] [WARNING] Skipping verification of legal files in artifacts: [WARNING] org.apache.geronimo.testsuite:fragment2:jar:3.0-SNAPSHOT [INFO] [install:install {execution: default-install}] [INFO] Installing /home/geronimo/geronimo/trunk/testsuite/javaee6-testsuite/servlet3.0-test/fragment2/target/fragment2-3.0-SNAPSHOT.jar to /home/geronimo/.m2/repository/org/apache/geronimo/testsuite/fragment2/3.0-SNAPSHOT/fragment2-3.0-SNAPSHOT.jar [INFO] [INFO] Building Geronimo TestSuite :: Java EE 6 Testsuite :: fragment3 [INFO]task-segment: [install] [INFO] [INFO] [genesis:validate-configuration {execution: default}] [INFO] [geronimo-property:set-property {execution: set-property}] [INFO] [enforcer:enforce {execution: default}] [INFO] [remote-resources:process {execution: default}] [INFO] [resources:resources {execution: default-resources}] [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 1 resource [INFO] skip non existing resourceDirectory /home/geronimo/geronimo/trunk/testsuite/javaee6-testsuite/servlet3.0-test/fragment3/src/main/filtered-resources [INFO] Copying 3 resources [INFO] [compiler:compile {execution: default-compile}] [INFO] Compiling 3 source files to /home/geronimo/geronimo/trunk/testsuite/javaee6-testsuite/servlet3.0-test/fragment3/target/classes [INFO] [resources:testResources {execution: default-testResources}] [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/geronimo/geronimo/trunk/testsuite/javaee6-testsuite/servlet3.0-test/fragment3/src/test/resources [INFO] skip non existing resourceDirectory /home/geronimo/geronimo/trunk/testsuite/javaee6-testsuite/servlet3.0-test/fragment3/src/test/filtered-resources [INFO] Copying 3 resources [INFO] [compiler:testCompile {execution: default-testCompile}] [INFO] No sources to compile [INFO] [surefire:test {execution: default-test}] [INFO] Tests are skipped. [INFO] [jar:jar {execution: default-jar}] [INFO] Building jar: /home/geronimo/geronimo/trunk/testsuite/javaee6-testsuite/servlet3.0-test/fragment3/target/fragment3-3.0-SNAPSHOT.jar [INFO] [ianal:verify-legal-files {execution: default}] [WARNING] Skipping verification of legal files in artifacts: [WARNING] org.apache.geronimo.testsuite:fragment3:jar:3.0-SNAPSHOT [INFO] [install:install {execution: default-install}] [INFO] Installing /home/geronimo/geronimo/trunk/testsuite/javaee6-testsuite/servlet3.0-test/fragment3/target/fragment3-3.0-SNAPSHOT.jar to /home/geronimo/.m2/repository/org/apache/geronimo/testsuite/fragment3/3.0-SNAPSHOT/fragment3-3.0-SNAPSHOT.jar [INFO
Is there an OSGI Framework Bundle API for accessing nested archive content?
The ValidatorFactoryGBean uses Bundle.getEntry() to get to META-INF/validation.xml and WEB-INF/validation.xml files in EJB and Web archives. This works fine for standalone modules. When the JAR or WAR is packaged in an EAR file, Bundle.getEntry(war-modulename.war/WEB-INF/validation.xml) gets me to the file as WAR file is exploded and repackaged in the EAR whereas Bundle.getEntry(ejb-modulename.jar/META-INF/validation.xml) does not work since the EJB jar is stored as is in the EAR. One option I can think of is to get the EJB jar entry, store it to a temporary file, open it with Jar APIs to get to META-INF/validation.xml. myapp.ear my-ejb.jar (EJB jar is stored as is) +--META-INF +-- validation.xml +--my-web.war (WAR file is exploded, so WEB-INF is a directory in the repackaged EAR) +--WEB-INF +-- validation.xml Is there any Bundle API that will allow to access the content in the nested archives? Or any other way to get to the file of interest without creating temporary files? -- Vamsi
[jira] Commented: (GERONIMODEVTOOLS-599) Compilation on x86_64 systems, simplifications of the build.xml files, Eclipse 3.5.1, testsuite fixes
[ https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-599?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12919318#action_12919318 ] Ted Kirby commented on GERONIMODEVTOOLS-599: I simplified further by reworking build.xml using conditional property settings. I simplified pom.xml by having ant os family determine environment, don't need maven to. Rev 1005892. Compilation on x86_64 systems, simplifications of the build.xml files, Eclipse 3.5.1, testsuite fixes - Key: GERONIMODEVTOOLS-599 URL: https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-599 Project: Geronimo-Devtools Issue Type: Improvement Components: eclipse-plugin Affects Versions: 2.2.0 Environment: linux x86_64 Reporter: Johannes Weberhofer Assignee: Tim McConnell Attachments: gep-x86_64_and_simplifications.patch * Since revision 832984 build on x86_64 systems was broken again. I have fixed the pom.xml file again and replaced i386 architecture by x86; hope, this works on your build environments, too. * simplified the build.xml files by replacing the galileo parameters by a more general eclipse parameter, which makes changes between eclipse releases much easier (changes have to be done in the header sections only). At the same time I have upgraded to galileo version 3.5.1 (SR1) * a bug has been fixed in the testsuite, which made the x86_64 target not to depend on the common target. The testsuite runs much better now on x86_64 (but still produces an error) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
Re: Is there an OSGI Framework Bundle API for accessing nested archive content?
I think we've put all the jars or wars that could have this file in them in the bundle class path, so I would expect bundle.getResources() to provide all the possiblilites. I haven't tried it in this context, but it seems to work for something similar -- finding META-INF/resources directories in jars in WEB-INF/lib in wars. thanks david jencks On Oct 8, 2010, at 9:15 AM, Vamsavardhana Reddy wrote: The ValidatorFactoryGBean uses Bundle.getEntry() to get to META-INF/validation.xml and WEB-INF/validation.xml files in EJB and Web archives. This works fine for standalone modules. When the JAR or WAR is packaged in an EAR file, Bundle.getEntry(war-modulename.war/WEB-INF/validation.xml) gets me to the file as WAR file is exploded and repackaged in the EAR whereas Bundle.getEntry(ejb-modulename.jar/META-INF/validation.xml) does not work since the EJB jar is stored as is in the EAR. One option I can think of is to get the EJB jar entry, store it to a temporary file, open it with Jar APIs to get to META-INF/validation.xml. myapp.ear my-ejb.jar (EJB jar is stored as is) +--META-INF +-- validation.xml +--my-web.war (WAR file is exploded, so WEB-INF is a directory in the repackaged EAR) +--WEB-INF +-- validation.xml Is there any Bundle API that will allow to access the content in the nested archives? Or any other way to get to the file of interest without creating temporary files? -- Vamsi
Re: Is there an OSGI Framework Bundle API for accessing nested archive content?
David, Bundle.getResources() does seem to work, but I am afraid it does not help me in this case as each EJB jar can have its own META-INF/validation.xml and when there are mulitple EJB jars in the EAR, it is not possible to distinguish which URL points to the one I am looking for in particular. On Fri, Oct 8, 2010 at 10:37 PM, David Jencks david_jen...@yahoo.comwrote: I think we've put all the jars or wars that could have this file in them in the bundle class path, so I would expect bundle.getResources() to provide all the possiblilites. I haven't tried it in this context, but it seems to work for something similar -- finding META-INF/resources directories in jars in WEB-INF/lib in wars. thanks david jencks On Oct 8, 2010, at 9:15 AM, Vamsavardhana Reddy wrote: The ValidatorFactoryGBean uses Bundle.getEntry() to get to META-INF/validation.xml and WEB-INF/validation.xml files in EJB and Web archives. This works fine for standalone modules. When the JAR or WAR is packaged in an EAR file, Bundle.getEntry(war-modulename.war/WEB-INF/validation.xml) gets me to the file as WAR file is exploded and repackaged in the EAR whereas Bundle.getEntry(ejb-modulename.jar/META-INF/validation.xml) does not work since the EJB jar is stored as is in the EAR. One option I can think of is to get the EJB jar entry, store it to a temporary file, open it with Jar APIs to get to META-INF/validation.xml. myapp.ear my-ejb.jar (EJB jar is stored as is) +--META-INF +-- validation.xml +--my-web.war (WAR file is exploded, so WEB-INF is a directory in the repackaged EAR) +--WEB-INF +-- validation.xml Is there any Bundle API that will allow to access the content in the nested archives? Or any other way to get to the file of interest without creating temporary files? -- Vamsi -- Vamsi
[BUILD] trunk: Failed for Revision: 1005970
Geronimo Revision: 1005970 built with tests included See the full build-1500.log file at http://people.apache.org/builds/geronimo/server/binaries/trunk/20101008/build-1500.log Download the binaries from http://people.apache.org/builds/geronimo/server/binaries/trunk/20101008 [INFO] BUILD SUCCESSFUL [INFO] [INFO] Total time: 37 minutes 56 seconds [INFO] Finished at: Fri Oct 08 15:43:30 EDT 2010 [INFO] Final Memory: 459M/995M [INFO] TESTSUITE RESULTS (Failures only) = Assembly: tomcat = See full test results and logs at http://people.apache.org/builds/geronimo/server/binaries/trunk/20101008/logs-1500-tomcat/ Running TestSuite Tests run: 9, Failures: 7, Errors: 0, Skipped: 0, Time elapsed: 36.422 sec FAILURE! -- Running TestSuite Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 20.293 sec FAILURE! [INFO] skip non existing resourceDirectory /home/geronimo/geronimo/trunk/testsuite/javaee6-testsuite/servlet3.0-test/fragment2/src/main/filtered-resources [INFO] Copying 3 resources [INFO] [compiler:compile {execution: default-compile}] [INFO] Compiling 3 source files to /home/geronimo/geronimo/trunk/testsuite/javaee6-testsuite/servlet3.0-test/fragment2/target/classes [INFO] [resources:testResources {execution: default-testResources}] [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/geronimo/geronimo/trunk/testsuite/javaee6-testsuite/servlet3.0-test/fragment2/src/test/resources [INFO] skip non existing resourceDirectory /home/geronimo/geronimo/trunk/testsuite/javaee6-testsuite/servlet3.0-test/fragment2/src/test/filtered-resources [INFO] Copying 3 resources [INFO] [compiler:testCompile {execution: default-testCompile}] [INFO] No sources to compile [INFO] [surefire:test {execution: default-test}] [INFO] Tests are skipped. [INFO] [jar:jar {execution: default-jar}] [INFO] Building jar: /home/geronimo/geronimo/trunk/testsuite/javaee6-testsuite/servlet3.0-test/fragment2/target/fragment2-3.0-SNAPSHOT.jar [INFO] [ianal:verify-legal-files {execution: default}] [WARNING] Skipping verification of legal files in artifacts: [WARNING] org.apache.geronimo.testsuite:fragment2:jar:3.0-SNAPSHOT [INFO] [install:install {execution: default-install}] [INFO] Installing /home/geronimo/geronimo/trunk/testsuite/javaee6-testsuite/servlet3.0-test/fragment2/target/fragment2-3.0-SNAPSHOT.jar to /home/geronimo/.m2/repository/org/apache/geronimo/testsuite/fragment2/3.0-SNAPSHOT/fragment2-3.0-SNAPSHOT.jar [INFO] [INFO] Building Geronimo TestSuite :: Java EE 6 Testsuite :: fragment3 [INFO]task-segment: [install] [INFO] [INFO] [genesis:validate-configuration {execution: default}] [INFO] [geronimo-property:set-property {execution: set-property}] [INFO] [enforcer:enforce {execution: default}] [INFO] [remote-resources:process {execution: default}] [INFO] [resources:resources {execution: default-resources}] [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 1 resource [INFO] skip non existing resourceDirectory /home/geronimo/geronimo/trunk/testsuite/javaee6-testsuite/servlet3.0-test/fragment3/src/main/filtered-resources [INFO] Copying 3 resources [INFO] [compiler:compile {execution: default-compile}] [INFO] Compiling 3 source files to /home/geronimo/geronimo/trunk/testsuite/javaee6-testsuite/servlet3.0-test/fragment3/target/classes [INFO] [resources:testResources {execution: default-testResources}] [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/geronimo/geronimo/trunk/testsuite/javaee6-testsuite/servlet3.0-test/fragment3/src/test/resources [INFO] skip non existing resourceDirectory /home/geronimo/geronimo/trunk/testsuite/javaee6-testsuite/servlet3.0-test/fragment3/src/test/filtered-resources [INFO] Copying 3 resources [INFO] [compiler:testCompile {execution: default-testCompile}] [INFO] No sources to compile [INFO] [surefire:test {execution: default-test}] [INFO] Tests are skipped. [INFO] [jar:jar {execution: default-jar}] [INFO] Building jar: /home/geronimo/geronimo/trunk/testsuite/javaee6-testsuite/servlet3.0-test/fragment3/target/fragment3-3.0-SNAPSHOT.jar [INFO] [ianal:verify-legal-files {execution: default}] [WARNING] Skipping verification of legal files in artifacts: [WARNING] org.apache.geronimo.testsuite:fragment3:jar:3.0-SNAPSHOT [INFO] [install:install {execution: default-install}] [INFO] Installing /home/geronimo/geronimo/trunk/testsuite/javaee6-testsuite/servlet3.0-test/fragment3/target/fragment3-3.0-SNAPSHOT.jar to /home/geronimo/.m2/repository/org/apache/geronimo/testsuite/fragment3/3.0
Re: Is there an OSGI Framework Bundle API for accessing nested archive content?
There is no way to access the nest jar file by native OSGi API, actually, you could find that, both Felix and Equonix will extract the embeded jar files in their cache folders. But you might use those finder classes in xbean package. 2010/10/9 Vamsavardhana Reddy c1vams...@gmail.com David, Bundle.getResources() does seem to work, but I am afraid it does not help me in this case as each EJB jar can have its own META-INF/validation.xml and when there are mulitple EJB jars in the EAR, it is not possible to distinguish which URL points to the one I am looking for in particular. On Fri, Oct 8, 2010 at 10:37 PM, David Jencks david_jen...@yahoo.comwrote: I think we've put all the jars or wars that could have this file in them in the bundle class path, so I would expect bundle.getResources() to provide all the possiblilites. I haven't tried it in this context, but it seems to work for something similar -- finding META-INF/resources directories in jars in WEB-INF/lib in wars. thanks david jencks On Oct 8, 2010, at 9:15 AM, Vamsavardhana Reddy wrote: The ValidatorFactoryGBean uses Bundle.getEntry() to get to META-INF/validation.xml and WEB-INF/validation.xml files in EJB and Web archives. This works fine for standalone modules. When the JAR or WAR is packaged in an EAR file, Bundle.getEntry(war-modulename.war/WEB-INF/validation.xml) gets me to the file as WAR file is exploded and repackaged in the EAR whereas Bundle.getEntry(ejb-modulename.jar/META-INF/validation.xml) does not work since the EJB jar is stored as is in the EAR. One option I can think of is to get the EJB jar entry, store it to a temporary file, open it with Jar APIs to get to META-INF/validation.xml. myapp.ear my-ejb.jar (EJB jar is stored as is) +--META-INF +-- validation.xml +--my-web.war (WAR file is exploded, so WEB-INF is a directory in the repackaged EAR) +--WEB-INF +-- validation.xml Is there any Bundle API that will allow to access the content in the nested archives? Or any other way to get to the file of interest without creating temporary files? -- Vamsi -- Vamsi -- Ivan
Re: duplicate project names importing g into eclipse
I think all those projects in the plugingroups, they are only for assembly use, and no need to import them. 2010/10/7 Ted Kirby ted.ki...@gmail.com I have successfully built g trunk, and am following these instructions: https://cwiki.apache.org/confluence/display/GMOxDEV/Developing+Geronimo+in+Eclipse to import into eclipse. I did mvn eclipse:eclipse. I got errors when importing all the projects from g trunk into eclipse. These projects occur twice: client console-jetty console-tomcat They exist in plugingroups, and in the plugins directory. So, each is a group name that also contains a plugin with the same name. Should I open a JIRA for this? I could update the wiki page to say not to include those plugingroup projects. Thanks, Ted Kirby -- Ivan
[BUILD] trunk: Failed for Revision: 1006092
Geronimo Revision: 1006092 built with tests included See the full build-2100.log file at http://people.apache.org/builds/geronimo/server/binaries/trunk/20101008/build-2100.log Download the binaries from http://people.apache.org/builds/geronimo/server/binaries/trunk/20101008 [INFO] BUILD SUCCESSFUL [INFO] [INFO] Total time: 39 minutes 27 seconds [INFO] Finished at: Fri Oct 08 21:45:03 EDT 2010 [INFO] Final Memory: 459M/1006M [INFO] TESTSUITE RESULTS (Failures only) = Assembly: tomcat = See full test results and logs at http://people.apache.org/builds/geronimo/server/binaries/trunk/20101008/logs-2100-tomcat/ Running TestSuite Tests run: 9, Failures: 7, Errors: 0, Skipped: 0, Time elapsed: 21.715 sec FAILURE! -- Running TestSuite Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 19.486 sec FAILURE! [INFO] skip non existing resourceDirectory /home/geronimo/geronimo/trunk/testsuite/javaee6-testsuite/servlet3.0-test/fragment2/src/main/filtered-resources [INFO] Copying 3 resources [INFO] [compiler:compile {execution: default-compile}] [INFO] Compiling 3 source files to /home/geronimo/geronimo/trunk/testsuite/javaee6-testsuite/servlet3.0-test/fragment2/target/classes [INFO] [resources:testResources {execution: default-testResources}] [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/geronimo/geronimo/trunk/testsuite/javaee6-testsuite/servlet3.0-test/fragment2/src/test/resources [INFO] skip non existing resourceDirectory /home/geronimo/geronimo/trunk/testsuite/javaee6-testsuite/servlet3.0-test/fragment2/src/test/filtered-resources [INFO] Copying 3 resources [INFO] [compiler:testCompile {execution: default-testCompile}] [INFO] No sources to compile [INFO] [surefire:test {execution: default-test}] [INFO] Tests are skipped. [INFO] [jar:jar {execution: default-jar}] [INFO] Building jar: /home/geronimo/geronimo/trunk/testsuite/javaee6-testsuite/servlet3.0-test/fragment2/target/fragment2-3.0-SNAPSHOT.jar [INFO] [ianal:verify-legal-files {execution: default}] [WARNING] Skipping verification of legal files in artifacts: [WARNING] org.apache.geronimo.testsuite:fragment2:jar:3.0-SNAPSHOT [INFO] [install:install {execution: default-install}] [INFO] Installing /home/geronimo/geronimo/trunk/testsuite/javaee6-testsuite/servlet3.0-test/fragment2/target/fragment2-3.0-SNAPSHOT.jar to /home/geronimo/.m2/repository/org/apache/geronimo/testsuite/fragment2/3.0-SNAPSHOT/fragment2-3.0-SNAPSHOT.jar [INFO] [INFO] Building Geronimo TestSuite :: Java EE 6 Testsuite :: fragment3 [INFO]task-segment: [install] [INFO] [INFO] [genesis:validate-configuration {execution: default}] [INFO] [geronimo-property:set-property {execution: set-property}] [INFO] [enforcer:enforce {execution: default}] [INFO] [remote-resources:process {execution: default}] [INFO] [resources:resources {execution: default-resources}] [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 1 resource [INFO] skip non existing resourceDirectory /home/geronimo/geronimo/trunk/testsuite/javaee6-testsuite/servlet3.0-test/fragment3/src/main/filtered-resources [INFO] Copying 3 resources [INFO] [compiler:compile {execution: default-compile}] [INFO] Compiling 3 source files to /home/geronimo/geronimo/trunk/testsuite/javaee6-testsuite/servlet3.0-test/fragment3/target/classes [INFO] [resources:testResources {execution: default-testResources}] [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/geronimo/geronimo/trunk/testsuite/javaee6-testsuite/servlet3.0-test/fragment3/src/test/resources [INFO] skip non existing resourceDirectory /home/geronimo/geronimo/trunk/testsuite/javaee6-testsuite/servlet3.0-test/fragment3/src/test/filtered-resources [INFO] Copying 3 resources [INFO] [compiler:testCompile {execution: default-testCompile}] [INFO] No sources to compile [INFO] [surefire:test {execution: default-test}] [INFO] Tests are skipped. [INFO] [jar:jar {execution: default-jar}] [INFO] Building jar: /home/geronimo/geronimo/trunk/testsuite/javaee6-testsuite/servlet3.0-test/fragment3/target/fragment3-3.0-SNAPSHOT.jar [INFO] [ianal:verify-legal-files {execution: default}] [WARNING] Skipping verification of legal files in artifacts: [WARNING] org.apache.geronimo.testsuite:fragment3:jar:3.0-SNAPSHOT [INFO] [install:install {execution: default-install}] [INFO] Installing /home/geronimo/geronimo/trunk/testsuite/javaee6-testsuite/servlet3.0-test/fragment3/target/fragment3-3.0-SNAPSHOT.jar to /home/geronimo/.m2/repository/org/apache/geronimo/testsuite/fragment3/3.0