RE: Please help. Going Nuts.
Never mind. I figured it out. I somehow overlooked *.properties files. -Original Message- From: mikhail malamud [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 01, 2001 2:18 PM To: [EMAIL PROTECTED] Subject: RE: Please help. Going Nuts. ajp13 connector is set up properly because default app works fine with it and so do my jsp's. As you recommended, I decided to get simple things to get to work first. So, I tried to execute a servlet not in /WEB-INF/classes/edu/myschoo/util/HelloWorldExample but simply in /WEB-INF/classes/HelloWorldExample. This time tomcat found it. And here is the error I got. Why does the same servlet work under default package or even in /examples-test but wont work under my webapp directory. ** Error: 500 Location: /vitamin/servlet/HelloWorldExample Internal Servlet Error: java.util.MissingResourceException: Can't find bundle for base name LocalStrings, locale en_US at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.ja va:707) at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:604) at java.util.ResourceBundle.getBundle(ResourceBundle.java:559) at HelloWorldExample.doGet(HelloWorldExample.java:25) at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404) at org.apache.tomcat.core.Handler.service(Handler.java:286) at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372) at org.apache.tomcat.core.ContextManager.internalService(ContextManager.jav a:797) at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743) at org.apache.tomcat.service.connector.Ajp13ConnectionHandler.processConnec tion(Ajp13ConnectionHandler.java:160) at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416 ) at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:49 8) at java.lang.Thread.run(Thread.java:484) ** -Original Message- From: Jan Labanowski [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 01, 2001 1:28 PM To: [EMAIL PROTECTED] Cc: Jan Labanowski Subject: RE: Please help. Going Nuts. On Thu, 1 Mar 2001, mikhail malamud wrote: > OK. I got this to work. What's the next step, Jan? Read my message again... There were more steps there {:-)}... Read the notes at http://www.ccl.net/cca/software/UNIX/apache/index.shtml and http://www.ccl.net/cca/software/UNIX/apache/tomcatfaq.shtml Primarily check if your web.xml is correct and in correct place, if your server.xml has an entry: and you have there. And if the port is for ajp13 is the same as in worker.properties file. Check if your worker.properties are configured correctly for apj13 and if you are including the right file in the httpd.conf Once you corrected/cheked everything restart kill apache, kill tomcat start tomcat, start apache. > > -Original Message- > From: Jan Labanowski [mailto:[EMAIL PROTECTED]] > Sent: Thursday, March 01, 2001 12:51 PM > To: [EMAIL PROTECTED] > Cc: Jan Labanowski > Subject: Re: Please help. Going Nuts. > > > One thing at a time... Do not start from most complicated stuff... Try > to make hello world JSP to work first > In your directory > /usr/local/apache/htdocs/vitamin put a file: > > hello.jsp > > > > Hello World > > > > and try to get it in the browser: > > http://my.machine.com:8080/vitamin/hello.jsp > and do it the same with your apache port, say > http://my.machine.com/vitamin/hello.jsp > > (I do not know what your ports are, so you need to change it) > > > On Thu, 1 Mar 2001, mikhail malamud wrote: > > > > > mod_jk.conf. Apache Includes it in httpd.conf > > > > Alias /vitamin "/usr/local/apache/htdocs/vitamin" > > > > Options Indexes FollowSymLinks > > > > > > JkMount /vitamin/servlet/* ajp13 > > JkMount /vitamin/*.jsp ajp13 > > > > > > > > AllowOverride None > > deny from all > > > > Looks OK... > > > > ## > > > docBase="/usr/local/apache/htdocs/vitamin" > > crossContext="false" > > debug="0" > > reloadable="true" > > > > > > Can you see anything on the Tomcat port 8080 (or whatever it is in your > case). > i.e., > http://my.machine.com:8080/vitamin/hello.jsp >
RE: Please help. Going Nuts.
Again, My advice would be to put a simple HelloWorldExample.java servlet. You probably have some complicated stuff. Keep it simple like: --- cut - /* $Id: HelloWorldExample.java,v 1.1.1.1 1999/10/09 00:19:59 duncan Exp $ * Modifed by jkl */ import java.io.*; import java.text.*; import java.util.*; import javax.servlet.*; import javax.servlet.http.*; public class HelloWorldExample extends HttpServlet { HttpServletResponse response) throws IOException, ServletException { response.setContentType("text/html"); PrintWriter out = response.getWriter(); out.println(""); out.println(""); out.println("test"); out.println(""); out.println(""); out.println("Hello there"); out.println(""); out.println(""); } } --- cut - in the /usr/local/apache/htdocs/vitamin/WEB-INF/classes than do javac HelloWorldExample.java Assuming that you have the classpath to servlet.jar and your JDK classes set it would produce HelloWorldExample.class in the same directory. Then do: http://mymachine.com:8080/servlet/HelloWorldExample and http://mymachine.com/servlet/HelloWorldExample and see if you can see it working. Jan On Thu, 1 Mar 2001, mikhail malamud wrote: > ajp13 connector is set up properly because default app works fine with > it and so do my jsp's. > As you recommended, I decided to get simple things to get to work first. > So, I tried to execute a servlet not in > /WEB-INF/classes/edu/myschoo/util/HelloWorldExample > but simply in > /WEB-INF/classes/HelloWorldExample. This time tomcat found it. And here > is the error I got. > Why does the same servlet work under default package or even in > /examples-test but wont work under my webapp directory. > ** > Error: 500 > Location: /vitamin/servlet/HelloWorldExample > Internal Servlet Error: > > java.util.MissingResourceException: Can't find bundle for base name > LocalStrings, locale en_US > at > java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.ja > va:707) > at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:604) > at java.util.ResourceBundle.getBundle(ResourceBundle.java:559) > at HelloWorldExample.doGet(HelloWorldExample.java:25) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) > at > org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404) > at org.apache.tomcat.core.Handler.service(Handler.java:286) > at > org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372) > at > org.apache.tomcat.core.ContextManager.internalService(ContextManager.jav > a:797) > at > org.apache.tomcat.core.ContextManager.service(ContextManager.java:743) > at > org.apache.tomcat.service.connector.Ajp13ConnectionHandler.processConnec > tion(Ajp13ConnectionHandler.java:160) > at > org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416 > ) > at > org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:49 > 8) > at java.lang.Thread.run(Thread.java:484) > ****** > > > -Original Message- > From: Jan Labanowski [mailto:[EMAIL PROTECTED]] > Sent: Thursday, March 01, 2001 1:28 PM > To: [EMAIL PROTECTED] > Cc: Jan Labanowski > Subject: RE: Please help. Going Nuts. > > > On Thu, 1 Mar 2001, mikhail malamud wrote: > > > OK. I got this to work. What's the next step, Jan? > > Read my message again... There were more steps there {:-)}... > Read the notes at > http://www.ccl.net/cca/software/UNIX/apache/index.shtml > and http://www.ccl.net/cca/software/UNIX/apache/tomcatfaq.shtml > > Primarily check if your web.xml is correct and in correct place, if > your server.xml has an entry: > > className="org.apache.tomcat.service.PoolTcpConnector"> > > value="org.apache.tomcat.service.connector.Ajp13ConnectionHandler"/> > > > > and you have >docBase="/usr/local/apache/htdocs/vitamin" > crossContext="false" > debug="0" > reloadable="true" > > > there. > > > And if the port is for ajp13 is the same as in worker.properties file. > Check if your worker.properties are configured correctly for apj13 > and if you are including the right file in the httpd.conf > > Once you cor
RE: Please help. Going Nuts.
ajp13 connector is set up properly because default app works fine with it and so do my jsp's. As you recommended, I decided to get simple things to get to work first. So, I tried to execute a servlet not in /WEB-INF/classes/edu/myschoo/util/HelloWorldExample but simply in /WEB-INF/classes/HelloWorldExample. This time tomcat found it. And here is the error I got. Why does the same servlet work under default package or even in /examples-test but wont work under my webapp directory. ** Error: 500 Location: /vitamin/servlet/HelloWorldExample Internal Servlet Error: java.util.MissingResourceException: Can't find bundle for base name LocalStrings, locale en_US at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.ja va:707) at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:604) at java.util.ResourceBundle.getBundle(ResourceBundle.java:559) at HelloWorldExample.doGet(HelloWorldExample.java:25) at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404) at org.apache.tomcat.core.Handler.service(Handler.java:286) at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372) at org.apache.tomcat.core.ContextManager.internalService(ContextManager.jav a:797) at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743) at org.apache.tomcat.service.connector.Ajp13ConnectionHandler.processConnec tion(Ajp13ConnectionHandler.java:160) at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416 ) at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:49 8) at java.lang.Thread.run(Thread.java:484) ** -Original Message- From: Jan Labanowski [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 01, 2001 1:28 PM To: [EMAIL PROTECTED] Cc: Jan Labanowski Subject: RE: Please help. Going Nuts. On Thu, 1 Mar 2001, mikhail malamud wrote: > OK. I got this to work. What's the next step, Jan? Read my message again... There were more steps there {:-)}... Read the notes at http://www.ccl.net/cca/software/UNIX/apache/index.shtml and http://www.ccl.net/cca/software/UNIX/apache/tomcatfaq.shtml Primarily check if your web.xml is correct and in correct place, if your server.xml has an entry: and you have there. And if the port is for ajp13 is the same as in worker.properties file. Check if your worker.properties are configured correctly for apj13 and if you are including the right file in the httpd.conf Once you corrected/cheked everything restart kill apache, kill tomcat start tomcat, start apache. > > -Original Message- > From: Jan Labanowski [mailto:[EMAIL PROTECTED]] > Sent: Thursday, March 01, 2001 12:51 PM > To: [EMAIL PROTECTED] > Cc: Jan Labanowski > Subject: Re: Please help. Going Nuts. > > > One thing at a time... Do not start from most complicated stuff... Try > to make hello world JSP to work first > In your directory > /usr/local/apache/htdocs/vitamin put a file: > > hello.jsp > > > > Hello World > > > > and try to get it in the browser: > > http://my.machine.com:8080/vitamin/hello.jsp > and do it the same with your apache port, say > http://my.machine.com/vitamin/hello.jsp > > (I do not know what your ports are, so you need to change it) > > > On Thu, 1 Mar 2001, mikhail malamud wrote: > > > > > mod_jk.conf. Apache Includes it in httpd.conf > > > > Alias /vitamin "/usr/local/apache/htdocs/vitamin" > > > > Options Indexes FollowSymLinks > > > > > > JkMount /vitamin/servlet/* ajp13 > > JkMount /vitamin/*.jsp ajp13 > > > > > > > > AllowOverride None > > deny from all > > > > Looks OK... > > > > ## > > > docBase="/usr/local/apache/htdocs/vitamin" > > crossContext="false" > > debug="0" > > reloadable="true" > > > > > > Can you see anything on the Tomcat port 8080 (or whatever it is in your > case). > i.e., > http://my.machine.com:8080/vitamin/hello.jsp > > Is your apj13 connected activated? > > > ## > > > > At last. I added following entry into web.xml. > > Which web.xml? The /usr
RE: Please help. Going Nuts.
On Thu, 1 Mar 2001, mikhail malamud wrote: > OK. I got this to work. What's the next step, Jan? Read my message again... There were more steps there {:-)}... Read the notes at http://www.ccl.net/cca/software/UNIX/apache/index.shtml and http://www.ccl.net/cca/software/UNIX/apache/tomcatfaq.shtml Primarily check if your web.xml is correct and in correct place, if your server.xml has an entry: and you have there. And if the port is for ajp13 is the same as in worker.properties file. Check if your worker.properties are configured correctly for apj13 and if you are including the right file in the httpd.conf Once you corrected/cheked everything restart kill apache, kill tomcat start tomcat, start apache. > > -Original Message- > From: Jan Labanowski [mailto:[EMAIL PROTECTED]] > Sent: Thursday, March 01, 2001 12:51 PM > To: [EMAIL PROTECTED] > Cc: Jan Labanowski > Subject: Re: Please help. Going Nuts. > > > One thing at a time... Do not start from most complicated stuff... Try > to make hello world JSP to work first > In your directory > /usr/local/apache/htdocs/vitamin put a file: > > hello.jsp > > > > Hello World > > > > and try to get it in the browser: > > http://my.machine.com:8080/vitamin/hello.jsp > and do it the same with your apache port, say > http://my.machine.com/vitamin/hello.jsp > > (I do not know what your ports are, so you need to change it) > > > On Thu, 1 Mar 2001, mikhail malamud wrote: > > > > > mod_jk.conf. Apache Includes it in httpd.conf > > > > Alias /vitamin "/usr/local/apache/htdocs/vitamin" > > > > Options Indexes FollowSymLinks > > > > > > JkMount /vitamin/servlet/* ajp13 > > JkMount /vitamin/*.jsp ajp13 > > > > > > > > AllowOverride None > > deny from all > > > > Looks OK... > > > > ## > > > docBase="/usr/local/apache/htdocs/vitamin" > > crossContext="false" > > debug="0" > > reloadable="true" > > > > > > Can you see anything on the Tomcat port 8080 (or whatever it is in your > case). > i.e., > http://my.machine.com:8080/vitamin/hello.jsp > > Is your apj13 connected activated? > > > ## > > > > At last. I added following entry into web.xml. > > Which web.xml? The /usr/local/apache/htdocs/vitamin/WEB-INF/web.xml ? > > > > > # > > > > HelloWorld > The servlet name is not HelloWorld, it is HelloWorldExample > > > > edu.myschool.util.HelloWorldExample > > > > > > HelloWorld > The servlet name is not HelloWorld, it is HelloWorldExample > > /* > > This is wrong... > /* > > > > > # > > > Jan K. Labanowski|phone: 614-292-9279, FAX: > 614-292-7168 > Ohio Supercomputer Center|Internet: [EMAIL PROTECTED] > 1224 Kinnear Rd, |http://www.ccl.net/chemistry.html > Columbus, OH 43212-1163 |http://www.osc.edu/ > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, email: [EMAIL PROTECTED] > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, email: [EMAIL PROTECTED] > Jan K. Labanowski|phone: 614-292-9279, FAX: 614-292-7168 Ohio Supercomputer Center|Internet: [EMAIL PROTECTED] 1224 Kinnear Rd, |http://www.ccl.net/chemistry.html Columbus, OH 43212-1163 |http://www.osc.edu/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: Please help. Going Nuts.
OK. I got this to work. What's the next step, Jan? -Original Message- From: Jan Labanowski [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 01, 2001 12:51 PM To: [EMAIL PROTECTED] Cc: Jan Labanowski Subject: Re: Please help. Going Nuts. One thing at a time... Do not start from most complicated stuff... Try to make hello world JSP to work first In your directory /usr/local/apache/htdocs/vitamin put a file: hello.jsp Hello World and try to get it in the browser: http://my.machine.com:8080/vitamin/hello.jsp and do it the same with your apache port, say http://my.machine.com/vitamin/hello.jsp (I do not know what your ports are, so you need to change it) On Thu, 1 Mar 2001, mikhail malamud wrote: > > mod_jk.conf. Apache Includes it in httpd.conf > > Alias /vitamin "/usr/local/apache/htdocs/vitamin" > > Options Indexes FollowSymLinks > > > JkMount /vitamin/servlet/* ajp13 > JkMount /vitamin/*.jsp ajp13 > > > > AllowOverride None > deny from all > Looks OK... > ## > docBase="/usr/local/apache/htdocs/vitamin" > crossContext="false" > debug="0" > reloadable="true" > > Can you see anything on the Tomcat port 8080 (or whatever it is in your case). i.e., http://my.machine.com:8080/vitamin/hello.jsp Is your apj13 connected activated? > ## > > At last. I added following entry into web.xml. Which web.xml? The /usr/local/apache/htdocs/vitamin/WEB-INF/web.xml ? > > # > > HelloWorld The servlet name is not HelloWorld, it is HelloWorldExample > > edu.myschool.util.HelloWorldExample > > > HelloWorld The servlet name is not HelloWorld, it is HelloWorldExample > /* This is wrong... /* > > # - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: Please help. Going Nuts.
OK. I got this to work. What's the next step, Jan? -Original Message- From: Jan Labanowski [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 01, 2001 12:51 PM To: [EMAIL PROTECTED] Cc: Jan Labanowski Subject: Re: Please help. Going Nuts. One thing at a time... Do not start from most complicated stuff... Try to make hello world JSP to work first In your directory /usr/local/apache/htdocs/vitamin put a file: hello.jsp Hello World and try to get it in the browser: http://my.machine.com:8080/vitamin/hello.jsp and do it the same with your apache port, say http://my.machine.com/vitamin/hello.jsp (I do not know what your ports are, so you need to change it) On Thu, 1 Mar 2001, mikhail malamud wrote: > > mod_jk.conf. Apache Includes it in httpd.conf > > Alias /vitamin "/usr/local/apache/htdocs/vitamin" > > Options Indexes FollowSymLinks > > > JkMount /vitamin/servlet/* ajp13 > JkMount /vitamin/*.jsp ajp13 > > > > AllowOverride None > deny from all > Looks OK... > ## > docBase="/usr/local/apache/htdocs/vitamin" > crossContext="false" > debug="0" > reloadable="true" > > Can you see anything on the Tomcat port 8080 (or whatever it is in your case). i.e., http://my.machine.com:8080/vitamin/hello.jsp Is your apj13 connected activated? > ## > > At last. I added following entry into web.xml. Which web.xml? The /usr/local/apache/htdocs/vitamin/WEB-INF/web.xml ? > > # > > HelloWorld The servlet name is not HelloWorld, it is HelloWorldExample > > edu.myschool.util.HelloWorldExample > > > HelloWorld The servlet name is not HelloWorld, it is HelloWorldExample > /* This is wrong... /* > > # Jan K. Labanowski|phone: 614-292-9279, FAX: 614-292-7168 Ohio Supercomputer Center|Internet: [EMAIL PROTECTED] 1224 Kinnear Rd, |http://www.ccl.net/chemistry.html Columbus, OH 43212-1163 |http://www.osc.edu/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: Please help. Going Nuts.
"mikhail malamud" <[EMAIL PROTECTED]> on 03/01/2001 11:20:31 AM Please respond to [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc:(bcc: Bill Fellows/MO/americancentury) Subject: Please help. Going Nuts. >Here is the setup I have. >Tomcat 3.2.1 with mod_jk >Apache 1.3.17. DocRoot /usr/local/apache/htdocs. > >First, I got the existing /examples webapp to work. Apache is calling >tomcat and its all good. But now I am trying to deploy my first tomcat >application and going through hell. My DocRoot looks the following way. {snip} >At last. I added following entry into web.xml. > ># > >HelloWorld > >edu.myschool.util.HelloWorldExample > > >HelloWorld > /* > ># Just a WAG, but in you spect edu.myschool.util.HelloWorldExample Is that right? I haven't packaged any of my classes yet so I haven't tested that. Also, have you tried it without Apache? Just hit :8080 Does that work? >This does not look good to me, I am more than sure that there is >something wrong with it. I just dont know what. >When I try to access the servlet using >http://myhost.edu/servlet/edu.myschool.util.HelloWorldExample or >http://myhost.edu/servlet/edu.myschool.util.HelloWorld. I dont know >which one goes into URL class name or servlet name. Please help. Any >advice is greately apreciated. A minor WAG here but would it not be /servlet/HelloWorld since the servlet name is HelloWorld (it doesn't matter what your class name is, whatever the servlet name is, is what Tomcat will refer to it as.) /bill - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: Please help. Going Nuts.
One thing at a time... Do not start from most complicated stuff... Try to make hello world JSP to work first In your directory /usr/local/apache/htdocs/vitamin put a file: hello.jsp Hello World and try to get it in the browser: http://my.machine.com:8080/vitamin/hello.jsp and do it the same with your apache port, say http://my.machine.com/vitamin/hello.jsp (I do not know what your ports are, so you need to change it) On Thu, 1 Mar 2001, mikhail malamud wrote: > > mod_jk.conf. Apache Includes it in httpd.conf > > Alias /vitamin "/usr/local/apache/htdocs/vitamin" > > Options Indexes FollowSymLinks > > > JkMount /vitamin/servlet/* ajp13 > JkMount /vitamin/*.jsp ajp13 > > > > AllowOverride None > deny from all > Looks OK... > ## > docBase="/usr/local/apache/htdocs/vitamin" > crossContext="false" > debug="0" > reloadable="true" > > Can you see anything on the Tomcat port 8080 (or whatever it is in your case). i.e., http://my.machine.com:8080/vitamin/hello.jsp Is your apj13 connected activated? > ## > > At last. I added following entry into web.xml. Which web.xml? The /usr/local/apache/htdocs/vitamin/WEB-INF/web.xml ? > > # > > HelloWorld The servlet name is not HelloWorld, it is HelloWorldExample > > edu.myschool.util.HelloWorldExample > > > HelloWorld The servlet name is not HelloWorld, it is HelloWorldExample > /* This is wrong... /* > > # Jan K. Labanowski|phone: 614-292-9279, FAX: 614-292-7168 Ohio Supercomputer Center|Internet: [EMAIL PROTECTED] 1224 Kinnear Rd, |http://www.ccl.net/chemistry.html Columbus, OH 43212-1163 |http://www.osc.edu/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: Please help. Going Nuts.
join the club :) at any means if you find a solution let me know Chris -Original Message- From: mikhail malamud [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 01, 2001 11:21 AM To: [EMAIL PROTECTED] Subject: Please help. Going Nuts. Here is the setup I have. Tomcat 3.2.1 with mod_jk Apache 1.3.17. DocRoot /usr/local/apache/htdocs. First, I got the existing /examples webapp to work. Apache is calling tomcat and its all good. But now I am trying to deploy my first tomcat application and going through hell. My DocRoot looks the following way. DocRoot/vitamin/WEB-INF/ DocRoot/vitamin/WEB-INF/classes/edu/myschool/util/HelloWorldExample Vitamin is the top level of an application I am trying to deploy. I added following information to the following files. mod_jk.conf. Apache Includes it in httpd.conf Alias /vitamin "/usr/local/apache/htdocs/vitamin" Options Indexes FollowSymLinks JkMount /vitamin/servlet/* ajp13 JkMount /vitamin/*.jsp ajp13 AllowOverride None deny from all # Then, I added following entry into the server.xml ## ## At last. I added following entry into web.xml. # HelloWorld edu.myschool.util.HelloWorldExample HelloWorld /* # This does not look good to me, I am more than sure that there is something wrong with it. I just dont know what. When I try to access the servlet using http://myhost.edu/servlet/edu.myschool.util.HelloWorldExample or http://myhost.edu/servlet/edu.myschool.util.HelloWorld. I dont know which one goes into URL class name or servlet name. Please help. Any advice is greately apreciated. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]