Re: Progress on osgi-friendliness

2011-05-30 Thread David Jencks
Locally I now have a server that runs eba-with-isolation using aries trunk and 
fixes a lot of the tck problems that showed up with this version.  However due 
to a problem with aries proxies changing the SerialVersionUID if it is not 
hardcoded on every serializable class I've had to add SerialVersionUID to a few 
hundred classes across several projects.  IMO most of these classes shouldn't 
have hardcoded serialVersionUIDs because they are not really intended for 
long-term compatibility and people will update the classes and forget to update 
the SerialVersionUID.

The new aries proxy code also seems to consume significantly more permgen 
space.  I didn't investigate in detail but a full server runs out of permgen 
space around half way through starting with 128 MB permgen.  My server started 
OK with 1024 MB permgen.

It's possible to get eba-with-isolation working with a patched 0.3 aries but it 
looks like aries have made a backwards incompatible change to their project 
structure that makes releasing bug fixes for 0.3 implausible.

To get the eba-with-isolation sample to work I had to add a lot of 
import-packages for jasper, el, and other internal classes.   This seems like a 
bad idea I'm wondering if I missed something about how this is supposed to 
work.  I'd expect this to be a problem for jsps in a wab as well how does 
the wab deployer deal with this?

I'm not exactly sure how to proceed here...

thanks
david jencks

On May 19, 2011, at 9:50 AM, Forrest Xia wrote:

> 
> 
> On Thu, May 19, 2011 at 8:47 AM, David Jencks  wrote:
> This version had some problems such as the standalone commands (e.g. deploy) 
> and the app client not starting.  I've fixed these and started integrating 
> the aries 0.3 eba-with-isolation stuff.  The server starts for me but I 
> haven't tried anything with eba yet beyond seeing that the bundles start.  
> I've also figured out an easier way to generate a source bundle.  Latest is at
> 
> http://people.apache.org/~djencks/geronimo-3.0-SNAPSHOT-source-release.zip
> 
> any comments would be great!
> 
> I've manually tried appclient, assembly, compat12, samples, some of ejb, and 
> some of interop tck test buckets, so far so good :-)  
> 
> Now I am managing to run a full profile with the code, it takes time, and 
> let's wait to see.
> 
> Forrest
> 



[BUILD] branches/2.2: Failed for Revision: 1129432

2011-05-30 Thread Jarek Gawor
Geronimo Revision: 1129432 built with tests included
 
See the full build-2000.log file at 
http://people.apache.org/builds/geronimo/server/binaries/2.2/20110531/build-2000.log
 
 
See the unit test reports at 
http://people.apache.org/builds/geronimo/server/binaries/2.2/20110531/unit-test-reports
 
--
1 required artifact is missing.

for artifact: 
  org.apache.geronimo.plugins:activemq-webconsole:war:2.2.2-SNAPSHOT

from the specified remote repositories:
  ibiblio.org (http://repo2.maven.org/maven2),
  codehaus.snapshots (http://snapshots.repository.codehaus.org),
  apache.snapshots (http://repository.apache.org/snapshots)



[INFO] 
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Missing:
--
1) org.apache.activemq:activemq-web-console:war:5.4.2

  Try downloading the file manually from the project website.

  Then, install it using the command: 
  mvn install:install-file -DgroupId=org.apache.activemq 
-DartifactId=activemq-web-console -Dversion=5.4.2 -Dpackaging=war 
-Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file there: 
  mvn deploy:deploy-file -DgroupId=org.apache.activemq 
-DartifactId=activemq-web-console -Dversion=5.4.2 -Dpackaging=war 
-Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

  Path to dependency: 
1) org.apache.geronimo.plugins:activemq-webconsole:war:2.2.2-SNAPSHOT
2) org.apache.activemq:activemq-web-console:war:5.4.2

--
1 required artifact is missing.

for artifact: 
  org.apache.geronimo.plugins:activemq-webconsole:war:2.2.2-SNAPSHOT

from the specified remote repositories:
  ibiblio.org (http://repo2.maven.org/maven2),
  codehaus.snapshots (http://snapshots.repository.codehaus.org),
  apache.snapshots (http://repository.apache.org/snapshots)


at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:711)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
at 
org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: 
org.apache.maven.artifact.resolver.MultipleArtifactsNotFoundException: Missing:
--
1) org.apache.activemq:activemq-web-console:war:5.4.2

  Try downloading the file manually from the project website.

  Then, install it using the command: 
  mvn install:install-file -DgroupId=org.apache.activemq 
-DartifactId=activemq-web-console -Dversion=5.4.2 -Dpackaging=war 
-Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file there: 
  mvn deploy:deploy-file -DgroupId=org.apache.activemq 
-DartifactId=activemq-web-console -Dversion=5.4.2 -Dpackaging=war 
-Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

  Path to dependency: 
1) org.apache.geronimo.plugins:activemq-webconsole:war:2.2.2-SNAPSHOT
2) org.apache.activemq:activemq-web-console:war:5.4.2

--
1 required artifact is missing.

for artifact: 
  org.apache.geronimo.plugins:activemq-webconsole:war:2.2.2-SNAPSHOT

