MyEclipse Forums
Post new topic   This topic is locked: you cannot edit posts or make replies.
View previous topic Printable version Log in to check your private messages View next topic
Author Message
balanceofpower
Post subject: Exploded deployment still broken in 10.6  PostPosted: Aug 09, 2012 - 06:02 AM
Registered Member
Registered Member


Joined: Mar 10, 2005
Posts: 250

Exploded deployment still broken in 10.6.

This was reported quite a while ago.

The workaround is to run up MyEclipse and forcibly undeploy any exploded projects then exploded deploy again.

you ALSO have to keep an eye on the directory exploded to and watch for spurios files appearing from time to time.

you ALSO find that sometimes, if you are running code, and it seem to have nothing changing, that you expect to have changed, then stop the server, undeploy and re-deploy again.

Spot the trend here!!!

I am using JBoss 7.x (with the new ".dodeploy" deployment facility) but have seen on Tomcat too.

It's a real shame as Exploded deployment is truly AWESOME.

JEE 6, Maven, JBoss 7.x, Arquillian
 
 View user's profile Send private message  
Reply with quote Back to top
support-swapna
Post subject:   PostPosted: Aug 10, 2012 - 01:35 PM



Joined: Nov 11, 2010
Posts: 2193

Tony,

Sorry that you are still seeing issues. A dev team member will get back to you.

_________________
Swapna
MyEclipse Support
 
 View user's profile Send private message  
Reply with quote Back to top
Support-Brian
Post subject:   PostPosted: Aug 13, 2012 - 09:39 PM
Moderator
Moderator


Joined: Aug 21, 2004
Posts: 2518

Tony,

I'd like to confirm that we are on the same page from our prior discussions. You are using the manual deployment mode with JBoss 7 - the auto deployment should be working just fine, but you had a problem with it automatically redeploying too frequently, correct?

You mention you are using the .dodeploy technique - with this you are supposed to touch the .dodeploy file when you want it to pick up changes; I assume you are doing this already? At this point it should be JBoss reacting and picking up the changes and you should see messages to this effect in the console. Can you tell me what happens in your case exactly?

Note - we have made no changes to the deployment logic in JBoss 7 since 10.0.1, changes that would require us to automatically hit the .dodeploy file we will be looking at making in the MyEclipse 11 stream with an updated deployment architecture (also will allow greater control over what you want to deploy). It may actually be counter productive to have the IDE automatically hit the .dodeploy file on every detected change and could possibly result in the same behavior you see now with the auto-deployment; this is something we need to investigate further. For example, with WebSphere in Blue, we have an enhanced mode which does not push changes to the server immediately, but requires that the user hit the "redeploy" button which would send a "diff" to the server instead of redeploying the entire application. Thoughts?

_________________
Brian
MyEclipse Support
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
balanceofpower
Post subject:   PostPosted: Aug 14, 2012 - 01:09 AM
Registered Member
Registered Member


Joined: Mar 10, 2005
Posts: 250

>>
Quote:
I'd like to confirm that we are on the same page from our prior discussions.


No ignore previous. Nothing to do with that. Its "fixed".


>>
Quote:
You mention you are using the .dodeploy technique - with this you are supposed to touch the .dodeploy file when you want it to pick up changes; I assume you are doing this already? At this point it should be JBoss reacting and picking up the changes and you should see messages to this effect in the console. Can you tell me what happens in your case exactly?


Not relevant and in fact when using exploded deployment WRONG UNLESS you alter a method sig OR want a config file to be picked up... its quicker to terminate server and restart anyhow.

I can generally alter .xhtml pages and method code and just carry on and it takes effect instantly; which is what exploded deployment is about If I hit a method sig then I get the "this is way to hard for em to figure out" from the server and I hit the terminate server button and just restart the server... if you want certain other files to take effect (xxx.messages or some config files) then you also have to stop/restart but NEVER EVER do I touch the .dodeploy file.

>>
Quote:
Note - we have made no changes to the deployment logic in JBoss 7 since 10.0.1, changes that would require us to automatically hit the .dodeploy file we will be looking at making in the MyEclipse 11 stream with an updated deployment architecture (also will allow greater control over what you want to deploy). It may actually be counter productive to have the IDE automatically hit the .dodeploy file on every detected change and could possibly result in the same behavior you see now with the auto-deployment; this is something we need to investigate further. For example, with WebSphere in Blue, we have an enhanced mode which does not push changes to the server immediately, but requires that the user hit the "redeploy" button which would send a "diff" to the server instead of redeploying the entire application. Thoughts?


