Re: Openejb question

2007-01-26 Thread David Jencks
Now I've updated the openejb poms and attempted to deploy an openejb snapshot. The openejb deploy breaks when it gets to the samples but this is apparently expected and means the deploy succeeded. thanks david jencks On Jan 26, 2007, at 3:53 PM, David Jencks wrote: I've opened http://jira

Re: Openejb question

2007-01-26 Thread David Jencks
I've opened http://jira.codehaus.org/browse/MNG-2796 to describe my understanding of what's going on. There are at least 7 other maven issues that describe similar problems. I'd appreciate it if everyone affected by this problem could vote on this issue and maybe add comments. Now I'll w

Re: Openejb question

2007-01-26 Thread David Jencks
Anita figured out that replacing ${pom.version} with 3.0-incubating- SNAPSHOT in openejb server pom fixes this problem. It turns out that jason dillon previously ran into this problem in geronimo and replaced all ${pom.version} in our poms with our own defined variable ${version}. I'm inv

Re: Openejb question

2007-01-26 Thread Kevan Miller
Here's what seems to be the relevant section from the -X trace: [DEBUG] Artifact not found - using stub model: System is offline. org.apache.openejb:container:pom:3.0-incubating-20070126.103431-20 [DEBUG] Using defaults for missing POM org.apache.openejb:container:pom:3.0-incubating-SNAPS

Re: Openejb question

