[ 
https://issues.apache.org/jira/browse/MTOMCAT-163?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13546093#comment-13546093
 ] 

Glen Mazza commented on MTOMCAT-163:
------------------------------------

I think the default URL for the Tomcat 7 plugin *should* be /manager/text for 
everything, allowing the mvn tomcat7:undeploy to be brought back.  For the 
Codehaus Maven plugin, it was necessary for me to switch from 
http://localhost:8080/manager for Tomcat 6 to 
http://localhost:8080/manager/text for Tomcat7 (See here:  
http://www.jroller.com/gmazza/entry/web_service_tutorial#WFstep3-war), along 
with different permissions in the tomcat-users.xml file 
(http://www.jroller.com/gmazza/entry/web_service_tutorial#maventomcat).

>From the Tomcat 7 documentation, bottom of this section: 
>http://tomcat.apache.org/tomcat-7.0-doc/manager-howto.html#Introduction it's 
>clear the /manager/html is just for the graphical webapp while the 
>/manager/text is for scripting (including presumably the Maven Tomcat7 
>plugin), as further shown here: 
>http://tomcat.apache.org/tomcat-7.0-doc/manager-howto.html#Supported_Manager_Commands
> .


                
> No undeploy goal
> ----------------
>
>                 Key: MTOMCAT-163
>                 URL: https://issues.apache.org/jira/browse/MTOMCAT-163
>             Project: Apache Tomcat Maven Plugin
>          Issue Type: New Feature
>          Components: tomcat7
>    Affects Versions: 2.0-beta-1
>            Reporter: Tony Chemit
>            Assignee: Olivier Lamy (*$^¨%`£)
>         Attachments: MTOMCAT-163__No_undeploy_goal.diff
>
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> in tomcat6-m-p there is a undeploy goal but no more in tomcat7 plugin.
> I understand that undeploy function is now no more accessible via the 
> /manager/html but only via the /manager/text.
> I see one problem to fix this :
> - The manager url (via the AbstractCatalinaMojo#url field) is common to all 
> mojo and by default is setted to /manager/html.
> Should we use instead two fields :
> - one for tomcat manager url (http://localhost:8080/manager) (common to all 
> mojo)
> - one for type of manager to use html in some mojo case, text in other cases ?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to