Re: Latest trunk builds are not the latest.

2009-05-12 Thread David Blevins
Hmmm.  I seem to recall mid April being the time that we realized we  
weren't getting updated openejb snapshots due to the nexus switch.  I  
suspect it might some left over must updated the clients to use the  
right JNDI name due to the fix that Manu made a few months back that  
made it so the jndi name elements in the openejb-jar.xml worked again.



-David


On May 11, 2009, at 7:31 PM, Jarek Gawor wrote:


Yep. The 'latest' link is updated when all testsuite test pass.

You can browse the results at:
http://people.apache.org/builds/geronimo/server/binaries/trunk/20090511/
(under logs-testtime-container directories).

For example for enterprise-testsuite/sec-tests see
http://people.apache.org/builds/geronimo/server/binaries/trunk/20090511/logs-2100-tomcat/enterprise-testsuite/sec-tests/sec-ear/target/surefire-reports/org.apache.geronimo.mavenplugins.geronimo.server.RunClientMojo.txt

Jarek

On Mon, May 11, 2009 at 10:07 PM, David Jencks  
david_jen...@yahoo.com wrote:
I strongly suspect that the testsuite has been failing since 15  
april, thus

preventing copying to the latest location.
Personally I get more and different testsuite failures locally on  
my mac,
but I haven't looked very hard into why.  Can anyone supply info on  
the test

failure that is occurring in the automated builds?
thanks
david jencks
On May 11, 2009, at 6:31 PM, Shawn Jiang wrote:

The trunk binary here was built on 15-Apr-2009 according to
http://people.apache.org/builds/geronimo/server/binaries/trunk/ 
latest/


While the latest binary
here http://people.apache.org/builds/geronimo/server/binaries/trunk/20090511/ 
  indicates

the latest build should be 12-May-2009
Is there any problem with the build system ?
--
Shawn








[BUILD] trunk: Failed for Revision: 773795

2009-05-12 Thread gawor
Geronimo Revision: 773795 built with tests included
 
See the full build-0300.log file at 
http://people.apache.org/builds/geronimo/server/binaries/trunk/20090512/build-0300.log
 
 
See the unit test reports at 
http://people.apache.org/builds/geronimo/server/binaries/trunk/20090512/unit-test-reports
 
[INFO] 
[INFO] [enforcer:enforce {execution: default}]
[INFO] [remote-resources:process {execution: process}]
[INFO] [remote-resources:process {execution: default}]
[INFO] [resources:resources]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 
/home/geronimo/geronimo/trunk/plugins/openjpa/openjpa/src/main/resources
[INFO] Copying 3 resources
[INFO] Copying 3 resources
[INFO] [car:validate-configuration]
[INFO] [car:prepare-plan]
[WARNING] Component returned which is not the same manager. Ignored. 
component=org.apache.maven.profiles.activation.fileprofileactiva...@2b6a2b6a
[INFO] Generated: 
/home/geronimo/geronimo/trunk/plugins/openjpa/openjpa/target/resources/META-INF/plan.xml
[INFO] [car:verify-no-dependency-change]
[WARNING] Component returned which is not the same manager. Ignored. 
component=org.apache.maven.profiles.activation.fileprofileactiva...@2b6a2b6a
[INFO] [car:package]
[WARNING] Component returned which is not the same manager. Ignored. 
component=org.apache.maven.profiles.activation.fileprofileactiva...@2b6a2b6a
[INFO] Packaging module configuration: 
/home/geronimo/geronimo/trunk/plugins/openjpa/openjpa/target/resources/META-INF/plan.xml
[INFO] Started deployer: 
org.apache.geronimo.framework/geronimo-gbean-deployer/2.2-SNAPSHOT/car
[INFO] [car:prepare-metadata]
[WARNING] Component returned which is not the same manager. Ignored. 
component=org.apache.maven.profiles.activation.fileprofileactiva...@2b6a2b6a
[INFO] [car:archive-car]
[WARNING] Component returned which is not the same manager. Ignored. 
component=org.apache.maven.profiles.activation.fileprofileactiva...@2b6a2b6a
[INFO] Building jar: 
/home/geronimo/geronimo/trunk/plugins/openjpa/openjpa/target/openjpa-2.2-SNAPSHOT.car
[INFO] [ianal:verify-legal-files {execution: default}]
[INFO] Checking legal files in: openjpa-2.2-SNAPSHOT.car
[INFO] [install:install]
[INFO] Installing 
/home/geronimo/geronimo/trunk/plugins/openjpa/openjpa/target/openjpa-2.2-SNAPSHOT.car
 to 
/home/geronimo/.m2/repository/org/apache/geronimo/configs/openjpa/2.2-SNAPSHOT/openjpa-2.2-SNAPSHOT.car
[INFO] [car:update-pluginlist]
[INFO] 
[INFO] Building Geronimo Plugins, OpenEJB :: OpenEJB
[INFO]task-segment: [install]
[INFO] 
Downloading: 
http://people.apache.org/repo/m2-incubating-repository//commons-logging/commons-logging-api/1.1/commons-logging-api-1.1.pom
Downloading: 
http://repo.exist.com/maven2/commons-logging/commons-logging-api/1.1/commons-logging-api-1.1.pom
5K downloaded
[WARNING] Component returned which is not the same manager. Ignored. 
component=org.apache.maven.profiles.activation.fileprofileactiva...@2b6a2b6a
[INFO] [enforcer:enforce {execution: default}]
[WARNING] Component returned which is not the same manager. Ignored. 
component=org.apache.maven.profiles.activation.fileprofileactiva...@2b6a2b6a
[WARNING] Component returned which is not the same manager. Ignored. 
component=org.apache.maven.profiles.activation.fileprofileactiva...@2b6a2b6a
[WARNING] Component returned which is not the same manager. Ignored. 
component=org.apache.maven.profiles.activation.fileprofileactiva...@2b6a2b6a
[WARNING] Component returned which is not the same manager. Ignored. 
component=org.apache.maven.profiles.activation.fileprofileactiva...@2b6a2b6a
[WARNING] Component returned which is not the same manager. Ignored. 
component=org.apache.maven.profiles.activation.fileprofileactiva...@2b6a2b6a
[INFO] [remote-resources:process {execution: process}]
[INFO] [remote-resources:process {execution: default}]
[INFO] [resources:resources]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] Copying 3 resources
[INFO] Copying 3 resources
[INFO] [car:validate-configuration]
[INFO] [car:prepare-plan]
[WARNING] Component returned which is not the same manager. Ignored. 
component=org.apache.maven.profiles.activation.fileprofileactiva...@2b6a2b6a
[INFO] Generated: 
/home/geronimo/geronimo/trunk/plugins/openejb/openejb/target/resources/META-INF/plan.xml
[INFO] [car:verify-no-dependency-change]
[WARNING] Component returned which is not the same manager. Ignored. 
component=org.apache.maven.profiles.activation.fileprofileactiva...@2b6a2b6a
[INFO] 
[ERROR] BUILD FAILURE
[INFO] 
[INFO] Dependencies have changed:
Added

