tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nilesh Patil <nileshpatil2...@gmail.com>
Subject Re: Tomcat 6 And SSL Configuration
Date Mon, 02 Nov 2009 08:56:46 GMT
Hi Peter

First of All Thnaks  for replay.
 Now the Tomcat service  is started but I am not able to access the Urk
through HTTPs..
 The log file contains are given below....

 Nov 2, 2009 2:21:38 PM org.apache.coyote.http11.Http11Protocol pause
INFO: Pausing Coyote HTTP/1.1 on http-9999
Nov 2, 2009 2:21:38 PM org.apache.coyote.http11.Http11Protocol pause
INFO: Pausing Coyote HTTP/1.1 on http-8443
Nov 2, 2009 2:21:38 PM org.apache.catalina.connector.Connector pause
SEVERE: Protocol handler pause failed
java.lang.NullPointerException
    at org.apache.jk.server.JkMain.pause(JkMain.java:679)
    at org.apache.jk.server.JkCoyoteHandler.pause(JkCoyoteHandler.java:153)
    at org.apache.catalina.connector.Connector.pause(Connector.java:1073)
    at
org.apache.catalina.core.StandardService.stop(StandardService.java:563)
    at org.apache.catalina.core.StandardServer.stop(StandardServer.java:744)
    at org.apache.catalina.startup.Catalina.stop(Catalina.java:628)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:603)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Nov 2, 2009 2:21:39 PM org.apache.catalina.core.StandardService stop
INFO: Stopping service Catalina
Nov 2, 2009 2:21:39 PM org.apache.coyote.http11.Http11Protocol destroy
INFO: Stopping Coyote HTTP/1.1 on http-9999
Nov 2, 2009 2:21:39 PM org.apache.catalina.connector.MapperListener destroy
WARNING: Error unregistering MBeanServerDelegate
java.lang.NullPointerException
    at
org.apache.catalina.connector.MapperListener.destroy(MapperListener.java:162)
    at org.apache.catalina.connector.Connector.stop(Connector.java:1179)
    at
org.apache.catalina.core.StandardService.stop(StandardService.java:593)
    at org.apache.catalina.core.StandardServer.stop(StandardServer.java:744)
    at org.apache.catalina.startup.Catalina.stop(Catalina.java:628)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:603)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Nov 2, 2009 2:21:39 PM org.apache.coyote.http11.Http11Protocol destroy
INFO: Stopping Coyote HTTP/1.1 on http-8443
Nov 2, 2009 2:21:39 PM org.apache.catalina.connector.Connector stop
SEVERE: Coyote connector has not been started
Nov 2, 2009 2:21:42 PM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal
performance in production environments was not found on the
java.library.path: C:\Program Files\Apache Software Foundation\Tomcat
6.0\bin;.;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\JavaFX\javafx-sdk1.2\bin;C:\JavaFX\javafx-sdk1.2\emulator\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program
Files\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\;C:\Program
Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL
Server\100\DTS\Binn\;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program
Files\svn-win32-1.5.6\bin;C:\jdk1.6.0_14\bin;c:\apache-ant-1.7.1\bin;D:\New
Folder\jboss-profiler-1.0.CR4\jvmpi\windows\jbossInspector.dll;C:\Program
Files\QuickTime\QTSystem\
Nov 2, 2009 2:21:42 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-9999
Nov 2, 2009 2:21:42 PM org.apache.coyote.http11.Http11Protocol init
SEVERE: Error initializing endpoint
java.io.FileNotFoundException: C:\.keystore (The system cannot find the file
specified)
    at java.io.FileInputStream.open(Native Method)
    at java.io.FileInputStream.<init>(Unknown Source)
    at
org.apache.tomcat.util.net.jsse.JSSESocketFactory.getStore(JSSESocketFactory.java:319)
    at
org.apache.tomcat.util.net.jsse.JSSESocketFactory.getKeystore(JSSESocketFactory.java:259)
    at
org.apache.tomcat.util.net.jsse.JSSESocketFactory.getKeyManagers(JSSESocketFactory.java:413)
    at
org.apache.tomcat.util.net.jsse.JSSESocketFactory.init(JSSESocketFactory.java:381)
    at
