开发者

Apache CXF - startup time

We are working on one of the application wherein Apache CXF, Spring is used to develop webservices开发者_StackOverflow社区. The application now contains more than 50 webservices and more than 300 spring managed beans. Every time the application server is started it takes more than 15-20 minutes. (server with 4gb ram, jboss/tomcat app server, linux os) Is there any way to reduce the startup time taken by the server.


Definitely plug in a profiler and figure out what is going on. That seems WAY WAY longer than it should.

My gut feeling is that it's trying to hit the internet or something for schemas and then waiting for timeouts and such. That's the normal cause for that level of slowdown. In addition to a profiler, using Wireshark or something to monitor and outbound traffic would also be a good idea. If that IS the case, then using a catalog to redirect any traffic to local copies of schemas and wsdl's would produce a HUGE benefit.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