users@glassfish.java.net

Very slow deployment on Glassfish

From: <glassfish_at_javadesktop.org>
Date: Wed, 03 Sep 2008 07:20:23 PDT

Hi All,

For some reason my EAR application deploys terrible slow on Glassfish. It contains a few EJBs and JPA entities, but it still takes much longer than I would expect (about 1.5 minutes). I'm using the Ant task which I include below for you to have a look at:

<sun-appserv-deploy asinstalldir="${glassfish.dir}">
  <component name="${component.name}" file="${ear.path}" force="true" verify="true" />
  <server user="${glassfish.admin.user}" passwordfile="${glassfish.admin.passwordfile}" host="${glassfish.host.address}" port="${glassfish.host.port}" />
</sun-appserv-deploy>

I've tried turning off verify and deploying from a directory, but it doesn't help.
Any ideas how I can speed up the process?

Thank you,
Jaco
[Message sent by forum member 'jacolists' (jacolists)]

http://forums.java.net/jive/thread.jspa?messageID=296914