Re: another newbie question
Hi! FRANCOIS Dufour wrote: whicht database should i use under tomcat That does not so much depend on tomcat but rather on the needs of your application. Today almost any major RDBMS has a JDBC driver and that's all you need. If you want a database that is simple to administrate but comes with rather limited functionality, you might want to have a look at mysql. If you need more features, postgresql, or sapdb may be what you want. These are all open source. If you want to invest money, there is always M$ SQL or Oracle and the like. hth Phil - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: another newbie question
thanks for the advice im trying to turn on a ligntningboard script (free forum script open source) it came in a bundle that look like a copy paste from his serveur to a zip folder but i got the source folder in the bundle and there is a jdbc database file in it should i use the souce to deploy it or the copy paste from is webapps [EMAIL PROTECTED] crazy-wilys webmaster From: Philipp Taprogge <[EMAIL PROTECTED]> Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]> To: Tomcat Users List <[EMAIL PROTECTED]> Subject: Re: another newbie question Date: Tue, 30 Dec 2003 16:12:31 +0100 Hi! FRANCOIS Dufour wrote: whicht database should i use under tomcat That does not so much depend on tomcat but rather on the needs of your application. Today almost any major RDBMS has a JDBC driver and that's all you need. If you want a database that is simple to administrate but comes with rather limited functionality, you might want to have a look at mysql. If you need more features, postgresql, or sapdb may be what you want. These are all open source. If you want to invest money, there is always M$ SQL or Oracle and the like. hth Phil - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] _ MSN Messenger : discutez en direct avec vos amis ! http://messenger.fr.msn.ca/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: another newbie question?
Howdy, Use the -Xmx java runtime option, set via the JAVA_OPTS environment variable as defined in $CATALINA_HOME/bin/catalina.sh. Yoav Shapira Millennium ChemInformatics >-Original Message- >From: FRANCOIS Dufour [mailto:[EMAIL PROTECTED] >Sent: Thursday, February 12, 2004 10:55 AM >To: [EMAIL PROTECTED] >Subject: another newbie question? > >hello > >sombody could tell mee how to increase memory off the jvm? > >got only 7mg left after aplication deployed > >tanks > >[EMAIL PROTECTED] >administrateur http://entre-nous.qc.tc > >_ >MSN Search, le moteur de recherche qui pense comme vous ! >http://fr.ca.search.msn.com/ > > >- >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]
RE: another newbie question?
In my opnion, isn´t so necessary to set a inicial memory value to JVM, because it will take more memory as needed. > -- > De: Shapira, Yoav[SMTP:[EMAIL PROTECTED] > Responder:Tomcat Users List > Enviada: quinta-feira, 12 de fevereiro de 2004 12:59 > Para: Tomcat Users List > Assunto: RE: another newbie question? > > > Howdy, > Use the -Xmx java runtime option, set via the JAVA_OPTS environment > variable as defined in $CATALINA_HOME/bin/catalina.sh. > > Yoav Shapira > Millennium ChemInformatics > > > >-Original Message- > >From: FRANCOIS Dufour [mailto:[EMAIL PROTECTED] > >Sent: Thursday, February 12, 2004 10:55 AM > >To: [EMAIL PROTECTED] > >Subject: another newbie question? > > > >hello > > > >sombody could tell mee how to increase memory off the jvm? > > > >got only 7mg left after aplication deployed > > > >tanks > > > >[EMAIL PROTECTED] > >administrateur http://entre-nous.qc.tc > > > >_ > >MSN Search, le moteur de recherche qui pense comme vous ! > >http://fr.ca.search.msn.com/ > > > > > >- > >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] >
RE: another newbie question?
If you don't set enough memory, you will have some day "OutOfMemoryException", that's sure, or you Garbage Collector will work as mad, and your application will stall. -Message d'origine- De : Edson Alves Pereira [mailto:[EMAIL PROTECTED] Envoyé : jeudi 12 février 2004 18:10 À : 'Tomcat Users List' Objet : RE: another newbie question? In my opnion, isn´t so necessary to set a inicial memory value to JVM, because it will take more memory as needed. > -- > De: Shapira, Yoav[SMTP:[EMAIL PROTECTED] > Responder:Tomcat Users List > Enviada: quinta-feira, 12 de fevereiro de 2004 12:59 > Para: Tomcat Users List > Assunto: RE: another newbie question? > > > Howdy, > Use the -Xmx java runtime option, set via the JAVA_OPTS environment > variable as defined in $CATALINA_HOME/bin/catalina.sh. > > Yoav Shapira > Millennium ChemInformatics > > > >-Original Message- > >From: FRANCOIS Dufour [mailto:[EMAIL PROTECTED] > >Sent: Thursday, February 12, 2004 10:55 AM > >To: [EMAIL PROTECTED] > >Subject: another newbie question? > > > >hello > > > >sombody could tell mee how to increase memory off the jvm? > > > >got only 7mg left after aplication deployed > > > >tanks > > > >[EMAIL PROTECTED] > >administrateur http://entre-nous.qc.tc > > > >_ > >MSN Search, le moteur de recherche qui pense comme vous ! > >http://fr.ca.search.msn.com/ > > > > > >- > >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] > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: another newbie question?
Howdy, > In my opnion, isn´t so necessary to set a inicial memory value to >JVM, because it will take more memory as needed. Someone else already corrected the above wrong statement, but I wanted to point out -Xmx is not the initial size of the heap, it's the maximum size. Setting -Xmx does not affect initial heap size. Yoav Shapira 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]
RE: Another Newbie Question -- Urgent Please!
Do you have the servlet api's in your compilers classpath? --erik -Original Message- From: Rezaul H. Safiuddin [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 07, 2001 10:09 PM To: [EMAIL PROTECTED] Subject: Another Newbie Question -- Urgent Please! How come I am not being able to compile a HelloWorldServlet.java with jdk1.3 ? Its giving me hundreds of compiler errors. I need to compile this file and create the .class file . Do I need something especial for compiling servlets ? I already installed the TomCat 3.2.1 . Any Help would be appreciated. But I am able to run the SnoopServlet.java that comes with TomCat in the classes directory. Do I have to configure something else if I wanna add a new servlet class ? Kash - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: Another Newbie Question -- Urgent Please!
OK...I am totally Confused..please Help! I have jdk 1.3, Apache Web Server and TomCat 3.2Where is the javax package ? I finally downloaded jsdk 2.1 and the javax directory is there..I pointed the classpath to that directory or its parent directory in many ways.. - but it never finds it. Shouldn't the servlet API's come with TomCat or do I have to download Java Web Server or whatever ? These are the errors I am getting : HelloWorldServlet.java:3: package javax.servlet does not exist import javax.servlet.*; ^ HelloWorldServlet.java:4: package javax.servlet.http does not exist import javax.servlet.http.*; Help please...Thanks. Kash On Wed, 7 Feb 2001, Erik LaBianca wrote: > Do you have the servlet api's in your compilers classpath? > > --erik > > -Original Message- > From: Rezaul H. Safiuddin [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, February 07, 2001 10:09 PM > To: [EMAIL PROTECTED] > Subject: Another Newbie Question -- Urgent Please! > > > > > How come I am not being able to compile a HelloWorldServlet.java with > jdk1.3 ? Its giving me hundreds of compiler errors. I need to compile this > file and create the .class file . Do I need something especial for > compiling servlets ? I already installed the TomCat 3.2.1 . Any Help would > be appreciated. But I am able to run the SnoopServlet.java that comes with > TomCat in the classes directory. Do I have to configure something else if > I wanna add a new servlet class ? > > Kash > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, email: [EMAIL PROTECTED] > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, email: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: Another Newbie Question -- Urgent Please!
No you don't have to download anything extra. The classes are included with tomcat in the servlet.jar file, which is located in the lib directory under your tomcat install. FYI--When specifying a classpath for jar files you can't just specify the directory in which the jar file exist in, you must include the full path. Below is an example to compile a servlet that needs servlet.jar: javac -classpath c:\tomcat\lib\servlet.jar MyServlet.java scott. --- "Rezaul H. Safiuddin" <[EMAIL PROTECTED]> wrote: > > OK...I am totally Confused..please Help! > > I have jdk 1.3, Apache Web Server and TomCat > 3.2Where is the javax > package ? I finally downloaded jsdk 2.1 and the > javax directory is > there..I pointed the classpath to that directory or > its parent directory > in many ways.. - but it never finds it. > > Shouldn't the servlet API's come with TomCat or do I > have to download Java > Web Server or whatever ? > > These are the errors I am getting : > > HelloWorldServlet.java:3: package javax.servlet does > not exist > import javax.servlet.*; > ^ > HelloWorldServlet.java:4: package javax.servlet.http > does not exist > import javax.servlet.http.*; > > Help please...Thanks. > > Kash > > > On Wed, 7 Feb 2001, Erik LaBianca wrote: > > > Do you have the servlet api's in your compilers > classpath? > > > > --erik > > > > -Original Message- > > From: Rezaul H. Safiuddin > [mailto:[EMAIL PROTECTED]] > > Sent: Wednesday, February 07, 2001 10:09 PM > > To: [EMAIL PROTECTED] > > Subject: Another Newbie Question -- Urgent Please! > > > > > > > > > > How come I am not being able to compile a > HelloWorldServlet.java with > > jdk1.3 ? Its giving me hundreds of compiler > errors. I need to compile this > > file and create the .class file . Do I need > something especial for > > compiling servlets ? I already installed the > TomCat 3.2.1 . Any Help would > > be appreciated. But I am able to run the > SnoopServlet.java that comes with > > TomCat in the classes directory. Do I have to > configure something else if > > I wanna add a new servlet class ? > > > > Kash > > > > > > > - > > To unsubscribe, e-mail: > [EMAIL PROTECTED] > > For additional commands, email: > [EMAIL PROTECTED] > > > > > - > > To unsubscribe, e-mail: > [EMAIL PROTECTED] > > For additional commands, email: > [EMAIL PROTECTED] > > > > > > > - > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, email: > [EMAIL PROTECTED] > __ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail - only $35 a year! http://personal.mail.yahoo.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: Another Newbie Question -- Urgent Please!
The easiest thing to do is just to copy the servlet.jar file into your c:\jdk1.3\jre\lib\ext folder. I think thats the "official" place for extension api's. It is automatically checked for jars to be added to the classpath. --erik -Original Message- From: Scott Walter [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 08, 2001 12:02 AM To: [EMAIL PROTECTED] Subject: RE: Another Newbie Question -- Urgent Please! No you don't have to download anything extra. The classes are included with tomcat in the servlet.jar file, which is located in the lib directory under your tomcat install. FYI--When specifying a classpath for jar files you can't just specify the directory in which the jar file exist in, you must include the full path. Below is an example to compile a servlet that needs servlet.jar: javac -classpath c:\tomcat\lib\servlet.jar MyServlet.java scott. --- "Rezaul H. Safiuddin" <[EMAIL PROTECTED]> wrote: > > OK...I am totally Confused..please Help! > > I have jdk 1.3, Apache Web Server and TomCat > 3.2Where is the javax > package ? I finally downloaded jsdk 2.1 and the > javax directory is > there..I pointed the classpath to that directory or > its parent directory > in many ways.. - but it never finds it. > > Shouldn't the servlet API's come with TomCat or do I > have to download Java > Web Server or whatever ? > > These are the errors I am getting : > > HelloWorldServlet.java:3: package javax.servlet does > not exist > import javax.servlet.*; > ^ > HelloWorldServlet.java:4: package javax.servlet.http > does not exist > import javax.servlet.http.*; > > Help please...Thanks. > > Kash > > > On Wed, 7 Feb 2001, Erik LaBianca wrote: > > > Do you have the servlet api's in your compilers > classpath? > > > > --erik > > > > -Original Message- > > From: Rezaul H. Safiuddin > [mailto:[EMAIL PROTECTED]] > > Sent: Wednesday, February 07, 2001 10:09 PM > > To: [EMAIL PROTECTED] > > Subject: Another Newbie Question -- Urgent Please! > > > > > > > > > > How come I am not being able to compile a > HelloWorldServlet.java with > > jdk1.3 ? Its giving me hundreds of compiler > errors. I need to compile this > > file and create the .class file . Do I need > something especial for > > compiling servlets ? I already installed the > TomCat 3.2.1 . Any Help would > > be appreciated. But I am able to run the > SnoopServlet.java that comes with > > TomCat in the classes directory. Do I have to > configure something else if > > I wanna add a new servlet class ? > > > > Kash > > > > > > > - > > To unsubscribe, e-mail: > [EMAIL PROTECTED] > > For additional commands, email: > [EMAIL PROTECTED] > > > > > - > > To unsubscribe, e-mail: > [EMAIL PROTECTED] > > For additional commands, email: > [EMAIL PROTECTED] > > > > > > > - > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, email: > [EMAIL PROTECTED] > __ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail - only $35 a year! http://personal.mail.yahoo.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: Another Newbie Question -- Urgent Please!
Now I have a really stupid question ;-) ... Ok When I run the apache server it shows the following : F:\Program Files\Apache Group\Apache>apache [Wed Feb 07 20:41:46 2001] [alert] apache: Could not determine the server's full y qualified domain name, using 127.0.0.1 for ServerName Apache/1.3.14 (Win32) tomcat/1.0 running... QUESTION : Why does it say TomCat 1.0..I have TomCat 3.2 ? Next, How can I be sure that my requests are being served via the Apache and TomCat and not only stand alone TomCat ? I mean when I do this following request..it lets me fill out the form and responds properly... : http://127.0.0.1/servlet/PhoneBook But How do I know whether it actually goes through Apache to Tomcat or just Tomcat ? Cause I need to use Tomcat with Apache, not standalone for my purpose. Next Question : I did not mess with the web.xml or server.xml at all to change any config in the TomCat...When do I need to do that ? Is that application specific ? I will appreciate your help and answers. Thanks very much. Kash On Wed, 7 Feb 2001, Scott Walter wrote: > No you don't have to download anything extra. The > classes are included with tomcat in the servlet.jar > file, which is located in the lib directory under your > tomcat install. > > FYI--When specifying a classpath for jar files you > can't just specify the directory in which the jar file > exist in, you must include the full path. Below is an > example to compile a servlet that needs servlet.jar: > > javac -classpath c:\tomcat\lib\servlet.jar > MyServlet.java > > scott. > --- "Rezaul H. Safiuddin" <[EMAIL PROTECTED]> > wrote: > > > > OK...I am totally Confused..please Help! > > > > I have jdk 1.3, Apache Web Server and TomCat > > 3.2Where is the javax > > package ? I finally downloaded jsdk 2.1 and the > > javax directory is > > there..I pointed the classpath to that directory or > > its parent directory > > in many ways.. - but it never finds it. > > > > Shouldn't the servlet API's come with TomCat or do I > > have to download Java > > Web Server or whatever ? > > > > These are the errors I am getting : > > > > HelloWorldServlet.java:3: package javax.servlet does > > not exist > > import javax.servlet.*; > > ^ > > HelloWorldServlet.java:4: package javax.servlet.http > > does not exist > > import javax.servlet.http.*; > > > > Help please...Thanks. > > > > Kash > > > > > > On Wed, 7 Feb 2001, Erik LaBianca wrote: > > > > > Do you have the servlet api's in your compilers > > classpath? > > > > > > --erik > > > > > > -Original Message- > > > From: Rezaul H. Safiuddin > > [mailto:[EMAIL PROTECTED]] > > > Sent: Wednesday, February 07, 2001 10:09 PM > > > To: [EMAIL PROTECTED] > > > Subject: Another Newbie Question -- Urgent Please! > > > > > > > > > > > > > > > How come I am not being able to compile a > > HelloWorldServlet.java with > > > jdk1.3 ? Its giving me hundreds of compiler > > errors. I need to compile this > > > file and create the .class file . Do I need > > something especial for > > > compiling servlets ? I already installed the > > TomCat 3.2.1 . Any Help would > > > be appreciated. But I am able to run the > > SnoopServlet.java that comes with > > > TomCat in the classes directory. Do I have to > > configure something else if > > > I wanna add a new servlet class ? > > > > > > Kash > > > > > > > > > > > > - > > > To unsubscribe, e-mail: > > [EMAIL PROTECTED] > > > For additional commands, email: > > [EMAIL PROTECTED] > > > > > > > > > - > > > To unsubscribe, e-mail: > > [EMAIL PROTECTED] > > > For additional commands, email: > > [EMAIL PROTECTED] > > > > > > > > > > > > > - > > To unsubscribe, e-mail: > > [EMAIL PROTECTED] > > For additional commands, email: > > [EMAIL PROTECTED] > > > > > __ > Do You Yahoo!? > Get personalized email addresses from Yahoo! Mail - only $35 > a year! http://personal.mail.yahoo.com/ > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, email: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: Another Newbie Question -- Urgent Please!
See responses mixed in below -Original Message- From: Rezaul H. Safiuddin [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 08, 2001 11:14 AM To: [EMAIL PROTECTED] Subject: RE: Another Newbie Question -- Urgent Please! Now I have a really stupid question ;-) ... Ok When I run the apache server it shows the following : F:\Program Files\Apache Group\Apache>apache [Wed Feb 07 20:41:46 2001] [alert] apache: Could not determine the server's full y qualified domain name, using 127.0.0.1 for ServerName Apache/1.3.14 (Win32) tomcat/1.0 running... QUESTION : Why does it say TomCat 1.0..I have TomCat 3.2 ? I believe that 1.0 is the HTTP protocol version that the server is using. Tomcat only supports HTTP 1.0. Tomcat 4 will support 1.1. I don't believe that there is a draft for version 1.2 yet. Apache supports 1.1. Next, How can I be sure that my requests are being served via the Apache and TomCat and not only stand alone TomCat ? I mean when I do this following request..it lets me fill out the form and responds properly... : http://127.0.0.1/servlet/PhoneBook But How do I know whether it actually goes through Apache to Tomcat or just Tomcat ? Cause I need to use Tomcat with Apache, not standalone for my purpose. In your server.xml file, check for your ports on PoolTcpConnectors. By default these are 8080 and 8007 - the ports that Tomcat will listen to. In your Apache configuration file there will be a like like "Listen 80" by default (I'm really fuzzy on this, its been a long time since I configured Apache). This is the port that Apache will listen on. Good so far? Tomcat 8080 and 8007. Apache 80. Now you need to know that the default HTTP port is 80. So, if you don't specify a port in the URL you're talking to port 80. (To use port 8080 it would be http://127.0.0.1:8080/servlet/PhoneBook) Next Question : I did not mess with the web.xml or server.xml at all to change any config in the TomCat...When do I need to do that ? Is that application specific ? As to what to chagne it really depends upon what you want to do. If you want to use Tomcat behind Apache you probably want to remove the PoolTcpConnector for port 8080 (make the users go through Apache). You also probably want to remove some of the extra contexts that Tomcat installed by default (examples for example). Lastly, you will want to create a context for your application, which means creating a new directory, adding a WEB-INF directory, and adding a web.xml file and your content. As to when, if you have everything working like it seems you do, you're ready to develop your application. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: Another Newbie Question -- Urgent Please!
Hi I think what you are seeing is apache telling you that mod_jk is installed. (Correct me if I'm wrong) But it doesn't mean that tomcat is actually running. Unless you changed the startup script tomcat has to be started seperatly. To check if Tomcat is running just log onto port 8080 as localhost and you should see the tomcat-index page, from there you can test the example servlets and jsp-pages. Stefan