Encrypt password in deployment plans and config.ser

2009-05-12 Thread Jack Cai
Recently someone pointed out to us that password specified in the deployment
plan is stored in clear text in the config.ser after deployment, for
example, when deploying a datasource with the database password specified in
the deployment plan. I notice that there was another user mentioning exactly
the same problem in the geronimo-user list two years ago [1].

I did a little more dig and also found this JIRA [2] along with this
discussion [3] on encrypting passwords in deployment plans.

I understand that there are different arguments on what is real security.
But I also well appreciate users' concerns on having clear text password
appearing in the system. In China, we have a saying guard against the good
guys but not the bad guys, meaning the guard is there just to prevent the
good guys from doing bad. Taking the same example as in the old thread [3],
if we lock a bicycle, then the good guys won't steal it, while the bad guys
with the intention to steal it can still find ways to steal it. But if we
leave the bicycle unlocked, then the good guys are tempted to steal the
bicycle too, because it's so easy.

Back to JIRA [2], I think an alternative is to let user input the password
in encrypted form in the deployment plan at the very beginning. We can
provide a small command line tool to let user ecrypt the password
beforehands. If this is acceptable, then there is a very simple way to
satisfy requirement [1]  [2]. We can simply add a little encryption logic
in the class org.apache.geronimo.gbean.GBeanData [4], similar to what we did
in GBeanOverride for config.xml.

Comments are welcome.

-Jack


[1] http://www.nabble.com/plaintext-password-in-config.ser-to9834211.html
[2] http://issues.apache.org/jira/browse/GERONIMO-3003
[3]
http://www.nabble.com/Plaintext-passwords-in-Geronimo-plans-and-config-files-td9100565s134.html
[4]
Index:
D:/Dev/s/wasce_v2.1.0.1/server/framework/modules/geronimo-kernel/src/main/java/org/apache/geronimo/gbean/GBeanData.java
===
---
D:/Dev/s/wasce_v2.1.0.1/server/framework/modules/geronimo-kernel/src/main/java/org/apache/geronimo/gbean/GBeanData.java
(revision 11)
+++
D:/Dev/s/wasce_v2.1.0.1/server/framework/modules/geronimo-kernel/src/main/java/org/apache/geronimo/gbean/GBeanData.java
(working copy)
@@ -27,6 +27,8 @@
 import java.util.Map;
 import java.util.Set;

+import org.apache.geronimo.crypto.EncryptionManager;
+
 /**
  * @version $Rev: 556119 $ $Date: 2007-07-13 15:34:02 -0400 (Fri, 13 Jul
2007) $
  */
@@ -112,6 +114,10 @@
 }

 public void setAttribute(String name, Object value) {
+if (name.toLowerCase().indexOf(password)  -1
+ value instanceof String) {
+value = EncryptionManager.decrypt((String) value);
+}
 attributes.put(name, value);
 }

