[jira] [Commented] (GERONIMODEVTOOLS-735) More user friendly message when deploying OSGi application

2011-08-19 Thread Han Hong Fang (JIRA)

[ 
https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-735?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13087571#comment-13087571
 ] 

Han Hong Fang commented on GERONIMODEVTOOLS-735:


Just tried the patch, and two comments:
1. The solution closely depends on the message format of 
getDeploymentStatus().getMessage(). It extracts the first caused by statement, 
and the display info on dialog is exactly the same info from the message (same 
content and same format controlled by \n). 
2.  In ((symbolicname=TestBundle1)(version=1.0.0)), symbol  disappears 
in dialog content (by checking the details section,  shows there.).

I don't figure out a better solution so far, but I believe there will be one.


 More user friendly message when deploying OSGi application
 --

 Key: GERONIMODEVTOOLS-735
 URL: 
 https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-735
 Project: Geronimo-Devtools
  Issue Type: Improvement
  Components: eclipse-plugin
Affects Versions: 3.0_M1
Reporter: Han Hong Fang
 Fix For: 3.0-M2, 3.0

 Attachments: moreFriendlyMessage_735.patch, screenshot-1.jpg


 When OSGi application project doesn't contain OSGi bundle, or specified 
 contained bundle can not be resolved at deployment time, more user friendly 
 message which clearly points out the problem would be more nice that throw 
 the DeploymentException.

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




[jira] [Created] (GERONIMO-6115) null displyed for karaf version when typing info command in karaf shell.

2011-08-19 Thread Shawn Jiang (JIRA)
null displyed for karaf version when typing info command in karaf shell.
--

 Key: GERONIMO-6115
 URL: https://issues.apache.org/jira/browse/GERONIMO-6115
 Project: Geronimo
  Issue Type: Bug
  Security Level: public (Regular issues)
Affects Versions: 3.0
Reporter: Shawn Jiang
Priority: Trivial


server info
Karaf
  Karaf version   null
  Karaf home  
F:\ce30\wasce-server-3.0.0.0-bin0819\wasce-server-3.0.0.0
  Karaf base  
F:\ce30\wasce-server-3.0.0.0-bin0819\wasce-server-3.0.0.0
  OSGi Framework  org.eclipse.osgi - 3.7.1.R37x_v20110808-1106

JVM
  Java Virtual MachineJava HotSpot(TM) Client VM version 17.0-b17
  Version 1.6.0_21
  Vendor  Sun Microsystems Inc.
  Uptime  4 minutes
  Total compile time  2.389 seconds
Threads
  Live threads84
  Daemon threads  75
  Peak87
  Total started   181

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




[jira] [Updated] (GERONIMODEVTOOLS-735) More user friendly message when deploying OSGi application

2011-08-19 Thread Han Hong Fang (JIRA)

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

Han Hong Fang updated GERONIMODEVTOOLS-735:
---

Attachment: screenshot-with-patch.JPG

Attached the screenshot after applying patch.

 More user friendly message when deploying OSGi application
 --

 Key: GERONIMODEVTOOLS-735
 URL: 
 https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-735
 Project: Geronimo-Devtools
  Issue Type: Improvement
  Components: eclipse-plugin
Affects Versions: 3.0_M1
Reporter: Han Hong Fang
 Fix For: 3.0-M2, 3.0

 Attachments: moreFriendlyMessage_735.patch, screenshot-1.jpg, 
 screenshot-with-patch.JPG


 When OSGi application project doesn't contain OSGi bundle, or specified 
 contained bundle can not be resolved at deployment time, more user friendly 
 message which clearly points out the problem would be more nice that throw 
 the DeploymentException.

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




[jira] [Created] (GERONIMO-6116) differentiate the two OpenEJB ORB Adapter displayed in Linstening on Ports after server startup.

2011-08-19 Thread Shawn Jiang (JIRA)
differentiate the two OpenEJB ORB Adapter  displayed in Linstening on Ports 
 after server startup.
--

 Key: GERONIMO-6116
 URL: https://issues.apache.org/jira/browse/GERONIMO-6116
 Project: Geronimo
  Issue Type: Bug
  Security Level: public (Regular issues)
Reporter: Shawn Jiang


