Re: Geronimo trunk build failure with fresh OpenEjb trunk build

2008-07-16 Thread David Jencks


On Jul 16, 2008, at 11:10 AM, David Blevins wrote:



On Jul 16, 2008, at 10:43 AM, David Blevins wrote:



On Jul 16, 2008, at 3:39 AM, Rick McGuire wrote:


David Blevins wrote:


On Jul 15, 2008, at 10:55 AM, Rick McGuire wrote:

I just committed this change.  It doesn't look like this is  
causing any tck issues.


Guessing a lot of those places you added the 3.1 api were more or  
less "just in case".  You definitely shouldn't need it in any  
modules that don't directly use the new ejb 3.1 API (thinking of  
the test suite and mejb).
Unfortunately, not true.  Any code that used the annotation  
deployer either directly or indirectly got the same error.  mejb,  
in fact, was the first place that got hit after I applied the two  
changes you recommended.  The direct references to the Singleton  
class were causing the issue.  After fixing mejb, it started to  
turn into a game of "whack-a-mole", so ended up doing a blanket  
add wherever the ejb 3.0 specs were used.


That's so weird.  OpenEJB needs a lot more dependencies that for  
some reason don't have to be declared in all those little modules.   
We have to be missing something.


This might also be a hack, but we could maybe add it to the plugins/ 
openejb/geronimo-openejb/src/main/resources/META-INF/geronimo- 
dependency.xml and get it into the system that way.


geronimo-dependencies.xml seems to mostly confuse people and I thought  
I'd eliminated all of them.  I think a better approach is to use the  
maven dependencies in the geronimo plugin module.  We can now set up  
the c-m-p to use transitive dependencies and maybe this would be a  
good test case for how well we can make this work (so far it's only  
used in the gshell plugins AFAIK)


Anyway geronimo-dependencies.xml is unknown to maven classloaders  
not sure exactly what the problems you are dealing with here are...


thanks
david jencks




-David




Rick


-David


Joe Bohn wrote:


Rick McGuire wrote:

David Blevins wrote:


On Jul 10, 2008, at 1:17 PM, Joe Bohn wrote:

If I build Geronimo trunk using the latest OpenEjb snapshots  
(published around 6/27-28) things build fine.  However, if I  
grab OpenEjb trunk and build it locally (to get the latest  
image) I get build failures (NoClassDefFoundError) in the  
Geronimo MEJB config.  I suspect we need to make some  
changes to accommodate the Singleton Session Beans  
implementation.  Is this complete yet and is anybody looking  
into the necessary Geronimo changes?


We'd need to get this dep in the right place if we wanted to  
keep using OpenEJB trunk:



  org.apache.openejb
  ejb31-api-experimental
  ${openejbVersion}


These two poms seem to be the only places where the ejb 3.0  
spec jar is used:


./framework/configs/jee-specs/pom.xml
./framework/modules/geronimo-j2ee/pom.xml

I'm fine giving it a shot if no one objects to being  
dependent on a non-final spec jar.  We might try it out and  
see if the tck complains at least.
I needed to do this to get a clean build using the latest, and  
it's a lot more than just those two poms that needed  
updating.  I'm going to try doing some tck runs to see how  
things look.


Rick



Hi Rick,  Is this at a point where you can check it in?   
Everybody is hitting the trunk build break now that new openejb  
snapshots have been published.


Thanks,
Joe








-David


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


[INFO] [enforcer:enforce {execution: default}]
[INFO] [remote-resources:process {execution: default}]
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [car:validate-configuration]
[INFO] [car:prepare-plan]
[INFO] Generated: /home/jbohn/geronimo/plugins/mejb/mejb/ 
target/resources/META-INF/plan.xml

[INFO] [car:package]
[INFO] Packaging module configuration: /home/jbohn/geronimo/ 
plugins/mejb/mejb/target/resources/META-INF/plan.xml
[INFO] Started deployer: org.apache.geronimo.framework/ 
geronimo-gbean-deployer/2.2-SNAPSHOT/car
[INFO] Started deployer: org.apache.geronimo.configs/openejb- 
deployer/2.2-SNAPSHOT/car
14:13:36,387 INFO  [config] Configuring Service(id=Default  
Stateless Container, type=Container, provider-id=Default  
Stateless Cont

ainer)
14:13:36,392 INFO  [config] Configuring Service(id=Default  
Stateful Container, type=Container, provider-id=Default  
Stateful Contai

ner)
14:13:36,393 INFO  [config] Configuring Service(id=Default  
BMP Container, type=Container, provider-id=Default BMP  
Container)
14:13:36,394 INFO  [config] Configuring Service(id=Default  
CMP Container, type=Container, provider-id=Default CMP  
Container)
14:13:36,402 INFO  [config] Configuring enterprise  
application: org.apache.geronimo.configs/mejb/2.2-SNAPSHOT/car

[ERROR] Deployment failed due to
java.lang.NoClassDefFoundError: java

Re: Geronimo trunk build failure with fresh OpenEjb trunk build

2008-07-16 Thread David Blevins


On Jul 16, 2008, at 10:43 AM, David Blevins wrote:



On Jul 16, 2008, at 3:39 AM, Rick McGuire wrote:


David Blevins wrote:


On Jul 15, 2008, at 10:55 AM, Rick McGuire wrote:

I just committed this change.  It doesn't look like this is  
causing any tck issues.


Guessing a lot of those places you added the 3.1 api were more or  
less "just in case".  You definitely shouldn't need it in any  
modules that don't directly use the new ejb 3.1 API (thinking of  
the test suite and mejb).
Unfortunately, not true.  Any code that used the annotation  
deployer either directly or indirectly got the same error.  mejb,  
in fact, was the first place that got hit after I applied the two  
changes you recommended.  The direct references to the Singleton  
class were causing the issue.  After fixing mejb, it started to  
turn into a game of "whack-a-mole", so ended up doing a blanket add  
wherever the ejb 3.0 specs were used.


