RE: help in setting up
Ganesan: You can download the latest and greatest version of Tomcat, unzip it and run the batch file to start it up. That's all to it. -Original Message- From: ganesan malairaja [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 28, 2005 11:42 PM To: tomcat-user@jakarta.apache.org Subject: help in setting up hi guys i know that to settup tomcat , there no need for apache i wanna know what java i should use is it j2dk or j2ee because i saw some example that uses both.. i am going to run JSP to retrieve info from database i need guide on how to setup tomcat .. ie what java version i shoud use. any links also would be helpfull .. consider a newbie case thanks guys .. ur help is appreaciated. htmlDIV DIVFONT color=#cc face=Lucida Handwriting, CursiveEMSTRONGIMG height=16 src=http://graphics.hotmail.com/emarrow_right.gif; width=16Ganesan_MalairajaIMG height=16 src=http://graphics.hotmail.com/emarrow_left.gif; width=16/STRONG/EM/FONT/DIV/DIV/html - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
JSP-Servlet tutorial
Can somebody direct me to a tutorial on jsp/servlet that pulls data from a database and displays the content via a jsp? Thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Form-based security
Omar! Aha! Even the autherr.html page seems to be protected by the form-based security. When I try to open autherr.html by the url, http://127.0.0.1:8080/MyFirst/autherr.html, I get the login page! How would I unprotect it? Thanks. -Original Message- From: Omar Adobati [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 19, 2005 3:31 AM To: Tomcat Users List Subject: Re: Form-based security what happen if you load tour error page using the address bar? can you see it? Isn't a path matter? regards, Omar On Wed, 19 Jan 2005 00:06:20 -0500, Venkat Radha Venkataramanan [EMAIL PROTECTED] wrote: Hello: I just wrote my first form-based security control. It works fine if I sign with a user id that plays the permitted role. But when I enter a user id that does not play the permitted role, instead of getting my customized error page, autherr.html, I get a generic 403 error. Can somebody tell me what I am doing wrong? Thanks. Venkat Web.xml section: security-constraint web-resource-collection web-resource-nameMyFirst/web-resource-name description accessible by authenticated users of the tomcat role/description url-pattern/*/url-pattern http-methodGET/http-method http-methodPOST/http-method http-methodPUT/http-method http-methodDELETE/http-method /web-resource-collection auth-constraint descriptionThese roles are allowed access/description role-nametomcat/role-name /auth-constraint /security-constraint login-config auth-methodFORM/auth-method realm-nameMyFirst Protected Area/realm-name form-login-config form-login-page/login.html/form-login-page form-error-page/autherr.html/form-error-page /form-login-config /login-config security-role descriptionOnly 'tomcat' role is allowed to access this web application/description role-nametomcat/role-name /security-role - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Adobati Omar [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Form-based security
Hello: I just wrote my first form-based security control. It works fine if I sign with a user id that plays the permitted role. But when I enter a user id that does not play the permitted role, instead of getting my customized error page, autherr.html, I get a generic 403 error. Can somebody tell me what I am doing wrong? Thanks. Venkat Web.xml section: security-constraint web-resource-collection web-resource-nameMyFirst/web-resource-name description accessible by authenticated users of the tomcat role/description url-pattern/*/url-pattern http-methodGET/http-method http-methodPOST/http-method http-methodPUT/http-method http-methodDELETE/http-method /web-resource-collection auth-constraint descriptionThese roles are allowed access/description role-nametomcat/role-name /auth-constraint /security-constraint login-config auth-methodFORM/auth-method realm-nameMyFirst Protected Area/realm-name form-login-config form-login-page/login.html/form-login-page form-error-page/autherr.html/form-error-page /form-login-config /login-config security-role descriptionOnly 'tomcat' role is allowed to access this web application/description role-nametomcat/role-name /security-role - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Why am I getting this authentication window
Hello: I am running Tomcat 5.0. I installed it about 2 months back and I have been learning the ropes these days. This morning when I tried to go into the Manager application and/or the admin application (http://127.0.0.1:8080/admin/), I get an authentication box: I dont know why all of a sudden I get this dialog box and even if I supply a local user/password, I cannot seem to go past this. Any help you can provide is much appreciated. Venkat
RE: Why am I getting this authentication window
I have two users, venki and admin set up in the file with admin and manager roles. Like I said, I have had no problems for the last two months. The only thing I did last was install an anti-virus package from trendMicro. I am running this on a Windows 2003 server. venkat _ From: Dale, Matt [mailto:[EMAIL PROTECTED] Sent: Friday, January 14, 2005 12:10 PM To: Tomcat Users List Subject: RE: Why am I getting this authentication window you need to add a user with the manager role to the tomcat-users.xml file. Then use this login and you will be able to access the admin app. -Original Message- From: Venkat Radha Venkataramanan [mailto:[EMAIL PROTECTED] Sent: 14 January 2005 16:43 To: 'Tomcat Users List' Subject: Why am I getting this authentication window Hello: I am running Tomcat 5.0. I installed it about 2 months back and I have been learning the ropes these days. This morning when I tried to go into the Manager application and/or the admin application (http://127.0.0.1:8080/admin/), I get an authentication box: I don't know why all of a sudden I get this dialog box and even if I supply a local user/password, I cannot seem to go past this. Any help you can provide is much appreciated. Venkat
Books on Tomcat
Can somebody suggest a good book on Tomcat for beginners? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Repeating a question I did not get an answer for - from a novice
Hello: I see that the TomCat Manager application is stored in Tomcat_Install_Dir\Server\Webapps while all other applications are installed under Tomcat_Install_Dir\Webapps. Can somebody tell me why? And, since the Admin application is not installed as part of the Tomcat installation, I would like to know where this application should be installed. Thanks. Venkat
Webapps Folder
Hello: I am new to Tomcat and so forgive me if this question comes across as very elementary. I see that there are two webapps folders, one under Jakarta_HOME\Server and one under JAKARTA_HOME. The Manager Application is installed under Jakarta_HOME\Server\webapps while other applications are installed under JAKARTA_HOME\webapps. Why is this distinction being made? Venkat
RE: Webapps Folder
Yoav: The admin application is to be installed in the Jakarta_Home/Server/webapps directory, right? The reason I am asking you this is after installing it there, it is not listed in the Applications list on the Tomcat Manager application and if I do http://127.0.0.1:8080/admin/; I get the response, Tomcat's administration web application is no longer installed by default. Download and install the admin package to use it. Thanks. VENKAT RADHA VENKATARAMANANPhone: 1-201-358-0001 324 St. Mary Street Hillsdale, NJ 07642 [EMAIL PROTECTED] -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 01, 2004 10:21 AM To: Tomcat Users List; [EMAIL PROTECTED] Subject: RE: Webapps Folder Hi, We are trying to distinguish those webapps which are tightly coupled with the Tomcat server and its implementation from normal user webapps. For all intents and purposes, users should ignore server/webapps and never touch it. Put all your apps and do your development in $CATALINA_HOME/webapps or another appBase of your choosing if you have a custom Host, but not server/webapps. Yoav Shapira http://www.yoavshapira.com -Original Message- From: Venkat Radha Venkataramanan [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 01, 2004 10:10 AM To: 'Tomcat Users List' Subject: Webapps Folder Hello: I am new to Tomcat and so forgive me if this question comes across as very elementary. I see that there are two webapps folders, one under Jakarta_HOME\Server and one under JAKARTA_HOME. The Manager Application is installed under Jakarta_HOME\Server\webapps while other applications are installed under JAKARTA_HOME\webapps. Why is this distinction being made? Venkat 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
What's the defaukt Admin user id/password
Hello: Can somebody tell me what the default admin user id/password is? Thanks. VENKAT RADHA VENKATARAMANANPhone: 1-201-358-0001 324 St. Mary Street Hillsdale, NJ 07642 [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: What's the defaukt Admin user id/password
Hello: I did read the tomcat-users.xml but none of the username/password works. I opened up the Tomcat Administration page and entered the username/password. Thanks for your help. -Original Message- From: D. Stimits [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 30, 2004 4:11 PM To: [EMAIL PROTECTED] Subject: Re: What's the defaukt Admin user id/password Venkat Radha Venkataramanan wrote: Hello: Can somebody tell me what the default admin user id/password is? Thanks. By default it is disabled. Go to the $CATALINA_HOME/conf/ directory, and open tomcat-users.xml. Edit there. A sample to give both admin and manager perms to user myself and to tomcat, password mypass (beware email line wrap): ?xml version='1.0' encoding='utf-8'? tomcat-users role rolename=tomcat/ role rolename=manager/ role rolename=admin/ user username=myself password=mypass roles=tomcat,manager,admin/ user username=tomcat password=mypass roles=tomcat,manager,admin/ /tomcat-users - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Help installing the Admin Application
Hello: I downloaded the 5.5.5Admin zip file and copied the different files into the appropriate directories. But I don't see the Admin application listed in the Tomcat Web Application Manager. When I click on the first application which is displayed as /, I see the Jakarta default page. When I click on the Tomcat Administration link on this page, I get a message, Tomcat's administration web application is no longer installed by default. Download and install the admin package to use it. Is there more to installing the Admin application? Thanks. venkat - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Does anybody have a JSP/Servlet example on MS SQLServer JDBC Connectivity?
Hello: I am a newbie trying to learn Tomcat. I was successful in creating my first HelloWorld servlet. However, I am unable to make a MS SQL Server 2000 database connection. Does anybody have a quick sample application/tutorial that walks one through the required steps? Thanks. Venkat
Question from a newbie! Please pardon me!
Hello: When I tried to compile my first servlet, using the command line, javac -classpath $CATALINA_HOME/common/lib/servlet-api.jar HelloWorld.java I get the following errors, mainly due to the fact that it's unable to find the package javax.servlet. HelloWorld.java:6: package javax.servlet does not exist import javax.servlet.*; ^ HelloWorld.java:7: package javax.servlet.http does not exist import javax.servlet.http.*; ^ HelloWorld.java:9: cannot resolve symbol symbol : class HttpServlet location: class HelloWorld public class HelloWorld extends HttpServlet { ^ HelloWorld.java:11: cannot resolve symbol symbol : class HttpServletRequest location: class HelloWorld public void doGet ( HttpServletRequest request, HttpServletResponse resp onse ) ^ HelloWorld.java:11: cannot resolve symbol symbol : class HttpServletResponse location: class HelloWorld public void doGet ( HttpServletRequest request, HttpServletResponse resp onse ) ^ HelloWorld.java:12: cannot resolve symbol symbol : class ServletException location: class HelloWorld throws ServletException, IOException{ ^ 6 errors Can somebody guide me on how to resolve this issue? Thanks. Venkat
Seeking a reusable component that handles file-transfer
Hello: I am looking for a Open Source or reusable component that will give the user an option to transfer a file from a local directory to a server location. This component should also have a status bar that shows the progress of the transfer. Thank you. Venkat - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Tomcat Start.bat and shutdown.bat
Hello: When I installed Tomcat 5.5.1 on Windows XP Professional, it failed to create the program group. I understand that it should have created two batch files for starting and shutting down the Tomcat instance. Can somebody share with me either the batch files or the command line for accomplishing the tasks? Thanks.
RE: Tomcat Start.bat and shutdown.bat
Hongsong: I tried using the batch files I found in the zipped version. Here's the problem I am running into. I have JRE 1.4.2 installed on my machine. But SetClassPath.bat looks for the following executables in JAVA_HOME: java.exe javaw.exe jdb.exe javac.exe In my case, javac.exe and jdb.exe do not exist and as a result, it aborts. Any ideas? -Original Message- From: Hongsong Zhou [mailto:[EMAIL PROTECTED] Sent: Friday, September 10, 2004 10:03 AM To: [EMAIL PROTECTED] Subject: Re: Tomcat Start.bat and shutdown.bat http://www.mail-archive.com/[EMAIL PROTECTED]/msg135694.html [EMAIL PROTECTED] 09/10/04 08:49AM Hello: When I installed Tomcat 5.5.1 on Windows XP Professional, it failed to create the program group. I understand that it should have created two batch files for starting and shutting down the Tomcat instance. Can somebody share with me either the batch files or the command line for accomplishing the tasks? Thanks. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Tomcat 5.5.1 Installation Help
Hello: I installed Tomcat 5.5.1 on a Windows XP Professional (SP2). The installation went without a hitch. The Release notes refers to a file Running.txt that I have to read if I am uing JRE 1.4 (I am actually using JRE 1.4.2). I read on the Tomcat page that I have to installa some compatibility modules. I Can somebody send me this file or tell me what I should do to complete my installation? Thanks. Venkat
RE: Tomcat 5.5.1 Installation Help
Yoav: I did not have any difficulty in locating the compat package. But I don't see the file Running.txt in the zipped version. VENKAT RADHA VENKATARAMANANPhone: 1-201-358-0001 324 St. Mary Street Hillsdale, NJ 07642 [EMAIL PROTECTED] -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Thursday, September 09, 2004 12:22 PM To: Tomcat Users List; [EMAIL PROTECTED] Subject: RE: Tomcat 5.5.1 Installation Help Hi, You download the compat package from the same place you download your Tomcat distribution (http://jakarta.apache.org/site/binindex.cgi). It's a .zip or .tar.gz distro, take your pick. Then it's as RUNNING.txt says: === Running Tomcat With J2SE Version 1.4 or 1.3 === (1) Obtain the compat package: (1.1) Download the compat package from the binary download site: http://jakarta.apache.org/site/binindex.cgi * Or build this package yourself from the source code: see BUILDING.txt in this directory. (2) Unzip the package in $CATALINA_HOME. It will place the XML parser APIs and Xerces implementation in the common/endorsed directory, and the JMX API jar (jmx.jar from Sun) in the bin directory. (3) Follow the same directions for starting and stopping the server as if you were using J2SE 5.0. Yoav Shapira Millennium Research Informatics -Original Message- From: Venkat Radha Venkataramanan [mailto:[EMAIL PROTECTED] Sent: Thursday, September 09, 2004 12:15 PM To: [EMAIL PROTECTED] Subject: Tomcat 5.5.1 Installation Help Hello: I installed Tomcat 5.5.1 on a Windows XP Professional (SP2). The installation went without a hitch. The Release notes refers to a file Running.txt that I have to read if I am uing JRE 1.4 (I am actually using JRE 1.4.2). I read on the Tomcat page that I have to installa some compatibility modules. I Can somebody send me this file or tell me what I should do to complete my installation? Thanks. Venkat 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat 5.5.1 Installation Help
Atishay: After I installed it the first time, I uninstalled it and reinstalled it. But this time, it did not create a program group called Tomcat! Now I don't even have the shortcut to start Tomcat service! Can you tell me what this program group and its members? VENKAT RADHA VENKATARAMANANPhone: 1-201-358-0001 324 St. Mary Street Hillsdale, NJ 07642 [EMAIL PROTECTED] -Original Message- From: Atishay Kumar [mailto:[EMAIL PROTECTED] Sent: Thursday, September 09, 2004 12:41 PM To: Tomcat Users List Subject: Re: Tomcat 5.5.1 Installation Help you installed using a zip file or a tar.gz or exe? u can download the exe and it will automatically find the jre installed on ur system and do the neeful (infact i did install 5.5.1 version today on xp with sp2). u then just have to go to start-all-programs-tomcat-start tomcat On Thu, 9 Sep 2004 17:23:11 +0100, Allistair Crossley [EMAIL PROTECTED] wrote: you can grab it at the binaries page at http://jakarta.apache.org/site/binindex.cgi either 5.5.1 Compat zip PGP MD5 5.5.1 Compat tar.gz PGP MD5 ADC -Original Message- From: Venkat Radha Venkataramanan [mailto:[EMAIL PROTECTED] Sent: 09 September 2004 17:15 To: [EMAIL PROTECTED] Subject: Tomcat 5.5.1 Installation Help Hello: I installed Tomcat 5.5.1 on a Windows XP Professional (SP2). The installation went without a hitch. The Release notes refers to a file Running.txt that I have to read if I am uing JRE 1.4 (I am actually using JRE 1.4.2). I read on the Tomcat page that I have to installa some compatibility modules. I Can somebody send me this file or tell me what I should do to complete my installation? Thanks. Venkat FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE --- QAS Ltd. Developers of QuickAddress Software a href=http://www.qas.com;www.qas.com/a Registered in England: No 2582055 Registered in Australia: No 082 851 474 --- /FONT - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- :) Atishay Kumar Btech, SEM VII DA-IICT Gandhinagar - 382009 India ph: +91 9825383948 /*** * * Learn the rules as you would need them to break them properly * / - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
What's the best way to test a database connection
Hello: I just finished installing Tomcat 5.5.1. I would like to know if it ships with any utility to check database connectivity. I created a JDBC connection to a SQL server and I would like to test the database access. Thanks. Venkat