from the specified remote repositories:
  ibiblio.org (http://repo2.maven.org/maven2),
  codehaus.snapshots (http://snapshots.repository.codehaus.org),
  apache.snapshots (http://repository.apache.org/snapshots)


at 
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:360)
at 
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:304)
at 
org.apache.maven.plugin.DefaultPluginManager.resolv

[BUILD] trunk: Failed for Revision: 1129448

2011-05-30 Thread Jarek Gawor
Geronimo Revision: 1129448 built with tests included
 
See the full build-2100.log file at 
http://people.apache.org/builds/geronimo/server/binaries/trunk/20110531/build-2100.log
 
 
See the unit test reports at 
http://people.apache.org/builds/geronimo/server/binaries/trunk/20110531/unit-test-reports
 
 T E S T S
---
There are no tests to run.

Results :

Tests run: 0, Failures: 0, Errors: 0, Skipped: 0

[INFO] [bundle:bundle {execution: default-bundle}]
[INFO] [geronimo-osgi:verify-manifest {execution: verify-manifest}]
[INFO] Resolving OSGi bundle: org.apache.geronimo.framework.geronimo-obr
[INFO] OSGi bundle is resolved: org.apache.geronimo.framework.geronimo-obr
[INFO] [ianal:verify-legal-files {execution: default}]
[INFO] Checking legal files in: geronimo-obr-3.0-SNAPSHOT.jar
[INFO] [install:install {execution: default-install}]
[INFO] Installing 
/home/geronimo/geronimo/trunk/framework/modules/geronimo-obr/target/geronimo-obr-3.0-SNAPSHOT.jar
 to 
/home/geronimo/.m2/repository/org/apache/geronimo/framework/geronimo-obr/3.0-SNAPSHOT/geronimo-obr-3.0-SNAPSHOT.jar
[INFO] [bundle:install {execution: default-install}]
[INFO] Parsing file:/home/geronimo/.m2/repository/repository.xml
[INFO] Installing 
org/apache/geronimo/framework/geronimo-obr/3.0-SNAPSHOT/geronimo-obr-3.0-SNAPSHOT.jar
[INFO] Writing OBR metadata
[INFO] 
[INFO] Building Geronimo Framework, Modules :: Deployment
[INFO]task-segment: [install]
[INFO] 
[INFO] [genesis:validate-configuration {execution: default}]
[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] skip non existing resourceDirectory 
/home/geronimo/geronimo/trunk/framework/modules/geronimo-deployment/src/main/resources
[INFO] skip non existing resourceDirectory 
/home/geronimo/geronimo/trunk/framework/modules/geronimo-deployment/src/main/filtered-resources
[INFO] Copying 3 resources
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Compiling 33 source files to 
/home/geronimo/geronimo/trunk/framework/modules/geronimo-deployment/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/framework/modules/geronimo-deployment/src/test/resources
[INFO] skip non existing resourceDirectory 
/home/geronimo/geronimo/trunk/framework/modules/geronimo-deployment/src/test/filtered-resources
[INFO] Copying 3 resources
[INFO] [compiler:testCompile {execution: default-testCompile}]
[INFO] Compiling 2 source files to 
/home/geronimo/geronimo/trunk/framework/modules/geronimo-deployment/target/test-classes
[INFO] [surefire:test {execution: default-test}]
[INFO] Surefire report directory: 
/home/geronimo/geronimo/trunk/framework/modules/geronimo-deployment/target/surefire-reports

---
 T E S T S
---
Running org.apache.geronimo.deployment.SingleFileHotDeployerTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.174 sec
Running org.apache.geronimo.deployment.DeploymentContextTest
Tests run: 7, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.038 sec <<< 
FAILURE!

Results :

Failed tests: 
  testMainfestClassPath3(org.apache.geronimo.deployment.DeploymentContextTest)

Tests run: 13, Failures: 1, Errors: 0, Skipped: 0

[INFO] 
[ERROR] BUILD FAILURE
[INFO] 
[INFO] There are test failures.

Please refer to 
/home/geronimo/geronimo/trunk/framework/modules/geronimo-deployment/target/surefire-reports
 for the individual test results.
[INFO] 
[INFO] Trace
org.apache.maven.BuildFailureException: There are test failures.

Please refer to 
/home/geronimo/geronimo/trunk/framework/modules/geronimo-deployment/target/surefire-reports
 for the individual test results.
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:715)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java

[BUILD] trunk: Failed for Revision: 1129304

2011-05-30 Thread Jarek Gawor
Geronimo Revision: 1129304 built with tests included
 
See the full build-1500.log file at 
http://people.apache.org/builds/geronimo/server/binaries/trunk/20110530/build-1500.log
 
 
See the unit test reports at 
http://people.apache.org/builds/geronimo/server/binaries/trunk/20110530/unit-test-reports
 
 T E S T S
---
There are no tests to run.

Results :

Tests run: 0, Failures: 0, Errors: 0, Skipped: 0

[INFO] [bundle:bundle {execution: default-bundle}]
[INFO] [geronimo-osgi:verify-manifest {execution: verify-manifest}]
[INFO] Resolving OSGi bundle: org.apache.geronimo.framework.geronimo-obr
[INFO] OSGi bundle is resolved: org.apache.geronimo.framework.geronimo-obr
[INFO] [ianal:verify-legal-files {execution: default}]
[INFO] Checking legal files in: geronimo-obr-3.0-SNAPSHOT.jar
[INFO] [install:install {execution: default-install}]
[INFO] Installing 
/home/geronimo/geronimo/trunk/framework/modules/geronimo-obr/target/geronimo-obr-3.0-SNAPSHOT.jar
 to 
/home/geronimo/.m2/repository/org/apache/geronimo/framework/geronimo-obr/3.0-SNAPSHOT/geronimo-obr-3.0-SNAPSHOT.jar
[INFO] [bundle:install {execution: default-install}]
[INFO] Parsing file:/home/geronimo/.m2/repository/repository.xml
[INFO] Installing 
org/apache/geronimo/framework/geronimo-obr/3.0-SNAPSHOT/geronimo-obr-3.0-SNAPSHOT.jar
[INFO] Writing OBR metadata
[INFO] 
[INFO] Building Geronimo Framework, Modules :: Deployment
[INFO]task-segment: [install]
[INFO] 
[INFO] [genesis:validate-configuration {execution: default}]
[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] skip non existing resourceDirectory 
/home/geronimo/geronimo/trunk/framework/modules/geronimo-deployment/src/main/resources
[INFO] skip non existing resourceDirectory 
/home/geronimo/geronimo/trunk/framework/modules/geronimo-deployment/src/main/filtered-resources
[INFO] Copying 3 resources
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Compiling 33 source files to 
/home/geronimo/geronimo/trunk/framework/modules/geronimo-deployment/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/framework/modules/geronimo-deployment/src/test/resources
[INFO] skip non existing resourceDirectory 
/home/geronimo/geronimo/trunk/framework/modules/geronimo-deployment/src/test/filtered-resources
[INFO] Copying 3 resources
[INFO] [compiler:testCompile {execution: default-testCompile}]
[INFO] Compiling 2 source files to 
/home/geronimo/geronimo/trunk/framework/modules/geronimo-deployment/target/test-classes
[INFO] [surefire:test {execution: default-test}]
[INFO] Surefire report directory: 
/home/geronimo/geronimo/trunk/framework/modules/geronimo-deployment/target/surefire-reports