That's so weird.  OpenEJB needs a lot more dependencies that for  
some reason don't have to be declared in all those little modules.   
We have to be missing something.


This might also be a hack, but we could maybe add it to the plugins/ 
openejb/geronimo-openejb/src/main/resources/META-INF/geronimo- 
dependency.xml and get it into the system that way.


-David




Rick


-David


Joe Bohn wrote:


Rick McGuire wrote:

David Blevins wrote:


On Jul 10, 2008, at 1:17 PM, Joe Bohn wrote:

If I build Geronimo trunk using the latest OpenEjb snapshots  
(published around 6/27-28) things build fine.  However, if I  
grab OpenEjb trunk and build it locally (to get the latest  
image) I get build failures (NoClassDefFoundError) in the  
Geronimo MEJB config.  I suspect we need to make some changes  
to accommodate the Singleton Session Beans implementation.   
Is this complete yet and is anybody looking into the  
necessary Geronimo changes?


We'd need to get this dep in the right place if we wanted to  
keep using OpenEJB trunk:


 
   org.apache.openejb
   ejb31-api-experimental
   ${openejbVersion}
 

These two poms seem to be the only places where the ejb 3.0  
spec jar is used:


./framework/configs/jee-specs/pom.xml
./framework/modules/geronimo-j2ee/pom.xml

I'm fine giving it a shot if no one objects to being dependent  
on a non-final spec jar.  We might try it out and see if the  
tck complains at least.
I needed to do this to get a clean build using the latest, and  
it's a lot more than just those two poms that needed updating.   
I'm going to try doing some tck runs to see how things look.


Rick



Hi Rick,  Is this at a point where you can check it in?   
Everybody is hitting the trunk build break now that new openejb  
snapshots have been published.


Thanks,
Joe








-David


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


[INFO] [enforcer:enforce {execution: default}]
[INFO] [remote-resources:process {execution: default}]
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [car:validate-configuration]
[INFO] [car:prepare-plan]
[INFO] Generated: /home/jbohn/geronimo/plugins/mejb/mejb/ 
target/resources/META-INF/plan.xml

[INFO] [car:package]
[INFO] Packaging module configuration: /home/jbohn/geronimo/ 
plugins/mejb/mejb/target/resources/META-INF/plan.xml
[INFO] Started deployer: org.apache.geronimo.framework/ 
geronimo-gbean-deployer/2.2-SNAPSHOT/car
[INFO] Started deployer: org.apache.geronimo.configs/openejb- 
deployer/2.2-SNAPSHOT/car
14:13:36,387 INFO  [config] Configuring Service(id=Default  
Stateless Container, type=Container, provider-id=Default  
Stateless Cont

ainer)
14:13:36,392 INFO  [config] Configuring Service(id=Default  
Stateful Container, type=Container, provider-id=Default  
Stateful Contai

ner)
14:13:36,393 INFO  [config] Configuring Service(id=Default  
BMP Container, type=Container, provider-id=Default BMP  
Container)
14:13:36,394 INFO  [config] Configuring Service(id=Default  
CMP Container, type=Container, provider-id=Default CMP  
Container)
14:13:36,402 INFO  [config] Configuring enterprise  
application: org.apache.geronimo.configs/mejb/2.2-SNAPSHOT/car

[ERROR] Deployment failed due to
java.lang.NoClassDefFoundError: javax/ejb/Singleton
org.apache.openejb.config.AnnotationDeployer 
$DiscoverAnnotatedBeans.deploy(AnnotationDeployer.java:339)
org.apache.openejb.config.AnnotationDeployer 
$DiscoverAnnotatedBeans.deploy(AnnotationDeployer.java:230)
org 
.apache 
.openejb 
.config.AnnotationDeployer.deploy(AnnotationDeployer.java:174)
org.apache.openejb.config.ConfigurationFactory 
$Chain.deploy(ConfigurationFactory.java:228)
org 
.apache 
.openejb 
.config 
.ConfigurationFactory 
.configureApplication(ConfigurationFactory.java:584)
org 
.apache 
.geronimo 
.openejb 
.deployment 
.EjbModuleBuilder.configureApplication(Ejb

Re: Geronimo trunk build failure with fresh OpenEjb trunk build

2008-07-16 Thread David Blevins


On Jul 16, 2008, at 3:39 AM, Rick McGuire wrote:


David Blevins wrote:


On Jul 15, 2008, at 10:55 AM, Rick McGuire wrote:

I just committed this change.  It doesn't look like this is  
causing any tck issues.


Guessing a lot of those places you added the 3.1 api were more or  
less "just in case".  You definitely shouldn't need it in any  
modules that don't directly use the new ejb 3.1 API (thinking of  
the test suite and mejb).
Unfortunately, not true.  Any code that used the annotation deployer  
either directly or indirectly got the same error.  mejb, in fact,  
was the first place that got hit after I applied the two changes you  
recommended.  The direct references to the Singleton class were  
causing the issue.  After fixing mejb, it started to turn into a  
game of "whack-a-mole", so ended up doing a blanket add wherever the  
ejb 3.0 specs were used.


That's so weird.  OpenEJB needs a lot more dependencies that for some  
reason don't have to be declared in all those little modules.  We have  
to be missing something.


-David





Rick


-David


Joe Bohn wrote:


Rick McGuire wrote:

David Blevins wrote:


On Jul 10, 2008, at 1:17 PM, Joe Bohn wrote:

If I build Geronimo trunk using the latest OpenEjb snapshots  
(published around 6/27-28) things build fine.  However, if I  
grab OpenEjb trunk and build it locally (to get the latest  
image) I get build failures (NoClassDefFoundError) in the  
Geronimo MEJB config.  I suspect we need to make some changes  
to accommodate the Singleton Session Beans implementation.  Is  
this complete yet and is anybody looking into the necessary  
Geronimo changes?


