I don't know what the error is. But since you can get the source code for both Axis2 and Tomcat4, I suggest you walk through them both in a debugger, or at least check out each line that is in the NullPointerException call stack. I think the null pointer should be fixed first. -jeff
-----Original Message----- From: Andrew Martin [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 21, 2007 10:11 AM To: axis-user@ws.apache.org Subject: Re: [Axis2]https server problem Thanks for responding. I changed my log settings so that both error messages would be written to the same log. The first one I mentioned, the NullPointerException at: org.apache.axis2.engine.InstanceDispatcher.fillContextsFromSessionContex t (InstanceDispatcher.java:123) is written before the second one I mentioned, the java.lang.IllegalStateException at: org.apache.coyote.Response.reset(Response.java:340) Does that still seem like a Tomcat problem? Since the Axis2 problem happens first, it seems like that might be causing the later problem. Also, this worked fine before I switched from Axis1 to Axis2, and I haven't changed Tomcat. Andrew Walker, Jeff wrote: > Looks like a Tomcat error. > Try sending the problem to the Tomcat users list: > [EMAIL PROTECTED] > > I think you need to subscribe first, go here: > http://tomcat.apache.org/lists.html#tomcat-users > -jeff > > > -----Original Message----- > From: Andrew Martin [mailto:[EMAIL PROTECTED] > Sent: Tuesday, August 21, 2007 8:56 AM > To: axis-user@ws.apache.org > Subject: Re: [Axis2]https server problem > > 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(ErrorDispatcherVa > lve.java:413) >> at >> > org.apache.catalina.valves.ErrorDispatcherValve.status(ErrorDispatcherVa > lve.java:327) >> at >> > org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherVa > lve.java:181) >> at >> > org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i > nvokeNext(StandardPipeline.java:641) >> at >> > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java > :163) >> at >> > org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i > nvokeNext(StandardPipeline.java:641) >> at >> > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4 > 80) >> 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.i > nvokeNext(StandardPipeline.java:643) >> at >> > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4 > 80) >> 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:82 > 8) >> at >> > org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processC > onnection(Http11Protocol.java:700) >> at >> > org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:58 > 4) >> 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.fillContextsFromSessionContex > t >>>>> 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(Applica > tionFilterChain.java:247) >>>>> at >>>>> > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt > erChain.java:193) >>>>> at >>>>> > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv > e.java:256) >>>>> at >>>>> > org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i > nvokeNext(StandardPipeline.java:643) >>>>> at >>>>> > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4 > 80) >>>>> at > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) >>>>> at >>>>> > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv > e.java:191) >>>>> at >>>>> > org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i > nvokeNext(StandardPipeline.java:643) >>>>> at >>>>> > org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.ja > va:246) >>>>> at >>>>> > org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i > nvokeNext(StandardPipeline.java:641) >>>>> at >>>>> > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4 > 80) >>>>> at > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) >>>>> at >>>>> > org.apache.catalina.core.StandardContext.invoke(StandardContext.java:242 > 2) >>>>> at >>>>> > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java > :180) >>>>> at >>>>> > org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i > nvokeNext(StandardPipeline.java:643) >>>>> at >>>>> > org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherVa > lve.java:171) >>>>> at >>>>> > org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i > nvokeNext(StandardPipeline.java:641) >>>>> at >>>>> > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java > :163) >>>>> at >>>>> > org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i > nvokeNext(StandardPipeline.java:641) >>>>> at >>>>> > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4 > 80) >>>>> 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.i > nvokeNext(StandardPipeline.java:643) >>>>> at >>>>> > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4 > 80) >>>>> 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:82 > 8) >>>>> at >>>>> > org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processC > onnection(Http11Protocol.java:700) >>>>> at >>>>> > org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:58 > 4) >>>>> 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.fillContextsFromSessionContex > t(InstanceDispatcher.java:123) >>>>> at >>>>> > org.apache.axis2.engine.InstanceDispatcher.invoke(InstanceDispatcher.jav > a: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.processHTTPPostReques > t(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 [EMAIL PROTECTED] 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]