Re: Tomcat Help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2006-08-04 at 08:57 -0700, Ryan Ollerenshaw wrote:

> so why is this not my classpath at run time??

IIRC, Tomcat resets the classpath when it starts up, so it does not
matter what you put in your system classpath or even if you tweak the
startup.sh. I could be wrong though, since it has been years (literally)
since I touched Tomcat. 

But if you want your JAR file to be in the classpath, there are two
directories that I seem to recall where you can place the file:

<tomcat-directory>/webapps/<servlet-name>/WEB-INF/classes/
<tomcat-directory>/common/lib/

But it would help if you could answer the following questions:

1. What is the URL that you key into the browser location bar to access
the servlet? This is VERY important, because most problems come from the
location and the mapping of the servlet.
2. What is the current location for your JAR file?
3. Does the web application get loaded at all? What are the errors in
catalina.out when you startup Tomcat? You can check if the web
application even exists in Tomcat by accessing the Manager web
application (if you installed it). 


-- 
Pascal Chong 
email:  chongym@xxxxxxxxxxxxxx 
web:    http://cymulacrum.net
pgp:    http://cymulacrum.net/pgp/cymulacrum.asc

"La science ne connaît pas de frontière parce que la connaissance
appartient à l’humanité. et que c’est la flamme qui illumine le monde."

-- Louis Pasteur

Attachment: signature.asc
Description: This is a digitally signed message part

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux