tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rajeev Sampath <rjvra...@gmail.com>
Subject Re: Connectors in Tomcat
Date Thu, 01 Apr 2010 15:52:17 GMT
On Thu, Apr 1, 2010 at 4:42 PM, Hemali Doshi <hemalidoshi@gmail.com> wrote:

> We are using Tomcat 6.0.18 with jdk 1.5 on Windows XP.
>
>
>
> line 118 is:
>
> factory.createHttpsConnector("Catalina:type=Service,serviceName=Catalina",
> "127.0.0.1", 8443);
> *
>
>
Have you instantiated the 'factory' properly?



>
> The stack trace is as follows:
>
> java.lang.NullPointerException
> *
>
> at toggle1.doPost(*toggle1.java:118*)
>
> at javax.servlet.http.HttpServlet.service(*HttpServlet.java:637*)
>
> at javax.servlet.http.HttpServlet.service(*HttpServlet.java:717*)
>
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(*
> ApplicationFilterChain.java:290*)
>
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(*
> ApplicationFilterChain.java:206*)
>
> at org.apache.catalina.core.StandardWrapperValve.invoke(*
> StandardWrapperValve.java:233*)
>
> at org.apache.catalina.core.StandardContextValve.invoke(*
> StandardContextValve.java:191*)
>
> at org.apache.catalina.core.StandardHostValve.invoke(*
> StandardHostValve.java:128*)
>
> at org.apache.catalina.valves.ErrorReportValve.invoke(*
> ErrorReportValve.java:102*)
>
> at org.apache.catalina.core.StandardEngineValve.invoke(*
> StandardEngineValve.java:109*)
>
> at org.apache.catalina.connector.CoyoteAdapter.service(*
> CoyoteAdapter.java:293*)
>
> at org.apache.coyote.http11.Http11Processor.process(*
> Http11Processor.java:849*)
>
> at
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(*
> Http11Protocol.java:583*)
>
> at
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(*JIoEndpoint.java:454*)
>
> at java.lang.Thread.run(Unknown Source)
>
> -Hemali
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message