facebook

deploying to sandbox tomcat 6 with tomcat-maven-plugin

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

    djhill
    Member

    I need to be able to demo deployment of a maven webapp project to both the sandbox tomcat 6 and a standalone tomcat 6 server using the tomcat-maven-plugin. Both servers use port 8081 so as not to conflict with other processes, but only one will be running at any given time.

    I’ve updated my local settings.xml to define the server, and have added a manager role to a copy of tomcat-users.xml. An ant script in an imported “utility” project installs these as follows:

      settings.xml to ~/.m2
      tomcat-users.xml to {standalone tomcat}/conf
      tomcat-users.xml to {workspace/.metadata/…./tomcat}/conf

    The web project’s pom has the appropriate plugins defined.

    Deployment to the standalone server works filne, but to the sandbox I consistenty get “Reason: Cannot invoke Tomcat manager”. I believe the authentication should be working, since it works for the standalone server.

    Am I missing something about how the sandbox tomcat 6 is configured and started? I’m concerned because, in addition to the deploy not working, I also cannot display the apache status or docs pages, which I typically do to demo a clean install.

    Thanks!

    Config: Vista Business SP1; MyEclipse 6.0.1; m2eclipse 0.9.6.20080905; tomcat-maven-plugin (resolved to 1.0-alpha-1).

    #291692 Reply

    Loyal Water
    Member

    djhill,
    You are facing this issue with the SandBox Tomcat because it is not a complete Tomcat package. Only the basic tomcat files as available with the sandbox tomcat for quick running / testing of applications in MyEclipse.

    #291695 Reply

    djhill
    Member

    Thanks nipun. I did figure out why the plugin fails. I have just posted a more general question as to why that functionality is omitted from the sandbox.

    #291750 Reply

    Loyal Water
    Member

    Your welcome.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: deploying to sandbox tomcat 6 with tomcat-maven-plugin

This topic is marked as closed to new replies, however your posting capabilities still allow you to do so.

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