facebook

No .war extension when deploying

💡
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
  • #263559 Reply

    giannico
    Member

    Hello,

    I am attempting to deploy a dynamic web application to Sun AS 9. I have set up the server and project, and added the project to the server via the “Manage Deployments” screen. When I try to deploy the application, I confirmed that the project’s war file was copied to the Sun Autodeploy directory, however, there is no “.war” extension on the filename. As a result, Sun AS is not deploying the file.

    Is there a way to fix this, or is this the expected behavior? I apologize if this was addressed in another thread, but I wasn’t able to find a solution anywhere else.

    Thanks,
    Andre

    #263582

    Greg
    Member

    Using packaged deployment will automatically add a .war extension. However, if you are wanting to deploy using exploded deployment, under the Server option you can choose a <Custom location – suffixed> and put in the exact path to your deployment and also include a .war suffix.

    #263586

    giannico
    Member

    Thanks for the reply, but I was using packaged deployment and wasn’t getting a .war extension. It was adding a .war when I deployed to Tomcat, but not for Sun AS 9. When it previewed the path of the destination file, it did not have a .war extension (or any other extension for that matter).

    #263633

    Greg
    Member

    You can still use the <Custom location – suffixed> and choose “Packaged Deployment” and just select the directory in your Sun AS 9 deploy directory. Then you can ensure that the war will have the correct suffix.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: No .war extension when deploying

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