We'd need to get this dep in the right place if we wanted to  
keep using OpenEJB trunk:


  
org.apache.openejb
ejb31-api-experimental
${openejbVersion}
  

These two poms seem to be the only places where the ejb 3.0  
spec jar is used:


./framework/configs/jee-specs/pom.xml
./framework/modules/geronimo-j2ee/pom.xml

I'm fine giving it a shot if no one objects to being dependent  
on a non-final spec jar.  We might try it out and see if the  
tck complains at least.
I needed to do this to get a clean build using the latest, and  
it's a lot more than just those two poms that needed updating.   
I'm going to try doing some tck runs to see how things look.


Rick



Hi Rick,  Is this at a point where you can check it in?   
Everybody is hitting the trunk build break now that new openejb  
snapshots have been published.


Thanks,
Joe








-David


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


[INFO] [enforcer:enforce {execution: default}]
[INFO] [remote-resources:process {execution: default}]
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [car:validate-configuration]
[INFO] [car:prepare-plan]
[INFO] Generated: /home/jbohn/geronimo/plugins/mejb/mejb/ 
target/resources/META-INF/plan.xml

[INFO] [car:package]
[INFO] Packaging module configuration: /home/jbohn/geronimo/ 
plugins/mejb/mejb/target/resources/META-INF/plan.xml
[INFO] Started deployer: org.apache.geronimo.framework/ 
geronimo-gbean-deployer/2.2-SNAPSHOT/car
[INFO] Started deployer: org.apache.geronimo.configs/openejb- 
deployer/2.2-SNAPSHOT/car
14:13:36,387 INFO  [config] Configuring Service(id=Default  
Stateless Container, type=Container, provider-id=Default  
Stateless Cont

ainer)
14:13:36,392 INFO  [config] Configuring Service(id=Default  
Stateful Container, type=Container, provider-id=Default  
Stateful Contai

ner)
14:13:36,393 INFO  [config] Configuring Service(id=Default BMP  
Container, type=Container, provider-id=Default BMP Container)
14:13:36,394 INFO  [config] Configuring Service(id=Default CMP  
Container, type=Container, provider-id=Default CMP Container)
14:13:36,402 INFO  [config] Configuring enterprise  
application: org.apache.geronimo.configs/mejb/2.2-SNAPSHOT/car

[ERROR] Deployment failed due to
java.lang.NoClassDefFoundError: javax/ejb/Singleton
org.apache.openejb.config.AnnotationDeployer 
$DiscoverAnnotatedBeans.deploy(AnnotationDeployer.java:339)
org.apache.openejb.config.AnnotationDeployer 
$DiscoverAnnotatedBeans.deploy(AnnotationDeployer.java:230)
org 
.apache 
.openejb 
.config.AnnotationDeployer.deploy(AnnotationDeployer.java:174)
org.apache.openejb.config.ConfigurationFactory 
$Chain.deploy(ConfigurationFactory.java:228)
org 
.apache 
.openejb 
.config 
.ConfigurationFactory 
.configureApplication(ConfigurationFactory.java:584)
org 
.apache 
.geronimo 
.openejb 
.deployment 
.EjbModuleBuilder.configureApplication(EjbModuleBuilder.java: 
645)

























Re: Geronimo trunk build failure with fresh OpenEjb trunk build

2008-07-16 Thread Rick McGuire

David Blevins wrote:


On Jul 15, 2008, at 10:55 AM, Rick McGuire wrote:

I just committed this change.  It doesn't look like this is causing 
any tck issues.


Guessing a lot of those places you added the 3.1 api were more or less 
"just in case".  You definitely shouldn't need it in any modules that 
don't directly use the new ejb 3.1 API (thinking of the test suite and 
mejb).
Unfortunately, not true.  Any code that used the annotation deployer 
either directly or indirectly got the same error.  mejb, in fact, was 
the first place that got hit after I applied the two changes you 
recommended.  The direct references to the Singleton class were causing 
the issue.  After fixing mejb, it started to turn into a game of 
"whack-a-mole", so ended up doing a blanket add wherever the ejb 3.0 
specs were used.


Rick


-David


Joe Bohn wrote:


Rick McGuire wrote:

David Blevins wrote:


On Jul 10, 2008, at 1:17 PM, Joe Bohn wrote:

If I build Geronimo trunk using the latest OpenEjb snapshots 
(published around 6/27-28) things build fine.  However, if I grab 
OpenEjb trunk and build it locally (to get the latest image) I 
get build failures (NoClassDefFoundError) in the Geronimo MEJB 
config.  I suspect we need to make some changes to accommodate 
the Singleton Session Beans implementation.  Is this complete yet 
and is anybody looking into the necessary Geronimo changes?


We'd need to get this dep in the right place if we wanted to keep 
using OpenEJB trunk:


   
 org.apache.openejb
 ejb31-api-experimental
 ${openejbVersion}
   

These two poms seem to be the only places where the ejb 3.0 spec 
jar is used:


./framework/configs/jee-specs/pom.xml
./framework/modules/geronimo-j2ee/pom.xml

I'm fine giving it a shot if no one objects to being dependent on 
a non-final spec jar.  We might try it out and see if the tck 
complains at least.
I needed to do this to get a clean build using the latest, and it's 
a lot more than just those two poms that needed updating.  I'm 
going to try doing some tck runs to see how things look.


Rick



Hi Rick,  Is this at a point where you can check it in?  Everybody 
is hitting the trunk build break now that new openejb snapshots have 
been published.


Thanks,
Joe








-David

--- 


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


