RE: Try please

2002-09-13 Thread Nikolay Kabadzhov

it works for me!

the same configuration

-Original Message-
From: Miguel Angel Mulero Martinez
[mailto:[EMAIL PROTECTED]]
Sent: 13 September 2002 10:40
To: Lista correo Tomcat
Subject: BUG: Try please


After try myself a lot of things, and make the question in this group, and
see others with the same problem, I think this is a bug. If someone could
try it and confirms, I will post it to bugzilla:

- Windows 2000, SP3, JDK 1.4.0_01, Tomcat 4.1.10
- Install tomcat 4.1.10 (not LE). Install like a service.
- Verify the environment variable (CATALINA_HOME)
- Execute the service Tomcat, and go to the examples. Execute de date jsp
example. Tomcat fails to compile de JSP.
- Stop the tomcat service. Go to the command line, to CATALINA_HOME and type
"catalina start"
- Go to the date JSP example. Tomcat works fine.
- Stop tomcat. Start it another time from the service. Go to the date JSP
example. Now works.
- Try others JSP (numguess.jsp). Fail.

This only happens with JSP that use classes from /WEB-INF/classes or
/WEB-INF/lib

Thanks!!


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




need help with "IOException: Cannot recover key"

2002-09-12 Thread Nikolay Kabadzhov

Can enybody help, please?
i am trying to setup SSL for tomcat following up the "SSL Configuration HOW-TO"
everything seems to be ok but when i start it there is an error log:

Catalina.start: LifecycleException:  Protocol handler start failed: 
java.io.IOException: Cannot recover key
LifecycleException:  Protocol handler start failed: java.io.IOException: Cannot 
recover key
at org.apache.coyote.tomcat4.CoyoteConnector.start(CoyoteConnector.java:1028)
at org.apache.catalina.core.StandardService.start(StandardService.java:506)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:2191)
at org.apache.catalina.startup.CatalinaService.start(CatalinaService.java:271)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at 
org.apache.catalina.startup.BootstrapService.start(BootstrapService.java:242)
at org.apache.catalina.startup.BootstrapService.main(BootstrapService.java:302)

It happens regardless of starting tomcat as NT service ot from command line.


Platform - Win2K Pro
Tomcat 4.1.10
jdk 1.4.0


thanks a lot

niki

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




"java.io.IOException: Cannot recover key" when trying to start an SSL in tomcat

2002-09-12 Thread Nikolay Kabadzhov

hi,
Any idea? thank's in advance.

So the situation:
1. I have the following keystore file
 c:\>keytool -list
 Keystore type: jks
 Keystore provider: SUN

 Your keystore contains 3 entries:

 curie, Thu Sep 12 14:46:30 EEST 2002, trustedCertEntry,
 Certificate fingerprint (MD5): 5E:11:3B:EB:C7:DA:2C:A0:BE:75:0E:25:3E:4A:76:12
 tomcat, Thu Sep 12 15:05:43 EEST 2002, keyEntry,
 Certificate fingerprint (MD5): 83:9B:54:06:8D:60:92:FE:A7:D7:98:F5:B4:6D:7F:1A
 mykey, Thu Sep 12 14:42:53 EEST 2002, keyEntry,
 Certificate fingerprint (MD5): E7:4D:63:B6:E1:02:0A:3D:B8:CB:24:F7:E9:B8:80:02

2. My connector looks like:

  


3. jdk1.4.0
4. start tomcat
5. stdout.log says:
 Bootstrap: Create Catalina server
 Catalina.start: LifecycleException:  Protocol handler initialization failed: 
java.io.IOException: Cannot recover key
 LifecycleException:  Protocol handler initialization failed: java.io.IOException: 
Cannot  recover key
at 
org.apache.coyote.tomcat4.CoyoteConnector.initialize(CoyoteConnector.java:1004)
at 
org.apache.catalina.core.StandardService.initialize(StandardService.java:579)
at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:2247)
at org.apache.catalina.startup.CatalinaService.load(CatalinaService.java:234)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.BootstrapService.init(BootstrapService.java:228)
at org.apache.catalina.startup.BootstrapService.main(BootstrapService.java:292)
 Bootstrap: Starting service
 Starting service Tomcat-Standalone
 Apache Tomcat/4.1.10

6. stderr.log says:
...
12-Sep-2002 15:18:21 org.apache.coyote.http11.Http11Protocol start
 SEVERE: Error starting endpoint
 java.io.IOException: Cannot recover key
at 
org.apache.tomcat.util.net.JSSESocketFactory.initProxy(JSSESocketFactory.java:214)
at 
org.apache.tomcat.util.net.JSSESocketFactory.createSocket(JSSESocketFactory.java:127)
at 
org.apache.tomcat.util.net.PoolTcpEndpoint.initEndpoint(PoolTcpEndpoint.java:263)
at 
org.apache.tomcat.util.net.PoolTcpEndpoint.startEndpoint(PoolTcpEndpoint.java:285)
at org.apache.coyote.http11.Http11Protocol.start(Http11Protocol.java:161)
at org.apache.coyote.tomcat4.CoyoteConnector.start(CoyoteConnector.java:1026)
at org.apache.catalina.core.StandardService.start(StandardService.java:506)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:2191)
at org.apache.catalina.startup.CatalinaService.start(CatalinaService.java:271)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at 
org.apache.catalina.startup.BootstrapService.start(BootstrapService.java:242)
at org.apache.catalina.startup.BootstrapService.main(BootstrapService.java:302)
7. https://localhost:8443 DOESN'T WORK!!!