geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Katia Aresti Gonzalez" <kaare...@hotmail.com>
Subject Re: Deployment fail at persistent EJB
Date Fri, 15 Apr 2005 00:05:15 GMT
<html><div style='background-color:'><DIV class=RTE>
<P>Hi!</P>
<P>thanks a lot for your help! Ive done it in the end, im just trying to make it work,
but i deployed the cmp.</P>
<P>Ive read about it before, but its diferent in Geronimo and it very dificult for me,
a begginer, to make things go on without new documentation of geronimo, and also everithing
in english, which makes me much difficult to read and understand.</P>
<P>Thats why im asking for more help than anybody else. And by the way say that i will
program my own examples and explain everything in a huge documentation, because its not an
exam what i have to pass, i have to do a presentation at university of what ive been working
on, and its my final proyect of engineering studies. If I had 2 months more, i wouldn ask
for help so desperately, because you might not know, but i started with this, reading documenting
and working on november. And when i finish the proyect, I will&nbsp;give it&nbsp;for
you, all the comunity so you can put it wherever you want as a Geronimo Documentation in spanish,
and may be, will be usefull for begginers like me.</P>
<P>Thanks you very very much for your help!!!</P>
<P>Katia</P>
<P>I will report when everything works :-)</P>
<P><BR><BR>&nbsp;</P></DIV>
<DIV></DIV>&gt;From: Gianny Damour &lt;gianny.damour@optusnet.com.au&gt;
<DIV></DIV>&gt;Reply-To: user@geronimo.apache.org
<DIV></DIV>&gt;To: user@geronimo.apache.org
<DIV></DIV>&gt;Subject: Re: Deployment fail at persistent EJB
<DIV></DIV>&gt;Date: Fri, 15 Apr 2005 09:30:17 +1000
<DIV></DIV>&gt;
<DIV></DIV>&gt;Hello Katia,
<DIV></DIV>&gt;
<DIV></DIV>&gt;Comments follows.
<DIV></DIV>&gt;
<DIV></DIV>&gt;On 15/04/2005 4:35 AM, Katia Aresti Gonzalez wrote:
<DIV></DIV>&gt;
<DIV></DIV>&gt;&gt;Hi!!!
<DIV></DIV>&gt;&gt;
<DIV></DIV>&gt;&gt;Here is the stack trace!!!! :-) it was in the geronimo.log!!!!
i
<DIV></DIV>&gt;&gt;didnt now anything about this logs, didnt now that
the could be so
<DIV></DIV>&gt;&gt;helpfull!!!
<DIV></DIV>&gt;&gt;
<DIV></DIV>&gt;&gt;Well, it seems that the openejb-ja.xmlr is correct?
The problems is
<DIV></DIV>&gt;&gt;in another part?
<DIV></DIV>&gt;&gt;
<DIV></DIV>&gt;&gt;thanks
<DIV></DIV>&gt;&gt;
<DIV></DIV>&gt;&gt;Katia
<DIV></DIV>&gt;&gt;
<DIV></DIV>&gt;&lt;snip&gt;
<DIV></DIV>&gt;
<DIV></DIV>&gt;&gt;
<DIV></DIV>&gt;&gt;Caused by: java.lang.ArrayIndexOutOfBoundsException:
-1
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;at
<DIV></DIV>&gt;&gt;org.openejb.entity.cmp.CMPInstanceContextFactory.&lt;init&gt;(CMPInstanceContextFactory.java:127)
<DIV></DIV>&gt;&gt;
<DIV></DIV>&gt;A guess:&nbsp;&nbsp;at least one of the getter or setter
for the persistent
<DIV></DIV>&gt;fields is not abstract. Hence, could you please provide your
CMP
<DIV></DIV>&gt;Bean implementation?
<DIV></DIV>&gt;
<DIV></DIV>&gt;By the way, have you defined a value for the cmp-version element
in
<DIV></DIV>&gt;the ejb-jar.xml file?
<DIV></DIV>&gt;
<DIV></DIV>&gt;As an aside, let me re-iterate that there are a couple of CMP
<DIV></DIV>&gt;examples in the OpenEJB CVS repo there:
<DIV></DIV>&gt;modules/openejb-builder/src/test-cmp.
<DIV></DIV>&gt;You will find working examples for OTO, OTM, MTM, simple and
complex
<DIV></DIV>&gt;primary keys and bi-directional and uni-directional CMR fields.
<DIV></DIV>&gt;
<DIV></DIV>&gt;I strongly recommend you to:
<DIV></DIV>&gt;* read some general documentations on CMP. I think that this
is the
<DIV></DIV>&gt;first step to have at least a pass for your exam :);
<DIV></DIV>&gt;* have a look to theconfiguration files that I was talking
about
<DIV></DIV>&gt;before. Please, do that after having done some prior reading
on CMP;
<DIV></DIV>&gt;* have a look to the corresponding CMP bean implementations
there
<DIV></DIV>&gt;(also under the OpenEJB CVS repo):
<DIV></DIV>&gt;modules/openejb-builder/src/test/org/openejb/deployment/entity/cmp;
<DIV></DIV>&gt;and
<DIV></DIV>&gt;* finally, deploy your own CMP.
<DIV></DIV>&gt;
<DIV></DIV>&gt;Good luck.
<DIV></DIV>&gt;
<DIV></DIV>&gt;Thanks,
<DIV></DIV>&gt;Gianny
<DIV></DIV></div><br clear=all><hr>Coches nuevos, coches de
ocasiĆ³n, coches de Km 0 <a href="http://g.msn.com/8HMAESES/2746??PS=47575" target="_top">Si
piensas en cambiar de coche, MSN Motor.</a> </html>


Mime
View raw message