jameszhang
CJSDN高级会员
发贴: 1594
积分: 111
|
于 2003-05-05 17:14
编辑weblogic-ejb-jar.xml文件
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE weblogic-ejb-jar PUBLIC '-//BEA Systems, Inc.//DTD WebLogic 7.0.0 EJB//EN' 'http://www.bea.com/servers/wls700/dtd/weblogic-ejb-jar.dtd'> <weblogic-ejb-jar> <weblogic-enterprise-bean> <ejb-name>Address</ejb-name> <entity-descriptor> <entity-cache> <max-beans-in-cache>5000</max-beans-in-cache> </entity-cache> <persistence> <persistence-use> <type-identifier>WebLogic_CMP_RDBMS</type-identifier> <type-version>6.0</type-version> <type-storage>META-INF/weblogic-cmp-rdbms-jar.xml</type-storage> </persistence-use> </persistence> </entity-descriptor> <local-jndi-name>Address</local-jndi-name> </weblogic-enterprise-bean> .... ... ... 加入<max-beans-in-cache>5000</max-beans-in-cache>此项后调用正常了,不知我用的对否请大家指教!
jameszhang edited on 2003-05-06 08:44
"First they ignore u, then they laugh at u, then they fight u, then u will win
Mahatma Gandhi"
|