[INFO] [enforcer:enforce {execution: default}]
[INFO] [remote-resources:process {execution: default}]
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [car:validate-configuration]
[INFO] [car:prepare-plan]
[INFO] Generated: 
/home/jbohn/geronimo/plugins/mejb/mejb/target/resources/META-INF/plan.xml 


[INFO] [car:package]
[INFO] Packaging module configuration: 
/home/jbohn/geronimo/plugins/mejb/mejb/target/resources/META-INF/plan.xml 

[INFO] Started deployer: 
org.apache.geronimo.framework/geronimo-gbean-deployer/2.2-SNAPSHOT/car 

[INFO] Started deployer: 
org.apache.geronimo.configs/openejb-deployer/2.2-SNAPSHOT/car
14:13:36,387 INFO  [config] Configuring Service(id=Default 
Stateless Container, type=Container, provider-id=Default 
Stateless Cont

ainer)
14:13:36,392 INFO  [config] Configuring Service(id=Default 
Stateful Container, type=Container, provider-id=Default Stateful 
Contai

ner)
14:13:36,393 INFO  [config] Configuring Service(id=Default BMP 
Container, type=Container, provider-id=Default BMP Container)
14:13:36,394 INFO  [config] Configuring Service(id=Default CMP 
Container, type=Container, provider-id=Default CMP Container)
14:13:36,402 INFO  [config] Configuring enterprise application: 
org.apache.geronimo.configs/mejb/2.2-SNAPSHOT/car

[ERROR] Deployment failed due to
java.lang.NoClassDefFoundError: javax/ejb/Singleton
org.apache.openejb.config.AnnotationDeployer$DiscoverAnnotatedBeans.deploy(AnnotationDeployer.java:339) 

org.apache.openejb.config.AnnotationDeployer$DiscoverAnnotatedBeans.deploy(AnnotationDeployer.java:230) 

org.apache.openejb.config.AnnotationDeployer.deploy(AnnotationDeployer.java:174) 

org.apache.openejb.config.ConfigurationFactory$Chain.deploy(ConfigurationFactory.java:228) 

org.apache.openejb.config.ConfigurationFactory.configureApplication(ConfigurationFactory.java:584) 

org.apache.geronimo.openejb.deployment.EjbModuleBuilder.configureApplication(EjbModuleBuilder.java:645) 























Re: Geronimo trunk build failure with fresh OpenEjb trunk build

2008-07-15 Thread David Blevins


On Jul 15, 2008, at 10:55 AM, Rick McGuire wrote:

I just committed this change.  It doesn't look like this is causing  
any tck issues.


Guessing a lot of those places you added the 3.1 api were more or less  
"just in case".  You definitely shouldn't need it in any modules that  
don't directly use the new ejb 3.1 API (thinking of the test suite and  
mejb).


-David


Joe Bohn wrote:


Rick McGuire wrote:

David Blevins wrote:


On Jul 10, 2008, at 1:17 PM, Joe Bohn wrote:

If I build Geronimo trunk using the latest OpenEjb snapshots  
(published around 6/27-28) things build fine.  However, if I  
grab OpenEjb trunk and build it locally (to get the latest  
image) I get build failures (NoClassDefFoundError) in the  
Geronimo MEJB config.  I suspect we need to make some changes to  
accommodate the Singleton Session Beans implementation.  Is this  
complete yet and is anybody looking into the necessary Geronimo  
changes?


We'd need to get this dep in the right place if we wanted to keep  
using OpenEJB trunk:


   
 org.apache.openejb
 ejb31-api-experimental
 ${openejbVersion}
   

These two poms seem to be the only places where the ejb 3.0 spec  
jar is used:


./framework/configs/jee-specs/pom.xml
./framework/modules/geronimo-j2ee/pom.xml

I'm fine giving it a shot if no one objects to being dependent on  
a non-final spec jar.  We might try it out and see if the tck  
complains at least.
I needed to do this to get a clean build using the latest, and  
it's a lot more than just those two poms that needed updating.   
I'm going to try doing some tck runs to see how things look.


Rick



Hi Rick,  Is this at a point where you can check it in?  Everybody  
is hitting the trunk build break now that new openejb snapshots  
have been published.


Thanks,
Joe








-David


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


[INFO] [enforcer:enforce {execution: default}]
[INFO] [remote-resources:process {execution: default}]
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [car:validate-configuration]
[INFO] [car:prepare-plan]
[INFO] Generated: /home/jbohn/geronimo/plugins/mejb/mejb/target/ 
resources/META-INF/plan.xml

[INFO] [car:package]
[INFO] Packaging module configuration: /home/jbohn/geronimo/ 
plugins/mejb/mejb/target/resources/META-INF/plan.xml
[INFO] Started deployer: org.apache.geronimo.framework/geronimo- 
gbean-deployer/2.2-SNAPSHOT/car
[INFO] Started deployer: org.apache.geronimo.configs/openejb- 
deployer/2.2-SNAPSHOT/car
14:13:36,387 INFO  [config] Configuring Service(id=Default  
Stateless Container, type=Container, provider-id=Default  
Stateless Cont

ainer)
14:13:36,392 INFO  [config] Configuring Service(id=Default  
Stateful Container, type=Container, provider-id=Default Stateful  
Contai

ner)
14:13:36,393 INFO  [config] Configuring Service(id=Default BMP  
Container, type=Container, provider-id=Default BMP Container)
14:13:36,394 INFO  [config] Configuring Service(id=Default CMP  
Container, type=Container, provider-id=Default CMP Container)
14:13:36,402 INFO  [config] Configuring enterprise application:  
org.apache.geronimo.configs/mejb/2.2-SNAPSHOT/car

