Yikes! is right.  I mismanaged my own environment and was not modifying the
ejb-jar.xml file that was acutally being packaged up in employee.jar .  Color
me embarrased.  The CMP example works great with mysql-4.0.2

I wasn't deploying with -m (following the cmp example) so -f wasn't really an
issue, unless of -a implies -m/-f.  Also, I noticed that -f is not mentioned
when executing "openejb help deploy"

--- David Blevins <[EMAIL PROTECTED]> wrote:
> I found it, this message should have been printed to the screen, but it
> looks like that was going to the log file instead:
> 
> <msg>
> Deploy option -m.  Could not move jar
> C:\dev\OpenEJB\openejb\apps\myejbs.jar to C:\dev\OpenEJB\openejb\beans.
> Jar already exists.  Use -f option to force an overwrite.
> </msg>
> 
> I updated the code so the messages should reach the screen.
> 
> -David
> 
> > -----Original Message-----
> > From: [EMAIL PROTECTED] 
> > [mailto:[EMAIL PROTECTED]] On Behalf 
> > Of David Blevins
> > Sent: Tuesday, September 24, 2002 9:09 PM
> > To: [EMAIL PROTECTED]
> > Cc: 'openejb-user'
> > Subject: RE: [OpenEJB-user] RE: CMP example with OpenEJB 
> > 0.8.2, PostgreSQL 7.2.2 and cygwin. Hints Please
> > 
> > 
> > Yikes!  This is very strange cause we don't have a single 
> > line of code that writes an ejb-jar.xml, we just use castor 
> > to read them.
> > 
> > There has to be something really subtle going on here.
> > 
> > -David
> > 
> > > -----Original Message-----
> > > From: [EMAIL PROTECTED]
> > > [mailto:[EMAIL PROTECTED]] On Behalf 
> > > Of Clint Olson
> > > Sent: Tuesday, September 24, 2002 6:43 PM
> > > To: openejb users
> > > Subject: Re: [OpenEJB-user] RE: CMP example with OpenEJB 
> > > 0.8.2, PostgreSQL 7.2.2 and cygwin. Hints Please
> > > 
> > > 
> > > Hmmm, After making the change from "Requires" to "Supports" I
> > > find that redeploying changes it back to "Requires".  My 
> > > ejb-jar.xml was re-written during the deployment process.
> > > 
> > > This is probably why the suggested fix seems to have no affect :)
> > > 
> > > --- Clint Olson <[EMAIL PROTECTED]> wrote:
> > > > I have encountered the same problem, but with mysql, version
> > > > 4.0.2-alpha-max-debug (openejb-0.8.2, Windows 2000, 
> > > j2sdk1.4.0_01).
> > > > The suggested change did not change the results for me either.
> > > > 
> > > > Regarding the CMP example, thank you to everyone (mostly Jacek it
> > > > seems) for providing this!  Even though the stack traces are 
> > > > unsightly, the example obviously worked, which is a huge 
> > > breakthrough
> > > > for me and openejb.
> > > > 
> > > >  Andrew Sleeman wrote:
> > > >  >
> > > >  > I have attempted the change you suggested:
> > > >  >    [<trans-attribute>Supports</trans-attribute>]
> > > >  >
> > > >  > Unfortunately it did not appear to make any difference for me.
> > > >  > 
> > > > 
> > > > 
> > > > 
> > > > =====
> > > > Clinton S. Olson - Owner, Steven's Pass Carving Elvises
> > > >    http://home.bak.rr.com/fl/fl.htm
> > > > 
> > > > "The two most important things in life are good friends and
> > > a strong
> > > > bullpen"
> > > > 
> > > >   -- Bob Lemon, former manager Royals/White Sox/Yankees
> > > > 
> > > > __________________________________________________
> > > > Do you Yahoo!?
> > > > New DSL Internet Access from SBC & Yahoo! http://sbc.yahoo.com
> > > > 
> > > > 
> > > > -------------------------------------------------------
> > > > This sf.net email is sponsored by:ThinkGeek
> > > > Welcome to geek heaven.
> > > > http://thinkgeek.com/sf
> > > > _______________________________________________
> > > > http://OpenEJB.sf.net
> > > > OpenEJB-user mailing list
> > > > [EMAIL PROTECTED]
> > > > https://lists.sourceforge.net/lists/listinfo/openejb-user
> > > 
> > > 
> > > =====
> > > Clinton S. Olson - Owner, Steven's Pass Carving Elvises
> > >    http://home.bak.rr.com/fl/fl.htm
> > > 
> > > "The two most important things in life are good friends and a
> > > strong bullpen"
> > > 
> > >   -- Bob Lemon, former manager Royals/White Sox/Yankees
> > > 
> > > __________________________________________________
> > > Do you Yahoo!?
> > > New DSL Internet Access from SBC & Yahoo! http://sbc.yahoo.com
> > > 
> > > 
> > > -------------------------------------------------------
> > > This sf.net email is sponsored by:ThinkGeek
> > > Welcome to geek heaven.
> > > http://thinkgeek.com/sf
> > > _______________________________________________
> > > http://OpenEJB.sf.net
> > > OpenEJB-user mailing list
> > > [EMAIL PROTECTED]
> > > https://lists.sourceforge.net/lists/listinfo/openejb-user
> > > 
> > 
> > 
> > 
> > -------------------------------------------------------
> > This sf.net email is sponsored by:ThinkGeek
> > Welcome to geek heaven.
> > http://thinkgeek.com/sf
> > _______________________________________________
> > http://OpenEJB.sf.net
> > OpenEJB-user mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/openejb-user
> > 
> 
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> http://OpenEJB.sf.net
> OpenEJB-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/openejb-user


=====
Clinton S. Olson - Owner, Steven's Pass Carving Elvises
   http://home.bak.rr.com/fl/fl.htm

"The two most important things in life are good friends and a strong bullpen"

  -- Bob Lemon, former manager Royals/White Sox/Yankees

__________________________________________________
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
http://sbc.yahoo.com


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
http://OpenEJB.sf.net
OpenEJB-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/openejb-user

Reply via email to