Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

server.xml doesn't have this element  RSS feed

 
Hussein Baghdadi
clojure forum advocate
Bartender
Posts: 3479
Clojure Mac Objective C
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1392
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 3479
Clojure Mac Objective C
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I swear, there is no such an element, here is my whole server.xml :

 
Joyce Lee
Ranch Hand
Posts: 1392
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!