[ERROR] Deployment failed due to
java.lang.NoClassDefFoundError: javax/ejb/Singleton
org.apache.openejb.config.AnnotationDeployer 
$DiscoverAnnotatedBeans.deploy(AnnotationDeployer.java:339)
org.apache.openejb.config.AnnotationDeployer 
$DiscoverAnnotatedBeans.deploy(AnnotationDeployer.java:230)
org 
.apache 
.openejb 
.config.AnnotationDeployer.deploy(AnnotationDeployer.java:174)
org.apache.openejb.config.ConfigurationFactory 
$Chain.deploy(ConfigurationFactory.java:228)
org 
.apache 
.openejb 
.config 
.ConfigurationFactory 
.configureApplication(ConfigurationFactory.java:584)
org 
.apache 
.geronimo 
.openejb 
.deployment 
.EjbModuleBuilder.configureApplication(EjbModuleBuilder.java:645)



















Re: Geronimo trunk build failure with fresh OpenEjb trunk build

2008-07-15 Thread Rick McGuire

Joe,

I just committed this change.  It doesn't look like this is causing any 
tck issues.


Rick


Joe Bohn wrote:


Rick McGuire wrote:

David Blevins wrote:


On Jul 10, 2008, at 1:17 PM, Joe Bohn wrote:

If I build Geronimo trunk using the latest OpenEjb snapshots 
(published around 6/27-28) things build fine.  However, if I grab 
OpenEjb trunk and build it locally (to get the latest image) I get 
build failures (NoClassDefFoundError) in the Geronimo MEJB config.  
I suspect we need to make some changes to accommodate the Singleton 
Session Beans implementation.  Is this complete yet and is anybody 
looking into the necessary Geronimo changes?


We'd need to get this dep in the right place if we wanted to keep 
using OpenEJB trunk:



  org.apache.openejb
  ejb31-api-experimental
  ${openejbVersion}


These two poms seem to be the only places where the ejb 3.0 spec jar 
is used:


 ./framework/configs/jee-specs/pom.xml
 ./framework/modules/geronimo-j2ee/pom.xml

I'm fine giving it a shot if no one objects to being dependent on a 
non-final spec jar.  We might try it out and see if the tck 
complains at least.
I needed to do this to get a clean build using the latest, and it's a 
lot more than just those two poms that needed updating.  I'm going to 
try doing some tck runs to see how things look.


Rick



Hi Rick,  Is this at a point where you can check it in?  Everybody is 
hitting the trunk build break now that new openejb snapshots have been 
published.


Thanks,
Joe








-David

--- 


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


[INFO] [enforcer:enforce {execution: default}]
[INFO] [remote-resources:process {execution: default}]
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [car:validate-configuration]
[INFO] [car:prepare-plan]
[INFO] Generated: 
/home/jbohn/geronimo/plugins/mejb/mejb/target/resources/META-INF/plan.xml 


[INFO] [car:package]
[INFO] Packaging module configuration: 
/home/jbohn/geronimo/plugins/mejb/mejb/target/resources/META-INF/plan.xml 

[INFO] Started deployer: 
org.apache.geronimo.framework/geronimo-gbean-deployer/2.2-SNAPSHOT/car
[INFO] Started deployer: 
org.apache.geronimo.configs/openejb-deployer/2.2-SNAPSHOT/car
14:13:36,387 INFO  [config] Configuring Service(id=Default 
Stateless Container, type=Container, provider-id=Default Stateless 
Cont

ainer)
14:13:36,392 INFO  [config] Configuring Service(id=Default Stateful 
Container, type=Container, provider-id=Default Stateful Contai

ner)
14:13:36,393 INFO  [config] Configuring Service(id=Default BMP 
Container, type=Container, provider-id=Default BMP Container)
14:13:36,394 INFO  [config] Configuring Service(id=Default CMP 
Container, type=Container, provider-id=Default CMP Container)
14:13:36,402 INFO  [config] Configuring enterprise application: 
org.apache.geronimo.configs/mejb/2.2-SNAPSHOT/car

[ERROR] Deployment failed due to
java.lang.NoClassDefFoundError: javax/ejb/Singleton
org.apache.openejb.config.AnnotationDeployer$DiscoverAnnotatedBeans.deploy(AnnotationDeployer.java:339) 

org.apache.openejb.config.AnnotationDeployer$DiscoverAnnotatedBeans.deploy(AnnotationDeployer.java:230) 

org.apache.openejb.config.AnnotationDeployer.deploy(AnnotationDeployer.java:174) 

org.apache.openejb.config.ConfigurationFactory$Chain.deploy(ConfigurationFactory.java:228) 

org.apache.openejb.config.ConfigurationFactory.configureApplication(ConfigurationFactory.java:584) 

org.apache.geronimo.openejb.deployment.EjbModuleBuilder.configureApplication(EjbModuleBuilder.java:645) 

















Re: Geronimo trunk build failure with fresh OpenEjb trunk build

2008-07-15 Thread Rick McGuire

Joe Bohn wrote:


Rick McGuire wrote:

David Blevins wrote:


On Jul 10, 2008, at 1:17 PM, Joe Bohn wrote:

If I build Geronimo trunk using the latest OpenEjb snapshots 
(published around 6/27-28) things build fine.  However, if I grab 
OpenEjb trunk and build it locally (to get the latest image) I get 
build failures (NoClassDefFoundError) in the Geronimo MEJB config.  
I suspect we need to make some changes to accommodate the Singleton 
Session Beans implementation.  Is this complete yet and is anybody 
looking into the necessary Geronimo changes?


We'd need to get this dep in the right place if we wanted to keep 
using OpenEJB trunk:



  org.apache.openejb
  ejb31-api-experimental
  ${openejbVersion}


These two poms seem to be the only places where the ejb 3.0 spec jar 
is used:


 ./framework/configs/jee-specs/pom.xml
 ./framework/modules/geronimo-j2ee/pom.xml

