Well, sounds like you have some re-education work to do. The whole point is to be portable. Putting things your web application requires onto a network share (I think you mentioned V:) that won't exist anywhere else is not the best practice for design, especially if you have to go in and munge around with the startup scripts to get it to work.


If you must, I believe you can pass the parameters directly on the command line, such as withthe endorsed-dirs property or others, as an alternative to messing with CLASSPATH.

John

On Wed, 9 Jul 2003 08:40:41 -0700 (PDT), Norris Shelton <[EMAIL PROTECTED]> wrote:

I wish I could.  This is the architecture that I am saddled
with.  I have to find a way to make TC5 work with what is given.


--- John Turner <[EMAIL PROTECTED]> wrote:

That was my point. JAR up your class files, and put them
where Tomcat expects them to be. Problem solved. People typically use ant
to do this, so that it is fairly automatic when deploy time comes around.


John

On Wed, 9 Jul 2003 08:07:58 -0700 (PDT), Norris Shelton <[EMAIL PROTECTED]> wrote:

> Ah, ha.  Now you are getting somewhere. The "Class Loader
> Definitions" has the following under the "System" bullet:
>
> However, the standard Tomcat 4 startup scripts
> ($CATALINA_HOME/bin/catalina.sh or
> %CATALINA_HOME%\bin\catalina.bat) totally ignore the
contents of
> the CLASSPATH environment variable itself, and instead build
the
> System class loader from the following repositories:
>
>
> This is the problem I am trying to get around.  The
additional
> libraries are not contained in any of the normal catalina
> classpaths (hence the system environment variable).  I have
it
> recognizing the external classpath, but can't find the jsp
tag
> info (and possibly more).
>
> --- John Turner <[EMAIL PROTECTED]> wrote:
>>
>> See the ClassLoader HOWTO:
>>
>>
>

http://jakarta.apache.org/tomcat/tomcat-4.1-doc/class-loader-howto.html
>>
>> specifically:
>>
>> "Shared - This class loader is the place to put classes and
>> resources that you wish to share across ALL web
applications (unless >> Tomcat
>> internal classes also need access, in which case you should
put them in
>> the Common class loader instead). All unpacked classes and
resources in >> $CATALINA_HOME/shared/classes, as well as classes and
>> resources in JAR files under $CATALINA_HOME/lib, are made
visible >> through this
>> class loader."
>>
>> John
>>
>> On Wed, 9 Jul 2003 07:50:25 -0700 (PDT), Norris Shelton >> <[EMAIL PROTECTED]> wrote:
>>
>> > How do you get it access items that are not within the
>> tomcat
>> > install. I have tomcat installed locally on c:. There
is
>> an
>> > additional library located on v: (loose classes and
jars). We
>> > could not get Tomcat to access these classes.
>> >
>> >
>> > --- John Turner <[EMAIL PROTECTED]> wrote:
>> >>
>> >> Hmmmm...lots of overlap here.
>> >>
>> >> First, you shouldn't need to do ANYTHING to CLASSPATH
for
>> >> Tomcat 4.1.x and higher, especially messing around with
>> servlet.jar.
>> >>
>> >> Second, as far as where to put your servlets, try the
>> >> Application Developer's Guide here:
>> >>
>>
>


http://jakarta.apache.org/tomcat/tomcat-4.1-doc/appdev/index.html
>> >>
>> >> as well as the Tomcat FAQ: >> >> http://jakarta.apache.org/tomcat/faq/misc.html#invoker
>> >>
>> >> If you want to post a specific scenario, with a specific
>> error
>> >> message, we can help, but a generic "I've tried
everything
>> and nothing
>> >> ever works" doesn't give us much to go on.
>> >>
>> >> John
>> >>
>> >> On Tue, 08 Jul 2003 15:53:23 -0400,
>> >> <[EMAIL PROTECTED]> wrote:
>> >>
>> >> > Hi, I have searched instructions and websites with no
>> real
>> >> luck on this.
>> >> >
>> >> > I've used Tomcat in production since some 3.* version
but
>> >> I've been lost > since after 4.0 about where to put a
>> simple servlet >> class or
>> >> how to > include the servlet.jar so jdk1.4 can see it.
I've created
>> >> war files as > the admin page seems to want but this
>> doesn't seem to be
>> >> working either.
>> >> > Tried every class directory I could find and still
cant
>> pull
>> >> up the > servlet from the web. (I can get the
default.jsp
>> pages
>> >> though). Tried > making my own servlet directory in the
>> config files, >> nope,
>> >> no luck.
>> >> >
>> >> > I want to take advantage of any NIO performance
>> enhancements
>> >> or other > benefits that 5.* has to offer, please help!
>> >> >
>> >> > Thanks!
>> >> > JW
>> >> >
>> >> >
>> >>
>> >
>>
>


__________________________________________________________________
>> >> > McAfee VirusScan Online from the Netscape Network.
>> >> > Comprehensive protection for your entire computer. Get
>> your
>> >> free trial > today!
>> >> >
>> >>
>> >
>>
>

http://channels.netscape.com/ns/computing/mcafee/index.jsp?promo=393397
>> >> >
>> >> > Get AOL Instant Messenger 5.1 free of charge. Download
>> Now!
>> >> >
http://aim.aol.com/aimnew/Aim/register.adp?promo=380455
>> >> >
>> >> >
>> >>
>> >
>>
>

---------------------------------------------------------------------
>> >> > To unsubscribe, e-mail:
>> >> [EMAIL PROTECTED]
>> >> > For additional commands, e-mail:
>> >> [EMAIL PROTECTED]
>> >> >
>> >> >
>> >>
>> >>
>> >>
>> >> -- Using M2, Opera's revolutionary e-mail client:
>> >> http://www.opera.com/m2/
>> >>
>> >>
>> >
>>
>

---------------------------------------------------------------------
>> >> To unsubscribe, e-mail:
>> >> [EMAIL PROTECTED]
>> >> For additional commands, e-mail:
>> >> [EMAIL PROTECTED]
>> >>
>> >
>> >
>> > =====
>> >
>> > Norris Shelton
>> > Software Engineer
>> > Sun Certified Java 1.1 Programmer
>> > Appriss, Inc.
>> > ICQ# 26487421
>> > AIM NorrisEShelton
>> > YIM norrisshelton
>> >
>> >
>> > __________________________________
>> > Do you Yahoo!?
>> > SBC Yahoo! DSL - Now only $29.95 per month!
>> > http://sbc.yahoo.com

=== message truncated ===


=====


Norris Shelton
Software Engineer
Sun Certified Java 1.1 Programmer
Appriss, Inc.
ICQ# 26487421
AIM NorrisEShelton
YIM norrisshelton


__________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





-- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to