Re: Apply For Geronimo Documentation Wiki Spaces Access Permission

2011-01-11 Thread viola lu
Thanks, i can edit wiki spaces now.

On Tue, Jan 11, 2011 at 11:50 AM, Ivan xhh...@gmail.com wrote:

 I have added you in the geronimo-committer group, think you should have
 required permissions.

 2011/1/7 viola lu viola...@gmail.com

 Here is my confluence id : *viola.lu*, email: *viol...@apache.org*.


 On Fri, Jan 7, 2011 at 4:00 PM, viola lu viola...@gmail.com wrote:

 Hi, Devs:

  Can somebody grant me geronimo documentation wiki spaces access
 permission like GMOxDOC21, GMOxDOC22, GMOxSAMPLES,  GMOxPMGT and
 GMOxSITE? Thanks in advance!

 --
 viola




 --
 viola




 --
 Ivan




-- 
viola


[jira] Commented: (GERONIMO-5749) Command Line utility to enable/disable Monitoring server and Stat query Snapshot thread for DefaultServer

2011-01-11 Thread Vamsavardhana Reddy (JIRA)

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

Vamsavardhana Reddy commented on GERONIMO-5749:
---

At revision: 1057539 on branches\2.1 (i.e. 2.1.8-SNAPSHOT).
 o Added SQL scripts to enable/disable monitoring on Default Server
 o Added Windows and Unix batch files to execute SQL using ij from Derby
 o Files will be copied to server's bin directory when the plugin is installed.
 o Eg. script to enable monitoring:
   runsql localhost 1527 dbadmin manager enable-monitoring

 Command Line utility to enable/disable Monitoring server and Stat query 
 Snapshot thread for DefaultServer
 -

 Key: GERONIMO-5749
 URL: https://issues.apache.org/jira/browse/GERONIMO-5749
 Project: Geronimo
  Issue Type: Improvement
  Security Level: public(Regular issues) 
  Components: monitoring
Affects Versions: 2.1.7
Reporter: Vamsavardhana Reddy
Assignee: Vamsavardhana Reddy
 Fix For: 2.1.8

 Attachments: disable-monitoring.sql, enable-monitoring.sql, 
 runsql.bat, runsql.sh


 Currently there is no command line utility to enable/disable Monitoring on 
 Default Server and start/stop of Stats Query snapshot thread.  The only way 
 to do these operations is through Monitoring portlet in the admin console.
 Enable/disable Monitoring is done by changing ENABLED column in SERVERS and 
 GRAPHS tables in MonitoringClientDB. SQL scripts can be provided for this to 
 execute from command line.
 Start/Stop of snapshot thread is done by calling MasterRemoteControlJMX GBean 
 methods.  Ideal place to provide support for this would be through a new 
 deployer command.

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

2011-01-11 Thread gawor
Geronimo Revision: 1057517 built with tests included
 
See the full build-0300.log file at 
http://people.apache.org/builds/geronimo/server/binaries/trunk/20110111/build-0300.log
 
 
See the unit test reports at 
http://people.apache.org/builds/geronimo/server/binaries/trunk/20110111/unit-test-reports
 
[INFO] Unable to find resource 'org.codehaus.swizzle:swizzle-stream:jar:1.0.2' 
in repository jetty.oss.sonatype.org 
(http://oss.sonatype.org/content/groups/jetty-with-staging)
Downloading: 
http://svn.apache.org/repos/asf/servicemix/m2-repo//org/codehaus/swizzle/swizzle-stream/1.0.2/swizzle-stream-1.0.2.jar
39K downloaded  (openwebbeans-ejb-1.1.0-20110108.184308-8.jar)
[INFO] Unable to find resource 'org.codehaus.swizzle:swizzle-stream:jar:1.0.2' 
in repository smx.svn (http://svn.apache.org/repos/asf/servicemix/m2-repo/)
Downloading: 
http://download.java.net/maven/1//org.codehaus.swizzle/jars/swizzle-stream-1.0.2.jar
[INFO] Unable to find resource 'org.codehaus.swizzle:swizzle-stream:jar:1.0.2' 
in repository java.net (http://download.java.net/maven/1/)
Downloading: 
http://repository.apache.org/snapshots//org/apache/openwebbeans/openwebbeans-ee/1.1.0-SNAPSHOT/openwebbeans-ee-1.1.0-20110108.184323-8.jar
Downloading: 
http://nexus.openqa.org/content/repositories/releases/org/codehaus/swizzle/swizzle-stream/1.0.2/swizzle-stream-1.0.2.jar
[INFO] Unable to find resource 'org.codehaus.swizzle:swizzle-stream:jar:1.0.2' 
in repository openqa-releases 
(http://nexus.openqa.org/content/repositories/releases)
Downloading: 
https://repository.jboss.org/nexus/content/groups/public-jboss//org/codehaus/swizzle/swizzle-stream/1.0.2/swizzle-stream-1.0.2.jar
[INFO] snapshot org.apache.geronimo.modules:geronimo-openwebbeans:3.0-SNAPSHOT: 
checking for updates from jetty.oss.sonatype.org
[INFO] snapshot org.apache.geronimo.modules:geronimo-openwebbeans:3.0-SNAPSHOT: 
checking for updates from openqa-snapshots
17K downloaded  (openwebbeans-ee-1.1.0-20110108.184323-8.jar)
[INFO] snapshot org.apache.geronimo.modules:geronimo-openwebbeans:3.0-SNAPSHOT: 
checking for updates from codehaus.snapshots
Downloading: 
http://repository.apache.org/snapshots//org/apache/openwebbeans/openwebbeans-ee-common/1.1.0-SNAPSHOT/openwebbeans-ee-common-1.1.0-20110108.184241-8.jar
[INFO] snapshot org.apache.geronimo.modules:geronimo-openwebbeans:3.0-SNAPSHOT: 
checking for updates from apache.snapshots
[INFO] Unable to find resource 'org.codehaus.swizzle:swizzle-stream:jar:1.0.2' 
in repository JBoss Repository 
(https://repository.jboss.org/nexus/content/groups/public-jboss/)
Downloading: 
http://svn.apache.org/repos/asf/openejb/repo//org/codehaus/swizzle/swizzle-stream/1.0.2/swizzle-stream-1.0.2.jar
11K downloaded  (openwebbeans-ee-common-1.1.0-20110108.184241-8.jar)
[INFO] Unable to find resource 'org.codehaus.swizzle:swizzle-stream:jar:1.0.2' 
in repository openejb-3rdparty-builds 
(http://svn.apache.org/repos/asf/openejb/repo/)
Downloading: 
http://maven.rtp.raleigh.ibm.com/nexus-proxy//org/codehaus/swizzle/swizzle-stream/1.0.2/swizzle-stream-1.0.2.jar
42K downloaded  (swizzle-stream-1.0.2.jar)
1829K downloaded  (openejb-core-3.2-20110106.032022-56.jar)
Downloading: 
http://repository.apache.org/snapshots//org/apache/openejb/openejb-api/3.2-SNAPSHOT/openejb-api-3.2-20101222.050455-62.jar
8K downloaded  (openejb-api-3.2-20101222.050455-62.jar)
Downloading: 
http://repository.apache.org/snapshots/org/apache/openejb/openejb-loader/3.2-SNAPSHOT/openejb-loader-3.2-20101222.050504-62.jar
43K downloaded  (openejb-loader-3.2-20101222.050504-62.jar)
Downloading: 
http://repository.apache.org/snapshots/org/apache/openejb/openejb-javaagent/3.2-SNAPSHOT/openejb-javaagent-3.2-20101222.050513-62.jar
12K downloaded  (openejb-javaagent-3.2-20101222.050513-62.jar)
Downloading: 
http://repository.apache.org/snapshots/org/apache/openejb/openejb-ejbd/3.2-SNAPSHOT/openejb-ejbd-3.2-20101222.051747-49.jar
59K downloaded  (openejb-ejbd-3.2-20101222.051747-49.jar)
Downloading: 
http://repository.apache.org/snapshots/org/apache/openejb/openejb-server/3.2-SNAPSHOT/openejb-server-3.2-20101222.051641-51.jar
88K downloaded  (openejb-server-3.2-20101222.051641-51.jar)
Downloading: 
http://repository.apache.org/snapshots/org/apache/openejb/openejb-client/3.2-SNAPSHOT/openejb-client-3.2-20101222.051603-51.jar
229K downloaded  (openejb-client-3.2-20101222.051603-51.jar)
Downloading: 
http://repository.apache.org/snapshots/org/apache/openejb/openejb-multicast/3.2-SNAPSHOT/openejb-multicast-3.2-20101222.051715-51.jar
50K downloaded  (openejb-multicast-3.2-20101222.051715-51.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] Copying 1 resource
[INFO] skip non existing resourceDirectory 
/home/geronimo/geronimo/trunk/plugins/openejb/geronimo-openejb/src/main/filtered-resources
[INFO] Copying 3

[jira] Updated: (GERONIMO-4244) Update to latest wadi 2.1-SNAPSHOT

2011-01-11 Thread Mark Thomas (JIRA)

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

Mark Thomas updated GERONIMO-4244:
--

Attachment: (was: Pai Gow.asp)

 Update to latest wadi 2.1-SNAPSHOT
 --

 Key: GERONIMO-4244
 URL: https://issues.apache.org/jira/browse/GERONIMO-4244
 Project: Geronimo
  Issue Type: Improvement
  Security Level: public(Regular issues) 
  Components: Clustering
Affects Versions: 2.2
Reporter: Jason Warner
Assignee: Jason Warner
Priority: Minor
 Fix For: 2.2


 Updating to the latest wadi snapshot to pick up some new functionality.

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



[jira] Updated: (GERONIMO-4244) Update to latest wadi 2.1-SNAPSHOT

2011-01-11 Thread Mark Thomas (JIRA)

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

Mark Thomas updated GERONIMO-4244:
--

Attachment: (was: Browser.asp)

 Update to latest wadi 2.1-SNAPSHOT
 --

 Key: GERONIMO-4244
 URL: https://issues.apache.org/jira/browse/GERONIMO-4244
 Project: Geronimo
  Issue Type: Improvement
  Security Level: public(Regular issues) 
  Components: Clustering
Affects Versions: 2.2
Reporter: Jason Warner
Assignee: Jason Warner
Priority: Minor
 Fix For: 2.2

 Attachments: Pai Gow.asp


 Updating to the latest wadi snapshot to pick up some new functionality.

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



[jira] Deleted: (GERONIMO-5653) CLONE -Update to latest wadi 2.1-SNAPSHOT

2011-01-11 Thread Mark Thomas (JIRA)

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

Mark Thomas deleted GERONIMO-5653:
--


 CLONE -Update to latest wadi 2.1-SNAPSHOT
 -

 Key: GERONIMO-5653
 URL: https://issues.apache.org/jira/browse/GERONIMO-5653
 Project: Geronimo
  Issue Type: Improvement
  Security Level: public(Regular issues) 
Reporter: Charles L Fields
Priority: Minor

 Updating to the latest wadi snapshot to pick up some new functionality.

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



Re: [Vote] Geronimo Eclipse Plugin 2.2.1 RC2

2011-01-11 Thread Johannes Weberhofer

Thank you Shawn,

with Maven 2.2.1 it builds and runs nicely on my OSX.

Here is my +1

Best regards and thank you so much!

Johannes

Am 11.01.11 06:28, schrieb Shawn Jiang:

Hi Johannes,

Please you Maven 2.2.1 to build GEP.

--
Shawn


--
Johannes Weberhofer
Weberhofer GmbH, Austria, Vienna


Questions on yoko Util class in yoko-rmi-spec should use the interface class as the key?

2011-01-11 Thread Forrest Xia
Hi,

When I debug a corba related application, I managed to trace into a piece of
yoko code like this:

public class Util {
private static UtilDelegate delegate = null;
private static final String defaultDelegate =
org.apache.yoko.rmi.impl.UtilImpl;

// To hide the default constructor we should implement empty private
constructor
private Util() {}

static {
// Initialize delegate
String delegateName = (String)AccessController.doPrivileged(new
GetSystemPropertyAction(javax.rmi.CORBA.UtilClass, defaultDelegate));
try {

// this is a little bit recursive, but this will use the full
default search order for locating
// this.
delegate = (UtilDelegate)Util.loadClass(delegateName, null,
null).newInstance();
} catch (Throwable e) {
org.omg.CORBA.INITIALIZE ex = new org.omg.CORBA.INITIALIZE(Can
not create Util delegate: +delegateName);
ex.initCause(e);
throw ex;
}
}
...

According to another code in ProviderRegistryImpl$SPIRegistry(the id's value
is the delegateName variable as highlighted above), while the registry
hashmap's key is javax.rmi.CORBA.UtilClass, that will lead CNF exception.
private synchronized BundleProviderLoader getLoader(String id) {
// synchronize on the registry instance
if (registry != null) {
log.fine(registry:  + registry);
// return the first match, if any
ListBundleProviderLoader list = registry.get(id);
if (list != null  !list.isEmpty()) {
return list.get(0);
}
}
// no match here
return null;
}

So my question is should we change the Util code to pass the interface class
name to load class? Please advise.

Forrest


Re: Questions on yoko Util class in yoko-rmi-spec should use the interface class as the key?

2011-01-11 Thread Rick McGuire

On 1/11/2011 4:46 AM, Forrest Xia wrote:

Hi,

When I debug a corba related application, I managed to trace into a 
piece of yoko code like this:


public class Util {
private static UtilDelegate delegate = null;
private static final String defaultDelegate = 
org.apache.yoko.rmi.impl.UtilImpl;


// To hide the default constructor we should implement empty 
private constructor

private Util() {}

static {
// Initialize delegate
String delegateName = 
(String)AccessController.doPrivileged(new 
GetSystemPropertyAction(javax.rmi.CORBA.UtilClass, defaultDelegate));

try {

// this is a little bit recursive, but this will use the 
full default search order for locating

// this.
delegate = (UtilDelegate)Util.loadClass(delegateName, null, 
null).newInstance();

} catch (Throwable e) {
org.omg.CORBA.INITIALIZE ex = new 
org.omg.CORBA.INITIALIZE(Can not create Util delegate: +delegateName);

ex.initCause(e);
throw ex;
}
}
...

According to another code in ProviderRegistryImpl$SPIRegistry(the id's 
value is the delegateName variable as highlighted above), while the 
registry hashmap's key is javax.rmi.CORBA.UtilClass, that will lead 
CNF exception.

private synchronized BundleProviderLoader getLoader(String id) {
// synchronize on the registry instance
if (registry != null) {
log.fine(registry:  + registry);
// return the first match, if any
ListBundleProviderLoader list = registry.get(id);
if (list != null  !list.isEmpty()) {
return list.get(0);
}
}
// no match here
return null;
}

So my question is should we change the Util code to pass the interface 
class name to load class? Please advise.
I'm not sure I understand the question.  The target class in question 
here is a concrete delegate instance, so I don't understand why you 
think an interface is needed here.  The loading in question here is just 
for the delegate class that is used for the rmi util class.


In any event, you cannot change any of the method signatures for the 
javax.rmi.CORBA.Util class.  That is a standard API class and you can't 
add that.


I think I understand what you wish to do here, and I'd recommend adding 
a loadServiceClass() method to the UtilLoader class and change the 
initializer in Util to use that directly rather than recursively calling 
Util.loadClass().


Rick



Forrest







Re: [TCK] Request for TCK access for Apache Geronimo TCK materials. Please verify NDA is on file

2011-01-11 Thread viola lu
Thanks Kevan, I can access tck now.

On Tue, Jan 11, 2011 at 12:35 PM, Kevan Miller kevan.mil...@gmail.comwrote:


 On Jan 10, 2011, at 10:37 PM, viola lu wrote:

  Can somebody assign me TCK access? Thanks in advance!

 You should be all set. Send a subscription request to
 geronimo-...@geronimo.apache.org for access to the tck mailing list. TCK
 Wiki is here -- https://cwiki.apache.org/confluence/display/GMOxTCK/Index

 Let us know on geronimo-tck@, if you'd like access to selene and phoebe
 test machines.

 --kevan




-- 
viola


Re: [Vote] Geronimo Eclipse Plugin 2.2.1 RC3

2011-01-11 Thread Johannes Weberhofer

My +1 is also valid for Geronimo Eclipse Plugin 2.2.1 RC3

Johannes

--
Johannes Weberhofer
Weberhofer GmbH, Austria, Vienna


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

2011-01-11 Thread gawor
Geronimo Revision: 1057497 built with tests included
 
See the full build-0200.log file at 
http://people.apache.org/builds/geronimo/server/binaries/2.1/20110111/build-0200.log
 
 
See the unit test reports at 
http://people.apache.org/builds/geronimo/server/binaries/2.1/20110111/unit-test-reports
 
at org.apache.maven.wagon.StreamWagon.get(StreamWagon.java:61)
at 
org.apache.maven.artifact.manager.DefaultWagonManager.getRemoteFile(DefaultWagonManager.java:546)
at 
org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(DefaultWagonManager.java:427)
at 
org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(DefaultWagonManager.java:382)
at 
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:216)
at 
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:90)
at 
org.apache.maven.artifact.resolver.DefaultArtifactResolver$ResolveArtifactTask.resolveArtifact(DefaultArtifactResolver.java:456)
at 
org.apache.maven.artifact.resolver.DefaultArtifactResolver$ResolveArtifactTask.run(DefaultArtifactResolver.java:433)
at 
hidden.edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1061)
at 
hidden.edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:575)
at java.lang.Thread.run(Thread.java:595)

pool-1-thread-2 prio=1 tid=0x5f8599f8 nid=0x7ca7 in Object.wait() 
[0x5fcfe000..0x5fcfef20]
at java.lang.Object.wait(Native Method)
- waiting on 0x7198c4d0 (a 
hidden.edu.emory.mathcs.backport.java.util.concurrent.LinkedBlockingQueue$SerializableLock)
at java.lang.Object.wait(Object.java:474)
at 
hidden.edu.emory.mathcs.backport.java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:316)
- locked 0x7198c4d0 (a 
hidden.edu.emory.mathcs.backport.java.util.concurrent.LinkedBlockingQueue$SerializableLock)
at 
hidden.edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:994)
at 
hidden.edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1054)
at 
hidden.edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:575)
at java.lang.Thread.run(Thread.java:595)

