• 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 ...
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

Tomcat 5.0.19, port 80 and -security option

Author and all-around good cowpoke
Posts: 13078
  • 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?
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
    Bookmark Topic Watch Topic
  • New Topic