Listening on Ports:
  1050 0.0.0.0 CORBA Naming Service
  1099 0.0.0.0 RMI Naming
  1527 0.0.0.0 Derby Connector
  2001 0.0.0.0 OpenEJB ORB Adapter
  4201 0.0.0.0 OpenEJB Daemon
  6882 0.0.0.0 OpenEJB ORB Adapter
  8009 0.0.0.0 Tomcat Connector AJP TomcatAJPConnector
  8080 0.0.0.0 Tomcat Connector HTTP BIO TomcatWebConnector
  8443 0.0.0.0 Tomcat Connector HTTPS BIO TomcatWebSSLConnector
   0.0.0.0 JMX Remoting Connector
 61616 0.0.0.0 ActiveMQ Transport Connector



2001 is normal ORB server while 6882 is secure ORB server,  we should 
differentiate them in the desciption.   

The gbean of orb server is :  org.apache.geronimo.corba.CORBAEjbBeanGBean

the plan to defined the 2 server is: 
plugins\corba\j2ee-corba-yoko\src\main\plan\plan.xml

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




[jira] [Updated] (GERONIMO-6116) differentiate the two OpenEJB ORB Adapter displayed in Linstening on Ports after server startup.

2011-08-19 Thread Shawn Jiang (JIRA)

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

Shawn Jiang updated GERONIMO-6116:
--

  Component/s: general
   CORBA
Affects Version/s: 3.0
   2.2.2
   2.1.8

 differentiate the two OpenEJB ORB Adapter  displayed in Linstening on 
 Ports  after server startup.
 --

 Key: GERONIMO-6116
 URL: https://issues.apache.org/jira/browse/GERONIMO-6116
 Project: Geronimo
  Issue Type: Bug
  Security Level: public(Regular issues) 
  Components: CORBA, general
Affects Versions: 2.1.8, 2.2.2, 3.0
Reporter: Shawn Jiang

 Listening on Ports:
   1050 0.0.0.0 CORBA Naming Service
   1099 0.0.0.0 RMI Naming
   1527 0.0.0.0 Derby Connector
   2001 0.0.0.0 OpenEJB ORB Adapter
   4201 0.0.0.0 OpenEJB Daemon
   6882 0.0.0.0 OpenEJB ORB Adapter
   8009 0.0.0.0 Tomcat Connector AJP TomcatAJPConnector
   8080 0.0.0.0 Tomcat Connector HTTP BIO TomcatWebConnector
   8443 0.0.0.0 Tomcat Connector HTTPS BIO TomcatWebSSLConnector
    0.0.0.0 JMX Remoting Connector
  61616 0.0.0.0 ActiveMQ Transport Connector
 2001 is normal ORB server while 6882 is secure ORB server,  we should 
 differentiate them in the desciption.   
 The gbean of orb server is :  org.apache.geronimo.corba.CORBAEjbBeanGBean
 the plan to defined the 2 server is: 
 plugins\corba\j2ee-corba-yoko\src\main\plan\plan.xml

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




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

2011-08-19 Thread Jarek Gawor
Geronimo Revision: 1159589 built with tests included
 
See the full build-0800.log file at 
http://people.apache.org/builds/geronimo/server/binaries/2.2/20110819/build-0800.log
 
 
See the unit test reports at 
http://people.apache.org/builds/geronimo/server/binaries/2.2/20110819/unit-test-reports
 
--
1 required artifact is missing.

for artifact: 
  org.apache.geronimo.testsupport:test-ejb-j2ee_1.3:ejb:2.2.2-SNAPSHOT

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



[INFO] 
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Missing:
--
1) org.apache.openejb:ejb31-api-experimental:jar:3.1.5-SNAPSHOT

  Try downloading the file manually from the project website.

  Then, install it using the command: 
  mvn install:install-file -DgroupId=org.apache.openejb 
-DartifactId=ejb31-api-experimental -Dversion=3.1.5-SNAPSHOT -Dpackaging=jar 
-Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file there: 
  mvn deploy:deploy-file -DgroupId=org.apache.openejb 
-DartifactId=ejb31-api-experimental -Dversion=3.1.5-SNAPSHOT -Dpackaging=jar 
-Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

  Path to dependency: 
1) org.apache.geronimo.testsupport:test-ejb-j2ee_1.3:ejb:2.2.2-SNAPSHOT
2) org.apache.openejb:ejb31-api-experimental:jar:3.1.5-SNAPSHOT

--
1 required artifact is missing.

for artifact: 
  org.apache.geronimo.testsupport:test-ejb-j2ee_1.3:ejb:2.2.2-SNAPSHOT

