开发者

Glassfish v3.0.1 deployment suddently gone slow

I have a smallish web application containing of two WAR files which I deploy to Glassfish 3.0.1 which I have used the Eclipse Glassfish plugin for quite a while to do.

Now today, this process has suddenly slowed very noticeable. The WAR which contains a few JSP pages and static resources for the rest takes about 100 seconds to deploy, and the big one takes 274 seconds (as opposed to around 7 seconds before).

I've tried the following:

  • Stop and start the server repeatedly.
  • Reunzip Glassfish.
  • Delete and recreate the Server Adapter in Eclipse.
  • Use Real Jar Archives for Deployment in the Server Adapter.
  • Unplug the network (might be some network 开发者_如何学JAVAresource timing out).
  • Clean and redeploy the projects.

Any suggestions?


I'm guessing that the hot redeploy is filling up your perm gen space in memory. It's gotten slower every time you redeploy.

If I'm correct, shutting down the server and restarting periodically should sort out the problem.


Restarting glassfish has solved this for me in the past.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