org.apache.tomcat.util.net.jsse.JSSESocketFactory.createSocket(JSSESocketFactory.java:125)
    at org.apache.tomcat.util.net.JIoEndpoint.init(JIoEndpoint.java:496)
    at org.apache.coyote.http11.Http11Protocol.init(Http11Protocol.java:176)
    at
org.apache.catalina.connector.Connector.initialize(Connector.java:1058)
    at
org.apache.catalina.core.StandardService.initialize(StandardService.java:677)
    at
org.apache.catalina.core.StandardServer.initialize(StandardServer.java:795)
    at org.apache.catalina.startup.Catalina.load(Catalina.java:530)
    at org.apache.catalina.startup.Catalina.load(Catalina.java:550)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:260)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:412)
Nov 2, 2009 2:21:42 PM org.apache.catalina.startup.Catalina load
SEVERE: Catalina.start
LifecycleException:  Protocol handler initialization failed:
java.io.FileNotFoundException: C:\.keystore (The system cannot find the file
specified)
    at
org.apache.catalina.connector.Connector.initialize(Connector.java:1060)
    at
org.apache.catalina.core.StandardService.initialize(StandardService.java:677)
    at
org.apache.catalina.core.StandardServer.initialize(StandardServer.java:795)
    at org.apache.catalina.startup.Catalina.load(Catalina.java:530)
    at org.apache.catalina.startup.Catalina.load(Catalina.java:550)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:260)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:412)
Nov 2, 2009 2:21:42 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 300 ms
Nov 2, 2009 2:21:43 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Nov 2, 2009 2:21:43 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.16
Nov 2, 2009 2:21:43 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-9999
Nov 2, 2009 2:21:43 PM org.apache.coyote.http11.Http11Protocol start
SEVERE: Error starting endpoint
java.io.FileNotFoundException: C:\.keystore (The system cannot find the file
specified)
    at java.io.FileInputStream.open(Native Method)
    at java.io.FileInputStream.<init>(Unknown Source)
    at
org.apache.tomcat.util.net.jsse.JSSESocketFactory.getStore(JSSESocketFactory.java:319)
    at
org.apache.tomcat.util.net.jsse.JSSESocketFactory.getKeystore(JSSESocketFactory.java:259)
    at
org.apache.tomcat.util.net.jsse.JSSESocketFactory.getKeyManagers(JSSESocketFactory.java:413)
    at
org.apache.tomcat.util.net.jsse.JSSESocketFactory.init(JSSESocketFactory.java:381)
    at
org.apache.tomcat.util.net.jsse.JSSESocketFactory.createSocket(JSSESocketFactory.java:125)
    at org.apache.tomcat.util.net.JIoEndpoint.init(JIoEndpoint.java:496)
    at org.apache.tomcat.util.net.JIoEndpoint.start(JIoEndpoint.java:515)
    at
org.apache.coyote.http11.Http11Protocol.start(Http11Protocol.java:203)
    at org.apache.catalina.connector.Connector.start(Connector.java:1131)
    at
org.apache.catalina.core.StandardService.start(StandardService.java:531)
    at
org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:578)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Nov 2, 2009 2:21:43 PM org.apache.catalina.startup.Catalina start
SEVERE: Catalina.start:
LifecycleException:  service.getName(): "Catalina";  Protocol handler start
failed: java.io.FileNotFoundException: C:\.keystore (The system cannot find
the file specified)
    at org.apache.catalina.connector.Connector.start(Connector.java:1138)
    at
org.apache.catalina.core.StandardService.start(StandardService.java:531)
    at
org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:578)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Nov 2, 2009 2:21:43 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 287 ms


Thanks & Regards,
 Nilesh P.


On Mon, Nov 2, 2009 at 1:38 PM, Peter Crowther
<peter.crowther@melandra.com>wrote:

> 2009/11/2 Nilesh Patil <nileshpatil2021@gmail.com>
>
> > " The apache tomcat service on local computer started and then stopped .
> >  Some services stopped automaticaly if they are not in use by other
> > services or programs"
> >
>
> There should be more details of what went wrong in one of Tomcat's log
> files
> (it doesn't use the Windows event log). If you can find and post the
> exception and stack trace that's causing it to shut down, we might be able
> to help - otherwise we're guessing!
>
> - Peter
>

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