Hi Cyril,

I got the same problem.

The problem is the following code:

        String realpath = context.getRealPath(req.getServletPath());
        if ((pathInfo == null || pathInfo.equals("")) &&
            !realpath.endsWith(".jws")) {

The iPlanet-servlet-engine returns null als context.getRealPath() if the
content of the parameter refers to a servlet. Tomcat 4.0 returns a
pseudo-locality.

Anyway, if realpath is null, realpath.endsWith(".jws") results in a
NullPointerException. So I got the sources, changed the source-file and
replaced the class-file in the war-file.

I am happy to hear that your webservices are doing fine, because I got some
trouble. Which axis-version do you use?


Regards
Monika

>    "cyril gonnot" <[EMAIL PROTECTED]>
>    03.07.2002 02:27
>    Please respond to axis-user
>
>          To: [EMAIL PROTECTED]
>          cc:
>          Subject: axis and IWS 6.0
>
>Hello,
>
>I deployed axis in IWS 6.0, everything seems to work fine, I can deploy
and
>use services, my only problem is that I can't view the list of the
deployed
>services, I have the following NullPointerException each time I try to
>invoke /axis/servlet/AxisServlet. Has anyone successfully deployed axis in

>Iplanet ? Any ideas ?
>
>Thanks,
>
>Cyril
>
>[02/Jul/2002:17:05:36] info (10433): successful server startup
>[02/Jul/2002:17:05:36] info (10433): iPlanet-WebServer-Enterprise/6.0SP2
>B11/13/2001 00:49
>[02/Jul/2002:17:05:38] info (10434): Installing a new configuration
>[02/Jul/2002:17:05:38] info (10434): [LS ls1] http://axis, port 8080 ready

>to accept requests
>[02/Jul/2002:17:05:38] info (10434): A new configuration was successfully
>installed
>[02/Jul/2002:17:05:40] info (10434): Using the Java HotSpot(TM) Client VM
>v1.4.0_01 from Sun Microsystems Inc.
>[02/Jul/2002:17:05:40] info (10434): Java VM classpath:
>/usr/iplanet/servers/plugins/servlets/examples/legacy/beans.10/SDKBeans10.jar:/u

>sr/iplanet/servers/bin/https/jar/NSServletLayer.jar:/usr/iplanet/servers/bin/htt

>ps/jar/NSJavaUtil.jar:/usr/iplanet/servers/bin/https/jar/NSJavaMiscUtil.jar:/usr

>/iplanet/servers/bin/https/jar/servlet.jar:/usr/iplanet/servers/bin/https/jar/se

>rvlet-2.3-filters-api.jar:/usr/iplanet/servers/bin/https/jar/jsp092.jar:/usr/ipl

>anet/servers/bin/https/jar/jaxp.jar:/usr/iplanet/servers/bin/https/jar/crimson.j

>ar:/usr/iplanet/servers/bin/https/jar/xalan.jar:/usr/iplanet/servers/bin/https/j

>ar/jspengine.jar:
>[02/Jul/2002:17:05:40] info (10434): Loading IWSSessionManager by default.
>[02/Jul/2002:17:05:40] info (10434): IWSSessionManager: Maximum number of
>sessions is 1000
>[02/Jul/2002:17:05:41] info (10434): Adding web application (/axis) at
>(/usr/iplanet/servers/https-axis/axis)
>[02/Jul/2002:17:05:41] info (10434): Loading IWSSessionManager by default.
>[02/Jul/2002:17:05:41] info (10434): IWSSessionManager: Maximum number of
>sessions is 1000
>[02/Jul/2002:17:05:41] info (10434): vs(https-axis)servlet 'AdminServlet'
>class = 'org.apache.axis.transport.http.AdminServlet' loaded in context =
>'/axis'
>[02/Jul/2002:17:05:41] info (10434): AdminServlet: init
>[02/Jul/2002:17:05:41] info (10434): Successfully initialized web
>application environment (web-apps.xml) for virtual server (https-axis)
>[02/Jul/2002:17:06:02] info (10434): vs(https-axis)servlet 'jsp' class =
>'org.apache.jasper.servlet.JspServlet' loaded in context = '/axis'
>[02/Jul/2002:17:06:02] info (10434): jsp: init
>[02/Jul/2002:17:06:03] info (10434): jsp: init
>[02/Jul/2002:17:06:24] info (10434): vs(https-axis)servlet 'AxisServlet'
>class = 'org.apache.axis.transport.http.AxisServlet' loaded in context =
>'/axis'
>[02/Jul/2002:17:06:24] info (10434): AxisServlet: init
>[02/Jul/2002:17:10:27] failure (10434): Internal error: exception thrown
>from the servlet service function (uri=/axis/servlet/AxisServlet):
>java.lang.NullPointerException, Stack: 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
>com.iplanet.server.http.servlet.NSServletRunner.invokeServletService(NSServletRu

>nner.java:897)
>   at
>com.iplanet.server.http.servlet.WebApplication.service(WebApplication.java:1065)

>   at
>com.iplanet.server.http.servlet.NSServletRunner.ServiceWebApp(NSServletRunner.ja

>va:959)
>
>
>
>_________________________________________________________________
>Send and receive Hotmail on your mobile device: http://mobile.msn.com
>
>
>
>


Reply via email to