I'm fine giving it a shot if no one objects to being dependent on a 
non-final spec jar.  We might try it out and see if the tck 
complains at least.
I needed to do this to get a clean build using the latest, and it's a 
lot more than just those two poms that needed updating.  I'm going to 
try doing some tck runs to see how things look.


Rick



Hi Rick,  Is this at a point where you can check it in?  Everybody is 
hitting the trunk build break now that new openejb snapshots have been 
published.
I've got Jason doing some TCK runs with this changeI have a 
suspicion we might run into problems with signature tests.  I could 
check it in if we're willing to deal with the implications after the fact.


Rick




Thanks,
Joe








-David

--- 


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


[INFO] [enforcer:enforce {execution: default}]
[INFO] [remote-resources:process {execution: default}]
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [car:validate-configuration]
[INFO] [car:prepare-plan]
[INFO] Generated: 
/home/jbohn/geronimo/plugins/mejb/mejb/target/resources/META-INF/plan.xml 


[INFO] [car:package]
[INFO] Packaging module configuration: 
/home/jbohn/geronimo/plugins/mejb/mejb/target/resources/META-INF/plan.xml 

[INFO] Started deployer: 
org.apache.geronimo.framework/geronimo-gbean-deployer/2.2-SNAPSHOT/car
[INFO] Started deployer: 
org.apache.geronimo.configs/openejb-deployer/2.2-SNAPSHOT/car
14:13:36,387 INFO  [config] Configuring Service(id=Default 
Stateless Container, type=Container, provider-id=Default Stateless 
Cont

ainer)
14:13:36,392 INFO  [config] Configuring Service(id=Default Stateful 
Container, type=Container, provider-id=Default Stateful Contai

ner)
14:13:36,393 INFO  [config] Configuring Service(id=Default BMP 
Container, type=Container, provider-id=Default BMP Container)
14:13:36,394 INFO  [config] Configuring Service(id=Default CMP 
Container, type=Container, provider-id=Default CMP Container)
14:13:36,402 INFO  [config] Configuring enterprise application: 
org.apache.geronimo.configs/mejb/2.2-SNAPSHOT/car

[ERROR] Deployment failed due to
java.lang.NoClassDefFoundError: javax/ejb/Singleton
org.apache.openejb.config.AnnotationDeployer$DiscoverAnnotatedBeans.deploy(AnnotationDeployer.java:339) 

org.apache.openejb.config.AnnotationDeployer$DiscoverAnnotatedBeans.deploy(AnnotationDeployer.java:230) 

org.apache.openejb.config.AnnotationDeployer.deploy(AnnotationDeployer.java:174) 

org.apache.openejb.config.ConfigurationFactory$Chain.deploy(ConfigurationFactory.java:228) 

org.apache.openejb.config.ConfigurationFactory.configureApplication(ConfigurationFactory.java:584) 

org.apache.geronimo.openejb.deployment.EjbModuleBuilder.configureApplication(EjbModuleBuilder.java:645) 

















Re: Geronimo trunk build failure with fresh OpenEjb trunk build

2008-07-15 Thread Joe Bohn


Rick McGuire wrote:

David Blevins wrote:


On Jul 10, 2008, at 1:17 PM, Joe Bohn wrote:

If I build Geronimo trunk using the latest OpenEjb snapshots 
(published around 6/27-28) things build fine.  However, if I grab 
OpenEjb trunk and build it locally (to get the latest image) I get 
build failures (NoClassDefFoundError) in the Geronimo MEJB config.  I 
suspect we need to make some changes to accommodate the Singleton 
Session Beans implementation.  Is this complete yet and is anybody 
looking into the necessary Geronimo changes?


We'd need to get this dep in the right place if we wanted to keep 
using OpenEJB trunk:



  org.apache.openejb
  ejb31-api-experimental
  ${openejbVersion}


These two poms seem to be the only places where the ejb 3.0 spec jar 
is used:


 ./framework/configs/jee-specs/pom.xml
 ./framework/modules/geronimo-j2ee/pom.xml

I'm fine giving it a shot if no one objects to being dependent on a 
non-final spec jar.  We might try it out and see if the tck complains 
at least.
I needed to do this to get a clean build using the latest, and it's a 
lot more than just those two poms that needed updating.  I'm going to 
try doing some tck runs to see how things look.


Rick



Hi Rick,  Is this at a point where you can check it in?  Everybody is 
hitting the trunk build break now that new openejb snapshots have been 
published.


Thanks,
Joe








-David


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


[INFO] [enforcer:enforce {execution: default}]
[INFO] [remote-resources:process {execution: default}]
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [car:validate-configuration]
[INFO] [car:prepare-plan]
[INFO] Generated: 
/home/jbohn/geronimo/plugins/mejb/mejb/target/resources/META-INF/plan.xml 


[INFO] [car:package]
[INFO] Packaging module configuration: 
/home/jbohn/geronimo/plugins/mejb/mejb/target/resources/META-INF/plan.xml 

[INFO] Started deployer: 
org.apache.geronimo.framework/geronimo-gbean-deployer/2.2-SNAPSHOT/car
[INFO] Started deployer: 
org.apache.geronimo.configs/openejb-deployer/2.2-SNAPSHOT/car
14:13:36,387 INFO  [config] Configuring Service(id=Default Stateless 
Container, type=Container, provider-id=Default Stateless Cont

ainer)
14:13:36,392 INFO  [config] Configuring Service(id=Default Stateful 
Container, type=Container, provider-id=Default Stateful Contai

ner)
14:13:36,393 INFO  [config] Configuring Service(id=Default BMP 
Container, type=Container, provider-id=Default BMP Container)
14:13:36,394 INFO  [config] Configuring Service(id=Default CMP 
Container, type=Container, provider-id=Default CMP Container)
14:13:36,402 INFO  [config] Configuring enterprise application: 
org.apache.geronimo.configs/mejb/2.2-SNAPSHOT/car

