axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Martin <amar...@regenstrief.org>
Subject Re: [Axis2]https server problem
Date Tue, 21 Aug 2007 12:55:34 GMT
In case it makes a difference, my Java version is 1.4.2_03 and my OS is
Windows XP Professional.  Is there any other information that might help
diagnose my problem?

Andrew

Andrew Martin wrote:
> I just noticed that an error is being written to a log file that I
> didn't know about whenever this error happens.  I don't know what it
> means, though.  Here it is:
> ErrorDispatcherValve[localhost]: Exception Processing
> ErrorPage[errorCode=500, location=/axis2-web/Error/error500.jsp]
> java.lang.IllegalStateException
> 	at org.apache.coyote.Response.reset(Response.java:340)
> 	at org.apache.coyote.tomcat4.CoyoteResponse.reset(CoyoteResponse.java:628)
> 	at org.apache.coyote.tomcat4.CoyoteResponse.reset(CoyoteResponse.java:824)
> 	at
> org.apache.catalina.valves.ErrorDispatcherValve.custom(ErrorDispatcherValve.java:413)
> 	at
> org.apache.catalina.valves.ErrorDispatcherValve.status(ErrorDispatcherValve.java:327)
> 	at
> org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:181)
> 	at
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
> 	at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:163)
> 	at
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
> 	at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
> 	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> 	at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
> 	at
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
> 	at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
> 	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> 	at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:199)
> 	at
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:828)
> 	at
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:700)
> 	at
> org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:584)
> 	at
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
> 	at java.lang.Thread.run(Unknown Source)
> 
> Andrew
> 
> Andrew Martin wrote:
>> I've tried disabling my initialization service, but I still have the
>> same problem.  So I think it must be a problem with my configuration.
>> Does anyone know of something I could be doing in my configuration files
>> that would cause this?
>>
>> Andrew
>>
>> Andrew Martin wrote:
>>> Does it seem reasonable to believe that my certificate is installed
>>> correctly since no error occurs before reaching AxisServlet?  If there
>>> was a certificate problem, I'd get an error related to that sooner,
>>> wouldn't I?
>>>
>>> Is there anything that Axis2 does differently between http and https?
>>>
>>> Andrew
>>>
>>> Andrew Martin wrote:
>>>> When I invoke my service via https, a NullPointerException occurs in
>>>> org.apache.axis2.engine.InstanceDispatcher.fillContextsFromSessionContext
>>>> before my own service code is invoked.  The line is:
>>>> TransportListener listener = msgContext.getTransportIn().getReceiver();
>>>>
>>>> getTransportIn() seems to be returning null.  It works via http, though.
>>>>  I'm using Tomcat 4.1.30 and Axis2 1.2.
>>>>
>>>> Could this be caused by a mistake in one of my configuration files?  Or
>>>> is there something that I might be doing my initialization service that
>>>> runs at startup which would cause problems for later service calls?
>>>>
>>>> Here's the complete stack trace:
>>>> Exception: org.apache.axis2.AxisFault: java.lang.NullPointerException
>>>> 	at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:178)
>>>> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
>>>> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>>>> 	at
>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
>>>> 	at
>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
>>>> 	at
>>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
>>>> 	at
>>>> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
>>>> 	at
>>>> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
>>>> 	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>>>> 	at
>>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
>>>> 	at
>>>> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
>>>> 	at
>>>> org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
>>>> 	at
>>>> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
>>>> 	at
>>>> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
>>>> 	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>>>> 	at
>>>> org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2422)
>>>> 	at
>>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
>>>> 	at
>>>> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
>>>> 	at
>>>> org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
>>>> 	at
>>>> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
>>>> 	at
>>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:163)
>>>> 	at
>>>> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
>>>> 	at
>>>> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
>>>> 	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>>>> 	at
>>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
>>>> 	at
>>>> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
>>>> 	at
>>>> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
>>>> 	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>>>> 	at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:199)
>>>> 	at
>>>> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:828)
>>>> 	at
>>>> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:700)
>>>> 	at
>>>> org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:584)
>>>> 	at
>>>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
>>>> 	at java.lang.Thread.run(Unknown Source)
>>>> Caused by: java.lang.NullPointerException
>>>> 	at
>>>> org.apache.axis2.engine.InstanceDispatcher.fillContextsFromSessionContext(InstanceDispatcher.java:123)
>>>> 	at
>>>> org.apache.axis2.engine.InstanceDispatcher.invoke(InstanceDispatcher.java:70)
>>>> 	at org.apache.axis2.engine.Phase.invoke(Phase.java:383)
>>>> 	at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:203)
>>>> 	at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:131)
>>>> 	at
>>>> org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:279)
>>>> 	at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:116)
>>>> 	... 33 more
> 

-- 
Andrew Martin
Computer Programmer
Regenstrief Institute, Inc.
410 West 10th Street, Suite 2000
Indianapolis, IN 46202-3012
Phone: (317) 423-5542
Fax: (317) 423-5695
amartin@regenstrief.org


Confidentiality Notice: The contents of this message and any files
transmitted with it may contain confidential and/or privileged
information and are intended solely for the use of the named
addressee(s). Additionally, the information contained herein may have
been disclosed to you from medical records with confidentiality
protected by federal and state laws. Federal regulations and State laws
prohibit you from making further disclosure of such information without
the specific written consent of the person to whom the information
pertains or as otherwise permitted by such regulations. A general
authorization for the release of medical or other information is not
sufficient for this purpose.

If you have received this message in error, please notify the sender by
return e-mail and delete the original message. Any retention,
disclosure, copying, distribution or use of this information by anyone
other than the intended recipient is strictly prohibited.

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Mime
View raw message