Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.
Hi all, please see this major site announcement: https://www.boards.ie/discussion/2058427594/boards-ie-2026

Tomcat with Win2k (wrapper.properties)

  • 12-03-2003 11:22AM
    #1
    Closed Accounts Posts: 536 ✭✭✭


    I'm trying to configure Tomcat with IIS on a Win2k computer.

    If I install it to C:\Tomcat and set the value
    wrapper.tomcat_home=C:\tomcat in my wrapper.properties then it works fine.

    However if I install tomcat to C:\Program Files\Apache Tomcat 4.0 and set wrapper.tomcat_home=C:\Program Files\Apache Tomcat 4.0 then I get the following error when I try to start the service using jk_nt_service

    java.lang.NoClassDefFoundError: Files\Apache
    Exception in thread "main"

    I tried to put " " and ' ' around the location and also tried to set it to %CATALINA_HOME% but none of these worked, I couldn't even install the service.


    Can someone confirm for me that there can't be any spaces in the location for the wrapper.properties please

    thanks


Comments

  • Registered Users, Registered Users 2 Posts: 347 ✭✭Static


    What version of tomcat is this? Try c:\progra~1\apache~1\

    barry.


  • Registered Users, Registered Users 2, Paid Member Posts: 2,033 ✭✭✭lynchie


    Dont install tomcat in a directory with spaces... causes more hassle than its worth. Using the 8.3 notation for the directory will work, but its just as handy to install to a directory like c:\tomcat


  • Closed Accounts Posts: 536 ✭✭✭flyz


    4.0 is what I'm using,
    yeah I found out that I could use that notation afterwards. but like lynchie said it's more hassle than its worth :)


Advertisement
Advertisement