setting up a servlet.
Hello Reader, Currently I am maintaining a server with Apache 1.3 and JServ. On the site of Apache there is a statement that JServ is EOL. Also Apache 1.3 is getting rather old. I would like to upgrade to Tomcat, but I cannot get the servlet running. The tomcat server is running great. There is a plan to rewrite the servlet into using JSP but that is a lenghty process. Can anyone can help me in getting the servlet running? Peter Mulder -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org
Re: setting up a servlet.
On November 1, 2002 03:15 pm, [EMAIL PROTECTED] wrote: I would like to upgrade to Tomcat, but I cannot get the servlet running. The tomcat server is running great. There is a plan to rewrite the servlet into using JSP but that is a lenghty process. Can anyone can help me in getting the servlet running? I don't think anybody can help you unless you give more details. You mention that you cannot get the servlet running. Does some sort of error occur? What happens when you try to run the servlet? I hope those questions help us help you. -- Mark Nenadov, Freelance Software Developer web: http://www.freelance-developer.com e-mail: [EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org
RE: setting up a servlet.
It would help if you were to provide a little more info.. -Original Message- From: [EMAIL PROTECTED] [mailto:p.mulder;philips.com] Sent: Friday, November 01, 2002 10:15 AM To: [EMAIL PROTECTED] Subject: setting up a servlet. Hello Reader, Currently I am maintaining a server with Apache 1.3 and JServ. On the site of Apache there is a statement that JServ is EOL. Also Apache 1.3 is getting rather old. I would like to upgrade to Tomcat, but I cannot get the servlet running. The tomcat server is running great. There is a plan to rewrite the servlet into using JSP but that is a lenghty process. Can anyone can help me in getting the servlet running? Peter Mulder -- To unsubscribe, e-mail: mailto:tomcat-user- [EMAIL PROTECTED] For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org
RE: setting up a servlet.
Hi, Can anyone can help me in getting the servlet running? Probably ;) What problems are you running into? How do you know tomcat 4.x is running great? Make sure all the examples work. Yoav Shapira Millennium ChemInformatics This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org
setting up a servlet. 2nd try
I have installed Tomcat 4.1.12 I have a Servlet that used to run under JServ. Tomcat is running like it should. But I have no idea where to start with the servlet. I have the java code,.. which I can compile into a class file with the java compiler. But where to put it,... how to let tomcat know about the servlet. currently the servlet is invoked by going to: servername\MEMBERS\MAIN the servlet accepts ?page_of_interest+value+anothervalue string to execute commands. Hope somebody can tell me what to do to get the servlet installed and running on Tomcat. -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org
RE: setting up a servlet. 2nd try
RTFM ClassLoader HOWTO: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/class-loader-howto.html Application Developer's Guide: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/appdev/index.html John -Original Message- From: [EMAIL PROTECTED] [mailto:p.mulder;philips.com] Sent: Friday, November 01, 2002 10:34 AM To: Tomcat Users List Subject: setting up a servlet. 2nd try I have installed Tomcat 4.1.12 I have a Servlet that used to run under JServ. Tomcat is running like it should. But I have no idea where to start with the servlet. I have the java code,.. which I can compile into a class file with the java compiler. But where to put it,... how to let tomcat know about the servlet. currently the servlet is invoked by going to: servername\MEMBERS\MAIN the servlet accepts ?page_of_interest+value+anothervalue string to execute commands. Hope somebody can tell me what to do to get the servlet installed and running on Tomcat. -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org
RE: setting up a servlet. 2nd try
Start here http://jakarta.apache.org/tomcat/tomcat-4.1-doc/appdev/deployment.html -Original Message- From: [EMAIL PROTECTED] [mailto:p.mulder;philips.com] Sent: Friday, November 01, 2002 10:34 AM To: Tomcat Users List Subject: setting up a servlet. 2nd try I have installed Tomcat 4.1.12 I have a Servlet that used to run under JServ. Tomcat is running like it should. But I have no idea where to start with the servlet. I have the java code,.. which I can compile into a class file with the java compiler. But where to put it,... how to let tomcat know about the servlet. currently the servlet is invoked by going to: servername\MEMBERS\MAIN the servlet accepts ?page_of_interest+value+anothervalue string to execute commands. Hope somebody can tell me what to do to get the servlet installed and running on Tomcat. -- To unsubscribe, e-mail: mailto:tomcat-user- [EMAIL PROTECTED] For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org
RE: Setting up a servlet
With 4.x you can add a Loader checkInterval=15 / element nested inside your Context. The default checkInterval is 15 See docs for other Loader options. - Andrew -Original Message- From: Diego, Emil [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 24, 2002 9:52 AM To: '[EMAIL PROTECTED]' Subject: Setting up a servlet I am running apache 1.23 with tomcat 3.2.3 on Redhat Linux 7.2. My problem is that I am trying to setup a server for a web app i am working on. I have reated the servelt class and have it on the server, the problem is that everythime I submit the form that uses the servlet i get an error telling me that the URL can not be found. I have tomcat and apache working together to serv pages. I setup a seperate context for this web application. Here is the entry from the server.xml file: Context path=/dev_new docBase=/var/www/html/dev_new crossContext=false debug=0 reloadable=true /Context What do i need to do now to get the server to recognize the servlet? Emil [EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:tomcat-user- [EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Setting up a servlet
I am running apache 1.23 with tomcat 3.2.3 on Redhat Linux 7.2. My problem is that I am trying to setup a server for a web app i am working on. I have reated the servelt class and have it on the server, the problem is that everythime I submit the form that uses the servlet i get an error telling me that the URL can not be found. I have tomcat and apache working together to serv pages. I setup a seperate context for this web application. Here is the entry from the server.xml file: Context path=/dev_new docBase=/var/www/html/dev_new crossContext=false debug=0 reloadable=true /Context What do i need to do now to get the server to recognize the servlet? Emil [EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Setting up a servlet (web.xml)
Have you tried to see the servlet directly via it's URL? Have you tried without the security settings? --- Christopher Barbee [EMAIL PROTECTED] wrote: Hello. I am tryting to set up a servlet in the Root webapp. I have added a servlet ... /servlet tags and also a servlet-mapping tags... When I invoke the servlet via a form submit, I get an IllegalAccessException. I have also added permissions in the tomcat.policy file : file:{tomcat.home}/webapps/- AllPermissions Any ideas out there... --Chris - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] __ Do You Yahoo!? Get email at your own domain with Yahoo! Mail. http://personal.mail.yahoo.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: Setting up a servlet (web.xml)
Hi, Have you made the servlet class as public? I got the same error when i did the mistake of not making public. Ex: class MyServlet extends HttpServlet -- Compiles fine but gives illlegal Access public class MyServlet extends HttpServlet -- work fine. HTH Best Regards Moin. Christopher Barbee wrote: Hello. I am tryting to set up a servlet in the Root webapp. I have added a servlet ... /servlet tags and also a servlet-mapping tags... When I invoke the servlet via a form submit, I get an IllegalAccessException. I have also added permissions in the tomcat.policy file : file:{tomcat.home}/webapps/- AllPermissions Any ideas out there... --Chris - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]