>

Greetings!

The problem has been fixed.  Just by way of quick run-down, in case anyone else 
encounters this...

1. The supplied server.xml references "examples", and therefore MUST HAVE an examples 
subdirectory under the "webapps" directory.

I found this out running tomcat with the "run" command, instead of "start".  Start 
opens a new window, and the error is missed.  The missing directory was plain to see 
in the error messages using "run".  I added a dummy examples directory and everything 
worked.  Then I checked the various 'server.xml' files, and there is one without the 
examples, and it works fine.

SO - tomcat 4.0.1 is running fine.

I then ported the same info over to Solaris (where the 'real' work happens - W2K is 
just a development environment), unpacked the binaries, set up my directories (with 
the no-example server.xml), and all was well.

Only one Solaris glitch to report - Version 3.x has "stuff" in the shell scripts to 
make a good guess at "JAVA_HOME", while 4.0 has removed this.  Too bad - but I just 
put it back, and all works well.

CHeers,

-Richard

P.S. Replying above a quoted post is not merely for the MS-weenie.  I am NOT an MS 
fan, would NEVER use "Ouchlook" or any Billy-ware virus-friendly software.  I use 
Netscape for most email, Pine when I must.  BUT - here in educational circles (I teach 
Java at the university / college level), "pre-replies" are a courtesy.  We really hate 
reading 4000 lines of > >> >> >>>>>>>>>>>>> (zillions of nested quoted stuff) only to 
find someone say "I agree".  SO - replying a the TOP of a post gets to the meat of the 
reply immediately.

This is NOT a flame.  Merely another point of view, that is NOT Billy-influenced.  We 
have other, well-thought-out reasons for replying at the top of a post.

> Subject: Quick Question...
> Date: Mon, 03 Dec 2001 21:10:22 -0700
> From: "Richard S. Huntrods" <[EMAIL PROTECTED]>
> To: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
>
> Greetings!
>
> I have a quick question.  I was running just fine on Tomcat 3.2.3.  I
> have built servlets, which sit in
> webapps/myapp/WEB-INF/classes/myapp/*.class
>
> In Tomcat 3.2.3, this structure was picked up when Tomcat started, and
> the servlets ran perfectly.  Note - there was no need for "web.xml" in
> the directories, as I was just using defaults.  Everything ran.
>
> I have now installed Tomcat 4.0.  Tomcat runs perfectly with the default
> set of "webapps".  Now, I have replaced these with my set of classes (as
> above) from 3.2.3, and Tomcat tries to start, but immediately quits.  If
> I replace the default set of "webapps", it will run - so it is my stuff.
>
> The quick question - Tomcat is supposed to automatically pick up the
> classes in this directory structure whenever it starts, but is not doing
> it the same as for 3.2.3.  I assume something simple has changed.  Can
> anyone tell me what I need to add?  I tried adding a default "web.xml",
> but that didn't seem to do it.
>
> Thanks,
>
> -Richard
>


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to