facebook

deploying web project with struts and ejb in jboss

💡
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 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #252307 Reply

    Rottner
    Member

    Hello,

    I’m trying to deploy a webproject created with myeclipse. When adding Deployment I allways get a jar Archive. The package explorerer showed it as a Webproject with all necessary directories like WebRoot and WEB-INF and the web.xml file inside WEB-INF

    I looked in the .mymetada file and saw that archivename was .jar. I changed it to .war but this didn’t help

    below the contents of .mymetada

    <?xml version=”1.0″ encoding=”UTF-8″?>
    <project-module
    type=”WEB”
    name=”LibraryWeb”
    id=”myeclipse.1147607030656″
    context-root=”/LibraryWeb”
    j2ee-spec=”1.4″
    archive=”LibraryWeb.war”> This I changed fron .jar to .war
    <attributes>
    <attribute name=”webrootdir” value=”/WebRoot” />
    </attributes>

    Best regards

    Dorit

    </project-module>

    #252358

    Riyad Kalla
    Member

    Dorit,
    You don’t want to change the archive value in that file. To make sure you are deploying the file correctly please have a look at this doc under deployment:
    http://www.myeclipseide.com/images/tutorials/quickstarts/appservers/

    You use the toolbar button and select either a packaged (WAR) or exploded (directly copied) version of your webapp.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: deploying web project with struts and ejb in jboss

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