Not relevant




----

Back to the defect:

This was reported quite a while ago.

The workaround is to run up MyEclipse and forcibly undeploy any exploded projects then exploded deploy again. [MyEclipse -> Add and remove project depoloyments...]

you ALSO have to keep an eye on the directory exploded to and watch for spurios files appearing from time to time.

you ALSO find that sometimes, if you are running code, and it seem to have nothing changing, that you expect to have changed, then stop the server, undeploy and re-deploy again. [MyEclipse -> Add and remove project depoloyments...]

Spot the trend here!!!

I am using JBoss 7.x (with the new ".dodeploy" deployment facility) but have seen on Tomcat too.

It's a real shame as Exploded deployment is truly AWESOME.

JEE 6, Maven, JBoss 7.x, Arquillian

Note:
Exploded deploy a project on Tomcat 7 or Jboss 7 then shut MyEclipse and restart.. now alter a file in myeclipse and save it... check if this file has erronorusly been copied by MyEclipse into the wrong area... it gets put (often) in my case, C:\jboss-as-7.1.1.Final\standalone\deployments directory as opposed to INSIDE the deployed project.... Happy bug hunting...
 
 View user's profile Send private message  
Reply with quote Back to top
Support-Brian
Post subject:   PostPosted: Aug 15, 2012 - 06:12 PM
Moderator
Moderator


Joined: Aug 21, 2004
Posts: 2518

Tony,

1) With JBoss 7, do you have the "use auto-deploy mode" checkbox checked or not? I'm assuming not, please confirm.

2)
Quote:
This was reported quite a while ago.

The workaround is to run up MyEclipse and forcibly undeploy any exploded projects then exploded deploy again. [MyEclipse -> Add and remove project depoloyments...]

you ALSO have to keep an eye on the directory exploded to and watch for spurios files appearing from time to time.

you ALSO find that sometimes, if you are running code, and it seem to have nothing changing, that you expect to have changed, then stop the server, undeploy and re-deploy again. [MyEclipse -> Add and remove project depoloyments...]
Please point me to the thread where you have originally reported this problem so I have the right context.

The only other issue that we are tracking but haven't yet fixed is
Quote:
it gets put (often) in my case, C:\jboss-as-7.1.1.Final\standalone\deployments directory as opposed to INSIDE the deployed project....
- we were unable to reproduce this after spending over a day trying to reproduce. My only explanation is that perhaps there is something specific to your project configuration that is causing the deployment logic to trip and behave in this way. If you could send us your .project, .classpath, .mymetadata file along with all files in your .settings folder and the web.xml file, that would help. Can you please ZIP and email these to support@myeclipseide.com with a link to this thread?
Also, you originally reported this problem with Tomcat 7, so I take it that it happens with both Tomcat 7 and JBoss 7. If this project is a Maven project, please include your pom.xml too. If you do have non-Maven projects, have you noticed this problem with them too?

_________________
Brian
MyEclipse Support
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
balanceofpower
Post subject:   PostPosted: Aug 19, 2012 - 09:30 PM
Registered Member
Registered Member


Joined: Mar 10, 2005
Posts: 250

email sent to support...
 
 View user's profile Send private message  
Reply with quote Back to top
support-tony
Post subject:   PostPosted: Nov 26, 2012 - 07:05 AM



Joined: Mar 09, 2011
Posts: 731

Tony,

This issue has now been fixed in release 10.7. You can use the Configuration Center to update to 10.7. Alternatively download the MyEclipse or MyEclipse Blue installer from our download page.

Thanks for reporting the issue and sorry for the inconvenience.

_________________
Tony
MyEclipse Support
 
 View user's profile Send private message  
Reply with quote Back to top
balanceofpower
Post subject:   PostPosted: Nov 26, 2012 - 09:34 AM
Registered Member
Registered Member


Joined: Mar 10, 2005
Posts: 250

Sure was.
The original fix you sent worked fine.
Thx
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
Post new topic   This topic is locked: you cannot edit posts or make replies.
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits