eclipse IBM RAD 7.5 ... 为什么 WebSphere 启动/发布/重新发布/调试需要这么长时间?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/9845550/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-19 17:52:48  来源:igfitidea点击:

IBM RAD 7.5 ... why does it take WebSphere so long to start / publish / republish / debug?

eclipsejakarta-eewebsphereibm-rad-7.5

提问by

I'm developing an EAR/WAR application with IBM RAD 7.5 and WebSphere 7.

我正在使用 IBM RAD 7.5 和 WebSphere 7 开发 EAR/WAR 应用程序。

When I run my app on WebSphere 7 within "eclispe", it take foreverfor WebSphere to start in "Run" mode (2 or 3 minutes). Much longer to start in "Debug" mode (5 to 10 minutes).

当我在“eclispe”中的 WebSphere 7 上运行我的应用程序时,WebSphere 需要永远以“运行”模式(2 或 3 分钟)启动。在“调试”模式下启动需要更长的时间(5 到 10 分钟)。

I have 'publish automatically' turned off, so I republish manually, and that too take a long long time.

我关闭了“自动发布”,所以我手动重新发布,这也需要很长时间。

Am I doing something wrong, or is there anyway to speed thing up?

我做错了什么,还是有什么办法可以加快速度?

Thanks, Rob

谢谢,罗布

采纳答案by dbreaux

I wonder if you're hitting memory limits on your system and perhaps doing a lot of swapping. My WebSphere 6.1 under RAD 8 seems to start in an amount of time consistent with WebSphere by itself.

我想知道您是否遇到了系统内存限制并且可能进行了大量交换。我在 RAD 8 下的 WebSphere 6.1 似乎在与 WebSphere 本身一致的时间内启动。

回答by svachon

Try setting metadata-complete="true"in your web.xml I experienced significant improvements doing this.

尝试metadata-complete="true"在您的 web.xml 中设置我在执行此操作时经历了重大改进。

回答by Manglu

I would suggest you check the Heap for the test environment.

我建议您检查测试环境的堆。

Personally build automatically and auto-publish should be turned off, You run the publish as and when you need it.

个人自动构建和自动发布应该关闭,您可以在需要时运行发布。

This one is still a good reference http://www.ibm.com/developerworks/wikis/download/attachments/113606723/radtipsv754.pdf?version=1

这个还是不错的参考 http://www.ibm.com/developerworks/wikis/download/attachments/113606723/radtipsv754.pdf?version=1

Sometimes when it takes 5-10 to publish in debug mode, i either revert to export and install via the admin console or use wsadmin scripts to install the application.

有时,当在调试模式下发布需要 5-10 次时,我要么恢复到通过管理控制台导出和安装,要么使用 wsadmin 脚本来安装应用程序。

Also turn on the heap config for RAD (one of the preference allows you to show this). You might be able to make some inferences if RAD is hitting into memory issues.

还要打开 RAD 的堆配置(其中一项首选项允许您显示此内容)。如果 RAD 遇到内存问题,您或许可以做出一些推断。

HTH

HTH

Manglu

芒陆