tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thad Humphries <t...@mindwrap.com>
Subject Re: The right path; in more way than one.
Date Tue, 01 Oct 2002 13:11:31 GMT
I know that Tomcat's docs *say* this and that the JSP & servlet specs
call for this but it has not been my experience!

As I have *twice* pointed out here (to no ones acknowledgement), I have
an application that runs fine under Tomcat 4.0.? but not under 4.1.12. 
It fails on objects in xerces.jar.  xerces.jar implements SAX1 and I
have always included it in my WEB-INF/lib directory thouggh it was in
common/lib of Tomcat 4.0.  I use Xerces/SAX1 (Xerces 1.4.2) with
xalan.jar (Xalan 1.2.2).

Tomcat 4.1.12 used SAX2 from xmlParserAPIs.jar in common/endorsed.  I am
getting failures from Xalan 1 because (evidently) Tomcat is sending
objects from here vs. the older Xerces in my WEB-INF/lib directory.

Yes, yes, I know that this needs to be updated.  However, the Xalan API
is radically different.  For now, conversion is impossible due to short
resources and no few customer complexities.

On Tue, 2002-10-01 at 02:20, Andreas Probst wrote:
> Hi Ed,
> 
> I'm not sure, what your question is. Let me try to answer like 
> this: Tomcat will look for class files and jars in the various 
> classes and libs directories. Read pathto/tomcat-doc/class-
> loader-howto.html to know exactly.
> 
> You can have your application's directory anywhere, if you 
> configure a context in server.xml. If you put it under webapps 
> you don't have to configure a context.
> 
> For deploying your app it's probably the best to use Ant. Read 
> the app developer's guide (pathto/tomcat-doc/appdev/index.html) 
> to get to know best practices of the development process.
> 
> In case Tomcat complains about JAVA_HOME: In autoexec.bat it 
> might be better to set the DOS 8.3 pathname. Go to e: and type 
> dir to get to know the 8.3 name of jsdk1.4.0. (Something with ~)
> 
> Hope this helps.
> 
> Andreas
> 
> > 
> > 
> > Hello and Help
> > 
> > I need to have Tomcat working on my machine but I can't getting get the
> > right path in my browser.
> > So here Goes
> > 
> > My System is Windows 98
> > Tomcat version is 4.0.4
> > My Java editor is JCreator 2.5
> > jdk is 1.4
> > 
> > The install directory is D:\ApacheTomcat4\
> > My system directory is D:\windows
> > 
> > autoexec.bat settings
> >     set JAVA_HOME=E:\j2sdk1.4.0
> >     set $CATALINA_HOME=D:\ApacheTomcat4
> >     set  CATALINA_HOME=D:\ApacheTomcat4
> > 
> > 
> > I set the port to 8088 so; http:// localhost:8088/index.html pulls up the
> > splash screen, and in fact is where I got the addresses.
> > 
> > Questions:
> >        Is there a command or port that will get Tomcat to tell me where it
> > thinks the class files will be?
> >        What setting can I change to get Tomcat to look in a specific
> > directory so I can tell the compiler to put the output the class file?
> >         Are there any advanced tip sheets for install and configuration?
> >         Please respond with all revenant information. The need is urgent.
> > 
> > 
> > You have my personal Regards,
> > Ed
> > 
> > "They that can give up essential liberty to obtain a little temporary safety
> > deserve neither liberty nor safety."
> > ...Benjamin Franklin, Historical Review of Pennsylvania, 1759
> > 
> > 
> > --
> > To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> > For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>
> > 
> 
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>
> 
> 
-- 
------------------------------------------------------------------------
Thad Humphries              "...no religious test shall ever be required
Web Development Manager      as a qualification to any office or public
Phone: 540/675-3015, x225    trust under the United States." -Article VI


--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message