2007-01-26 Thread anita kulshreshtha
Thanks David! openejb-core still has dependency on openejb-persistence: org.apache.openejb openejb-persistence ${pom.version} The openejb-persistence module has been deleted from the source (rev 500244). Where has this been moved to? Thanks Anita --- David Jencks <[EM

Re: Openejb question

2007-01-26 Thread Kevan Miller
On Jan 26, 2007, at 1:47 PM, David Jencks wrote: so whats the stacktrace with -X? is this geronimo or maven complaining? Is this pom in your local repo? If so is it timestamped or -SNAPSHOT? Maybe... just maybe we're getting closer :-) Sorry, was on my way out the door... This er

Re: Openejb question

2007-01-26 Thread David Jencks
so whats the stacktrace with -X? is this geronimo or maven complaining? Is this pom in your local repo? If so is it timestamped or -SNAPSHOT? Maybe... just maybe we're getting closer :-) thanks david jencks On Jan 26, 2007, at 9:56 AM, Kevan Miller wrote: On Jan 26, 2007, at 11:45

Re: Openejb question

2007-01-26 Thread Kevan Miller
On Jan 26, 2007, at 11:45 AM, David Jencks wrote: On Jan 26, 2007, at 8:03 AM, anita kulshreshtha wrote: This is a fragment from openejb3/server's pom.xml. Could someone please explain how this works? I haven't investigate thoroughly, but I believe that this is an easy way to make su

Re: Openejb question

2007-01-26 Thread David Jencks
On Jan 26, 2007, at 8:03 AM, anita kulshreshtha wrote: This is a fragment from openejb3/server's pom.xml. Could someone please explain how this works? I haven't investigate thoroughly, but I believe that this is an easy way to make sure that if any container module references any server

Openejb question

2007-01-26 Thread anita kulshreshtha
This is a fragment from openejb3/server's pom.xml. Could someone please explain how this works? Thanks Anita org.apache.openejb container ${pom.version} pom compile _

Re: Another OpenEJB Question

2005-12-15 Thread Gianny Damour
Hi, I am surpised that OrderItem.setOrder_orderId gives an error. Could you please provide the stack trace (the TranQL part + the first OpenEJB element) along with the DDs? FWIW, there are a couple of integration tests for CMP and CMR overlap scenarios in the OpenEJB tree: sub-project: modu

Another OpenEJB Question

2005-12-15 Thread Manu George
Hi, I have two CMPs with a 1:n relationship. CMP1 -  Order - PK = OrderPK which has a single field orderId CMP2  - OrderItem = OrderItemPk which has 2 fields InventoryId and order_orderId OrderId and order_orderId are mapped When i do a setOrder_orderId in the ejbCreate of OrderItem geronimo give

Re: Fwd: OpenEJB Question

2005-12-14 Thread Gianny Damour
Hi Aaron, I'm happy to cut a 1.2.2 TranQL release tomorrow night. However, and as pointed out by Manu, there was also an OpenEJB impact. So, it seems that we also need to re-cut an OpenEJB release. So far, I have checked in the fix to trunk and I will port the fix to the v2_0 branch if we deci

Re: Fwd: OpenEJB Question

2005-12-13 Thread Manu George
Hi Gianny,   I get it.But the problem is if I put this  jar  in the repo of my existing Geronimo Instance it fails to start due to de-serialisation problems. org.apache.geronimo.kernel.config.InvalidConfigException: Could not extract gbean data from configuation     at org.apache.ge

Re: Fwd: OpenEJB Question

2005-12-13 Thread Gianny Damour
Hi Manu, This was a simple TranQL fix. So, you simply need to build TranQL and drop it in your repo (you do not need a full rebuild of Geronimo). Thanks, Gianny Manu George wrote: Hi Gianny Great to know its fixed. Will try it out after building geronimo from source. Thanks Manu On 12/1

Re: Fwd: OpenEJB Question

2005-12-13 Thread Aaron Mulder
Gianny, Did the fix go into TranQL? Geronimo 1.0 is not using a TranQL snapshot right now, so someone would need to cut a new TranQL release for us to get the fix into Geronimo 1.0. Thanks, Aaron On 12/13/05, Gianny Damour <[EMAIL PROTECTED]> wrote: > Hi Manu, > > Thanks for your debugging!

Re: Fwd: OpenEJB Question

2005-12-13 Thread Manu George
Hi Gianny Great to know its fixed. Will try it out after building geronimo from source. Thanks ManuOn 12/13/05, Gianny Damour <[EMAIL PROTECTED]> wrote: Hi Manu,Thanks for your debugging! This was a bug in IdentityDefinerBuilder,which was wrongly trying to identify a compound PK based on the numbe

Re: Fwd: OpenEJB Question

2005-12-13 Thread Gianny Damour
Hi Manu, Thanks for your debugging! This was a bug in IdentityDefinerBuilder, which was wrongly trying to identify a compound PK based on the number of primary key fields. This is now fixed. I will create a JIRA to track this issue tomorrow as it seems that JIRA is down tonight. Thanks, G

Fwd: OpenEJB Question

2005-12-12 Thread Manu George
Hi Gianny, I have done all that you mentioned. I am still getting the error.I have replicated the issue in a simple EJB,the example CMP in Ed Roman's book Mastering EJB. I am attaching the stack trace and the plans below 17:02:05,211 WARN  [SystemExceptionInterceptor] Product java.lang.ClassCastE

Re: OpenEJB Question

2005-12-10 Thread Gianny Damour
Hi Manu, This method is always supposed to get a String value. When a custom primary key is used, its type must be declared in the ejb-jar.xml DD via the prim-key-class element. Also, the primkey-field elements in both the ejb-jar.xml DD and openejb-jar.xml DD must not be set; these elements

OpenEJB Question

2005-12-09 Thread Manu George
Hi,    I am facing a problem with some CMP EJBs with custom PrimaryKey Classes. I am getting the EJBs deployed but during invoking of the findbyprimarykey method I am getting a TransactionRolledBack Exception. On investigating the cause of this I found that it was due to  a ClassCastException t

Re: OpenEJB Question

2005-11-17 Thread Dain Sundstrom
On Nov 17, 2005, at 4:35 AM, Manu George wrote: Hi, In the class org.openejb.deployment.AbstractContainerBuilder there is a method protected SoftLimitedInstancePool createInstancePool (InstanceFactory instanceFactory) { return new SoftLimitedInstancePool(instanceFactory

Re: OpenEJB Question

2005-11-17 Thread Jeremy Whitlock
Manu, You could debug this code, as I'm not familiar with it, to see if/when it is called and who might be calling it.  You might want to ask David Blevins. Take care, JeremyOn 11/17/05, Manu George <[EMAIL PROTECTED]> wrote: Hi,     In the class org.openejb.deployment.AbstractContai

OpenEJB Question

2005-11-17 Thread Manu George
Hi,     In the class org.openejb.deployment.AbstractContainerBuilder there is a method     protected SoftLimitedInstancePool createInstancePool(InstanceFactory instanceFactory) {     return new SoftLimitedInstancePool(instanceFactory, 1);     } What pool is this? Is this the pool of Enter