@@ -207,6 +213,10 @@
 for (Map.EntryString, Object entry : attributes.entrySet()) {
 String name = entry.getKey();
 Object value = entry.getValue();
+if (name.toLowerCase().indexOf(password)  -1
+ value instanceof String) {
+value = EncryptionManager.encrypt((String) value);
+}
 try {
 out.writeObject(name);
 out.writeObject(value);


[BUILD] trunk: Failed for Revision: 773862

2009-05-12 Thread gawor
Geronimo Revision: 773862 built with tests included
 
See the full build-0900.log file at 
http://people.apache.org/builds/geronimo/server/binaries/trunk/20090512/build-0900.log
 
 
See the unit test reports at 
http://people.apache.org/builds/geronimo/server/binaries/trunk/20090512/unit-test-reports
 
Results :

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

[INFO] [jar:jar]
[INFO] Building jar: 
/home/geronimo/geronimo/trunk/plugins/openjpa/geronimo-openjpa/target/geronimo-openjpa-2.2-SNAPSHOT.jar
[INFO] [ianal:verify-legal-files {execution: default}]
[INFO] Checking legal files in: geronimo-openjpa-2.2-SNAPSHOT.jar
[INFO] [install:install]
[INFO] Installing 
/home/geronimo/geronimo/trunk/plugins/openjpa/geronimo-openjpa/target/geronimo-openjpa-2.2-SNAPSHOT.jar
 to 
/home/geronimo/.m2/repository/org/apache/geronimo/modules/geronimo-openjpa/2.2-SNAPSHOT/geronimo-openjpa-2.2-SNAPSHOT.jar
[INFO] 
[INFO] Building Geronimo Plugins, OpenJPA :: OpenJPA
[INFO]task-segment: [install]
[INFO] 
[INFO] [enforcer:enforce {execution: default}]
[INFO] [remote-resources:process {execution: process}]
[INFO] [remote-resources:process {execution: default}]
[INFO] [resources:resources]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 
/home/geronimo/geronimo/trunk/plugins/openjpa/openjpa/src/main/resources
[INFO] Copying 3 resources
[INFO] Copying 3 resources
[INFO] [car:validate-configuration]
[INFO] [car:prepare-plan]
[INFO] Generated: 
/home/geronimo/geronimo/trunk/plugins/openjpa/openjpa/target/resources/META-INF/plan.xml
[INFO] [car:verify-no-dependency-change]
[INFO] [car:package]
[INFO] Packaging module configuration: 
/home/geronimo/geronimo/trunk/plugins/openjpa/openjpa/target/resources/META-INF/plan.xml
[INFO] Started deployer: 
org.apache.geronimo.framework/geronimo-gbean-deployer/2.2-SNAPSHOT/car
[INFO] [car:prepare-metadata]
[INFO] [car:archive-car]
[INFO] Building jar: 
/home/geronimo/geronimo/trunk/plugins/openjpa/openjpa/target/openjpa-2.2-SNAPSHOT.car
[INFO] [ianal:verify-legal-files {execution: default}]
[INFO] Checking legal files in: openjpa-2.2-SNAPSHOT.car
[INFO] [install:install]
[INFO] Installing 
/home/geronimo/geronimo/trunk/plugins/openjpa/openjpa/target/openjpa-2.2-SNAPSHOT.car
 to 
/home/geronimo/.m2/repository/org/apache/geronimo/configs/openjpa/2.2-SNAPSHOT/openjpa-2.2-SNAPSHOT.car
[INFO] [car:update-pluginlist]
[INFO] 
[INFO] Building Geronimo Plugins, OpenEJB :: OpenEJB
[INFO]task-segment: [install]
[INFO] 
Downloading: 
http://people.apache.org/repo/m2-incubating-repository//commons-logging/commons-logging-api/1.1/commons-logging-api-1.1.pom
Downloading: 
http://repo.exist.com/maven2/commons-logging/commons-logging-api/1.1/commons-logging-api-1.1.pom
5K downloaded
[INFO] [enforcer:enforce {execution: default}]
[INFO] [remote-resources:process {execution: process}]
[INFO] [remote-resources:process {execution: default}]
[INFO] [resources:resources]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] Copying 3 resources
[INFO] Copying 3 resources
[INFO] [car:validate-configuration]
[INFO] [car:prepare-plan]
[INFO] Generated: 
/home/geronimo/geronimo/trunk/plugins/openejb/openejb/target/resources/META-INF/plan.xml
[INFO] [car:verify-no-dependency-change]
[INFO] 
[ERROR] BUILD FAILURE
[INFO] 
[INFO] Dependencies have changed:
Added dependencies are saved here: 
/home/geronimo/geronimo/trunk/plugins/openejb/openejb/src/main/history/dependencies.added.xml
Tree listing is saved here: 
/home/geronimo/geronimo/trunk/plugins/openejb/openejb/src/main/history/treeListing.xml
Delete 
/home/geronimo/geronimo/trunk/plugins/openejb/openejb/src/main/history/dependencies.xml
 if you are happy with the dependency changes.
[INFO] 
[INFO] Trace
org.apache.maven.BuildFailureException: Dependencies have changed:
Added dependencies are saved here: 
/home/geronimo/geronimo/trunk/plugins/openejb/openejb/src/main/history/dependencies.added.xml
Tree listing is saved here: 
/home/geronimo/geronimo/trunk/plugins/openejb/openejb/src/main/history/treeListing.xml
Delete 
/home/geronimo/geronimo/trunk/plugins/openejb/openejb/src/main/history/dependencies.xml
 if you are happy with the dependency changes.
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:579

Re: Encrypt password in deployment plans and config.ser

2009-05-12 Thread Jarek Gawor
Jack,

I was thinking about this a while ago and had a slightly different
approach. I was thinking of adding a 'protected' or 'encrypted'
attribute to the GAttributeInfo (for example, just like the
'persistent' attribute) to indicate that this attribute should be
encrypted in the serialized file. I wanted to allow for any
attribute to be encrypted even if it doesn't have the password name
in it. And I think with this way we could also expose that setting via
our GBean annotations.

Btw, hmm... shouldn't encrypt be called in setAttribute() and decrypt
in getAttribute() or at least encrypt in writeExternal() and decrypt
in readExternal() ?

Jarek

On Tue, May 12, 2009 at 4:06 AM, Jack Cai greensi...@gmail.com wrote:
 Recently someone pointed out to us that password specified in the deployment
 plan is stored in clear text in the config.ser after deployment, for
 example, when deploying a datasource with the database password specified in
 the deployment plan. I notice that there was another user mentioning exactly
 the same problem in the geronimo-user list two years ago [1].

 I did a little more dig and also found this JIRA [2] along with this
 discussion [3] on encrypting passwords in deployment plans.

 I understand that there are different arguments on what is real security.
 But I also well appreciate users' concerns on having clear text password
 appearing in the system. In China, we have a saying guard against the good
 guys but not the bad guys, meaning the guard is there just to prevent the
 good guys from doing bad. Taking the same example as in the old thread [3],
 if we lock a bicycle, then the good guys won't steal it, while the bad guys
 with the intention to steal it can still find ways to steal it. But if we
 leave the bicycle unlocked, then the good guys are tempted to steal the
 bicycle too, because it's so easy.

 Back to JIRA [2], I think an alternative is to let user input the password
 in encrypted form in the deployment plan at the very beginning. We can
 provide a small command line tool to let user ecrypt the password
 beforehands. If this is acceptable, then there is a very simple way to
 satisfy requirement [1]  [2]. We can simply add a little encryption logic
 in the class org.apache.geronimo.gbean.GBeanData [4], similar to what we did
 in GBeanOverride for config.xml.

 Comments are welcome.

 -Jack


 [1] http://www.nabble.com/plaintext-password-in-config.ser-to9834211.html
 [2] http://issues.apache.org/jira/browse/GERONIMO-3003
 [3]
 http://www.nabble.com/Plaintext-passwords-in-Geronimo-plans-and-config-files-td9100565s134.html
 [4]
 Index:
 D:/Dev/s/wasce_v2.1.0.1/server/framework/modules/geronimo-kernel/src/main/java/org/apache/geronimo/gbean/GBeanData.java
 ===
 ---
 D:/Dev/s/wasce_v2.1.0.1/server/framework/modules/geronimo-kernel/src/main/java/org/apache/geronimo/gbean/GBeanData.java
 (revision 11)
 +++
 D:/Dev/s/wasce_v2.1.0.1/server/framework/modules/geronimo-kernel/src/main/java/org/apache/geronimo/gbean/GBeanData.java
 (working copy)
 @@ -27,6 +27,8 @@
  import java.util.Map;
  import java.util.Set;

 +import org.apache.geronimo.crypto.EncryptionManager;
 +
  /**
   * @version $Rev: 556119 $ $Date: 2007-07-13 15:34:02 -0400 (Fri, 13 Jul
 2007) $
   */
 @@ -112,6 +114,10 @@
  }

  public void setAttribute(String name, Object value) {
 +    if (name.toLowerCase().indexOf(password)  -1
 +     value instanceof String) {
 +    value = EncryptionManager.decrypt((String) value);
 +    }
  attributes.put(name, value);
  }

 @@ -207,6 +213,10 @@
  for (Map.EntryString, Object entry : attributes.entrySet()) {
  String name = entry.getKey();
  Object value = entry.getValue();
 +    if (name.toLowerCase().indexOf(password)  -1
 +     value instanceof String) {
 +    value = EncryptionManager.encrypt((String) value);
 +    }
  try {
  out.writeObject(name);
  out.writeObject(value);





[jira] Created: (GERONIMO-4624) Improve deployment plan documentation

2009-05-12 Thread Kevan Miller (JIRA)
Improve deployment plan documentation
-

 Key: GERONIMO-4624
 URL: https://issues.apache.org/jira/browse/GERONIMO-4624
 Project: Geronimo
  Issue Type: Improvement
  Security Level: public (Regular issues)
  Components: documentation
Affects Versions: 2.1.4, 2.2
Reporter: Kevan Miller
 Fix For: 2.1.5


User reported that after reading 
http://cwiki.apache.org/GMOxDOC21/deployment-plans.html they were not sure what 
an external deployment plan was. It was not clear what schema an external 
deployment plan should conform to... This should be made obvious to readers.

-- 
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: 774007

2009-05-12 Thread gawor
Geronimo Revision: 774007 built with tests included
 
See the full build-1500.log file at 
http://people.apache.org/builds/geronimo/server/binaries/trunk/20090512/build-1500.log
 
 
See the unit test reports at 
http://people.apache.org/builds/geronimo/server/binaries/trunk/20090512/unit-test-reports
 
[INFO] 
[INFO] [enforcer:enforce {execution: default}]
[INFO] [remote-resources:process {execution: process}]
[INFO] [remote-resources:process {execution: default}]
[INFO] [resources:resources]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 
/home/geronimo/geronimo/trunk/plugins/openjpa/openjpa/src/main/resources
[INFO] Copying 3 resources
[INFO] Copying 3 resources
[INFO] [car:validate-configuration]
[INFO] [car:prepare-plan]
[WARNING] Component returned which is not the same manager. Ignored. 
component=org.apache.maven.profiles.activation.operatingsystemprofileactiva...@13a317a
[INFO] Generated: 
/home/geronimo/geronimo/trunk/plugins/openjpa/openjpa/target/resources/META-INF/plan.xml
[INFO] [car:verify-no-dependency-change]
[WARNING] Component returned which is not the same manager. Ignored. 
component=org.apache.maven.profiles.activation.operatingsystemprofileactiva...@13a317a
[INFO] [car:package]
[WARNING] Component returned which is not the same manager. Ignored. 
component=org.apache.maven.profiles.activation.operatingsystemprofileactiva...@13a317a
[INFO] Packaging module configuration: 
/home/geronimo/geronimo/trunk/plugins/openjpa/openjpa/target/resources/META-INF/plan.xml
[INFO] Started deployer: 
org.apache.geronimo.framework/geronimo-gbean-deployer/2.2-SNAPSHOT/car
[INFO] [car:prepare-metadata]
[WARNING] Component returned which is not the same manager. Ignored. 
component=org.apache.maven.profiles.activation.operatingsystemprofileactiva...@13a317a
[INFO] [car:archive-car]
[WARNING] Component returned which is not the same manager. Ignored. 
component=org.apache.maven.profiles.activation.operatingsystemprofileactiva...@13a317a
[INFO] Building jar: 
/home/geronimo/geronimo/trunk/plugins/openjpa/openjpa/target/openjpa-2.2-SNAPSHOT.car
[INFO] [ianal:verify-legal-files {execution: default}]
[INFO] Checking legal files in: openjpa-2.2-SNAPSHOT.car
[INFO] [install:install]
[INFO] Installing 
/home/geronimo/geronimo/trunk/plugins/openjpa/openjpa/target/openjpa-2.2-SNAPSHOT.car
 to 
/home/geronimo/.m2/repository/org/apache/geronimo/configs/openjpa/2.2-SNAPSHOT/openjpa-2.2-SNAPSHOT.car
[INFO] [car:update-pluginlist]
[INFO] 
[INFO] Building Geronimo Plugins, OpenEJB :: OpenEJB
[INFO]task-segment: [install]
[INFO] 
Downloading: 
http://people.apache.org/repo/m2-incubating-repository//commons-logging/commons-logging-api/1.1/commons-logging-api-1.1.pom
Downloading: 
http://repo.exist.com/maven2/commons-logging/commons-logging-api/1.1/commons-logging-api-1.1.pom
5K downloaded
[WARNING] Component returned which is not the same manager. Ignored. 
component=org.apache.maven.profiles.activation.operatingsystemprofileactiva...@13a317a
[INFO] [enforcer:enforce {execution: default}]
[WARNING] Component returned which is not the same manager. Ignored. 
component=org.apache.maven.profiles.activation.operatingsystemprofileactiva...@13a317a
[WARNING] Component returned which is not the same manager. Ignored. 
component=org.apache.maven.profiles.activation.operatingsystemprofileactiva...@13a317a
[WARNING] Component returned which is not the same manager. Ignored. 
component=org.apache.maven.profiles.activation.operatingsystemprofileactiva...@13a317a
[WARNING] Component returned which is not the same manager. Ignored. 
component=org.apache.maven.profiles.activation.operatingsystemprofileactiva...@13a317a
[WARNING] Component returned which is not the same manager. Ignored. 
component=org.apache.maven.profiles.activation.operatingsystemprofileactiva...@13a317a
[INFO] [remote-resources:process {execution: process}]
[INFO] [remote-resources:process {execution: default}]
[INFO] [resources:resources]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] Copying 3 resources
[INFO] Copying 3 resources
[INFO] [car:validate-configuration]
[INFO] [car:prepare-plan]
[WARNING] Component returned which is not the same manager. Ignored. 
component=org.apache.maven.profiles.activation.operatingsystemprofileactiva...@13a317a
[INFO] Generated: 
/home/geronimo/geronimo/trunk/plugins/openejb/openejb/target/resources/META-INF/plan.xml
[INFO] [car:verify-no-dependency-change]
[WARNING] Component returned which is not the same manager. Ignored. 
component=org.apache.maven.profiles.activation.operatingsystemprofileactiva...@13a317a
[INFO] 
[ERROR] BUILD FAILURE
[INFO

enterprise-testsuite/sec-tests failure (Re: Latest trunk builds are not the latest.)

2009-05-12 Thread David Blevins
Been looking into this one and it appears that my first guess wasn't  
right.  Seems to actually be some issue with the ejb linking code.   
For some reason the app client is trying to lookup a local view from  
the server.


Investigating.

-David


On May 11, 2009, at 11:00 PM, David Blevins wrote:

Hmmm.  I seem to recall mid April being the time that we realized we  
weren't getting updated openejb snapshots due to the nexus switch.   
I suspect it might some left over must updated the clients to use  
the right JNDI name due to the fix that Manu made a few months back  
that made it so the jndi name elements in the openejb-jar.xml worked  
again.



-David


On May 11, 2009, at 7:31 PM, Jarek Gawor wrote:


Yep. The 'latest' link is updated when all testsuite test pass.

You can browse the results at:
http://people.apache.org/builds/geronimo/server/binaries/trunk/20090511/
(under logs-testtime-container directories).

For example for enterprise-testsuite/sec-tests see
http://people.apache.org/builds/geronimo/server/binaries/trunk/20090511/logs-2100-tomcat/enterprise-testsuite/sec-tests/sec-ear/target/surefire-reports/org.apache.geronimo.mavenplugins.geronimo.server.RunClientMojo.txt

Jarek

On Mon, May 11, 2009 at 10:07 PM, David Jencks david_jen...@yahoo.com 
 wrote:
I strongly suspect that the testsuite has been failing since 15  
april, thus

preventing copying to the latest location.
Personally I get more and different testsuite failures locally on  
my mac,
but I haven't looked very hard into why.  Can anyone supply info  
on the test

failure that is occurring in the automated builds?
thanks
david jencks
On May 11, 2009, at 6:31 PM, Shawn Jiang wrote:

The trunk binary here was built on 15-Apr-2009 according to
http://people.apache.org/builds/geronimo/server/binaries/trunk/latest/

While the latest binary
here http://people.apache.org/builds/geronimo/server/binaries/trunk/20090511/ 
  indicates

the latest build should be 12-May-2009
Is there any problem with the build system ?
--
Shawn











Re: [BUILD] trunk: Failed for Revision: 774007

2009-05-12 Thread Joe Bohn
I'm just going to assume that we want to pick up the new dependencies 
and commit the changes I made locally to get the build to succeed.


It looks like there is a new jar for openejb-api that we need to pick up 
for the client and openejb plugins.  Of course all of dependencies 
listed in the dependencies.xml are jumbled around so it's difficult to 
tell that this is all that has changed ... but that is it.


Joe


ga...@apache.org wrote:

Geronimo Revision: 774007 built with tests included
 
See the full build-1500.log file at http://people.apache.org/builds/geronimo/server/binaries/trunk/20090512/build-1500.log
 
 
See the unit test reports at http://people.apache.org/builds/geronimo/server/binaries/trunk/20090512/unit-test-reports
 
[INFO] 

[INFO] [enforcer:enforce {execution: default}]
[INFO] [remote-resources:process {execution: process}]
[INFO] [remote-resources:process {execution: default}]
[INFO] [resources:resources]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 
/home/geronimo/geronimo/trunk/plugins/openjpa/openjpa/src/main/resources
[INFO] Copying 3 resources
[INFO] Copying 3 resources
[INFO] [car:validate-configuration]
[INFO] [car:prepare-plan]
[WARNING] Component returned which is not the same manager. Ignored. 
component=org.apache.maven.profiles.activation.operatingsystemprofileactiva...@13a317a
[INFO] Generated: 
/home/geronimo/geronimo/trunk/plugins/openjpa/openjpa/target/resources/META-INF/plan.xml
[INFO] [car:verify-no-dependency-change]
[WARNING] Component returned which is not the same manager. Ignored. 
component=org.apache.maven.profiles.activation.operatingsystemprofileactiva...@13a317a
[INFO] [car:package]
[WARNING] Component returned which is not the same manager. Ignored. 
component=org.apache.maven.profiles.activation.operatingsystemprofileactiva...@13a317a
[INFO] Packaging module configuration: 
/home/geronimo/geronimo/trunk/plugins/openjpa/openjpa/target/resources/META-INF/plan.xml
[INFO] Started deployer: 
org.apache.geronimo.framework/geronimo-gbean-deployer/2.2-SNAPSHOT/car
[INFO] [car:prepare-metadata]
[WARNING] Component returned which is not the same manager. Ignored. 
component=org.apache.maven.profiles.activation.operatingsystemprofileactiva...@13a317a
[INFO] [car:archive-car]
[WARNING] Component returned which is not the same manager. Ignored. 
component=org.apache.maven.profiles.activation.operatingsystemprofileactiva...@13a317a
[INFO] Building jar: 
/home/geronimo/geronimo/trunk/plugins/openjpa/openjpa/target/openjpa-2.2-SNAPSHOT.car
[INFO] [ianal:verify-legal-files {execution: default}]
[INFO] Checking legal files in: openjpa-2.2-SNAPSHOT.car
[INFO] [install:install]
[INFO] Installing 
/home/geronimo/geronimo/trunk/plugins/openjpa/openjpa/target/openjpa-2.2-SNAPSHOT.car
 to 
/home/geronimo/.m2/repository/org/apache/geronimo/configs/openjpa/2.2-SNAPSHOT/openjpa-2.2-SNAPSHOT.car
[INFO] [car:update-pluginlist]
[INFO] 
[INFO] Building Geronimo Plugins, OpenEJB :: OpenEJB
[INFO]task-segment: [install]
[INFO] 
Downloading: 
http://people.apache.org/repo/m2-incubating-repository//commons-logging/commons-logging-api/1.1/commons-logging-api-1.1.pom
Downloading: 
http://repo.exist.com/maven2/commons-logging/commons-logging-api/1.1/commons-logging-api-1.1.pom
5K downloaded
[WARNING] Component returned which is not the same manager. Ignored. 
component=org.apache.maven.profiles.activation.operatingsystemprofileactiva...@13a317a
[INFO] [enforcer:enforce {execution: default}]
[WARNING] Component returned which is not the same manager. Ignored. 
component=org.apache.maven.profiles.activation.operatingsystemprofileactiva...@13a317a
[WARNING] Component returned which is not the same manager. Ignored. 
component=org.apache.maven.profiles.activation.operatingsystemprofileactiva...@13a317a
[WARNING] Component returned which is not the same manager. Ignored. 
component=org.apache.maven.profiles.activation.operatingsystemprofileactiva...@13a317a
[WARNING] Component returned which is not the same manager. Ignored. 
component=org.apache.maven.profiles.activation.operatingsystemprofileactiva...@13a317a
[WARNING] Component returned which is not the same manager. Ignored. 
component=org.apache.maven.profiles.activation.operatingsystemprofileactiva...@13a317a
[INFO] [remote-resources:process {execution: process}]
[INFO] [remote-resources:process {execution: default}]
[INFO] [resources:resources]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] Copying 3 resources
[INFO] Copying 3 resources
[INFO] [car:validate-configuration]
[INFO] [car:prepare-plan]
[WARNING] Component returned which is not the same manager. Ignored. 
component

Re: [BUILD] trunk: Failed for Revision: 774007

2009-05-12 Thread David Blevins

Thanks, Joe!

-David

On May 12, 2009, at 1:57 PM, Joe Bohn wrote:

I'm just going to assume that we want to pick up the new  
dependencies and commit the changes I made locally to get the build  
to succeed.


It looks like there is a new jar for openejb-api that we need to  
pick up for the client and openejb plugins.  Of course all of  
dependencies listed in the dependencies.xml are jumbled around so  
it's difficult to tell that this is all that has changed ... but  
that is it.


Joe


ga...@apache.org wrote:

Geronimo Revision: 774007 built with tests included
See the full build-1500.log file at 
http://people.apache.org/builds/geronimo/server/binaries/trunk/20090512/build-1500.log
 See the unit test reports at 
http://people.apache.org/builds/geronimo/server/binaries/trunk/20090512/unit-test-reports
[INFO]  


[INFO] [enforcer:enforce {execution: default}]
[INFO] [remote-resources:process {execution: process}]
[INFO] [remote-resources:process {execution: default}]
[INFO] [resources:resources]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/geronimo/geronimo/ 
trunk/plugins/openjpa/openjpa/src/main/resources

[INFO] Copying 3 resources
[INFO] Copying 3 resources
[INFO] [car:validate-configuration]
[INFO] [car:prepare-plan]
[WARNING] Component returned which is not the same manager.  
Ignored.  
component 
= 
org 
.apache 
.maven.profiles.activation.operatingsystemprofileactiva...@13a317a
[INFO] Generated: /home/geronimo/geronimo/trunk/plugins/openjpa/ 
openjpa/target/resources/META-INF/plan.xml

[INFO] [car:verify-no-dependency-change]
[WARNING] Component returned which is not the same manager.  
Ignored.  
component 
= 
org 
.apache 
.maven.profiles.activation.operatingsystemprofileactiva...@13a317a

[INFO] [car:package]
[WARNING] Component returned which is not the same manager.  
Ignored.  
component 
= 
org 
.apache 
.maven.profiles.activation.operatingsystemprofileactiva...@13a317a
[INFO] Packaging module configuration: /home/geronimo/geronimo/ 
trunk/plugins/openjpa/openjpa/target/resources/META-INF/plan.xml
[INFO] Started deployer: org.apache.geronimo.framework/geronimo- 
gbean-deployer/2.2-SNAPSHOT/car

[INFO] [car:prepare-metadata]
[WARNING] Component returned which is not the same manager.  
Ignored.  
component 
= 
org 
.apache 
.maven.profiles.activation.operatingsystemprofileactiva...@13a317a

[INFO] [car:archive-car]
[WARNING] Component returned which is not the same manager.  
Ignored.  
component 
= 
org 
.apache 
.maven.profiles.activation.operatingsystemprofileactiva...@13a317a
[INFO] Building jar: /home/geronimo/geronimo/trunk/plugins/openjpa/ 
openjpa/target/openjpa-2.2-SNAPSHOT.car

[INFO] [ianal:verify-legal-files {execution: default}]
[INFO] Checking legal files in: openjpa-2.2-SNAPSHOT.car
[INFO] [install:install]
[INFO] Installing /home/geronimo/geronimo/trunk/plugins/openjpa/ 
openjpa/target/openjpa-2.2-SNAPSHOT.car to /home/geronimo/.m2/ 
repository/org/apache/geronimo/configs/openjpa/2.2-SNAPSHOT/ 
openjpa-2.2-SNAPSHOT.car

[INFO] [car:update-pluginlist]
[INFO]  


[INFO] Building Geronimo Plugins, OpenEJB :: OpenEJB
[INFO]task-segment: [install]
[INFO]  


Downloading: 
http://people.apache.org/repo/m2-incubating-repository//commons-logging/commons-logging-api/1.1/commons-logging-api-1.1.pom
Downloading: 
http://repo.exist.com/maven2/commons-logging/commons-logging-api/1.1/commons-logging-api-1.1.pom
5K downloaded
[WARNING] Component returned which is not the same manager.  
Ignored.  
component 
= 
org 
.apache 
.maven.profiles.activation.operatingsystemprofileactiva...@13a317a

[INFO] [enforcer:enforce {execution: default}]
[WARNING] Component returned which is not the same manager.  
Ignored.  
component 
= 
org 
.apache 
.maven.profiles.activation.operatingsystemprofileactiva...@13a317a
[WARNING] Component returned which is not the same manager.  
Ignored.  
component 
= 
org 
.apache 
.maven.profiles.activation.operatingsystemprofileactiva...@13a317a
[WARNING] Component returned which is not the same manager.  
Ignored.  
component 
= 
org 
.apache 
.maven.profiles.activation.operatingsystemprofileactiva...@13a317a
[WARNING] Component returned which is not the same manager.  
Ignored.  
component 
= 
org 
.apache 
.maven.profiles.activation.operatingsystemprofileactiva...@13a317a
[WARNING] Component returned which is not the same manager.  
Ignored.  
component 
= 
org 
.apache 
.maven.profiles.activation.operatingsystemprofileactiva...@13a317a

[INFO] [remote-resources:process {execution: process}]
[INFO] [remote-resources:process {execution: default}]
[INFO] [resources:resources]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] Copying 3 resources

