This is also a problem with WebLogic 6.1 and 7.0 (have not tested on other
versions).
More specifically, when an application is deployed as a .war the
getRealPath()
will not work as resources within a .war file do not have real paths.
Instead,
these resources should be accessed via the getResource (ServletContext)
method. The Cocoon project has mentioned this issue a few times also.
I am posting this to the group because it seems like a lot of people have
had this problem and search engines should pick this up.
I've also logged this as an extension to Bug 10512. I believe this is a
blocker before removing the 'beta' tag from Axis 1.0. I've left the
severity as 'normal' since I thought issues should be moved to blocker
status only by Axis people, but I did set the priority to 'high'.
java.lang.NullPointerException
at
org.apache.axis.transport.http.AxisServlet.doGet(AxisServlet.java:279
)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run
(ServletStubImpl.java:945)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:332)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:242)
at
weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
n.run(WebAppServletContext.java:5360)
at
weblogic.security.service.SecurityServiceManager.runAs(SecurityServic
eManager.java:721)
at
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
rvletContext.java:3043)
at
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
pl.java:2468)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:152)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:133)
--
Mark Mansour Email: [EMAIL PROTECTED]
Agentis International Phone: +61 (03) 8341 2625