Sorry, correction in last paragraph .....what I meant to say is that I can administer Axis remotely via the AdminClient from client and everything works fine . e.g. I invoke java org.apache.axis.client.AdminClient -lhttp://d2loc:9023/axis/services/AxisService list to get a list of deployed web services. I can also invoke web services from client without any problems .
-----Original Message----- From: Hurst, Cyrus [mailto:[EMAIL PROTECTED]] Sent: Monday, July 15, 2002 3:06 PM To: '[EMAIL PROTECTED]' Subject: RE: Problem deploying Axis to WebLogic 6.1 sp2 & 7 Hello Mark, I believe I'm having some problems relating to this or maybe not ....I'm using Weblogic 6.1 sp1 with Axis beta 3 . I have deployed Axis as a .war file and packaged in an ear file . Anytime I access the AxisServlet by pointing to http://d2loc:9023/axis/servlet/AxisServlet I get the following stack trace in my server console ..... <Jul 15, 2002 2:50:34 PM EDT> <Error> <HTTP> <[WebAppServletContext(6493766,axis,/axis)] Servlet failed with Exception 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.invokeServlet(ServletStubImpl.java :265) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java :200) at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo ntext.java:2456) at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java :2039) at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139) at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120) Strange thing is that I can administer Axis remotely via the AdminClient using the same url and everything works fine . e.g from client I invoke java org.apache.axis.client.AdminClient -lhttp://d2loc:9023/axis/servlet/AxisServlet list . I can also invoke web services from client without any problems . Thanks, -Cyrus -----Original Message----- From: Mark Mansour [mailto:[EMAIL PROTECTED]] Sent: Sunday, July 14, 2002 8:06 PM To: [EMAIL PROTECTED] Subject: Problem deploying Axis to WebLogic 6.1 sp2 & 7 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