[jira] Commented: (DAYTRADER-68) A version of daytrader for Tomcat 6

2009-05-12 Thread Joe Bohn (JIRA)

[ 
https://issues.apache.org/jira/browse/DAYTRADER-68?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12708651#action_12708651
 ] 

Joe Bohn commented on DAYTRADER-68:
---

Some more comments and questions:
- I noticed that ./daytrader-webonly/daytrader-datasource-plan.xml and 
./daytrader-webonly/src/main/webapp/META-INF/context.xml are missing the Apache 
License header.  Can you please add them with your contribution?
-  We probably need some more description (in the README?) about the datasource 
and how to handle this for Geronimo installations and possibly Tomcat installs 
as well.  I can see where it might be confusing with the 
daytrader-derby-datasource that we also have out there.  Perhaps we need to 
include webonly in this name as well.
- were you working on the tomcat/jetty plugins of this that were discussed on 
the original proposal?

 A version of daytrader for Tomcat 6
 ---

 Key: DAYTRADER-68
 URL: https://issues.apache.org/jira/browse/DAYTRADER-68
 Project: DayTrader
  Issue Type: New Feature
  Security Level: public(Regular issues) 
  Components: Web Tier
Affects Versions: 2.2
 Environment: Tomcat 6.0.18
Reporter: Forrest Xia
Assignee: Forrest Xia
 Attachments: daytrader-webonly-new.patch, daytrader-webonly-new.zip, 
 daytrader-webonly.patch


 I have a trimmed version of daytrader for tomcat 6, and want to contribute to 
 daytrader trunk, please help review and commit. thanks!

