You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by "Josh Harness (JIRA)" <ji...@apache.org> on 2012/07/20 18:35:35 UTC

[jira] [Created] (MTOMCAT-169) Unable to Deploy WAR Defined via "webapps" Declaration

Josh Harness created MTOMCAT-169:
------------------------------------

             Summary: Unable to Deploy WAR Defined via "webapps" Declaration
                 Key: MTOMCAT-169
                 URL: https://issues.apache.org/jira/browse/MTOMCAT-169
             Project: Apache Tomcat Maven Plugin
          Issue Type: Bug
          Components: tomcat7
    Affects Versions: 2.0
         Environment: MAC OSX
            Reporter: Josh Harness
            Assignee: Olivier Lamy (*$^¨%`£)
            Priority: Minor


Web app does not deploy via embedded tomcat (tomat7:run) when I define the following in my plugin config:

<webapps>
  <webapp>
    <groupId>com.company</groupId>
    <artifactId>mywebapp</artifactId>
    <version>1.0</version>
    <type>war</type>	
  </webapp>
</webapps>

I only see the following and am unable to use the web application:

[INFO] Deploy warfile: /Users/joshar1/.m2/repository/com/company/mywebapp//1.0/mywebapp-1.0.war to contextPath: /mywebapp

I have a patch I'll attach to this ticket.



--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

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


[jira] [Closed] (MTOMCAT-169) Unable to Deploy WAR Defined via "webapps" Declaration

Posted by "Olivier Lamy (*$^¨%`£ JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MTOMCAT-169?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Olivier Lamy (*$^¨%`£) closed MTOMCAT-169.
------------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.0

patch applied with modification.
you must configure <asWebapp> for the additional webapp.
                
> Unable to Deploy WAR Defined via "webapps" Declaration
> ------------------------------------------------------
>
>                 Key: MTOMCAT-169
>                 URL: https://issues.apache.org/jira/browse/MTOMCAT-169
>             Project: Apache Tomcat Maven Plugin
>          Issue Type: Bug
>          Components: tomcat7
>    Affects Versions: 2.0
>         Environment: MAC OSX
>            Reporter: Josh Harness
>            Assignee: Olivier Lamy (*$^¨%`£)
>            Priority: Minor
>             Fix For: 2.0
>
>         Attachments: MTOMCAT-169.patch
>
>
> Web app does not deploy via embedded tomcat (tomat7:run) when I define the following in my plugin config:
> <webapps>
>   <webapp>
>     <groupId>com.company</groupId>
>     <artifactId>mywebapp</artifactId>
>     <version>1.0</version>
>     <type>war</type>	
>   </webapp>
> </webapps>
> I only see the following and am unable to use the web application:
> [INFO] Deploy warfile: /Users/joshar1/.m2/repository/com/company/mywebapp//1.0/mywebapp-1.0.war to contextPath: /mywebapp
> I have a patch I'll attach to this ticket.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

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


[jira] [Commented] (MTOMCAT-169) Unable to Deploy WAR Defined via "webapps" Declaration

Posted by "Olivier Lamy (*$^¨%`£ JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MTOMCAT-169?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13425055#comment-13425055 ] 

Olivier Lamy (*$^¨%`£) commented on MTOMCAT-169:
------------------------------------------------

Hi,
Your patch file doesn't provide any informations on which class has been modified.
Thanks
                
> Unable to Deploy WAR Defined via "webapps" Declaration
> ------------------------------------------------------
>
>                 Key: MTOMCAT-169
>                 URL: https://issues.apache.org/jira/browse/MTOMCAT-169
>             Project: Apache Tomcat Maven Plugin
>          Issue Type: Bug
>          Components: tomcat7
>    Affects Versions: 2.0
>         Environment: MAC OSX
>            Reporter: Josh Harness
>            Assignee: Olivier Lamy (*$^¨%`£)
>            Priority: Minor
>         Attachments: MTOMCAT-169.patch
>
>
> Web app does not deploy via embedded tomcat (tomat7:run) when I define the following in my plugin config:
> <webapps>
>   <webapp>
>     <groupId>com.company</groupId>
>     <artifactId>mywebapp</artifactId>
>     <version>1.0</version>
>     <type>war</type>	
>   </webapp>
> </webapps>
> I only see the following and am unable to use the web application:
> [INFO] Deploy warfile: /Users/joshar1/.m2/repository/com/company/mywebapp//1.0/mywebapp-1.0.war to contextPath: /mywebapp
> I have a patch I'll attach to this ticket.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

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


[jira] [Updated] (MTOMCAT-169) Unable to Deploy WAR Defined via "webapps" Declaration

Posted by "Josh Harness (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MTOMCAT-169?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Josh Harness updated MTOMCAT-169:
---------------------------------

    Attachment: MTOMCAT-169.patch

Patch to allow wars defined via "webapps" config to be deployed. 

Change from addContext to addWebapp. Please advise if this is correct and what the implications of changing are. 
                
> Unable to Deploy WAR Defined via "webapps" Declaration
> ------------------------------------------------------
>
>                 Key: MTOMCAT-169
>                 URL: https://issues.apache.org/jira/browse/MTOMCAT-169
>             Project: Apache Tomcat Maven Plugin
>          Issue Type: Bug
>          Components: tomcat7
>    Affects Versions: 2.0
>         Environment: MAC OSX
>            Reporter: Josh Harness
>            Assignee: Olivier Lamy (*$^¨%`£)
>            Priority: Minor
>         Attachments: MTOMCAT-169.patch
>
>
> Web app does not deploy via embedded tomcat (tomat7:run) when I define the following in my plugin config:
> <webapps>
>   <webapp>
>     <groupId>com.company</groupId>
>     <artifactId>mywebapp</artifactId>
>     <version>1.0</version>
>     <type>war</type>	
>   </webapp>
> </webapps>
> I only see the following and am unable to use the web application:
> [INFO] Deploy warfile: /Users/joshar1/.m2/repository/com/company/mywebapp//1.0/mywebapp-1.0.war to contextPath: /mywebapp
> I have a patch I'll attach to this ticket.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

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


[jira] [Commented] (MTOMCAT-169) Unable to Deploy WAR Defined via "webapps" Declaration

Posted by "Josh Harness (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MTOMCAT-169?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13425057#comment-13425057 ] 

Josh Harness commented on MTOMCAT-169:
--------------------------------------

Sorry about that. MTOMCAT-170 has the same problem, too. I'll generate a new patch shortly and then attach it to both tickets.
                
> Unable to Deploy WAR Defined via "webapps" Declaration
> ------------------------------------------------------
>
>                 Key: MTOMCAT-169
>                 URL: https://issues.apache.org/jira/browse/MTOMCAT-169
>             Project: Apache Tomcat Maven Plugin
>          Issue Type: Bug
>          Components: tomcat7
>    Affects Versions: 2.0
>         Environment: MAC OSX
>            Reporter: Josh Harness
>            Assignee: Olivier Lamy (*$^¨%`£)
>            Priority: Minor
>         Attachments: MTOMCAT-169.patch
>
>
> Web app does not deploy via embedded tomcat (tomat7:run) when I define the following in my plugin config:
> <webapps>
>   <webapp>
>     <groupId>com.company</groupId>
>     <artifactId>mywebapp</artifactId>
>     <version>1.0</version>
>     <type>war</type>	
>   </webapp>
> </webapps>
> I only see the following and am unable to use the web application:
> [INFO] Deploy warfile: /Users/joshar1/.m2/repository/com/company/mywebapp//1.0/mywebapp-1.0.war to contextPath: /mywebapp
> I have a patch I'll attach to this ticket.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

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


[jira] [Updated] (MTOMCAT-169) Unable to Deploy WAR Defined via "webapps" Declaration

Posted by "Josh Harness (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MTOMCAT-169?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Josh Harness updated MTOMCAT-169:
---------------------------------

    Attachment:     (was: MTOMCAT-169.patch)
    
> Unable to Deploy WAR Defined via "webapps" Declaration
> ------------------------------------------------------
>
>                 Key: MTOMCAT-169
>                 URL: https://issues.apache.org/jira/browse/MTOMCAT-169
>             Project: Apache Tomcat Maven Plugin
>          Issue Type: Bug
>          Components: tomcat7
>    Affects Versions: 2.0
>         Environment: MAC OSX
>            Reporter: Josh Harness
>            Assignee: Olivier Lamy (*$^¨%`£)
>            Priority: Minor
>         Attachments: MTOMCAT-169.patch
>
>
> Web app does not deploy via embedded tomcat (tomat7:run) when I define the following in my plugin config:
> <webapps>
>   <webapp>
>     <groupId>com.company</groupId>
>     <artifactId>mywebapp</artifactId>
>     <version>1.0</version>
>     <type>war</type>	
>   </webapp>
> </webapps>
> I only see the following and am unable to use the web application:
> [INFO] Deploy warfile: /Users/joshar1/.m2/repository/com/company/mywebapp//1.0/mywebapp-1.0.war to contextPath: /mywebapp
> I have a patch I'll attach to this ticket.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

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


[jira] [Updated] (MTOMCAT-169) Unable to Deploy WAR Defined via "webapps" Declaration

Posted by "Josh Harness (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MTOMCAT-169?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Josh Harness updated MTOMCAT-169:
---------------------------------

    Attachment: MTOMCAT-169.patch

patch generated from local development repository. Note that it will conflict with M170, but I wanted to have the patches stand by themselves.
                
> Unable to Deploy WAR Defined via "webapps" Declaration
> ------------------------------------------------------
>
>                 Key: MTOMCAT-169
>                 URL: https://issues.apache.org/jira/browse/MTOMCAT-169
>             Project: Apache Tomcat Maven Plugin
>          Issue Type: Bug
>          Components: tomcat7
>    Affects Versions: 2.0
>         Environment: MAC OSX
>            Reporter: Josh Harness
>            Assignee: Olivier Lamy (*$^¨%`£)
>            Priority: Minor
>         Attachments: MTOMCAT-169.patch
>
>
> Web app does not deploy via embedded tomcat (tomat7:run) when I define the following in my plugin config:
> <webapps>
>   <webapp>
>     <groupId>com.company</groupId>
>     <artifactId>mywebapp</artifactId>
>     <version>1.0</version>
>     <type>war</type>	
>   </webapp>
> </webapps>
> I only see the following and am unable to use the web application:
> [INFO] Deploy warfile: /Users/joshar1/.m2/repository/com/company/mywebapp//1.0/mywebapp-1.0.war to contextPath: /mywebapp
> I have a patch I'll attach to this ticket.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

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


[jira] [Commented] (MTOMCAT-169) Unable to Deploy WAR Defined via "webapps" Declaration

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MTOMCAT-169?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13425584#comment-13425584 ] 

Hudson commented on MTOMCAT-169:
--------------------------------

Integrated in TomcatMavenPlugin-mvn3.x #185 (See [https://builds.apache.org/job/TomcatMavenPlugin-mvn3.x/185/])
    [MTOMCAT-169] Unable to Deploy WAR Defined via "webapps" Declaration
Submitted by Josh Harness.
Patch modified to preserve backward comp. (Revision 1367432)

     Result = FAILURE
olamy : http://svn.apache.org/viewvc/?view=rev&rev=1367432
Files : 
* /tomcat/maven-plugin/trunk/common-tomcat-maven-plugin/src/main/java/org/apache/tomcat/maven/common/config/AbstractWebapp.java
* /tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run/AbstractRunMojo.java

                
> Unable to Deploy WAR Defined via "webapps" Declaration
> ------------------------------------------------------
>
>                 Key: MTOMCAT-169
>                 URL: https://issues.apache.org/jira/browse/MTOMCAT-169
>             Project: Apache Tomcat Maven Plugin
>          Issue Type: Bug
>          Components: tomcat7
>    Affects Versions: 2.0
>         Environment: MAC OSX
>            Reporter: Josh Harness
>            Assignee: Olivier Lamy (*$^¨%`£)
>            Priority: Minor
>             Fix For: 2.0
>
>         Attachments: MTOMCAT-169.patch
>
>
> Web app does not deploy via embedded tomcat (tomat7:run) when I define the following in my plugin config:
> <webapps>
>   <webapp>
>     <groupId>com.company</groupId>
>     <artifactId>mywebapp</artifactId>
>     <version>1.0</version>
>     <type>war</type>	
>   </webapp>
> </webapps>
> I only see the following and am unable to use the web application:
> [INFO] Deploy warfile: /Users/joshar1/.m2/repository/com/company/mywebapp//1.0/mywebapp-1.0.war to contextPath: /mywebapp
> I have a patch I'll attach to this ticket.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

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