tomcat setup question

From: sergio (feedback_at_pop.agri.ch)
Date: 05/31/04


Date: Mon, 31 May 2004 14:57:46 +0200

hi,

I try get tomcat (5.0.25) up and running.
The servlet examples run well. however, when I try to recompile them I get
an 404 (requested resource not available ) error.

my path settings are.
CATALINA_HOME=D:\jakarta-tomcat-5.0.25

CLASSPATH=C:\j2sdk1.4.2_04\jre\lib
PATH =... ; C:\j2sdk1.4.2_04\bin

I compile the examples like this

cd (tomcat root)\webapps\servlets-examples\WEB-INF\classes
javac HelloWorldExample.java (tomcat root)\common\lib\servlet-api.jar

the compiler shows no error

do I miss something in my enviroment variables?

best regards,
sergio



Relevant Pages

  • Re: compile error: System is out of resources..
    ... exact same error occurs both on my tomcat at home and at work, when I compile this file.. ... exact details). ...
    (comp.lang.java.help)
  • Re: compile error: System is out of resources..
    ... exact same error occurs both on my tomcat at home and at work, when I compile this file.. ... sH is a helper class I use in all my Tomcat webapps to generate HTML code in servlets.. ... but usuually code that had very convoluted or deeply nested package/inheritance structure (I am bit hazy on the exact details). ...
    (comp.lang.java.help)
  • Re: compile error: System is out of resources..
    ... exact same error occurs both on my tomcat at home and at work, when I compile this file.. ... sH is a helper class I use in all my Tomcat webapps to generate HTML code in servlets.. ...
    (comp.lang.java.help)
  • Re: Simplest Java app ever wont run. Why? -- CLASSPATH q..
    ... >> In the case of a standard application pass any additional 'classpath' ... I tend to forget that in Tomcat I DO have to do -classpath when I ... >compile, b/c I have it in a batch file I use to compile.. ... Again, Tomcat finds the system API (i.e., the J2SE distribution) by ...
    (comp.lang.java.help)
  • Re: cant find a class...
    ... > tomcat I don't need to set CLASSPATH? ... Add the library to the classpath when compiling with ANT. ... you'd compile an application against interfaces ...
    (comp.lang.java.help)