---
 T E S T S
---
Running org.apache.geronimo.deployment.SingleFileHotDeployerTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.141 sec
Running org.apache.geronimo.deployment.DeploymentContextTest
Tests run: 7, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.037 sec <<< 
FAILURE!

Results :

Failed tests: 
  testMainfestClassPath3(org.apache.geronimo.deployment.DeploymentContextTest)

Tests run: 13, Failures: 1, Errors: 0, Skipped: 0

[INFO] 
[ERROR] BUILD FAILURE
[INFO] 
[INFO] There are test failures.

Please refer to 
/home/geronimo/geronimo/trunk/framework/modules/geronimo-deployment/target/surefire-reports
 for the individual test results.
[INFO] 
[INFO] Trace
org.apache.maven.BuildFailureException: There are test failures.

Please refer to 
/home/geronimo/geronimo/trunk/framework/modules/geronimo-deployment/target/surefire-reports
 for the individual test results.
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:715)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
at 
org.apache.maven.lifecycle.DefaultLifecycl

Re: svn commit: r1129174 - in /geronimo/server/trunk: framework/modules/geronimo-deployment/src/main/java/org/apache/geronimo/deployment/ plugins/client/geronimo-client-builder/src/main/java/org/apach

2011-05-30 Thread David Jencks
Could you please open a jira for the ClassPathUtils changes and give examples 
of the incorrect behavior and correct behavior?

Have you eliminated the MFCP_STRICT flag?

thanks
david jencks

On May 30, 2011, at 6:50 AM, genspr...@apache.org wrote:

