AW: Tomcat SMPT TLS1.2
Yes, of course. Mail-1.4.jar is from May 2006. I'm not even sure if TLS existed back then. -Ursprüngliche Nachricht- Von: Ivano Luberti Gesendet: Montag, 11. März 2024 17:46 An: users@tomcat.apache.org Betreff: Re: Tomcat SMPT TLS1.2 I had issues in the past connectin to mailserver using TLS and solved them upgrading the webapplicatio library from mail-1.4.jar to javax.mail-1.6.2.jar Il 11/03/2024 17:41, Robert Turner ha scritto: > AFAIK, there is nothing in Tomcat for SMTP. This would be part of the > application you are running typically. It's possible (but not > guaranteed) that the web application is using the standard Java > libraries for SMTP, and as such, you may (but again not guaranteed) be > able to configure some of the mail settings via Java system properties > ( > https://javaee.github.io/javamail/docs/api/com/sun/mail/smtp/package-s > ummary.html > ). > > Best bet is to work with your application provider and their > documentation / support. > > Also, consider upgrading Java and Tomcat to current / supported > versions as those versions are both very old and likely have many > security issues that need patching. > > > > On Mon, Mar 11, 2024 at 12:39 PM Jost > Richstein > wrote: > >> Hi, >> >> this is definitely not a Tomcat problem - take a look at: >> >> >> https://javaee.github.io/javamail/docs/api/com/sun/mail/smtp/package- >> summary >> .html >> <https://javaee.github.io/javamail/docs/api/com/sun/mail/smtp/package >> -summary.html> >> >> >> -Ursprüngliche Nachricht- >> Von: Brandie Nickey >> Gesendet: Montag, 11. März 2024 17:35 An:users@tomcat.apache.org >> Betreff: Tomcat SMPT TLS1.2 >> >> Hi all, >> >> I have a COTS webapp using Tomcat 8.0.43 and Java 1.8.0_121. I have >> been trying to find out where to configure outbound smtp messages to >> use only TLS1.2. I've found plenty of info on the https using TLS1.2 >> and have configured that just fine in server.xml file and in the Java >> tab of the tomcatw.exe file, but that doesn't seem to be applying to the >> emails >> outgoing from the webapp. Anyone have any ideas? (Also upgrading is not >> an >> option as this tomcat/java combo is the only one supported by the >> vendor for our webapp version). >> >> Thank you! >> Brandie >> >> >> >> - >> To unsubscribe, e-mail:users-unsubscr...@tomcat.apache.org >> For additional commands, e-mail:users-h...@tomcat.apache.org >> >> -- Archimede Informatica tratta i dati personali in conformità a quanto stabilito dal Regolamento UE n. 2016/679 (GDPR) e dal D. Lgs. 30 giugno 2003 n. 196 per come modificato dal D.Lgs. 10 agosto 2018 n. 101. Informativa completa <http://www.archicoop.it/fileadmin/pdf/InformativaTrattamentoDatiPersonali.pdf> Il contenuto di questo messaggio e dei suoi eventuali allegati è riservato. Nel caso in cui Lei non sia il destinatario, La preghiamo di contattare telefonicamente o via e-mail il mittente ai recapiti sopra indicati e di cancellare il messaggio e gli eventuali allegati dal Suo sistema senza farne copia o diffonderli. Le opinioni espresse sono quelle dell'autore e non rappresentano necessariamente quelle della Società. This message and any attachment are confidential.If you are not the intended recipient, please telephone or email the sender and delete this message and any attachment from your system. If you are not the intended recipient you must not copy this message or attachment or disclose the contents to any other person. Any opinions presented are solely those of the author and do not necessarily represent those of the Company. dott. Ivano Mario Luberti Archimede Informatica società cooperativa a r. l. Via Gereschi 36, 56127 Pisa tel.: +39 050/580959 | fax: +39 050/8932061 web: www.archicoop.it linkedin: www.linkedin.com/in/ivanoluberti facebook: www.facebook.com/archimedeinformaticapisa/ - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
AW: Tomcat SMPT TLS1.2
Hi, this is definitely not a Tomcat problem - take a look at: https://javaee.github.io/javamail/docs/api/com/sun/mail/smtp/package-summary .html -Ursprüngliche Nachricht- Von: Brandie Nickey Gesendet: Montag, 11. März 2024 17:35 An: users@tomcat.apache.org Betreff: Tomcat SMPT TLS1.2 Hi all, I have a COTS webapp using Tomcat 8.0.43 and Java 1.8.0_121. I have been trying to find out where to configure outbound smtp messages to use only TLS1.2. I've found plenty of info on the https using TLS1.2 and have configured that just fine in server.xml file and in the Java tab of the tomcatw.exe file, but that doesn't seem to be applying to the emails outgoing from the webapp. Anyone have any ideas? (Also upgrading is not an option as this tomcat/java combo is the only one supported by the vendor for our webapp version). Thank you! Brandie - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Access local path of servlet
servletContext.getRealPath("dummy.htm"), but make sure the content is not being made available from a |.war| archive without unpacking it. Original-Nachricht Betreff: Access local path of servlet Von: Gubler, Ruediger An: users@tomcat.apache.org Datum: 19.03.2012 15:23 > Hello, > > can I get the local webapps path in a servlet? > > > Yours Rüdiger > > > -- Jost Richstein SoftDeCC Software GmbH Email: jrichst...@softdecc.com Tel.: +49 89 89 06 78 47 Fax.: +49 89 89 06 78 33 SoftDeCC Software GmbH; Gesellschaft mit beschränkter Haftung; Sitz der Gesellschaft: München; Registergericht: München, HRB 123667; Geschäftsführer: Ralf Malis, Georg Nüssel, Jost Richstein, Gerd Wilts
Re: ISAPI-Problem
And here is whole response I receive, if I run into that error: HTTP/1.1 500 Internal Server Error Date: Thu, 04 Nov 2010 16:26:36 GMT Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET Content-Type: text/html http://www.w3c.org/TR/REC-html40/loose.dtd";> ...deleted some Comments and style information... Internal Server Error! Internal Server Error! The server encountered an internal error and was unable to complete your request. Jakarta/ISAPI/isapi_redirector/1.2.30 Copyright © 1999-2010 Apache Software Foundation All Rights Reserved HTTP/1.1 200 OK Date: Thu, 04 Nov 2010 16:21:59 GMT Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET Content-Type: text/plain;charset=ISO-8859-1 Content-Length: 4 true The html-body contains the response I would expect. Because there is no "Content-Length"-Header or "chunked encoding" or "Connection: close" or what ever, a browser is not able to determine when the response has to be closed. I looks like the browser hangs - until a timeout is triggered. Like I said before: the request before was a request with a "Content-Length: 0"-Header (and no content) and I suppose it has to do with the error afterwards. Original-Nachricht ---- Betreff: Re: ISAPI-Problem Von: Jost Richstein An: Tomcat Users List Datum: 03.11.2010 12:34 On 29.10.2010 09:18, Jost Richstein wrote: On 27.10.2010 15:24, Jost Richstein wrote: that is the log output with log level "info": Double check: no other message betwen about 09:00 and the following line which is marked with "3076:4308]"? No, I copied it directly from the log file. I have always these 5 lines of output grouped together. However I have the same lines in that case at 09:04:05. Rainer, I checked the complete log file. There are no other messages for hours, except these group of entries. IIS was restarted at 01:30. However it sometimes says "closing socket -1". Looks strange, because I think "-1" is not a valid socket number: jk_ajp_common.c (1490): (ajp13_internet) did not receive END_RESPONSE, closing socket -1 Could the problem be related to http://issues.apache.org/bugzilla/show_bug.cgi?id=49413 that was fixed in version 1.2.31? Or other AJP fixes in Tomcat since version 5.5.27? I see some responses to earlier requests just before the error occurs with "content-length=0", what is correct in that situation, but could that cause the error afterwards? [Fri Oct 29 09:04:15.312 2010] [3076:4308] [info] ajp_service::jk_ajp_common.c (2540): (ajp13_internet) sending request to tomcat failed (recoverable), because of server error (attempt=1) [Fri Oct 29 09:04:15.483 2010] [3076:4308] [info] ajp_send_request::jk_ajp_common.c (1490): (ajp13_internet) did not receive END_RESPONSE, closing socket 1628 [Fri Oct 29 09:04:15.546 2010] [3076:4308] [info] ajp_service::jk_ajp_common.c (2540): (ajp13_internet) sending request to tomcat failed (recoverable), because of server error (attempt=2) [Fri Oct 29 09:04:15.593 2010] [3076:4308] [error] ajp_service::jk_ajp_common.c (2559): (ajp13_internet) connecting to tomcat failed. [Fri Oct 29 09:04:15.655 2010] [3076:4308] [error] HttpExtensionProc::jk_isapi_plugin.c (2195): service() failed with http error 500 I still have no other info, in particular no log entry in Tomcat or my applications indicating an error in Tomcat or my apps. The problem came in after we switched from Version 1.2.14 to 1.2.30 of the redirector dll. Regards, Rainer -- Jost Richstein SoftDeCC Software GmbH Email: jrichst...@softdecc.com Tel.: +49 89 89 06 78 47 Fax.: +49 89 89 06 78 33 SoftDeCC Software GmbH; Gesellschaft mit beschränkter Haftung; Sitz der Gesellschaft: München; Registergericht: München, HRB 123667; Geschäftsführer: Ralf Malis, Georg Nüssel, Jost Richstein, Gerd Wilts - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: ISAPI-Problem
On 29.10.2010 09:18, Jost Richstein wrote: On 27.10.2010 15:24, Jost Richstein wrote: that is the log output with log level "info": Double check: no other message betwen about 09:00 and the following line which is marked with "3076:4308]"? No, I copied it directly from the log file. I have always these 5 lines of output grouped together. However I have the same lines in that case at 09:04:05. Rainer, I checked the complete log file. There are no other messages for hours, except these group of entries. IIS was restarted at 01:30. However it sometimes says "closing socket -1". Looks strange, because I think "-1" is not a valid socket number: jk_ajp_common.c (1490): (ajp13_internet) did not receive END_RESPONSE, closing socket -1 Could the problem be related to http://issues.apache.org/bugzilla/show_bug.cgi?id=49413 that was fixed in version 1.2.31? Or other AJP fixes in Tomcat since version 5.5.27? I see some responses to earlier requests just before the error occurs with "content-length=0", what is correct in that situation, but could that cause the error afterwards? [Fri Oct 29 09:04:15.312 2010] [3076:4308] [info] ajp_service::jk_ajp_common.c (2540): (ajp13_internet) sending request to tomcat failed (recoverable), because of server error (attempt=1) [Fri Oct 29 09:04:15.483 2010] [3076:4308] [info] ajp_send_request::jk_ajp_common.c (1490): (ajp13_internet) did not receive END_RESPONSE, closing socket 1628 [Fri Oct 29 09:04:15.546 2010] [3076:4308] [info] ajp_service::jk_ajp_common.c (2540): (ajp13_internet) sending request to tomcat failed (recoverable), because of server error (attempt=2) [Fri Oct 29 09:04:15.593 2010] [3076:4308] [error] ajp_service::jk_ajp_common.c (2559): (ajp13_internet) connecting to tomcat failed. [Fri Oct 29 09:04:15.655 2010] [3076:4308] [error] HttpExtensionProc::jk_isapi_plugin.c (2195): service() failed with http error 500 I still have no other info, in particular no log entry in Tomcat or my applications indicating an error in Tomcat or my apps. The problem came in after we switched from Version 1.2.14 to 1.2.30 of the redirector dll. Regards, Rainer - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: ISAPI-Problem
On 29.10.2010 09:18, Jost Richstein wrote: On 27.10.2010 15:24, Jost Richstein wrote: that is the log output with log level "info": Double check: no other message betwen about 09:00 and the following line which is marked with "3076:4308]"? No, I copied it directly from the log file. I have always these 5 lines of output grouped together. However I have the same lines in that case at 09:04:05. [Fri Oct 29 09:04:15.312 2010] [3076:4308] [info] ajp_service::jk_ajp_common.c (2540): (ajp13_internet) sending request to tomcat failed (recoverable), because of server error (attempt=1) [Fri Oct 29 09:04:15.483 2010] [3076:4308] [info] ajp_send_request::jk_ajp_common.c (1490): (ajp13_internet) did not receive END_RESPONSE, closing socket 1628 [Fri Oct 29 09:04:15.546 2010] [3076:4308] [info] ajp_service::jk_ajp_common.c (2540): (ajp13_internet) sending request to tomcat failed (recoverable), because of server error (attempt=2) [Fri Oct 29 09:04:15.593 2010] [3076:4308] [error] ajp_service::jk_ajp_common.c (2559): (ajp13_internet) connecting to tomcat failed. [Fri Oct 29 09:04:15.655 2010] [3076:4308] [error] HttpExtensionProc::jk_isapi_plugin.c (2195): service() failed with http error 500 I still have no other info, in particular no log entry in Tomcat or my applications indicating an error in Tomcat or my apps. The problem came in after we switched from Version 1.2.14 to 1.2.30 of the redirector dll. Regards, Rainer - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: ISAPI-Problem
On 27.10.2010 15:24, Jost Richstein wrote: Hi, I have the following problem on a Windows Server 2003 64Bit (AMD). Configuration: IIS 6, isapi_redirect.dll AMD64 Version 1.2.30, Tomcat 5.5.27, JDk 1.6.0_12 64Bit. I am using the following small worker.properties: ps=\ worker.list=ajp13 worker.ajp13.port=8010 worker.ajp13.host=localhost worker.ajp13.type=ajp13 worker.ajp13.connection_pool_size=500 My isapi_redirect.properties contains only (no other parameters set) extension_uri log_file log_level (error) worker_file worker_mount_file My Tomcat site works fine in general, there are up to 1.400 users active and the site answers requests very fast. However I have the following log entries every few minutes (sometimes every few seconds) in jk.log. Every time that pair of entries: [Wed Oct 27 12:15:37.764 2010] [3156:3284] [error] ajp_service::jk_ajp_common.c (2559): (ajp13) connecting to tomcat failed. [Wed Oct 27 12:15:37.811 2010] [3156:3284] [error] HttpExtensionProc::jk_isapi_plugin.c (2195): service() failed with http error 500 Increase your log_level to "info". This will provide additional log lines directly before the ones you cited which contain more detailed information about the root cause. Regards, Rainer Rainer, that is the log output with log level "info": [Fri Oct 29 09:04:15.312 2010] [3076:4308] [info] ajp_service::jk_ajp_common.c (2540): (ajp13_internet) sending request to tomcat failed (recoverable), because of server error (attempt=1) [Fri Oct 29 09:04:15.483 2010] [3076:4308] [info] ajp_send_request::jk_ajp_common.c (1490): (ajp13_internet) did not receive END_RESPONSE, closing socket 1628 [Fri Oct 29 09:04:15.546 2010] [3076:4308] [info] ajp_service::jk_ajp_common.c (2540): (ajp13_internet) sending request to tomcat failed (recoverable), because of server error (attempt=2) [Fri Oct 29 09:04:15.593 2010] [3076:4308] [error] ajp_service::jk_ajp_common.c (2559): (ajp13_internet) connecting to tomcat failed. [Fri Oct 29 09:04:15.655 2010] [3076:4308] [error] HttpExtensionProc::jk_isapi_plugin.c (2195): service() failed with http error 500 I still have no other info, in particular no log entry in Tomcat or my applications indicating an error in Tomcat or my apps. The problem came in after we switched from Version 1.2.14 to 1.2.30 of the redirector dll. Regards, Jost - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: ISAPI-Problem
I did not say "concurrent users". Just active sessions. There are, under normal circumstances, not more than 50 conccurent requests. Original-Nachricht Betreff: Re: ISAPI-Problem Von: Mladen Turk An: users@tomcat.apache.org Datum: 27.10.2010 15:30 On 10/27/2010 03:24 PM, Jost Richstein wrote: I am using the following small worker.properties: worker.ajp13.connection_pool_size=500 ... My Tomcat site works fine in general, there are up to 1.400 users active and the site So how do you expect 500 connections will serve up to 1400 concurrent users? Regards -- Jost Richstein SoftDeCC Software GmbH Email: jrichst...@softdecc.com Tel.: +49 89 89 06 78 47 Fax.: +49 89 89 06 78 33 SoftDeCC Software GmbH; Gesellschaft mit beschränkter Haftung; Sitz der Gesellschaft: München; Registergericht: München, HRB 123667; Geschäftsführer: Ralf Malis, Georg Nüssel, Jost Richstein, Gerd Wilts - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
ISAPI-Problem
Hi, I have the following problem on a Windows Server 2003 64Bit (AMD). Configuration: IIS 6, isapi_redirect.dll AMD64 Version 1.2.30, Tomcat 5.5.27, JDk 1.6.0_12 64Bit. I am using the following small worker.properties: ps=\ worker.list=ajp13 worker.ajp13.port=8010 worker.ajp13.host=localhost worker.ajp13.type=ajp13 worker.ajp13.connection_pool_size=500 My isapi_redirect.properties contains only (no other parameters set) extension_uri log_file log_level (error) worker_file worker_mount_file My Tomcat site works fine in general, there are up to 1.400 users active and the site answers requests very fast. However I have the following log entries every few minutes (sometimes every few seconds) in jk.log. Every time that pair of entries: [Wed Oct 27 12:15:37.764 2010] [3156:3284] [error] ajp_service::jk_ajp_common.c (2559): (ajp13) connecting to tomcat failed. [Wed Oct 27 12:15:37.811 2010] [3156:3284] [error] HttpExtensionProc::jk_isapi_plugin.c (2195): service() failed with http error 500 And I do not have any other log entries in Tomcat- or Application Log. The client receives an incomplete HTTP-Response, the response has no "Content-Length" header and no content, for example. Any hints or ideas? Regards, Jost - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: JWSDP 1.5, Tomcat 6.0.26 and JRE 6 compatible?
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293) at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190) at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:291) at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:769) at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:698) at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:891) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690) at java.lang.Thread.run(Thread.java:619) Any files which are less than 4096 bytes go through without any issues? Is there some buffer setting we may have to set to send files which are above 4096 bytes? Thanks in advance. Regards, Praveen -- Jost Richstein SoftDeCC Software GmbH Email: jrichst...@softdecc.com Tel.: +49 89 89 06 78 47 Fax.: +49 89 89 06 78 33 SoftDeCC Software GmbH; Gesellschaft mit beschränkter Haftung; Sitz der Gesellschaft: München; Registergericht: München, HRB 123667; Geschäftsführer: Ralf Malis, Georg Nüssel, Jost Richstein, Gerd Wilts - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Best practice? configuration of a web application
Add a context-parameter to your web.xml pointing to a resource (a file or whatever) that contains your configuration. Read that configuration during startup of your webapp. Original-Nachricht Betreff: Re: Best practice? configuration of a web application Von: Ingo Siebert <[EMAIL PROTECTED]> An: Tomcat Users List Datum: 28.05.2008 15:51 Thank you for the answers. I see one additional problem. If I deploy two different versions of the web app on the same tomcat, it is not possible configurate them separately. That's important for me, because I have only a limited number of servers and I have to deploy more than one version at the same time. Any additional ideas? Ingo Mikolaj Rydzewski schrieb: David kerber wrote: Mikolaj Rydzewski wrote: David kerber wrote: -DmyApp.configFileName="e:\TomcatClients\myApp\myApp.properties" Then my webapp can read the filename using a System.getProperty() call. System properties are at JVM level, so it is quite possible to have two webapps which will use common property names. Not if I'm careful when writing the apps and naming their properties files. Definitely could be a consideration, though, depending on the environment they're running in. I just know the pain when it comes to host third party apps which use such configuration strategy. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Jost Richstein SoftDeCC Software GmbH Email: [EMAIL PROTECTED] Tel.: +49 89 89 06 78 47 Fax.: +49 89 89 06 78 33 SoftDeCC Software GmbH; Gesellschaft mit beschränkter Haftung; Sitz der Gesellschaft: München; Registergericht: München, HRB 123667; Geschäftsführer: Ralf Malis, Georg Nüssel, Jost Richstein, Gerd Wilts - 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: [OT] "if" don't work?!?!?
No, that is not guaranteed to be false. For example Pippo.intern() == Pluto.intern() should be true. Caldarale, Charles R schrieb: From: Massimiliano PASQUALONI [mailto:[EMAIL PROTECTED] Subject: "if" don't work?!?!? if (Pippo == "on") { Guaranteed to be false. Pippo = request.getParameter("abilitato"); Pluto = request.getParameter("abilitato"); the if (Pippo == Pluto ) don't work! Also guaranteed to be false. You need to learn Java before embarking on writing webapps for any container. The test you're making is one for object equality, not content equality. Your expression should be something like: if (Pippo.equals("on")) - 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] -- Jost Richstein SoftDeCC Software GmbH Email: [EMAIL PROTECTED] Tel.: +49 89 89 06 78 47 Fax.: +49 89 89 06 78 33 SoftDeCC Software GmbH; Gesellschaft mit beschränkter Haftung; Sitz der Gesellschaft: München; Registergericht: München, HRB 123667; Geschäftsführer: Ralf Malis, Georg Nüssel, Jost Richstein, Gerd Wilts - 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: "if" don't work?!?!?
Have you tried if("on".equals(Pippo)) { } Massimiliano PASQUALONI schrieb: Hi guy! Wat's happen?? If i read an checkrequest post String Pippo = request.getParameter("abilitato"); out.print(Pippo); return me= on If I try to make a condition whit if: if (Pippo == "on") { } these don't work And is'nt the first time, if I try Pippo = request.getParameter("abilitato"); Pluto = request.getParameter("abilitato"); the if (Pippo == Pluto ) don't work! :-( please, help me! Massimiliano PASQUALONI Data Processing S.r.l. Reparto EDP S.S. 100 BA-TA Km 18 c/o "IL BARICENTRO" torre D 70010 CASAMASSIMA (BA) -- Jost Richstein SoftDeCC Software GmbH Email: [EMAIL PROTECTED] Tel.: +49 89 89 06 78 47 Fax.: +49 89 89 06 78 33 SoftDeCC Software GmbH; Gesellschaft mit beschränkter Haftung; Sitz der Gesellschaft: München; Registergericht: München, HRB 123667; Geschäftsführer: Ralf Malis, Georg Nüssel, Jost Richstein, Gerd Wilts - 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: IIS Experience Anyone?
Some remarks: - Sometimes the dll does not run correctly due to access rights in windows. The easiest way to avoid that is to use a windows installer of the dll that will handle all that for you. Version 1.2.15 provides an installer as far as I remember (*.msi). Give it a try just to see if that helps. - Different Windows versions handle ISAPI-DLL's differently. On Windows 2003 servers you explicitly have to permit the execution of a web extension (in addition to the usual installation). See the IIS snap in. - We were using IIS and Tomcat in almost every thinkable combination: Windows2000, XP, Vista, Windows Server 2003 with different version of IIS. - did you configure workers.properties and uriworkermap.properties correctly? Scott Danforth schrieb: Hi! Yes, I have problems. The filter shows up correctly in IIS, and it executes fine up to the point where it needs to talk to Tomcat. Then nothing further on that page request appears in the log, and "The specified module could not be found" is returned as the result of the page request. My previous messages to the group were submitted wth the subject: IIS Plugin can't find Module ?? It seems like this is just about the only symptom of failure that anyone reports. Here's from my the last submission: Because I'm getting Windows Active/X error messages in response to servlet requests, it appears that my problem has to do with environmental assumptions that are not satisfied by my version of IIS 5.0 on Windows XP. I've read that the version of IIS included with XP is not the full version, so perhaps that's the problem. Who knows... But, my reason for experimenting is that I need to use Tomcat servlets on Unix servers from IIS 6.0 on a Windows 2003 system to which I do not yet have access. And now, since I've struck out trying to experiment with my desktop system, I'm curious about other people's experiences. If you've tried to use ISAPI_redirect.dll v 1.2.20 (successfully, or not), could you reply with a few words? For example, what Windows OS and IIS versions we're you using? Jost Richstein wrote: I admit: we are using it for several customers. To make it short: there is no reason to be scared. Do you have any special problems? Scott Danforth schrieb: Hi, I'm still looking for anyone who has experience with the IIS plugin (ISAPI_redirect.dll). So far, nobody will admit to it. :-( (I understand. I don't want to use IIS either, but a customer is requiring it) -- Scott. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Jost Richstein SoftDeCC Software GmbH Email: [EMAIL PROTECTED] Tel.: +49 89 89 06 78 47 Fax.: +49 89 89 06 78 33 SoftDeCC Software GmbH; Gesellschaft mit beschränkter Haftung; Sitz der Gesellschaft: München; Registergericht: München, HRB 123667; Geschäftsführer: Ralf Malis, Georg Nüssel, Jost Richstein, Gerd Wilts - 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: IIS Experience Anyone?
Puhh...that's why I asked him for any special problems:-) Mikolaj Rydzewski schrieb: Jost Richstein wrote: I admit: we are using it for several customers. To make it short: there is no reason to be scared. Do you have any special problems? Consider the following scenario (my case once...): * you don't know/use Windows at all * you have a customer for j2ee app * your customer wants to integrate app server the app runs on with his IIS * it's enough to be scared ;-) - 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: IIS Experience Anyone?
I admit: we are using it for several customers. To make it short: there is no reason to be scared. Do you have any special problems? Scott Danforth schrieb: Hi, I'm still looking for anyone who has experience with the IIS plugin (ISAPI_redirect.dll). So far, nobody will admit to it. :-( (I understand. I don't want to use IIS either, but a customer is requiring it) -- Scott. - 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: PermGen space
You assume a memory leak...well, that depends on the application. 64m as PermSize is not always enough for server site applications. But I agree: if there is a memory leak you will find it most likely in the application. Mark Thomas schrieb: Jost Richstein wrote: Use for example -XX:MaxPermSize=128m as a parameter to the VM to extend the PermSize. Default is 64m. This will delay the time to the OOM error but it won't fix it. What you really need to do is get hold of a profiler and find out what memory is leaking memory where. It might be Tomcat but is more likely to be your application. Mark Michal Glowacki schrieb: Hi After upgrading to Tomcat 5.5.20 (in jboss 4.0.5ga) I keep getting OutOfMemoryException: PermGen space every hour (more or less) during deployment. I can't solve this problem, I had changed GC interval from 1 hours to 15mins, but didn't help. JVM Memory settings are as follows: JAVA_OPTS=%JAVA_OPTS% -Xms128m -Xmx512m JAVA_OPTS=%JAVA_OPTS% -Dsun.rmi.dgc.client.gcInterval=90 -Dsun.rmi.dgc.server.gcInterval=90 JAVA_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=y %JAVA_OPTS% Can anyone help? It's little bit annoying during development, when I have to restart server every XX minutes. Regards, Michal PS. Sorry if it's not Tomcat but Jboss issue, still learning... - 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] -- Jost Richstein SoftDeCC Software GmbH Email: [EMAIL PROTECTED] Tel.: +49 89 89 06 78 47 Fax.: +49 89 89 06 78 33 SoftDeCC Software GmbH; Gesellschaft mit beschränkter Haftung; Sitz der Gesellschaft: München; Registergericht: München, HRB 123667; Geschäftsführer: Ralf Malis, Georg Nüssel, Jost Richstein, Gerd Wilts - 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: PermGen space
Use for example -XX:MaxPermSize=128m as a parameter to the VM to extend the PermSize. Default is 64m. Michal Glowacki schrieb: Hi After upgrading to Tomcat 5.5.20 (in jboss 4.0.5ga) I keep getting OutOfMemoryException: PermGen space every hour (more or less) during deployment. I can't solve this problem, I had changed GC interval from 1 hours to 15mins, but didn't help. JVM Memory settings are as follows: JAVA_OPTS=%JAVA_OPTS% -Xms128m -Xmx512m JAVA_OPTS=%JAVA_OPTS% -Dsun.rmi.dgc.client.gcInterval=90 -Dsun.rmi.dgc.server.gcInterval=90 JAVA_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=y %JAVA_OPTS% Can anyone help? It's little bit annoying during development, when I have to restart server every XX minutes. Regards, Michal PS. Sorry if it's not Tomcat but Jboss issue, still learning... - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Jost Richstein SoftDeCC Software GmbH Email: [EMAIL PROTECTED] Tel.: +49 89 89 06 78 47 Fax.: +49 89 89 06 78 33 SoftDeCC Software GmbH; Gesellschaft mit beschränkter Haftung; Sitz der Gesellschaft: München; Registergericht: München, HRB 123667; Geschäftsführer: Ralf Malis, Georg Nüssel, Jost Richstein, Gerd Wilts - 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: Increasing Tomcat/Java memory
These settings are stored in the r egistry if you are running Tomcat as windows service. Usually you have a small applet installed that allows you to edit the setttings. If do not see the applet, try to execute \bin\tomcat5w.exe" //ES//TomcatServiceName where "TomcatServiceName" is your Windows Servicename for Tomcat. Harald Henkel wrote: Hello everybody. How can I increase the memory Tomcat/Java is using? I tried setting CATALINA_OPTS with -server -Xms256m -Xmx512m but runtime.totalMemory always seems to return a value around 60MB. And there are some operations (exporting several thousand database records to an Excel file) where we receive out of memory errors. Unfortunately I don't yet know the exact error text and where it is displayed... Yet, if the server (including database) is rebootet it works, so it seems to be a problem with Tomcat (oracle doesn't seem to have a problem, because the data is already dispalyed in a table genereated by tomcat (JSP). Only if I try to export this data to an exel file, the problem arised. This is on Windows XP Pro SP2. Anybody got an idea? Can this be due to Tomcat memory management? How to change it correctly on windows ? Somewhere I saw -ms and -mx insead of -Xms and -Xmx Any help appreciated! With kind regards, Harald Henkel - 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]