• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Tomcat 5.0.19, port 80 and -security option

 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This is a weird one. Here are the exact steps.
I did a fresh download and install of jakarta-tomcat5.19.zip
Set environment CATALINA_HOME=C:\Servers\Tomcat-5.0.19
with port 8080 and no use of -security - localhost:8080 works ok
with 8080 and -security in commandline - works ok

change server.xml to port 80 regular startup.bat
http://localhost/ - works fine
continue with server.xml port 80 with -security in startup.bat command line - in other words the same command line switch that works with port 8080

try for http://localhost/
no response, extended bunch of errors in command prompt window, log has:

This is all with a totally unmodified Tomcat 5.0.19 installation. It also happens with 5.0.18. I have submitted a bugzilla report.
The class org.apache.tomcat.util.buf.HexUtils exists in the \server\lib\tomcat-util.jar file
The JDK is 1.4.2 - operating system WinXP prof
Anybody got any ideas as to why turning on -security when using port 80 causes a problem but with port 8080 is fine?
Bill
reply
    Bookmark Topic Watch Topic
  • New Topic