> Author: genspring
> Date: Mon May 30 13:50:57 2011
> New Revision: 1129174
> 
> URL: http://svn.apache.org/viewvc?rev=1129174&view=rev
> Log:
> EJB31 spec EE.8.2.1 :
> A JAR format file (such as a .jar file, .war file, or .rar file) may 
> reference a
> .jar file or directory by naming the referenced .jar file or directory in a
> Class-Path header in the referencing JAR file’s Manifest file
> 
> Modified:
>
> geronimo/server/trunk/framework/modules/geronimo-deployment/src/main/java/org/apache/geronimo/deployment/ClassPathUtils.java
>
> geronimo/server/trunk/plugins/client/geronimo-client-builder/src/main/java/org/apache/geronimo/client/builder/AppClientModuleBuilder.java
>
> geronimo/server/trunk/plugins/openejb/geronimo-openejb-builder/src/main/java/org/apache/geronimo/openejb/deployment/EjbModuleBuilder.java
> 
> Modified: 
> geronimo/server/trunk/framework/modules/geronimo-deployment/src/main/java/org/apache/geronimo/deployment/ClassPathUtils.java
> URL: 
> http://svn.apache.org/viewvc/geronimo/server/trunk/framework/modules/geronimo-deployment/src/main/java/org/apache/geronimo/deployment/ClassPathUtils.java?rev=1129174&r1=1129173&r2=1129174&view=diff
> ==
> --- 
> geronimo/server/trunk/framework/modules/geronimo-deployment/src/main/java/org/apache/geronimo/deployment/ClassPathUtils.java
>  (original)
> +++ 
> geronimo/server/trunk/framework/modules/geronimo-deployment/src/main/java/org/apache/geronimo/deployment/ClassPathUtils.java
>  Mon May 30 13:50:57 2011
> @@ -136,11 +136,13 @@ public class ClassPathUtils {
> if (!targetUri.getPath().endsWith("/")) {
> targetUri = URI.create(targetUri.getPath() + "/");
> }
> +
> +//1, add the directory to classpath
> +classPath.add(targetUri.getPath());
> +
> +//2, add  *.jar under the directory to classpath
> for (File file : factory.listFiles(targetUri)) {
> -if (file.isDirectory()) {
> -log.debug("Sub directory [" + 
> file.getAbsolutePath() + "] in the manifest entry directory is ignored");
> -continue;
> -}
> +
> if (!file.getName().endsWith(".jar")) {
> log.debug("Only jar files are added to classpath, 
> file [" + file.getAbsolutePath() + "] is ignored");
> continue;
> @@ -149,15 +151,6 @@ public class ClassPathUtils {
> }
> } else {
> if (!pathUri.getPath().endsWith(".jar")) {
> -if (manifestClassLoaderMode == MFCP_STRICT) {
> -problems.add(new DeploymentException(
> -"Manifest class path entries must end 
> with the .jar extension (J2EE 1.4 Section 8.2): path= "
> -+ path + ", module= " + 
> moduleBaseUri));
> -} else {
> -log.info("The " + manifestClassLoaderMessage + " 
> processing mode is in effect.\n"
> -+ "Therefore, a manifest classpath entry 
> which does not end with .jar, "
> -+ pathUri + " is being permitted and 
> ignored.");
> -}
> continue;
> }
> classPath.add(targetUri.getPath());
> @@ -234,6 +227,32 @@ public class ClassPathUtils {
> }
> 
> URI targetUri = moduleBaseUri.resolve(pathUri);
> +
> +try {
> +if (factory.isDirectory(targetUri)) {
> +if (!targetUri.getPath().endsWith("/")) {
> +targetUri = URI.create(targetUri.getPath() + "/");
> +}
> +
> +//1, add the directory to classpath
> +addToClassPath(moduleBaseUri, resolutionUri, targetUri, 
> classpath, exclusions, factory, problems);
> +
> +//2, add  *.jar under the directory to classpath
> +for (File file : factory.listFiles(targetUri)) {
> +
> +if (!file.getName().endsWith(".jar")) {
> +log.debug("Only jar files are added to 
> classpath, file [" + file.getAbsolutePath() + "] is ignored");
> +continue;
> +}
> +addToClassPath(mod

[BUILD] branches/2.1: Failed for Revision: 1128993

2011-05-30 Thread Jarek Gawor
Geronimo Revision: 1128993 built with tests included
 
See the full build-0200.log file at 
http://people.apache.org/builds/geronimo/server/binaries/2.1/20110530/build-0200.log
 
Download the binaries from 
http://people.apache.org/builds/geronimo/server/binaries/2.1/20110530
[INFO] BUILD SUCCESSFUL
[INFO] 
[INFO] Total time: 328 minutes 6 seconds
[INFO] Finished at: Mon May 30 07:32:09 EDT 2011
[INFO] Final Memory: 306M/826M
[INFO] 
 
TESTSUITE RESULTS (Failures only)
=
 
Assembly: tomcat
=
See full test results and logs at 
http://people.apache.org/builds/geronimo/server/binaries/2.1/20110530/logs-0200-tomcat/
 
 
[INFO] 
[INFO] Downloading: 
http://repo2.maven.org/maven2/org/codehaus/groovy/maven/runtime/gmaven-runtime-default/1.0-rc-3/gmaven-runtime-default-1.0-rc-3.pom
[INFO] 
[INFO] Downloading: 
http://repo2.maven.org/maven2/org/slf4j/slf4j-api/1.5.0/slf4j-api-1.5.0.pom
[INFO] 
[INFO] Downloading: 
http://repo2.maven.org/maven2/org/slf4j/slf4j-parent/1.5.0/slf4j-parent-1.5.0.pom
[INFO] 
[INFO] Downloading: 
http://repo2.maven.org/maven2/org/codehaus/groovy/maven/runtime/gmaven-runtime-1.5/1.0-rc-3/gmaven-runtime-1.5-1.0-rc-3.pom
[INFO] 
[INFO] Downloading: 
http://repo2.maven.org/maven2/org/codehaus/groovy/maven/feature/gmaven-feature-support/1.0-rc-3/gmaven-feature-support-1.0-rc-3.pom
[INFO] 
[INFO] Downloading: 
http://repo2.maven.org/maven2/org/codehaus/groovy/maven/runtime/gmaven-runtime-support/1.0-rc-3/gmaven-runtime-support-1.0-rc-3.pom
[INFO] 
[INFO] Downloading: 
http://repo2.maven.org/maven2/org/codehaus/groovy/maven/gmaven-common/1.0-rc-3/gmaven-common-1.0-rc-3.pom
[INFO] 
[INFO] Downloading: 
http://repo2.maven.org/maven2/org/codehaus/plexus/plexus-utils/1.5.5/plexus-utils-1.5.5.pom
[INFO] 
[INFO] Downloading: 
http://repo2.maven.org/maven2/org/codehaus/plexus/plexus/1.0.11/plexus-1.0.11.pom
[INFO] 
[INFO] Downloading: 
http://repo2.maven.org/maven2/com/thoughtworks/qdox/qdox/1.6.3/qdox-1.6.3.pom
[INFO] 
[INFO] Downloading: 
http://repo2.maven.org/maven2/org/codehaus/groovy/groovy-all-minimal/1.5.6/groovy-all-minimal-1.5.6.pom
[INFO] 
[INFO] Downloading: 
http://repo2.maven.org/maven2/org/apache/ant/ant/1.7.1/ant-1.7.1.pom
[INFO] 
[INFO] Downloading: 
http://repo2.maven.org/maven2/org/apache/ant/ant-parent/1.7.1/ant-parent-1.7.1.pom
[INFO] 
[INFO] Downloading: 
http://repo2.maven.org/maven2/org/apache/ant/ant-launcher/1.7.1/ant-launcher-1.7.1.pom
[INFO] 
[INFO] Downloading: 
http://repo2.maven.org/maven2/jline/jline/0.9.94/jline-0.9.94.pom
[INFO] 
[INFO] Downloading: 
http://repo2.maven.org/maven2/junit/junit/3.8.1/junit-3.8.1.pom
[INFO] 
[INFO] Downloading: 
http://repo2.maven.org/maven2/org/apache/maven/maven-project/2.0.5/maven-project-2.0.5.pom
[INFO] 
[INFO] Downloading: 
http://repo2.maven.org/maven2/org/apache/maven/maven/2.0.5/maven-2.0.5.pom
[INFO] 
[INFO] Downloading: 
http://repo2.maven.org/maven2/org/apache/maven/maven-settings/2.0.5/maven-settings-2.0.5.pom
[INFO] 
[INFO] Downloading: 
http://repo2.maven.org/maven2/org/apache/maven/maven-model/2.0.5/maven-model-2.0.5.pom
[INFO] 
[INFO] Downloading: 
http://repo2.maven.org/maven2/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.pom
[INFO] 
[INFO] Downloading: 
http://repo2.maven.org/maven2/org/codehaus/plexus/plexus/1.0.4/plexus-1.0.4.pom
[INFO] 
[INFO] Downloading: 
http://repo2.maven.org/maven2/org/codehaus/plexus/plexus-container-default/1.0-alpha-9/plexus-container-default-1.0-alpha-9.pom
[INFO] 
[INFO] Downloading: 
http://repo2.maven.org/maven2/org/codehaus/plexus/plexus-containers/1.0.3/plexus-containers-1.0.3.pom
[INFO] 
[INFO] Downloading: 
http://repo2.maven.org/maven2/org/codehaus/plexus/plexus-utils/1.0.4/plexus-utils-1.0.4.pom
[INFO] 
[INFO] Downloading: 
http://repo2.maven.org/maven2/classworlds/classworlds/1.1-alpha-2/classworlds-1.1-alpha-2.pom
[INFO] 
[INFO] Downloading: 
http://repo2.maven.org/maven2/org/apache/maven/maven-profile/2.0.5/maven-profile-2.0.5.pom
[INFO] 
[INFO] Downloading: 
http://repo2.maven.org/maven2/org/apache/maven/maven-artifact-manager/2.0.5/maven-artifact-manager-2.0.5.pom
[INFO] 
[INFO] Downloading: 
http://repo2.maven.org/maven2/org/apache/maven/maven-repository-metadata/2.0.5/maven-repository-metadata-2.0.5.pom
[INFO] 
[INFO] Downloading: 
http://repo2.maven.org/maven2/org/apache/maven/maven-artifact/2.0.5/maven-artifact-2.0.5.pom
[INFO] 
[INFO] Downloading: 
http://repo2.maven.org/maven2/org/apache/maven/wagon/wagon-provider-api/1.0-beta-2/wagon-provider-api-1.0-beta-2.pom
[INFO] 
[INFO] Downloading: 
http://repo2.maven.org/maven2/org/apache/maven/wagon/wagon/1.0-beta-2/wagon-1.0-beta-2.pom
[INFO] 
[INFO] Downloading: 
http://repo2.maven.org/maven2/org/apache/maven/maven-parent/4/maven-parent-4.pom
[INFO] 
[INFO] Downloading: 
http://repo2.maven.org/maven2/org/apache

[jira] [Created] (GERONIMO-5986) Error "Unable to create configuration for deployment" appeared when deploy a new JMS resource group for Active MQ

2011-05-30 Thread Tina Li (JIRA)
Error "Unable to create configuration for deployment" appeared when deploy a 
new JMS resource group for Active MQ 
--

 Key: GERONIMO-5986
 URL: https://issues.apache.org/jira/browse/GERONIMO-5986
 Project: Geronimo
  Issue Type: Bug
  Security Level: public (Regular issues)
  Components: ActiveMQ
Affects Versions: 3.0
 Environment: JRE 1.6.0 IBM J9 2.4 Windows XP x86-32 
jvmwi3260sr9-20101209_70480 (JIT enabled, AOT enabled)
Reporter: Tina Li
Assignee: Shenghao Fang


Use the build May 25-3.0 snapshot of geronimo server
Steps to reproduce:
1. Go to Console -> JMS Resources
2. Create a new JMS Resource Group -> For ActiveMQ
3. In the "JMS Resource Group - Configure Server Connection" screen:
3.1 Resource Group Name = testResourceGroup
3.2 Press Next
4. Press "Add Connection Factory" button
4.1. JMS Factory Type - javax.jms.ConnectionFactory
4.2 Connection Factory Name - testConnectionFactory
4.3 Transaction support - local
4.4 Press Next
5. Press "Add Destination" button
5.1 JMS Destination Type - javax.jms.Queue
5.2 Message Destination Name - test.create
5.3 Press Next
5.4 repeat 5.1 - 5.3 to create destinations "test.restoreSnapshot", 
"test2.restoreSnapshot", "test2.create", "test3.create", "callback"
6. Press "Deploy Now"
7. Admin console displayed the error message below:
Deployer operation failed!
Unable to create configuration for deployment: dependencies: null
org.apache.geronimo.common.DeploymentException: Unable to create configuration 
for deployment: dependencies: null
at 
org.apache.geronimo.deployment.DeploymentContext.createTempConfiguration(DeploymentContext.java:212)
at 
org.apache.geronimo.deployment.DeploymentContext.initializeConfiguration(DeploymentContext.java:192)
at 
org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration(EARConfigBuilder.java:635)
at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:252)
at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:138)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:611)
at 
org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
at 
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:131)
at 
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:872)
at 
org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:245)
at 
org.apache.geronimo.deployment.plugin.local.AbstractDeployCommand.doDeploy(AbstractDeployCommand.java:116)
at 
org.apache.geronimo.deployment.plugin.local.DistributeCommand.run(DistributeCommand.java:61)
at java.lang.Thread.run(Thread.java:736)
Caused by: org.apache.geronimo.kernel.config.LifecycleException: load of 
console.jms/testResourceGroup/1.0/car failed
at 
org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:346)
at 
org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:331)
at 
org.apache.geronimo.deployment.DeploymentContext.createTempConfiguration(DeploymentContext.java:209)
... 15 more
Caused by: org.apache.geronimo.kernel.repository.MissingDependencyException: 
Missing dependency: org.apache.geronimo.configs/activemq-broker//car
at 
org.apache.geronimo.kernel.repository.DefaultArtifactResolver.resolveInClassLoader(DefaultArtifactResolver.java:130)
at 
org.apache.geronimo.kernel.repository.DefaultArtifactResolver.resolveInClassLoader(DefaultArtifactResolver.java:123)
at 
org.apache.geronimo.kernel.config.SimpleConfigurationManager.resolveParentIds(SimpleConfigurationManager.java:640)
at 
org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:342)
... 17 more


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (GERONIMO-5985) "export-package": unexpected elements

2011-05-30 Thread Jacky Liu (JIRA)

 [ 
https://issues.apache.org/jira/browse/GERONIMO-5985?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jacky Liu updated GERONIMO-5985:


Attachment: test-ejb.jar

> "export-package": unexpected elements
> -
>
> Key: GERONIMO-5985
> URL: https://issues.apache.org/jira/browse/GERONIMO-5985
> Project: Geronimo
>  Issue Type: Bug
>  Security Level: public(Regular issues) 
>  Components: OpenEJB
>Affects Versions: 3.0
> Environment: Windows XP SP3 x86
> IBM jdk Java60
> Geronimo build on 20110525
>Reporter: Jacky Liu
>Priority: Minor
> Attachments: test-ejb.jar
>
>
> 1. start Geronimo
> 2. deploy "test-ejb.jar" through "Deployer" portlet.  -->  ERROR OCCURS!!
> The application was not deployed.
> Failed parsing descriptors for module: 
> D:\liujun\20110525\geronimo-tomcat7-javaee6-3.0-SNAPSHOT\var\temp\geronimo-deployer6728906344157511873.tmpdir\test-ejb.jar
> org.apache.geronimo.common.DeploymentException: Failed parsing descriptors 
> for module: 
> D:\liujun\20110525\geronimo-tomcat7-javaee6-3.0-SNAPSHOT\var\temp\geronimo-deployer6728906344157511873.tmpdir\test-ejb.jar
>   at 
> org.apache.geronimo.openejb.deployment.EjbModuleBuilder.createModule(EjbModuleBuilder.java:442)
>   at 
> org.apache.geronimo.openejb.deployment.EjbModuleBuilder.createModule(EjbModuleBuilder.java:268)
>   at 
> org.apache.geronimo.j2ee.deployment.EARConfigBuilder.getDeploymentPlan(EARConfigBuilder.java:341)
>   at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:233)
>   at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:138)
>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>   at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
>   at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
>   at java.lang.reflect.Method.invoke(Method.java:611)
>   at 
> org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
>   at 
> org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:131)
>   at 
> org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:854)
>   at 
> org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:245)
>   at 
> org.apache.geronimo.deployment.plugin.local.AbstractDeployCommand.doDeploy(AbstractDeployCommand.java:116)
>   at 
> org.apache.geronimo.deployment.plugin.local.DistributeCommand.run(DistributeCommand.java:61)
>   at java.lang.Thread.run(Thread.java:736)
> Caused by: org.apache.openejb.OpenEJBException: Cannot unmarshall the 
> openejb-jar.xml. Xml content written to: 
> D:\liujun\20110525\geronimo-tomcat7-javaee6-3.0-SNAPSHOT\var\temp\openejb-jar-7398576494480776794.xml:
>  unexpected element (uri:"http://geronimo.apache.org/xml/ns/deployment-1.2";, 
> local:"export-package"). Expected elements are 
> <{http://geronimo.apache.org/xml/ns/deployment-1.2}dependencies>,<{http://geronimo.apache.org/xml/ns/deployment-1.2}non-overridable-classes>,<{http://geronimo.apache.org/xml/ns/deployment-1.2}private-classes>,<{http://geronimo.apache.org/xml/ns/deployment-1.2}suppress-default-environment>,<{http://geronimo.apache.org/xml/ns/deployment-1.2}inverse-classloading>,<{http://geronimo.apache.org/xml/ns/deployment-1.2}hidden-classes>,<{http://geronimo.apache.org/xml/ns/deployment-1.2}moduleId>
>   at 
> org.apache.openejb.config.ReadDescriptors.readOpenejbJar(ReadDescriptors.java:211)
>   at 
> org.apache.openejb.config.ReadDescriptors.deploy(ReadDescriptors.java:77)
>   at 
> org.apache.geronimo.openejb.deployment.EjbModuleBuilder.createModule(EjbModuleBuilder.java:440)
>   ... 15 more
> Caused by: javax.xml.bind.UnmarshalException: unexpected element 
> (uri:"http://geronimo.apache.org/xml/ns/deployment-1.2";, 
> local:"export-package"). Expected elements are 
> <{http://geronimo.apache.org/xml/ns/deployment-1.2}dependencies>,<{http://geronimo.apache.org/xml/ns/deployment-1.2}non-overridable-classes>,<{http://geronimo.apache.org/xml/ns/deployment-1.2}private-classes>,<{http://geronimo.apache.org/xml/ns/deployment-1.2}suppress-default-environment>,<{http://geronimo.apache.org/xml/ns/deployment-1.2}inverse-classloading>,<{http://geronimo.apache.org/xml/ns/deployment-1.2}hidden-classes>,<{http://geronimo.apache.org/xml/ns/deployment-1.2}moduleId>
>   at 
> com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext.handleEvent(UnmarshallingContext.java:647)
>   at 
> com.sun.xml.bind.v2.runtime.unmarshaller.Loader.reportError(Loader.java:258)
>   at 
> com.sun.xml.bind.v2.runtime.unmarshaller.Loader.reportError(Loader.java:253)
>   at 
> com.sun.xml.bind.v2.runtime.unmarshaller.Loader.reportUnexpectedChildElement(Loader.

[jira] [Updated] (GERONIMO-5984) Deployment failed when java ee application module has reference to another util lib which is packaged in the EAR as well

2011-05-30 Thread Forrest Xia (JIRA)

 [ 
https://issues.apache.org/jira/browse/GERONIMO-5984?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Forrest Xia updated GERONIMO-5984:
--

Attachment: PlantsByWebsphereEAR-3.0.0.0.ear

> Deployment failed when java ee application module has reference to another 
> util lib which is packaged in the EAR as well
> 
>
> Key: GERONIMO-5984
> URL: https://issues.apache.org/jira/browse/GERONIMO-5984
> Project: Geronimo
>  Issue Type: Bug
>  Security Level: public(Regular issues) 
>  Components: deployment
>Affects Versions: 3.0
> Environment: Oracle jdk 1.6.0_23
> Ubuntu 10.04
>Reporter: Forrest Xia
>Assignee: Shawn Jiang
> Attachments: PlantsByWebsphereEAR-3.0.0.0.ear
>
>
> 1. Start the geronimo server
> 2. Deploy the attached sample application with its deployment plan.
> An exception is like this:
>   The application was not deployed.
> The application was not deployed.
> com/ibm/websphere/samples/pbwjpa/BackOrder
> java.lang.NoClassDefFoundError: com/ibm/websphere/samples/pbwjpa/BackOrder
>   at java.lang.Class.getDeclaredMethods0(Native Method)
>   at java.lang.Class.privateGetDeclaredMethods(Class.java:2427)
>   at java.lang.Class.privateGetPublicMethods(Class.java:2547)
>   at java.lang.Class.getMethods(Class.java:1410)
>   at 
> org.apache.openejb.config.AnnotationDeployer$ProcessAnnotatedBeans.processApplicationExceptions(AnnotationDeployer.java:1568)
>   at 
> org.apache.openejb.config.AnnotationDeployer$ProcessAnnotatedBeans.deploy(AnnotationDeployer.java:1120)
>   at 
> org.apache.openejb.config.AnnotationDeployer$ProcessAnnotatedBeans.deploy(AnnotationDeployer.java:691)
>   at 
> org.apache.openejb.config.AnnotationDeployer.deploy(AnnotationDeployer.java:240)
>   at 
> org.apache.openejb.config.ConfigurationFactory$Chain.deploy(ConfigurationFactory.java:235)
>   at 
> org.apache.openejb.config.ConfigurationFactory.configureApplication(ConfigurationFactory.java:661)
>   at 
> org.apache.geronimo.openejb.deployment.EjbModuleBuilder.configureApplication(EjbModuleBuilder.java:879)
>   at 
> org.apache.geronimo.openejb.deployment.EjbModuleBuilder.getEjbInfo(EjbModuleBuilder.java:806)
>   at 
> org.apache.geronimo.openejb.deployment.EjbModuleBuilder.doInitContext(EjbModuleBuilder.java:721)
>   at 
> org.apache.geronimo.openejb.deployment.EjbModuleBuilder.initContext(EjbModuleBuilder.java:707)
>   at 
> org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration(EARConfigBuilder.java:659)
>   at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:252)
>   at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:138)
>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>   at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>   at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>   at java.lang.reflect.Method.invoke(Method.java:597)
>   at 
> org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
>   at 
> org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:131)
>   at 
> org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:872)
>   at 
> org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:245)
>   at 
> org.apache.geronimo.deployment.plugin.local.AbstractDeployCommand.doDeploy(AbstractDeployCommand.java:116)
>   at 
> org.apache.geronimo.deployment.plugin.local.DistributeCommand.run(DistributeCommand.java:61)
>   at java.lang.Thread.run(Thread.java:662)
> Caused by: java.lang.ClassNotFoundException: 
> com.ibm.websphere.samples.pbwjpa.BackOrder
>   at 
> org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:513)
>   at 
> org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:429)
>   at 
> org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:417)
>   at 
> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
>   at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
>   ... 28 more

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Created] (GERONIMO-5985) "export-package": unexpected elements

