Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
amistric
21 Post subject: Deploying large exploded WARs on JBoss 4.x timing issues  PostPosted: Mar 06, 2006 - 08:04 PM
Registered Member
Registered Member


Joined: Jun 29, 2004
Posts: 38

Hi

I believe there is a bug when deploying exploded WAR project using JBoss 4.x app server connector.
What occurs (especially on LARGE projects) is that JBoss starts deploying <project>.war folder before MyEclipseIDE is finished copying contents into it.

Due this mis-synchronization a project will fail to deploy on JBoss because not all classes, libraries and other resources are done copying when deployment occurs.

WORKAROUND:
Defaul deployment scanning interval in JBoss is 5000 mils (5 seconds)...This can be increased in conf/jboss-service.xml. This seem to help but occasionally problem still occurs.

PROPOSED FIX:
Have ME use tmp folder on initial deployment (with the name that JBoss ignores) and then rename it to <context>.war to avoid issues with large projects.
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
support-rkalla
Post subject:   PostPosted: Mar 07, 2006 - 01:06 PM
Registered Member
Registered Member


Joined: Jan 06, 2004
Posts: 23855

This is why we suggest not deploying to a running app server, but your proposed fix is a good idea, I'll pitch it to the team. Thanks for reporting it.

_________________
Riyad
MyEclipse Support
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits