Speed up Weblogic Server startup times

前端 未结 8 928
旧时难觅i
旧时难觅i 2021-02-01 18:24

At my work, we use Weblogic Server to host an enterprise portal. Which is fine.

However, I\'ve recently had the opportunity to use Tomcat for some side projects, and I a

8条回答
  •  旧时难觅i
    2021-02-01 19:11

    You will not be able to turn the frog into a princess. I would wonder slightly about those startup times for weblogic - they seem a bit excessive, you're not running on linux by any chance ?

    If you're running nested archives (wars within ears etc) and also directory-scanning technologies (hibernate, spring etc), you may try unpacking it all to the corresponding exploded structure before deploying; it has been known to help a bit.

    Tomcat contains a very small subset of the features weblogic has. We develop on jetty but deploy on weblogic for acceptance/production environments and this works fairly well. You can do the same with tomcat.

    Tomcat is a fairly strict container whilst weblogic is lenient, so you'll normally have only minor troubles deploying to weblogic, especially as long as you continuously do both.

    You can also use a tool like javarebel to do really nifty hot-deployment and avoid all those restarts.

提交回复
热议问题