facebook

sporadic deployment update issue?

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse Archived
  2.  > 
  3. Bugs
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #214577 Reply

    Erez
    Member

    I am working with MyEclipse 3.8.1 + all patches, and JBoss.

    For some reason if I add a new gifs to my images directory (from outside the MyEcplise), then I refresh the tree those new images are not deployed to the JBoss.

    Thanks in advance,
    Erez[/i]

    #214579

    Riyad Kalla
    Member

    Erez,
    You mean immediately, or when you do a full redeploy? I wouldn’t be surprised if they weren’t deployed immediately as you are circumventing Eclipse by dropping them in that folder… but if you mean after you do a full redeploy, then that is a problem.

    #214580

    Erez
    Member

    The full redeploy works fine. It’s the other that does not work.
    Meaning, if am currently debugging my application and I add a new image through the XP file system to the workspace images directory and click refresh on the workspace project tree the new image will not be copied to the JBoss deployment directory of my App. I have to stop JBoss, redeploy and rerun JBoss. Or, I can copy the image by myself manually -sad 🙂

    Hope this helps more,

    Erez

    #214617

    Scott Anderson
    Participant

    Erez,

    I have to stop JBoss, redeploy and rerun JBoss.

    Actually, can’t you just leave JBoss running and redeploy the application? I don’t understand why you need a full server restart.

    By the way, we’ve entered a bug report for investigation to see why the image isn’t being picked up.

    #214939

    Erez
    Member

    The JBoss is running, and I make changes and press ‘refresh’ on the sub-tree in the package editor. This in the past would pick up every change and correctly synchronize the deployed directory. Currently, images are not picked up and from time to time it happens with directories as well. In my case, I created a new JSP directory (using the XP file system browser) and this directory with its files were not copied to the deployed area. In order to achieve sync I had to stop JBoss, redeploy and restart JBoss.

    Hope this helps,

    Erez

    #215000

    Scott Anderson
    Participant

    Ereze,

    I tried to replicate this but could not. Here’s what I did:
    1) Created a web project and created an exploded deployment for it.
    2) Dragged a folder of images into it within Eclipse from the Windows Explorer.
    3) Opened the Deployment Manager Dialog and hit Browse. The directory was deployed to the remote folder
    4) Deleted the folder in Eclipse and then rechecked the remote directory. It had been deleted also.

    I also tried the above by simply copying the folder into the project directory in the workspace using only the Windows Explorer and then refreshing the project. When refreshed, the any new folders or files were deployed properly.

    Do you have Build Automatically selected for your workspace? The deployer works on the build cycle so if this is not enabled it would explain the behavior you’re seeing and why I can’t replicate it.

    #215711

    Erez
    Member

    Scott,

    I can’t pin point exactly why this is happening but it does. Now I am facing some similar problem where I have JBoss 3.2.5 working, and I change some JSP page I have and remove some part in it (I do it from within the MyEclipse), I save, but the deployed file does not get modified/redeployed to the target directory on JBoss.

    When I get to this point I really have to stop JBoss, redeploy manually (through MyEclipse deployer dialog) and restart JBoss, and everything is OK then.

    I wish I could help more to catch the reason.

    Erez

    #215712

    Erez
    Member

    I’ve done something that reactivated the redeployment and now it updates correctly without the need for restart. I’ll try to figure this out..

    Erez

Viewing 8 posts - 1 through 8 (of 8 total)
Reply To: sporadic deployment update issue?

You must be logged in to post in the forum log in