facebook

How to build war file in eclipse?

💡
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. Application Servers and Deployment
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #247326 Reply

    Jyoti_Shah
    Member

    Hi,

    I went over the JSF example that is given in myeclipse demo.
    When I try to build a war file of Login Demo project, it does not
    recognise the project as valid web module.

    And, it seems to deploy successfully on tomcat.
    But it doesn\’t seem to run on tomcat.
    It says \” requested resouce not available\”

    Any help is appreciated.

    Thanks
    Jyoti

    #247343

    Riyad Kalla
    Member

    Jyoti,
    You are going to need to give us more information. What kind of deployment did you setup? An exploded deployment or packaged? What is the URL you are trying to access when you see “requested source is not available”? What context did you deploy your app too (/myapp, /jsflogindemo, etc.)?

    #247344

    Jyoti_Shah
    Member

    Hi,

    I used exploded deployment.
    The url that I was trying to access is:
    http://localhost:8080/JSFLoginDemo/userLogin.jsp

    I want to be able to export the project as war file so that I can deploy them
    on different web servers [ tomcat & iplanet ] for testing.

    Thanks for any help!

    Regards
    Jyoti

    #247347

    Riyad Kalla
    Member

    Jyoti,
    1) If you use a “packaged” deployment, that will create the WAR for you. Also note that you can use File > Export > J2EE WAR

    2) Notice in the JSF tutorial that you have to use userLogin.faces, you cannot access the page using .jsp.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: How to build war file in eclipse?

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