Help getting started
To get a servelet engine one needs the following apache web server and tomcat servlet engine ?? What about J2EE ? Does one need that as well ? Or the servlet engine above (like tomcat) would contain the J2EE as well. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Help getting started
From: brian [mailto:[EMAIL PROTECTED] To get a servelet engine one needs the following apache web server No. Tomcat will work standalone. and tomcat servlet engine ?? Or another engine such as Jetty. But that's heresy on this list ;-). What about J2EE ? Does one need that as well ? Or the servlet engine above (like tomcat) would contain the J2EE as well. J2EE is a collection of different parts. Tomcat provides implementations of some, but not all, of the parts. What do you want J2EE for? Which bits do you want? - Peter - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Help getting started
Hi, Yes, and some would say you don't need the Apache web server, since Tomcat can act as a web server too. Tomcat provides an implementation of the Servlet and JSP aspects of the J2EE suite, so if you only need those you're ok. Allistair. -Original Message- From: brian [mailto:[EMAIL PROTECTED] Sent: 15 March 2005 16:27 To: tomcat-user@jakarta.apache.org Subject: Help getting started To get a servelet engine one needs the following apache web server and tomcat servlet engine ?? What about J2EE ? Does one need that as well ? Or the servlet engine above (like tomcat) would contain the J2EE as well. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] 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]
RE: Help getting started
How to install tomcat for linux, http://www.mythic-beasts.com/support/topic_vds_java.html How to make it act like a normal webserver with jsp virtual hosting support, rather than worrying about packaging .war files etc. http://www.ex-parrot.com/~pete/tomcat-vhost.html Hope this helps. Pete On Tue, 15 Mar 2005, Allistair Crossley wrote: Hi, Yes, and some would say you don't need the Apache web server, since Tomcat can act as a web server too. Tomcat provides an implementation of the Servlet and JSP aspects of the J2EE suite, so if you only need those you're ok. Allistair. -Original Message- From: brian [mailto:[EMAIL PROTECTED] Sent: 15 March 2005 16:27 To: tomcat-user@jakarta.apache.org Subject: Help getting started To get a servelet engine one needs the following apache web server and tomcat servlet engine ?? What about J2EE ? Does one need that as well ? Or the servlet engine above (like tomcat) would contain the J2EE as well. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] 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] -- Pete Stevens [EMAIL PROTECTED] http://www.ex-parrot.com/~pete/ When I read about the evils of drinking, I gave up reading. -- Henny Youngman - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
getting started
Dear Friends, I am trying to get started with tomcat 5.5.7 which is the most stable release. I have spent a lot time on reading the documents. Here I am trying to get some pointer. First let me introduce myself, I have a lot of experience using the RedHat linux. Right now my system is RedHat 9.0. I updated a lot of things on this machine such as Apache, Ant 1.6, JDK SE 1.5, gcc 3.3, gtk So my environment is bit recent. My kernel is 2.4.20-8. First question which is better, the source or the binary? I could build the tomcat easily by doing the simple download of the build.xml into a directory. At the shell #ant will build the whole tomcat system. What do I do to go to the next step: install the binaries into the proper places in the system, such as /usr/local/tomcat? I came from the classical make tradition, where you simple #make #make install Is there such a thing with ant? Does anyone have any idea for the location of documents or the sort concerning what to do after building tomcat? I don't seem to see anything in the source directory? On the binary download branch, I could follow the instruction from tomcat web page. Any comments or help is appreciated. Kemin
Re: getting started
You can find Linux packages at JPackage.org. On Mon, 14 Mar 2005 17:22:53 -0800, Kemin Zhou [EMAIL PROTECTED] wrote: Dear Friends, I am trying to get started with tomcat 5.5.7 which is the most stable release. I have spent a lot time on reading the documents. Here I am trying to get some pointer. First let me introduce myself, I have a lot of experience using the RedHat linux. Right now my system is RedHat 9.0. I updated a lot of things on this machine such as Apache, Ant 1.6, JDK SE 1.5, gcc 3.3, gtk So my environment is bit recent. My kernel is 2.4.20-8. First question which is better, the source or the binary? I could build the tomcat easily by doing the simple download of the build.xml into a directory. At the shell #ant will build the whole tomcat system. What do I do to go to the next step: install the binaries into the proper places in the system, such as /usr/local/tomcat? I came from the classical make tradition, where you simple #make #make install Is there such a thing with ant? Does anyone have any idea for the location of documents or the sort concerning what to do after building tomcat? I don't seem to see anything in the source directory? On the binary download branch, I could follow the instruction from tomcat web page. Any comments or help is appreciated. Kemin -- rgds Antony Paul http://www.geocities.com/antonypaul24/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Getting started questions about Jakarta
Hi, Your analogy is interesting but warped. Apache httpd is a web server not written in Java that's very mature, stable, fast, configurable, and you will get very little contention if you claim it's the best in the world at serving static content, CGI scripts, PHP code, handling SSL transactions, and more. But it does not serve any Java content, such as Servlets, JSPs, EJBs, etc. Apache Jakarta Tomcat is a Java servlet container. It's written in Java (so it'll run anywhere there's a JVM), and it can also serve static content. It can run CGI scripts, though not as efficiently as Apache httpd, and it can handle PHP only in a very very limited fashion. However, depending on your load and requirements, Tomcat by itself may be sufficient for your application. You can use Apache httpd and Apache Jakarta Tomcat together. Apache by itself refers to the Apache Software Foundation, the non-profit organization that sponsors and owns both the http and Tomcat products (as well as many others). Jakarta is an umbrella name for all Java projects within Apache. Sometimes when people say just Apache they also refer to the httpd project described above, so newcomers to this area may be confused by the name. I hope this clears things up for you a bit. Yoav Shapira Millennium Research Informatics -Original Message- From: fabio [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 29, 2004 12:30 AM To: [EMAIL PROTECTED] Subject: Getting started questions about Jakarta Hi. I want to develop solutions based on Java. The servers are running Solaris sparc, we want to use apache httpd server. I would like to know What exactly is the different from Jakarta and conventional apache server version?. The analogy is jakarta is to tomcat like apache is to mod_foo ? What are the most significative differences between apache with mod_php to jakarta? thanks in advance. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] 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]
Getting started questions about Jakarta
Hi. I want to develop solutions based on Java. The servers are running Solaris sparc, we want to use apache httpd server. I would like to know What exactly is the different from Jakarta and conventional apache server version?. The analogy is jakarta is to tomcat like apache is to mod_foo ? What are the most significative differences between apache with mod_php to jakarta? thanks in advance. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: getting started
Hello Chong, thank you. I have this book like 6 month(maybe less) in my pdf library collection:) Somebody here in list have suggested to read it so I've download it to be able to print it. BTW, its very useful. Thank you! Monday, September 27, 2004, 9:47:30 AM, you wrote: Hi Eugene, I've written a Step-by-Step on Linux, with help from some generous individuals. It can be found here : http://cymulacrum.net/writings/tomcat5/book1.html Hope this is useful to you. This is Open Source documentation, which means no warranty is offered. You don't need to be a Java programmer to follow the instructions here. Hope this helps. -- Best regards, Eugenemailto:[EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[OT] getting started
[I've changed your subject line to start a new thread] On Sun, Sep 26, 2004 at 02:47:19AM -0300, Eugene wrote: : Hello, also it would be great if they can give some information where : and how to place jsp pages if somebody want to use Tomcat with Apache. Anywhere you want. : But tell the truth I never seen clear instructions how exactly newbie : can deploy the page or application. All books starts from : HelloWorld.. but there no any word about ROOT, about how to use : custom directory under Apache or without it and things like this. Likely, there's no one catch-all doc because Apache httpd != Tomcat != Java webapps They're all separate topics with their own learning curves. Trying to run them all together at once, when you're just starting out, is asking for a headache. To start with Java webapps, read the servlet spec (search java.sun.com for the doc). That details what a container (such as Tomcat) must provide to be spec-compliant, as well as the basics of assembling a webapp. Yes, it's dry in places, but it's not meant to be movie-script material. ;) Next, follow some tutorials on Java webapps. Sun.com has some, there are others all over the web. Once you get that down pat, return to the Tomcat setup issues. Finally, review the Tomcat connector documentation (mod_jk, jk2) to connect Apache to Tomcat. -QM -- software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: getting started
Hello QM, I have my server running Apache+Tomcat+GIS server+Oracle+Access DBs (they are connected trough GIS server for different projects) for almost one year, I've explained my professional specification to Atishay Kumar. My objective its to make work one or three applications and to make Tomcat to serve jsp pages with Apache. But it was really hard to make it work together as I say before. I read the Java docs - the thing that I'm not Java programmer, so its more then enough for me to make software work as official documentation says. If I have problems with balancers, filters, connectors or other - I'm writing to support, because they are designers, not I am. The point is I'm really TOMCAT USER, not developer, not Java programmer, so if its possible to use Tomcat with other servers or for different purposes, its would be great to have this information in documentation. I want to admit that Apache and Tomcat docs are perfect and pretty clear, but for example if I want to start learn jsp and install Tomcat on my computer that already have Apache - its logically that I want to know how they should work together, also I want to start from basics, not just from precompiled jsps. You can say that Tomcat wasnt designed for learning purposes - I agree, but if its possible somehow to give basic knowledge - it would be great. At last - I've started to learn about Tomcat when I was need it for work, now I'm starting to learn Java and jsp, so not every person here starts from java programmer and then continues as Tomcat admin. Thanks. Sunday, September 26, 2004, 9:56:07 AM, you wrote: [I've changed your subject line to start a new thread] On Sun, Sep 26, 2004 at 02:47:19AM -0300, Eugene wrote: : Hello, also it would be great if they can give some information where : and how to place jsp pages if somebody want to use Tomcat with Apache. Anywhere you want. : But tell the truth I never seen clear instructions how exactly newbie : can deploy the page or application. All books starts from : HelloWorld.. but there no any word about ROOT, about how to use : custom directory under Apache or without it and things like this. Likely, there's no one catch-all doc because Apache httpd != Tomcat != Java webapps They're all separate topics with their own learning curves. Trying to run them all together at once, when you're just starting out, is asking for a headache. To start with Java webapps, read the servlet spec (search java.sun.com for the doc). That details what a container (such as Tomcat) must provide to be spec-compliant, as well as the basics of assembling a webapp. Yes, it's dry in places, but it's not meant to be movie-script material. ;) Next, follow some tutorials on Java webapps. Sun.com has some, there are others all over the web. Once you get that down pat, return to the Tomcat setup issues. Finally, review the Tomcat connector documentation (mod_jk, jk2) to connect Apache to Tomcat. -QM -- Best regards, Eugenemailto:[EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [OT}getting started
Eugene, This is off topic. We ran applications with Access. This is for some side work we (a couple of friends I) we experienced substantial degradation as the Access database grew. We ported the database to MySql just this weekend and already the response has improved measurably. The front end was changed from Access to java and that took the most time. None of us had any experience with MySql. The biggest hurdles we had was finding the right components for MySql and rewriting the front end in Java. Another thing was we could rid ourselves of some program functions that Access required which are provided by MySql. You might consider switching over from Access to MySql. -Original Message- From: Eugene [mailto:[EMAIL PROTECTED] Sent: Sunday, September 26, 2004 11:52 AM To: Tomcat Users List Subject: Re: getting started Hello QM, I have my server running Apache+Tomcat+GIS server+Oracle+Access DBs (they are connected trough GIS server for different projects) for almost one year, I've explained my professional specification to Atishay Kumar. My objective its to make work one or three applications and to make Tomcat to serve jsp pages with Apache. But it was really hard to make it work together as I say before. I read the Java docs - the thing that I'm not Java programmer, so its more then enough for me to make software work as official documentation says. If I have problems with balancers, filters, connectors or other - I'm writing to support, because they are designers, not I am. The point is I'm really TOMCAT USER, not developer, not Java programmer, so if its possible to use Tomcat with other servers or for different purposes, its would be great to have this information in documentation. I want to admit that Apache and Tomcat docs are perfect and pretty clear, but for example if I want to start learn jsp and install Tomcat on my computer that already have Apache - its logically that I want to know how they should work together, also I want to start from basics, not just from precompiled jsps. You can say that Tomcat wasnt designed for learning purposes - I agree, but if its possible somehow to give basic knowledge - it would be great. At last - I've started to learn about Tomcat when I was need it for work, now I'm starting to learn Java and jsp, so not every person here starts from java programmer and then continues as Tomcat admin. Thanks. Sunday, September 26, 2004, 9:56:07 AM, you wrote: [I've changed your subject line to start a new thread] On Sun, Sep 26, 2004 at 02:47:19AM -0300, Eugene wrote: : Hello, also it would be great if they can give some information where : and how to place jsp pages if somebody want to use Tomcat with Apache. Anywhere you want. : But tell the truth I never seen clear instructions how exactly newbie : can deploy the page or application. All books starts from : HelloWorld.. but there no any word about ROOT, about how to use : custom directory under Apache or without it and things like this. Likely, there's no one catch-all doc because Apache httpd != Tomcat != Java webapps They're all separate topics with their own learning curves. Trying to run them all together at once, when you're just starting out, is asking for a headache. To start with Java webapps, read the servlet spec (search java.sun.com for the doc). That details what a container (such as Tomcat) must provide to be spec-compliant, as well as the basics of assembling a webapp. Yes, it's dry in places, but it's not meant to be movie-script material. ;) Next, follow some tutorials on Java webapps. Sun.com has some, there are others all over the web. Once you get that down pat, return to the Tomcat setup issues. Finally, review the Tomcat connector documentation (mod_jk, jk2) to connect Apache to Tomcat. -QM -- Best regards, Eugenemailto:[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]
quick question when getting started
I'm upgrading from Tomcat 4 to 5 and I just installed Tomcat 5 on a dev machine to play with it, and I know a couple things are organized a bit differently, but the provided index page is weirding me out. I tried to add a line of text to the index.jsp in webapps\ROOT and when I reload the page (that I browse to by going to localhost on my Win 2K Server machine), that line of text isn't appearing. I've tried adding other bits, too, and I've tried restarting Tomcat, and I found a catalina-root.jar in the WEB-INF\lib folder and deleted that in an effort to get it to recompile the index.jsp, but nothing seems to be working! Why? Here's an example of what I've modified in the HTML: pcenterbIf you're seeing this page via a web browser, it means Stephen has setup Tomcat successfully. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: quick question when getting started
Hi Stephen, You've been tricked by the web.xml. The JSP's are pre-compiled to servlets and a mapping for the URL /index.jsp to this servlet has been inserted into web.xml. If you delete the servlet mapping in the web.xml, everything should be as normal, and your changes will be visible. (this caught me out the first time too... ;-) ) Michiel Stephen Charles Huey wrote: I'm upgrading from Tomcat 4 to 5 and I just installed Tomcat 5 on a dev machine to play with it, and I know a couple things are organized a bit differently, but the provided index page is weirding me out. I tried to add a line of text to the index.jsp in webapps\ROOT and when I reload the page (that I browse to by going to localhost on my Win 2K Server machine), that line of text isn't appearing. I've tried adding other bits, too, and I've tried restarting Tomcat, and I found a catalina-root.jar in the WEB-INF\lib folder and deleted that in an effort to get it to recompile the index.jsp, but nothing seems to be working! Why? Here's an example of what I've modified in the HTML: pcenterbIf you're seeing this page via a web browser, it means Stephen has setup Tomcat successfully. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Michiel Toneman Software Engineer Bibit Global Payment Services Regulierenring 10 3981 LB Bunnik [EMAIL PROTECTED] Tel. +31-30-6595168 Fax +31-30-6564464 http://www.bibit.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Tomcat help needed getting started !
Dear Tomcat People 1) I set the JAVA_HOME environment variable under Preferences in My Computer 2)Created a Tomcat directory 3) downloaded the Tomcat 5 to the newly created Tomcat directory 4) extracted the startup files under the bin folder 5) tried to verify the service is running by typing in A HREF=http://localhost:8080/;http://localhost:8080/A I received an error message that said web site not responding Thank you for your assistance Stan
RE: Tomcat help needed getting started !
After 4th step, you need to start Tomcat Server. (or) you can also start from bin directory .. use startup.bat -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 28, 2003 12:24 PM To: [EMAIL PROTECTED] Subject: Tomcat help needed getting started ! Dear Tomcat People 1) I set the JAVA_HOME environment variable under Preferences in My Computer 2)Created a Tomcat directory 3) downloaded the Tomcat 5 to the newly created Tomcat directory 4) extracted the startup files under the bin folder 5) tried to verify the service is running by typing in A HREF=http://localhost:8080/;http://localhost:8080/A I received an error message that said web site not responding Thank you for your assistance Stan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat help needed getting started !
After 4th step, you need to start Tomcat Server. (or) you can also start from bin directory .. use startup.bat Dear Sir, I went to windows explorer and saw the directory structure C: Tomcat jakarta-tomcat-5 dist bin In the bin directory I clicked on run the startup file and the error message said: The JAVA_HOME environment variable is not defined correctly However I did set the JAVA_HOME environment variable under Preferences in My Computer to j2sdk1.4.0_03 and verified it at the command prompt with an C:\echo %JAVA_HOME% Thank you for your assitance Stan -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 28, 2003 12:24 PM To: [EMAIL PROTECTED] Subject: Tomcat help needed getting started ! Dear Tomcat People 1) I set the JAVA_HOME environment variable under Preferences in My Computer 2)Created a Tomcat directory 3) downloaded the Tomcat 5 to the newly created Tomcat directory 4) extracted the startup files under the bin folder 5) tried to verify the service is running by typing in HREF=http://localhost:8080/;http://localhost:8080 I received an error message that said web site not responding Thank you for your assistance Stan
Re: Tomcat help needed getting started !
On Thu, 29 May 2003 00:45, [EMAIL PROTECTED] wrote: However I did set the JAVA_HOME environment variable under Preferences in My Computer to j2sdk1.4.0_03 That should be C:\j2sdk1.4.0_03 assuming it is on C: drive. Regards, -- Jason Bainbridge KDE Web Team - http://kde.org [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat help needed getting started !
Let's take a step back...Tomcat 5 is not ready for regular use, and you seem to be a newbie to Tomcat. I would highly recommend and strongly suggest that you try using Tomcat 4.1.24 instead. John On Wed, 28 May 2003 12:45:34 EDT, [EMAIL PROTECTED] wrote: After 4th step, you need to start Tomcat Server. (or) you can also start from bin directory .. use startup.bat Dear Sir, I went to windows explorer and saw the directory structure C: Tomcat jakarta-tomcat-5 dist bin In the bin directory I clicked on run the startup file and the error message said: The JAVA_HOME environment variable is not defined correctly However I did set the JAVA_HOME environment variable under Preferences in My Computer to j2sdk1.4.0_03 and verified it at the command prompt with an C:\echo %JAVA_HOME% Thank you for your assitance Stan -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 28, 2003 12:24 PM To: [EMAIL PROTECTED] Subject: Tomcat help needed getting started ! Dear Tomcat People 1) I set the JAVA_HOME environment variable under Preferences in My Computer 2)Created a Tomcat directory 3) downloaded the Tomcat 5 to the newly created Tomcat directory 4) extracted the startup files under the bin folder 5) tried to verify the service is running by typing in HREF=http://localhost:8080/;http://localhost:8080 I received an error message that said web site not responding Thank you for your assistance Stan -- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat help needed getting started !
Let's take a step back...Tomcat 5 is not ready for regular use, and you seem to be a newbie to Tomcat. I would highly recommend and strongly suggest that you try using Tomcat 4.1.24 instead. John Can I download the Tomcat 4.1.24 or do I need to delete the Tomcat 5 first ? Thank you in advance Stan On Wed, 28 May 2003 12:45:34 EDT, [EMAIL PROTECTED] wrote: After 4th step, you need to start Tomcat Server. (or) you can also start from bin directory .. use startup.bat Dear Sir, I went to windows explorer and saw the directory structure C: Tomcat jakarta-tomcat-5 dist bin In the bin directory I clicked on run the startup file and the error message said: The JAVA_HOME environment variable is not defined correctly However I did set the JAVA_HOME environment variable under Preferences in My Computer to j2sdk1.4.0_03 and verified it at the command prompt with an C:\echo %JAVA_HOME% Thank you for your assistance Stan
Re: Tomcat help needed getting started !
On Thu, 29 May 2003 01:21, [EMAIL PROTECTED] wrote: Let's take a step back...Tomcat 5 is not ready for regular use, and you seem to be a newbie to Tomcat. I would highly recommend and strongly suggest that you try using Tomcat 4.1.24 instead. Good idea. :) Can I download the Tomcat 4.1.24 or do I need to delete the Tomcat 5 first ? You can download Tomcat 4.1.24, make sure you get the .exe so the install is easier just make sure your CATALINA_HOME isn't set when running the .exe to install 4.1.24 and make sure your JAVA_HOME is set correctly as per a previous post. I suggest you also check the box within the installation to install Tomcat as an NT Service, then you can stop/start it from Start/ Settings/Control Panel/Administrative Tools/Services. Regards, -- Jason Bainbridge KDE Web Team - http://kde.org [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat help needed getting started !
On Thu, 29 May 2003 00:45, [EMAIL PROTECTED] wrote: However I did set the JAVA_HOME environment variable under Preferences in My Computer to j2sdk1.4.0_03 That should be C:\j2sdk1.4.0_03 assuming it is on C: drive. . Thank you for the correction . I went back to My Computer preferences environment variable and edited it to C:\j2sdk14.0_03 OK Thank you Jason Stan Regards, -- Jason Bainbridge KDE Web Team - http://kde.org [EMAIL PROTECTED]
RE: Tomcat help needed getting started !
However I did set the JAVA_HOME environment variable under Preferences in My Computer to j2sdk1.4.0_03 Is it not set to just : j2sdk1.4.0_03, is it? You have to set it to the path to that directory (including the dir name)... it should be set to (for example if it was installed on your C:\ drive): c:\j2sdk1.4.0_03 Also remember that if you are defining this variable in the SYSTEM environment (as opposed to the USER environment, your machine would have to be rebooted before picking it up. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 28, 2003 1:21 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: Tomcat help needed getting started ! Let's take a step back...Tomcat 5 is not ready for regular use, and you seem to be a newbie to Tomcat. I would highly recommend and strongly suggest that you try using Tomcat 4.1.24 instead. John Can I download the Tomcat 4.1.24 or do I need to delete the Tomcat 5 first ? Thank you in advance Stan On Wed, 28 May 2003 12:45:34 EDT, [EMAIL PROTECTED] wrote: After 4th step, you need to start Tomcat Server. (or) you can also start from bin directory .. use startup.bat Dear Sir, I went to windows explorer and saw the directory structure C: Tomcat jakarta-tomcat-5 dist bin In the bin directory I clicked on run the startup file and the error message said: The JAVA_HOME environment variable is not defined correctly However I did set the JAVA_HOME environment variable under Preferences in My Computer to j2sdk1.4.0_03 and verified it at the command prompt with an C:\echo %JAVA_HOME% Thank you for your assistance Stan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: book on EJB / [ANN] Getting Started with EJB Technology
Hi Chris, I recently finished writing a fairly complete EJB tutorial, which was posted yesterday as the weekly feature for both developerWorks ( www.ibm.com/developerworks ) and the developerWorks Java zone ( www.ibm.com/developerworks/java ). Getting Started with EJB Technology is available permanently from: http://www-106.ibm.com/developerworks/edu/j-dw-java-gsejb-i.html A brief, and free, one time registration is required, but the same password and ID then work for all devWorks tutorials. Running versions of the code examples can be accessed from conceptGO's Community page: www.conceptgo.com/community.html click the Tutorial Example Applications link. These are not too exciting from a user view, but, under the hood, they use session beans, entity beans and message-driven beans, JDBC and transactions. There are also a large number of useful ( I hope ) related links in the Resources section. Your background hits my intended audience almost exactly, and you may find a tutorial introduction helpful before jumping into a complete book. If you do try it out, I'd be interested in any feedback ( other than expanding into more areas - it's long enough now ;-) ) that you would care to provide. Take care, Joe Sam Joe Sam Shirah -http://www.conceptgo.com conceptGO -Consulting/Development/Outsourcing Java Filter Forum: http://www.ibm.com/developerworks/java/ Just the JDBC FAQs: http://www.jguru.com/faq/JDBC Going International?http://www.jguru.com/faq/I18N Que Java400? http://www.jguru.com/faq/Java400 - Original Message - From: Chris Shen [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, March 31, 2003 6:19 PM Subject: book on EJB i am an intermediate lvl jsp/servlet developer and would like to learn ejb. i am looking for a good tutorial/reference for novice/intermediate ejb developers. any suggestions? Chris - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[Newbie]: Problem getting started with Tomcat
Hi all! I'm having some problems getting Tomcat up and running correctly. The problem is the following: When running startup.bat (I'm using a WinXP box, the IBM JVM and the latest Apache) I get the Message: -- snip -- Starting service Tomcat-Standalone Apache Tomcat/4.0.4-b3 Error unable to create jar cache in /tmp directory : java.util.zip.ZipException: error in opening zip file Error unable to create jar cache in /tmp directory : java.util.zip.ZipException: error in opening zip file Starting service Tomcat-Apache Apache Tomcat/4.0.4-b3 -- snip -- When I want to start the Tomcat service it is started and immediately halted. When manually starting Tomcat seems to be working since I'm getting the Tomcat page when opening http://localhost:8080/. What I tried so far was creating a /tmp folder in %catalina_home% (there's a /temp folder there), and I tried setting the system variable catalina_home to my install path. (I even tried setting the catalina_tmp variable, no effect). Anyway, would greatly appreciate any help I could get! TIA Holger -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
GETTING STARTED WITH TOMCAT
hi i'm new to servlets and JSP ...well i have installed tomcat in C:\tomcat and have set the JAVA_HOME in tomcat\bin\tomcat.bat to C:\jdk1.3.1 when i try to start the tomcat from MS-DOS from bin subdirectory a new window starts and disappears...(I Think this is what it should behave like!!) BUT the problem is that when i try to test whether tomcat is working its not finding http://localhost:8080 please help me out so i can proceed further. regards vivek -- __ Your favorite stores, helpful shopping tools and great gift ideas. Experience the convenience of buying online with Shop@Netscape! http://shopnow.netscape.com/ Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/ -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: GETTING STARTED WITH TOMCAT
[EMAIL PROTECTED] wrote: hi i'm new to servlets and JSP ...well i have installed tomcat in C:\tomcat and have set the JAVA_HOME in tomcat\bin\tomcat.bat to C:\jdk1.3.1 when i try to start the tomcat from MS-DOS from bin subdirectory a new window starts and disappears...(I Think this is what it should behave like!!) BUT the problem is that when i try to test whether tomcat is working its not finding http://localhost:8080 please help me out so i can proceed further. I suggest you look in the server logs, they're in the $TOMCAT_HOME/logs directory. I believe that if everything were working, the DOS window would stay there, the fact that it doesn't suggests that the server didn't start correctly, and hopefully would have told you why in the logs. Alternatively, open a new DOS prompt and run the bat file from there, that way you would be able to see the error messages before the window closes. HTH, Tom -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: GETTING STARTED WITH TOMCAT
Better assign JAVA_HOME TOMCAT_HOME in AUTOEXEC.BAT (Win9x), or in the Enviroment (NT/2K). At 08:59 13/12/2001 -0500, you wrote: hi i'm new to servlets and JSP ...well i have installed tomcat in C:\tomcat and have set the JAVA_HOME in tomcat\bin\tomcat.bat to C:\jdk1.3.1 when i try to start the tomcat from MS-DOS from bin subdirectory a new window starts and disappears...(I Think this is what it should behave like!!) BUT the problem is that when i try to test whether tomcat is working its not finding http://localhost:8080 please help me out so i can proceed further. regards vivek -- __ Your favorite stores, helpful shopping tools and great gift ideas. Experience the convenience of buying online with Shop@Netscape! http://shopnow.netscape.com/ Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/ -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: GETTING STARTED WITH TOMCAT
What version of tomcat have you installed? For tomcat 4.x you must set also CATALINA_HOME. If it's working fine, it should left one console(window) for you. Rgds, Andy. At 08:59 13/12/2001 -0500, you wrote: hi i'm new to servlets and JSP ...well i have installed tomcat in C:\tomcat and have set the JAVA_HOME in tomcat\bin\tomcat.bat to C:\jdk1.3.1 when i try to start the tomcat from MS-DOS from bin subdirectory a new window starts and disappears...(I Think this is what it should behave like!!) BUT the problem is that when i try to test whether tomcat is working its not finding http://localhost:8080 please help me out so i can proceed further. regards vivek -- __ Your favorite stores, helpful shopping tools and great gift ideas. Experience the convenience of buying online with Shop@Netscape! http://shopnow.netscape.com/ Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/ -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: GETTING STARTED WITH TOMCAT
When the DOS window won't stay open, try bin\tomcat run This will start Tomcat in the current DOS window instead of a new DOS window. This should give you a look at the error. If on Win9x, what you need to see scrolls off the screen, try bin\tomcat run logs\tomcat.log Most of the log output will go to tomcat.log, but some will still go to the DOS window. Cheers, Larry -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 13, 2001 9:00 AM To: [EMAIL PROTECTED] Subject: GETTING STARTED WITH TOMCAT hi i'm new to servlets and JSP ...well i have installed tomcat in C:\tomcat and have set the JAVA_HOME in tomcat\bin\tomcat.bat to C:\jdk1.3.1 when i try to start the tomcat from MS-DOS from bin subdirectory a new window starts and disappears...(I Think this is what it should behave like!!) BUT the problem is that when i try to test whether tomcat is working its not finding http://localhost:8080 please help me out so i can proceed further. regards vivek -- __ Your favorite stores, helpful shopping tools and great gift ideas. Experience the convenience of buying online with Shop@Netscape! http://shopnow.netscape.com/ Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/ -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: GETTING STARTED WITH TOMCAT
The window that is opening and closing is the Tomcat window. This window should stay open, that is where you will see any messages written to System.out or System.err. Try starting it like this: tomcat.bat run This will cause Tomcat to start in the current window. You should then be able to see any error messages generated by Tomcat. Let us know what these messages say. Jim -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 13, 2001 8:00 AM To: [EMAIL PROTECTED] Subject: GETTING STARTED WITH TOMCAT hi i'm new to servlets and JSP ...well i have installed tomcat in C:\tomcat and have set the JAVA_HOME in tomcat\bin\tomcat.bat to C:\jdk1.3.1 when i try to start the tomcat from MS-DOS from bin subdirectory a new window starts and disappears...(I Think this is what it should behave like!!) BUT the problem is that when i try to test whether tomcat is working its not finding http://localhost:8080 please help me out so i can proceed further. regards vivek -- __ Your favorite stores, helpful shopping tools and great gift ideas. Experience the convenience of buying online with Shop@Netscape! http://shopnow.netscape.com/ Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/ -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: Getting started with Tomcat
With that symptom, I inserted the SET directives for both of these in the startup.bat file instead, and it worked. I suppose my autoexec.bat is screwed up, but I'm not going to troubleshoot that. Arnold Shore annapolis, MD USA -Original Message- From: Saqib Shaikh [mailto:[EMAIL PROTECTED]] Sent: Friday, December 07, 2001 2:19 AM To: [EMAIL PROTECTED] Subject: Getting started with Tomcat Hi, I'm trying to set up Tomcat 3.3 under Windows 98. I unzip the zip file to c:\ and rename the directory to tomcat for ease of typing. In autoexec.bat I set tomcat_home and java_home. The first time I ran Tomcat I got an out of environment space error so I increased the environment space in config.sys. Anyway, now when I run startup.bat Tomcat loads with no errors. I go to http://localhost:8080/ and get a Cannot find server or DNS error from Internet Explorer. Any help would be much appreciated. Regards, Saqib Shaikh Email [EMAIL PROTECTED] Web site www.saqibshaikh.com -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: Getting started with Tomcat
What you describe should work. What do you see in the DOS window that is running Tomcat? You should see something like: 2001-12-07 08:06:25 - Http10Interceptor: Starting on 8080 to indicate the HTTP service on port 8080 is working. Cheers, Larry -Original Message- From: Saqib Shaikh [mailto:[EMAIL PROTECTED]] Sent: Friday, December 07, 2001 2:19 AM To: [EMAIL PROTECTED] Subject: Getting started with Tomcat Hi, I'm trying to set up Tomcat 3.3 under Windows 98. I unzip the zip file to c:\ and rename the directory to tomcat for ease of typing. In autoexec.bat I set tomcat_home and java_home. The first time I ran Tomcat I got an out of environment space error so I increased the environment space in config.sys. Anyway, now when I run startup.bat Tomcat loads with no errors. I go to http://localhost:8080/ and get a Cannot find server or DNS error from Internet Explorer. Any help would be much appreciated. Regards, Saqib Shaikh Email [EMAIL PROTECTED] Web site www.saqibshaikh.com -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Getting started with Tomcat
Hi, I'm trying to set up Tomcat 3.3 under Windows 98. I unzip the zip file to c:\ and rename the directory to tomcat for ease of typing. In autoexec.bat I set tomcat_home and java_home. The first time I ran Tomcat I got an out of environment space error so I increased the environment space in config.sys. Anyway, now when I run startup.bat Tomcat loads with no errors. I go to http://localhost:8080/ and get a Cannot find server or DNS error from Internet Explorer. Any help would be much appreciated. Regards, Saqib Shaikh Email [EMAIL PROTECTED] Web site www.saqibshaikh.com -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: Getting started with TCP
You might to check out http://java.sun.com/docs/books/tutorial/networking/sockets/index.html, which is a tutorial on Socket class, the foundation for writing network type applications. -Original Message- From: Davy Haas [mailto:[EMAIL PROTECTED]] Sent: Monday, November 12, 2001 3:30 AM To: [EMAIL PROTECTED] Subject: Getting started with TCP Hi, can anybody help me getting started with a simple TCP server (servlet) to serve a Kylix TCP client? An URL would be perfect. Thanks. -- Davy Haas[EMAIL PROTECTED] ibuildings.nl BV - information technology http://www.ibuildings.nl/ - 046-4000923 -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Getting started with JSP on my WHP
Good morning, I just bought a web account from a local web hosting provider. I wanted to start doing some JSP and my current WHP doesn't support JSP. I'm not new to Java and have written a few servlets in my time. But I am new to Tomcat and JSP. My WHP has minimal (read no) documentation, so I'm now wondering how to get started. My WHP is running Linux Red Hat, Apache, and Tomcat. I've got an account and a web directory on the system (which all work, by the way). Basically, how do I set up my existing servlets and get JSP pages running? Where does my WEB_INF/web.xml file go? I have several tutorials, but they all explain how to set up Tomcat for a machine that you own. What I'm looking for is a simple tutorial for setting up servlets and JSP on a machine that's been configured for use by many users. Example: All of the tutorials I have say to set up your web app configuration files, then restart Tomcat. Obviously I can't restart Tomcat on my provider's machine. So when does/will Tomcat pick up new web applications or changes to servlet JARs etc.? Thanks __ James Bucanek mailto:[EMAIL PROTECTED]
getting started...
Hello! I'm new to Tomcat... The problem is... I've started Tomcat on Win2000 in a new window - from a shell [command: tomcat startup]... How to test it via examples? I've set TOMCAT_HOME, JAVA_HOME variables... Just don't know how to run any example... What are the first steps? There is a folder /webapps with some servlets but i try to run them (index.html ) but nothing happens... Just: How to executre simple HelloWorldServlet example from the Tomcat package And.. .jsp file are not recognized... What should I set first? Please help me if you can... Best regards, Paul
Re: getting started...
The simple test would be to open a browser and goto http://localhost:8080, if you are using it as a standalone container. This would take you to the index.html. Whereas for testing other applns. you can go to the TOMCAT_HOME/doc/uguide/ and browse thru the html files, which gives you a better idea. Guru. From: Zortan [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: getting started... Date: Thu, 23 Aug 2001 18:11:15 +0200 Hello! I'm new to Tomcat... The problem is... I've started Tomcat on Win2000 in a new window - from a shell [command: tomcat startup]... How to test it via examples? I've set TOMCAT_HOME, JAVA_HOME variables... Just don't know how to run any example... What are the first steps? There is a folder /webapps with some servlets but i try to run them (index.html ) but nothing happens... Just: How to executre simple HelloWorldServlet example from the Tomcat package And.. .jsp file are not recognized... What should I set first? Please help me if you can... Best regards, Paul _ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
Re: getting started...
Big thanx! It's working fine now... Now I'll try to make connection between Tomcat Apache... Paul - Original Message - From: Guru Nathan [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: 23 sierpnia 2001 18:21 Subject: Re: getting started... The simple test would be to open a browser and goto http://localhost:8080, if you are using it as a standalone container. This would take you to the index.html. Whereas for testing other applns. you can go to the TOMCAT_HOME/doc/uguide/ and browse thru the html files, which gives you a better idea. Guru. From: Zortan [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: getting started... Date: Thu, 23 Aug 2001 18:11:15 +0200 Hello! I'm new to Tomcat... The problem is... I've started Tomcat on Win2000 in a new window - from a shell [command: tomcat startup]... How to test it via examples? I've set TOMCAT_HOME, JAVA_HOME variables... Just don't know how to run any example... What are the first steps? There is a folder /webapps with some servlets but i try to run them (index.html ) but nothing happens... Just: How to executre simple HelloWorldServlet example from the Tomcat package And.. .jsp file are not recognized... What should I set first? Please help me if you can... Best regards, Paul _ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
RE: getting started...
ZORTAN - use http://localhost:8080/examples or http://localhost:8080 cd -Original Message- From: Zortan [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 23, 2001 11:11 AM To: [EMAIL PROTECTED] Subject: getting started... Hello! I'm new to Tomcat... The problem is... I've started Tomcat on Win2000 in a new window - from a shell [command: tomcat startup]... How to test it via examples? I've set TOMCAT_HOME, JAVA_HOME variables... Just don't know how to run any example... What are the first steps? There is a folder /webapps with some servlets but i try to run them (index.html ) but nothing happens... Just: How to executre simple HelloWorldServlet example from the Tomcat package And.. .jsp file are not recognized... What should I set first? Please help me if you can... Best regards, Paul
getting started with Tomcat?
Hello!!! Could anybody help me, Please! I have Windows 98 on my PC.I have downloaded TOMCAT Version 3.1.1.I have put all tomcatfiles ( bin, conf, doc, lib, src, webapps) tothe C:\foo\tomcat directory.I have installed JDK 1.2 into C:\JAVA. So, could you describe how should I set TOMCAT_HOME. Best regards,Alexander
Re: getting started with Tomcat?
"Alexandr L. Pazin" wrote: Hello!!! Could anybody help me, Please! I have Windows 98 on my PC. I have downloaded TOMCAT Version 3.1.1. I have put all tomcat files ( bin, conf, doc, lib, src, webapps) to the C:\foo\tomcat directory. I have installed JDK 1.2 into C:\JAVA. So, could you describe how should I set TOMCAT_HOME. Best regards, Alexander I would eidt c:\foo\tomcat\bin\tomcat.bat and include after the first block of comments SET TOMCAT_HOME=c:\java\jdk1.2 thats it... You can do it many other ways, but I find myself running different copies of tomcat with different JVM's so I like to set TOMCAT_HOME per each tomcat installation. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]