Tomcat 6 contractor...
We're looking to contract a specialist to assist us in our move to Tomcat 6.0. Please feel free to email me directly at [EMAIL PROTECTED] Thank you for your interest. Best regards, Mike Cronin Fax.com The New Way To Fax! http://www.fax.com/ www.fax.com Confidential: This electronic message and all contents contain information from Fax.com, Inc. which may be privileged, confidential or otherwise protected from disclosure. The information is intended to be for the addressee(s) only. If you are not an addressee, any disclosure, copy, distribution or use of the contents of this message is prohibited. If you have received this electronic message in error, please notify the sender by reply e-mail and destroy the original message and all copies. Thank you.
RE: Connector Compression
Great responses guys! Thanks very much! Mike Fax.com The New Way To Fax! www.fax.com Confidential: This electronic message and all contents contain information from Fax.com, Inc. which may be privileged, confidential or otherwise protected from disclosure. The information is intended to be for the addressee(s) only. If you are not an addressee, any disclosure, copy, distribution or use of the contents of this message is prohibited. If you have received this electronic message in error, please notify the sender by reply e-mail and destroy the original message and all copies. Thank you. -Original Message- From: Peter Crowther [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 16, 2007 11:11 PM To: Tomcat Users List Subject: RE: Connector Compression From: Mike Cronin [mailto:[EMAIL PROTECTED] Is there any reason why you would not want to use compression on a Connector? You're trading CPU cycles (running the compression algorithm) for bandwidth. I suspect you're also trading a certain amount of RAM (some extra buffers), though I haven't checked or measured how much so I may be talking out of my hat (as usual). Finally, you may be increasing the time to the first byte arriving back at the client, as you're increasing the amount of output the client has to generate before the first segment of the response is sent. If your servers are CPU-bound, you may not have the spare cycles; if you're tight on RAM, check whether the compression increases the memory use. If you have timing requirements, check that a system with compression enabled still meets them. All that said, a typical business application almost certainly has spare CPU, some spare RAM and no tight timing constraints on the first byte being returned - it's generally bandwidth out of the server and querying the database that are the limiting factors. - Peter - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Connector Compression
Hi there, Is there any reason why you would not want to use compression on a Connector? Thanks in advance. Mike Fax.com The New Way To Fax! http://www.fax.com/ www.fax.com Confidential: This electronic message and all contents contain information from Fax.com, Inc. which may be privileged, confidential or otherwise protected from disclosure. The information is intended to be for the addressee(s) only. If you are not an addressee, any disclosure, copy, distribution or use of the contents of this message is prohibited. If you have received this electronic message in error, please notify the sender by reply e-mail and destroy the original message and all copies. Thank you.
Apache Directives help...
Hi there, I need to add the following Apache Directive in an attempt to fix a multi-part form POST issue being encountered due to an IE bug. Where are these directives set under Apache Tomcat 6? Is the http.conf a thing of the past? I'm a bit lost here. BrowserMatch .MSIE. \ nokeepalive ssl-unclean-shutdown \ downgrade-1.0 force-response-1.0 Thanks for your assistance! Mike Fax.com The New Way To Fax! http://www.fax.com/ www.fax.com Confidential: This electronic message and all contents contain information from Fax.com, Inc. which may be privileged, confidential or otherwise protected from disclosure. The information is intended to be for the addressee(s) only. If you are not an addressee, any disclosure, copy, distribution or use of the contents of this message is prohibited. If you have received this electronic message in error, please notify the sender by reply e-mail and destroy the original message and all copies. Thank you.
RE: Apache Directives help...
Thanks Charles. I realize that the directives I mentioned exist under Apache HTTP server, and was looking for a similar implementation under Apache Tomcat 6, which you have just helped me with. Thanks much! Mike Fax.com The New Way To Fax! www.fax.com Confidential: This electronic message and all contents contain information from Fax.com, Inc. which may be privileged, confidential or otherwise protected from disclosure. The information is intended to be for the addressee(s) only. If you are not an addressee, any disclosure, copy, distribution or use of the contents of this message is prohibited. If you have received this electronic message in error, please notify the sender by reply e-mail and destroy the original message and all copies. Thank you. -Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: Friday, September 14, 2007 2:19 PM To: Tomcat Users List Subject: RE: Apache Directives help... From: Mike Cronin [mailto:[EMAIL PROTECTED] Subject: Apache Directives help... Where are these directives set under Apache Tomcat 6? Are you confusing the Apache HTTP server (aka httpd) with Apache Tomcat? They're completely different entities. The directives you're inquiring about are for httpd, not Tomcat. For something similar in Tomcat, start with the restrictedUserAgents attribute for the HTTP Connector element: http://tomcat.apache.org/tomcat-6.0-doc/config/http.html - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Different sessions between JSP and Servlets...
Hey Mark, Your question as well as a previous post to another user in which you made the point that the appBase should never point to a root directory helped me resolve this and another JSP issue I was having. The change follows... Host name=my_site.com appBase=webapps\a_subfolder\ Context path= docBase=\my_root\ I cannot thank you and Hassan enough for your assistance with this issue. My very best regards, Mike Cronin Fax.com The New Way To Fax! www.fax.com Confidential: This electronic message and all contents contain information from Fax.com, Inc. which may be privileged, confidential or otherwise protected from disclosure. The information is intended to be for the addressee(s) only. If you are not an addressee, any disclosure, copy, distribution or use of the contents of this message is prohibited. If you have received this electronic message in error, please notify the sender by reply e-mail and destroy the original message and all copies. Thank you. -Original Message- From: Mike Cronin [mailto:[EMAIL PROTECTED] Sent: Thursday, September 06, 2007 11:41 AM To: 'Tomcat Users List' Subject: RE: Different sessions between JSP and Servlets... Host name=my_site.com appBase=webapps\a_subfolder\my_root\ Context path= docBase=\ The only Context I reference (whether right or wrong) is the default Context shown above. As coded, all applications successfully load using the default Context, but I'm not able to pass session variables between my servlets and JSPs. Thanks for your reply Mark. Mike Fax.com The New Way To Fax! www.fax.com Confidential: This electronic message and all contents contain information from Fax.com, Inc. which may be privileged, confidential or otherwise protected from disclosure. The information is intended to be for the addressee(s) only. If you are not an addressee, any disclosure, copy, distribution or use of the contents of this message is prohibited. If you have received this electronic message in error, please notify the sender by reply e-mail and destroy the original message and all copies. Thank you. -Original Message- From: Mark Thomas [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 05, 2007 7:37 PM To: Tomcat Users List Subject: Re: Different sessions between JSP and Servlets... Mike Cronin wrote: I started from a clean install and continue to encounter the issue where my JSP pages are not exposed to the session variables being set from within my servlets. I believe that my Host element is set up correctly as I can get to all of my site content as desired. What values are you using for appBase and docBase? Mark - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Different sessions between JSP and Servlets...
Thanks Christopher. At this point, the context is coded within the server.xml. I understand that the context should be placed within a context.xml file within a META-INF, but doing so has been giving me problems thus far (something I plan to tackle here shortly). As for the JSP/Servlet session issues discussed within this thread, I believe that I have them resolved. Thanks once again for your valued input. Best regards, Mike Fax.com The New Way To Fax! www.fax.com Confidential: This electronic message and all contents contain information from Fax.com, Inc. which may be privileged, confidential or otherwise protected from disclosure. The information is intended to be for the addressee(s) only. If you are not an addressee, any disclosure, copy, distribution or use of the contents of this message is prohibited. If you have received this electronic message in error, please notify the sender by reply e-mail and destroy the original message and all copies. Thank you. -Original Message- From: Christopher Schultz [mailto:[EMAIL PROTECTED] Sent: Thursday, September 06, 2007 2:30 PM To: Tomcat Users List Subject: Re: Different sessions between JSP and Servlets... -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mike, Mike Cronin wrote: Context path= docBase=\my_root\ You should remove both of these attributes from your Context in context.xml. As mentioned before in this thread, they are at best ignored, and at worst confused by Tomcat or anyone looking at the file. - -chris -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFG4HFw9CaO5/Lv0PARAtpCAJwOh4xIRxFIa6gNWZSfYACU04r+3wCeOY1a q3dTB8HeNvlJ/2gv9htG4kI= =uZFf -END PGP SIGNATURE- - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Different sessions between JSP and Servlets...
We'll do. Thanks. Fax.com The New Way To Fax! www.fax.com Confidential: This electronic message and all contents contain information from Fax.com, Inc. which may be privileged, confidential or otherwise protected from disclosure. The information is intended to be for the addressee(s) only. If you are not an addressee, any disclosure, copy, distribution or use of the contents of this message is prohibited. If you have received this electronic message in error, please notify the sender by reply e-mail and destroy the original message and all copies. Thank you. -Original Message- From: Hassan Schroeder [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 05, 2007 5:30 PM To: Tomcat Users List Subject: Re: Different sessions between JSP and Servlets... On 9/5/07, Mike Cronin [EMAIL PROTECTED] wrote: I definitely want this set up correctly, and I do intend to move the Context elements out of the server.xml, but I have not been able to successfully do so as none of the applications want to load from the context.xml. That's suspicious in and of itself, but if I were you I'd start with a clean install and make sure it works; then replace the default Context in webapps (the directory named ROOT) with your own. -- Hassan Schroeder [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Please help...
Brian, Hassan and Charles; did I happen to mention that you guys ROCK! Your responses assisted me in coming to the conclusion that the problem had nothing to do with the Resource element at all. It turns out that I had referenced this resource within the wrong Context (the default Context was actually being called). Silly mistake on my part, and it really helped out immensely to have some knowledgeable guys around to bounce this one off of. Thanks again for responding! Best regards, Mike Fax.com The New Way To Fax! www.fax.com Confidential: This electronic message and all contents contain information from Fax.com, Inc. which may be privileged, confidential or otherwise protected from disclosure. The information is intended to be for the addressee(s) only. If you are not an addressee, any disclosure, copy, distribution or use of the contents of this message is prohibited. If you have received this electronic message in error, please notify the sender by reply e-mail and destroy the original message and all copies. Thank you. -Original Message- From: Brian Munroe [mailto:[EMAIL PROTECTED] Sent: Sunday, September 02, 2007 10:18 AM To: Tomcat Users List Subject: Re: Please help... On 9/2/07, Caldarale, Charles R [EMAIL PROTECTED] wrote: Correct. It appears that Container is the default, but setting it explicitly certainly won't hurt. Gotcha, thanks. -- brian - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Please help...
Hi all, I am having a problem setting up a connection-pool via JNDI on Tomcat 6.0.14 utilizing Oracle 10g. Currently I have a Resource for my DataSource referenced within a Context element within the server.xml file. The classes12.jar file which contains the Oracle Driver, exists within the $CATLINA-HOME/lib. I am able to successfully access my tables outside of the connection pool so I know that I am getting to the driver. Problem: When attempting to connect via the connection pool, I encounter the following message. org.apache.commons.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'null' I have spent the last two days trying to figure this one out, and it has me stumped. There are plenty of references to this problem on Google, but nothing yet has led me to a solution. Please note that I am NOT receiving this error in reference to a No suitable driver SQLException. The following Resource element exists within a Context. Resource name=jdbc/OracleDS auth=Container type=javax.sql.DataSource driverClassName=oracle.jdbc.OracleDriver url=jdbc:oracle:thin:@..com::XX username=user password=pass maxActive=20 maxIdle=10 maxWait=-1/ The following exists within my web.xml file located in the WEB-INF folder within the Host's appBase path. resource-ref descriptionOracle DataSource/description res-ref-namejdbc/OracleDS/res-ref-name res-typejavax.sql.DataSource/res-type res-authContainer/res-auth /resource-ref Thanks in advance for your assistance! Best regards, Mike Cronin Fax.com The New Way To Fax! http://www.fax.com/ www.fax.com Confidential: This electronic message and all contents contain information from Fax.com, Inc. which may be privileged, confidential or otherwise protected from disclosure. The information is intended to be for the addressee(s) only. If you are not an addressee, any disclosure, copy, distribution or use of the contents of this message is prohibited. If you have received this electronic message in error, please notify the sender by reply e-mail and destroy the original message and all copies. Thank you.