File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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: 3479

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: 3479

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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: server.xml doesn't have this element