  | Mailing List | | Home | | Forum Home | | JBoss - Java Application Server | | Struts - A MVC web framework | | Tomcat - JSP/Servlet container | | iText - An open source PDF Java Library | | JDOM - JDOM XML Parser | | J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition | | J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog | | Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology | | JSP - A mailing list about Java Server Pages specification and reference | |
Struts & Hibernate
|
|
|
  | | | MM:Tomcat with SSL | MM:Tomcat with SSL 2004-01-13 - By Mohammad Musleh
Back GlacierDear guys;
- I have Java 2 SDK 1.4.2 that come with JSSE - Apache Tomcat version 4.1 - I'm using Windows environment
I'm having a problem when I configured Tomcat with SSL, I followed HOW TO steps in Apache web site like this
1. have generated the key using this command %JAVA_HOME%\bin\keytool -genkey -alias tomcat -keyalg RSA
2. Uncommented the "SSL HTTP/1.1 Connector" in server.xml
3. Restarted Tomcat
But I got the following problem Jan 13, 2004 9:56:44 AM org.apache.coyote.http11.Http11Protocol init SEVERE: Error initializing socket factory java.lang.ClassNotFoundException : Can't find any SSL implementation at org.apache.tomcat.util.net.SSLImplementation (SSLImplementation.j ava:97) at org.apache.tomcat.util.net.SSLImplementation (SSLImplementation.j ava:103) ....
I searched for SSLImplementation class and I found it in a jar file, and that jar file is in the class path.
Any answers or suggestion why I'm getting this error and how to solve it???
Thanks Mohammad Musleh Software Architect and Developer Computer Science Dept, MUM Fairfield, IA 52557 USA Phone: (641) 472 7000 x 4326
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD><TITLE>Glacier</TITLE> <META content="text/html; charset=iso-8859 (See http://iso-8859.ora-code.com)-1" http-equiv=Content-Type> <STYLE>BODY { COLOR: #006666; FONT-FAMILY: Arial, Helvetica; FONT-SIZE: 10pt; MARGIN-LEFT: 50px; MARGIN-TOP: 20px } </STYLE>
<META content="MSHTML 5.00.3810.1700" name=GENERATOR></HEAD> <BODY background=cid:211014915@(protected)> <DIV><SPAN class=211014915-13012004>Dear guys;</SPAN></DIV> <DIV><SPAN class=211014915-13012004></SPAN> </DIV> <DIV><SPAN class=211014915-13012004>- I have Java 2 SDK 1.4.2 that come with JSSE</SPAN></DIV> <DIV><SPAN class=211014915-13012004>- Apache Tomcat version 4.1</SPAN></DIV> <DIV><SPAN class=211014915-13012004>- I'm using Windows environment</SPAN></DIV> <DIV><SPAN class=211014915-13012004></SPAN> </DIV> <DIV><SPAN class=211014915-13012004>I'm having a problem when I configured Tomcat with SSL, I followed HOW TO steps in Apache web site like this</SPAN></DIV> <DIV><SPAN class=211014915-13012004></SPAN> </DIV> <DIV><SPAN class=211014915-13012004>1. have generated the key using this command</SPAN></DIV> <DIV><SPAN class=211014915-13012004>%JAVA_HOME%\bin\keytool -genkey -alias tomcat -keyalg RSA</SPAN></DIV> <DIV><SPAN class=211014915-13012004></SPAN> </DIV> <DIV><SPAN class=211014915-13012004>2. Uncommented the "SSL HTTP/1.1 Connector" in server.xml</SPAN></DIV> <DIV><SPAN class=211014915-13012004></SPAN> </DIV> <DIV><SPAN class=211014915-13012004>3. Restarted Tomcat</SPAN></DIV> <DIV><SPAN class=211014915-13012004></SPAN> </DIV> <DIV><SPAN class=211014915-13012004>But I got the following problem</SPAN></DIV><SPAN class=211014915-13012004> <DIV><FONT color=#ff0000 face="Courier New">Jan 13, 2004 9:56:44 AM org.apache.coyote.http11.Http11Protocol init</FONT></DIV> <DIV><FONT color=#ff0000 face="Courier New">SEVERE: Error initializing socket factory</FONT></DIV> <DIV><FONT color=#ff0000 face="Courier New">java.lang.ClassNotFoundException : Can't find any SSL implementation</FONT></DIV> <DIV><FONT color=#ff0000 face="Courier New">at org.apache.tomcat.util.net.<STRONG>SSLImplementation</STRONG>.getInstance (SSLImplementation.java:97)</FONT></DIV> <DIV><FONT color=#ff0000 face="Courier New">at org.apache.tomcat.util.net.SSLImplementation (SSLImplementation.java :103)</FONT></DIV> <DIV><FONT color=#ff0000 face="Courier New"><SPAN class=211014915-13012004>....</SPAN></FONT></DIV> <DIV> </DIV> <DIV></SPAN><SPAN class=211014915-13012004>I searched for <STRONG>SSLImplementation </STRONG>class and I found it in a jar file, and that jar file is in the class path.</SPAN></DIV> <DIV><SPAN class=211014915-13012004></SPAN> </DIV> <DIV><SPAN class=211014915-13012004>Any answers or suggestion why I'm getting this error and how to solve it???</SPAN></DIV> <DIV><SPAN class=211014915-13012004></SPAN> </DIV> <DIV><SPAN class=211014915-13012004></SPAN> </DIV> <DIV><SPAN class=211014915-13012004>Thanks</SPAN></DIV> <DIV class=MsoNormal><SPAN style="FONT-FAMILY: Verdana; FONT-SIZE: 10pt; mso-bidi-font-size: 12.0pt" >Mohammad Musleh<BR>Software Architect and Developer<BR>Computer Science Dept, MUM<BR>Fairfield, IA 52557 USA<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></SPAN></DIV> <DIV class=MsoNormal><SPAN style="FONT-FAMILY: Verdana; FONT-SIZE: 10pt; mso-bidi-font-size: 12.0pt">Phone : (641) 472 7000 x 4326</SPAN></DIV> <DIV> </DIV></BODY></HTML>
|
|
 |