You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@continuum.apache.org by Mario-Leander Reimer <le...@vva-networks.de> on 2008/10/10 08:36:58 UTC

JPOX exception storing ChangeFile

Hallo,

I am running Continuum 1.2 and I get an exception while storing the ChangeFile during the build of one of our projects. The stack trace is attached.

I saw the same issue on Jira (http://jira.codehaus.org/browse/CONTINUUM-1338) with status fixed.

I have manually increased the column length in the corresponding table but that didn't help. Where else do I need to increase the value?

In the file continuum-model-1.2.jar I see the file package.jdo, would it help if I manually change the entry

    <class name="ChangeFile" detachable="true" table="ChangeFile">
      <field name="name"/>
      <field name="revision"/>
      <field name="status"/>
    </class>

to

    <class name="ChangeFile" detachable="true" table="ChangeFile">
      <field name="name">
                <column name="name" length="8192"/>
        </field>
      <field name="revision"/>
      <field name="status"/>
    </class>

Thanks for your help,
Leander



VVA Networks GmbH

Mario-Leander Reimer
Dipl.-Inf. (FH)
Teamleitung Publishing Solutions
---------------------------------------------------------------------------
VVA Networks GmbH
: medien mit zukunft
Geisenhausenerstra?e 15-17
81379 M?nchen
Deutschland
---------------------------------------------------------------------------
Fon:    +49 89 2000375-610
Fax:    +49 89 2000375-699
Mobil:  +49 173 5883541
---------------------------------------------------------------------------
leander.reimer@vva-networks.de
www.vva-networks.de

-----------------------------------------------------------------------
HRB 33884 D?sseldorf
Gesch?ftsf?hrer Rolf Christian Kassel
-----------------------------------------------------------------------
Ein Unternehmen der VVA Kommunikation
http://www.vva.de
-----------------------------------------------------------------------
omnisuite(r) - integrate. automate. communicate.
http://www.omnisuite.de
-----------------------------------------------------------------------

Diese Nachricht (inklusive aller Anh?nge) ist vertraulich. Sie darf
ausschlie?lich durch den vorgesehenen Empf?nger und Adressaten gelesen,
kopiert oder genutzt werden. Sollten Sie diese Nachricht versehentlich
erhalten haben, bitten wir, den Absender (durch Antwort-E-Mail) hiervon
unverz?glich zu informieren und die Nachricht zu l?schen. Jede unerlaubte
Nutzung oder Weitergabe des Inhalts dieser Nachricht, sei es vollst?ndig
oder teilweise, ist unzul?ssig.

This message (including any attachments) is confidential and may be
privileged. It may be read, copied and used only by the intended recipient.
If you have received it in error please contact the sender (by return
E-Mail) immediately and delete this message. Any unauthorised use or
dissemination of this message in whole or in part is strictly prohibited.

AW: JPOX exception storing ChangeFile

Posted by Mario-Leander Reimer <le...@vva-networks.de>.
Hi there,

just to let you know that I have found the reason for my problem with the ChangeFile NAME column.
The definition for the name field for class ChangeFile in the file continuum-model\src\main\mdo\continuum.xml is wrong.

        <field>
          <name stash.maxSize="1024">name</name>
          <version>1.0.9+</version>
          <type>String</type>
        </field>

Should be

        <field stash.maxSize="1024">
          <name>name</name>
          <version>1.0.9+</version>
          <type>String</type>
        </field>


After recompiling Continuum 1.2 my ChangeFile entries can be saved successfully.

BR,
Leander


> -----Ursprüngliche Nachricht-----
> Von: Mario-Leander Reimer [mailto:leander.reimer@vva-networks.de]
> Gesendet: Freitag, 10. Oktober 2008 08:37
> An: users@continuum.apache.org
> Betreff: JPOX exception storing ChangeFile
>
> Hallo,
>
> I am running Continuum 1.2 and I get an exception while storing the
> ChangeFile during the build of one of our projects. The stack trace is
> attached.
>
> I saw the same issue on Jira
> (http://jira.codehaus.org/browse/CONTINUUM-1338) with status fixed.
>
> I have manually increased the column length in the corresponding table
> but that didn't help. Where else do I need to increase the value?
>
> In the file continuum-model-1.2.jar I see the file package.jdo, would
> it help if I manually change the entry
>
>     <class name="ChangeFile" detachable="true" table="ChangeFile">
>       <field name="name"/>
>       <field name="revision"/>
>       <field name="status"/>
>     </class>
>
> to
>
>     <class name="ChangeFile" detachable="true" table="ChangeFile">
>       <field name="name">
>                 <column name="name" length="8192"/>
>         </field>
>       <field name="revision"/>
>       <field name="status"/>
>     </class>
>
> Thanks for your help,
> Leander
>
>
>
> VVA Networks GmbH
>
> Mario-Leander Reimer
> Dipl.-Inf. (FH)
> Teamleitung Publishing Solutions
> -----------------------------------------------------------------------
> ----
> VVA Networks GmbH
> : medien mit zukunft
> Geisenhausenerstra?e 15-17
> 81379 M?nchen
> Deutschland
> -----------------------------------------------------------------------
> ----
> Fon:    +49 89 2000375-610
> Fax:    +49 89 2000375-699
> Mobil:  +49 173 5883541
> -----------------------------------------------------------------------
> ----
> leander.reimer@vva-networks.de
> www.vva-networks.de
>
> -----------------------------------------------------------------------
> HRB 33884 D?sseldorf
> Gesch?ftsf?hrer Rolf Christian Kassel
> -----------------------------------------------------------------------
> Ein Unternehmen der VVA Kommunikation
> http://www.vva.de
> -----------------------------------------------------------------------
> omnisuite(r) - integrate. automate. communicate.
> http://www.omnisuite.de
> -----------------------------------------------------------------------
>
> Diese Nachricht (inklusive aller Anh?nge) ist vertraulich. Sie darf
> ausschlie?lich durch den vorgesehenen Empf?nger und Adressaten gelesen,
> kopiert oder genutzt werden. Sollten Sie diese Nachricht versehentlich
> erhalten haben, bitten wir, den Absender (durch Antwort-E-Mail) hiervon
> unverz?glich zu informieren und die Nachricht zu l?schen. Jede
> unerlaubte Nutzung oder Weitergabe des Inhalts dieser Nachricht, sei es
> vollst?ndig oder teilweise, ist unzul?ssig.
>
> This message (including any attachments) is confidential and may be
> privileged. It may be read, copied and used only by the intended
> recipient.
> If you have received it in error please contact the sender (by return
> E-Mail) immediately and delete this message. Any unauthorised use or
> dissemination of this message in whole or in part is strictly
> prohibited.
>
> VVA Networks GmbH
>
> Mario-Leander Reimer
> Dipl.-Inf. (FH)
> Teamleitung Publishing Solutions
> -----------------------------------------------------------------------
> ----
> VVA Networks GmbH
> : medien mit zukunft
> Geisenhausenerstraße 15-17
> 81379 München
> Deutschland
> -----------------------------------------------------------------------
> ----
> Fon:    +49 89 2000375-610
> Fax:    +49 89 2000375-699
> Mobil:  +49 173 5883541
> -----------------------------------------------------------------------
> ----
> leander.reimer@vva-networks.de
> www.vva-networks.de
>
> -----------------------------------------------------------------------
> HRB 33884 Düsseldorf
> Geschäftsführer Rolf Christian Kassel
> -----------------------------------------------------------------------
> Ein Unternehmen der VVA Kommunikation
> http://www.vva.de
> -----------------------------------------------------------------------
> omnisuite® - integrate. automate. communicate.
> http://www.omnisuite.de
> -----------------------------------------------------------------------
>
> Diese Nachricht (inklusive aller Anhänge) ist vertraulich. Sie darf
> ausschließlich durch den vorgesehenen Empfänger und Adressaten gelesen,
> kopiert oder genutzt werden. Sollten Sie diese Nachricht versehentlich
> erhalten haben, bitten wir, den Absender (durch Antwort-E-Mail) hiervon
> unverzüglich zu informieren und die Nachricht zu löschen. Jede
> unerlaubte Nutzung oder Weitergabe des Inhalts dieser Nachricht, sei es
> vollständig oder teilweise, ist unzulässig.
>
> This message (including any attachments) is confidential and may be
> privileged. It may be read, copied and used only by the intended
> recipient.
> If you have received it in error please contact the sender (by return
> E-Mail) immediately and delete this message. Any unauthorised use or
> dissemination of this message in whole or in part is strictly
> prohibited.