You still haven't indicated which version of Tomcat, so it is hard to make specific recommendations.
For all 3.x and 4.x Tomcats, creating a subdirectory under the "webapps" directory is the simplest way to bring a new web application online. Tomcat will automatically serve these subdirectories without requiring config file changes. You seem to have done this. However, I can't tell much from "I don't even reach the point where Tomcat itself is running my application". What error is reported when you try to run a servlet? What do you see in the log files? Cheers, Larry P.S. If you are not familar with the Servlet specs, you can download it from here: <http://java.sun.com/products/servlet/download.html> Tomcat 3.x implements Servlet 2.2, Tomcat 4.x implements Servlet 2.3. > -----Original Message----- > From: Camara, Jose [mailto:[EMAIL PROTECTED]] > Sent: Thursday, December 13, 2001 12:27 PM > To: 'Tomcat Users List' > Subject: RE: Application configuration > > > Thanks Larry, > > I don't even reach the point where Tomcat itself is running > my application. > I guess I need to indicate Tomcat where and how to recognize > the classes for > my application. Setting up my application in tomcat is the problem. > > Regards, > > Jose L. Camara > > -----Original Message----- > From: Larry Isaacs [mailto:[EMAIL PROTECTED]] > Sent: Thursday, December 13, 2001 4:58 AM > To: 'Tomcat Users List' > Subject: RE: Application configuration > > > The configuration you show only lets Tomcat execute > servlets. All other content, Apache will try to serve > directly. Is this your intent? It would also help > to know which version of Tomcat 3.x you are using. > (Note that Tomcat 3.3 does the best job of automating > the connection to Apache.) > > In general, I would also recommend testing your web > application first by accessing Tomcat directly. If > everything works okay, then try accessing through > Apache. A web.xml isn't required as long as you are > happy with what Tomcat provides by default. > > Cheers, > Larry > > > -----Original Message----- > > From: Camara, Jose [mailto:[EMAIL PROTECTED]] > > Sent: Wednesday, December 12, 2001 10:01 PM > > To: '[EMAIL PROTECTED]' > > Subject: Application configuration > > > > > > I think I reach that point where I need some help ... could > > you subscribe me > > and help me with the following issue. > > > > Totally new in configuring applications to be deployed on tomcat: > > 1) Apache and tomcat are running perfectly > > 2) I created a directory to install my application (webapps/imr) > > 3) Under that, I created META-INF, WEB-INF and servlets directories. > > 4) I also modified tomcat-apache.conf as follows > > > > Alias /imr "/home/jcamara/tomcat/webapps/imr" > > <Directory "/home/jcamara/tomcat/webapps/imr"> > > Options Indexes FollowSymLinks > > </Directory> > > ApJServMount /imr/servlet /imr > > <Location "/imr/WEB-INF/"> > > AllowOverride None > > deny from all > > </Location> > > <Location "/imr/META-INF/"> > > AllowOverride None > > deny from all > > </Location> > > > > 5) I'm starting to believe that I need to create a web.xml > > file and I'm not > > sure how, probably I'll follow one of the examples. > > 6) I can see the list of classes for my application under > > that directory. > > 7) Every time I'm trying to run the application it asked me > > for download the > > application on IE and finally come with an error saying > > "Could not find the > > main class. Program will exit!" on a Java Virtual Machine pop > > up screen. > > > > I'm 100% sure that I'm missing something, so here are my questions: > > Q1: Do I need to create a web.xml file? > > Q2: Where should I put the jar files that my application need? > > Q3: How should I configure Tomcat in under to display correctly my > > application? > > > > Regards, > > > > > > Jose L. Camara > > > > -- > > To unsubscribe: > <mailto:[EMAIL PROTECTED]> > > For additional commands: > <mailto:[EMAIL PROTECTED]> > > Troubles with the list: > <mailto:[EMAIL PROTECTED]> > > > > -- > To unsubscribe: <mailto:[EMAIL PROTECTED]> > For additional commands: <mailto:[EMAIL PROTECTED]> > Troubles with the list: <mailto:[EMAIL PROTECTED]> > > -- > To unsubscribe: <mailto:[EMAIL PROTECTED]> > For additional commands: <mailto:[EMAIL PROTECTED]> > Troubles with the list: <mailto:[EMAIL PROTECTED]> > -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]>