facebook

Mac OS X Starting Tomcat Errors

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse IDE
  2.  > 
  3. Installation, Configuration & Updates
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #220525 Reply

    bdeverea
    Member

    I’m encountering a very strange problem using MyEclipse and Tomcat 5 on Mac OS X…

    When deploying a project through MyEclipse my browser cannot locate the directory (/commerce) and get a 404 error. However, if I stop Tomcat and then start it from the command line, I am then able to see the directory in the browser without issue.

    The deployment seems to be working properly with all files being accounted for, however I think the problem lies in my MyEclipse settings somewhere.

    One thing should be noted: I am getting an error on the startup of Tomcat through MyEclipse:

    SEVERE: The scratchDir you specified: /usr/local/jakarta-tomcat-5.0.30/work/Catalina/localhost/webdav is unusable.

    I’m new to Java and MyEclipse so any guidance or advice is greatly appreciated.

    #220527

    Riyad Kalla
    Member

    bdeverea,
    Just a few questions to help us:

    1) What version of MyEclipse are you using?
    2) What version of Eclipse?
    3) What is your deployment path for your deployment?
    4) Are you using exploded or packaged deployment?
    5) What is the context root name of your project?
    6) What is the URL you are attempting to use to access your project?

    #220531

    bdeverea
    Member

    1) What version of MyEclipse are you using?

    Version 3.8.2

    2) What version of Eclipse?

    Version 3.0.1

    3) What is your deployment path for your deployment?

    /usr/local/jakarta-tomcat-5.0.30/webapps/commerce

    4) Are you using exploded or packaged deployment?

    Expanded

    5) What is the context root name of your project?

    Web-root folder: /WebRoot
    Web Context-root: /commerce

    6) What is the URL you are attempting to use to access your project?

    http://localhost:8080/commerce/

    Thanks for looking into this for me. As I mentioned, the URL works if I start Tomcat via the command line, but not if I try it through MyEclipse

    #220534

    Scott Anderson
    Participant

    /usr/local/jakarta-tomcat-5.0.30/work/Catalina/localhost/webdav is unusable.

    Could be a permission problem in that the user running MyEclipse and hence Tomcat can’t write to the directory indicated.

    #220543

    Riyad Kalla
    Member

    Hrrmm… when you “start Tomcat from the command line” are you starting it as a different user? Does it run as a system service or something, or is this all software you have installed under your user account and you are run doing “./startup”?

Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: Mac OS X Starting Tomcat Errors

You must be logged in to post in the forum log in