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.geronimo.kernel.config.ConfigurationManagerImpl.loadGBeans(ConfigurationManag
rImpl.java:130)
        at org.apache.geronimo.kernel.config.ConfigurationManagerImpl$$FastClassByCGLIB$$fbed85d2.i
voke(<generated>)

 I guess this is because I have apps deployed in the server which have EJBs and the EJB class in TranQL has changed. So to replace this I need to install geronimo again and deploy all the applications and data sources :-(. So I might as well build a later version from source. If there is a way to resolve this other than by uninstalling all apps please let me know.

Thanks
Manu

On 12/14/05, Gianny Damour <[EMAIL PROTECTED]> wrote:
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/13/05, *Gianny Damour* < [EMAIL PROTECTED]
> <mailto:[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 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,
>     Gianny
>
>     Manu George wrote:
>
>     > 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
>     > <>
>
>     <snip>
>
>     > While i was debugging I saw a method
>     > public IdentityTransform getPrimaryKeyTransform(Entity entity)
>     in the
>     > class IdentityDefinerBuilder. Here based on size of pkFields the
>     > SimplePKTransform or CompoundPKTransform class is selected.
>     > In the case of a custom class with 1 field also the
>     SimplePKTransform
>     > is selected.
>     > Is this how it should behave? Could you give a general idea of
>     how the
>     > primary key values are taken from the Custom classes in OpenEJB?
>     >
>     >
>     > Thanks
>     > Manu
>
>
>



Reply via email to