tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From daulat khan <daulat....@gmail.com>
Subject Re: Authencation in apache tomcat
Date Thu, 29 Oct 2009 13:26:43 GMT
Hi Peter,

Please find the details as follows :

httpd version : httpd-2.2.11
Tomcat Version : jakarta-tomcat-4.1.18
Mod_JK version : jakarta-tomcat-connectors-1.2.15-src
Stack trace :

java.lang.NullPointerException
         at java.util.Hashtable.put(Hashtable.java:396)
         at com.cisco.earms.fm.Dispatcher.doPost(Dispatcher.java:559)
         at com.cisco.earms.fm.Dispatcher.doGet(Dispatcher.java:240)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         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:260)
         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.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:2415)
         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:170)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
         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.ajp.tomcat4.Ajp13Processor.process(Ajp13Processor.java:458)
         at org.apache.ajp.tomcat4.Ajp13Processor.run(Ajp13Processor.java:551)
         at java.lang.Thread.run(Thread.java:595)



Thanks,
Daulatkhan

On Thu, Oct 29, 2009 at 5:15 PM, Peter Crowther
<peter.crowther@melandra.com> wrote:
> httpd version?
> jk version?
> Tomcat version?
> Stack trace of NPE?
>
> - Peter
>
> 2009/10/29 daulat khan <daulat.kan@gmail.com>:
>> Hi,
>>
>>                I have an java servlet application which is running
>> fine in Apache-Jrun setup. recently, i have migrated it from jrun to
>> tomcat. i have launced the application in apache-tomcat setup. The
>> problem i faced was i am using basic authentication in apache side and
>> passing REMOTE_USER value to tomcat using mod_jk. when i launched the
>> application it pops up the authenication window and when i supply the
>> values it accepts and launches the application with null pointer
>> exception. but when i refresh the page it is launching the application
>> without any exception. whether any setup to be changed in the server
>> settings ? Can anyone help me in this ?
>>
>> Thanks,
>> Daulatkhan
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message