Hello Craig,

>>
...
>> Is it possible to config Catalina these resources be accessable from
>> servlets (and for classes in c:/kit/classes too)?
>>

CRM> It's only possible to do this if you hand-modify the "catalina.sh" or
CRM> "catalina.bat" scripts to set the startup CLASSPATH to include your extra
CRM> repositories.  Personally, I am *****absolutely***** not interested in
CRM> supporting any standard mechanism like this.  You are totally on your own.

Thanks, it works.

CRM> Why?  Experience has shown that using the CLASSPATH for this purpose
CRM> causes *huge* numbers of support issues.  Prior to the introduction of
CRM> this concept, CLASSPATH was the number 2 question volume on TOMCAT-USER
CRM> (after web connector config issues).  Now , it has almost disappeared
CRM> because people easily understand how it works.  You'd be *much* better off
CRM> setting up your application deployment process to include copying the
CRM> shared JAR files to the correct place.  With disk space costs being what
CRM> they are, there's just no cost-based excuse for trying to avoid
CRM> duplication.

CRM> Hint -- the sample "build.xml" scripts included with the Tomcat 4 version
CRM> of the "Application Developer's Guide" have provisions to do this kind of
CRM> thing automatically, so you don't have to think about it :-).

CRM>   http://jakarta.apache.org/tomcat/tomcat-4.0-doc/appdev/index.html

CRM> Craig McClanahan


I'm absolutley agree with you in the case of "real" deployment. But
what about development time? I have about 600 classes in my project.
Using standard ant build make me to recompile all of them, and so on
according to ant task. Are you using full deployment process after any
small modifying of a single file (at development/*debugging* time)?

BTW, is it possible to do something like

.../manager/reload?path=/myApp

with respect to external classes/jars?

Thanks,
Andrew                            mailto:[EMAIL PROTECTED]


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

Reply via email to