You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Eduardo M KALINOWSKI <ed...@kalinowski.com.br> on 2010/02/04 13:10:44 UTC

Slow deployment to JBoss when Maven is used

I'm facing a strange problem. Before Maven, JBoss took about 20-30s to  
deploy our .ear (including some EJBs, one .war and a few library  
.jars). Now that we are using maven, the same operation is taking  
about 1m20s, despite the file being smaller (since only the  
dependencies that are actually used are now included).

This happens both with the .ear generated with maven alone, and with  
the .ear generated by eclipse (using m2eclipse and WTP integration).

Does anyone have an idea of the cause and things that can be done?


-- 
Love your neighbour, yet don't pull down your hedge.
		-- Benjamin Franklin

Eduardo M KALINOWSKI
eduardo@kalinowski.com.br


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Slow deployment to JBoss when Maven is used

Posted by Eduardo M KALINOWSKI <ed...@kalinowski.com.br>.
On Qui, 04 Fev 2010, Eduardo M KALINOWSKI wrote:
> I'm facing a strange problem. Before Maven, JBoss took about 20-30s  
> to deploy our .ear (including some EJBs, one .war and a few library  
> .jars). Now that we are using maven, the same operation is taking  
> about 1m20s, despite the file being smaller (since only the  
> dependencies that are actually used are now included).
>
> This happens both with the .ear generated with maven alone, and with  
> the .ear generated by eclipse (using m2eclipse and WTP integration).

Forgot to mention: what takes most time is deploying the Web  
application. The EJBs are loaded almost instantly, before and after  
maven.


-- 
Yesterday upon the stair
I met a man who wasn't there.
He wasn't there again today --
I think he's from the CIA.

Eduardo M KALINOWSKI
eduardo@kalinowski.com.br


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org