Re: Testsuite module, with basic/crude Selenium support

2006-09-03 Thread Jason Dillon
Ya, I see this from time to time... not really sure why it pops up sometimes and not at others.  Its easy enough to fix... but I think that its much easier with ng.Still talking to maven folks about getting a release of surefire that works with testng + jdk14, but the 2.8-SNAPSHOT works for now...

Re: Testsuite module, with basic/crude Selenium support

2006-09-03 Thread Bill Dudney
So you got around this? This was not happening for me so I'm not sure what is going on, it appears from the next message that you got it to work. I did see an UndeclaredThrowableException a time or two but it was always because the selenium server was not running. I'm going to dig into yo

Re: When has the server started?

2006-09-03 Thread Jason Dillon
Okay, I was able to get something working... though I had to use classes from geronimo-kernel... not sure how to perform the same operations with just JMX interfaces. If anyone knows, please speak up... it would be nice to not need to use kernel classes to check a few boolean attributes on

Re: JPA Plugin patch

2006-09-03 Thread Jeff Genender
Jim Jagielski wrote: > Are plugins specific to Geronimo and Geronimo alone? > If so, then a sub-project might be a nice idea. > Yes...the plugins are specific to Geronimo. > If not, however, then there is little compelling need > to make G even more "bloated" with efforts than it is, > and mak

Re: Geronimo Plugins project (Re: Where to develop plugins

2006-09-03 Thread Bruce Snyder
On 9/3/06, Rodent of Unusual Size <[EMAIL PROTECTED]> wrote: The following sentence made me want to make sure we didn't wander into strange roads and get lost: "Remember that the Geronimo kernel has no knowledge of J2EE." This statement has no bearing on the outcome of the project - Geronimo

Re: Geronimo Plugins project (Re: Where to develop plugins

2006-09-03 Thread Rodent of Unusual Size
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bruce Snyder wrote: > On 9/2/06, Rodent of Unusual Size <[EMAIL PROTECTED]> wrote: >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA1 >> >> Bruce Snyder wrote: >>> For me, Jeff just hit the nail on the head. Remember that the Geronimo >>> kernel has n

Re: Geronimo Plugins project (Re: Where to develop plugins

2006-09-03 Thread Rodent of Unusual Size
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bruce Snyder wrote: > On 9/2/06, Rodent of Unusual Size <[EMAIL PROTECTED]> wrote: >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA1 >> >> Bruce Snyder wrote: >>> For me, Jeff just hit the nail on the head. Remember that the Geronimo >>> kernel has n

Re: JPA Plugin patch

2006-09-03 Thread Jim Jagielski
Are plugins specific to Geronimo and Geronimo alone? If so, then a sub-project might be a nice idea. If not, however, then there is little compelling need to make G even more "bloated" with efforts than it is, and making it a self-contained project would be best.

Re: When has the server started?

2006-09-03 Thread Jason Dillon
Okay, I will try that after I get some sleep. Its just a bit confusing since I don't see any attribute on any mbean that looks anything like kernelFullyStarted from jconsole. Thanks :-) --jason On Sep 3, 2006, at 6:00 AM, Aaron Mulder wrote: I think if you get the AbstractName for the Lo

Re: When has the server started?

2006-09-03 Thread Aaron Mulder
I think if you get the AbstractName for the LocalAttributeManager in a test program, there's a method on the AbstractName to get or generate an ObjectName, and then you could use that ObjectName to access the LocalAttributeManager (and therefore the kernelFullyStarted attribute) via JMX. I'm not

Re: When has the server started?

2006-09-03 Thread Jason Dillon
I found some bits in Daemon that I can use... though it iterates over all of the configs from a query... is there on bean that can be used to query the state? --jason On Sep 3, 2006, at 5:34 AM, Aaron Mulder wrote: I think kernelFullyStarted is a GBean attribute on only certain types of G

Re: When has the server started?

2006-09-03 Thread Jason Dillon
Any idea how to actually do that? --jason On Sep 3, 2006, at 5:34 AM, Aaron Mulder wrote: I think kernelFullyStarted is a GBean attribute on only certain types of GBeans -- I believe PersistentConfigurationList GBeans. It's set by Daemon.java when the startup process is complete, so it's not

Re: Geronimo Plugins project (Re: Where to develop plugins

2006-09-03 Thread Aaron Mulder
On 9/2/06, Jeff Genender <[EMAIL PROTECTED]> wrote: Why would you not want to take the lead on this? You helped push the idea, you have a majority of the knowledge and your mentoring would eventually provide your goal..."more plugin authors and more plugins developed" [paraphrase]. You have a s

Re: When has the server started?

2006-09-03 Thread Aaron Mulder
I think kernelFullyStarted is a GBean attribute on only certain types of GBeans -- I believe PersistentConfigurationList GBeans. It's set by Daemon.java when the startup process is complete, so it's not a kernel-level feature, but should still work for all practical purposes. I would think you'd

[jira] Closed: (GERONIMO-2374) use junit decorators with selenium

2006-09-03 Thread Jason Dillon (JIRA)
[ http://issues.apache.org/jira/browse/GERONIMO-2374?page=all ] Jason Dillon closed GERONIMO-2374. -- Fix Version/s: 1.2 Resolution: Fixed Okay, this is in... now we have two modules, one with my testng proto and one with your decorator proto. Ta

Re: Testsuite module, with basic/crude Selenium support

2006-09-03 Thread Jason Dillon
And... FYI, as I thought, the decorator setup is per-class... I added a TestLogin2Test that is just a plain copy to see what it would do. Anyways, looks like basic (testng) and basic-junit work, so I'm gonna commit your patch and we can discus further which is the best option. --jason On

Re: Testsuite module, with basic/crude Selenium support

2006-09-03 Thread Jason Dillon
FYI, I applied your patch... and surefire barfs as I thought it might: java.lang.reflect.UndeclaredThrowableException at $Proxy0.addError(Unknown Source) at junit.framework.TestResult.addError(TestResult.java:36) at junit.framework.TestResult.runProtected(TestResult.java:

Re: Testsuite module, with basic/crude Selenium support

2006-09-03 Thread Jason Dillon
I think I'm going to make 2 test groups for now... one to test testng and one to test the junit decorator bits... then we can see which works better. I've been playing with console-testsuite today using testng and it works well... nice to have tags to specify what methods to run before th

[jira] Closed: (GERONIMO-2299) Unpack assemblies for easier development/testing

2006-09-03 Thread Jason Dillon (JIRA)
[ http://issues.apache.org/jira/browse/GERONIMO-2299?page=all ] Jason Dillon closed GERONIMO-2299. -- Fix Version/s: 1.2 Resolution: Fixed I've added default assembly configuration for use with {{mvn geronimo:start}} (and {{mvn geronimo:stop}}).

[jira] Commented: (GERONIMO-2299) Unpack assemblies for easier development/testing

2006-09-03 Thread Jason Dillon (JIRA)
[ http://issues.apache.org/jira/browse/GERONIMO-2299?page=comments#action_12432325 ] Jason Dillon commented on GERONIMO-2299: Can probably use {{mvn geronimo:start}} for this... need to add a profile to the root pom with jetty and tomca

[jira] Commented: (GERONIMO-2348) Tomcat ConnectorGBean does not handle attribute values properly

2006-09-03 Thread Vamsavardhana Reddy (JIRA)
[ http://issues.apache.org/jira/browse/GERONIMO-2348?page=comments#action_12432324 ] Vamsavardhana Reddy commented on GERONIMO-2348: --- Created a bug report in bugzilla. Bug #40401. http://issues.apache.org/bugzilla/show_bug.cgi?id=