Re: Package URLs for Apache Tomcat distributions

2024-05-03 Thread von Loewenstein, Jan
important question is: Will a security reseacher finding a vulnerability in e.g. the catalina.sh script - that’s probably not published to Maven Central (?) – report this against pkg:maven/org.apache.tomcat/tomcat, which points to artefacts that are published to Maven Central? Best regards Jan

Re: Package URLs for Apache Tomcat distributions

2024-04-15 Thread von Loewenstein, Jan
Hi all, I recently started a discussion about pURLs as package identifier on the Tomcat mailing list and it was brought up, that this might be a broader topic to be discussed here. Best regards Jan From: Thomas Hoffmann (Speed4Trade GmbH) Date: Monday, 15. April 2024 at 13:14 To: Tomcat

Package URLs for Apache Tomcat distributions

2024-04-11 Thread von Loewenstein, Jan
-to-define> to introduce `pkg:apache` as a namespace, which would open up `pkg:apache/tomcat@10.1.20` as a canonical pURL. Thanks for the time to read this. Best regards Jan von Löwenstein

RE: Tomcat service switches to another JDK under the hood

2022-06-09 Thread Jan Tosovsky
hared across threads/apps and some created without this system property in place was picked up. Now I am setting the system property as the command line param when starting the tomcat and issue has gone (= all httpClient instances are equivalent). Jan -Original Message- From: Zdeněk

RE: Tomcat service switches to another JDK under the hood

2022-04-11 Thread Jan Tosovsky
isplay the result - there is one extra 3rd party "hotfolder" Java app running as a service (JDK 8 is used in this case) -Original Message- From: Zdeněk Henek Sent: Monday, April 11, 2022 1:04 PM To: Tomcat Users List Subject: Re: Tomcat service switches to another JDK under the

Tomcat service switches to another JDK under the hood

2022-04-11 Thread Jan Tosovsky
by this behavior. Kind of the race condition, which could be dangerous. Regards, Jan

Custom error page

2021-09-24 Thread Jan Pernica
empty page. I have to propagate error page into all contexts. How to do it in one step? Thnx Jan - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: HTTPS Invalid character found in method name. HTTP method names must be tokens.

2019-03-19 Thread Jan Vomlel
ok, but when it is in one request, error occures. Jan Dne 19.03.2019 v 13:26 Mark Thomas napsal(a): Thanks for all that data. Very strange. It is as if the server picks the wrong key to decrypt with. Given you can reproduce this, I suggest trying different versions of Java on the server to

Re: HTTPS Invalid character found in method name. HTTP method names must be tokens.

2019-03-19 Thread Jan Vomlel
19 58 D0 In wireshark it is followed by Change cipher spec, in catalina out are this packets together in one request. Client was firefox 60.5.2esr. Thanks, Jan Dne 18.03.2019 v 12:08 Mark Thomas napsal(a): On 18/03/2019 10:49, Jan Vomlel wrote: Thank you Mark. I enabled the logger

Re: HTTPS Invalid character found in method name. HTTP method names must be tokens.

2019-03-18 Thread Jan Vomlel
    at java.base/java.lang.Thread.run(Thread.java:834) Dne 14.03.2019 v 16:19 Mark Thomas napsal(a): On 13/03/2019 14:41, Jan Vomlel wrote: We use selenium for our application testing. Our tests sometime fail with message "Invalid character found in method name" Error occures only on h

HTTPS Invalid character found in method name. HTTP method names must be tokens.

2019-03-13 Thread Jan Vomlel
) on Linux, browsers are on windows 10. We think, that there must be some error in https implementation. Log in these situations always contains request with application_data and change_cipher_spec together. But we do not understand https in these details. Thanks for any advice, Jan Vomlel jav

Re: manager app, Complete Server Status, not shown list of NIO threads

2018-12-07 Thread Jan Vávra
Hi, Dne 05.12.2018 v 16:39 Christopher Schultz napsal(a): -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jan, On 12/5/18 06:59, Jan Vávra wrote: Hi, Dne 04.12.2018 v 17:49 Christopher Schultz napsal(a): Jan, On 12/4/18 10:10, Jan Vávra wrote: Hello, I'm using Apache Tomcat/8.5.35

Tomcat 7.0.92 with NIO randomly resets connections

