在JBoss4.0.4中怎样设置JMS-MDB实例池的上限?

kingofhawks 2006-09-05 08:57:55
如题,instance pool的大小怎么设置啊?
...全文
215 点赞 收藏 7
写回复
7 条回复
aofa_909 2006年09月11日
No custom langpack available.
com.izforge.izpack.installer.ResourceNotFoundException: Can not find Resource packsLang.xml for language engcom.izforge.izpack.installer.ResourceNotFoundException: Can not find Resource packsLang.xml for language eng
at com.izforge.izpack.installer.ResourceManager.getLanguageResourceString(ResourceManager.java:137)
at com.izforge.izpack.installer.ResourceManager.getInputStream(ResourceManager.java:154)
at com.izforge.izpack.panels.PacksPanelBase.<init>(PacksPanelBase.java:149)
at com.izforge.izpack.panels.PacksPanel.<init>(PacksPanel.java:59)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at com.izforge.izpack.installer.InstallerFrame.loadPanels(InstallerFrame.java:201)
at com.izforge.izpack.installer.InstallerFrame.<init>(InstallerFrame.java:158)
at com.izforge.izpack.installer.GUIInstaller.loadGUI(GUIInstaller.java:387)
at com.izforge.izpack.installer.GUIInstaller.<init>(GUIInstaller.java:123)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at com.izforge.izpack.installer.Installer.main(Installer.java:53)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.sun.javaws.Launcher.executeApplication(Unknown Source)
at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
at com.sun.javaws.Launcher.continueLaunch(Unknown Source)
at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source)
at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)
at com.sun.javaws.Launcher.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
jboss-4.0.4.GA-Patch1-installer.jar安装不了,日志是这样,有知道原因的啊?
回复 点赞
kingofhawks 2006年09月08日
顶上去啊
回复 点赞
kingofhawks 2006年09月07日
是不是那个conf/standardjboss.xml啊?我有试过,但不知道怎么验证哦,我怎样才能看到当前的pool里有多少instance啊?
回复 点赞
kingofhawks 2006年09月07日
I configured standardjboss.xml like following:
<container-configuration>
<container-name>Standard Message Driven Bean</container-name>
<call-logging>false</call-logging>
<invoker-proxy-binding-name>message-driven-bean</invoker-proxy-binding-name>
<container-interceptors>
<interceptor>org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor</interceptor>
<interceptor>org.jboss.ejb.plugins.LogInterceptor</interceptor>
<interceptor>org.jboss.ejb.plugins.RunAsSecurityInterceptor</interceptor>
<!-- CMT -->
<interceptor transaction="Container">org.jboss.ejb.plugins.TxInterceptorCMT</interceptor>
<interceptor transaction="Container">org.jboss.ejb.plugins.CallValidationInterceptor</interceptor>
<interceptor transaction="Container">org.jboss.ejb.plugins.MessageDrivenInstanceInterceptor</interceptor>
<!-- BMT -->
<interceptor transaction="Bean">org.jboss.ejb.plugins.MessageDrivenInstanceInterceptor</interceptor>
<interceptor transaction="Bean">org.jboss.ejb.plugins.MessageDrivenTxInterceptorBMT</interceptor>
<interceptor transaction="Bean">org.jboss.ejb.plugins.CallValidationInterceptor</interceptor>
<interceptor>org.jboss.resource.connectionmanager.CachedConnectionInterceptor</interceptor>
</container-interceptors>
<instance-pool>org.jboss.ejb.plugins.MessageDrivenInstancePool</instance-pool>
<instance-cache></instance-cache>
<persistence-manager></persistence-manager>
<container-pool-conf>
<MaximumSize>10</MaximumSize>
<strictMaximumSize>true</strictMaximumSize>
<strictTimeout>3000</strictTimeout>
</container-pool-conf>
</container-configuration>

But how can i verify how many MDB instances are in pool from JBoss JMX-Console?
回复 点赞
TinyJimmy 2006年09月05日
在管理界面和配置文件里面都应该可用修改呀
回复 点赞
wmzsl 2006年09月05日
我记得有一个参数,在xml文件里面,你查查吧:) 顶
回复 点赞
tcmis 2006年09月05日
同意楼上两位的。
回复 点赞
发动态
发帖子
Java EE
创建于2007-09-28

3.7w+

社区成员

22.5w+

社区内容

J2EE只是Java企业应用。我们需要一个跨J2SE/WEB/EJB的微容器,保护我们的业务核心组件(中间件),以延续它的生命力,而不是依赖J2SE/J2EE版本。
社区公告
暂无公告