facebook

MyEclipse not finding web.xml

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #243050 Reply

    Brandon Rife
    Member

    I’m seeing a warning in the Problems view that reads “Missing web.xml deployment descriptor in WEB-INF folder”. I’m assuming that MyEclipse is the source of the warning (although I have no proof :). The web.xml is there and the real problem is that MyEclipse does not appear to be processing the *.tld files defined in the web.xml. I don’t get any auto complete help in jsp files and MyEclipse and MyEclipse complains the the tag is unknown.

    #243054 Reply

    Brandon Rife
    Member

    Problem solved. The web root directory in .mymetadata was a differnt case than the actual root. I edited .mymetadata and all is well.

    #244207 Reply

    ruhighosh
    Member

    Hey,
    I am facing the similar problem with a myfaces application. Please help 🙁

    INFO: Missing application web.xml, using defaults only StandardEngine[Catalina].StandardHost[localhost].StandardContext[/sandbox]
    Jan 9, 2006 4:02:50 PM org.apache.catalina.core.ApplicationContext log

    Thanks in advance,
    Ruhi

    #244215 Reply

    Riyad Kalla
    Member

    Ruhi,
    What is your MyEclipse Build ID (MyEclipse > About menu)

    Also, if you open up your project properties and go to MyEclipse-Web, what are the two fields set to?

    And lastly, what is the exact text from the error in your problem view? Please copy-paste it.

    #244690 Reply

    ruhighosh
    Member

    It is Version: 4.0.100
    Build id: 20051103-4.1-Milestone1

    In my project properties i have checked they are correct entries for WebRoot and Context root.

    I had already pasted the error from the console.

    Thanks,
    Ruhi

    #244696 Reply

    Riyad Kalla
    Member

    Ruhi,
    Can you export the project to a zip and email it to support@genuitec.com ATTN Riyad. Also include a link to this forum post so I know why I am receiving the file.

    #245323 Reply

    Smitty
    Participant

    Ruhi,

    Was this problem ever resolved? I’m facing similiar problem deploying to weblogic 8.1. It’s like only part of my files are getting deployed and my web.xml and other are not. I was working fine for a while, then switched projects and deployed their and not can’t deploy in my original project.
    I spend hours trying to get my deployment to work. What is really going on behind the scenes. Can I do this manually and have it work 100% of the time instead of 50% of the time using the myeclipse deployment. Very frustrating.

    #245351 Reply

    Riyad Kalla
    Member

    Smitty,
    Have you tried removing all your deployments, close your rpojects, and restart with the -clean command line argument then open and rebuild your effected projects then re-create the deployment. See if that helps. If not, please can you post all the information we request in the [URL=http://www.myeclipseide.com/PNphpBB2+file-viewtopic-t-393.html]Posting Guidelines[/URL] thread at the top of this forum? That will give us some context so that we can determine if this is an installation issue, a configuration problem, or a bug. Thanks.

    #246471 Reply

    Smitty
    Participant

    I thought I narrowed the deployment problem down to a plugin. We are using the IBM ClearCase Remote client plugin. I saw in the eclipse log an exception related to a file being locked by the ccrc plugin. I changed the ccrc plugin preferences Editor/Workspace – Checkin files to “Prompt to checkout”, Automatically Checkout, Automatically Checkout, Do not hijack, Do nothing, and Prompt to save dirty… options in this order. You have to see the Clear Case preferences window to know what I mean hear. Basically the deployment process was trying to modify a file and ClearCase wasn’t allowing it. By changing these options ClearCase let the deployment process modify any files it needed.

    I still no have to follow this exact flow in order to get my deployment to work:
    Shutdown Eclipse
    Open Eclipse
    Close my two projects
    Open my two projects
    Clean Build both projects
    Deploy exploded
    cross my fingers
    Start WebLogic 8.1
    If all the files deployed it works. Sometimes I have to go through these exact steps two or three times to get it to work.

    One thing that would help is if an exception is thrown or the deployment fails to copy all the files is if it would do more than just write to the log. The user should be notified if the deployment fails to copy all the files.

    I think part of the problem I’m having also is because CCRC makes all the files read-only in my workspace. I noticed when I deployed and it finished real quick, that it wasn’t deploying all the files. I then went in and hijacked my web.xml file, which turns off the read only flag, that the file immediatley deployed to the server directory. I then unhijacked the file which makes it readonly again and it got removed from the servers deployment directory. Usually once I get past a clean deployment I’m good for a few weeks until I have to redeploy becuase certain files like jar’s sometimes aren’t deploying either. Once I do a redeploy I get the problem again of no web.xml and other files not getting copied to the deployment directory, then end up having to go through the steps again to undeploy and redeploy again.

    Is there some way to manually just sync things up when the automatic deployment doesn’t copy all the files? I thought about running an Ant script to copy all the files, but don’t know if that will then put me out of sync with the automated process of deployment.

    Thanks,
    Smitty

    I reviewed the posting guidelines and a request was made for a configuration summary, I could not find that option so here is the Configuration “detail”.

    <REMOVED MESS OF CONFIGURATION>

    What we want is MyEclipse > About > Configuration Summary, which was added in MyEclipse 4.0.1 and from your previous results it seems you have 4.0.3 installed and running. Do you not see this button.

    #248235 Reply

    Smitty
    Participant

    Sorry for the long delay in getting back to you. I got tied up in my project. This is still an issue I fight with from time to time and I’d really like to understand a sure way around it. Sorry I didn’t post the right summary info. I see what I did now and here is the correct summary info you wanted.
    *** Date: Thu Mar 09 16:16:35 PST 2006

    *** System properties:
    OS=WindowsXP
    OS version=5.1
    Java version=1.4.2_08

    *** MyEclipse details:
    MyEclipse Enterprise Workbench

    Version: 4.0.3 GA
    Build id: 20051025-4.0.3-GA

    *** Eclipse details:
    Eclipse SDK

    Version: 3.1.0
    Build id: I20050627-1435

    Eclipse Platform

    Version: 3.1.0
    Build id: I20050627-1435

    Eclipse RCP

    Version: 3.1.0
    Build id: I20050627-1435

    Eclipse Java Development Tools

    Version: 3.1.0
    Build id: I20050627-1435

    Eclipse Plug-in Development Environment

    Version: 3.1.0
    Build id: I20050627-1435

    Eclipse Project SDK

    Version: 3.1.0
    Build id: I20050627-1435

    Eclipse startup command=-os
    win32
    -ws
    win32
    -arch
    x86
    -launcher
    D:\Program Files\eclipse\eclipse.exe
    -name
    Eclipse
    -showsplash
    600
    -exitdata
    1594_d8
    -vm
    C:\WINDOWS\system32\javaw.exe

    #259537 Reply

    mimi_grebici
    Member

    Hi
    I dont know if it is the same problem!!!

    the web.xml file is not copyed in server deplyed folder (WEB-INF )!!!!!

    can you tell me why please!!

    Mimi

    #259560 Reply

    Riyad Kalla
    Member

    Mimi,
    If you’d like help with the problem I need a lot more information from you. What is your project layout? What kind of project is it? How are you deploying it? How are you building it? Are you using any Ant scripts? And lastly your system information… these are all covered in our posting guidelines requirements, without these details it’s a lot like walking into a store and saying “My thing is broken, please help me”… just too little information.

Viewing 12 posts - 1 through 12 (of 12 total)
Reply To: MyEclipse not finding web.xml

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