2011-05-30 Thread Jacky Liu (JIRA)
"export-package": unexpected elements
-

 Key: GERONIMO-5985
 URL: https://issues.apache.org/jira/browse/GERONIMO-5985
 Project: Geronimo
  Issue Type: Bug
  Security Level: public (Regular issues)
  Components: OpenEJB
Affects Versions: 3.0
 Environment: Windows XP SP3 x86
IBM jdk Java60
Geronimo build on 20110525
Reporter: Jacky Liu
Priority: Minor


1. start Geronimo
2. deploy "test-ejb.jar" through "Deployer" portlet.  -->  ERROR OCCURS!!

The application was not deployed.
Failed parsing descriptors for module: 
D:\liujun\20110525\geronimo-tomcat7-javaee6-3.0-SNAPSHOT\var\temp\geronimo-deployer6728906344157511873.tmpdir\test-ejb.jar
org.apache.geronimo.common.DeploymentException: Failed parsing descriptors for 
module: 
D:\liujun\20110525\geronimo-tomcat7-javaee6-3.0-SNAPSHOT\var\temp\geronimo-deployer6728906344157511873.tmpdir\test-ejb.jar
at 
org.apache.geronimo.openejb.deployment.EjbModuleBuilder.createModule(EjbModuleBuilder.java:442)
at 
org.apache.geronimo.openejb.deployment.EjbModuleBuilder.createModule(EjbModuleBuilder.java:268)
at 
org.apache.geronimo.j2ee.deployment.EARConfigBuilder.getDeploymentPlan(EARConfigBuilder.java:341)
at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:233)
at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:138)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:611)
at 
org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
at 
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:131)
at 
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:854)
at 
org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:245)
at 
org.apache.geronimo.deployment.plugin.local.AbstractDeployCommand.doDeploy(AbstractDeployCommand.java:116)
at 
org.apache.geronimo.deployment.plugin.local.DistributeCommand.run(DistributeCommand.java:61)
at java.lang.Thread.run(Thread.java:736)
Caused by: org.apache.openejb.OpenEJBException: Cannot unmarshall the 
openejb-jar.xml. Xml content written to: 
D:\liujun\20110525\geronimo-tomcat7-javaee6-3.0-SNAPSHOT\var\temp\openejb-jar-7398576494480776794.xml:
 unexpected element (uri:"http://geronimo.apache.org/xml/ns/deployment-1.2";, 
local:"export-package"). Expected elements are 
<{http://geronimo.apache.org/xml/ns/deployment-1.2}dependencies>,<{http://geronimo.apache.org/xml/ns/deployment-1.2}non-overridable-classes>,<{http://geronimo.apache.org/xml/ns/deployment-1.2}private-classes>,<{http://geronimo.apache.org/xml/ns/deployment-1.2}suppress-default-environment>,<{http://geronimo.apache.org/xml/ns/deployment-1.2}inverse-classloading>,<{http://geronimo.apache.org/xml/ns/deployment-1.2}hidden-classes>,<{http://geronimo.apache.org/xml/ns/deployment-1.2}moduleId>
at 
org.apache.openejb.config.ReadDescriptors.readOpenejbJar(ReadDescriptors.java:211)
at 
org.apache.openejb.config.ReadDescriptors.deploy(ReadDescriptors.java:77)
at 
org.apache.geronimo.openejb.deployment.EjbModuleBuilder.createModule(EjbModuleBuilder.java:440)
... 15 more
Caused by: javax.xml.bind.UnmarshalException: unexpected element 
(uri:"http://geronimo.apache.org/xml/ns/deployment-1.2";, 
local:"export-package"). Expected elements are 
<{http://geronimo.apache.org/xml/ns/deployment-1.2}dependencies>,<{http://geronimo.apache.org/xml/ns/deployment-1.2}non-overridable-classes>,<{http://geronimo.apache.org/xml/ns/deployment-1.2}private-classes>,<{http://geronimo.apache.org/xml/ns/deployment-1.2}suppress-default-environment>,<{http://geronimo.apache.org/xml/ns/deployment-1.2}inverse-classloading>,<{http://geronimo.apache.org/xml/ns/deployment-1.2}hidden-classes>,<{http://geronimo.apache.org/xml/ns/deployment-1.2}moduleId>
at 
com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext.handleEvent(UnmarshallingContext.java:647)
at 
com.sun.xml.bind.v2.runtime.unmarshaller.Loader.reportError(Loader.java:258)
at 
com.sun.xml.bind.v2.runtime.unmarshaller.Loader.reportError(Loader.java:253)
at 
com.sun.xml.bind.v2.runtime.unmarshaller.Loader.reportUnexpectedChildElement(Loader.java:120)
at 
com.sun.xml.bind.v2.runtime.unmarshaller.Loader.childElement(Loader.java:105)
at 
com.sun.xml.bind.v2.runtime.unmarshaller.StructureLoader.childElement(StructureLoader.java:247)
at 
com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext._startElement(UnmarshallingContext.java:483)
at 
com.sun.xml.bind.

[BUILD] branches/2.2: Failed for Revision: 1128976

2011-05-30 Thread Jarek Gawor
Geronimo Revision: 1128976 built with tests included
 
See the full build-2000.log file at 
http://people.apache.org/builds/geronimo/server/binaries/2.2/20110530/build-2000.log
 
 
See the unit test reports at 
http://people.apache.org/builds/geronimo/server/binaries/2.2/20110530/unit-test-reports
 

[WARNING] Component returned which is not the same manager. Ignored. 
component=org.apache.maven.profiles.activation.SystemPropertyProfileActivator@b740b74
[WARNING] Component returned which is not the same manager. Ignored. 
component=org.apache.maven.profiles.activation.FileProfileActivator@14b814b8
Downloading: 
http://repo2.maven.org/maven2/org/apache/openjpa/openjpa-parent/1.2.2/openjpa-parent-1.2.2.pom

[WARNING] Component returned which is not the same manager. Ignored. 
component=org.apache.maven.profiles.activation.SystemPropertyProfileActivator@b740b74
[WARNING] Component returned which is not the same manager. Ignored. 
component=org.apache.maven.profiles.activation.FileProfileActivator@14b814b8
[WARNING] Component returned which is not the same manager. Ignored. 
component=org.apache.maven.profiles.activation.SystemPropertyProfileActivator@b740b74
[WARNING] Component returned which is not the same manager. Ignored. 
component=org.apache.maven.profiles.activation.FileProfileActivator@14b814b8
[WARNING] Component returned which is not the same manager. Ignored. 
component=org.apache.maven.profiles.activation.SystemPropertyProfileActivator@b740b74
[WARNING] Component returned which is not the same manager. Ignored. 
component=org.apache.maven.profiles.activation.FileProfileActivator@14b814b8
[WARNING] Component returned which is not the same manager. Ignored. 
component=org.apache.maven.profiles.activation.SystemPropertyProfileActivator@b740b74
[WARNING] Component returned which is not the same manager. Ignored. 
component=org.apache.maven.profiles.activation.FileProfileActivator@14b814b8
[WARNING] Component returned which is not the same manager. Ignored. 
component=org.apache.maven.profiles.activation.SystemPropertyProfileActivator@b740b74
[WARNING] Component returned which is not the same manager. Ignored. 
component=org.apache.maven.profiles.activation.FileProfileActivator@14b814b8
Downloading: 
http://repo2.maven.org/maven2/net/sourceforge/serp/serp/1.11.0/serp-1.11.0.pom

[WARNING] Component returned which is not the same manager. Ignored. 
component=org.apache.maven.profiles.activation.SystemPropertyProfileActivator@b740b74
[WARNING] Component returned which is not the same manager. Ignored. 
component=org.apache.maven.profiles.activation.FileProfileActivator@14b814b8
Downloading: 
http://repo2.maven.org/maven2/org/apache/openjpa/openjpa/1.2.2/openjpa-1.2.2.jar
Downloading: 
http://repo2.maven.org/maven2/net/sourceforge/serp/serp/1.11.0/serp-1.11.0.jar


[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] skip non existing resourceDirectory 
/home/geronimo/geronimo/2.2/plugins/openjpa/geronimo-persistence-jpa10/src/main/resources
[INFO] skip non existing resourceDirectory 
/home/geronimo/geronimo/2.2/plugins/openjpa/geronimo-persistence-jpa10/src/main/filtered-resources
[INFO] Copying 3 resources
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Nothing to compile - all classes are up to date
[INFO] [resources:testResources {execution: default-testResources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 
/home/geronimo/geronimo/2.2/plugins/openjpa/geronimo-persistence-jpa10/src/test/resources
[INFO] skip non existing resourceDirectory 
/home/geronimo/geronimo/2.2/plugins/openjpa/geronimo-persistence-jpa10/src/test/filtered-resources
[INFO] Copying 3 resources
[INFO] [compiler:testCompile {execution: default-testCompile}]
[INFO] Nothing to compile - all classes are up to date
[INFO] [surefire:test {execution: default-test}]
[WARNING] Component returned which is not the same manager. Ignored. 
component=org.apache.maven.profiles.activation.SystemPropertyProfileActivator@b740b74
[WARNING] Component returned which is not the same manager. Ignored. 
component=org.apache.maven.profiles.activation.FileProfileActivator@14b814b8
[INFO] Surefire report directory: 
/home/geronimo/geronimo/2.2/plugins/openjpa/geronimo-persistence-jpa10/target/surefire-reports

---
 T E S T S
---
Running org.apache.geronimo.persistence.PersistenceUnitGBeanTest
Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.176 sec <<< 
FAILURE!
Running org.apache.geronimo.persistence.CMPEntityManagerTest
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.099 sec

Results :

Tests in error