Rickard �berg wrote:
> 
> Hi!
> 
> Matthew Cooper wrote:
> > I have just downloaded 03 and deployed my beans. I get this exception
> > reported and thought I had better do what it says! (The top exception is
> > our application's). Below that is the relevant log file extract. Please
> > say if you want anything else.
> <snip>
> 
> This one means that it is a problem with the method mappings, i.e. there
> is no ejbCreate method in the bean.
> 
> /Rickard
> 
> --
> Rickard �berg
> 
I have two beans which start like this...

public class AddressHandlerBean implements SessionBean
{
    private AddressHandlerDAO dao;
    
    public void ejbCreate() {
        // Do nothing.
    }
...

public class AddressEntryEJB 
    implements javax.ejb.EntityBean 
{
    public int id;
    public String name;
    public String email;
    
    public AddressEntryPK ejbCreate(int id)
    {
        this.id = id;
        return null;
    }
...


so it looks like they have got ejbCreate methods. They work fine in
PROD02.

I see someone else has this too - an ideas?

btw, I tried finding the Optimize setting Sebastien Alborin mentioned
but couldn't.

Matty.


--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to