-- 
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: 774147

2009-05-12 Thread gawor
Geronimo Revision: 774147 built with tests included
 
See the full build-2100.log file at 
http://people.apache.org/builds/geronimo/server/binaries/trunk/20090512/build-2100.log
 
Download the binaries from 
http://people.apache.org/builds/geronimo/server/binaries/trunk/20090512
[INFO] BUILD SUCCESSFUL
[INFO] 
[INFO] Total time: 35 minutes 54 seconds
[INFO] Finished at: Tue May 12 21:37:26 EDT 2009
[INFO] Final Memory: 679M/992M
[INFO] 
 
TESTSUITE RESULTS (Failures only)
=
See detailed results at 
http://people.apache.org/builds/geronimo/server/testsuite/ResultsSummary.html
 
Assembly: tomcat
=
See the full test.log file at 
http://people.apache.org/builds/geronimo/server/binaries/trunk/20090512/logs-2100-tomcat/test.log
 
 
[INFO] snapshot 
org.apache.geronimo.assemblies:geronimo-tomcat6-javaee5:2.2-SNAPSHOT: checking 
for updates from codehaus-snapshots
[INFO] Using assembly artifact: 
org.apache.geronimo.assemblies:geronimo-tomcat6-javaee5:zip:bin:2.2-SNAPSHOT:provided
[INFO] Using geronimoHome: 
/home/geronimo/geronimo/trunk/testsuite/target/geronimo-tomcat6-javaee5-2.2-SNAPSHOT
[INFO] Installing assembly...
[INFO] Expanding: 
/home/geronimo/.m2/repository/org/apache/geronimo/assemblies/geronimo-tomcat6-javaee5/2.2-SNAPSHOT/geronimo-tomcat6-javaee5-2.2-SNAPSHOT-bin.zip
 into /home/geronimo/geronimo/trunk/testsuite/target
