facebook

Sync-on-Demand with JBoss

  1. MyEclipse Archived
  2.  > 
  3. Application Servers and Deployment
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #262759 Reply

    Marcus Beyer
    Member

    Greetings.

    I have MyEclipse with JBoss 4.0.2 on my local machine. Fine.

    But I have some trouble with Sync-on-Demand on exploded web archives. JSPs are synchronized nicely. But e.g. Servlets are not successfully synchronized. Because those .class are in use (by JBoss) the operating systems does not allow these files to be replaced. I tried first on Windows XP and now switched to Mac OS X, having the same problem.

    please help!

    Marcus

    #262784 Reply

    Marcus Beyer
    Member

    I am not sure, if locking really (still) is the problem.

    Now I updated to MyEclipse 5.1, because of the “Optimized exploded application redeployment feature”.

    1. Then I deployed an exploded WAR. Next I modified a Servlet. Servlet behaves like before 🙁
    2. Then I used the new(?) Servers/redeploy feature. Servlet behaves like before 🙁
    3. Then I removed the WAR folder and deployed it as an archive (with MyEclipse). Servlet behaves like before 🙁 Strange!
    4. Then I created and deployed that WAR using my own ant script. Servlet modification works. Very strange!

    So there must be a difference between the WAR MyEclipse created and the WAR my ant script creates. I compare those two archives and see one difference:

    The WAR MyEclipse creates, contains all jars that are in the project classpath in in WEB-INF/lib! Not only those that are already in WEB-INF/lib in the project tree.

    Is this a bug? How can I stop MyEclipse from copying files into WEB-INF/lib?

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Sync-on-Demand with JBoss

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