from the specified remote repositories:
  codehaus.snapshots (http://snapshots.repository.codehaus.org),
  ibiblio.org (http://repo2.maven.org/maven2),
  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:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:592)
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.openejb:ejb31-api-experimental:jar:3.1.5-SNAPSHOT

  Try downloading the file manually from the project website.

  Then, install it using the command: 
  mvn install:install-file -DgroupId=org.apache.openejb 
-DartifactId=ejb31-api-experimental -Dversion=3.1.5-SNAPSHOT -Dpackaging=jar 
-Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file there: 
  mvn deploy:deploy-file -DgroupId=org.apache.openejb 
-DartifactId=ejb31-api-experimental -Dversion=3.1.5-SNAPSHOT -Dpackaging=jar 
-Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

  Path to dependency: 
1) org.apache.geronimo.testsupport:test-ejb-j2ee_1.3:ejb:2.2.2-SNAPSHOT
2) org.apache.openejb:ejb31-api-experimental:jar:3.1.5-SNAPSHOT

--
1 required artifact is missing.

for artifact: 
  org.apache.geronimo.testsupport:test-ejb-j2ee_1.3:ejb:2.2.2-SNAPSHOT

from the specified remote repositories:
  codehaus.snapshots (http://snapshots.repository.codehaus.org),
  ibiblio.org (http://repo2.maven.org/maven2),
  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

[jira] [Commented] (GERONIMODEVTOOLS-735) More user friendly message when deploying OSGi application

2011-08-19 Thread Jarek Gawor (JIRA)

[ 
https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-735?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13087728#comment-13087728
 ] 

Jarek Gawor commented on GERONIMODEVTOOLS-735:
--

I think for this we need to look at the underlying error generated by the Aries 
application code and/or Felix OBR itself.


 More user friendly message when deploying OSGi application
 --

 Key: GERONIMODEVTOOLS-735
 URL: 
 https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-735
 Project: Geronimo-Devtools
  Issue Type: Improvement
  Components: eclipse-plugin
Affects Versions: 3.0_M1
Reporter: Han Hong Fang
 Fix For: 3.0-M2, 3.0

 Attachments: moreFriendlyMessage_735.patch, screenshot-1.jpg, 
 screenshot-with-patch.JPG


 When OSGi application project doesn't contain OSGi bundle, or specified 
 contained bundle can not be resolved at deployment time, more user friendly 
 message which clearly points out the problem would be more nice that throw 
 the DeploymentException.

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




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

2011-08-19 Thread Jarek Gawor
Geronimo Revision: 1159683 built with tests included
 
See the full build-1400.log file at 
http://people.apache.org/builds/geronimo/server/binaries/2.2/20110819/build-1400.log
 
 
See the unit test reports at 
http://people.apache.org/builds/geronimo/server/binaries/2.2/20110819/unit-test-reports
 
--
1 required artifact is missing.

for artifact: 
  org.apache.geronimo.testsupport:test-ejb-j2ee_1.3:ejb:2.2.2-SNAPSHOT

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



[INFO] 
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Missing:
--
1) org.apache.openejb:ejb31-api-experimental:jar:3.1.5-SNAPSHOT

  Try downloading the file manually from the project website.

  Then, install it using the command: 
  mvn install:install-file -DgroupId=org.apache.openejb 
-DartifactId=ejb31-api-experimental -Dversion=3.1.5-SNAPSHOT -Dpackaging=jar 
-Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file there: 
  mvn deploy:deploy-file -DgroupId=org.apache.openejb 
-DartifactId=ejb31-api-experimental -Dversion=3.1.5-SNAPSHOT -Dpackaging=jar 
-Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

  Path to dependency: 
1) org.apache.geronimo.testsupport:test-ejb-j2ee_1.3:ejb:2.2.2-SNAPSHOT
2) org.apache.openejb:ejb31-api-experimental:jar:3.1.5-SNAPSHOT

--
1 required artifact is missing.

for artifact: 
  org.apache.geronimo.testsupport:test-ejb-j2ee_1.3:ejb:2.2.2-SNAPSHOT

from the specified remote repositories:
  codehaus.snapshots (http://snapshots.repository.codehaus.org),
  ibiblio.org (http://repo2.maven.org/maven2),
  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:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:592)
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.openejb:ejb31-api-experimental:jar:3.1.5-SNAPSHOT

  Try downloading the file manually from the project website.

  Then, install it using the command: 
  mvn install:install-file -DgroupId=org.apache.openejb 
-DartifactId=ejb31-api-experimental -Dversion=3.1.5-SNAPSHOT -Dpackaging=jar 
-Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file there: 
  mvn deploy:deploy-file -DgroupId=org.apache.openejb 
-DartifactId=ejb31-api-experimental -Dversion=3.1.5-SNAPSHOT -Dpackaging=jar 
-Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

  Path to dependency: 
1) org.apache.geronimo.testsupport:test-ejb-j2ee_1.3:ejb:2.2.2-SNAPSHOT
2) org.apache.openejb:ejb31-api-experimental:jar:3.1.5-SNAPSHOT

