Hi,

I've been trying to get ejbHome business methods working on a stateful
session bean.
Whenever I deploy the relevant bean I get a warning that the container has
failed to map my home methods ...

        [INFO,J2eeDeployer] Create application AccessControl.jar
        [INFO,J2eeDeployer] install EJB module AccessControl.jar
        [INFO,ContainerFactory]
Deploying:file:/C:/JBoss-2.4.4/tmp/deploy/Default/AccessControl.jar/
        [INFO,ContainerFactory] Deploying Authentication
        [INFO,ContainerFactory] Deploying AccessControl
        [INFO,StatefulSessionContainer] authenticateUser in bean has not
been mapped
        [INFO,AccessControl] Initializing
        [INFO,AccessControl] Initialized
        [INFO,AccessControl] Starting

In this case my home interface declares the method authenticateUser(), and
my bean provides the implementation as
the method ejbHomeAuthenticateUser().

I've looked at the source for StatefulSessionContainer.java (both the
version I'm using (JBoss 2.4.6) and the current JBoss 3.0 head). In both
cases, the home method mapping source seems to suggest that the container
implements the method rather than my bean. Is there an indirection through
the container (in the same way that create() and ejbCreate() work) or should
the method mapping look up methods directly onto my bean?

Can anyone tell me what I'm doing wrong?

Regards, 
David Burridge




********************************************************************
      Visit our Internet site at http://www.rbsmarkets.com

This e-mail is intended only for the addressee named above.
As this e-mail may contain confidential or privileged information,
if you are not the named addressee, you are not authorised to
retain, read, copy or disseminate this message or any part of it.
The Royal Bank of Scotland is registered in Scotland No 90312
Registered Office: 36 St Andrew Square, Edinburgh EH2 2YB
             Regulated by the Financial Services Authority
********************************************************************


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Oh, it's good to be a geek.
http://thinkgeek.com/sf
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to