[ERROR] Deployment failed due to
java.lang.NoClassDefFoundError: javax/ejb/Singleton
org.apache.openejb.config.AnnotationDeployer$DiscoverAnnotatedBeans.deploy(AnnotationDeployer.java:339) 

org.apache.openejb.config.AnnotationDeployer$DiscoverAnnotatedBeans.deploy(AnnotationDeployer.java:230) 

org.apache.openejb.config.AnnotationDeployer.deploy(AnnotationDeployer.java:174) 

org.apache.openejb.config.ConfigurationFactory$Chain.deploy(ConfigurationFactory.java:228) 

org.apache.openejb.config.ConfigurationFactory.configureApplication(ConfigurationFactory.java:584) 

org.apache.geronimo.openejb.deployment.EjbModuleBuilder.configureApplication(EjbModuleBuilder.java:645) 














Re: Geronimo trunk build failure with fresh OpenEjb trunk build

2008-07-14 Thread Rick McGuire

David Blevins wrote:


On Jul 10, 2008, at 1:17 PM, Joe Bohn wrote:

If I build Geronimo trunk using the latest OpenEjb snapshots 
(published around 6/27-28) things build fine.  However, if I grab 
OpenEjb trunk and build it locally (to get the latest image) I get 
build failures (NoClassDefFoundError) in the Geronimo MEJB config.  I 
suspect we need to make some changes to accommodate the Singleton 
Session Beans implementation.  Is this complete yet and is anybody 
looking into the necessary Geronimo changes?


We'd need to get this dep in the right place if we wanted to keep 
using OpenEJB trunk:



  org.apache.openejb
  ejb31-api-experimental
  ${openejbVersion}


These two poms seem to be the only places where the ejb 3.0 spec jar 
is used:


 ./framework/configs/jee-specs/pom.xml
 ./framework/modules/geronimo-j2ee/pom.xml

I'm fine giving it a shot if no one objects to being dependent on a 
non-final spec jar.  We might try it out and see if the tck complains 
at least.
I needed to do this to get a clean build using the latest, and it's a 
lot more than just those two poms that needed updating.  I'm going to 
try doing some tck runs to see how things look.


Rick




-David


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


[INFO] [enforcer:enforce {execution: default}]
[INFO] [remote-resources:process {execution: default}]
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [car:validate-configuration]
[INFO] [car:prepare-plan]
[INFO] Generated: 
/home/jbohn/geronimo/plugins/mejb/mejb/target/resources/META-INF/plan.xml 


[INFO] [car:package]
[INFO] Packaging module configuration: 
/home/jbohn/geronimo/plugins/mejb/mejb/target/resources/META-INF/plan.xml 

[INFO] Started deployer: 
org.apache.geronimo.framework/geronimo-gbean-deployer/2.2-SNAPSHOT/car
[INFO] Started deployer: 
org.apache.geronimo.configs/openejb-deployer/2.2-SNAPSHOT/car
14:13:36,387 INFO  [config] Configuring Service(id=Default Stateless 
Container, type=Container, provider-id=Default Stateless Cont

ainer)
14:13:36,392 INFO  [config] Configuring Service(id=Default Stateful 
Container, type=Container, provider-id=Default Stateful Contai

ner)
14:13:36,393 INFO  [config] Configuring Service(id=Default BMP 
Container, type=Container, provider-id=Default BMP Container)
14:13:36,394 INFO  [config] Configuring Service(id=Default CMP 
Container, type=Container, provider-id=Default CMP Container)
14:13:36,402 INFO  [config] Configuring enterprise application: 
org.apache.geronimo.configs/mejb/2.2-SNAPSHOT/car

[ERROR] Deployment failed due to
java.lang.NoClassDefFoundError: javax/ejb/Singleton
org.apache.openejb.config.AnnotationDeployer$DiscoverAnnotatedBeans.deploy(AnnotationDeployer.java:339) 

org.apache.openejb.config.AnnotationDeployer$DiscoverAnnotatedBeans.deploy(AnnotationDeployer.java:230) 

org.apache.openejb.config.AnnotationDeployer.deploy(AnnotationDeployer.java:174) 

org.apache.openejb.config.ConfigurationFactory$Chain.deploy(ConfigurationFactory.java:228) 

org.apache.openejb.config.ConfigurationFactory.configureApplication(ConfigurationFactory.java:584) 

org.apache.geronimo.openejb.deployment.EjbModuleBuilder.configureApplication(EjbModuleBuilder.java:645) 











Re: Geronimo trunk build failure with fresh OpenEjb trunk build

2008-07-11 Thread Joe Bohn

David Blevins wrote:


On Jul 10, 2008, at 1:17 PM, Joe Bohn wrote:

If I build Geronimo trunk using the latest OpenEjb snapshots 
(published around 6/27-28) things build fine.  However, if I grab 
OpenEjb trunk and build it locally (to get the latest image) I get 
build failures (NoClassDefFoundError) in the Geronimo MEJB config.  I 
suspect we need to make some changes to accommodate the Singleton 
Session Beans implementation.  Is this complete yet and is anybody 
looking into the necessary Geronimo changes?


We'd need to get this dep in the right place if we wanted to keep using 
OpenEJB trunk:



  org.apache.openejb
  ejb31-api-experimental
  ${openejbVersion}


These two poms seem to be the only places where the ejb 3.0 spec jar is 
used:


 ./framework/configs/jee-specs/pom.xml
 ./framework/modules/geronimo-j2ee/pom.xml

I'm fine giving it a shot if no one objects to being dependent on a 
non-final spec jar.  We might try it out and see if the tck complains at 
least.


