axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 10512] New: - different servlet-engines and servletContext-method getRealPath()
Date Fri, 05 Jul 2002 15:56:45 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10512>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10512

different servlet-engines and servletContext-method getRealPath()

           Summary: different servlet-engines and servletContext-method
                    getRealPath()
           Product: Axis
           Version: current (nightly)
          Platform: PC
               URL: http://www.varetis.de
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Basic Architecture
        AssignedTo: axis-dev@xml.apache.org
        ReportedBy: monika.huk@varetis.de


When trying to "visit the Axis Servlet" I get a null-Pointer-Exception when using the iPlanet
6.0 
SP3 -Webserver, but not with the tomcat 4.0.1 Webserver.

In the doGet-method in 
AxisServlet.java, the line:
        String realpath = 
servletContext.getRealPath(req.getServletPath());

returns a (rather fictive) 
realpath when using tomcat, but returns null
when using the iPlanet() webserver.
In the 
next statement 'realpath.endsWith(".jws")' is called, which results
in the nullpointer-
exception.

I do not know about other uses of getRealPath in the source code.

Mime
View raw message