This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Tomcat and the fly likes server.xml doesn't have this element Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "server.xml doesn Watch "server.xml doesn New topic
Author

server.xml doesn't have this element

Hussein Baghdadi
clojure forum advocate
Bartender

Joined: Nov 08, 2003
Posts: 3476

Hi all.
I have Tomcat 5.0.28 and I want to enbale SSL port.
the documentation says :
to enable SSL, uncomment <Connector port="8443"> in %CATALINA_HOME%\conf\server.xml file.
well, I checked this file, there is no such an element !
in the past when I have Tomcat 4 installed, yes, server.xml was had this element, but what about Tomcat 5 ???
thanks.
Joyce Lee
Ranch Hand

Joined: Jul 11, 2003
Posts: 1392
Hi John,

I could see this element in conf\server.xml of tomcat 5.0.28. The one which I downloaded was jakarta-tomcat-5.0.28.zip.



Joyce
[ January 18, 2005: Message edited by: Joyce Lee ]
Hussein Baghdadi
clojure forum advocate
Bartender

Joined: Nov 08, 2003
Posts: 3476

I swear, there is no such an element, here is my whole server.xml :

Joyce Lee
Ranch Hand

Joined: Jul 11, 2003
Posts: 1392
I believe you, truly. But I've no idea why your server.xml lack of this info. How about you re-download jakarta-tomcat-5.0.28.zip?
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

It looks like someone set your server up using the server-minimal.xml file.
They would have renamed server-minimal.xml to 'server.xml' overwriting the original.

Just download another copy of Tomcat, copy the relevent section from server.xml, and paste it into your server.xml file.


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: server.xml doesn't have this element
 
Similar Threads
https and http in the same port (tomcat)
change tomcat port no from web
Tomcat w/ SSL - failing connection w/ Netscape
SSL & JAAS Exception
How to enable SSL for only one site in Tomcat