2018-12-06 Thread Jan Tarnowski
ugh LB (F5) and firewall (Palo Alto 3050). Connector configuration: Do you have any idea what could cause such a behaviour? -- Jan Tarnowski Comarch S.A. smime.p7s Description: Kryptograficzna sygnatura S/MIME

Re: manager app, Complete Server Status, not shown list of NIO threads

2018-12-05 Thread Jan Vávra
Hi, Dne 04.12.2018 v 17:49 Christopher Schultz napsal(a): -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jan, On 12/4/18 10:10, Jan Vávra wrote: Hello, I'm using Apache Tomcat/8.5.35, jvm 1.8.0_192-b12, Windows Server 2012 R2 and at Complete Server Status page I can see list of all htt

manager app, Complete Server Status, not shown list of NIO threads

2018-12-04 Thread Jan Vávra
   at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)     at java.lang.Thread.run(Thread.java:748) At the version Apache Tomcat/8.5.34 this problem doesn't occur. Did I found a bug? Jan.

Deleting web.xml on tomcat exit

2018-06-06 Thread Jan Tosovsky
ng is even deleted in such 'crash' scenarios. I met this in various tomcat versions, let say 7.0.xx- 8.0.xx running on Oracle JDK 7-8 on both Windows 7-10 and CentOS 6-7. Any idea why this happen? Thanks, Jan - To unsubs

_jspService is exceeding the 65535 bytes limit

2018-02-07 Thread Jan Tosovsky
, but it didn't help. So I downgraded tomcat to 8.0.30 and it works fine again. Should that mappedfile settings fix the issue so my observation seems to be a regression in recent versions? Nobody complains this solution doesn't work in that ol

Reverse proxy support in Tomcat

2017-07-18 Thread Jan Hlavatý
Make multiple Connectors one per hostname, on different local ports, sharing on Executor to avoid multiplying threads, and have the proxy forward to different ports based on hostname? Jan - To unsubscribe, e-mail: users-uns

how to access HTTPServletRequest in RealmBase

2017-03-30 Thread Jan Vávra
Hello, I have written a custom Realm and I need to access to the request headers. The authentication should be computed from client certificate + id from custom http header X-IdUser. Can I somehow access to the HTTPServletRequest instance ? Jan

2 Adresses, 2 certs

2016-12-12 Thread Jan Pernica
gt; directory="logs" prefix="localhost_access_log" suffix=".txt" pattern="%h %l %u %t "%r" %s %b" /> Thank you for any help Jan Pernica

Re: Can tomcat be configured for ECDHE and DHE cipher suites !

2016-05-20 Thread Jan Dosoudil
Hi, do you have Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files installed? JD 2016-05-20 12:50 GMT+02:00 Utkarsh Dave : > Sorry, I missed that information in my earlier mail. > Tomcat - 7.0.69 configured for SSL > Connector - APR > Java - jdk1.7.0_101 > > > On Fri

Re: RFE: read keystorePass from file

2015-04-15 Thread Jan Vávra
further discuss my use case if further information are required. Regards, Luca PS: this has nothing to do with obfuscating the password (which has already been discussed on this list) Jan. - To unsubscribe, e-mail:

RE: [Hardening] Running tomcat under a specific account

2015-02-26 Thread Jan Tosovsky
It would be nice to compile it into some 'best practices' article published as part of Tomcat documentation. Jan - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

RE: [Hardening] Running tomcat under a specific account

2015-02-26 Thread Jan Tosovsky
f course it's also easy to do it the wrong way > and open yourself up. In this situation, it's the application that > needs to be audited and not the container. nicely written, +1 Jan - To unsubsc

[Hardening] Running tomcat under a specific account

2015-02-25 Thread Jan Tosovsky
Dear All, there are plenty resources mentioning it is a must to run tomcat as a dedicated user with limited permissions. Is it still true when tomcat doesn't run standalone, but via Apache web server connected via AJP? That webserver already runs in the restrictive mode. Thanks

Tomcat NIO broken connections

2014-11-10 Thread Jan Dosoudil
.run(ThreadPoolExecutor.java:615) [na:1.7.0_67] at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-coyote.jar:7.0.55] at java.lang.Thread.run(Thread.java:745) [na:1.7.0_67] Do you have any idea how to debug this or whether It is known bug

tomcat7.exe windows service crash

