tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Norris Shelton <norrisshel...@yahoo.com>
Subject Re: How do I setup Tomcat 5.* (need windows classpath)
Date Thu, 10 Jul 2003 13:18:22 GMT
True.  They are really an application shop.  They have a few
that play with Tomcat, but I am the only one that has really
used it.

Ah, ha.  You are a good man, Charlie Brown.  That sounds like a
good lead.  I will see what I can do with it.


--- John Turner <tomcat-user@johnturner.com> wrote:
> 
> 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 
> <norrisshelton@yahoo.com> 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 <tomcat-user@johnturner.com> 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 
> >> <norrisshelton@yahoo.com> 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 <tomcat-user@johnturner.com> 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
> >> 
> >> <norrisshelton@yahoo.com> 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 <tomcat-user@johnturner.com> 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,
> >> >> >> <JavaWriter2002@netscape.net> 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
> 
=== 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: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message