Sorry i make a mistake, its the $TOMCAT_HOME/webapps/examples/web-inf/classes directory Herv�.
herve Wentzler a �crit : > Hi, > > I think that request to port 8080 are send by apache server to tomcat engine. So you >need > tomcat servlet engine (but you can use an other server) > > Try this : > 1 put your appservlet.class in the > $TOMCAT_HOME/webapps/examples/virtualexample/web-inf/classes directory > 2 launch tomcat. > 3 try http://localhost:8080/examples/servlet/appservlet > 4 good luck ! > > Herv�. > > Guillermo de =?iso-8859-1?Q?Jes=FAs?= HOYOS RIVERA a �crit : > > > Dear Servlets Gurus, I have a question: > > > > I have installed in my computer the Apache server on a Linux >RedHat 7.1 > > 386 platform. I have also installed the Apache Tomcat 3.2.3. > > > > Until now I have been testing my applications after starting the >Tomcat > > Daemon, calling to the next URL: http://localhost:8080/app_name, obviously, > > after having executed the "tomcat.sh start" script, however this morning I > > noticed that, when including the /usr/jakarta/conf/mod_jk.conf-auto into > > the /etc/httpd/conf/httpd.conf file, it is (at least I guess) loaded the > > mod_jk.o librarie, and then mapped all the servlets I have already running > > in my computer from a directory name to the whole path where they are > > stored, however when I tried to call my servlets directly from > > http://localhost/dir_name, I can access the HTML files, but when I try to > > execute a servlet it simply fails. Next is the error message that I get > > when I try to access a servlet: > > > > ##### > > > > Internal Server Error > > The server encountered an internal error or misconfiguration and was > > unable to complete your request. > > Please contact the server administrator, root@localhost and inform them of > > the time the error occurred, and anything you might have done that may > > have caused the error. > > More information about this error may be available in the server error > > log. > > > > Apache/1.3.19 Server at eos.laas.fr Port 80 > > > > ##### > > > > As far as I understand, if I call the servlets through the 8080 >port, > > then I am accessing them via the web server implemented by the > > distribution, meanwhile if I call through the regular (80) port, then I am > > using the Apache web server, and this loads the servlets extension. > > > > It seems to me too that the only way to access servlets, either, >through > > the 8080 or the 80 port, is when the "tomcat.sh start" script has been > > executed. > > > > Does any one of you know if I can only execute the httpd daemon, >withouth > > executing the Tomcat daemon, and have access to servlets? > > > > Thanks in advance and best regards. > > > > Guillermo HOYOS RIVERA > > > > ---------- > > Guillermo de Jes�s HOYOS RIVERA > > Doctorant du LAAS-CNRS, groupe OLC > > 7, Avenue Colonel Roche, bureau A43 > > 31077, Toulouse, FRANCE > > Tel. (+33|0) 5 61 33 62 63 > > Fax. (+33|0) 5 61 33 64 11 > > > > ___________________________________________________________________________ > > To unsubscribe, send email to [EMAIL PROTECTED] and include in the body > > of the message "signoff SERVLET-INTEREST". > > > > Archives: http://archives.java.sun.com/archives/servlet-interest.html > > Resources: http://java.sun.com/products/servlet/external-resources.html > > LISTSERV Help: http://www.lsoft.com/manuals/user/user.html > > ___________________________________________________________________________ > To unsubscribe, send email to [EMAIL PROTECTED] and include in the body > of the message "signoff SERVLET-INTEREST". > > Archives: http://archives.java.sun.com/archives/servlet-interest.html > Resources: http://java.sun.com/products/servlet/external-resources.html > LISTSERV Help: http://www.lsoft.com/manuals/user/user.html ___________________________________________________________________________ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