I guess it wouldn't hurt to give it a try.  TCK has already been 
complaining with the SNAPSHOTs that are currently published (see the tck 
list a few months back for the errors - AFAIK they haven't changed any).


Joe




-David


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


[INFO] [enforcer:enforce {execution: default}]
[INFO] [remote-resources:process {execution: default}]
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [car:validate-configuration]
[INFO] [car:prepare-plan]
[INFO] Generated: 
/home/jbohn/geronimo/plugins/mejb/mejb/target/resources/META-INF/plan.xml

[INFO] [car:package]
[INFO] Packaging module configuration: 
/home/jbohn/geronimo/plugins/mejb/mejb/target/resources/META-INF/plan.xml
[INFO] Started deployer: 
org.apache.geronimo.framework/geronimo-gbean-deployer/2.2-SNAPSHOT/car
[INFO] Started deployer: 
org.apache.geronimo.configs/openejb-deployer/2.2-SNAPSHOT/car
14:13:36,387 INFO  [config] Configuring Service(id=Default Stateless 
Container, type=Container, provider-id=Default Stateless Cont

ainer)
14:13:36,392 INFO  [config] Configuring Service(id=Default Stateful 
Container, type=Container, provider-id=Default Stateful Contai

ner)
14:13:36,393 INFO  [config] Configuring Service(id=Default BMP 
Container, type=Container, provider-id=Default BMP Container)
14:13:36,394 INFO  [config] Configuring Service(id=Default CMP 
Container, type=Container, provider-id=Default CMP Container)
14:13:36,402 INFO  [config] Configuring enterprise application: 
org.apache.geronimo.configs/mejb/2.2-SNAPSHOT/car

[ERROR] Deployment failed due to
java.lang.NoClassDefFoundError: javax/ejb/Singleton
org.apache.openejb.config.AnnotationDeployer$DiscoverAnnotatedBeans.deploy(AnnotationDeployer.java:339) 

org.apache.openejb.config.AnnotationDeployer$DiscoverAnnotatedBeans.deploy(AnnotationDeployer.java:230) 

org.apache.openejb.config.AnnotationDeployer.deploy(AnnotationDeployer.java:174) 

org.apache.openejb.config.ConfigurationFactory$Chain.deploy(ConfigurationFactory.java:228) 

org.apache.openejb.config.ConfigurationFactory.configureApplication(ConfigurationFactory.java:584) 

org.apache.geronimo.openejb.deployment.EjbModuleBuilder.configureApplication(EjbModuleBuilder.java:645) 











Re: Geronimo trunk build failure with fresh OpenEjb trunk build

2008-07-10 Thread David Blevins


On Jul 10, 2008, at 1:17 PM, Joe Bohn wrote:

If I build Geronimo trunk using the latest OpenEjb snapshots  
(published around 6/27-28) things build fine.  However, if I grab  
OpenEjb trunk and build it locally (to get the latest image) I get  
build failures (NoClassDefFoundError) in the Geronimo MEJB config.   
I suspect we need to make some changes to accommodate the Singleton  
Session Beans implementation.  Is this complete yet and is anybody  
looking into the necessary Geronimo changes?


We'd need to get this dep in the right place if we wanted to keep  
using OpenEJB trunk:



  org.apache.openejb
  ejb31-api-experimental
  ${openejbVersion}


These two poms seem to be the only places where the ejb 3.0 spec jar  
is used:


 ./framework/configs/jee-specs/pom.xml
 ./framework/modules/geronimo-j2ee/pom.xml

I'm fine giving it a shot if no one objects to being dependent on a  
non-final spec jar.  We might try it out and see if the tck complains  
at least.


-David


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


[INFO] [enforcer:enforce {execution: default}]
[INFO] [remote-resources:process {execution: default}]
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [car:validate-configuration]
[INFO] [car:prepare-plan]
[INFO] Generated: /home/jbohn/geronimo/plugins/mejb/mejb/target/ 
resources/META-INF/plan.xml

[INFO] [car:package]
[INFO] Packaging module configuration: /home/jbohn/geronimo/plugins/ 
mejb/mejb/target/resources/META-INF/plan.xml
[INFO] Started deployer: org.apache.geronimo.framework/geronimo- 
gbean-deployer/2.2-SNAPSHOT/car
[INFO] Started deployer: org.apache.geronimo.configs/openejb- 
deployer/2.2-SNAPSHOT/car
14:13:36,387 INFO  [config] Configuring Service(id=Default Stateless  
Container, type=Container, provider-id=Default Stateless Cont

ainer)
14:13:36,392 INFO  [config] Configuring Service(id=Default Stateful  
Container, type=Container, provider-id=Default Stateful Contai

ner)
14:13:36,393 INFO  [config] Configuring Service(id=Default BMP  
Container, type=Container, provider-id=Default BMP Container)
14:13:36,394 INFO  [config] Configuring Service(id=Default CMP  
Container, type=Container, provider-id=Default CMP Container)
14:13:36,402 INFO  [config] Configuring enterprise application:  
org.apache.geronimo.configs/mejb/2.2-SNAPSHOT/car

[ERROR] Deployment failed due to
java.lang.NoClassDefFoundError: javax/ejb/Singleton
org.apache.openejb.config.AnnotationDeployer 
$DiscoverAnnotatedBeans.deploy(AnnotationDeployer.java:339)
org.apache.openejb.config.AnnotationDeployer 
$DiscoverAnnotatedBeans.deploy(AnnotationDeployer.java:230)
org 
.apache 
.openejb.config.AnnotationDeployer.deploy(AnnotationDeployer.java:174)
org.apache.openejb.config.ConfigurationFactory 
$Chain.deploy(ConfigurationFactory.java:228)
org 
.apache 
.openejb 
.config 
.ConfigurationFactory.configureApplication(ConfigurationFactory.java: 
584)
org 
.apache 
.geronimo 
.openejb 
.deployment 
.EjbModuleBuilder.configureApplication(EjbModuleBuilder.java:645)