You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by "Delimon, Alan" <Al...@PAETEC.com> on 2007/07/11 22:56:09 UTC
NullPointerException when accessing a service that works in another container
I recently moved my Axis service from my dev environment to a test environment. Both environments are Axis2 version 1.0 running in a Tomcat 5 container under JDK 1.4.
In the dev environment it works fine, but in the test environment I get this error (in the localhost log) when trying to access it with a client:
2007-07-11 16:43:34 StandardWrapperValve[AxisServlet]: Servlet.service() for servlet AxisServlet threw exception
java.lang.NullPointerException
at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:170)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
Any idea why that would be? The particular line of code it complains about looks to be referencing the request object.
Alan Delimon
Senior Software Engineer
Software Integration Group
PAETEC
alan.delimon@PAETEC.com
585-413-2127
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
RE: NullPointerException when accessing a service that works in another container
Posted by Raghu Upadhyayula <ru...@responsys.com>.
I forgot to mention the axis version I'm using. I'm using Axis2 1.2
version.
Thanks
Raghu
________________________________
From: Raghu Upadhyayula [mailto:rupadhyayula@responsys.com]
Sent: Thursday, July 12, 2007 11:01 AM
To: axis-user@ws.apache.org
Subject: RE: NullPointerException when accessing a service that works in
another container
Hi Everyone,
I have the same problem. My webservices are working fine in dev
environment(Windows), and when I deploy the webservices to a test
environment (Linux), I'm getting the same exception in the SOAP
response. Any help is appreciated, I'm stuck with this issue for a
while.
java.lang.NullPointerException
org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:170)
javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilte
r.java:96)
Thanks
Raghu
-----Original Message-----
From: Delimon, Alan [mailto:Alan.Delimon@PAETEC.com]
Sent: Wednesday, July 11, 2007 1:56 PM
To: axis-user@ws.apache.org
Subject: NullPointerException when accessing a service that works in
another container
I recently moved my Axis service from my dev environment to a test
environment. Both environments are Axis2 version 1.0 running in a
Tomcat 5 container under JDK 1.4.
In the dev environment it works fine, but in the test environment I get
this error (in the localhost log) when trying to access it with a
client:
2007-07-11 16:43:34 StandardWrapperValve[AxisServlet]: Servlet.service()
for servlet AxisServlet threw exception
java.lang.NullPointerException
at
org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:170)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
Any idea why that would be? The particular line of code it complains
about looks to be referencing the request object.
Alan Delimon
Senior Software Engineer
Software Integration Group
PAETEC
alan.delimon@PAETEC.com
585-413-2127
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
RE: NullPointerException when accessing a service that works in another container
Posted by Raghu Upadhyayula <ru...@responsys.com>.
Hi Everyone,
I have the same problem. My webservices are working fine in dev
environment(Windows), and when I deploy the webservices to a test
environment (Linux), I'm getting the same exception in the SOAP
response. Any help is appreciated, I'm stuck with this issue for a
while.
java.lang.NullPointerException
org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:170)
javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilte
r.java:96)
Thanks
Raghu
-----Original Message-----
From: Delimon, Alan [mailto:Alan.Delimon@PAETEC.com]
Sent: Wednesday, July 11, 2007 1:56 PM
To: axis-user@ws.apache.org
Subject: NullPointerException when accessing a service that works in
another container
I recently moved my Axis service from my dev environment to a test
environment. Both environments are Axis2 version 1.0 running in a
Tomcat 5 container under JDK 1.4.
In the dev environment it works fine, but in the test environment I get
this error (in the localhost log) when trying to access it with a
client:
2007-07-11 16:43:34 StandardWrapperValve[AxisServlet]: Servlet.service()
for servlet AxisServlet threw exception
java.lang.NullPointerException
at
org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:170)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
Any idea why that would be? The particular line of code it complains
about looks to be referencing the request object.
Alan Delimon
Senior Software Engineer
Software Integration Group
PAETEC
alan.delimon@PAETEC.com
585-413-2127
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org