You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Andreas Veithen (Created) (JIRA)" <ax...@ws.apache.org> on 2012/01/04 00:04:39 UTC

[jira] [Created] (AXIS-2866) Not possible to specify an absolute path for axis.jws.servletClassDir

Not possible to specify an absolute path for axis.jws.servletClassDir
---------------------------------------------------------------------

                 Key: AXIS-2866
                 URL: https://issues.apache.org/jira/browse/AXIS-2866
             Project: Axis
          Issue Type: Bug
    Affects Versions: 1.4
            Reporter: Andreas Veithen
            Priority: Minor


The value of the axis.jws.servletClassDir property is blindly appended to the result of context.getRealPath("/") if that result is not null. This means that the interpretation of the axis.jws.servletClassDir property strongly depends on whether the WAR is deployed in exploded form or not. In particular, if the WAR is exploded it is not possible to specify an absolute path.

This is a problem for the Axis build itself because the axis-war module starts a Jetty test server and the integration tests keep creating class files under src/main/webapp.

The code should be fixed such that axis.jws.servletClassDir is interpreted correctly if it is an absolute path.

--
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: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] [Resolved] (AXIS-2866) Not possible to specify an absolute path for axis.jws.servletClassDir

Posted by "Andreas Veithen (Resolved) (JIRA)" <ax...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS-2866?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andreas Veithen resolved AXIS-2866.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 1.4.1
         Assignee: Andreas Veithen
    
> Not possible to specify an absolute path for axis.jws.servletClassDir
> ---------------------------------------------------------------------
>
>                 Key: AXIS-2866
>                 URL: https://issues.apache.org/jira/browse/AXIS-2866
>             Project: Axis
>          Issue Type: Bug
>    Affects Versions: 1.4
>            Reporter: Andreas Veithen
>            Assignee: Andreas Veithen
>            Priority: Minor
>             Fix For: 1.4.1
>
>
> The value of the axis.jws.servletClassDir property is blindly appended to the result of context.getRealPath("/") if that result is not null. This means that the interpretation of the axis.jws.servletClassDir property strongly depends on whether the WAR is deployed in exploded form or not. In particular, if the WAR is exploded it is not possible to specify an absolute path.
> This is a problem for the Axis build itself because the axis-war module starts a Jetty test server and the integration tests keep creating class files under src/main/webapp.
> The code should be fixed such that axis.jws.servletClassDir is interpreted correctly if it is an absolute path.

--
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: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] [Commented] (AXIS-2866) Not possible to specify an absolute path for axis.jws.servletClassDir

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

Hudson commented on AXIS-2866:
------------------------------

Integrated in axis-trunk #25 (See [https://builds.apache.org/job/axis-trunk/25/])
    * Fixed AXIS-2866.
* Prevent the axis-war build from writing class files to src/main/webapp.

veithen : 
Files : 
* /axis/axis1/java/trunk/axis-war/pom.xml
* /axis/axis1/java/trunk/axis-war/src/test/web.xml
* /axis/axis1/java/trunk/axis/src/main/java/org/apache/axis/transport/http/AxisServlet.java
* /axis/axis1/java/trunk/docs/reference.html

                
> Not possible to specify an absolute path for axis.jws.servletClassDir
> ---------------------------------------------------------------------
>
>                 Key: AXIS-2866
>                 URL: https://issues.apache.org/jira/browse/AXIS-2866
>             Project: Axis
>          Issue Type: Bug
>    Affects Versions: 1.4
>            Reporter: Andreas Veithen
>            Priority: Minor
>
> The value of the axis.jws.servletClassDir property is blindly appended to the result of context.getRealPath("/") if that result is not null. This means that the interpretation of the axis.jws.servletClassDir property strongly depends on whether the WAR is deployed in exploded form or not. In particular, if the WAR is exploded it is not possible to specify an absolute path.
> This is a problem for the Axis build itself because the axis-war module starts a Jetty test server and the integration tests keep creating class files under src/main/webapp.
> The code should be fixed such that axis.jws.servletClassDir is interpreted correctly if it is an absolute path.

--
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: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org