weblogic和statefulsessionbean的问题?哪位大侠帮个忙,必有重谢
jsyx 2002-03-04 06:54:55 这是weblogic-ejb-jar.xml的内容,我希望能够控制pool中的实例数,但是只要加入<stateful-session-descriptor>..........</stateful-session-descriptor>元素,布置就会失败(没有,则能够成功布置)。请高手指教指教
<weblogic-ejb-jar>
<weblogic-enterprise-bean>
<ejb-name>Count</ejb-name>
<jndi-name>CountHome</jndi-name>
<stateful-session-descriptor>
<stateful-session-cache>
<max-beans-in-cache>2</max-beans-in-cache>
<idle-timeout-seconds>1200</idle-timeout-seconds>
</stateful-session-cache>
</stateful-session-descriptor>
</weblogic-enterprise-bean>
</weblogic-ejb-jar>