[ale] tomcat woes

James P. Kinney III jkinney at localnetsolutions.com
Tue May 24 21:23:21 EDT 2005


On Tue, 2005-05-24 at 20:58 -0400, Barry Hawkins wrote:

> 
> James, can you tell us a bit more about the application you are trying 
> to deploy?  I am wondering about the following things thus far:
> 
> 1.) Is the OpenHouse Servlet part of the codebase of the web application 
> being deployed?  If so, is the compiled application being compiled and 
> packaged appropriately, so that all .class files end up appropriately 
> placed in the /WEB-INF/classes folder, dwelling in the appropriate 
> subfolder structure?  For instance, if OpenHouse were in package 
> com.corp.realestatetracker, it would need to be in the following 
> directory hierarchy:
> /WEB-INF/classes/com/corp/realestatetracker/OpenHouse.class

Prior to my involvement, the OpenHouse.class was just in a directory
called "servlets". It was a directory in the users home directory but
outside the public_html directory. That implies some Alias work in
httpd.conf. There are other class files there as well. Each acts as a
standalone app. It's basically cgi written in java. None of the class
files in the servlets directory call any others from the servlets
directory. Just stock java stuff (database connector for MySQL and basic
io).
> 
> 2.) If the OpenHouse Servlet is not part of the codebase of the web 
> application being deployed, where is it being stored, and what does 
> the classpath entry for it look like, and where is it located 
> relative to the web app's folder?

export CATALINA_HOME=/usr/java/tomcat
export CLASSPATH=$CATALINA_HOME/common/lib/servlet-
api.jar:/var/www/servlets/

> 
> Kind of shooting in the dark, sorry if the questions seem overly 
> simple.

Not at all. I've been banging my head on what should be a simple setup
and it just isn't working. 
> Regards,
-- 
James P. Kinney III          \Changing the mobile computing world/
CEO & Director of Engineering \          one Linux user         /
Local Net Solutions,LLC        \           at a time.          /
770-493-8244                    \.___________________________./
http://www.localnetsolutions.com

GPG ID: 829C6CA7 James P. Kinney III (M.S. Physics)
<jkinney at localnetsolutions.com>
Fingerprint = 3C9E 6366 54FC A3FE BA4D 0659 6190 ADC3 829C 6CA7
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part




More information about the Ale mailing list