facebook

The project only partially deploy to Tomcat-server [Closed]

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

    Hi!

    I have run in to a serious problem. When I deploy a project to a application server, only fragments of the files I want to deploy is actually on the server. It worked fine yesterday and haven’t changed anything.
    First some information about my environment:

    Finally a picture of the project:

    Also I’m using Windows XP pro sp1.

    The problem is that when I try to deploy the project into Tomcat, in my webapp I only get some files. For example, web.xml is missing as well as other *.class files.

    I haven’t the faintest idea what to do to solve this problem. The only thing I know is that I’m not productive.

    Please help!

    Regards

    Jonas Karlsson

    #231125 Reply

    This seams to be a tricky bug to track down. After I had restarted MyEclipseIDE several times, doing nothing special, it worked again. Funny! 8)

    However, I still think MyEclipseIDE is the best Java-IDE regardless the cost!

    //Jonas

    #231246 Reply

    Scott Anderson
    Participant

    Jonas,

    The issue related to partial deployment *might* be due to a file system lock. Did you have an Explorer window open on the directory, for instance? Usually when something odd like that occurs, simply shutting down the server and redeploying the application from within MyEclipse (Deployment Manager Dialog) will do the trick. If it occurs again, any additional information you can provide to help us track it down would be great. Also, errors may have been logged to the Eclipse error log at <workspace>/.metadata/.log.

    However, I still think MyEclipseIDE is the best Java-IDE regardless the cost!

    Thanks a lot for that! Any help you can give us on the marketing side, by telling your friends or writing about us in your blog, would be greatly appreciated. 🙂

    #231487 Reply

    mi_nielsen
    Member

    Hi

    I have the same problem, and no there is not another process locking files in the webapps directory. It has been working for a long time, then one day
    all of the subdirs under WebRoot containing jsp files no longer get deployed.

    My setup is:
    Windows XP Pro with latest fixes.
    MyEclipse 3.8.3
    Eclipse 3.0.1
    Tomcat: 5.5.4

    To get going quickly I simply created a web web project and copied the files into that, and that made it work for approx. 1 day.
    Now the new project has the same problem. There are no messages in the .log file.

    The project is build with JSF and hibernate

    Regards
    Michael

    #231489 Reply

    mi_nielsen
    Member

    Hi

    I might have found the problem. It appears that the WebRoot had become out off sync with the filesystem. After doing a refresh in the Resource perspective
    it now works. This might be an eclipse bug/feature. I am aware off the performance issues with automatic sync with the filesystem, but at least on startup
    eclipse should have an option to indicate or do a full sync.

    Michael

    #231507 Reply

    Scott Anderson
    Participant

    Michael,

    Yes, if Eclipse gets out of sync you have to manually sync it up. It won’t automatically detect changes and perform the sync itself, especially for file adds and deletes.
    Sounds like you’ve got it under control though. Good deal!

Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: The project only partially deploy to Tomcat-server [Closed]

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