facebook

Deploying to Tomcat 4.1 with ME 3.8 B2 [Closed]

💡
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. General Development
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #211945 Reply

    Stan Butler
    Member

    I have some servlets in my project and I keep getting the status message:
    503 – Servlet XXXX is currently unavailable.

    JSP pages seem to be processed correctly.

    When I deploy a web project to Tomcat, does it simply copy the files (exploded format) to the correct folder under <TOMCAT_4_HOME>/webapps wihout making any configurations to the Tomcat install??

    In other words, is it up to me to create the necessary context entry in either /conf/server.xml or in the /webapps directory??

    Sorry if this is a repost, but I searched on this topic and could not find a clear answer (obviously)…

    #211946

    Riyad Kalla
    Member

    In other words, is it up to me to create the necessary context entry in either /conf/server.xml or in the /webapps directory??

    Yes it is. However if you are using a simple webapp with no JNDI contexts or custom loggers, then you can just set Tomcat to “auto deploy” new webapps, so IT will create a new default context when it sees new web apps are in the /webapps dir for you.

    However, if you are making use of a JNDI context or anything custom like that, then yes you need to create the context, then hit “Save” and hit “Commit” from the Tomcat Administrator, that will permanantly write the changes back to the server.xml and appropriate <context name>.xml files for you so it will be persisted across restarts of Tomcat.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Deploying to Tomcat 4.1 with ME 3.8 B2 [Closed]

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