Re: hello world
On 06/01/2010 11:09, Cristobal Castro wrote: hello i just installed tomcat on win xp, now how can i set my firt project ? i see the tomcat folder in C:, do i need to put my first program in one of those folders? just like i did with normal apache ? (ex htdocs folder - called on browser by http://localhost/nameOfYourFile) thanks http://tomcat.apache.org/tomcat-6.0-doc/appdev/index.html Mark - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: hello world
It was actually: http://localhost:8080/webapps/Hello/Hello.html. Sorry for the misprint. Veena On Thu, May 28, 2009 at 6:07 AM, S Arvind arvindw...@gmail.com wrote: What path you gave to get that html in browser? -Arvind S * Many of lifes failure are people who did not realize how close they were to success when they gave up. -Thomas Edison * On Wed, May 27, 2009 at 5:48 AM, veena pandit v.kri...@gmail.com wrote: How to configure Hello.html in Tomcat? Where do I place the following file? How to access it from the server? HTML BODY Hello, world /BODY /HTML Thanks, Veena
Re: hello world
veena pandit wrote: It was actually: http://localhost:8080/webapps/Hello/Hello.html. Sorry for the misprint. This must be the longest-running thread about a Hello World application ever, in any programming language. :-) - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: hello world
http://localhost:8080/webapps/Hello/Hello.html. Sorry for the misprint. This must be the longest-running thread about a Hello World application ever, in any programming language. :-) It looks to me that you should remove the webapps from the url. What is your local path What is the server.xml like How did you deploy the app How have you changed the default config... HTH Serge Fonville - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: hello world
Well I had to know, because it was chapter 1 in a web based tutorial for JSP. :-) Thanks, Veena On Fri, May 29, 2009 at 9:15 AM, André Warnier a...@ice-sa.com wrote: veena pandit wrote: It was actually: http://localhost:8080/webapps/Hello/Hello.html. Sorry for the misprint. This must be the longest-running thread about a Hello World application ever, in any programming language. :-) - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
RE: hello world
From: veena pandit [mailto:v.kri...@gmail.com] Subject: Re: hello world it was chapter 1 in a web based tutorial for JSP. :-) Can you provide a link to the tutorial? I'd like to see what it says. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: hello world
http://www.jsptut.com/ On Fri, May 29, 2009 at 9:39 AM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: veena pandit [mailto:v.kri...@gmail.com] Subject: Re: hello world it was chapter 1 in a web based tutorial for JSP. :-) Can you provide a link to the tutorial? I'd like to see what it says. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: hello world
instead of reading that tutorial try reading Head First JSP and SERVLETS. -Arvind S On Fri, May 29, 2009 at 7:14 PM, veena pandit v.kri...@gmail.com wrote: http://www.jsptut.com/ On Fri, May 29, 2009 at 9:39 AM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: veena pandit [mailto:v.kri...@gmail.com] Subject: Re: hello world it was chapter 1 in a web based tutorial for JSP. :-) Can you provide a link to the tutorial? I'd like to see what it says. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: hello world
I have that book; I am studying for SWCD certification. There are some gaps I am trying to fill. On Fri, May 29, 2009 at 3:03 PM, S Arvind arvindw...@gmail.com wrote: instead of reading that tutorial try reading Head First JSP and SERVLETS. -Arvind S On Fri, May 29, 2009 at 7:14 PM, veena pandit v.kri...@gmail.com wrote: http://www.jsptut.com/ On Fri, May 29, 2009 at 9:39 AM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: veena pandit [mailto:v.kri...@gmail.com] Subject: Re: hello world it was chapter 1 in a web based tutorial for JSP. :-) Can you provide a link to the tutorial? I'd like to see what it says. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: hello world
What path you gave to get that html in browser? -Arvind S * Many of lifes failure are people who did not realize how close they were to success when they gave up. -Thomas Edison * On Wed, May 27, 2009 at 5:48 AM, veena pandit v.kri...@gmail.com wrote: How to configure Hello.html in Tomcat? Where do I place the following file? How to access it from the server? HTML BODY Hello, world /BODY /HTML Thanks, Veena
Re: hello world
http://localhost:8080/webapps/Hello.htm l -Veena On Thu, May 28, 2009 at 6:07 AM, S Arvind arvindw...@gmail.com wrote: What path you gave to get that html in browser? -Arvind S * Many of lifes failure are people who did not realize how close they were to success when they gave up. -Thomas Edison * On Wed, May 27, 2009 at 5:48 AM, veena pandit v.kri...@gmail.com wrote: How to configure Hello.html in Tomcat? Where do I place the following file? How to access it from the server? HTML BODY Hello, world /BODY /HTML Thanks, Veena
Re: hello world
rename the file name to index.html , or change the welcome page entry in web.xml to hello.html -Arvind S * Many of lifes failure are people who did not realize how close they were to success when they gave up. -Thomas Edison * On Wed, May 27, 2009 at 6:23 AM, veena pandit v.kri...@gmail.com wrote: I tried placing it in a webapps directory under tomcat root. do i need to configure in web.xml? On Tue, May 26, 2009 at 8:25 PM, Hassan Schroeder hassan.schroe...@gmail.com wrote: On Tue, May 26, 2009 at 5:18 PM, veena pandit v.kri...@gmail.com wrote: How to configure Hello.html in Tomcat? Where do I place the following file? How to access it from the server? Where did you try placing it, and what makes you think that wasn't the right place? -- Hassan Schroeder hassan.schroe...@gmail.com - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
RE: hello world
From: S Arvind [mailto:arvindw...@gmail.com] Subject: Re: hello world rename the file name to index.html , or change the welcome page entry in web.xml to hello.html As previously stated, that's a really bad idea. It would overwrite Tomcat's default home page, obliterating the very useful links therein. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: hello world
On Tue, May 26, 2009 at 5:18 PM, veena pandit v.kri...@gmail.com wrote: How to configure Hello.html in Tomcat? Where do I place the following file? How to access it from the server? Where did you try placing it, and what makes you think that wasn't the right place? -- Hassan Schroeder hassan.schroe...@gmail.com - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: hello world
I tried placing it in a webapps directory under tomcat root. do i need to configure in web.xml? On Tue, May 26, 2009 at 8:25 PM, Hassan Schroeder hassan.schroe...@gmail.com wrote: On Tue, May 26, 2009 at 5:18 PM, veena pandit v.kri...@gmail.com wrote: How to configure Hello.html in Tomcat? Where do I place the following file? How to access it from the server? Where did you try placing it, and what makes you think that wasn't the right place? -- Hassan Schroeder hassan.schroe...@gmail.com - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
RE: hello world
hey guys, i just loaded onto a system with a old harddrive a replacement (different kind of motherboard) and updated/installed a new fedora 9.2 version but cannot get a password to work and all of the user names have been changed.. any ideas how to get from the main on site console root access? On Thu, 18 Sep 2008, Caldarale, Charles R wrote: From: news [mailto:[EMAIL PROTECTED] On Behalf Of thufir Subject: hello world I'm running Ubuntu: [EMAIL PROTECTED]:~$ I thought mentats weren't supposed to use computers... Do I need to install Tomcat 5.5 from Ubuntu We've had no end of problems with 3rd-party repackaged versions of Tomcat. I'd strongly recommend you throw that one away, then download and install a real Tomcat from tomcat.apache.org (latest version recommended, of course). Otherwise, perhaps Ubuntu support could help. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: hello world
On Sun, 21 Sep 2008 16:54:33 -0400, H. Hall wrote: When I installed Netbeans 6.1, the installer also installed Tomcat 6.0.14. This was on a windows pc but I would find it very amazing if the Linux version of NB6.1 installed a TC 5.5. Is is possible that a tomcat installed with Ubuntu? Ah, looking at: http://download.netbeans.org/netbeans/6.1/final/ I see that some versions of NB do include Tomcat -- interesting. So far as I can tell this isn't the case for Ubuntu, though. Ubuntu can install Tomcat 5.5 through the package manager, and then I may have installed the plug-in for Tomcat 6...? I dunno. It seems to be working with the upstream tomcat 6 and NB 6. With Java 6, does this mean that the arrival of the four horsemen is imminent!? Anyhow, I expressed my frustration on the Ubuntu mailing list and received a confirmation and then a works for me, along with an advisory not to run Tomcat as root. -Thufir - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: hello world
thufir wrote: This cuts across IDE, OS and server. I'm running Ubuntu: [EMAIL PROTECTED]:~$ [EMAIL PROTECTED]:~$ cat /etc/lsb-release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=8.04 DISTRIB_CODENAME=hardy DISTRIB_DESCRIPTION=Ubuntu 8.04.1 [EMAIL PROTECTED]:~$ [EMAIL PROTECTED]:~$ sudo apt-get update; sudo apt-get upgrade; sudo apt-get dist-upgrade ... which, near as I can tell, is fully updated. I'm also running Netbeans 6.0.1 and Java 6, and Tomcat 5.5. (If Ubuntu is up to date, why isn't Netbeans and Tomcat? anyhow.) When I installed Netbeans 6.1, the installer also installed Tomcat 6.0.14. This was on a windows pc but I would find it very amazing if the Linux version of NB6.1 installed a TC 5.5. Is is possible that a tomcat installed with Ubuntu? From Netbeans I've installed the Tomcat plug-in, which seems to have resulted in two Tomcat directories: /usr/share/tomcat5.5 /usr/share/tomcat5.5-webapps When I go to create a new web application from the IDE, Netbeans prompts for the user/password for a manager and the path to Catalina. Is this the tomcat manager app? If so, the user name is ide. You can find and set the password by clicking on the 'Services' Tab in NetBeans, then expand the 'Servers' tab. You should see the Tomcat server and its version listed beside a tomcat icon. Right click on the icon.and when the menu pops up click on 'properties'. A window pops up, click on the 'connections' tab. You should see a lot of information including where Catalina Home and Catalina Base are located. You will also see credentials for the manager. The username is ide, click on the show button to see the password. You have to start tomcat manually, NB does not start it for you. Close the properties windown and Rt click on the tomcat icon you saw earlier and click start. Make sure you don't have another tomcat already running and using the same port number. cheers, HH Which version of Tomcat are they referencing? Do I need to install Tomcat 5.5 from Ubuntu, or just the plug-in from Netbeans? Just not quite sure how to get started. Navigating to localhost just gives it works, so I'll have to dig further into fixing tomcat. It just seems that the one thing depends on another, which goes in a circle so that I'm not even sure of my question. -Thufir -- H. Hall ReedyRiver Group LLC http://www.reedyriver.com - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: hello world
Caldarale, Charles R wrote: From: news [mailto:[EMAIL PROTECTED] On Behalf Of thufir Subject: Re: hello world If Apache installs then why not tomcat? Apache is a software organization with numerous products; if by Apache you mean httpd, it may be because the 3rd-party developers are more familiar with it so less likely to screw it up. For Tomcat, they seem to take great delight in scattering its files all over, using symlinks to try to link it all back up, along with highly modified startup/shutdown scripts that add minor niceties but break anything but basic operation. Use a real Tomcat, and see what happens. - Chuck Hi. I usually do not agree with Chuck on the subject of the benefits/inconvenients of third-party Tomcat packages. But I must admit that, concerning Tomcat 5.x and Debian/Ubuntu, I do agree with the comment above. The packager in that instance seems to have a great imagination and a lot of fun scattering Tomcat all over the place, in a way that makes it hard even to find out where to begin unraveling the spaghetti-bowl of symlinks and directories. Apparently, for Tomcat5.5, it is even so that installing the basic Tomcat5.5 package (tomcat5.5) results in a Tomcat which starts up, but answers with a blank page and an error 400 no Host matches servername localhost when you try to access it via localhost:8180 (although there is only one Host in server.xml, named localhost). You need to install the additional package tomcat5.5-webapps (which installs the webapps in some base directory different from Tomcat itself) to start seeing something (the basic Tomcat Welcome page). I kind of imagine that this is because if Tomcat starts, but has absolutely no documents or applications to serve in its document root, it answers with that cryptic error message. Now rather than recriminating at aeternum, does anyone know how to track down said packager, so that maybe he could come here and see the errors of his ways, or at least explain his logic here ? Same as for Debian Tomcat5.5 itself, I haven't a clue where to start. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: hello world
once the real tomcat is installed..start logging.. http://tomcat.apache.org/tomcat-5.5-doc/logging.html Martin __ Disclaimer and confidentiality note Everything in this e-mail and any attachments relates to the official business of Sender. This transmission is of a confidential nature and Sender does not endorse distribution to any party other than intended recipient. Sender does not necessarily endorse content contained within this transmission. Date: Fri, 19 Sep 2008 09:09:11 +0200 From: [EMAIL PROTECTED] To: users@tomcat.apache.org Subject: Re: hello world Caldarale, Charles R wrote: From: news [mailto:[EMAIL PROTECTED] On Behalf Of thufir Subject: Re: hello world If Apache installs then why not tomcat? Apache is a software organization with numerous products; if by Apache you mean httpd, it may be because the 3rd-party developers are more familiar with it so less likely to screw it up. For Tomcat, they seem to take great delight in scattering its files all over, using symlinks to try to link it all back up, along with highly modified startup/shutdown scripts that add minor niceties but break anything but basic operation. Use a real Tomcat, and see what happens. - Chuck Hi. I usually do not agree with Chuck on the subject of the benefits/inconvenients of third-party Tomcat packages. But I must admit that, concerning Tomcat 5.x and Debian/Ubuntu, I do agree with the comment above. The packager in that instance seems to have a great imagination and a lot of fun scattering Tomcat all over the place, in a way that makes it hard even to find out where to begin unraveling the spaghetti-bowl of symlinks and directories. Apparently, for Tomcat5.5, it is even so that installing the basic Tomcat5.5 package (tomcat5.5) results in a Tomcat which starts up, but answers with a blank page and an error 400 no Host matches servername localhost when you try to access it via localhost:8180 (although there is only one Host in server.xml, named localhost). You need to install the additional package tomcat5.5-webapps (which installs the webapps in some base directory different from Tomcat itself) to start seeing something (the basic Tomcat Welcome page). I kind of imagine that this is because if Tomcat starts, but has absolutely no documents or applications to serve in its document root, it answers with that cryptic error message. Now rather than recriminating at aeternum, does anyone know how to track down said packager, so that maybe he could come here and see the errors of his ways, or at least explain his logic here ? Same as for Debian Tomcat5.5 itself, I haven't a clue where to start. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] _ Want to do more with Windows Live? Learn “10 hidden secrets” from Jamie. http://windowslive.com/connect/post/jamiethomson.spaces.live.com-Blog-cns!550F681DAD532637!5295.entry?ocid=TXT_TAGLM_WL_domore_092008
Re: hello world
Send reply to: Tomcat Users List users@tomcat.apache.org Date sent: Fri, 19 Sep 2008 09:09:11 +0200 From: André Warnier [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Subject:Re: hello world Now rather than recriminating at aeternum, does anyone know how to track down said packager, so that maybe he could come here and see the errors of his ways, or at least explain his logic here ? Same as for Debian Tomcat5.5 itself, I haven't a clue where to start. I remember a while back someone from Ubuntu posting on this list stating that if someone needs help getting their tomcat package working that the person should ask in their forums. So that might be a place to start looking for the packager or at least someone who can answer why the packages are so ... non functional. -Steve O. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: hello world
On Fri, 19 Sep 2008 10:10:20 -0400, Steve Ochani wrote: Now rather than recriminating at aeternum, does anyone know how to track down said packager, so that maybe he could come here and see the errors of his ways, or at least explain his logic here ? Same as for Debian Tomcat5.5 itself, I haven't a clue where to start. Wouldn't this be the starting place? Yeah, I'm a tad bitter at wasting my time. I remember a while back someone from Ubuntu posting on this list stating that if someone needs help getting their tomcat package working that the person should ask in their forums. that kinda makes sense. So that might be a place to start looking for the packager or at least someone who can answer why the packages are so ... non functional. I got tomcat working satisfactorily by following: http://www.howtogeek.com/howto/linux/installing-tomcat-6-on-ubuntu/ I haven't fully tested it, but I did set up a manager role and so forth. For the life of me, I can't see why the incredibly simple how-to is *not* what synaptic does under ubuntu. They should just remove it from synaptic. By the way, I thought that the JAVA_HOME environment variable was passe? I'm going to make a post to the ubuntu mailing list asking why?. -Thufir - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: hello world
From: news [mailto:[EMAIL PROTECTED] On Behalf Of thufir Subject: hello world I'm running Ubuntu: [EMAIL PROTECTED]:~$ I thought mentats weren't supposed to use computers... Do I need to install Tomcat 5.5 from Ubuntu We've had no end of problems with 3rd-party repackaged versions of Tomcat. I'd strongly recommend you throw that one away, then download and install a real Tomcat from tomcat.apache.org (latest version recommended, of course). Otherwise, perhaps Ubuntu support could help. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: hello world
Caldarale, Charles R wrote: From: news [mailto:[EMAIL PROTECTED] On Behalf Of thufir Subject: hello world I'm running Ubuntu: [EMAIL PROTECTED]:~$ I thought mentats weren't supposed to use computers... No matter what, the spice must flow. If it takes a computer, it takes a computer. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: hello world
On Thu, 18 Sep 2008 11:02:42 -0400, Brantley Hobbs wrote: I thought mentats weren't supposed to use computers... Later on they do :) No matter what, the spice must flow. If it takes a computer, it takes a computer. Yes :) -Thufir - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: hello world
On Thu, 18 Sep 2008 09:50:18 -0500, Caldarale, Charles R wrote: Do I need to install Tomcat 5.5 from Ubuntu We've had no end of problems with 3rd-party repackaged versions of Tomcat. Ok, yeah, I've seen mention of that, but thought that must be in error. If Apache installs then why not tomcat? -Thufir - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: hello world
From: news [mailto:[EMAIL PROTECTED] On Behalf Of thufir Subject: Re: hello world If Apache installs then why not tomcat? Apache is a software organization with numerous products; if by Apache you mean httpd, it may be because the 3rd-party developers are more familiar with it so less likely to screw it up. For Tomcat, they seem to take great delight in scattering its files all over, using symlinks to try to link it all back up, along with highly modified startup/shutdown scripts that add minor niceties but break anything but basic operation. Use a real Tomcat, and see what happens. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]