pool-1-thread-1 prio=1 tid=0x5f896e38 nid=0x7ca6 in Object.wait() 
[0x600fe000..0x600feda0]
at java.lang.Object.wait(Native Method)
- waiting on 0x7198c4d0 (a 
hidden.edu.emory.mathcs.backport.java.util.concurrent.LinkedBlockingQueue$SerializableLock)
at java.lang.Object.wait(Object.java:474)
at 
hidden.edu.emory.mathcs.backport.java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:316)
- locked 0x7198c4d0 (a 
hidden.edu.emory.mathcs.backport.java.util.concurrent.LinkedBlockingQueue$SerializableLock)
at 
hidden.edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:994)
at 
hidden.edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1054)
at 
hidden.edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:575)
at java.lang.Thread.run(Thread.java:595)

Low Memory Detector daemon prio=1 tid=0x60dcf800 nid=0x7aca runnable 
[0x..0x]

CompilerThread1 daemon prio=1 tid=0x60dce420 nid=0x7ac9 waiting on condition 
[0x..0x609f8348]

CompilerThread0 daemon prio=1 tid=0x60dcd4a0 nid=0x7ac8 waiting on condition 
[0x..0x60a791c8]

AdapterThread daemon prio=1 tid=0x60dcc4f0 nid=0x7ac7 waiting on condition 
[0x..0x]

Signal Dispatcher daemon prio=1 tid=0x60dcb730 nid=0x7ac6 waiting on 
condition [0x..0x]

Finalizer daemon prio=1 tid=0x60dc2840 nid=0x7ac5 in Object.wait() 
[0x60bfc000..0x60bfcf20]
at java.lang.Object.wait(Native Method)
- waiting on 0x7220f930 (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:120)
- locked 0x7220f930 (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:136)
at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:159)

Reference Handler daemon prio=1 tid=0x60dc2310 nid=0x7ac4 in Object.wait() 
[0x60c7d000..0x60c7dda0]
at java.lang.Object.wait(Native Method)
- waiting on 0x7210f890 (a java.lang.ref.Reference$Lock)
at java.lang.Object.wait(Object.java:474)
at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:116)
- locked 0x7210f890 (a java.lang.ref.Reference$Lock)

