You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by "Morten Haraldsen (Created) (JIRA)" <ji...@apache.org> on 2012/04/11 12:50:18 UTC

[jira] [Created] (MTOMCAT-139) All static resources gives error 404

All static resources gives error 404
------------------------------------

                 Key: MTOMCAT-139
                 URL: https://issues.apache.org/jira/browse/MTOMCAT-139
             Project: Apache Tomcat Maven Plugin
          Issue Type: Bug
          Components: tomcat7
    Affects Versions: 2.0
            Reporter: Morten Haraldsen
            Assignee: Olivier Lamy (*$^¨%`£)


Using beta-1 it works fine, but using SNAPSHOT gives 404 for all static resources.
Looking at https://issues.apache.org/jira/browse/MTOMCAT-137 and the code I suspect this is the culprit. (I'm not using the static context feature)

--
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-139) All static resources gives error 404

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

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

    Resolution: Fixed
    
> All static resources gives error 404
> ------------------------------------
>
>                 Key: MTOMCAT-139
>                 URL: https://issues.apache.org/jira/browse/MTOMCAT-139
>             Project: Apache Tomcat Maven Plugin
>          Issue Type: Bug
>          Components: tomcat7
>    Affects Versions: 2.0
>            Reporter: Morten Haraldsen
>            Assignee: Olivier Lamy (*$^¨%`£)
>             Fix For: 2.0
>
>
> Using beta-1 it works fine, but using SNAPSHOT gives 404 for all static resources.
> Looking at https://issues.apache.org/jira/browse/MTOMCAT-137 and the code I suspect this is the culprit. (I'm not using the static context feature)

--
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-139) All static resources gives error 404

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

Olivier Lamy (*$^¨%`£) updated MTOMCAT-139:
-------------------------------------------

    Fix Version/s: 2.0
    
> All static resources gives error 404
> ------------------------------------
>
>                 Key: MTOMCAT-139
>                 URL: https://issues.apache.org/jira/browse/MTOMCAT-139
>             Project: Apache Tomcat Maven Plugin
>          Issue Type: Bug
>          Components: tomcat7
>    Affects Versions: 2.0
>            Reporter: Morten Haraldsen
>            Assignee: Olivier Lamy (*$^¨%`£)
>             Fix For: 2.0
>
>
> Using beta-1 it works fine, but using SNAPSHOT gives 404 for all static resources.
> Looking at https://issues.apache.org/jira/browse/MTOMCAT-137 and the code I suspect this is the culprit. (I'm not using the static context feature)

--
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-139) All static resources gives error 404

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

Hudson commented on MTOMCAT-139:
--------------------------------

Integrated in TomcatMavenPlugin-mvn3.x #126 (See [https://builds.apache.org/job/TomcatMavenPlugin-mvn3.x/126/])
    [MTOMCAT-139] All static resources gives error 404 (Revision 1324717)

     Result = SUCCESS
olamy : http://svn.apache.org/viewvc/?view=rev&rev=1324717
Files : 
* /tomcat/maven-plugin/trunk/tomcat6-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat6/AbstractRunMojo.java
* /tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run/AbstractRunMojo.java

                
> All static resources gives error 404
> ------------------------------------
>
>                 Key: MTOMCAT-139
>                 URL: https://issues.apache.org/jira/browse/MTOMCAT-139
>             Project: Apache Tomcat Maven Plugin
>          Issue Type: Bug
>          Components: tomcat7
>    Affects Versions: 2.0
>            Reporter: Morten Haraldsen
>            Assignee: Olivier Lamy (*$^¨%`£)
>             Fix For: 2.0
>
>
> Using beta-1 it works fine, but using SNAPSHOT gives 404 for all static resources.
> Looking at https://issues.apache.org/jira/browse/MTOMCAT-137 and the code I suspect this is the culprit. (I'm not using the static context feature)

--
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] [Issue Comment Edited] (MTOMCAT-139) All static resources gives error 404

Posted by "Morten Haraldsen (Issue Comment Edited) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MTOMCAT-139?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13251465#comment-13251465 ] 

Morten Haraldsen edited comment on MTOMCAT-139 at 4/11/12 10:52 AM:
--------------------------------------------------------------------

AbstractRunMojo.java (trunk):

/**
     * The static context
     *
     * @parameter expression="${maven.tomcat.staticContextPath}" default-value="/"
     * @since 2.0
     */
    private String staticContextPath;

    /**
     * The static context docroot base fully qualified path
     * if <code>null</code> static context won't be added
     *
     * @parameter expression="${maven.tomcat.staticContextPath}"
     * @since 2.0
     */
    private String staticContextDocbase;

Looking at the above, the code shows parameter expression="${maven.tomcat.staticContextPath} for both fields staticContextDocbase and staticContextPath. 
                
      was (Author: xaer):
    AbstractRunMojo.java (trunk):

/**
     * The static context
     *
     * @parameter expression="${maven.tomcat.staticContextPath}" default-value="/"
     * @since 2.0
     */
    private String staticContextPath;

    /**
     * The static context docroot base fully qualified path
     * if <code>null</code> static context won't be added
     *
     * @parameter expression="${maven.tomcat.staticContextPath}"
     * @since 2.0
     */
    private String staticContextDocbase;

Looking at the above, the code shows parameter expression="${maven.tomcat.staticContextPath} for both fields staticContextDocbase and staticContextPath. Also, staticContextPath can never be null, as it is set to default "/"
                  
> All static resources gives error 404
> ------------------------------------
>
>                 Key: MTOMCAT-139
>                 URL: https://issues.apache.org/jira/browse/MTOMCAT-139
>             Project: Apache Tomcat Maven Plugin
>          Issue Type: Bug
>          Components: tomcat7
>    Affects Versions: 2.0
>            Reporter: Morten Haraldsen
>            Assignee: Olivier Lamy (*$^¨%`£)
>
> Using beta-1 it works fine, but using SNAPSHOT gives 404 for all static resources.
> Looking at https://issues.apache.org/jira/browse/MTOMCAT-137 and the code I suspect this is the culprit. (I'm not using the static context feature)

--
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-139) All static resources gives error 404

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

Morten Haraldsen commented on MTOMCAT-139:
------------------------------------------

AbstractRunMojo.java (trunk):

/**
     * The static context
     *
     * @parameter expression="${maven.tomcat.staticContextPath}" default-value="/"
     * @since 2.0
     */
    private String staticContextPath;

    /**
     * The static context docroot base fully qualified path
     * if <code>null</code> static context won't be added
     *
     * @parameter expression="${maven.tomcat.staticContextPath}"
     * @since 2.0
     */
    private String staticContextDocbase;

Looking at the above, the code shows parameter expression="${maven.tomcat.staticContextPath} for both fields staticContextDocbase and staticContextPath. Also, staticContextPath can never be null, as it is set to default "/"
                
> All static resources gives error 404
> ------------------------------------
>
>                 Key: MTOMCAT-139
>                 URL: https://issues.apache.org/jira/browse/MTOMCAT-139
>             Project: Apache Tomcat Maven Plugin
>          Issue Type: Bug
>          Components: tomcat7
>    Affects Versions: 2.0
>            Reporter: Morten Haraldsen
>            Assignee: Olivier Lamy (*$^¨%`£)
>
> Using beta-1 it works fine, but using SNAPSHOT gives 404 for all static resources.
> Looking at https://issues.apache.org/jira/browse/MTOMCAT-137 and the code I suspect this is the culprit. (I'm not using the static context feature)

--
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