[INFO] Starting Geronimo server...
[INFO] Selected option set: default
[INFO] Redirecting output to: 
/home/geronimo/geronimo/trunk/testsuite/target/geronimo-logs/org.apache.geronimo.mavenplugins.geronimo.server.StartServerMojo.log
[INFO] Waiting for Geronimo server...
[INFO] Geronimo server started in 0:00:40.777
[INFO] [shitty:install {execution: default}]
[INFO] Installing /home/geronimo/geronimo/trunk/testsuite/pom.xml to 
/home/geronimo/.m2/repository/org/apache/geronimo/testsuite/testsuite/2.2-SNAPSHOT/testsuite-2.2-SNAPSHOT.pom
[INFO] [shitty:test {execution: default}]
[INFO] Starting 36 test builds
[INFO] 
[INFO] 
---
[INFO] 
[INFO] commands-testsuite/deploy  RUNNING
[INFO] commands-testsuite/deploy  SUCCESS (0:01:00.731) 
[INFO] commands-testsuite/gshell  RUNNING
[INFO] commands-testsuite/gshell  SUCCESS (0:00:27.743) 
[INFO] commands-testsuite/jaxws   RUNNING
[INFO] commands-testsuite/jaxws   SUCCESS (0:00:33.252) 
[INFO] commands-testsuite/shutdownRUNNING
[INFO] commands-testsuite/shutdownSUCCESS (0:00:15.713) 
[INFO] concurrent-testsuite/concurrent-basic  RUNNING
[INFO] concurrent-testsuite/concurrent-basic  SUCCESS (0:06:31.791) 
[INFO] console-testsuite/advanced RUNNING
[INFO] console-testsuite/advanced SUCCESS (0:01:28.305) 
[INFO] console-testsuite/basicRUNNING
[INFO] console-testsuite/basicSUCCESS (0:01:53.394) 
[INFO] corba-testsuite/corba-helloworld   RUNNING
[INFO] corba-testsuite/corba-helloworld   SUCCESS (0:00:50.185) 
[INFO] corba-testsuite/corba-marshal  RUNNING
[INFO] corba-testsuite/corba-marshal  SUCCESS (0:00:50.562) 
[INFO] corba-testsuite/corba-mytime   RUNNING
[INFO] corba-testsuite/corba-mytime   SUCCESS (0:00:44.541) 
[INFO] deployment-testsuite/deployment-tests  RUNNING
[INFO] deployment-testsuite/deployment-tests  SUCCESS (0:00:30.423) 
[INFO] deployment-testsuite/jca-cms-tests RUNNING
[INFO] deployment-testsuite/jca-cms-tests SUCCESS (0:00:31.011) 
[INFO] deployment-testsuite/manifestcp-tests  RUNNING
[INFO] deployment-testsuite/manifestcp-tests  SUCCESS (0:00:32.871) 
[INFO] enterprise-testsuite/ejb-tests RUNNING
[INFO] enterprise-testsuite/ejb-tests SUCCESS (0:01:02.506) 
[INFO] enterprise-testsuite/jms-tests RUNNING
[INFO] enterprise-testsuite/jms-tests SUCCESS (0:00:56.552) 
[INFO] enterprise-testsuite/jpa-tests RUNNING
[INFO] enterprise-testsuite/jpa-tests SUCCESS (0:00:50.888) 
[INFO] enterprise-testsuite/sec-clientRUNNING
[INFO] enterprise-testsuite/sec-clientSUCCESS (0:00:27.567) 
[INFO] enterprise-testsuite/sec-tests RUNNING
[INFO] enterprise-testsuite/sec-tests SUCCESS (0:00:50.324) 
[INFO] security-testsuite/test-security   RUNNING
[INFO] security-testsuite/test-security   FAILURE (0:00:38.083) Java 
returned: 1
[INFO] web-testsuite/test-2.1-jspsRUNNING
[INFO] web-testsuite/test-2.1-jspsSUCCESS (0:00:29.977) 
[INFO] web-testsuite/test-2.5-servletsRUNNING
[INFO] web-testsuite/test-2.5

[jira] Commented: (GERONIMO-4624) Improve deployment plan documentation

2009-05-12 Thread Chi Runhua (JIRA)

[ 
https://issues.apache.org/jira/browse/GERONIMO-4624?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12708764#action_12708764
 ] 

Chi Runhua commented on GERONIMO-4624:
--

I updated the sentence from external plan  to {color:blue}external plan to 
be specified at deployment time{color} on 
http://cwiki.apache.org/GMOxDOC21/deployment-plans.html and 
http://cwiki.apache.org/confluence/display/GMOxDOC22/Creating+deployment+plans+for+enterprise+applications.




 Improve deployment plan documentation
 -

 Key: GERONIMO-4624
 URL: https://issues.apache.org/jira/browse/GERONIMO-4624
 Project: Geronimo
  Issue Type: Improvement
  Security Level: public(Regular issues) 
  Components: documentation
Affects Versions: 2.1.4, 2.2
Reporter: Kevan Miller
 Fix For: 2.1.5


 User reported that after reading 
 http://cwiki.apache.org/GMOxDOC21/deployment-plans.html they were not sure 
 what an external deployment plan was. It was not clear what schema an 
 external deployment plan should conform to... This should be made obvious to 
 readers.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.