Hi,

The EJB specification allows a statefull session bean to support many
create methods. These method must be declared like that :

Home.create<method>
Bean.ejbCreate<method>

In the attached test program, I have a create method like
"Home.createByName(java.lang.String)", implemented by
"Bean.ejbCreateByName(java.lang.String)".

When running this test program on JBoss 3.0.x, it works normally.

On JBoss 3.2.x, it fails because it always tries to find a method like
'ejbCreate(...)'. (check the code !)

Here is a test EAR : just drop it in your deploy folder and try to access
'http://<jboss host>:<jetty port>/test'.
If the test pass, you should see 'Hello Sebastien'. If you are running
3.2.x you will get an error. Check the logs for the stacktrace.

Should I also enter this bug somewhere else ?

My test program and sources is available here : 
http://users.skynet.be/sebastien.petrucci/jboss.html

----------------------------------------------------------------------------
Sebastien Petrucci
Java Technology Consultant - Altran Europe
Philips Remote Control Systems
Interleuvenlaan 74-76, B-3001 Leuven (Belgium)
M +32(0)497502521    T  +32(0)16394 598
----------------------------------------------------------------------------


-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open! 
Get cracking and register here for some mind boggling fun and 
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to