--
1 required artifact is missing.

for artifact: 
  org.apache.geronimo.testsupport:test-ejb-j2ee_1.3:ejb:2.2.2-SNAPSHOT

from the specified remote repositories:
  codehaus.snapshots (http://snapshots.repository.codehaus.org),
  ibiblio.org (http://repo2.maven.org/maven2),
  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

Re: svn commit: r1096951 [6/6] - in /geronimo/server/trunk: ./ framework/ framework/assemblies/ framework/assemblies/geronimo-framework/ framework/buildsupport/car-maven-plugin/src/main/filtered-resou

2011-08-19 Thread David Blevins
David,

Any info on why this was removed?  Guessing it was just a side effect of a 
merge.

(related jira https://issues.apache.org/jira/browse/GERONIMO-5888)


-David

On Apr 26, 2011, at 4:19 PM, djen...@apache.org wrote:

 Modified: 
 geronimo/server/trunk/framework/modules/geronimo-kernel/src/main/java/org/apache/geronimo/kernel/util/FileUtils.java
 URL: 
 http://svn.apache.org/viewvc/geronimo/server/trunk/framework/modules/geronimo-kernel/src/main/java/org/apache/geronimo/kernel/util/FileUtils.java?rev=1096951r1=1096950r2=1096951view=diff
 ==
 --- 
 geronimo/server/trunk/framework/modules/geronimo-kernel/src/main/java/org/apache/geronimo/kernel/util/FileUtils.java
  (original)
 +++ 
 geronimo/server/trunk/framework/modules/geronimo-kernel/src/main/java/org/apache/geronimo/kernel/util/FileUtils.java
  Tue Apr 26 23:18:49 2011
 @@ -30,7 +30,6 @@ import java.io.OutputStream;
 import java.io.OutputStreamWriter;
 import java.net.MalformedURLException;
 import java.net.URL;
 -import java.util.ArrayList;
 import java.util.Collection;
 import java.util.Collections;
 import java.util.Enumeration;
 @@ -38,7 +37,6 @@ import java.util.HashMap;
 import java.util.LinkedHashMap;
 import java.util.LinkedHashSet;
 import java.util.LinkedList;
 -import java.util.List;
 import java.util.Map;
 import java.util.Set;
 import java.util.jar.JarFile;
 @@ -83,7 +81,6 @@ public class FileUtils {
 File tempDir = File.createTempFile(geronimo-fileutils, .tmpdir);
 tempDir.delete();
 tempDir.mkdirs();
 -deleteOnExit(tempDir);
 return tempDir;
 }
 
 @@ -412,37 +409,4 @@ public class FileUtils {
 
 private FileUtils() {
 }
 -
 -// Shutdown hook for recurssive delete on tmp directories
 -static final ListString delete = new ArrayListString();
 -
 -static {
 -Runtime.getRuntime().addShutdownHook(new Thread(){
 -@Override
 -public void run() {
 -delete();
 -}
 -});
 -}
 -
 -private static void deleteOnExit(File file) {
 -delete.add(file.getAbsolutePath());
 -}
 -
 -private static void delete() {
 -for (String path : delete) {
 -delete(new File(path));
 -}
 -}
 -
 -private static void delete(File file) {
 -if (file.isDirectory()) {
 -for (File f : file.listFiles()) {
 -delete(f);
 -}
 -}
 -
 -file.delete();
 -}
 -
 }
 



Re: svn commit: r1096951 [6/6] - in /geronimo/server/trunk: ./ framework/ framework/assemblies/ framework/assemblies/geronimo-framework/ framework/buildsupport/car-maven-plugin/src/main/filtered-resou

2011-08-19 Thread David Jencks
I'm not sure how this got removed, but this is in what turned into the 3.0-osgi 
branch, not current trunk.  I guess I should investigate since I've been 
working with that code some more

david jencks

On Aug 19, 2011, at 4:50 PM, David Blevins wrote:

 David,
 
 Any info on why this was removed?  Guessing it was just a side effect of a 
 merge.
 
 (related jira https://issues.apache.org/jira/browse/GERONIMO-5888)
 
 
 -David
 
 On Apr 26, 2011, at 4:19 PM, djen...@apache.org wrote:
 
 Modified: 
 geronimo/server/trunk/framework/modules/geronimo-kernel/src/main/java/org/apache/geronimo/kernel/util/FileUtils.java
 URL: 
 http://svn.apache.org/viewvc/geronimo/server/trunk/framework/modules/geronimo-kernel/src/main/java/org/apache/geronimo/kernel/util/FileUtils.java?rev=1096951r1=1096950r2=1096951view=diff
 ==
 --- 
 geronimo/server/trunk/framework/modules/geronimo-kernel/src/main/java/org/apache/geronimo/kernel/util/FileUtils.java
  (original)
 +++ 
 geronimo/server/trunk/framework/modules/geronimo-kernel/src/main/java/org/apache/geronimo/kernel/util/FileUtils.java
  Tue Apr 26 23:18:49 2011
 @@ -30,7 +30,6 @@ import java.io.OutputStream;
 import java.io.OutputStreamWriter;
 import java.net.MalformedURLException;
 import java.net.URL;
 -import java.util.ArrayList;
 import java.util.Collection;
 import java.util.Collections;
 import java.util.Enumeration;
 @@ -38,7 +37,6 @@ import java.util.HashMap;
 import java.util.LinkedHashMap;
 import java.util.LinkedHashSet;
 import java.util.LinkedList;
 -import java.util.List;
 import java.util.Map;
 import java.util.Set;
 import java.util.jar.JarFile;
 @@ -83,7 +81,6 @@ public class FileUtils {
File tempDir = File.createTempFile(geronimo-fileutils, .tmpdir);
tempDir.delete();
tempDir.mkdirs();
 -deleteOnExit(tempDir);
return tempDir;
}
 
 @@ -412,37 +409,4 @@ public class FileUtils {
 
private FileUtils() {
}
 -
 -// Shutdown hook for recurssive delete on tmp directories
 -static final ListString delete = new ArrayListString();
 -
 -static {
 -Runtime.getRuntime().addShutdownHook(new Thread(){
 -@Override
 -public void run() {
 -delete();
 -}
 -});
 -}
 -
 -private static void deleteOnExit(File file) {
 -delete.add(file.getAbsolutePath());
 -}
 -
 -private static void delete() {
 -for (String path : delete) {
 -delete(new File(path));
 -}
 -}
 -
 -private static void delete(File file) {
 -if (file.isDirectory()) {
 -for (File f : file.listFiles()) {
 -delete(f);
 -}
 -}
 -
 -file.delete();
 -}
 -
 }
 
 



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

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

for artifact: 
  org.apache.geronimo.testsupport:test-ejb-j2ee_1.3:ejb: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.openejb:ejb31-api-experimental:jar:3.1.5-SNAPSHOT

  Try downloading the file manually from the project website.

  Then, install it using the command: 
  mvn install:install-file -DgroupId=org.apache.openejb 
-DartifactId=ejb31-api-experimental -Dversion=3.1.5-SNAPSHOT -Dpackaging=jar 
-Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file there: 
  mvn deploy:deploy-file -DgroupId=org.apache.openejb 
-DartifactId=ejb31-api-experimental -Dversion=3.1.5-SNAPSHOT -Dpackaging=jar 
-Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

  Path to dependency: 
1) org.apache.geronimo.testsupport:test-ejb-j2ee_1.3:ejb:2.2.2-SNAPSHOT
2) org.apache.openejb:ejb31-api-experimental:jar:3.1.5-SNAPSHOT

--
1 required artifact is missing.

for artifact: 
  org.apache.geronimo.testsupport:test-ejb-j2ee_1.3:ejb: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.openejb:ejb31-api-experimental:jar:3.1.5-SNAPSHOT

  Try downloading the file manually from the project website.

  Then, install it using the command: 
  mvn install:install-file -DgroupId=org.apache.openejb 
-DartifactId=ejb31-api-experimental -Dversion=3.1.5-SNAPSHOT -Dpackaging=jar 
-Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file there: 
  mvn deploy:deploy-file -DgroupId=org.apache.openejb 
-DartifactId=ejb31-api-experimental -Dversion=3.1.5-SNAPSHOT -Dpackaging=jar 
-Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

  Path to dependency: 
1) org.apache.geronimo.testsupport:test-ejb-j2ee_1.3:ejb:2.2.2-SNAPSHOT
2) org.apache.openejb:ejb31-api-experimental:jar:3.1.5-SNAPSHOT

--
1 required artifact is missing.

for artifact: 
  org.apache.geronimo.testsupport:test-ejb-j2ee_1.3:ejb: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