Discussion:
Weblogic Workshop EJB Error
(too old to reply)
Rick Jackson
2005-01-13 21:31:22 UTC
Permalink
Hello,
I have created a session EJB in Weblogic workshop. In the property editor, I have set the "type" to "Stateful". I have then set the max-beans-in-free-pool to 1. I build my ejb project, and I get the below error:
"A Stateless Session Bean cannot have a tag max-beans-in-free-pool". This doesn't make any sense to me since I have specified that it is a "Stateful" session bean. I am using Weblogic workshop 8.1 sp2
bill kemp
2005-01-13 22:35:02 UTC
Permalink
The text of the error message may be incorrect, but the intent of the
message is correct. You cannot use <max-beans-in-free-pool> with a Stateful
session bean. See:

http://e-docs.bea.com/wls/docs81/ejb/DDreference-ejb-jar.html#1114854

Bill
Post by Rick Jackson
Hello,
I have created a session EJB in Weblogic workshop. In the property
editor, I have set the "type" to "Stateful". I have then set the
max-beans-in-free-pool to 1. I build my ejb project, and I get the below
Post by Rick Jackson
"A Stateless Session Bean cannot have a tag max-beans-in-free-pool". This
doesn't make any sense to me since I have specified that it is a "Stateful"
session bean. I am using Weblogic workshop 8.1 sp2

Loading...