main prio=1 tid=0x0805ce08 nid=0x7aba in Object.wait() 
[0xbfffc000..0xbfffd818]
at java.lang.Object.wait(Native

Re: Questions on yoko Util class in yoko-rmi-spec should use the interface class as the key?

2011-01-11 Thread Ivan
I agree with Forrest that those code logic might need to be updated. From
the codes fragment below of UtilLoader
In the loadClass method, it will first try the ProviderLocator.loadClass,
but what ProviderLocation.loadClass expect is an interface class name, like
javax.rmi.CORBA.Util.
So those codes in the static block of Util, it should first try to load it
from ProviderLocator with service provider interface.
Comments ?
--
static public Class loadClass(String name, String codebase, ClassLoader
loader)
throws ClassNotFoundException {
Class result = null;

try {
return ProviderLocator.loadClass(name, null, loader);
} catch (ClassNotFoundException e) {
//skip
}

ClassLoader stackLoader = null;
ClassLoader thisLoader = UtilLoader.class.getClassLoader();
Class[] stack = _secman.getClassContext();
for (int i = 1; i  stack.length; i++) {
ClassLoader testLoader = stack[i].getClassLoader();
if (testLoader != null  testLoader != thisLoader)
{
stackLoader = thisLoader;
break;
}
}
..
---





2011/1/11 Rick McGuire rick...@gmail.com

 On 1/11/2011 4:46 AM, Forrest Xia wrote:

 Hi,

 When I debug a corba related application, I managed to trace into a piece
 of yoko code like this:

 public class Util {
private static UtilDelegate delegate = null;
private static final String defaultDelegate =
 org.apache.yoko.rmi.impl.UtilImpl;

// To hide the default constructor we should implement empty private
 constructor
private Util() {}

static {
// Initialize delegate
String delegateName = (String)AccessController.doPrivileged(new
 GetSystemPropertyAction(javax.rmi.CORBA.UtilClass, defaultDelegate));
try {

// this is a little bit recursive, but this will use the full
 default search order for locating
// this.
 delegate = (UtilDelegate)Util.loadClass(delegateName, null,
 null).newInstance();
} catch (Throwable e) {
org.omg.CORBA.INITIALIZE ex = new org.omg.CORBA.INITIALIZE(Can
 not create Util delegate: +delegateName);
ex.initCause(e);
throw ex;
}
}
 ...

 According to another code in ProviderRegistryImpl$SPIRegistry(the id's
 value is the delegateName variable as highlighted above), while the registry
 hashmap's key is javax.rmi.CORBA.UtilClass, that will lead CNF exception.
 private synchronized BundleProviderLoader getLoader(String id) {
// synchronize on the registry instance
if (registry != null) {
log.fine(registry:  + registry);
// return the first match, if any
ListBundleProviderLoader list = registry.get(id);
if (list != null  !list.isEmpty()) {
return list.get(0);
}
}
// no match here
return null;
}

 So my question is should we change the Util code to pass the interface
 class name to load class? Please advise.

 I'm not sure I understand the question.  The target class in question here
 is a concrete delegate instance, so I don't understand why you think an
 interface is needed here.  The loading in question here is just for the
 delegate class that is used for the rmi util class.

 In any event, you cannot change any of the method signatures for the
 javax.rmi.CORBA.Util class.  That is a standard API class and you can't add
 that.

 I think I understand what you wish to do here, and I'd recommend adding a
 loadServiceClass() method to the UtilLoader class and change the initializer
 in Util to use that directly rather than recursively calling
 Util.loadClass().

 Rick


 Forrest







-- 
Ivan


Re: Questions on yoko Util class in yoko-rmi-spec should use the interface class as the key?

2011-01-11 Thread Rick McGuire

On 1/11/2011 7:35 AM, Ivan wrote:
I agree with Forrest that those code logic might need to be updated. 
From the codes fragment below of UtilLoader
In the loadClass method, it will first try the 
ProviderLocator.loadClass, but what ProviderLocation.loadClass expect 
is an interface class name, like javax.rmi.CORBA.Util.
So those codes in the static block of Util, it should first try to 
load it from ProviderLocator with service provider interface.

Comments ?


I think the static code in the Util class should be something like:


// Initialize delegate
String  delegateName  = (String)AccessController.doPrivileged(new  
GetSystemPropertyAction(javax.rmi.CORBA.UtilClass,defaultDelegate));
try  {

// this is a little bit recursive, but this will use the full 
default search order for locating
// this.
delegate  = (UtilDelegate)UtilLoader.loadServiceClass(delegateName, 
Delegate.class).newInstance();
}catch  (Throwable  e) {
org.omg.CORBA.INITIALIZE  ex  =new  org.omg.CORBA.INITIALIZE(Can not 
create Util delegate:+delegateName);
ex.initCause(e);
throw  ex;
}

Where UtilLoader.loadServiceClass() is a method that functions like 
UtilLoader.loadClass(), but takes both an interface class name that is 
used to qualify the lookup.


Rick

--
static public Class loadClass(String name, String codebase, 
ClassLoader loader)

throws ClassNotFoundException {
Class result = null;

try {
return ProviderLocator.loadClass(name, null, loader);
} catch (ClassNotFoundException e) {
//skip
}

ClassLoader stackLoader = null;
ClassLoader thisLoader = UtilLoader.class.getClassLoader();
Class[] stack = _secman.getClassContext();
for (int i = 1; i  stack.length; i++) {
ClassLoader testLoader = stack[i].getClassLoader();
if (testLoader != null  testLoader != thisLoader)
{
stackLoader = thisLoader;
break;
}
}
..
---





2011/1/11 Rick McGuire rick...@gmail.com mailto:rick...@gmail.com

On 1/11/2011 4:46 AM, Forrest Xia wrote:

Hi,

When I debug a corba related application, I managed to trace
into a piece of yoko code like this:

public class Util {
   private static UtilDelegate delegate = null;
   private static final String defaultDelegate =
org.apache.yoko.rmi.impl.UtilImpl;

   // To hide the default constructor we should implement
empty private constructor
   private Util() {}

   static {
   // Initialize delegate
   String delegateName =
(String)AccessController.doPrivileged(new
GetSystemPropertyAction(javax.rmi.CORBA.UtilClass,
defaultDelegate));
   try {

   // this is a little bit recursive, but this will
use the full default search order for locating
   // this.
delegate = (UtilDelegate)Util.loadClass(delegateName, null,
null).newInstance();
   } catch (Throwable e) {
   org.omg.CORBA.INITIALIZE ex = new
org.omg.CORBA.INITIALIZE(Can not create Util delegate:
+delegateName);
   ex.initCause(e);
   throw ex;
   }
   }
...

According to another code in
ProviderRegistryImpl$SPIRegistry(the id's value is the
delegateName variable as highlighted above), while the
registry hashmap's key is javax.rmi.CORBA.UtilClass, that
will lead CNF exception.
private synchronized BundleProviderLoader getLoader(String id) {
   // synchronize on the registry instance
   if (registry != null) {
   log.fine(registry:  + registry);
   // return the first match, if any
   ListBundleProviderLoader list = registry.get(id);
   if (list != null  !list.isEmpty()) {
   return list.get(0);
   }
   }
   // no match here
   return null;
   }

So my question is should we change the Util code to pass the
interface class name to load class? Please advise.

I'm not sure I understand the question.  The target class in
question here is a concrete delegate instance, so I don't
understand why you think an interface is needed here.  The loading
in question here is just for the delegate class that is used for
the rmi util class.

In any event, you cannot change any of the method signatures for
the javax.rmi.CORBA.Util class.  That is a standard API class and
you can't add that.

I think I understand what you wish to do here, and I'd recommend
  

Re: Questions on yoko Util class in yoko-rmi-spec should use the interface class as the key?

2011-01-11 Thread Ivan
That makes sense, also it is better to remove the codes
ProviderLocator.loadClass from the UtilLoader.loadClass method, or that
makes the function of loadClass method ambigurous.

2011/1/11 Rick McGuire rick...@gmail.com

  On 1/11/2011 7:35 AM, Ivan wrote:

 I agree with Forrest that those code logic might need to be updated. From
 the codes fragment below of UtilLoader
 In the loadClass method, it will first try the ProviderLocator.loadClass,
 but what ProviderLocation.loadClass expect is an interface class name, like
 javax.rmi.CORBA.Util.
 So those codes in the static block of Util, it should first try to load it
 from ProviderLocator with service provider interface.
 Comments ?


 I think the static code in the Util class should be something like:


  // Initialize delegateString delegateName = 
 (String)AccessController.doPrivileged(new 
 GetSystemPropertyAction(javax.rmi.CORBA.UtilClass, defaultDelegate));   
  try {
 // this is a little bit recursive, but this will use the full 
 default search order for locating// this.
 delegate = 
 (UtilDelegate)UtilLoader.loadServiceClass(delegateName, 
 Delegate.class).newInstance();
 } catch (Throwable e) {org.omg.CORBA.INITIALIZE ex = new 
 org.omg.CORBA.INITIALIZE(Can not create Util delegate: +delegateName);  
   ex.initCause(e); throw ex; }

  Where UtilLoader.loadServiceClass() is a method that functions like
 UtilLoader.loadClass(), but takes both an interface class name that is used
 to qualify the lookup.

 Rick

 --
 static public Class loadClass(String name, String codebase, ClassLoader
 loader)
 throws ClassNotFoundException {
 Class result = null;

 try {
 return ProviderLocator.loadClass(name, null, loader);
 } catch (ClassNotFoundException e) {
 //skip
 }

 ClassLoader stackLoader = null;
 ClassLoader thisLoader = UtilLoader.class.getClassLoader();
 Class[] stack = _secman.getClassContext();
 for (int i = 1; i  stack.length; i++) {
 ClassLoader testLoader = stack[i].getClassLoader();
 if (testLoader != null  testLoader != thisLoader)
 {
 stackLoader = thisLoader;
 break;
 }
 }
 ..
 ---





 2011/1/11 Rick McGuire rick...@gmail.com

  On 1/11/2011 4:46 AM, Forrest Xia wrote:

 Hi,

 When I debug a corba related application, I managed to trace into a piece
 of yoko code like this:

 public class Util {
private static UtilDelegate delegate = null;
private static final String defaultDelegate =
 org.apache.yoko.rmi.impl.UtilImpl;

// To hide the default constructor we should implement empty private
 constructor
private Util() {}

static {
// Initialize delegate
String delegateName = (String)AccessController.doPrivileged(new
 GetSystemPropertyAction(javax.rmi.CORBA.UtilClass, defaultDelegate));
try {

// this is a little bit recursive, but this will use the full
 default search order for locating
// this.
 delegate = (UtilDelegate)Util.loadClass(delegateName, null,
 null).newInstance();
} catch (Throwable e) {
org.omg.CORBA.INITIALIZE ex = new
 org.omg.CORBA.INITIALIZE(Can not create Util delegate: +delegateName);
ex.initCause(e);
throw ex;
}
}
 ...

 According to another code in ProviderRegistryImpl$SPIRegistry(the id's
 value is the delegateName variable as highlighted above), while the registry
 hashmap's key is javax.rmi.CORBA.UtilClass, that will lead CNF exception.
 private synchronized BundleProviderLoader getLoader(String id) {
// synchronize on the registry instance
if (registry != null) {
log.fine(registry:  + registry);
// return the first match, if any
ListBundleProviderLoader list = registry.get(id);
if (list != null  !list.isEmpty()) {
return list.get(0);
}
}
// no match here
return null;
}

 So my question is should we change the Util code to pass the interface
 class name to load class? Please advise.

  I'm not sure I understand the question.  The target class in question
 here is a concrete delegate instance, so I don't understand why you think an
 interface is needed here.  The loading in question here is just for the
 delegate class that is used for the rmi util class.

 In any event, you cannot change any of the method signatures for the
 javax.rmi.CORBA.Util class.  That is a standard API class and you can't add
 that.

 I think I understand what you wish to do here, and I'd recommend adding a
 loadServiceClass() method to the UtilLoader class and change the initializer
 in Util to use that directly rather than recursively calling
 

Re: Questions on yoko Util class in yoko-rmi-spec should use the interface class as the key?

2011-01-11 Thread Rick McGuire

On 1/11/2011 8:45 AM, Ivan wrote:
That makes sense, also it is better to remove the codes 
ProviderLocator.loadClass from the UtilLoader.loadClass method, or 
that makes the function of loadClass method ambigurous.


For other reasons, I believe it is still necessary to have 
ProviderLocator.loadClass() part of the loadClass() searches.  This is a 
different, internal situation where we're looking for a specific 
provider for an interface.


Rick



2011/1/11 Rick McGuire rick...@gmail.com mailto:rick...@gmail.com

On 1/11/2011 7:35 AM, Ivan wrote:

I agree with Forrest that those code logic might need to be
updated. From the codes fragment below of UtilLoader
In the loadClass method, it will first try the
ProviderLocator.loadClass, but what ProviderLocation.loadClass
expect is an interface class name, like javax.rmi.CORBA.Util.
So those codes in the static block of Util, it should first try
to load it from ProviderLocator with service provider interface.
Comments ?


I think the static code in the Util class should be something like:


// Initialize delegate StringdelegateName=

(String)AccessController.doPrivileged(newGetSystemPropertyAction(javax.rmi.CORBA.UtilClass,
defaultDelegate)); try{ // this is a little bit recursive, but
this will use the full default search order for locating // this.
 delegate  = 
(UtilDelegate)UtilLoader.loadServiceClass(delegateName, 
Delegate.class).newInstance();
} catch(Throwablee) { org.omg.CORBA.INITIALIZEex=
neworg.omg.CORBA.INITIALIZE(Can not create Util delegate:
+delegateName); ex.initCause(e); throwex; }

Where UtilLoader.loadServiceClass() is a method that functions
like UtilLoader.loadClass(), but takes both an interface class
name that is used to qualify the lookup.

Rick


--
static public Class loadClass(String name, String codebase,
ClassLoader loader)
throws ClassNotFoundException {
Class result = null;

try {
return ProviderLocator.loadClass(name, null, loader);
} catch (ClassNotFoundException e) {
//skip
}

ClassLoader stackLoader = null;
ClassLoader thisLoader = UtilLoader.class.getClassLoader();
Class[] stack = _secman.getClassContext();
for (int i = 1; i  stack.length; i++) {
ClassLoader testLoader = stack[i].getClassLoader();
if (testLoader != null  testLoader != thisLoader)
{
stackLoader = thisLoader;
break;
}
}
..
---





2011/1/11 Rick McGuire rick...@gmail.com mailto:rick...@gmail.com

On 1/11/2011 4:46 AM, Forrest Xia wrote:

Hi,

When I debug a corba related application, I managed to
trace into a piece of yoko code like this:

public class Util {
   private static UtilDelegate delegate = null;
   private static final String defaultDelegate =
org.apache.yoko.rmi.impl.UtilImpl;

   // To hide the default constructor we should implement
empty private constructor
   private Util() {}

   static {
   // Initialize delegate
   String delegateName =
(String)AccessController.doPrivileged(new
GetSystemPropertyAction(javax.rmi.CORBA.UtilClass,
defaultDelegate));
   try {

   // this is a little bit recursive, but this
will use the full default search order for locating
   // this.
delegate = (UtilDelegate)Util.loadClass(delegateName,
null, null).newInstance();
   } catch (Throwable e) {
   org.omg.CORBA.INITIALIZE ex = new
org.omg.CORBA.INITIALIZE(Can not create Util delegate:
+delegateName);
   ex.initCause(e);
   throw ex;
   }
   }
...

According to another code in
ProviderRegistryImpl$SPIRegistry(the id's value is the
delegateName variable as highlighted above), while the
registry hashmap's key is javax.rmi.CORBA.UtilClass,
that will lead CNF exception.
private synchronized BundleProviderLoader
getLoader(String id) {
   // synchronize on the registry instance
   if (registry != null) {
   log.fine(registry:  + registry);
   // return the first match, if any
   ListBundleProviderLoader list =
registry.get(id);
   if (list != null  !list.isEmpty()) {
   return list.get(0);

Re: Questions on yoko Util class in yoko-rmi-spec should use the interface class as the key?

2011-01-11 Thread Ivan
Hmm, I have to say that I know little about corba, just from the codes of
UtilLoader.loadClass, the first part of that method is trying to load an
implementation of the SPI, but the left part is just to load the SPI itself,
is it the expected behavior ?
If we need to look up a specific provider for an interface, maybe it is
better to use the similar method suggested by you. which passing both the
SPI and defaultImpl class, then we might first try to look up the impl by
ProviderLocator, if failed, try to load the default impl by context
classloader or stack classloader...
Thanks.

2011/1/11 Rick McGuire rick...@gmail.com

 On 1/11/2011 8:45 AM, Ivan wrote:

 That makes sense, also it is better to remove the codes
 ProviderLocator.loadClass from the UtilLoader.loadClass method, or that
 makes the function of loadClass method ambigurous.


 For other reasons, I believe it is still necessary to have
 ProviderLocator.loadClass() part of the loadClass() searches.  This is a
 different, internal situation where we're looking for a specific provider
 for an interface.

 Rick


 2011/1/11 Rick McGuire rick...@gmail.com mailto:rick...@gmail.com


On 1/11/2011 7:35 AM, Ivan wrote:

I agree with Forrest that those code logic might need to be
updated. From the codes fragment below of UtilLoader
In the loadClass method, it will first try the
ProviderLocator.loadClass, but what ProviderLocation.loadClass
expect is an interface class name, like javax.rmi.CORBA.Util.
So those codes in the static block of Util, it should first try
to load it from ProviderLocator with service provider interface.
Comments ?


I think the static code in the Util class should be something like:


// Initialize delegate StringdelegateName=

  
 (String)AccessController.doPrivileged(newGetSystemPropertyAction(javax.rmi.CORBA.UtilClass,

defaultDelegate)); try{ // this is a little bit recursive, but
this will use the full default search order for locating // this.
 delegate  =
 (UtilDelegate)UtilLoader.loadServiceClass(delegateName,
 Delegate.class).newInstance();
} catch(Throwablee) { org.omg.CORBA.INITIALIZEex=
neworg.omg.CORBA.INITIALIZE(Can not create Util delegate:

+delegateName); ex.initCause(e); throwex; }

Where UtilLoader.loadServiceClass() is a method that functions
like UtilLoader.loadClass(), but takes both an interface class
name that is used to qualify the lookup.

Rick

 --
static public Class loadClass(String name, String codebase,
ClassLoader loader)
throws ClassNotFoundException {
Class result = null;

try {
return ProviderLocator.loadClass(name, null, loader);
} catch (ClassNotFoundException e) {
//skip
}

ClassLoader stackLoader = null;
ClassLoader thisLoader = UtilLoader.class.getClassLoader();
Class[] stack = _secman.getClassContext();
for (int i = 1; i  stack.length; i++) {
ClassLoader testLoader = stack[i].getClassLoader();
if (testLoader != null  testLoader != thisLoader)
{
stackLoader = thisLoader;
break;
}
}
..
---





2011/1/11 Rick McGuire rick...@gmail.com mailto:rick...@gmail.com


On 1/11/2011 4:46 AM, Forrest Xia wrote:

Hi,

When I debug a corba related application, I managed to
trace into a piece of yoko code like this:

public class Util {
   private static UtilDelegate delegate = null;
   private static final String defaultDelegate =
org.apache.yoko.rmi.impl.UtilImpl;

   // To hide the default constructor we should implement
empty private constructor
   private Util() {}

   static {
   // Initialize delegate
   String delegateName =
(String)AccessController.doPrivileged(new
GetSystemPropertyAction(javax.rmi.CORBA.UtilClass,
defaultDelegate));
   try {

   // this is a little bit recursive, but this
will use the full default search order for locating
   // this.
delegate = (UtilDelegate)Util.loadClass(delegateName,
null, null).newInstance();
   } catch (Throwable e) {
   org.omg.CORBA.INITIALIZE ex = new
org.omg.CORBA.INITIALIZE(Can not create Util delegate:
+delegateName);
   ex.initCause(e);
   throw ex;
   }
   }
...

According to another code in
ProviderRegistryImpl$SPIRegistry(the id's value is the
delegateName variable as highlighted above), while 

Re: Questions on yoko Util class in yoko-rmi-spec should use the interface class as the key?

2011-01-11 Thread Rick McGuire

On 1/11/2011 9:20 AM, Ivan wrote:


Hmm, I have to say that I know little about corba, just from the codes 
of UtilLoader.loadClass, the first part of that method is trying to 
load an implementation of the SPI, but the left part is just to load 
the SPI itself, is it the expected behavior ?
Util.loadClass() is used for a lot more purposes than loading an SPI. 
The problem is occurring because the code is overloading the concepts on 
to the single loadClass() method.  What is needed to fix this problem is 
a solution specific to the task of loading an SPI.


Rick


If we need to look up a specific provider for an interface, maybe it 
is better to use the similar method suggested by you. which passing 
both the SPI and defaultImpl class, then we might first try to look up 
the impl by ProviderLocator, if failed, try to load the default impl 
by context classloader or stack classloader...

Thanks.

2011/1/11 Rick McGuire rick...@gmail.com mailto:rick...@gmail.com

On 1/11/2011 8:45 AM, Ivan wrote:

That makes sense, also it is better to remove the codes
ProviderLocator.loadClass from the UtilLoader.loadClass
method, or that makes the function of loadClass method ambigurous.


For other reasons, I believe it is still necessary to have
ProviderLocator.loadClass() part of the loadClass() searches.
 This is a different, internal situation where we're looking for a
specific provider for an interface.

Rick


2011/1/11 Rick McGuire rick...@gmail.com
mailto:rick...@gmail.com mailto:rick...@gmail.com
mailto:rick...@gmail.com


   On 1/11/2011 7:35 AM, Ivan wrote:

   I agree with Forrest that those code logic might need to be
   updated. From the codes fragment below of UtilLoader
   In the loadClass method, it will first try the
   ProviderLocator.loadClass, but what
ProviderLocation.loadClass
   expect is an interface class name, like
javax.rmi.CORBA.Util.
   So those codes in the static block of Util, it should
first try
   to load it from ProviderLocator with service provider
interface.
   Comments ?


   I think the static code in the Util class should be
something like:


   // Initialize delegate StringdelegateName=
 
 (String)AccessController.doPrivileged(newGetSystemPropertyAction(javax.rmi.CORBA.UtilClass,



   defaultDelegate)); try{ // this is a little bit recursive, but
   this will use the full default search order for locating //
this.
delegate  =
(UtilDelegate)UtilLoader.loadServiceClass(delegateName,
Delegate.class).newInstance();
   } catch(Throwablee) { org.omg.CORBA.INITIALIZEex=
   neworg.omg.CORBA.INITIALIZE(Can not create Util delegate:

   +delegateName); ex.initCause(e); throwex; }

   Where UtilLoader.loadServiceClass() is a method that functions
   like UtilLoader.loadClass(), but takes both an interface class
   name that is used to qualify the lookup.

   Rick

   --
   static public Class loadClass(String name, String codebase,
   ClassLoader loader)
   throws ClassNotFoundException {
   Class result = null;

   try {
   return ProviderLocator.loadClass(name,
null, loader);
   } catch (ClassNotFoundException e) {
   //skip
   }

   ClassLoader stackLoader = null;
   ClassLoader thisLoader =
UtilLoader.class.getClassLoader();
   Class[] stack = _secman.getClassContext();
   for (int i = 1; i  stack.length; i++) {
   ClassLoader testLoader =
stack[i].getClassLoader();
   if (testLoader != null  testLoader !=
thisLoader)
   {
   stackLoader = thisLoader;
   break;
   }
   }
   ..
---





   2011/1/11 Rick McGuire rick...@gmail.com
mailto:rick...@gmail.com mailto:rick...@gmail.com
mailto:rick...@gmail.com


   On 1/11/2011 4:46 AM, Forrest Xia wrote:

   Hi,

   When I debug a corba related application, I
managed to
   trace into a piece of yoko code like this:

   public class Util {
  private static UtilDelegate delegate = null;
  private static final String defaultDelegate =
   

[BUILD] trunk: Failed for Revision: 1057644

2011-01-11 Thread gawor
Geronimo Revision: 1057644 built with tests included
 
See the full build-0900.log file at 
http://people.apache.org/builds/geronimo/server/binaries/trunk/20110111/build-0900.log
 
 
See the unit test reports at 
http://people.apache.org/builds/geronimo/server/binaries/trunk/20110111/unit-test-reports
 
[INFO] Unable to find resource 'org.codehaus.swizzle:swizzle-stream:jar:1.0.2' 
in repository jetty.oss.sonatype.org 
(http://oss.sonatype.org/content/groups/jetty-with-staging)
Downloading: 
http://svn.apache.org/repos/asf/servicemix/m2-repo//org/codehaus/swizzle/swizzle-stream/1.0.2/swizzle-stream-1.0.2.jar
[INFO] Unable to find resource 'org.codehaus.swizzle:swizzle-stream:jar:1.0.2' 
in repository smx.svn (http://svn.apache.org/repos/asf/servicemix/m2-repo/)
Downloading: 
http://download.java.net/maven/1//org.codehaus.swizzle/jars/swizzle-stream-1.0.2.jar
[INFO] Unable to find resource 'org.codehaus.swizzle:swizzle-stream:jar:1.0.2' 
in repository java.net (http://download.java.net/maven/1/)
Downloading: 
http://nexus.openqa.org/content/repositories/releases/org/codehaus/swizzle/swizzle-stream/1.0.2/swizzle-stream-1.0.2.jar
[INFO] Unable to find resource 'org.codehaus.swizzle:swizzle-stream:jar:1.0.2' 
in repository openqa-releases 
(http://nexus.openqa.org/content/repositories/releases)
Downloading: 
https://repository.jboss.org/nexus/content/groups/public-jboss//org/codehaus/swizzle/swizzle-stream/1.0.2/swizzle-stream-1.0.2.jar
39K downloaded  (openwebbeans-ejb-1.1.0-20110108.184308-8.jar)
[INFO] Unable to find resource 'org.codehaus.swizzle:swizzle-stream:jar:1.0.2' 
in repository JBoss Repository 
(https://repository.jboss.org/nexus/content/groups/public-jboss/)
Downloading: 
http://svn.apache.org/repos/asf/openejb/repo//org/codehaus/swizzle/swizzle-stream/1.0.2/swizzle-stream-1.0.2.jar
[INFO] Unable to find resource 'org.codehaus.swizzle:swizzle-stream:jar:1.0.2' 
in repository openejb-3rdparty-builds 
(http://svn.apache.org/repos/asf/openejb/repo/)
Downloading: 
http://maven.rtp.raleigh.ibm.com/nexus-proxy//org/codehaus/swizzle/swizzle-stream/1.0.2/swizzle-stream-1.0.2.jar
42K downloaded  (swizzle-stream-1.0.2.jar)
Downloading: 
http://repository.apache.org/snapshots//org/apache/openwebbeans/openwebbeans-ee/1.1.0-SNAPSHOT/openwebbeans-ee-1.1.0-20110108.184323-8.jar
17K downloaded  (openwebbeans-ee-1.1.0-20110108.184323-8.jar)
Downloading: 
http://repository.apache.org/snapshots//org/apache/openwebbeans/openwebbeans-ee-common/1.1.0-SNAPSHOT/openwebbeans-ee-common-1.1.0-20110108.184241-8.jar
[INFO] snapshot org.apache.geronimo.modules:geronimo-openwebbeans:3.0-SNAPSHOT: 
checking for updates from jetty.oss.sonatype.org
[INFO] snapshot org.apache.geronimo.modules:geronimo-openwebbeans:3.0-SNAPSHOT: 
checking for updates from openqa-snapshots
[INFO] snapshot org.apache.geronimo.modules:geronimo-openwebbeans:3.0-SNAPSHOT: 
checking for updates from codehaus.snapshots
[INFO] snapshot org.apache.geronimo.modules:geronimo-openwebbeans:3.0-SNAPSHOT: 
checking for updates from apache.snapshots
11K downloaded  (openwebbeans-ee-common-1.1.0-20110108.184241-8.jar)
1829K downloaded  (openejb-core-3.2-20110106.032022-56.jar)
Downloading: 
http://repository.apache.org/snapshots//org/apache/openejb/openejb-api/3.2-SNAPSHOT/openejb-api-3.2-20101222.050455-62.jar
8K downloaded  (openejb-api-3.2-20101222.050455-62.jar)
Downloading: 
http://repository.apache.org/snapshots/org/apache/openejb/openejb-loader/3.2-SNAPSHOT/openejb-loader-3.2-20101222.050504-62.jar
43K downloaded  (openejb-loader-3.2-20101222.050504-62.jar)
Downloading: 
http://repository.apache.org/snapshots/org/apache/openejb/openejb-javaagent/3.2-SNAPSHOT/openejb-javaagent-3.2-20101222.050513-62.jar
12K downloaded  (openejb-javaagent-3.2-20101222.050513-62.jar)
Downloading: 
http://repository.apache.org/snapshots/org/apache/openejb/openejb-ejbd/3.2-SNAPSHOT/openejb-ejbd-3.2-20101222.051747-49.jar
59K downloaded  (openejb-ejbd-3.2-20101222.051747-49.jar)
Downloading: 
http://repository.apache.org/snapshots/org/apache/openejb/openejb-server/3.2-SNAPSHOT/openejb-server-3.2-20101222.051641-51.jar
88K downloaded  (openejb-server-3.2-20101222.051641-51.jar)
Downloading: 
http://repository.apache.org/snapshots/org/apache/openejb/openejb-client/3.2-SNAPSHOT/openejb-client-3.2-20101222.051603-51.jar
229K downloaded  (openejb-client-3.2-20101222.051603-51.jar)
Downloading: 
http://repository.apache.org/snapshots/org/apache/openejb/openejb-multicast/3.2-SNAPSHOT/openejb-multicast-3.2-20101222.051715-51.jar
50K downloaded  (openejb-multicast-3.2-20101222.051715-51.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] Copying 1 resource
[INFO] skip non existing resourceDirectory 
/home/geronimo/geronimo/trunk/plugins/openejb/geronimo-openejb/src/main/filtered-resources
[INFO] Copying 3

changing Class to Class? in xbean-finder?

2011-01-11 Thread David Jencks
I'd like to change the partially genericized Class to the more fully 
genericized Class? in xbean finder.  I have discovered I don't understand 
all the ramifications of this.  Based on my experience so far I think that jars 
compiled against old versions of xbean-finder jar will continue to work but 
that they won't compile unless the code is updated.

Thoughts?

thanks
david jencks



[BUILD] trunk: Failed for Revision: 1057832

2011-01-11 Thread gawor
Geronimo Revision: 1057832 built with tests included
 
See the full build-1500.log file at 
http://people.apache.org/builds/geronimo/server/binaries/trunk/20110111/build-1500.log
 
 
See the unit test reports at 
http://people.apache.org/builds/geronimo/server/binaries/trunk/20110111/unit-test-reports
 
[INFO] Unable to find resource 'org.codehaus.swizzle:swizzle-stream:jar:1.0.2' 
in repository jetty.oss.sonatype.org 
(http://oss.sonatype.org/content/groups/jetty-with-staging)
Downloading: 
http://svn.apache.org/repos/asf/servicemix/m2-repo//org/codehaus/swizzle/swizzle-stream/1.0.2/swizzle-stream-1.0.2.jar
[INFO] Unable to find resource 'org.codehaus.swizzle:swizzle-stream:jar:1.0.2' 
in repository smx.svn (http://svn.apache.org/repos/asf/servicemix/m2-repo/)
Downloading: 
http://download.java.net/maven/1//org.codehaus.swizzle/jars/swizzle-stream-1.0.2.jar
39K downloaded  (openwebbeans-ejb-1.1.0-20110108.184308-8.jar)
[INFO] Unable to find resource 'org.codehaus.swizzle:swizzle-stream:jar:1.0.2' 
in repository java.net (http://download.java.net/maven/1/)
Downloading: 
http://nexus.openqa.org/content/repositories/releases/org/codehaus/swizzle/swizzle-stream/1.0.2/swizzle-stream-1.0.2.jar
Downloading: 
http://repository.apache.org/snapshots//org/apache/openwebbeans/openwebbeans-ee/1.1.0-SNAPSHOT/openwebbeans-ee-1.1.0-20110108.184323-8.jar
[INFO] Unable to find resource 'org.codehaus.swizzle:swizzle-stream:jar:1.0.2' 
in repository openqa-releases 
(http://nexus.openqa.org/content/repositories/releases)
Downloading: 
https://repository.jboss.org/nexus/content/groups/public-jboss//org/codehaus/swizzle/swizzle-stream/1.0.2/swizzle-stream-1.0.2.jar
[INFO] snapshot org.apache.geronimo.modules:geronimo-openwebbeans:3.0-SNAPSHOT: 
checking for updates from jetty.oss.sonatype.org
[INFO] snapshot org.apache.geronimo.modules:geronimo-openwebbeans:3.0-SNAPSHOT: 
checking for updates from openqa-snapshots
[INFO] snapshot org.apache.geronimo.modules:geronimo-openwebbeans:3.0-SNAPSHOT: 
checking for updates from codehaus.snapshots
17K downloaded  (openwebbeans-ee-1.1.0-20110108.184323-8.jar)
[INFO] snapshot org.apache.geronimo.modules:geronimo-openwebbeans:3.0-SNAPSHOT: 
checking for updates from apache.snapshots
[INFO] Unable to find resource 'org.codehaus.swizzle:swizzle-stream:jar:1.0.2' 
in repository JBoss Repository 
(https://repository.jboss.org/nexus/content/groups/public-jboss/)
Downloading: 
http://svn.apache.org/repos/asf/openejb/repo//org/codehaus/swizzle/swizzle-stream/1.0.2/swizzle-stream-1.0.2.jar
Downloading: 
http://repository.apache.org/snapshots//org/apache/openwebbeans/openwebbeans-ee-common/1.1.0-SNAPSHOT/openwebbeans-ee-common-1.1.0-20110108.184241-8.jar
[INFO] Unable to find resource 'org.codehaus.swizzle:swizzle-stream:jar:1.0.2' 
in repository openejb-3rdparty-builds 
(http://svn.apache.org/repos/asf/openejb/repo/)
Downloading: 
http://maven.rtp.raleigh.ibm.com/nexus-proxy//org/codehaus/swizzle/swizzle-stream/1.0.2/swizzle-stream-1.0.2.jar
42K downloaded  (swizzle-stream-1.0.2.jar)
11K downloaded  (openwebbeans-ee-common-1.1.0-20110108.184241-8.jar)
1829K downloaded  (openejb-core-3.2-20110106.032022-56.jar)
Downloading: 
http://repository.apache.org/snapshots//org/apache/openejb/openejb-api/3.2-SNAPSHOT/openejb-api-3.2-20101222.050455-62.jar
8K downloaded  (openejb-api-3.2-20101222.050455-62.jar)
Downloading: 
http://repository.apache.org/snapshots/org/apache/openejb/openejb-loader/3.2-SNAPSHOT/openejb-loader-3.2-20101222.050504-62.jar
43K downloaded  (openejb-loader-3.2-20101222.050504-62.jar)
Downloading: 
http://repository.apache.org/snapshots/org/apache/openejb/openejb-javaagent/3.2-SNAPSHOT/openejb-javaagent-3.2-20101222.050513-62.jar
12K downloaded  (openejb-javaagent-3.2-20101222.050513-62.jar)
Downloading: 
http://repository.apache.org/snapshots/org/apache/openejb/openejb-ejbd/3.2-SNAPSHOT/openejb-ejbd-3.2-20101222.051747-49.jar
59K downloaded  (openejb-ejbd-3.2-20101222.051747-49.jar)
Downloading: 
http://repository.apache.org/snapshots/org/apache/openejb/openejb-server/3.2-SNAPSHOT/openejb-server-3.2-20101222.051641-51.jar
88K downloaded  (openejb-server-3.2-20101222.051641-51.jar)
Downloading: 
http://repository.apache.org/snapshots/org/apache/openejb/openejb-client/3.2-SNAPSHOT/openejb-client-3.2-20101222.051603-51.jar
229K downloaded  (openejb-client-3.2-20101222.051603-51.jar)
Downloading: 
http://repository.apache.org/snapshots/org/apache/openejb/openejb-multicast/3.2-SNAPSHOT/openejb-multicast-3.2-20101222.051715-51.jar
50K downloaded  (openejb-multicast-3.2-20101222.051715-51.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] Copying 1 resource
[INFO] skip non existing resourceDirectory 
/home/geronimo/geronimo/trunk/plugins/openejb/geronimo-openejb/src/main/filtered-resources
[INFO] Copying 3

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

2011-01-11 Thread gawor
Geronimo Revision: 1057786 built with tests included
 
See the full build-1400.log file at 
http://people.apache.org/builds/geronimo/server/binaries/2.2/20110111/build-1400.log
 
Download the binaries from 
http://people.apache.org/builds/geronimo/server/binaries/2.2/20110111
[INFO] BUILD SUCCESSFUL
[INFO] 
[INFO] Total time: 36 minutes 42 seconds
[INFO] Finished at: Tue Jan 11 14:42:56 EST 2011
[INFO] Final Memory: 314M/991M
[INFO] 
 
TESTSUITE RESULTS (Failures only)
=
 
Assembly: tomcat
=
See full test results and logs at 
http://people.apache.org/builds/geronimo/server/binaries/2.2/20110111/logs-1400-tomcat/
 
[INFO] Running TestSuite
[INFO] Tests run: 40, Failures: 26, Errors: 0, Skipped: 0, Time elapsed: 
211.361 sec  FAILURE!
[INFO] Running TestSuite
[INFO] Tests run: 12, Failures: 8, Errors: 0, Skipped: 0, Time elapsed: 69.933 
sec  FAILURE!
--
[INFO] Running TestSuite
[INFO] Tests run: 36, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 69.011 
sec  FAILURE!
 
Assembly: jetty
=
See full test results and logs at 
http://people.apache.org/builds/geronimo/server/binaries/2.2/20110111/logs-1400-jetty/
 
[INFO] Running TestSuite
[INFO] Tests run: 40, Failures: 27, Errors: 0, Skipped: 0, Time elapsed: 220.7 
sec  FAILURE!
[INFO] Running TestSuite
[INFO] Tests run: 12, Failures: 7, Errors: 0, Skipped: 0, Time elapsed: 71.87 
sec  FAILURE!
--
[INFO] Running TestSuite
[INFO] Tests run: 2, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 7.827 
sec  FAILURE!
 
Samples: branches/2.2
=
Log: 
http://people.apache.org/builds/geronimo/server/binaries/2.2/20110111/samples-1400.log
 
Build status: OK
 


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

2011-01-11 Thread gawor
Geronimo Revision: 1057957 built with tests included
 
See the full build-2000.log file at 
http://people.apache.org/builds/geronimo/server/binaries/2.2/20110111/build-2000.log
 
Download the binaries from 
http://people.apache.org/builds/geronimo/server/binaries/2.2/20110111
[INFO] BUILD SUCCESSFUL
[INFO] 
[INFO] Total time: 30 minutes 40 seconds
[INFO] Finished at: Tue Jan 11 20:37:55 EST 2011
[INFO] Final Memory: 313M/820M
[INFO] 
 
TESTSUITE RESULTS (Failures only)
=
 
Assembly: tomcat
=
See full test results and logs at 
http://people.apache.org/builds/geronimo/server/binaries/2.2/20110111/logs-2000-tomcat/
 
 
[INFO] Scanning for projects...
[INFO] Reactor build order: 
[INFO]   Geronimo TestSuite
[INFO]   Geronimo TestSuite :: Commands TestSuite
[INFO]   Geronimo TestSuite :: Concurrent TestSuite
[INFO]   Geronimo TestSuite :: Console Testsuite
[INFO]   Geronimo TestSuite :: CORBA TestSuite
[INFO]   Geronimo TestSuite :: Deployment Testsuite
[INFO]   Geronimo TestSuite :: Enterprise Testsuite
[INFO]   Geronimo TestSuite :: Security Testsuite
[INFO]   Geronimo TestSuite :: Web-tier Testsuite
[INFO]   Geronimo TestSuite :: WebServices TestSuite
[INFO] 
[INFO] Building Geronimo TestSuite
[INFO]task-segment: [install]
[INFO] 
Downloading: 
http://maven.rtp.raleigh.ibm.com/nexus-proxy//org/apache/maven/plugins/maven-deploy-plugin/2.4/maven-deploy-plugin-2.4.pom
6K downloaded  (maven-deploy-plugin-2.4.pom)
Downloading: 
http://maven.rtp.raleigh.ibm.com/nexus-proxy//org/apache/maven/plugins/maven-deploy-plugin/2.4/maven-deploy-plugin-2.4.jar
33K downloaded  (maven-deploy-plugin-2.4.jar)
[INFO] snapshot 
org.apache.geronimo.buildsupport:testsuite-maven-plugin:2.2.2-SNAPSHOT: 
checking for updates from apache.snapshots
[INFO] snapshot 
org.apache.geronimo.buildsupport:testsuite-maven-plugin:2.2.2-SNAPSHOT: 
checking for updates from codehaus.snapshots
[INFO] snapshot org.apache.geronimo.buildsupport:buildsupport:2.2.2-SNAPSHOT: 
checking for updates from apache.snapshots
[INFO] snapshot org.apache.geronimo.buildsupport:buildsupport:2.2.2-SNAPSHOT: 
checking for updates from codehaus.snapshots
[INFO] snapshot org.apache.geronimo.framework:framework:2.2.2-SNAPSHOT: 
checking for updates from apache.snapshots
[INFO] snapshot org.apache.geronimo.framework:framework:2.2.2-SNAPSHOT: 
checking for updates from codehaus.snapshots
[INFO] [genesis:validate-configuration {execution: default}]
[INFO] snapshot 
org.apache.geronimo.testsupport:testsupport-selenium:2.2.2-SNAPSHOT: checking 
for updates from codehaus.snapshots
[INFO] snapshot 
org.apache.geronimo.testsupport:testsupport-selenium:2.2.2-SNAPSHOT: checking 
for updates from apache.snapshots
[INFO] snapshot org.apache.geronimo.testsupport:testsupport:2.2.2-SNAPSHOT: 
checking for updates from openqa-snapshots
[INFO] snapshot org.apache.geronimo.testsupport:testsupport:2.2.2-SNAPSHOT: 
checking for updates from codehaus.snapshots
[INFO] snapshot org.apache.geronimo.testsupport:testsupport:2.2.2-SNAPSHOT: 
checking for updates from apache.snapshots
[INFO] snapshot 
org.apache.geronimo.testsupport:testsupport-common:2.2.2-SNAPSHOT: checking for 
updates from codehaus.snapshots
[INFO] snapshot 
org.apache.geronimo.testsupport:testsupport-common:2.2.2-SNAPSHOT: checking for 
updates from apache.snapshots
[INFO] snapshot 
org.apache.geronimo.testsupport:testsupport-common:2.2.2-SNAPSHOT: checking for 
updates from openqa-snapshots
[INFO] snapshot org.apache.geronimo.framework:modules:2.2.2-SNAPSHOT: checking 
for updates from codehaus.snapshots
[INFO] snapshot org.apache.geronimo.framework:modules:2.2.2-SNAPSHOT: checking 
for updates from apache.snapshots
[INFO] snapshot org.apache.geronimo.framework:modules:2.2.2-SNAPSHOT: checking 
for updates from openqa-snapshots
[INFO] [enforcer:enforce {execution: default}]
[INFO] Setting property: classpath.resource.loader.class = 
'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'.
[INFO] Setting property: velocimacro.messages.on = 'false'.
[INFO] Setting property: resource.loader = 'classpath'.
[INFO] Setting property: resource.manager.logwhenfound = 'false'.
[INFO] [remote-resources:process {execution: default}]
[INFO] [site:attach-descriptor {execution: default-attach-descriptor}]
[INFO] [ianal:verify-legal-files {execution: default}]
[INFO] [install:install {execution: default-install}]
[INFO] Installing /home/geronimo/geronimo/2.2/testsuite/pom.xml to 
/home/geronimo/.m2/repository/org/apache/geronimo/testsuite/testsuite/2.2.2-SNAPSHOT/testsuite-2.2.2-SNAPSHOT.pom
[INFO] 
[INFO

Re: [Vote] Release Geronimo Samples Daytrader 2.2.1

2011-01-11 Thread Forrest Xia
+1

Build, Signature, Running Plugins seems OK.

Thank you Viola for bring this out.

Forrest

On Fri, Jan 7, 2011 at 7:50 PM, viola lu viola...@gmail.com wrote:

 Hi all,

 A release candidate for Geronimo Sample  Daytrader 2.2.1 has been created
 and staged.

 The tags have been created here:


 https://svn.apache.org/repos/asf/geronimo/samples/tags/samples-parent-2.2.1/
 https://svn.apache.org/repos/asf/geronimo/samples/tags/samples-parent-2.2.1/
 https://svn.apache.org/repos/asf/geronimo/daytrader/tags/daytrader-2.2.1/

 The staging repos are here:

 https://repository.apache.org/content/repositories/orgapachegeronimo-004/
 *https://repository.apache.org/content/repositories/orgapachegeronimo-003*
 *
 *


 The main artifacts up for vote are the source release archives:

 https://repository.apache.org/content/repositories/orgapachegeronimo-004/org/apache/geronimo/samples/samples-parent/2.2.1/
 samples-parent-2.2.1-source-release.tar.gz

 https://repository.apache.org/content/repositories/orgapachegeronimo-004/org/apache/geronimo/samples/samples-parent/2.2.1/samples-parent-2.2.1-source-release.zip


 https://repository.apache.org/content/repositories/orgapachegeronimo-003/org/apache/geronimo/daytrader/daytrader-parent/2.2.1/daytrader-parent-2.2.1-source-release.zip

 https://repository.apache.org/content/repositories/orgapachegeronimo-003/org/apache/geronimo/daytrader/daytrader-parent/2.2.1/daytrader-parent-2.2.1-source-release.tar.gz



 The vote will be open for the 72-hour minimum.

 [  ] +1 about time to push this out the door
 [  ]  0 no opinion
 [  ] -1 not this one  (please explain why)

 --
 viola



Re: [Vote] Geronimo Eclipse Plugin 2.2.1 RC3

2011-01-11 Thread Kevan Miller
Here's my +1.

--kevan
On Jan 7, 2011, at 3:31 AM, han hongfang wrote:

 Hi devs,
 
 Please help to review and vote on the release of Geronimo Eclipse Plugin 
 2.2.1 RC3.
 
 GEP 2.2.1 supports Geronimo server 2.2.1, 2.1.7 and Eclipse 3.6.
 
 The source code zip is here:
 
 https://repository.apache.org/content/repositories/orgapachegeronimo-002/org/apache/geronimo/devtools/geronimo-eclipse-plugin/2.2.1/geronimo-eclipse-plugin-2.2.1-source-release.zip
 
 https://repository.apache.org/content/repositories/orgapachegeronimo-002/org/apache/geronimo/devtools/geronimo-eclipse-plugin/2.2.1/geronimo-eclipse-plugin-2.2.1-source-release.tar.gz
 
 
 The tag is here:
 
 https://svn.apache.org/repos/asf/geronimo/devtools/eclipse-plugin/tags/geronimo-eclipse-plugin-2.2.1/
 
 The deployable zip file is here:
 
 http://people.apache.org/builds/geronimo/eclipse/2.2.1/geronimo-eclipse-plugin-2.2.1-deployable.zip
 
 The update site zip file is here:
 
 http://people.apache.org/builds/geronimo/eclipse/2.2.1/geronimo-eclipse-plugin-2.2.1-updatesite.zip
 
 
 If you would like to review and/or comment on the release notes, you can find 
 it here:
 
 http://people.apache.org/builds/geronimo/eclipse/updates/PLUGIN_RELEASE-NOTES-2.2.1.txt
 
 
 Finally, I've created a Staging Site that can be used to test the update 
 manager functions of  Eclipse (Halios or Galileo):
  
 http://people.apache.org/builds/geronimo/eclipse/updates/
  
 The vote will be open for the 72-hour minimum.
  
 [  ] +1 about time to push this out the door
 [  ]  0 no opinion
 [  ] -1 not this one  (please explain why) 
 
 -- 
 Best regards,
 
 Han Hong Fang (Janet)
 hanhongfang AT apache.org
  
 



Re: [Vote] Geronimo Eclipse Plugin 2.2.1 RC3

2011-01-11 Thread han hongfang
Hi devs,

The vote to release Geronimo Eclipse Plugin 2.2.1 RC3 passes with 5 +1
votes and no 0 or -1 votes.  Voting +1 were

Rex Wang
Ivan Xu
Shawn Jiang
Johannes Weberhofer
Kevan Miller

The artifacts and eclipse update site will be promoted today.
Thanks all for your time of review and vote.

-- 
Best regards,

Han Hong Fang (Janet)
hanhongfang AT apache.org


[BUILD] trunk: Failed for Revision: 1057972

2011-01-11 Thread gawor
Geronimo Revision: 1057972 built with tests included
 
See the full build-2100.log file at 
http://people.apache.org/builds/geronimo/server/binaries/trunk/20110111/build-2100.log
 
 
See the unit test reports at 
http://people.apache.org/builds/geronimo/server/binaries/trunk/20110111/unit-test-reports
 
[INFO] snapshot 
org.apache.geronimo.modules:geronimo-persistence-jpa20:3.0-SNAPSHOT: checking 
for updates from codehaus.snapshots
[INFO] snapshot 
org.apache.geronimo.modules:geronimo-persistence-jpa20:3.0-SNAPSHOT: checking 
for updates from apache.snapshots
[INFO] Unable to find resource 'org.codehaus.swizzle:swizzle-stream:jar:1.0.2' 
in repository geornimo bundle scout-1.2.2_1 stage 
(https://repository.apache.org/content/repositories/orgapachegeronimo-068/)
Downloading: 
http://oss.sonatype.org/content/groups/jetty-with-staging/org/codehaus/swizzle/swizzle-stream/1.0.2/swizzle-stream-1.0.2.jar
[INFO] Unable to find resource 'org.codehaus.swizzle:swizzle-stream:jar:1.0.2' 
in repository jetty.oss.sonatype.org 
(http://oss.sonatype.org/content/groups/jetty-with-staging)
Downloading: 
http://svn.apache.org/repos/asf/servicemix/m2-repo//org/codehaus/swizzle/swizzle-stream/1.0.2/swizzle-stream-1.0.2.jar
[INFO] Unable to find resource 'org.codehaus.swizzle:swizzle-stream:jar:1.0.2' 
in repository smx.svn (http://svn.apache.org/repos/asf/servicemix/m2-repo/)
Downloading: 
http://download.java.net/maven/1//org.codehaus.swizzle/jars/swizzle-stream-1.0.2.jar
[INFO] Unable to find resource 'org.codehaus.swizzle:swizzle-stream:jar:1.0.2' 
in repository java.net (http://download.java.net/maven/1/)
Downloading: 
http://nexus.openqa.org/content/repositories/releases/org/codehaus/swizzle/swizzle-stream/1.0.2/swizzle-stream-1.0.2.jar
[INFO] Unable to find resource 'org.codehaus.swizzle:swizzle-stream:jar:1.0.2' 
in repository openqa-releases 
(http://nexus.openqa.org/content/repositories/releases)
Downloading: 
https://repository.jboss.org/nexus/content/groups/public-jboss//org/codehaus/swizzle/swizzle-stream/1.0.2/swizzle-stream-1.0.2.jar
39K downloaded  (openwebbeans-ejb-1.1.0-20110108.184308-8.jar)
Downloading: 
http://repository.apache.org/snapshots//org/apache/openwebbeans/openwebbeans-ee/1.1.0-SNAPSHOT/openwebbeans-ee-1.1.0-20110108.184323-8.jar
[INFO] Unable to find resource 'org.codehaus.swizzle:swizzle-stream:jar:1.0.2' 
in repository JBoss Repository 
(https://repository.jboss.org/nexus/content/groups/public-jboss/)
Downloading: 
http://svn.apache.org/repos/asf/openejb/repo//org/codehaus/swizzle/swizzle-stream/1.0.2/swizzle-stream-1.0.2.jar
[INFO] Unable to find resource 'org.codehaus.swizzle:swizzle-stream:jar:1.0.2' 
in repository openejb-3rdparty-builds 
(http://svn.apache.org/repos/asf/openejb/repo/)
Downloading: 
http://maven.rtp.raleigh.ibm.com/nexus-proxy//org/codehaus/swizzle/swizzle-stream/1.0.2/swizzle-stream-1.0.2.jar
42K downloaded  (swizzle-stream-1.0.2.jar)
17K downloaded  (openwebbeans-ee-1.1.0-20110108.184323-8.jar)
Downloading: 
http://repository.apache.org/snapshots//org/apache/openwebbeans/openwebbeans-ee-common/1.1.0-SNAPSHOT/openwebbeans-ee-common-1.1.0-20110108.184241-8.jar
11K downloaded  (openwebbeans-ee-common-1.1.0-20110108.184241-8.jar)
1829K downloaded  (openejb-core-3.2-20110106.032022-56.jar)
Downloading: 
http://repository.apache.org/snapshots//org/apache/openejb/openejb-api/3.2-SNAPSHOT/openejb-api-3.2-20101222.050455-62.jar
8K downloaded  (openejb-api-3.2-20101222.050455-62.jar)
Downloading: 
http://repository.apache.org/snapshots/org/apache/openejb/openejb-loader/3.2-SNAPSHOT/openejb-loader-3.2-20101222.050504-62.jar
43K downloaded  (openejb-loader-3.2-20101222.050504-62.jar)
Downloading: 
http://repository.apache.org/snapshots/org/apache/openejb/openejb-javaagent/3.2-SNAPSHOT/openejb-javaagent-3.2-20101222.050513-62.jar
12K downloaded  (openejb-javaagent-3.2-20101222.050513-62.jar)
Downloading: 
http://repository.apache.org/snapshots/org/apache/openejb/openejb-ejbd/3.2-SNAPSHOT/openejb-ejbd-3.2-20101222.051747-49.jar
59K downloaded  (openejb-ejbd-3.2-20101222.051747-49.jar)
Downloading: 
http://repository.apache.org/snapshots/org/apache/openejb/openejb-server/3.2-SNAPSHOT/openejb-server-3.2-20101222.051641-51.jar
88K downloaded  (openejb-server-3.2-20101222.051641-51.jar)
Downloading: 
http://repository.apache.org/snapshots/org/apache/openejb/openejb-client/3.2-SNAPSHOT/openejb-client-3.2-20101222.051603-51.jar
229K downloaded  (openejb-client-3.2-20101222.051603-51.jar)
Downloading: 
http://repository.apache.org/snapshots/org/apache/openejb/openejb-multicast/3.2-SNAPSHOT/openejb-multicast-3.2-20101222.051715-51.jar
50K downloaded  (openejb-multicast-3.2-20101222.051715-51.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] Copying 1 resource
[INFO] skip non existing resourceDirectory 
/home

[Result] - [Vote] Geronimo Eclipse Plugin 2.2.1 RC3

2011-01-11 Thread han hongfang
Hi devs,

The vote to release Geronimo Eclipse Plugin 2.2.1 RC3 passes with 5 +1
votes and no 0 or -1 votes.  Voting +1 were

Rex Wang
Ivan Xu
Shawn Jiang
Johannes Weberhofer
Kevan Miller

The artifacts and eclipse update site will be promoted today.
Thanks all for your time of review and vote.

-- 
Best regards,

Han Hong Fang (Janet)
hanhongfang AT apache.org


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

2011-01-11 Thread David Jencks
Jean-Louis fixed this problem but I'm now getting a further NPE I suspect from 
an osgi bundle url.  Haven't looked into how to fix it.

david jencks

On Jan 8, 2011, at 10:38 PM, David Jencks wrote:

 I'm not sure what to do about this.  We need a new openejb snapshot but as 
 noted on the openejb dev list rev 1056366 pretty much breaks geronimo 
 deployment completely.  I reverted it locally in order to keep working on cdi 
 stuff.  No response yet from the patch author
 
 david jencks
 
 On Jan 8, 2011, at 6:48 PM, ga...@apache.org wrote:
 
 Geronimo Revision: 1056864 built with tests included
 
 See the full build-2100.log file at 
 http://people.apache.org/builds/geronimo/server/binaries/trunk/20110108/build-2100.log
 
 
 See the unit test reports at 
 http://people.apache.org/builds/geronimo/server/binaries/trunk/20110108/unit-test-reports
 
 [INFO] Unable to find resource 
 'org.codehaus.swizzle:swizzle-stream:jar:1.0.2' in repository 
 jetty.oss.sonatype.org 
 (http://oss.sonatype.org/content/groups/jetty-with-staging)
 Downloading: 
 http://svn.apache.org/repos/asf/servicemix/m2-repo//org/codehaus/swizzle/swizzle-stream/1.0.2/swizzle-stream-1.0.2.jar
 39K downloaded  (openwebbeans-ejb-1.1.0-20110108.184308-8.jar)
 [INFO] Unable to find resource 
 'org.codehaus.swizzle:swizzle-stream:jar:1.0.2' in repository smx.svn 
 (http://svn.apache.org/repos/asf/servicemix/m2-repo/)
 Downloading: 
 http://download.java.net/maven/1//org.codehaus.swizzle/jars/swizzle-stream-1.0.2.jar
 [INFO] Unable to find resource 
 'org.codehaus.swizzle:swizzle-stream:jar:1.0.2' in repository java.net 
 (http://download.java.net/maven/1/)
 Downloading: 
 http://nexus.openqa.org/content/repositories/releases/org/codehaus/swizzle/swizzle-stream/1.0.2/swizzle-stream-1.0.2.jar
 Downloading: 
 http://repository.apache.org/snapshots//org/apache/openwebbeans/openwebbeans-ee/1.1.0-SNAPSHOT/openwebbeans-ee-1.1.0-20110108.184323-8.jar
 [INFO] Unable to find resource 
 'org.codehaus.swizzle:swizzle-stream:jar:1.0.2' in repository 
 openqa-releases (http://nexus.openqa.org/content/repositories/releases)
 Downloading: 
 https://repository.jboss.org/nexus/content/groups/public-jboss//org/codehaus/swizzle/swizzle-stream/1.0.2/swizzle-stream-1.0.2.jar
 17K downloaded  (openwebbeans-ee-1.1.0-20110108.184323-8.jar)
 Downloading: 
 http://repository.apache.org/snapshots//org/apache/openwebbeans/openwebbeans-ee-common/1.1.0-SNAPSHOT/openwebbeans-ee-common-1.1.0-20110108.184241-8.jar
 [INFO] Unable to find resource 
 'org.codehaus.swizzle:swizzle-stream:jar:1.0.2' in repository JBoss 
 Repository (https://repository.jboss.org/nexus/content/groups/public-jboss/)
 Downloading: 
 http://svn.apache.org/repos/asf/openejb/repo//org/codehaus/swizzle/swizzle-stream/1.0.2/swizzle-stream-1.0.2.jar
 [INFO] snapshot 
 org.apache.geronimo.modules:geronimo-openwebbeans:3.0-SNAPSHOT: checking for 
 updates from jetty.oss.sonatype.org
 11K downloaded  (openwebbeans-ee-common-1.1.0-20110108.184241-8.jar)
 [INFO] snapshot 
 org.apache.geronimo.modules:geronimo-openwebbeans:3.0-SNAPSHOT: checking for 
 updates from openqa-snapshots
 [INFO] Unable to find resource 
 'org.codehaus.swizzle:swizzle-stream:jar:1.0.2' in repository 
 openejb-3rdparty-builds (http://svn.apache.org/repos/asf/openejb/repo/)
 Downloading: 
 http://maven.rtp.raleigh.ibm.com/nexus-proxy//org/codehaus/swizzle/swizzle-stream/1.0.2/swizzle-stream-1.0.2.jar
 [INFO] snapshot 
 org.apache.geronimo.modules:geronimo-openwebbeans:3.0-SNAPSHOT: checking for 
 updates from codehaus.snapshots
 42K downloaded  (swizzle-stream-1.0.2.jar)
 [INFO] snapshot 
 org.apache.geronimo.modules:geronimo-openwebbeans:3.0-SNAPSHOT: checking for 
 updates from apache.snapshots
 1829K downloaded  (openejb-core-3.2-20110106.032022-56.jar)
 Downloading: 
 http://repository.apache.org/snapshots//org/apache/openejb/openejb-api/3.2-SNAPSHOT/openejb-api-3.2-20101222.050455-62.jar
 8K downloaded  (openejb-api-3.2-20101222.050455-62.jar)
 Downloading: 
 http://repository.apache.org/snapshots/org/apache/openejb/openejb-loader/3.2-SNAPSHOT/openejb-loader-3.2-20101222.050504-62.jar
 43K downloaded  (openejb-loader-3.2-20101222.050504-62.jar)
 Downloading: 
 http://repository.apache.org/snapshots/org/apache/openejb/openejb-javaagent/3.2-SNAPSHOT/openejb-javaagent-3.2-20101222.050513-62.jar
 12K downloaded  (openejb-javaagent-3.2-20101222.050513-62.jar)
 Downloading: 
 http://repository.apache.org/snapshots/org/apache/openejb/openejb-ejbd/3.2-SNAPSHOT/openejb-ejbd-3.2-20101222.051747-49.jar
 59K downloaded  (openejb-ejbd-3.2-20101222.051747-49.jar)
 Downloading: 
 http://repository.apache.org/snapshots/org/apache/openejb/openejb-server/3.2-SNAPSHOT/openejb-server-3.2-20101222.051641-51.jar
 88K downloaded  (openejb-server-3.2-20101222.051641-51.jar)
 Downloading: 
 http://repository.apache.org/snapshots/org/apache/openejb/openejb-client/3.2-SNAPSHOT/openejb-client-3.2-20101222.051603-51.jar
 229K downloaded  

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

2011-01-11 Thread Shawn Jiang
I fixed the further NPE problem locally.   but I encouner can't find
EJBModule ejb deployment problem.   After fixing the can't find EJBModule
problem.

Now I encounter another ejb deployent problem during EJB annotation scanning
phase.  I'm still working on it.

On Wed, Jan 12, 2011 at 11:13 AM, David Jencks david_jen...@yahoo.comwrote:

 Jean-Louis fixed this problem but I'm now getting a further NPE I suspect
 from an osgi bundle url.  Haven't looked into how to fix it.

 david jencks

 On Jan 8, 2011, at 10:38 PM, David Jencks wrote:

  I'm not sure what to do about this.  We need a new openejb snapshot but
 as noted on the openejb dev list rev 1056366 pretty much breaks geronimo
 deployment completely.  I reverted it locally in order to keep working on
 cdi stuff.  No response yet from the patch author
 
  david jencks
 
  On Jan 8, 2011, at 6:48 PM, ga...@apache.org wrote:
 
  Geronimo Revision: 1056864 built with tests included
 
  See the full build-2100.log file at
 http://people.apache.org/builds/geronimo/server/binaries/trunk/20110108/build-2100.log
 
 
  See the unit test reports at
 http://people.apache.org/builds/geronimo/server/binaries/trunk/20110108/unit-test-reports
 
  [INFO] Unable to find resource
 'org.codehaus.swizzle:swizzle-stream:jar:1.0.2' in repository
 jetty.oss.sonatype.org (
 http://oss.sonatype.org/content/groups/jetty-with-staging)
  Downloading:
 http://svn.apache.org/repos/asf/servicemix/m2-repo//org/codehaus/swizzle/swizzle-stream/1.0.2/swizzle-stream-1.0.2.jar
  39K downloaded  (openwebbeans-ejb-1.1.0-20110108.184308-8.jar)
  [INFO] Unable to find resource
 'org.codehaus.swizzle:swizzle-stream:jar:1.0.2' in repository smx.svn (
 http://svn.apache.org/repos/asf/servicemix/m2-repo/)
  Downloading:
 http://download.java.net/maven/1//org.codehaus.swizzle/jars/swizzle-stream-1.0.2.jar
  [INFO] Unable to find resource
 'org.codehaus.swizzle:swizzle-stream:jar:1.0.2' in repository java.net (
 http://download.java.net/maven/1/)
  Downloading:
 http://nexus.openqa.org/content/repositories/releases/org/codehaus/swizzle/swizzle-stream/1.0.2/swizzle-stream-1.0.2.jar
  Downloading:
 http://repository.apache.org/snapshots//org/apache/openwebbeans/openwebbeans-ee/1.1.0-SNAPSHOT/openwebbeans-ee-1.1.0-20110108.184323-8.jar
  [INFO] Unable to find resource
 'org.codehaus.swizzle:swizzle-stream:jar:1.0.2' in repository
 openqa-releases (http://nexus.openqa.org/content/repositories/releases)
  Downloading:
 https://repository.jboss.org/nexus/content/groups/public-jboss//org/codehaus/swizzle/swizzle-stream/1.0.2/swizzle-stream-1.0.2.jar
  17K downloaded  (openwebbeans-ee-1.1.0-20110108.184323-8.jar)
  Downloading:
 http://repository.apache.org/snapshots//org/apache/openwebbeans/openwebbeans-ee-common/1.1.0-SNAPSHOT/openwebbeans-ee-common-1.1.0-20110108.184241-8.jar
  [INFO] Unable to find resource
 'org.codehaus.swizzle:swizzle-stream:jar:1.0.2' in repository JBoss
 Repository (
 https://repository.jboss.org/nexus/content/groups/public-jboss/)
  Downloading:
 http://svn.apache.org/repos/asf/openejb/repo//org/codehaus/swizzle/swizzle-stream/1.0.2/swizzle-stream-1.0.2.jar
  [INFO] snapshot
 org.apache.geronimo.modules:geronimo-openwebbeans:3.0-SNAPSHOT: checking for
 updates from jetty.oss.sonatype.org
  11K downloaded  (openwebbeans-ee-common-1.1.0-20110108.184241-8.jar)
  [INFO] snapshot
 org.apache.geronimo.modules:geronimo-openwebbeans:3.0-SNAPSHOT: checking for
 updates from openqa-snapshots
  [INFO] Unable to find resource
 'org.codehaus.swizzle:swizzle-stream:jar:1.0.2' in repository
 openejb-3rdparty-builds (http://svn.apache.org/repos/asf/openejb/repo/)
  Downloading:
 http://maven.rtp.raleigh.ibm.com/nexus-proxy//org/codehaus/swizzle/swizzle-stream/1.0.2/swizzle-stream-1.0.2.jar
  [INFO] snapshot
 org.apache.geronimo.modules:geronimo-openwebbeans:3.0-SNAPSHOT: checking for
 updates from codehaus.snapshots
  42K downloaded  (swizzle-stream-1.0.2.jar)
  [INFO] snapshot
 org.apache.geronimo.modules:geronimo-openwebbeans:3.0-SNAPSHOT: checking for
 updates from apache.snapshots
  1829K downloaded  (openejb-core-3.2-20110106.032022-56.jar)
  Downloading:
 http://repository.apache.org/snapshots//org/apache/openejb/openejb-api/3.2-SNAPSHOT/openejb-api-3.2-20101222.050455-62.jar
  8K downloaded  (openejb-api-3.2-20101222.050455-62.jar)
  Downloading:
 http://repository.apache.org/snapshots/org/apache/openejb/openejb-loader/3.2-SNAPSHOT/openejb-loader-3.2-20101222.050504-62.jar
  43K downloaded  (openejb-loader-3.2-20101222.050504-62.jar)
  Downloading:
 http://repository.apache.org/snapshots/org/apache/openejb/openejb-javaagent/3.2-SNAPSHOT/openejb-javaagent-3.2-20101222.050513-62.jar
  12K downloaded  (openejb-javaagent-3.2-20101222.050513-62.jar)
  Downloading:
 http://repository.apache.org/snapshots/org/apache/openejb/openejb-ejbd/3.2-SNAPSHOT/openejb-ejbd-3.2-20101222.051747-49.jar
  59K downloaded  (openejb-ejbd-3.2-20101222.051747-49.jar)
  Downloading:
 

[jira] Updated: (GERONIMO-5355) ClassCastException while starting snapshot (Stat Query) in G 215 Monitoring portlet through java client

2011-01-11 Thread Vamsavardhana Reddy (JIRA)

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

Vamsavardhana Reddy updated GERONIMO-5355:
--

Affects Version/s: 2.2.1
Fix Version/s: 2.2.2

Completed: At revision: 1058001  in branches\2.2 (i.e. 2.2.2-SNAPSHOT)
 o Merging rev 1055305 from 2.1 branch.


 ClassCastException while starting snapshot (Stat Query) in G 215 Monitoring 
 portlet through java client
 ---

 Key: GERONIMO-5355
 URL: https://issues.apache.org/jira/browse/GERONIMO-5355
 Project: Geronimo
  Issue Type: Bug
  Security Level: public(Regular issues) 
  Components: monitoring
Affects Versions: 2.1.5, 2.2.1
Reporter: Amit Puri
Assignee: Vamsavardhana Reddy
 Fix For: 2.1.8, 2.2.2


 In a java client where MBeanServerConnection is created and invoke 
 startSnapshot method in Monitoring Portlet of G 215, Stat Query snapshot 
 started but we can also find ClassCastException.
 ...
 ERROR [MasterRemoteControlJMX] 
 org.tranql.connector.jdbc.TranqlDataSource$SelfReference incompatible with 
 javax.sql.DataSource
 java.lang.ClassCastException: 
 org.tranql.connector.jdbc.TranqlDataSource$SelfReference incompatible with 
 javax.sql.DataSource
 at 
 org.apache.geronimo.monitoring.MasterRemoteControlJMX.init(MasterRemoteControlJMX.java:110)
 at 
 org.apache.geronimo.monitoring.snapshot.SnapshotProcessor.getMRC(SnapshotProcessor.java:148)
 at 
 org.apache.geronimo.monitoring.snapshot.SnapshotProcessor.takeSnapshot(SnapshotProcessor.java:59)
 at 
 org.apache.geronimo.monitoring.snapshot.SnapshotThread.run(SnapshotThread.java:103)
 ...
 In G 214, this exception does not come while using same java client. 
 These steps are followed in java client:
 1.Creating MBeanServerConnection object
 ...
 MBeanServerConnection mbServerConn;   
 JMXServiceURL serviceURL = new 
 JMXServiceURL(service:jmx:rmi:///jndi/rmi://localhost/JMXConnector);
 HashtableString, Object env = new HashtableString, Object();
 String[] credentials = new String[2];
 credentials[0] = system;
 credentials[1] = manager;
 env.put(JMXConnector.CREDENTIALS, credentials); 

 JMXConnector connector = JMXConnectorFactory.connect(serviceURL, env);
 mbServerConn = connector.getMBeanServerConnection();
 ..
 2. Retrieving the mbean name to the agent-car-jmx plugin
 ..
 if(PATH == null) {
 SetObjectName mbeanNames = mbServerConn.queryNames(new 
 ObjectName(*:name=MasterRemoteControlJMX,*), null);
 for(IteratorObjectName it = mbeanNames.iterator(); it.hasNext(); ) {
 String mbeanName = ((ObjectName)it.next()).getCanonicalName();
 if(mbeanName.contains(agent-car-jmx)  
 mbeanName.contains(MasterRemoteControlJMX)  mbeanName.contains(GBean)) {
 PATH = mbeanName;
 break;
 }}
 if(PATH == null) {
 throw new Exception([ERROR] Required mbean not found: agent-car-jmx);
 }}
 ..
 Here I am getting mbean name as 
 geronimo:J2EEServer=geronimo,ServiceModule=org.apache.geronimo.plugins.monitoring/agent-car-jmx/2.1.5/car,j2eeType=GBean,name=MasterRemoteControlJMX
 3. Invoking startSnapshot
 ..
 long time = 30;
 int days = 2;
 mbServerConn.invoke(new ObjectName(PATH),startSnapshot, new Object[] { 
 time, days }, new String[] { java.lang.Long, java.lang.Integer });
 ..

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