Java Mailing List Archive

http://www.junlu.com/

Google
Google
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
Subjects
JSP editor plugin for eclipse ?
org apache jasper JasperException: Unable to compile class for JSP
Tomcat: Connection reset by peer: socket write error
Cannot retrieve definition for form bean null
Struts Tiles Tutorial (free Struts training)
Where do I download Tomcat 4 0 6?
Data Access Object (DAO) pattern, example DAO 's
Where to download Tomcat v 4 1 24 from?
Tomcat 5 0 16 Requested resource not available
Oracle Connection Pooling in 3 2 2
Servlet : Session invalidate
Servlet action is currently unavailable
Tomcat/Struts Unicode Encoding/Decoding problems
Tomcat and webapplication specific java library path
Running a Simple JMS Example
Mapping in workers2 properties
org apache jasper JasperException
Cannot find message resources under key org apache struts action
   MESSAGE
problem with html:text bean throwing exception
Cannot find message resources under key org apache struts action MESSAGE
invalid direct reference problem with solution
Tool for jsp debug Try Sysdeo Eclipse Plugin
Tomcat 5 Cannot load JDBC driver class 'null ' SQL state: null
weblogic ejbc
java properties file
Jboss 3 2 3 Coyote Can 't re
Tomcat 5, Apache2 and mod jk2 integration problem
JBoss example problem new to J2EE
url string for connecting jboss to oracle
Value attribute of <html:checkbox
javax servlet ServletException: BeanUtils populate
HTTP Status 404 The requested resource is not available
5 0 18: Windows XP Pro vs Windows 2000
 
MM:Tomcat with SSL

MM:Tomcat with SSL

2004-01-13       - By Mohammad Musleh

 Back
Reply:     1     2     3     4     5     6     7     8     9     10     >>  

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 Source code of org.apache.coyote.http11.Http11Protocol init
SEVERE: Error initializing socket factory
java.lang.ClassNotFoundException Source code of java.lang.ClassNotFoundException: Can't find any SSL implementation
at
org.apache.tomcat.util.net.SSLImplementation Source code of org.apache.tomcat.util.net.SSLImplementation(SSLImplementation.j
ava:97)
at
org.apache.tomcat.util.net.SSLImplementation Source code of 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>&nbsp;</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>&nbsp;</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>&nbsp;</DIV>
<DIV><SPAN class=211014915-13012004>1. have generated&nbsp;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>&nbsp;</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>&nbsp;</DIV>
<DIV><SPAN class=211014915-13012004>3. Restarted Tomcat</SPAN></DIV>
<DIV><SPAN class=211014915-13012004></SPAN>&nbsp;</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 Source code of 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 Source code of 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 Source code of 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>&nbsp;</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>&nbsp;</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>&nbsp;</DIV>
<DIV><SPAN class=211014915-13012004></SPAN>&nbsp;</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>&nbsp;</DIV></BODY></HTML>

©2008 junlu.com - Jax Systems, LLC, U.S.A.