Re: Please help me sir
Hello Asit Could it be that you write for Java 1.5 whilst your Tomcat somehow expects Java 1.3? Try this link: http://blog.taragana.com/index.php/archive/how-to-run-javac-15-or-beyond-compiler-for-jsp-compilation-in-tomcat-55-with-generics-enabled-and-other-15-only-features/1/ hope it helps have a nice day J.Zaruba On 6/27/05, Asit Basak [EMAIL PROTECTED] wrote: Sir I have installed Jdk1.5.0 in windows 2000 server. After that I have installed Apache Tomcat/5.0.29. I have deployed all of my JSPs in Root directory and all of my beans in classes. Now after starting of the Tomcat server. when I want to see the paged in IE6, It is giving errors javac: target release 1.3 conflicts with default source release 1.5 . Now sir please tell me what can I I do for this purpose. Thanking you in anticipation. Regards Asit Basak email - [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]
Re: Please help me
I dont think u would have to shut down the server to upload files. The context must be reloadable ie., set the reloadable = true in the context using the admin page VTR BHEL haridwar - Original Message - From: Rajesh [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, December 13, 2004 2:25 PM Subject: Please help me Hai all, i have a doubt please help me. in my tomcat server, am developing a online shopping site. the site is live, i periodically upload updated pages, when uploading i donot want to down the server, i use a way that creating 2 webapps, one will run, i upload the updated pages to webapp 2 afteruploading i go to webapp1 and point it to webapp2 when i need to upload second time ill upload to webapp 1 and i will make point from webapp2 to webapp 1 . is there any way to do this affectively ?? Please reply Rajesh - 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: Please help me
i tryed but sometimes it gives error when i restart(restarting webapp) it works good or is it possible to display a page for any request to the server or a perticular webapp that site is under maintanance please visit in few minutes is it possible? Rajesh VTR Ravi Kumar wrote: I dont think u would have to shut down the server to upload files. The context must be reloadable ie., set the reloadable = true in the context using the admin page VTR BHEL haridwar - Original Message - From: Rajesh [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, December 13, 2004 2:25 PM Subject: Please help me Hai all, i have a doubt please help me. in my tomcat server, am developing a online shopping site. the site is live, i periodically upload updated pages, when uploading i donot want to down the server, i use a way that creating 2 webapps, one will run, i upload the updated pages to webapp 2 afteruploading i go to webapp1 and point it to webapp2 when i need to upload second time ill upload to webapp 1 and i will make point from webapp2 to webapp 1 . is there any way to do this affectively ?? Please reply Rajesh - 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Please help me
You can load balance between the two instances. cheers, Hari Mailvaganam On Mon, 13 Dec 2004 16:29:16 +0530, Rajesh [EMAIL PROTECTED] wrote: i tryed but sometimes it gives error when i restart(restarting webapp) it works good or is it possible to display a page for any request to the server or a perticular webapp that site is under maintanance please visit in few minutes is it possible? Rajesh VTR Ravi Kumar wrote: I dont think u would have to shut down the server to upload files. The context must be reloadable ie., set the reloadable = true in the context using the admin page VTR BHEL haridwar - Original Message - From: Rajesh [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, December 13, 2004 2:25 PM Subject: Please help me Hai all, i have a doubt please help me. in my tomcat server, am developing a online shopping site. the site is live, i periodically upload updated pages, when uploading i donot want to down the server, i use a way that creating 2 webapps, one will run, i upload the updated pages to webapp 2 afteruploading i go to webapp1 and point it to webapp2 when i need to upload second time ill upload to webapp 1 and i will make point from webapp2 to webapp 1 . is there any way to do this affectively ?? Please reply Rajesh - 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] - 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: Please help me
I'm guessing the snippet below is from your struts-config.xml file. I tried to make that work and couldn't even on a straight forward textbook example. It was much easier to define the datasource in the [context].xml file in conf/Catalina/localhost, use the DBCP db pool, and then write my own db access code. Besides, I think I saw something to the effect that the feature you're using below might be removed from future Struts releases. I'm sure there are people on the list who can confirm or deny that suspicion. --David Rajesh wrote: This is Rajesh. I am working on webApplication project.The project Environment is in Struts1.1 Framework with jdk1.4.2_01,WebServer as Tomcat5 on O.S Linux connecting back-end Mysql. I am trouble shooting a problem. I have properly closed each and every connection whenever I open a connection.So the db connection is properly maintained.And the Session too is properly maintained.In struts1.1 struts-config.xml just for connection pooling I've coded data-source tag like data-sources data-source type=org.apache.commons.dbcp.BasicDataSource set-property property=driverClassName value=com.mysql.jdbc.Driver/ set-property property=url value=jdbc:mysql://ip address/contextname/ set-property property=username value=/ set-property property=password value=/ set-property property=removeAbandoned value=true/ set-property property=removeAbandonedTimeout value=60/ /data-source /data-sources So for every 60 seconds the connection pool is checked to freeze-out the unwanted Connection. Every thing works fine on first day but on the consecutive day it troubles. MAIN PROBLEM STATEMENT IS On the next day when I try to login to my site it is not letting me login. I am sure there is no problem in my coding, because the whole day the site is working perfectly well. Only for a period of time the db access is not working. So I want to know where the problem is.Whether it's in Database Pooling or it is Tomcat related problems. - 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: Please help me for jk_nt_service problem
See the note at the bottom of this page: http://www.apache.org/dist/jakarta/tomcat-3/bin/win32/i386/ Cheers, Larry -Original Message- From: Dreamy Wu [mailto:[EMAIL PROTECTED] Sent: Sunday, January 11, 2004 4:49 AM To: [EMAIL PROTECTED] Subject: Please help me for jk_nt_service problem Hi : Please help me for jk_nt_service problem . Description : [I followed your guiding : http://jakarta.apache.org/tomcat/tomcat-3.3-doc/NT-Service- howto.html] After I install JAVA and Jakarta, I run jk_nt_service -I Jakarta wrapper.properties. It's OK, and I ran jk_nt_service -s Jakarta. It shows : C:\jakarta-tomcat-3.3.1a\bin\win32\i386jk_nt_service -s Jakarta Asked (and given) winsock 1.1 Starting Jakarta. Jakarta failed to start. My env : JAVA_HOME=C:\Program Files\Java\j2re1.4.2_01 TOMCAT_HOME=C:\jakarta-tomcat-3.3.1a JVM.STDerr shows below : java.lang.NoClassDefFoundError: $(wrapper/jvm/options) Exception in thread main java.lang.NoClassDefFoundError: $(wrapper/jvm/options) Could you please help me for this issue ? Thanks. * Dreamy Wu Professional Service Dept. ADVANCED SYSTEM STORAGE CORP. TEL: +886-2-8792-0108 #812 Mobile : 0913391369 FAX: +886-2-8792-0109 * - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Please help me for jk_nt_service problem
It looks like you commented out the line: Dreamy Wu [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi : Please help me for jk_nt_service problem . wrapper.jvm.options= in your wrapper.properties file. Description : [I followed your guiding : http://jakarta.apache.org/tomcat/tomcat-3.3-doc/NT-Service-howto.html] After I install JAVA and Jakarta, I run jk_nt_service -I Jakarta wrapper.properties. It's OK, and I ran jk_nt_service -s Jakarta. It shows : C:\jakarta-tomcat-3.3.1a\bin\win32\i386jk_nt_service -s Jakarta Asked (and given) winsock 1.1 Starting Jakarta. Jakarta failed to start. My env : JAVA_HOME=C:\Program Files\Java\j2re1.4.2_01 TOMCAT_HOME=C:\jakarta-tomcat-3.3.1a JVM.STDerr shows below : java.lang.NoClassDefFoundError: $(wrapper/jvm/options) Exception in thread main java.lang.NoClassDefFoundError: $(wrapper/jvm/options) Could you please help me for this issue ? Thanks. * Dreamy Wu Professional Service Dept. ADVANCED SYSTEM STORAGE CORP. TEL: +886-2-8792-0108 #812 Mobile : 0913391369 FAX: +886-2-8792-0109 * - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Please help me in my problem...
If you don't say which error message you got it will be a little difficult ! SaM Steven Ang wrote: Hello, I need some help in configurating tomcat server. I'm doing a JSP project, I have read some documentation about tomcat and it states that i need to add some line in %CATALINA_HOME%/conf/server.xml Context path=/thesis docbase=thesis debug=0 reloadable=true crossContext=true/ but after i save the server.xml and run start tomcat, i got some error message in console. I don;t know why. And also http://localhost:8080/thesis/hello.jsp returns and error message. here are my source code of hello.jsp html boby HI /body /html here are my software and hardware information WINDOWS XP JAVA SDK 1.4.2 TOMCAT 4.1.24 Pentium III 1G 128MB 20 GB Hard Drive Please help me Thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Please help me in my problem...
I got similar problems when I saved the server.xml with non standard ascii chars. Scrive Steven Ang [EMAIL PROTECTED]: Hello, I need some help in configurating tomcat server. I'm doing a JSP project, I have read some documentation about tomcat and it states that i need to add some line in %CATALINA_HOME%/conf/server.xml Context path=/thesis docbase=thesis debug=0 reloadable=true crossContext=true/ but after i save the server.xml and run start tomcat, i got some error message in console. I don;t know why. And also http://localhost:8080/thesis/hello.jsp returns and error message. here are my source code of hello.jsp html boby HI /body /html here are my software and hardware information WINDOWS XP JAVA SDK 1.4.2 TOMCAT 4.1.24 Pentium III 1G 128MB 20 GB Hard Drive Please help me Thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Please help me
Juan, Here you go: http://www.moreservlets.com/Using-Tomcat-4.html Hope this helps, Jeremy -Original Message- From: Juan Carlos Correa [mailto:[EMAIL PROTECTED] Sent: Monday, March 24, 2003 12:56 PM To: [EMAIL PROTECTED] Subject: Please help me I`m using Apache 1.3 and Tomcat 4.1.18. I need help, how configuration..?? Thanks JC - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Please help me
Juan, Woops. My bad. Wrong link. Here is the right link: http://www.galatea.com/flashguides/apache-tomcat-24-win32.xml Hope this helps, Jeremy -Original Message- From: Juan Carlos Correa [mailto:[EMAIL PROTECTED] Sent: Monday, March 24, 2003 12:56 PM To: [EMAIL PROTECTED] Subject: Please help me I`m using Apache 1.3 and Tomcat 4.1.18. I need help, how configuration..?? Thanks JC - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Please help me
and http://www.johnturner.com/howto/ Filip -Original Message- From: Jeremy Whitlock [mailto:[EMAIL PROTECTED] Sent: Monday, March 24, 2003 11:52 AM To: 'Tomcat Users List' Subject: RE: Please help me Juan, Here you go: http://www.moreservlets.com/Using-Tomcat-4.html Hope this helps, Jeremy -Original Message- From: Juan Carlos Correa [mailto:[EMAIL PROTECTED] Sent: Monday, March 24, 2003 12:56 PM To: [EMAIL PROTECTED] Subject: Please help me I`m using Apache 1.3 and Tomcat 4.1.18. I need help, how configuration..?? Thanks JC - 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: Please Help me
JServ is deprecated, and AFAIK, not supported at all for Tomcat 4.x. Since you are running under Windows, mod_webapp isn't an option. You'll need to get the mod_jk connector from http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk/release/v1.2.2 /. Manoj Tyagi [EMAIL PROTECTED] wrote in message 000f01c2af27$0a531e80$0200a8c0@rps">news:000f01c2af27$0a531e80$0200a8c0@rps... Hi, I am new to this mailing list and Posting for the first time. I have a prob. using Tomcat 4.0 on Win ME system with Apache My Apache is configured on port 80 properly and working fine. I am Developing Sites in PHP and Its working fine with Apache. Now I Installed Tomcat 4.0 on my system for JSP Support. Tomcat is working fine seperately, When i use it on Port 8080 Now i want to invoke the JSP Support from Apache. I have been advised to Copy the ApacheModuleJserv.dll in the Apache's Modules Directory and to include the following line in httpd.conf LoadModule jserv_module modules/ApacheModuleJServ.dll I have done that. I searched on net, and got that everytime Tomcat will generate the tomcat-apache.conf file in the conf directory of tomcat. It is advised to include the following line in the httpd.conf include c:\tomcat\conf\tomcat-apache.conf My Tomcat is working fine, but there is no configuration file in the directory. Please help me to come out with this prob. Regards Manoj Tyagi -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: please help me
To use servlets you will need a servlet container/webserver like Tomcat. To compile servlets some .jar files from Tomcat are necessary. You have to add this to your classpath or use ant scripts whatever. In your case I guess that servlet.jar from /tomcat/common/lib/ is missing in your classpath when your try to compile your servlet classes. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: please help me
You'll have to include servlet.jar in your CLASSPATH. servlet.jar is part of your tomcat distribution. When using Tomcat 4.1 you can find it in $CATALINA_HOME/common/libs Carsten Am Freitag, 22.11.02, um 12:40 Uhr (Europe/Berlin) schrieb Shabeer Miah: Hi There, I'm very new to java technology and I started loving java, and now a days I'm learning servlets, I have written a servlet example, and trying to compile it but couldn't able to do that, do I need to have different software to compile the servlets apart from jdk1.4 please hel me!! I'm getting errors saying that Servlet calsses not found, so please tell me do I need to set the path or ?? please reply me, shabeer __ Do you Yahoo!? Yahoo! Mail Plus ñ Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- Carsten Ziegert Hannover Medical School, Dept. of Hematology and Oncology Carl-Neuberg-Straße 1, 30625 Hannover University of Applied Sciences, Faculty of Information Sciences Ricklinger Stadtweg 120, 30459 Hannover http://summit-bmt.fh-hannover.de -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Please help me!!
This depends on how you use the connection. If you use a db pool, then the pool must reconnect. There're pools that do that and other that don't do. Regards. -Mensaje original- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Enviado el: jueves, 03 de octubre de 2002 9:47 Para: tomcat-user Asunto: Please help me!! Hi all, I can't find an answer to this question. Plese help me. I have an apache-tomcat(4.0.3) system installed. I use a connection DataSource with a Oracle database (I have a resource in server.xml with type=javax.sql.DataSource). --- Instruction in the JNDI Resources HOW-TO section of Tomcat 4.0.x. My question is this. If Oracle DB crashes and it has to been restarted, does my web application,that uses DataSource, have to be restarted? I have a class with this static block: static { try { Context initCtx = new InitialContext(); Context envCtx = (Context) initCtx.lookup(java:comp/env); DataSource ds = (DataSource) envCtx.lookup(dbName); con = ds.getConnection(); if (con == null) System.out.println([ERROR] Connection null); } catch (Exception ex) { System.out.println([ERROR] Errore = + ex.toString() + \n + ex.getMessage()); con = null; } } and I have a method: protected synchronized Connection getConnection() { while (conFree == false) { try { wait(); } catch (InterruptedException e) { System.out.println([ERROR] Exception getConnection() = + e.toString()); } } conFree = false; notify(); return con; } In the servlets of my web application I call getConnection() to take the connection: if db is restarted what happen? Thanks for your help Laura -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Please help me!!
Well I use the default pool DataSource of tomcat 4.0.3. I get a initial connection (--- static block) and then I return that with getConnection() method. I suppose that when the db is restarted my connection becomes null, but I'm not sure. I'm planning to use DBCP: is it possible using it with Tomcat 4.0.3? How can I install it? Does DBCP resolve the problem of the DB restart? Thanks Laura This depends on how you use the connection. If you use a db pool, then the pool must reconnect. There're pools that do that and other that don't do. Regards. -Mensaje original- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Enviado el: jueves, 03 de octubre de 2002 9:47 Para: tomcat-user Asunto: Please help me!! Hi all, I can't find an answer to this question. Plese help me. I have an apache-tomcat(4.0.3) system installed. I use a connection DataSource with a Oracle database (I have a resource in server.xml w ith type=javax.sql.DataSource). --- Instruction in the JNDI Resources HOW-TO section of Tomcat 4.0.x. My question is this. If Oracle DB crashes and it has to been restart ed, does my web application,that uses DataSource, have to be restarted? I have a class with this static block: static { try { Context initCtx = new InitialContext(); Context envCtx = (Context) initCtx.lookup(java:comp/env); DataSource ds = (DataSource) envCtx.lookup(dbName); con = ds.getConnection(); if (con == null) System.out.println([ERROR] Connection null); } catch (Exception ex) { System.out.println([ERROR] Errore = + ex.toString () + \n + ex.getMessage()); con = null; } } and I have a method: protected synchronized Connection getConnection() { while (conFree == false) { try { wait(); } catch (InterruptedException e) { System.out.println([ERROR] Exception getConnection () = + e.toString()); } } conFree = false; notify(); return con; } In the servlets of my web application I call getConnection() to take the connection: if db is restarted what happen? Thanks for your help Laura -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Please help me!!
You may want to look into these two classes from oracle. oracle.jdbc.oci.OracleOCIConnection oracle.jdbc.pool.OracleOCIConnectionPool They should be in the classes12.jar. This will preclude you from using the thin driver, but probably provide more stability in connection pooling. Read Oracle documentation here. http://otn.oracle.com/docs/products/oracle9i/doc_library/901_doc/index.htm -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 03, 2002 3:47 AM To: tomcat-user Subject: Please help me!! Hi all, I can't find an answer to this question. Plese help me. I have an apache-tomcat(4.0.3) system installed. I use a connection DataSource with a Oracle database (I have a resource in server.xml with type=javax.sql.DataSource). --- Instruction in the JNDI Resources HOW-TO section of Tomcat 4.0.x. My question is this. If Oracle DB crashes and it has to been restarted, does my web application,that uses DataSource, have to be restarted? I have a class with this static block: static { try { Context initCtx = new InitialContext(); Context envCtx = (Context) initCtx.lookup(java:comp/env); DataSource ds = (DataSource) envCtx.lookup(dbName); con = ds.getConnection(); if (con == null) System.out.println([ERROR] Connection null); } catch (Exception ex) { System.out.println([ERROR] Errore = + ex.toString() + \n + ex.getMessage()); con = null; } } and I have a method: protected synchronized Connection getConnection() { while (conFree == false) { try { wait(); } catch (InterruptedException e) { System.out.println([ERROR] Exception getConnection() = + e.toString()); } } conFree = false; notify(); return con; } In the servlets of my web application I call getConnection() to take the connection: if db is restarted what happen? Thanks for your help Laura -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] This electronic transmission is strictly confidential to Smith Nephew and intended solely for the addressee. It may contain information which is covered by legal, professional or other privilege. If you are not the intended addressee, or someone authorized by the intended addressee to receive transmissions on behalf of the addressee, you must not retain, disclose in any form, copy or take any action in reliance on this transmission. If you have received this transmission in error, please notify the sender as soon as possible and destroy this message. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Please help me!!
Miguel Angel Mulero Martinez wrote: This depends on how you use the connection. If you use a db pool, then the pool must reconnect. There're pools that do that and other that don't do. Does DBCP that comes with Tomcat 4.0.4 and later reconnect? Nix. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Please help me... URGENT
Hi There, I would go with Tomcat+SSL, the setup is much easier than your other alternative. The only thing you really lose by not using apache is the ability to use virtual hosts. Mike On Fri, 2 Aug 2002, Sujith Mathew wrote: Please help me . My requirements are to serve JSP, Servlets, static pages and SSL(not important). NO CGI, PERL, PHP etc. I am using a WINDOWS 2000 Server.*I want anyone to tell me whether i should use APACHE+TOMCAT+SSL or TOMCAT+SSL. Please reply me fast , i am banking on you guys for a good answer. Thanks in advance Sujith Mathew -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Please help me... URGENT
One option is to use IIS + SSL + Tomcat -Original Message- From: Sujith Mathew [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 01, 2002 2:26 PM To: [EMAIL PROTECTED] Subject: Please help me... URGENT Please help me . My requirements are to serve JSP, Servlets, static pages and SSL(not important). NO CGI, PERL, PHP etc. I am using a WINDOWS 2000 Server.*I want anyone to tell me whether i should use APACHE+TOMCAT+SSL or TOMCAT+SSL. Please reply me fast , i am banking on you guys for a good answer. Thanks in advance Sujith Mathew -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Please help me... URGENT
I wouldn't use IIS, especially if you're interested in having a secure server. IIS is historically unsecure. SSL won't mean much if someone can break into your system via your web server. On Thu, 1 Aug 2002, Durham David Cntr 805CSS/SCBE wrote: One option is to use IIS + SSL + Tomcat -Original Message- From: Sujith Mathew [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 01, 2002 2:26 PM To: [EMAIL PROTECTED] Subject: Please help me... URGENT Please help me . My requirements are to serve JSP, Servlets, static pages and SSL(not important). NO CGI, PERL, PHP etc. I am using a WINDOWS 2000 Server.*I want anyone to tell me whether i should use APACHE+TOMCAT+SSL or TOMCAT+SSL. Please reply me fast , i am banking on you guys for a good answer. Thanks in advance Sujith Mathew -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Please help me... URGENT
Hi, If you need to get it up and running fast, just use Tomcat with SSL. You can always add Apache later if you think it will boost performance. Setting up an Apache+SSL+Tomcat server can be tricky if you are a newbie (and even if you aren't). A lot of this depends on what you are running and how heavy the demands on the server will be. If you have a lot of static pages (and maybe even if you don't) Apache with SSL and Tomcat may be faster. In that setup you use Apache to do the SSL, which is theoretically faster because it is a binary on the server. In reality the extra overhead of the transfer from Apache to Tomcat of dynamic pages may nullify any speed advantages. - Original Message - Please help me . My requirements are to serve JSP, Servlets, static pages and SSL(not important). NO CGI, PERL, PHP etc. I am using a WINDOWS 2000 Server.*I want anyone to tell me whether i should use APACHE+TOMCAT+SSL or TOMCAT+SSL. Please reply me fast , i am banking on you guys for a good answer. Thanks in advance Sujith Mathew -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Please help me... URGENT
Why are we worried about securing a Windows 2000 server?? I thought they just wanted it set up and running. -Original Message- From: Michael B Sebetich [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 01, 2002 2:42 PM To: Tomcat Users List Subject: RE: Please help me... URGENT I wouldn't use IIS, especially if you're interested in having a secure server. IIS is historically unsecure. SSL won't mean much if someone can break into your system via your web server. On Thu, 1 Aug 2002, Durham David Cntr 805CSS/SCBE wrote: One option is to use IIS + SSL + Tomcat -Original Message- From: Sujith Mathew [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 01, 2002 2:26 PM To: [EMAIL PROTECTED] Subject: Please help me... URGENT Please help me . My requirements are to serve JSP, Servlets, static pages and SSL(not important). NO CGI, PERL, PHP etc. I am using a WINDOWS 2000 Server.*I want anyone to tell me whether i should use APACHE+TOMCAT+SSL or TOMCAT+SSL. Please reply me fast , i am banking on you guys for a good answer. Thanks in advance Sujith Mathew -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Please help me... URGENT
I would assume that the use of SSL implies sensitive data being handled by the Win 2k server. Why risk compromising that data by using IIS? On Thu, 1 Aug 2002, Durham David Cntr 805CSS/SCBE wrote: Why are we worried about securing a Windows 2000 server?? I thought they just wanted it set up and running. -Original Message- From: Michael B Sebetich [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 01, 2002 2:42 PM To: Tomcat Users List Subject: RE: Please help me... URGENT I wouldn't use IIS, especially if you're interested in having a secure server. IIS is historically unsecure. SSL won't mean much if someone can break into your system via your web server. On Thu, 1 Aug 2002, Durham David Cntr 805CSS/SCBE wrote: One option is to use IIS + SSL + Tomcat -Original Message- From: Sujith Mathew [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 01, 2002 2:26 PM To: [EMAIL PROTECTED] Subject: Please help me... URGENT Please help me . My requirements are to serve JSP, Servlets, static pages and SSL(not important). NO CGI, PERL, PHP etc. I am using a WINDOWS 2000 Server.*I want anyone to tell me whether i should use APACHE+TOMCAT+SSL or TOMCAT+SSL. Please reply me fast , i am banking on you guys for a good answer. Thanks in advance Sujith Mathew -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Please help me improve my question skills (number of tomcat a pps)
Knutsen Jeffrey S wrote: YES! You've hit it! I AM asking the question about how fast the car will go. At this time, I DON'T care about the type of car or engine! My question is being analyzed far too deeply by the diligent developers on this mail list. snip Well, although I agree with other posters that answering your question will not provide you with any useful information, here goes... I am developing a REAL application using Tomcat. Development is on a G3 PowerBook running Mac OS X 10.1.5, Tomcat 4.0.3 standalone, and MySQL something or other (recent, anyway!) with mm.MySQL JDBC driver. Performance is very good. Production will be on some kind of Sun box which also runs Samba (masquerades as an NT server) for local workgroup. Production DB will be Oracle 8i, which will probably slow down the app somewhat, but still confident the car will go fast enough! Now, apart from the information that the Mac is an excellent platform for Java apps, I don't know how this helps you, but hey... :-) Martin -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Please help me improve my question skills (number of tomcata pps)
YES! You've hit it! I AM asking the question about how fast the car will go. At this time, I DON'T care about the type of car or engine! My question is being analyzed far too deeply by the diligent developers on this mail list. The type of responses I was hoping for would have had developers proudly boasting something like: At my company we are successfully running 17 applications in two TC instances or We are running one TC instance with four apps or We have one app. I am not interested in app type or size or anything like that. Based on the information I have seen, I should be forced to conclude that TC is not being used for any real applications, but I KNOW this can not be true - there are far too many intelligent and competent people monitoring the mail list. Unfortunately (for me), no one has yet proclaimed success. I understand that when it comes time to actually implement TC, the questions regarding OS, JVM, type of apps, etc will become VERY important. But I need to try to make some justifications before I can ever get to that point. Thanks all for all your help! -- Jeff -Original Message- From: Adrian [mailto:[EMAIL PROTECTED]] Sent: Monday, June 10, 2002 7:32 PM To: Tomcat Users List Subject: Re: Please help me improve my question skills (number of tomcat apps) Your question cannot be answered without specifying criteria. 1) OS type 2) JVM type 3) Type and Complexity of Application 4) Are you using connectors 5) Are you connecting to databases Your current question is like asking how fast and how far will a car go. I don`t care what kind of car, or engine. Adrian - Original Message - From: Knutsen Jeffrey S [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, June 10, 2002 9:48 AM Subject: Please help me improve my question skills (number of tomcat apps) I have submitted the following question and received no response. I know this isn't a technical problem, but I was hoping for responses from real developers. I thought it was a simple question, and have always received excellent and quick responses from the tomcat mail list in the past, so the problem must be with me or the way I am asking. Can someone please help me improve myself? Is this a stupid question? Have I perhaps asked it incorrectly? I am open and receptive to any constructive criticism available (I can take it, but maybe you could send a direct response if you want to be extremely brutal?!) All I really want to know is how many applications real developers are putting on one machine in the real world. I am just looking for an abstract number, and I am not worried about system configurations at this time. Thanks! ORIGINAL QUESTION: I am doing some Tomcat cost/benefit projections for my company. I need to determine the maximum number of applications that will run on Tomcat and still provide stable performance. I am not interested in a theoretical number at this time, just seeking information about what real developers are actually doing with real applications. At this time, I am not interested in what machine types, OSs, configurations, versions, are being used. I understand the answer to my questions will depend heavily on these issues as well as on the applications themselves. I just need to come up with a realistic number of instances/apps which are being run on a single machine by real users. I am seeking an answer to the following two questions: Number of Tomcat instances I am running on one machine: Number of individual applications I am running in all instances of Tomcat on one machine: Please feel free to respond to the mail list, or to me directly at [EMAIL PROTECTED] (if we don't want to clog the list with answers to this question). I will post a final resolution message to the mail list when I have come to some sort of conclusion. Thanks in advance for your help! -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Please help me improve my question skills (number of tomcat a pps)
Jeff - We are using Tomcat to provide a Web front end for a mainframe application -- so at most two or three clients at once hitting the server. The box is Win2K or WinNT 4. The application is a bunch of JSPs and a couple of Java Beans which use TCP/IP to talk to the MF. We are not quite released but the Beta code has been running very nicely in Tomcat 3.3.x and 4.0.x for 3 or 4 months now. Everyone that has seen it has been impressed. Does that help? Roger Whitcomb Computer Associates Senior Software Engineer Development Phone: +1 408 965 8653 FAX: +1 408 965 8805 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] -Original Message- From: Knutsen Jeffrey S [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 11, 2002 9:20 AM To: Tomcat Users List Subject: RE: Please help me improve my question skills (number of tomcat a pps) YES! You've hit it! I AM asking the question about how fast the car will go. At this time, I DON'T care about the type of car or engine! My question is being analyzed far too deeply by the diligent developers on this mail list. The type of responses I was hoping for would have had developers proudly boasting something like: At my company we are successfully running 17 applications in two TC instances or We are running one TC instance with four apps or We have one app. I am not interested in app type or size or anything like that. Based on the information I have seen, I should be forced to conclude that TC is not being used for any real applications, but I KNOW this can not be true - there are far too many intelligent and competent people monitoring the mail list. Unfortunately (for me), no one has yet proclaimed success. I understand that when it comes time to actually implement TC, the questions regarding OS, JVM, type of apps, etc will become VERY important. But I need to try to make some justifications before I can ever get to that point. Thanks all for all your help! -- Jeff -Original Message- From: Adrian [mailto:[EMAIL PROTECTED]] Sent: Monday, June 10, 2002 7:32 PM To: Tomcat Users List Subject: Re: Please help me improve my question skills (number of tomcat apps) Your question cannot be answered without specifying criteria. 1) OS type 2) JVM type 3) Type and Complexity of Application 4) Are you using connectors 5) Are you connecting to databases Your current question is like asking how fast and how far will a car go. I don`t care what kind of car, or engine. Adrian - Original Message - From: Knutsen Jeffrey S [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, June 10, 2002 9:48 AM Subject: Please help me improve my question skills (number of tomcat apps) I have submitted the following question and received no response. I know this isn't a technical problem, but I was hoping for responses from real developers. I thought it was a simple question, and have always received excellent and quick responses from the tomcat mail list in the past, so the problem must be with me or the way I am asking. Can someone please help me improve myself? Is this a stupid question? Have I perhaps asked it incorrectly? I am open and receptive to any constructive criticism available (I can take it, but maybe you could send a direct response if you want to be extremely brutal?!) All I really want to know is how many applications real developers are putting on one machine in the real world. I am just looking for an abstract number, and I am not worried about system configurations at this time. Thanks! ORIGINAL QUESTION: I am doing some Tomcat cost/benefit projections for my company. I need to determine the maximum number of applications that will run on Tomcat and still provide stable performance. I am not interested in a theoretical number at this time, just seeking information about what real developers are actually doing with real applications. At this time, I am not interested in what machine types, OSs, configurations, versions, are being used. I understand the answer to my questions will depend heavily on these issues as well as on the applications themselves. I just need to come up with a realistic number of instances/apps which are being run on a single machine by real users. I am seeking an answer to the following two questions: Number of Tomcat instances I am running on one machine: Number of individual applications I am running in all instances of Tomcat on one machine: Please feel free to respond to the mail list, or to me directly at [EMAIL PROTECTED] (if we don't want to clog the list with answers to this question). I will post a final resolution message to the mail list when I have come to some sort of conclusion. Thanks in advance for your help! -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED
RE: Please help me improve my question skills (number of tomcat apps)
Maybe you'd better check this http://www.tuxedo.org/~esr/faqs/smart-questions.html first or, still better, ask at The Tomcat Developer List, which can be subscribed here http://jakarta.apache.org/site/mail2.html . The guys there might know. That's all I can do for you, mate. tom -Original Message- From: Knutsen Jeffrey S [mailto:[EMAIL PROTECTED]] Sent: Monday, June 10, 2002 3:49 PM To: '[EMAIL PROTECTED]' Subject: Please help me improve my question skills (number of tomcat apps) I have submitted the following question and received no response. I know this isn't a technical problem, but I was hoping for responses from real developers. I thought it was a simple question, and have always received excellent and quick responses from the tomcat mail list in the past, so the problem must be with me or the way I am asking. Can someone please help me improve myself? Is this a stupid question? Have I perhaps asked it incorrectly? I am open and receptive to any constructive criticism available (I can take it, but maybe you could send a direct response if you want to be extremely brutal?!) All I really want to know is how many applications real developers are putting on one machine in the real world. I am just looking for an abstract number, and I am not worried about system configurations at this time. Thanks! ORIGINAL QUESTION: I am doing some Tomcat cost/benefit projections for my company. I need to determine the maximum number of applications that will run on Tomcat and still provide stable performance. I am not interested in a theoretical number at this time, just seeking information about what real developers are actually doing with real applications. At this time, I am not interested in what machine types, OSs, configurations, versions, are being used. I understand the answer to my questions will depend heavily on these issues as well as on the applications themselves. I just need to come up with a realistic number of instances/apps which are being run on a single machine by real users. I am seeking an answer to the following two questions: Number of Tomcat instances I am running on one machine: Number of individual applications I am running in all instances of Tomcat on one machine: Please feel free to respond to the mail list, or to me directly at [EMAIL PROTECTED] (if we don't want to clog the list with answers to this question). I will post a final resolution message to the mail list when I have come to some sort of conclusion. Thanks in advance for your help! -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Please help me improve my question skills (number of tomcatapps)
On Mon, 10 Jun 2002, Knutsen Jeffrey S wrote: Date: Mon, 10 Jun 2002 08:48:39 -0500 From: Knutsen Jeffrey S [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: '[EMAIL PROTECTED]' [EMAIL PROTECTED] Subject: Please help me improve my question skills (number of tomcat apps) I have submitted the following question and received no response. I know this isn't a technical problem, but I was hoping for responses from real developers. I thought it was a simple question, and have always received excellent and quick responses from the tomcat mail list in the past, so the problem must be with me or the way I am asking. Can someone please help me improve myself? Is this a stupid question? Have I perhaps asked it incorrectly? I am open and receptive to any constructive criticism available (I can take it, but maybe you could send a direct response if you want to be extremely brutal?!) All I really want to know is how many applications real developers are putting on one machine in the real world. I am just looking for an abstract number, and I am not worried about system configurations at this time. The problem is that there is no generally useful answer to your question as stated. It depends even more on the nature of the applications you are talking about (when the answer might even be zero for a particular server configuration) as the size of the server (an answer based on a 64-CPU mega-server with 4 gigabytes of main memory isn't going to help you on a small single-CPU Linux box with 64 megs). There are no architectural limits on the number of webapps a single Tomcat instance can support, or the number of Tomcat instances on a single server. It all comes down to what resource bottlenecks you run into first in your application environment. In many webapp environments, the first bottleneck encountered is often database access, followed by the number of simultenaous requests being processed. Neither of those bottlenecks has much directly to do with how many different webapps you are talking about. Thanks! Craig ORIGINAL QUESTION: I am doing some Tomcat cost/benefit projections for my company. I need to determine the maximum number of applications that will run on Tomcat and still provide stable performance. I am not interested in a theoretical number at this time, just seeking information about what real developers are actually doing with real applications. At this time, I am not interested in what machine types, OSs, configurations, versions, are being used. I understand the answer to my questions will depend heavily on these issues as well as on the applications themselves. I just need to come up with a realistic number of instances/apps which are being run on a single machine by real users. I am seeking an answer to the following two questions: Number of Tomcat instances I am running on one machine: Number of individual applications I am running in all instances of Tomcat on one machine: Please feel free to respond to the mail list, or to me directly at [EMAIL PROTECTED] (if we don't want to clog the list with answers to this question). I will post a final resolution message to the mail list when I have come to some sort of conclusion. Thanks in advance for your help! -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Please help me improve my question skills (number of tomcata pps)
Thanks very much for the help. I do understand that there are many variables that will affect the answer to this question. At this time, all I am really after is what is the best that anyone has done, in any configuration. I am interested in real-world successes. Thanks again! -Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] Sent: Monday, June 10, 2002 10:33 AM To: Tomcat Users List Subject: Re: Please help me improve my question skills (number of tomcat apps) On Mon, 10 Jun 2002, Knutsen Jeffrey S wrote: Date: Mon, 10 Jun 2002 08:48:39 -0500 From: Knutsen Jeffrey S [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: '[EMAIL PROTECTED]' [EMAIL PROTECTED] Subject: Please help me improve my question skills (number of tomcat apps) I have submitted the following question and received no response. I know this isn't a technical problem, but I was hoping for responses from real developers. I thought it was a simple question, and have always received excellent and quick responses from the tomcat mail list in the past, so the problem must be with me or the way I am asking. Can someone please help me improve myself? Is this a stupid question? Have I perhaps asked it incorrectly? I am open and receptive to any constructive criticism available (I can take it, but maybe you could send a direct response if you want to be extremely brutal?!) All I really want to know is how many applications real developers are putting on one machine in the real world. I am just looking for an abstract number, and I am not worried about system configurations at this time. The problem is that there is no generally useful answer to your question as stated. It depends even more on the nature of the applications you are talking about (when the answer might even be zero for a particular server configuration) as the size of the server (an answer based on a 64-CPU mega-server with 4 gigabytes of main memory isn't going to help you on a small single-CPU Linux box with 64 megs). There are no architectural limits on the number of webapps a single Tomcat instance can support, or the number of Tomcat instances on a single server. It all comes down to what resource bottlenecks you run into first in your application environment. In many webapp environments, the first bottleneck encountered is often database access, followed by the number of simultenaous requests being processed. Neither of those bottlenecks has much directly to do with how many different webapps you are talking about. Thanks! Craig ORIGINAL QUESTION: I am doing some Tomcat cost/benefit projections for my company. I need to determine the maximum number of applications that will run on Tomcat and still provide stable performance. I am not interested in a theoretical number at this time, just seeking information about what real developers are actually doing with real applications. At this time, I am not interested in what machine types, OSs, configurations, versions, are being used. I understand the answer to my questions will depend heavily on these issues as well as on the applications themselves. I just need to come up with a realistic number of instances/apps which are being run on a single machine by real users. I am seeking an answer to the following two questions: Number of Tomcat instances I am running on one machine: Number of individual applications I am running in all instances of Tomcat on one machine: Please feel free to respond to the mail list, or to me directly at [EMAIL PROTECTED] (if we don't want to clog the list with answers to this question). I will post a final resolution message to the mail list when I have come to some sort of conclusion. Thanks in advance for your help! -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Please help me improve my question skills (number of tomcat a pps)
Hi, So the question reduces to:- 1. What are the extra memory requirements for a virtual host/context? 2. How much longer does it take to decide on a servlet/jsp to invoke for an extra virtual host/context? From my (limited) understanding of Tomcat, I would say the answer to both of these questions is negligible compared to the memory/overhead of processing a typical request. So your question reduces to how many requests can be processed by your instance, and that depends very much on your application. The distribution of the requests amongst the applications shouldm't matter. Can somebody more knowledgeable confirm the extra resource requirements for virtual hosts/contexts. Regards, Arshad - Original Message - From: Knutsen Jeffrey S [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Monday, June 10, 2002 4:37 PM Subject: RE: Please help me improve my question skills (number of tomcat a pps) Thanks very much for the help. I do understand that there are many variables that will affect the answer to this question. At this time, all I am really after is what is the best that anyone has done, in any configuration. I am interested in real-world successes. Thanks again! -Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] Sent: Monday, June 10, 2002 10:33 AM To: Tomcat Users List Subject: Re: Please help me improve my question skills (number of tomcat apps) On Mon, 10 Jun 2002, Knutsen Jeffrey S wrote: Date: Mon, 10 Jun 2002 08:48:39 -0500 From: Knutsen Jeffrey S [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: '[EMAIL PROTECTED]' [EMAIL PROTECTED] Subject: Please help me improve my question skills (number of tomcat apps) I have submitted the following question and received no response. I know this isn't a technical problem, but I was hoping for responses from real developers. I thought it was a simple question, and have always received excellent and quick responses from the tomcat mail list in the past, so the problem must be with me or the way I am asking. Can someone please help me improve myself? Is this a stupid question? Have I perhaps asked it incorrectly? I am open and receptive to any constructive criticism available (I can take it, but maybe you could send a direct response if you want to be extremely brutal?!) All I really want to know is how many applications real developers are putting on one machine in the real world. I am just looking for an abstract number, and I am not worried about system configurations at this time. The problem is that there is no generally useful answer to your question as stated. It depends even more on the nature of the applications you are talking about (when the answer might even be zero for a particular server configuration) as the size of the server (an answer based on a 64-CPU mega-server with 4 gigabytes of main memory isn't going to help you on a small single-CPU Linux box with 64 megs). There are no architectural limits on the number of webapps a single Tomcat instance can support, or the number of Tomcat instances on a single server. It all comes down to what resource bottlenecks you run into first in your application environment. In many webapp environments, the first bottleneck encountered is often database access, followed by the number of simultenaous requests being processed. Neither of those bottlenecks has much directly to do with how many different webapps you are talking about. Thanks! Craig ORIGINAL QUESTION: I am doing some Tomcat cost/benefit projections for my company. I need to determine the maximum number of applications that will run on Tomcat and still provide stable performance. I am not interested in a theoretical number at this time, just seeking information about what real developers are actually doing with real applications. At this time, I am not interested in what machine types, OSs, configurations, versions, are being used. I understand the answer to my questions will depend heavily on these issues as well as on the applications themselves. I just need to come up with a realistic number of instances/apps which are being run on a single machine by real users. I am seeking an answer to the following two questions: Number of Tomcat instances I am running on one machine: Number of individual applications I am running in all instances of Tomcat on one machine: Please feel free to respond to the mail list, or to me directly at [EMAIL PROTECTED] (if we don't want to clog the list with answers to this question). I will post a final resolution message to the mail list when I have come to some sort of conclusion. Thanks in advance for your help! -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe
Re: Please help me improve my question skills (number of tomcat apps)
On Mon, 10 Jun 2002, Arshad Mahmood wrote: Date: Mon, 10 Jun 2002 16:49:07 +0100 From: Arshad Mahmood [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: Please help me improve my question skills (number of tomcat a pps) Hi, So the question reduces to:- 1. What are the extra memory requirements for a virtual host/context? 2. How much longer does it take to decide on a servlet/jsp to invoke for an extra virtual host/context? From my (limited) understanding of Tomcat, I would say the answer to both of these questions is negligible compared to the memory/overhead of processing a typical request. So your question reduces to how many requests can be processed by your instance, and that depends very much on your application. The distribution of the requests amongst the applications shouldm't matter. Can somebody more knowledgeable confirm the extra resource requirements for virtual hosts/contexts. Virtual hosts and webapps are both looked up via Hashtables (Tomcat 3.x) or HashMaps (Tomcat 4.x), so the cost is indeed very small - so small that it's basically not worth worrying about for a standalone Tomcat installation. When you're using Tomcat behind a web connector, it really depends on how the connector is implemented -- and someone else will have to answer those questions; I never use 'em so don't have any idea. Regards, Arshad Craig -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Please help me improve my question skills (number of tomcat apps)
Your question cannot be answered without specifying criteria. 1) OS type 2) JVM type 3) Type and Complexity of Application 4) Are you using connectors 5) Are you connecting to databases Your current question is like asking how fast and how far will a car go. I don`t care what kind of car, or engine. Adrian - Original Message - From: Knutsen Jeffrey S [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, June 10, 2002 9:48 AM Subject: Please help me improve my question skills (number of tomcat apps) I have submitted the following question and received no response. I know this isn't a technical problem, but I was hoping for responses from real developers. I thought it was a simple question, and have always received excellent and quick responses from the tomcat mail list in the past, so the problem must be with me or the way I am asking. Can someone please help me improve myself? Is this a stupid question? Have I perhaps asked it incorrectly? I am open and receptive to any constructive criticism available (I can take it, but maybe you could send a direct response if you want to be extremely brutal?!) All I really want to know is how many applications real developers are putting on one machine in the real world. I am just looking for an abstract number, and I am not worried about system configurations at this time. Thanks! ORIGINAL QUESTION: I am doing some Tomcat cost/benefit projections for my company. I need to determine the maximum number of applications that will run on Tomcat and still provide stable performance. I am not interested in a theoretical number at this time, just seeking information about what real developers are actually doing with real applications. At this time, I am not interested in what machine types, OSs, configurations, versions, are being used. I understand the answer to my questions will depend heavily on these issues as well as on the applications themselves. I just need to come up with a realistic number of instances/apps which are being run on a single machine by real users. I am seeking an answer to the following two questions: Number of Tomcat instances I am running on one machine: Number of individual applications I am running in all instances of Tomcat on one machine: Please feel free to respond to the mail list, or to me directly at [EMAIL PROTECTED] (if we don't want to clog the list with answers to this question). I will post a final resolution message to the mail list when I have come to some sort of conclusion. Thanks in advance for your help! -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: please help me
First thing to do is look at the log. tomcat 4 is much better at logging than version 3. If you did not chnge the logging entry in the server.xml the examples log file will show details about what is happening when your webapp (context as Tomcat4 calls it) is loaded. If you simply see an entry about what is expected in a web.xml the most likely thing is that you have servlet-mapping entries mixed in among your servlet entries. Now all the servlet mapping must appear after all the servlet entries. The parameter icon has changed to become small or large - again look at the log for details. Another thing we noticed in Windows (if that is your platform) was that in Tomcat 3 the WEB-INF directory name could be lower case, Tomcat 4 insists that it must be upper case. hope this helps, Jon G-S -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Janarthanan, Prasanna Sent: 14 April 2002 14:04 To: '[EMAIL PROTECTED]' Subject: please help me we have our web application running with tomcat 3.2.3. It is working fine but now iam upgradin to tomcat 4.0. here i face problem in context of server.xml. I have written the context in server.xml. I wonder whether it has any touch with the web.xml file of my web application. coz the examples given in tomcat 4 has a web.xml file which has some large contents which i don't have it in web.xml file of my web application. but with my own web.xml itself it was working fine with tomcat 3.2.3. please calrify me where i need to make changes for this tomcat 4 to work with my web application.. probably u can help in the best way.. as i saw ur mail in tomcat user list as u are very well working with tomcat 4.0.2. please help me out. prassana deshaw india software pvt limited. -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] ___ tomcat-users mailing list [EMAIL PROTECTED] https://mailman.real-time.com/mailman/listinfo/tomcat-users -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: please help me
thanks for the clarifications, i have worked with this tomcat for the past week. it is now giving a strange error for my context added in server.xml file. just i did it like explained in the documentation. But soon after i start the tomcat and see the log files, it is giving error : -- marking context as unavailable due to previous errors. error entering the context /(my context name). i searched the cause of this problem . but u know there are no relevant answers for this in any of the tomcat mailing list. I wonder how come it is so.. All what i think is, the web.xml file of my web application is not able to act for tomcat 4 which was working fine for tomcat 3.2.3. If i see the web.xml file of examples web application in tomcat 4, it has some extra elemts like filters which are not available in my web application. Also there are no proper documentation for configuiring the web.xml file of the web application to work with tomcat 4. Please dicuss about this as i wonder this could be important for tomcat 4. Also many in the world has this problem. thanks prassana -Original Message- From: Fabian Sommer [mailto:[EMAIL PROTECTED]] Sent: Sunday, April 14, 2002 8:25 PM To: Tomcat Users List Subject: Re: please help me perhaps you could post some more information? Which errors do you get from tomcat if you try to access your application? In general, although i've not been a Tomcat3.2-user, i read in a few postings on this list that tomcat4.0 in contrast to 3.2 has built in a xml-parser and stops interpreting the xml-files if there are i.e. syntax errors. So a web.xml file running under tomcat3.2 needs not to be a fine working file under 4.0. Fabian -- 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: PLEASE HELP ME: JNDI ERROR 1
Put a break point in between and examine Context and its contents. Also check the spelling/case of datasource lookup name. If you are creating the Datasource yourself, check for any exceptions during its registration. If the DS is on an application server, talk to your Server admin. regards hemant - Original Message - From: Laura [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, April 15, 2002 12:25 PM Subject: PLEASE HELP ME: JNDI ERROR 1 Other information because I don't know what to do. The exception is created when I call my function getConnection(). The code is when I execute con = ds.getConnection();. The code is: static { try { Context initCtx = new InitialContext(); System.out.println([DEBUG] Dopo l'InitialContext = + initCtx.toString()); Context envCtx = (Context) initCtx.lookup(java:comp/env); System.out.println([DEBUG] Dopo lookup java:comp/env = + envCtx.toString()); DataSource ds = (DataSource) envCtx.lookup(dbName); System.out.println([DEBUG] Datasource = + ds.toString()); con = ds.getConnection(); if (con == null) System.out.println([ERROR] Connessione nulla); } catch (Exception ex) { System.out.println([ERROR] Errore = + ex.toString() + \n + ex.getMessage()); con = null; } } protected synchronized Connection getConnection() { while (conFree == false) { try { wait(); } catch (InterruptedException e) { System.out.println([ERROR] Eccezione nella getConnection() = + e.toString()); } } conFree = false; System.out.println([DEBUG] Punto 1); notify(); System.out.println([DEBUG] Punto 2); return con; } Please help me. Before this code was ok. Has someone some idea? Help. Laura -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: PLEASE HELP ME: JNDI ERROR 1
I think that the context is ok bacause the log file (catalina.out) tells me: [DEBUG] InitialContext = javax.naming.InitialContext@46110f9b [DEBUG] lookup java:comp/env = org.apache.naming.NamingContext@3700f9b [DEBUG] Datasource = Resource reference to a factory for java.sql.Connection instances that may be used for talking to a particular database that is configured in the server.xml file. So ds isn't empty: the exception is thrown when I call: Connection con = ds.getConnection(); The Datasource is Tomcat's Datasource ( I have followed jndi tutorial) Laura Alle 18:54, lunedì 15 aprile 2002, hai scritto: Put a break point in between and examine Context and its contents. Also check the spelling/case of datasource lookup name. If you are creating the Datasource yourself, check for any exceptions during its registration. If the DS is on an application server, talk to your Server admin. regards hemant - Original Message - From: Laura [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, April 15, 2002 12:25 PM Subject: PLEASE HELP ME: JNDI ERROR 1 Other information because I don't know what to do. The exception is created when I call my function getConnection(). The code is when I execute con = ds.getConnection();. The code is: static { try { Context initCtx = new InitialContext(); System.out.println([DEBUG] Dopo l'InitialContext = + initCtx.toString()); Context envCtx = (Context) initCtx.lookup(java:comp/env); System.out.println([DEBUG] Dopo lookup java:comp/env = + envCtx.toString()); DataSource ds = (DataSource) envCtx.lookup(dbName); System.out.println([DEBUG] Datasource = + ds.toString()); con = ds.getConnection(); if (con == null) System.out.println([ERROR] Connessione nulla); } catch (Exception ex) { System.out.println([ERROR] Errore = + ex.toString() + \n + ex.getMessage()); con = null; } } protected synchronized Connection getConnection() { while (conFree == false) { try { wait(); } catch (InterruptedException e) { System.out.println([ERROR] Eccezione nella getConnection() = + e.toString()); } } conFree = false; System.out.println([DEBUG] Punto 1); notify(); System.out.println([DEBUG] Punto 2); return con; } Please help me. Before this code was ok. Has someone some idea? Help. Laura -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: please help me
First thing to do is look at the log. tomcat 4 is much better at logging than version 3. If you did not change the logging entry in the server.xml the examples log file will show details about what is happening when your webapp (context as Tomcat4 calls it) is loaded. If you simply see an entry about what is expected in a web.xml the most likely thing is that you have servlet-mapping entries mixed in among your servlet entries. Now all the servlet mapping must appear after all the servlet entries. The parameter icon has changed to become small or large - again look at the log for details. Another thing we noticed in Windows (if that is your platform) was that in Tomcat 3 the WEB-INF directory name could be lower case, Tomcat 4 insists that it must be upper case. hope this helps, Jon G-S -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Janarthanan, Prasanna Sent: 14 April 2002 14:04 To: '[EMAIL PROTECTED]' Subject: please help me we have our web application running with tomcat 3.2.3. It is working fine but now iam upgradin to tomcat 4.0. here i face problem in context of server.xml. I have written the context in server.xml. I wonder whether it has any touch with the web.xml file of my web application. coz the examples given in tomcat 4 has a web.xml file which has some large contents which i don't have it in web.xml file of my web application. but with my own web.xml itself it was working fine with tomcat 3.2.3. please calrify me where i need to make changes for this tomcat 4 to work with my web application.. probably u can help in the best way.. as i saw ur mail in tomcat user list as u are very well working with tomcat 4.0.2. please help me out. prassana deshaw india software pvt limited. -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] ___ tomcat-users mailing list [EMAIL PROTECTED] https://mailman.real-time.com/mailman/listinfo/tomcat-users -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: Please help me on a question about TOMCAT OR APACHE + TOMCAT
Anybody familiar with sql ? I have a question here, how to link 2 tables from JSP when they have a same field name ?
RE: Please help me on a question about TOMCAT OR APACHE + TOMCAT
Try something like this: select a.fieldname1, b.fieldname1 from table1 a, table2 b Where you put the a after the first table name and the b after the second table name. Then you refer to the fieldnames with those letters first so sql knows which table to look in for that field. Dale Nicholson -Original Message- From: Lee Chin Khiong [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 10, 2002 1:43 AM To: 'Tomcat Users List' Subject: RE: Please help me on a question about TOMCAT OR APACHE + TOMCAT Anybody familiar with sql ? I have a question here, how to link 2 tables from JSP when they have a same field name ? -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: Please help me on a question about TOMCAT OR APACHE + TOMCAT
I would suggest a minor addition to the below ... where a.fieldname1= b.fieldname1 otherwise the results could be eerrr well rather large ( select what you want ...) Nicholson, Dale wrote: Try something like this: select a.fieldname1, b.fieldname1 from table1 a, table2 b Where you put the a after the first table name and the b after the second table name. Then you refer to the fieldnames with those letters first so sql knows which table to look in for that field. Dale Nicholson -Original Message- From: Lee Chin Khiong [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 10, 2002 1:43 AM To: 'Tomcat Users List' Subject: RE: Please help me on a question about TOMCAT OR APACHE + TOMCAT Anybody familiar with sql ? I have a question here, how to link 2 tables from JSP when they have a same field name ? -- 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: Please help me on a question about TOMCAT OR APACHE + TOMCAT
Tomcat Standalone is not an enterprise webserver, and will not stand up to the pounding that Apache can take. I think you would find that your response time drops off rather quickly if you are hosting 200 active virtual domains. If you don't serve many concurrent requests, and don't need the power and flexibility of apache, tomcat standalone is fine. Ken Lalit Nagpal wrote: hello, i am using tomcat as a standalone. i have jsps and servlets working quiet normally, i see no reason why apache should be connected to tomcat if servlets and jsp serve your purpose. although some people argue that for static pages apache will respond to requests much faster than tomcat. however i feel the response time difference is negligible. bye Lalit Nagpal - Do You Yahoo!? Yahoo! Tax Center - online filing with TurboTax -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: Please help me on a question about TOMCAT OR APACHE + TOMCAT
Hi; I have a sample with example virtual host setup on my Chiki open source project site. http://chiki.wiserlabz.com/view.do?nodeId=Tomcat4 Unfortunately, you'll have to sign in and edit to view the full source. I think it answers your question. Personally, I'd probably still run Apache in front, but it really doesn't matter. todd http://www.wiserlabz.com collaborative effort to promote Novell and Open Source solutions Jakarta Tomcat Newsgroup (@Basebeans.com) wrote: Subject: Please help me on a question about TOMCAT OR APACHE + TOMCAT From: Hyunjin Kim [EMAIL PROTECTED] === all my web pages will be in jsps (to use include). Should I still use Apache in front of TOMCAT? won't it be better to use tomcat only in my case?(although I will still use images and other medias) I think coming through apache and talking to tomcat via a connector is more pricey in my case... and also.. if i choose to use tomcat only.. (stand-alone).. can i use name virtual host?? It seems like Host tag in server.xml is for that purpose.. but there's very vew documentations on how to configure server.xml file for tomcat-stand alone + name virtual host.. -- 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: Please help me on a question about TOMCAT OR APACHE + TOMCAT
Howdy. I found a very useful document that describes in simple terms how to set up Apache + (n * Tomcat) in load-balancing fashion. That may be something to consider just for flexibility. I currently have mine configured with only one Tomcat, so the load balancer isn't doing much for me, but it's trivial for me to add another internal machine with Tomcat and share the load. http://www.ubeans.com/tomcat/index.html Good luck. Michael --- todd tredeau [EMAIL PROTECTED] wrote: Hi; I have a sample with example virtual host setup on my Chiki open source project site. http://chiki.wiserlabz.com/view.do?nodeId=Tomcat4 Unfortunately, you'll have to sign in and edit to view the full source. I think it answers your question. Personally, I'd probably still run Apache in front, but it really doesn't matter. todd http://www.wiserlabz.com collaborative effort to promote Novell and Open Source solutions Jakarta Tomcat Newsgroup (@Basebeans.com) wrote: Subject: Please help me on a question about TOMCAT OR APACHE + TOMCAT From: Hyunjin Kim [EMAIL PROTECTED] === all my web pages will be in jsps (to use include). Should I still use Apache in front of TOMCAT? won't it be better to use tomcat only in my case?(although I will still use images and other medias) I think coming through apache and talking to tomcat via a connector is more pricey in my case... and also.. if i choose to use tomcat only.. (stand-alone).. can i use name virtual host?? It seems like Host tag in server.xml is for that purpose.. but there's very vew documentations on how to configure server.xml file for tomcat-stand alone + name virtual host.. -- 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] __ Do You Yahoo!? Yahoo! Tax Center - online filing with TurboTax http://taxes.yahoo.com/ -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: Please help me on a question about TOMCAT OR APACHE + TOMCAT
hello, i am using tomcat as a standalone. i have jsps and servlets working quiet normally, i see no reason why apache should be connected to tomcat if servlets and jsp serve your purpose. although some people argue that for static pages apache will respond to requests much faster than tomcat. however i feel the response time difference is negligible. bye Lalit Nagpal - Do You Yahoo!? Yahoo! Tax Center - online filing with TurboTax
RE: Software caused connection abort (Was: Re: Please help me! problem with tomcat.)
On March 26, 2002 07:29 pm, Zhe wrote: Maybe it's silly, but I want get some help! In one of my jsp page I want to show a image dynamically, so I put an dynamical IMG tag in the HTML jsp is outputting. But when the client request the page the image cann't be showen. And there is some error message : 2002-03-26 17:40:00 - Ctx( /gongwen ): IOException in: R( /gongwen + /image/0002-01.tif + null) Software caused connection abort: socket write error. When I change the daynamical IMG tag to src=/image/0002-01.jpg and put 0002-01.jpg file into corresponding path, it works well. I don't know whether thetomcat cann't transfer the tif file. I am useing win2k + tomcat3.2.3 +jdk1.4 If it's any consolation, I've encountered this behaviour under Tomcat 3.2 module for Forte v3, using JDK 1.4 under Linux w/libc2.2.3. I've also experienced it under the Tomcat 3.2 module for Forte v3 with JDK 1.3.1_02 under Windows 2000 w/sp2. It seems to only happen on pages that employ large numbers of images (not necessarily large), and when using a frameset. I've been able to reproduce it when browsing under Netscape 6.2.1 in Linux. However, browing under Internet Explorer 5.0 SP2 under Windows 2000 SP2, I wasn't able to reproduce the behaviour; it only happened once. The problem was an internal error in the HotSpot client VM under JDK 1.4. I still haven't determined the cause of the error under JDK 1.3.1_02 under Windows, as I was unable to reproduce the error. -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: Please help me found Jar file needed to compile Tag Handler
Isak, It's still servlet.jar, in tomcat4\common\lib. Andy -Original Message- From: Isak Rickyanto [mailto:[EMAIL PROTECTED]] Sent: 21 March 2002 05:42 To: Tomcat User Group Subject: Please help me found Jar file needed to compile Tag Handler Hello all please help me... OK... I try to compile Java program to make simple custom tag I found error when compile it... I think because it doesn't found the jar file needed to compile.. I found that the jar file needed to compile in Tomcat 3 is servlet.jar but I use Tomcat 4.0.1 now... and I have set PATH, CLASSPATH in my autoexec.bat like this : set CLASSPATH=c:\tomcat4\server\lib\catalina.jar;tomcat4\server\lib\se rvlets-def ault.jar set CATALINA_HOME=c:\tomcat4 set JAVA_HOME=c:\jdk1.3.1 PATH c:\jdk1.3.1\bin;c:\tomcat4\lib Is it right ? I don't know the jar file needed... so I can import this : import javax.servlet.jsp.*; import javax.servlet.jsp.tagext.*; import javax.servlet.http.HttpServletRequest; Thank's for your attention -- 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: Please help me
Seems, you need to modify catalina.sh script to add all .jar under $JAVA_HOME/lib to class path, which is passed to java. To do that you need to understand shell. Startup.sh doesn't use CLASSPATH environment variable. [EMAIL PROTECTED] wrote: Hi all, I'm an italian student: for my thesis I have to install Tomcat on a sun machine with solaris 8 because I have to do some experiments. I have tried to install Tomcat 3.3a but when I type ./startup.sh for starting tomcat I get this error: Exception in thread main java.lang.NoClassDefFoundError: org/ap ache/tomcat/startup/Main I have followed all the instructions: TOMCAT_HOME is set, JAVA_HOME is set and I exported them. I can't understand the error: where is my error? Please help me. Thanks for your help Laura -- Lev AssinovskyPeterlink Web ProgrammerSt. Petersburg, Russia Tel/Fax: +7 812 3275343 197022 ul.Chapigina 7Á E-mail: [EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: Please help me
what is TOMCAT_HOME set to? I assume you are using Tomcat 3.x.x version. RS lauradiara on 03/05/2002 08:42:07 AM Please respond to Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc: Subject: Please help me Hi all, I'm an italian student: for my thesis I have to install Tomcat on a sun machine with solaris 8 because I have to do some experiments. I have tried to install Tomcat 3.3a but when I type ./startup.sh for starting tomcat I get this error: Exception in thread main java.lang.NoClassDefFoundError: org/ap ache/tomcat/startup/Main I have followed all the instructions: TOMCAT_HOME is set, JAVA_HOME is set and I exported them. I can't understand the error: where is my error? Please help me. Thanks for your help Laura -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: Please help me on NT Authentication
Hi there, I can give you all the help you need -- I just did that. You will need to create a custom realm (not tough), and then there are some infrastructure dependent details to consider. Email me back if you want info. Chris -Original Message- From: ans M [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 20, 2001 3:55 AM To: [EMAIL PROTECTED] Subject: Please help me on NT Authentication Hi, I am building a system for the Intranet. We have a NT network. I wanted to know if by any means I can use the username and password that is registered in the NT Server, so that when a user logs in to NT system, he should be automatically logged in to my application built on Tomcat? Can anybody guide me on how to go abt it? Thanks in anticipation -- You Win! We Donate. Register to win $10,000 and Lycos will donate $1 to the Children's Wish Foundation (up to $20,000 in total). Limit of one registration per person. Go to http://shop.lycos.com/holidays/sweeps/ -- 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: Please help me on NT Authentication
I would be interested too, if you can share it. Thanks. Bongiorno.Christian wrote: Hi there, I can give you all the help you need -- I just did that. You will need to create a custom realm (not tough), and then there are some infrastructure dependent details to consider. Email me back if you want info. Chris -Original Message- From: ans M [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 20, 2001 3:55 AM To: [EMAIL PROTECTED] Subject: Please help me on NT Authentication Hi, I am building a system for the Intranet. We have a NT network. I wanted to know if by any means I can use the username and password that is registered in the NT Server, so that when a user logs in to NT system, he should be automatically logged in to my application built on Tomcat? Can anybody guide me on how to go abt it? Thanks in anticipation -- You Win! We Donate. Register to win $10,000 and Lycos will donate $1 to the Children's Wish Foundation (up to $20,000 in total). Limit of one registration per person. Go to http://shop.lycos.com/holidays/sweeps/ -- 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] -- ** Bruno Mizzi-Vernay [EMAIL PROTECTED] #ICQ : 1923685 ** -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: Please help me on NT Authentication
Since this is a security sensitive issue, if you would like to email me offline to discuss that would be cool. If not, we can discuss on mailing-group. Let me know and then I have some questions Chris -Original Message- From: Bruno VERNAY [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 20, 2001 8:50 AM To: Tomcat Users List Subject: Re: Please help me on NT Authentication I would be interested too, if you can share it. Thanks. Bongiorno.Christian wrote: Hi there, I can give you all the help you need -- I just did that. You will need to create a custom realm (not tough), and then there are some infrastructure dependent details to consider. Email me back if you want info. Chris -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: Please help me on NT Authentication
Can't you change the IP adresses and other passwords ? I guess they are too numerous ? I was asking for an intranet project, but I can't begin testing right now. I wouldn't even have enough right to access to our NT server. I would have keep your information for later use. -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: Please help me on NT Authentication
I would like this info too. Thanks, Jim Urban Product Manager Netsteps Inc. Suite 505E 1 Pierce Pl. Itasca, IL 60143 Voice: (630) 250-3045 x2164 Fax: (630) 250-3046 -Original Message- From: Bongiorno.Christian [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 20, 2001 7:37 AM To: Tomcat Users List; [EMAIL PROTECTED] Subject: RE: Please help me on NT Authentication Hi there, I can give you all the help you need -- I just did that. You will need to create a custom realm (not tough), and then there are some infrastructure dependent details to consider. Email me back if you want info. Chris -Original Message- From: ans M [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 20, 2001 3:55 AM To: [EMAIL PROTECTED] Subject: Please help me on NT Authentication Hi, I am building a system for the Intranet. We have a NT network. I wanted to know if by any means I can use the username and password that is registered in the NT Server, so that when a user logs in to NT system, he should be automatically logged in to my application built on Tomcat? Can anybody guide me on how to go abt it? Thanks in anticipation -- You Win! We Donate. Register to win $10,000 and Lycos will donate $1 to the Children's Wish Foundation (up to $20,000 in total). Limit of one registration per person. Go to http://shop.lycos.com/holidays/sweeps/ -- 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] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: Please help me on NT Authentication
Are these questions on NT authentication directed at me? Not that I mind, I just need to know my audience -Original Message- From: Bruno VERNAY [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 20, 2001 9:23 AM To: Tomcat Users List Subject: Re: Please help me on NT Authentication Can't you change the IP adresses and other passwords ? I guess they are too numerous ? I was asking for an intranet project, but I can't begin testing right now. I wouldn't even have enough right to access to our NT server. I would have keep your information for later use. -- 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: Please help me on NT Authentication
Yes ... you said that you did it. Bongiorno.Christian wrote: Are these questions on NT authentication directed at me? Not that I mind, I just need to know my audience -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: Please help me on NT Authentication
Well, if you create a custom realm you can specify anything your 'lil heart desires in the config.xml file. You have all the right you need to access your NT domain controller if you can log onto the network with your domain username and password. Are you using a 2K domain or an NT domain. Ask your admin if you're not sure. -Original Message- From: Bruno VERNAY [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 20, 2001 9:23 AM To: Tomcat Users List Subject: Re: Please help me on NT Authentication Can't you change the IP adresses and other passwords ? I guess they are too numerous ? I was asking for an intranet project, but I can't begin testing right now. I wouldn't even have enough right to access to our NT server. I would have keep your information for later use. -- 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: Please help me on NT Authentication
It's still a NT Domain. But my PC is an 2k workstation. Bongiorno.Christian wrote: Well, if you create a custom realm you can specify anything your 'lil heart desires in the config.xml file. You have all the right you need to access your NT domain controller if you can log onto the network with your domain username and password. Are you using a 2K domain or an NT domain. Ask your admin if you're not sure. -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: Please help me on NT Authentication
Well, for Bruno and Group, here is what we did. I don't know if it is going to work out for you. And Yes, this is a TC solution not weblogic. Don't be miserable! We had two implementations since we were in the middle of an exchange upgrade and just rolled out a 2K domain. We use exchange and are setup for NT authentication on exchange. Given this information Implementation 1) My first realm pop-ed off the exchange server with domain username and pass. Since the exchange server uses NT authentication that worked. It is/was kinda hackey, but it did for a few weeks until we rolled out exchange 2K. to get the roles, the realm then went and looked into a company wide addressbook (an LDAP server) for a particular attribute that had been reserved for just such purposes. In there we added roles with ';' semi-colons as delimiters. so if(popOffExchange(username,pass) == GOOD) { roles = checkLDAPforRoles(attribute,ssearchbase); } We couldn't use the JNDI realm with TC because our LDAP at the time required no authentication. 2) Win2k domain with Active Directory (AD) and exchange 2k. Similar to above, but with everything being one-stop login. Because AD is an LDAP server, and requires domain logon to get into it, authenticating against it using the credentials supplied and then going straight to the user branch of the LDAp tree was great. Exchange 2K was essential because it adds a field in AD for customAttributes which we use for roles. We couldn't use JNDI realm here as we don't have a single user account to lookup info and neither our admin nor I knew were (or if) the passwds for NT were in AD. if you are short on time you can probably buy the bins from my company, but they only work with exch 2k, and win2k domain with AD. If you are in that situation then this will just plug in. Chris -Original Message- From: ans M [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 20, 2001 10:24 AM To: Bongiorno.Christian Subject: RE: Please help me on NT Authentication Hey Don't tell me how to do this in Weblogic I had mentioned it clearly that I am Using Tomcat and don't forget that U are in Tomcat User List -- On Thu, 20 Dec 2001 10:05:30 Bongiorno.Christian wrote: What mail servers do you run and how do they authenticate? I.E... exchange 5.5 exchange 2K Hack-ware pop what? -Original Message- From: ans M [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 20, 2001 9:57 AM To: Bongiorno.Christian Subject: RE: Please help me on NT Authentication I am using NT Domain -- On Thu, 20 Dec 2001 09:24:57 Bongiorno.Christian wrote: First thing, are you using Win NT domain Controllers or Win2k ? If win2k, do you have Active Directory installed? What mail servers do you run? How do they authenticate? -Original Message- From: ans M [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 20, 2001 9:14 AM To: Bongiorno.Christian Subject: RE: Please help me on NT Authentication HI Thanks for helping me. Please tell me how to do it in detail. Also tell me if any document available? Thanks Reply soon -- On Thu, 20 Dec 2001 08:37:07 Bongiorno.Christian wrote: Hi there, I can give you all the help you need -- I just did that. You will need to create a custom realm (not tough), and then there are some infrastructure dependent details to consider. Email me back if you want info. Chris -Original Message- From: ans M [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 20, 2001 3:55 AM To: [EMAIL PROTECTED] Subject: Please help me on NT Authentication Hi, I am building a system for the Intranet. We have a NT network. I wanted to know if by any means I can use the username and password that is registered in the NT Server, so that when a user logs in to NT system, he should be automatically logged in to my application built on Tomcat? Can anybody guide me on how to go abt it? Thanks in anticipation -- You Win! We Donate. Register to win $10,000 and Lycos will donate $1 to the Children's Wish Foundation (up to $20,000 in total). Limit of one registration per person. Go to http://shop.lycos.com/holidays/sweeps/ -- 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] -- You Win! We Donate. Register to win $10,000 and Lycos will donate $1 to the Children's Wish Foundation (up to $20,000 in total). Limit of one registration per person. Go to http://shop.lycos.com/holidays/sweeps/ -- You Win! We Donate. Register to win $10,000 and Lycos will donate $1 to the Children's Wish Foundation (up to $20,000 in total). Limit of one registration per person. Go to http://shop.lycos.com/holidays/sweeps/ -- You Win! We Donate. Register to win $10,000 and Lycos will donate $1
RE: Please help me on NT Authentication
P.S. The classes for NT authentication in JAAS are WINDOWS dependent. They use a native DLL and JNI. Sorry, been there -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: please, help me!
I have a web aplication and this aplication read some system properties and this is funcion corret in tomcat, but now I want to put a copy of this application and I want to read same system properties but with other values that I will define. My question is: Can I define two different shells (enviroment) in tomcat (two context with a shell each one) in ordet to manage two copys of that system properties? I tried with two JVM's differents but I didn't get. Thanks Monica What kind of system properties? The name of apps. is strongly the same? I think you can do this if the apps. names are different. Marcelo P.S.: excuseme, my english is not good! ;-) _ Hable con sus amigos en línea, pruebe MSN Messenger: http://messenger.msn.es -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: please help me
tomcat is working fine on win2k - Original Message - From: zzb To: [EMAIL PROTECTED] Sent: Friday, April 20, 2001 7:30 PM Subject: please help me Dear Sir. Where can I download jni_connect.dll ? In addition, whether can Tomcat be installed od windows 2000 server? Thanks a lot yours zzb
Re: please help me
Under http://jakarta.apache.org/builds/jakarta-tomcat/release/v3.2.1/bin/win32/i386/ you'll find the required files. Perhaps I don't understand your question right, but you can install/use tomcat with your existing Win2K installation. Regards Steffen Gransow Dear Sir. Where can I download jni_connect.dll ? In addition, whether can Tomcat be installed od windows 2000 server? Thanks a lot yours zzb -- GMX - Die Kommunikationsplattform im Internet. http://www.gmx.net
RE: *** Please help me
It would appear that your Tomcat is not working correctly (looking at the isapi log it determines it should redirect, however the the service() method indicates that its failing. Does Tomcat work on port 8080? I would guess that the Microsoft JVM is causing your problems. Try installing either Sun's JVM or IBM's. Randy -Original Message- From: tefan Babos [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 01, 2001 1:00 PM To: [EMAIL PROTECTED] Subject: *** Please help me Welcome, I can't configure the ISAPI Redirector. I perform four installations, and I exactly keep your procedure, but the http://localhost/examples/jsp/index.html, cannot execute... I don't known where problem is. My configuration is Windows 98, PWS 4(working properly). To this message I attached all needed files, mean conf(I use Microsoft Java SDK), logs, pws and registry information about my settings. Thank You very much for answer. Stefan Babos Czech Republic - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: please help me
You really probably want to start with http://java.sun.com/docs/books/tutorial/ And then visit Javasoft / JavaServer Pages- http://java.sun.com/products/jsp/technical.html Javasoft / TagLibs - http://java.sun.com/products/jsp/taglibraries.html JSR-052 - Standard Taglib Expert Group - http://java.sun.com/aboutJava/communityprocess/jsr/jsr_052_jsptaglib.htm l Javasoft / Servlet API - http://java.sun.com/products/servlet/download.html Javasoft / JavaBeans - http://java.sun.com/products/javabeans/docs/ Javasoft / JDBC API Documentation - http://java.sun.com/j2se/1.3/docs/guide/jdbc/index.html Javasoft / Java2 Enterprise Edition (J2EE) - http://java.sun.com/j2ee/blueprints/ *** REPLY SEPARATOR *** On 1/4/2001 at 5:50 PM yaya wrote: Hello.. Maybe this is out of topic, but i'm really thanksfull if anyone could give me many resources of jsp file specially in connectivity with database, how to get a form parameter in jsp, and get the result from database? please help me. Thanks - 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: please help me
i want to get information from database - Original Message - From: Ralph Einfeldt [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, January 04, 2001 5:56 PM Subject: AW: please help me At least tell us what are you trying to do in /servlet/qry_training.java at line 106 and some lines before. P.S.: It's a common convention to use classnames with upper case first letter. (Like QryTraining) -Ursprüngliche Nachricht- Von: yaya [mailto:[EMAIL PROTECTED]] Gesendet: Donnerstag, 4. Januar 2001 11:46 An: tomcat milis Betreff: please help me snip/ java.lang.NoClassDefFoundError: ap/servlets/html at qry_training.doGet(qry_training.java:106) snip/ How can solve this problem? - 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: please help me
come on, almost all java programs use databases! Unless you give more information, the chances of someone helping you are very less. if the program/data is sensitive, you can post a modified version. java.lang.NoClassDefFoundError: ap/servlets/html at qry_training.doGet(qry_training.java:106) -Original Message- From: yaya [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 04, 2001 12:05 PM To: [EMAIL PROTECTED] Subject: Re: please help me i want to get information from database - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]