This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
The moose likes Tomcat and the fly likes tomcat 4.0 and ssl Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "tomcat 4.0 and ssl" Watch "tomcat 4.0 and ssl" New topic

tomcat 4.0 and ssl

saigals singh

Joined: Jan 15, 2002
Posts: 1
Tomcat 4.0.1 on IBM - AIX 4.3 - SSL Congifuration
Hi Everyone,
I have installed Tomcat 4.0.1 on IBM AIX 4.3. Tomcat as a standalone works fine. I can see the documentation at http://localhost:8443
For SSL configuration, when I uncomment the SSL:
<!-- Define an SSL HTTP/1.1 Connector on port 8443 (Uncommented this entry)-->
< Connector className="org.apache.catalina.connector.http.HttpConnector"
port="8443" minProcessors="5" maxProcessors="75"
acceptCount="10" debug="0" scheme="https" secure="true" >
< Factory className=""
protocol="TLS" />
< /Connector >

I have ibmjsse.jar in the $JAVA_HOME/jre/lib/ext directory. And in the /usr/java130/lib/security/ file I have the following entries:

I get the following error in catalina.out for SSL configuration and also cannot view the https://local:8443 - Tomcat crashes:
Exception during startup processing
java.lang.reflect.InvocationTargetException: java.lang.NoClassDefFoundError: com/sun/net/ssl/SSLContext
at org.apache.catalina.connector.http.HttpConnector.initialize(
at org.apache.catalina.core.StandardService.initialize(
at org.apache.catalina.core.StandardServer.initialize(
at org.apache.catalina.startup.Catalina.start(
at org.apache.catalina.startup.Catalina.execute(
at org.apache.catalina.startup.Catalina.process(
at java.lang.reflect.Method.invoke(Native Method)
at org.apache.catalina.startup.Bootstrap.main(

Any pointers/help is appreciated.
Regus Patoff

Joined: Oct 30, 2001
Posts: 8
Try copying jsse.jar to the %tomcat%\common\lib folder. Search for it; it should be in a folder under your local java runtime environment. Mine was at "C:\Program Files\Java\j2re1.4.0-beta3\lib"
The NoClassDefFoundError means that Tomcat can't see the class it is looking for. SSLContext is in the jsse.jar file and all jars need to be in a lib folder under Tomcat. 'common' is the most global of tomcat folders, meaning all apps under Tomcat will have access to the classes and jars stored there.
hope this helps
I agree. Here's the link:
subject: tomcat 4.0 and ssl
It's not a secret anymore!