2014-07-29 Thread Jan Vávra
4 Thread' (0xf9c) has exited with code 29 (0x1d). The thread 'Win64 Thread' (0xabc) has exited with code 29 (0x1d). The thread 'Win64 Thread' (0xcb4) has exited with code 29 (0x1d). The thread 'Win64 Thread' (0x6a4) has exited with code 29 (0x1d). The thread 'Win64 Th

Re: Query string parameters not included by RequestDispatcher on Tomcat 6.0.36

2014-06-19 Thread Jan Dosoudil
ng like yours. I have this problem at least for 2 years but I didn't have time to debug it and I've rewritten those bad parts. My temporary solution was to restart tomcat but now almost every start is errorneous. It's currently java version "1.7.0_55", tomcat version 7.0.53. Jan Dosoudil - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

RE: Clearing ResourceBundle cache

2014-06-03 Thread Jan Tosovsky
On 2014-06-02 Jan Tosovsky wrote: > > in my Java webapp I switched to UTF-8 encoded properties files. > > I've implemented a custom ResourceBundle > http://stackoverflow.com/questions/3645491/i18n-with-utf-8-encoded- > properties-files-in-jsf-2-0-appliaction >

Clearing ResourceBundle cache

2014-06-02 Thread Jan Tosovsky
ual way to force tomcat/mojarra to use newer resource version? Thanks, Jan - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: realm, access to Request object

2014-05-25 Thread Jan Vávra
Hello. -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Mark, On 5/20/14, 4:28 AM, Mark Thomas wrote: On 20/05/2014 09:11, Jan Vávra wrote: Hello. I write my own realm implementation for Tomcat 7.x. In the method Principal authenticate(X509Certificate[] certs) I'd like to read re

realm, access to Request object

2014-05-20 Thread Jan Vávra
d for WS? ... @Resource WebServiceContext wsctx; MessageContext mctx = wsctx.getMessageContext(); HttpServletRequest request = (HttpServletRequest) mctx.get("javax.xml.ws.servlet.request"); ... Jan. - To

Re: Tomcat 7.0.52 NIO + Atmospere 1.0.18 damaged responses

2014-03-06 Thread Jan Dosoudil
Dne 5.3.2014 16:02, Howard W. Smith, Jr. napsal(a): On Wed, Mar 5, 2014 at 8:35 AM, Jan Dosoudil wrote: Hi, we have application running on Tomcat 7.0.52 with Nio connector (a lot older versions too), it uses MyFaces (2.1.12), RichFaces (4.3.5), Atmosphere framework (1.0.18). Atmosphere

Tomcat 7.0.52 NIO + Atmospere 1.0.18 damaged responses

2014-03-05 Thread Jan Dosoudil
://192.168.1.156:8080/app/login Content-Length: 0 Date: Tue, 28 Jan 2014 16:10:54 GMT Response packet contains exactly this data, no more data (headers) before "0". Example contains redirect but problem appears in JSF pages too. "0" is end of chunked encoded response. Problem we

RE: Compressed SVG support (*.svgz) in Tomcat

2013-12-29 Thread Jan Tosovsky
s hence this was a serious limitation. 2. all my web content is transferred to the client gzipped anyway so there is no gain in the 'content length'. 3. no additional settings was required Jan - To unsubscribe, e-ma

Re: mod_proxy not redirecting servlet redirect properly

2013-12-05 Thread Jan Vávra
iguration. But there is no need to define Redirect in Apache Server config. Jan. Hi I am very new to mod_proxy. Gone thru some tutorials and configured mod_proxy. Everything works great except this issue. Couldn't solve even after spending hrs in googling. Issue is - I have apache 2

RE: Visible passwords in realm

2013-11-20 Thread Jan Tosovsky
ssword is expiring from time to time and thanks to this it is enough to change it once in the central storage. From there it is used in all my tools (I use it in a local network only). Jan - To unsubscribe, e-mail: users-un

Re: Tomcat 7 SSL Setup: ERR_CONNECTION_REFUSED

2013-09-17 Thread Jan Vávra
slProtocol="TLS" keystoreFile=${catalina.home}/ssl/serverkey.p12" keystorePass="**PASS**" keystoreType="pkcs12" /> Jan Good Day! Everything was followed perfectly from this URL: http://tomcat.apache.org/tomcat-7.0-doc/ssl-howto.html. I&

Re: Tomcat 7 SSL Setup: ERR_CONNECTION_REFUSED

2013-09-16 Thread Jan Vávra
/http.html sslProtocol http://docs.oracle.com/javase/7/docs/technotes/guides/security/StandardNames.html#SSLContext Jan | Good Day! Everything was followed perfectly from this URL: http://tomcat.apache.org/tomcat-7.0-doc/ssl-howto.html. I've done this setup a lot of times already and mostly I

OT: Re: what if I lost the keystore which generate the CSR

2013-08-23 Thread Jan Vávra
Well, the original cert will be revoked and you can create new CSR and reapply new cert. With Thawte we did this one year ago without a problem. Contact Thawte support. Jan. Sorry I am a beginner about ssl cert. according to http://tomcat.apache.org/tomcat-7.0-doc/ssl-howto.html

java.net.SocketException: Connection reset by peer in setSocketOptions()

2013-08-03 Thread Kees Jan Koster
Thread.run(Thread.java:724) -- Kees Jan http://java-monitor.com/ kjkos...@kjkoster.org +31651838192 Repairing cannot be completed, you can only stop doing it. -- Belarusian proverb - To unsu

Re: Form Authentication and Cache-Control

2013-07-16 Thread Jan Vávra
h the /common/* was not under authetication, Tomcat was adding the Cache-Control: private, Expires: 1.1.1970 headers. So I personally think this is a bug. Thanks to Christopher Schultz who gave me a clue. Jan. === My aps has these part /* - common authenticated content

Re: ssl client certificate authentication

2013-07-10 Thread Jan Vávra
bs on Linux so it is more complicated but more powerful ... 'better' is subjective. The right answer depends on your requirements. Is there an article that gives more info on it? I'd like to have some pros and cons. For

ssl client certificate authentication

2013-07-10 Thread Jan Vávra
e/nrhnyd6dppl25uxj 3. And in general what is better to use APR or JSSE ? My opinion is: if the Tomcat serves not a web portal the JSSE is good enough although I can use only one crl file for client cert checking. In case of APR I must compile native libs on Linux so it is more complicate

Re: Form Authentication and Cache-Control

2013-06-27 Thread Jan Vávra
lly a /problem/ with having Cache-Control:private set on your resources? Have you tried playing with the "securePagesWithPragma" setting? The problem is only the effectivity of network traffic. For one page load the browser asks for each image, ccs all the time ( after click, not Ctrl

Form Authentication and Cache-Control

2013-06-26 Thread Jan Vávra
, 01 Jan 1970 00:00:00 UTC ETag: W/"3907-1372233712661" Date: Wed, 26 Jun 2013 11:06:17 GMT If I add disableProxyCaching="false" to className="org.apache.catalina.authenticator.FormAuthenticator" characterEncoding="utf-8"/> at my context.xml the resp

Re: FORM based authentication and utf-8 encoding of credentials

2013-06-26 Thread Jan Vávra
have referred in [2] I have added to my app's context xml characterEncoding="utf-8"/> and Czech letters are in the correct form. This is a solution. Thanks for an advice. Jan. - To unsubscribe, e-mail: us

Re: FORM based authentication and utf-8 encoding of credentials

2013-06-24 Thread Jan Vávra
length is 14. And that corresponds to the fact that in credentials is stored some form of utf-8 encoding. Utf-8 encoding string "ŽežUlička.1" has length 14. +1 for each letter: Ž,ž,č. Jan. Where do you store your login/password : DB ? xml file ? encrypted i

FORM based authentication and utf-8 encoding of credentials

2013-06-24 Thread Jan Vávra
BD. Any idea how to tell tomcat to use utf-8 in form based authentication? It's tomcat 7.0.34 on Czech Windows 7 32 bit with default ansi code page set as Windows-1250. Thanks Jan. - To unsubscribe, e-mail: users-unsub

Re: .net web service client calling Tomcat 7

2013-06-04 Thread Jan Vávra
g. And now client doesn't suffer by closing a socket. So this is a solution for "bad" .net client. Jan. When client sends a request there are written 2 lines at tomcat access log: 192.168.1.211 - - [03/Jun/2013:16:02:24 +0200] "POST /ades-server/adesOperationsWebService H

.net web service client calling Tomcat 7

2013-06-03 Thread Jan Vávra
r customer wrote a .net 4.5 web service client - WCF (C). When client sends a request there are written 2 lines at tomcat access log: 192.168.1.211 - - [03/Jun/2013:16:02:24 +0200] "POST /ades-server/adesOperationsWebService HTTP/1.1" 401 951 192.168.1.211 - - [01/Jan/1970:00:59:59 +

Re: configuring tomcat7 with apache 2.2.22

2013-03-15 Thread Jan Vávra
8080. Depends on situation ... Jan. Thanks to some advice on this forum, and a lot of independent study and experimentation, I have a php app on apache (localhost:80) pulling in a database driven bar code from a IDAutomation Servlet running on tomcat (localhost:8080). Looks like this

Re: configuring tomcat7 with apache 2.2.22

2013-03-15 Thread Jan Vávra
oaded: LoadModule proxy_ajp_module modules/mod_proxy_ajp.so In the Apache Tomcat's server.xml change ajp port to 9081 On WinXP there should be no problem. I personally develop on Win 7, production is Linux. Jan. Although not a newbie to building websites in html and php, and physical comput

smylink inside webapps to eclipse project fails

2013-01-21 Thread Jan Kessinger
: # root@machine:/var/lib/tomcat7/webapps# ls -la drwxrwxr-x 4 tomcat7 tomcat7 4096 Jan 21 09:27 . drwxr-xr-x 6 rootroot4096 Jan 20 20:59 .. drwxr-xr-x 3 rootroot4096 Jan 20 21:30 ROOT lrwxrwxrwx 1 rootroot 50 Jan 21 09:19 springapp -> /home/usr/Lab/SpringWorksp

reload => drop jsp-page servlet instances

2012-12-27 Thread Jan Vanek
from the JspRuntimeContext, and set "reload=true" in each JspServletWrapper referenced from JspRuntimeContext. What is the best way to do this? Thanks and regards, Jan

RE: Word.Applicaiton acvivex components & tomcat & Windows 7

2012-12-07 Thread Jan Kostelansky
trying to open ? on a local disk of the Tomcat host, or on a network drive ? The file is on local HDD of tomcat host, outside of program files directory. - what version of Java is running Tomcat ? a 32-bit or 64-bit version ? It is Windows 7 64 bit release. Thank you, Jan -Original Message

Word.Applicaiton acvivex components & tomcat & Windows 7

2012-12-07 Thread Jan Kostelansky
. This is not tomcat error precisely as it works on XP. I have a feeling enhanced Windows7 security causes this issues. However I hope somebody from tomcat community solved this issue. Thank you in advance, Jan

RE: Tomcat 6.0 - JNDI resource caching over virtual hosts

2012-10-23 Thread Jan Kostelansky
documentation resource elements defined in context is private to that context only. Thank you in advance for any help, Jan

[solved] Re: connection reset errors

2012-06-10 Thread Kees Jan Koster
big thank you for all that contributed to this thread and helped me understand the problem. Kees Jan On 22 May 2012, at 14:45, André Warnier wrote: > Kees Jan Koster wrote: >> Dear André, >>> Assuming that your client is really connecting to that HTTP connector on >>>

Connection reset by peer in org.apache.tomcat.util.net.NioEndpoint setSocketOptions

2012-06-10 Thread Kees Jan Koster
-STABLE. # /usr/local/jdk1.6.0/bin/java -version java version "1.6.0_03-p4" Java(TM) SE Runtime Environment (build 1.6.0_03-p4-kjkoster_30_nov_2011_10_57-b00) Java HotSpot(TM) 64-Bit Server VM (build 1.6.0_03-p4-kjkoster_30_nov_2011_10_57-b00, mixed mode) # _ -- Kees Jan http://java-m

Re: connection reset errors

2012-05-26 Thread Kees Jan Koster
IT > would show this. If more than a couple of hundreds show up, I'd become > suspicious of something like that. I now graph these in Munin and I see spikes of up to 100 sockets in that state. You say hundreds are a problem, what about one hun

Re: connection reset errors

2012-05-22 Thread Kees Jan Koster
rts no packet loss between the two machines I used for testing. > And if this all still does not provide any clues, then you're down to a > network packet trace, using Wireshark or similar. Packet traces I was hoping to avoid. :( -- Kees Jan http://java-monitor.com/ kjkos...@kjkos

Re: connection reset errors

2012-05-22 Thread Kees Jan Koster
ctions. You can see that in my client code. If the underlying socket were closed I would also occasionally see other methods than 'read' get an error. The stack trace I posted is the only one I get, though. -- Kees Jan http://java-monitor.com/ kjkos...@kjkoster.org +31651838192 Change

Re: connection reset errors

2012-05-22 Thread Kees Jan Koster
Dear Jose, > 2012/5/22 Kees Jan Koster : >> Dear Tomcat community, >> >> I am trying to resolve the problem where some client code in Java frequently >> gets the following error in the logs: >> >> java.net.SocketException: Connection reset >&

connection reset errors

2012-05-22 Thread Kees Jan Koster
ld that one means a local reset and the other means a remote reset. Where can I find more about this difference? Second question: how do I analyze such resets? How do I find out who reset the connection and why? How can I replay this in such a way that I can see that? -- Kees Jan http:

Re: Two auth methods for one application

2012-02-02 Thread Jan Vávra
On 02/02/2012 15:00, Christopher Schultz wrote: Jan, On 2/2/12 6:26 AM, Jan Vávra wrote: Is it possible to configure tomcat to call both variants of functions? I'd like to write something like CLIENT-CERT or BASIC. The servlet spec doesn't support anything like this. I think w

Two auth methods for one application

2012-02-02 Thread Jan Vávra
-CERT SecustampRealm and tomcat calls the function (1). When I replace CLIENT-CERT for BASIC tomcat calls the function (2). Is it possible to configure tomcat to call both variants of functions? I'd like to write something like CLIENT-CERT or BA

Re: [OT] Inspecting JMX

2012-01-26 Thread Kees Jan Koster
istener a chance. Or you could write a small piece of code that lives inside your app and writes the monitoring data into the Nagios queue directly. It is a simple text-based protocol. -- Kees Jan http://java-monitor.com/ kjkos...@kjkoster.org +31651838192 Human beings make life so interesting

Re: [OT] TC7 + AntCompiler problems with whitespace in pathname

2012-01-17 Thread Kees Jan Koster
On 17 jan. 2012, at 11:11, André Warnier wrote: > Kees Jan Koster wrote: >> Dear all, >>> Now about whether this is a bug in Tomcat or its documentation : I am >>> fairly sure that not long ago, I saw a strong warning somewhere in the >>> on-line Tomcat docu

Re: TC7 + AntCompiler problems with whitespace in pathname

2012-01-17 Thread Kees Jan Koster
Perhaps the Tomcat start script can issue a warning in case spaces are found in the path? Kees Jan - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Tomcat HTTPS Connector Stops working after an hour

2011-12-27 Thread Kees Jan Koster
d now it all works beautifully, as I am used from Tomcat. I tried reproducing it on a load test machine, but it never showed there. I am at a loss where to start looking for this. Kees Jan > On 12/24/2011 3:31 PM, Pid wrote: >> >> On 23/12/2011 14:47, Christopher Schultz wrote:

Re: Tomcat recycling

2011-11-22 Thread Jan Vávra
idn't properly restart tomcat. It could be due to a some untermintated thread, who knows... I must look more closely into doc - how tomcat is starting and shutdowning if I'd like to do some tomcat recycling by own or modified scripts. Thanks. Jan. -BEGIN PGP SIGNED MESSAGE-

Re: tomcat http connector

2011-11-21 Thread Jan Vávra
Hello, I use ajp, because on tomcat I make authentication based on client certificate. That you cannot do via http connector. Jan. Hi, Is there any document which I can refer to which states if tomcat's built in http connector (Coyote) can be used for production ? And also a compa

Re: Tomcat recycling

2011-11-21 Thread Jan Vávra
Hello, -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jan, On 11/18/11 10:35 AM, Jan Vávra wrote: is there any way how to tell tomcat: Recycle after X minutes OR Y requests like it is eg. on the IIS server? Tomcat does not come with any mechanism for doing that. IIS has hacks to work-around

Re: Tomcat recycling

2011-11-21 Thread Jan Vávra
It's almost imposible to crash Apache like a whole (control + x worker processes). So .NET and php seems me they're more stable than tomcat because they have some possibilites. I haven't studied recovery options in other java app

Re: where to put static files?

2011-11-21 Thread Jan Vávra
Hello, when I started my project others told me to use apache for static content and tomcat for java/jsp. It works quite good. Tomcat is hidden under reverse proxy (mod_ajp). So static content gives apache, dynamic tomcat. Jan. I have a spring project (web app), in my project where should

Tomcat recycling

2011-11-18 Thread Jan Vávra
Hello, is there any way how to tell tomcat: Recycle after X minutes OR Y requests like it is eg. on the IIS server? If I add my own script containing "/etc/init.d/tomcat restart" to the crontab I loose the user sessions and users have to relogin. I experience some problems with OutOfMemory e

Problem in Load Balancing (AJP)

2011-11-14 Thread ali jan
Dear all we have deployed our university application in a cluster(did load balancing using AJP) using tomcat application servers and apache access sever. *Following is our apache httpd.conf configuration* ProxyPass / balancer://myCluster/ stickysession=JSESSIONID|jsessionid nofailover=On timeou

problem with loading Bouncy Castle

2011-11-08 Thread Jan Vávra
omcat does complaint about "Illegal access"? Is there any way how to debug work of org.apache.catalina.loader.WebappClassLoader? My tomcat version is: Apache Tomcat/6.0.29 1.6.0_22-b04 Sun Microsystems Inc. Linux 2.6.32.36-0.5-default amd64 Thanks. Jan

Re: What monitoring do you use/recommend?

2011-04-21 Thread Kees Jan Koster
Hi, Have a look at http://Java-monitor.com It will send mail or SMS when the tomcat dies. It will also make pretty graphs from the JMX data. And it is free. :) Kees Jan On 21 apr. 2011, at 17:25, "Gautam R Singh (gautsing)" wrote: > Hi List, > > My team maintains a small

Re: How to detect down of tomcat.

2011-03-20 Thread Kees Jan Koster
Or you can install http://java-monitor.com It will send you an e-mail or SMS when Tomcat dies. Plus graphs for memory and file descriptors etc Kees Jan On 20 mrt. 2011, at 12:07, André Warnier wrote: > Or write the script in perl. That way, it will be portable between > Unix/Linux/W

Re: apache question

2011-02-02 Thread jan gestre
On Wed, Feb 2, 2011 at 9:40 PM, Ognjen Blagojevic wrote: > Hi Lava, > > On 1.2.2011 19:35, Lava Saleem wrote: >> >> yeah I have read what you quote before but my question is that >> I need to set apache httpd  as a proxy and I'm not sure if it buildin >> within >> the apache tomcat and what about

Re: Optimize CPU Hogging Tomcat 6

2011-02-02 Thread jan gestre
On Wed, Feb 2, 2011 at 5:19 PM, Brett Delle Grazie wrote: > Hi Jan, > > On 2 February 2011 06:41, Olaf Tomczak wrote: >> Jan, >> >> The limit of open files on linux/unix systems for normal users may be >> quite low by default (for example 1024). From my experien

Re: Optimize CPU Hogging Tomcat 6

2011-02-01 Thread jan gestre
On Wed, Feb 2, 2011 at 6:26 AM, Caldarale, Charles R wrote: >> From: jan gestre [mailto:ipcopper...@gmail.com] >> Subject: Re: Optimize CPU Hogging Tomcat 6 > >> Here's a snippet of the thread dump using jstack: > > Nothing there of any interest; all the one

Re: Optimize CPU Hogging Tomcat 6

2011-02-01 Thread jan gestre
On Tue, Feb 1, 2011 at 10:33 PM, Caldarale, Charles R wrote: >> From: jan gestre [mailto:ipcopper...@gmail.com] >> Subject: Optimize CPU Hogging Tomcat 6 > >> We have an Apache Tomcat 6 server (HA cluster using DRBD) that is >> hogging the CPU, this happens when t

Optimize CPU Hogging Tomcat 6

2011-02-01 Thread jan gestre
le: [root@node1 ~]# cat /web/tomcat/tomcat6/conf/server.xml Many thanks! jan - To unsubscribe, e-mail: user

Re: Accessing context information remotely - Context.getAvailable() etc.

2011-01-06 Thread Kees Jan Koster
xt class? or is there any other > way (Mbeans?) i can check if a context is running via JMX? You can get the same information using JMX. That's how Java-monitor.com does it. :) Why are you making a tool to get this information? There are loads of tools out there. -- Kees Jan http://jav

Re: How to schedule events on Tomcat

2010-12-03 Thread Jan Pernica
ltaneously. Thanks, Brian -- Děkuji a s pozdravem Jan Pernica === Pernica IT Solutions Masarykovo náměstí 8 664 51 Šlapanice Czech Republic tel,fax: +420 544 245 068 mobile: +420 777 634 665 mailto:jan.pern...@pernica.org http://www.p

Re: Best practice for running Tomcat on port 80

2010-09-09 Thread jan gestre
g Tomcat5.sh just like you suggested but I have another issue, how do I start it at boot time just like when Tomcat was using port 8080. Many thanks! Jan - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For

Re: Best practice for running Tomcat on port 80

2010-09-08 Thread jan gestre
On Tue, Sep 7, 2010 at 3:40 PM, Pid wrote: > On 07/09/2010 06:14, jan gestre wrote: >> On Tue, Sep 7, 2010 at 1:02 PM, Wesley Acheson >> wrote: >>> On Tue, Sep 7, 2010 at 4:34 AM, jan gestre wrote: >>>> I'm using the latest 6.0.29 binary >>>

Re: Best practice for running Tomcat on port 80

2010-09-06 Thread jan gestre
On Tue, Sep 7, 2010 at 1:02 PM, Wesley Acheson wrote: > On Tue, Sep 7, 2010 at 4:34 AM, jan gestre wrote: >> I'm using the latest 6.0.29 binary >> distribution, and I don't have an idea where to download jsvc, if it's >> already included I don'

Best practice for running Tomcat on port 80

2010-09-06 Thread jan gestre
ry distribution, and I don't have an idea where to download jsvc, if it's already included I don't know the location, could someone please enlighten me on how to do this. Many thanks! Jan - To unsub

Re: Tomcat dies after starting

2010-09-02 Thread jan gestre
On Thu, Sep 2, 2010 at 10:52 PM, Christopher Schultz wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Jan, > > On 9/2/2010 2:42 AM, jan gestre wrote: >> I'm the only user of this dedicated machine, it's not yet in >> production that's why

Re: Tomcat dies after starting

2010-09-01 Thread jan gestre
lainSocketImpl.bind(PlainSocketImpl.java:365) >>        at java.net.ServerSocket.bind(ServerSocket.java:319) >>        at java.net.ServerSocket.(ServerSocket.java:185) >>        at >> org.apache.catalina.core.StandardServer.await(StandardServer.java:373) >>        at

Re: Tomcat dies after starting

2010-09-01 Thread jan gestre
I'm planning to configure to use Apache installed in another machine as a reverse proxy to access Tomcat. server.xml: - - - - - Regards, Jan - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Tomcat dies after starting

2010-09-01 Thread jan gestre
to port 80 on a linux box) > > RHEL5 has selinux installed by default which may cause problems. I'm not sure. > Ensure nothing else is listening to that port. > > Regards, > > Wesley Acheson > > On Wed, Sep 1, 2010 at 9:00 AM, jan gestre wrote: >> Hi Everyon

Tomcat dies after starting

2010-09-01 Thread jan gestre
e already googled similar issues but did not find any concrete solution. Will appreciate any help. Many thanks in advance. Jan - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Tomcat died on "java.lang.OutOfMemoryError: requested 2147483664 bytes for Chunk::new. Out of swap space?" message

2010-05-28 Thread Kees Jan Koster
ng in P4 hardware when I found -server to be twice as fast for even simple programs. http://java-monitor.com/forum/showthread.php?t=552 Ever since I have been calling -server the "go faster flag". :) -- Kees Jan http://java-monitor.com/forum/ kjkos...@gmail.com 06-51838192 ---

Re: Tomcat Shutdown suddenly / random

2010-04-17 Thread Kees Jan Koster
Dear All, > I don't believe Tomcat has any System.exit calls in it, so you could > grep your code looking for such calls. Note that findbugs can be used for that. It will issue a warning for code that calls System.exit(). -- Kees Jan http://java-monitor.com/ kjkos...@kjkoster.org

Re: Stopping Catalina From MBean Server

2010-03-12 Thread Kees Jan Koster
o on diagnosing Tomcat servers that hang on shutdown. Perhaps you find it useful? http://java-monitor.com/forum/showthread.php?t=616 In short: make a thread dump and hunt down the threads that should have died, but have not. -- Kees Jan http://java-monitor.com/ kjkos...@kjkoster.org 06-

  1   2   3   >