Re: problem with filters on Tomcat 7.0.16 and above

2012-08-25 Thread Konstantin Kolinko
? http://tomcat.apache.org/tomcat-7.0-doc/config/context.html Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: asyncTimeout value ignored when using APR connector on Windows

2012-08-25 Thread Konstantin Kolinko
with sleep(850). With the above timeout of 60 seconds it prints 71 or 72 values. With the default timeout it prints 12 values. With 25 seconds it prints 30 values. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users

Re: Class not Found, but it's in WEB-INF/classes

2012-08-25 Thread Konstantin Kolinko
the full stacktrace? Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: getRealPath returns null

2012-08-25 Thread Konstantin Kolinko
2012/8/25 Mark Eggers its_toas...@yahoo.com: On 8/25/2012 5:01 AM, Konstantin Kolinko wrote: That PDF-generating library - where it sits? Is it on Server? It sits in the application. It's actually two jar files - one that does the PDF translation proper and the other is a tag library

Re: Class not Found, but it's in WEB-INF/classes

2012-08-25 Thread Konstantin Kolinko
as usual. Nothing that explains the issue. Best regards Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: problem with filters on Tomcat 7.0.16 and above

2012-08-26 Thread Konstantin Kolinko
cookie-config /cookie-config /session-config mime-mapping . thanks Ivan On 25 August 2012 16:34, Konstantin Kolinko knst.koli...@gmail.com wrote: 2012/8/25 Ivan Polak ivan.po...@f4s.sk: Hi! Recently, we have migrated my web app from Tomcat 6.0.16 to Tomcat 7.0.29

Re: problem with filters on Tomcat 7.0.16 and above

2012-08-26 Thread Konstantin Kolinko
in web browser on link Maybe it was served from browser's cache, so no request was sent to Tomcat? Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail

Re: problem with filters on Tomcat 7.0.16 and above

2012-08-26 Thread Konstantin Kolinko
); Mapping is performed in org.apache.tomcat.util.http.mapper.Mapper#map(..) (there are two public map() methods) Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional

Re: problem with filters on Tomcat 7.0.16 and above

2012-08-27 Thread Konstantin Kolinko
2012/8/27 Ivan Polak ivan.po...@f4s.sk: On 26 August 2012 23:05, Konstantin Kolinko knst.koli...@gmail.com wrote: 2012/8/27 Ivan Polak ivan.po...@f4s.sk: I have found, where is the problem. problem is in StandardContextValve.java in @Override public final void invoke(Request request

Re: tomcat7-maven-plugin doesn't understand Maven filtering of context files?

2012-08-28 Thread Konstantin Kolinko
placeholder 'db.driverClassName' in string value [${db.driverClassName}] Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: tomcat7-maven-plugin doesn't understand Maven filtering of context files?

2012-08-28 Thread Konstantin Kolinko
2012/8/28 Knute Snortum ksnor...@catalystitservices.com: applicationContext.xml is my Spring context file. I have placeholders in it to point to the correct database based on Maven profiles and filtering. So a piece of applicationContext.xml looks like this: bean id=dataSource

Re: ClassCastException org.apache.jasper.runtime.ELContextImpl cannot be cast to org.apache.jasper.el.ELContextImpl

2012-08-28 Thread Konstantin Kolinko
). So it is quite valid for it to load a class from app1 even if current TCCL belongs to app2. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h

Re: Running tomcat on windows - getting a threaddump - Unable to open the Event Mutex

2012-08-29 Thread Konstantin Kolinko
, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Tomcat and Squid

2012-08-29 Thread Konstantin Kolinko
2012/8/29 Farkas H farkas@gmail.com: Hi everyone, I'm checking caching possibilities. Setup: Users send requests via http-post with embedded http-get requests to a Tomcat web server. I don't want to touch this for the moment. Tomcat sends the embedded http-get requests to remote

Re: Windows Path Not Found for urandom

2012-08-29 Thread Konstantin Kolinko
will show what it is). Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Virtual Host Alias ignored?

2012-08-29 Thread Konstantin Kolinko
2012/8/29 Jeff Wild jw...@dlblair.com: Tomcat 6 (standalone), several virtual hosts I have a A record for mydomain.com and a CNAME record for www.mydomain.com. When I enter domain.com in my browser, everything works fine but www.domain.com results in Server not found. 1. Is my

Re: Virtual Host Alias ignored?

2012-08-29 Thread Konstantin Kolinko
2012/8/30 Jeff Wild jw...@dlblair.com: -Original Message- From: Konstantin Kolinko [mailto:knst.koli...@gmail.com] Sent: Wednesday, August 29, 2012 11:49 AM To: Tomcat Users List Subject: Re: Virtual Host Alias ignored? 2012/8/29 Jeff Wild jw...@dlblair.com: Tomcat 6 (standalone

Re: Broken link in docs

2012-08-29 Thread Konstantin Kolinko
2012/7/12 Jeffrey Janner jeffrey.jan...@polydyne.com: http://tomcat.apache.org/native-doc/changelog.html Comes up missing. Clinked on from main Native Doc page. Corrected. Thank you. The live site will catch up in ~an hour. Best regards, Konstantin Kolinko

Re: Starting tomcat with catalina.sh run -security

2012-08-31 Thread Konstantin Kolinko
from a number of human-friendly options. They are not Tomcat itself. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Java 6u35, 7u07 are available

2012-08-31 Thread Konstantin Kolinko
, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Java 6u35, 7u07 are available

2012-08-31 Thread Konstantin Kolinko
2012/8/31 Konstantin Kolinko knst.koli...@gmail.com: Hi! Just noting that Java 6u35, 7u07 were released by Oracle a day ago http://www.oracle.com/technetwork/java/javase/downloads/ Those contain security fixes for issues exploitable when running Java from within a web browser. (Those

Re: Atmosphere Chat sample throws exception upon page reload in IE 9

2012-09-04 Thread Konstantin Kolinko
to reproduce it. 4). You may want to try running with Nio connector implementation instead of APR one. Maybe that one will behave better / differently. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr

Re: Windows Path Not Found for urandom

2012-09-05 Thread Konstantin Kolinko
want to keep checking in case it disappears or is temporarily removed - though who in their right mind would do that! I added this issue to Bugzilla, https://issues.apache.org/bugzilla/show_bug.cgi?id=53830 Best regards, Konstantin Kolinko

Re: Tomcat HeapMemoryUsage MBean question

2012-09-07 Thread Konstantin Kolinko
a single page. It is much better than allowing access to the whole jmxproxy. jsp:forward page=/jmxproxy/ jsp:param name=set value=... / ... /jsp:forward Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr

Re: Tomcat HeapMemoryUsage MBean question

2012-09-07 Thread Konstantin Kolinko
implementations). There is not much difference. I think allowing generic get or generic set is a bad idea. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands

Re: Tomcat HeapMemoryUsage MBean question

2012-09-07 Thread Konstantin Kolinko
' - HeapMemoryUsage - key 'used' = 9081352 By default this new page is not secured, so it does not ask for password. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands

Re: Where do I store Images in tomcat structure so that I can retrive it properly in all browsers

2012-09-08 Thread Konstantin Kolinko
in documentation. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: A question about the lifecycle of Tomcat

2012-09-08 Thread Konstantin Kolinko
is like Mark's: two more years. Maybe 2,5. I would not expect more. There should be a discussion on the dev list and an announcement one year before the eol. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr

Re: Offline generation of effective web.xml

2012-09-11 Thread Konstantin Kolinko
for those, so their order may change randomly from run to run. - It may miss some elements from original web.xml, that are not parsed by Tomcat. Such as descriptions. Several weeks ago I went through the code, correcting some typos in element names and wrong order of elements. Best regards, Konstantin

Re: Where do I store Images in tomcat structure so that I can retrive it properly in all browsers

2012-09-11 Thread Konstantin Kolinko
2012/9/12 Kiran Badi ki...@poonam.org: On 9/8/2012 4:09 PM, Konstantin Kolinko wrote: Regarding the aliases feature: single path - multiple file paths: No multiple different non-intersecting paths - multiple file paths: Yes As far as I remember, an example of using multiple aliases

Re: How to get heap dump of Tomcat running as windows service.

2012-09-12 Thread Konstantin Kolinko
. How much memory the running Tomcat is using? Do you have enough space on your hard drive, and does it have access rights to write there? Maybe you could try configuring the service to run as specific user (instead of Local Service account). Best regards, Konstantin Kolinko

Re: Problems loading external jar in my app !

2012-09-18 Thread Konstantin Kolinko
in it: jstl.jar, standard.jar. 4. http://en.wikipedia.org/wiki/Posting_style#Choosing_the_proper_posting_style Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail

Re: Problems loading external jar in my app !

2012-09-18 Thread Konstantin Kolinko
are independent. The ROOT application is just one of them. 2. You have not read the wikipedia article Thank's and best regards, Joel Badia EscolĂ  2012/9/18, Konstantin Kolinko knst.koli...@gmail.com: 2012/9/18 joel badia escolĂ  basto...@gmail.com: I tried all the things that you expose, but without

Re: Authenticate requests from localhost using tomcat RemoteAddrFilter

2012-09-23 Thread Konstantin Kolinko
2012/9/23 Martin Gainty mgai...@hotmail.com: Jaikit You can ask Catalina to check the IP address, or host name, on every incoming request directed to the surrounding elements a href=engine.htmlEngine/a, a href=host.htmlHost/a, or a href=context.htmlContext/a element. The

Re: Authenticate requests from localhost using tomcat RemoteAddrFilter

2012-09-23 Thread Konstantin Kolinko
2012/9/23 Jaikit Savla jaikit.sa...@yahoo.com: Hello Users, I have some admin api's which I want to have restricted access - such that only if the request originates from localhost - it will execute. For that I am using tomcat's RemoteAddrfilter filter filter-nameRemote Address

Re: Problem with hosting mulitple websites on single tomcat 7

2012-09-24 Thread Konstantin Kolinko
. - How did you test it? Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: PDF Download problem tomcat = 7.0.27

2012-09-24 Thread Konstantin Kolinko
https://issues.apache.org/bugzilla/show_bug.cgi?id=53814 The above may help. Mark Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h

Re: CsrfPreventionFilter for REST

2012-09-26 Thread Konstantin Kolinko
are using non-secured HTTP and an attacker is able to sniff network traffic. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Security issue regarding JSESSIONID cookie

2012-09-28 Thread Konstantin Kolinko
tracking configuration wouldn't work, because from Tomcat's point of view the only connection that it sees is the one from Apache HTTPD. It knows sslSession identifier of this connection only. To use SSL session tracking you should connect to Tomcat directly. Best regards, Konstantin Kolinko

Re: Static Membership Session Replication

2012-09-28 Thread Konstantin Kolinko
to explicitly specify an IP address instead of hostname. In the mean time, can anyone explain the difference to me?? Are you asking, what is 127.0.0.1 and why it is not visible from other servers? http://en.wikipedia.org/wiki/Loopback#Virtual_network_interface Best regards, Konstantin Kolinko

Re: Security issue regarding JSESSIONID cookie

2012-09-28 Thread Konstantin Kolinko
2012/9/28 Martin Gainty mgai...@hotmail.com: that is NOT what the op asked for if the OP is implementing ssl via her FE Apache then she needs to implement and config mod-ssl on that FE apache server You need to Understand what the op environment is before criticising the solution Martin

Re: Problems with Realm

2012-09-29 Thread Konstantin Kolinko
2012/9/29 sohsoh boudali.souh...@gmail.com: Hello Tomcatters, I am beginner in development, I wanted to do the user authentication, I am I followed a tutorial for it to the letter, but in the final step I fell into a problem that I did not arrive for a week of web search to solve it -- after

Re: How to limit the number of sessions per IP address (DOS attacks)

2012-09-30 Thread Konstantin Kolinko
from there (and ban abusers). If not, do you need a session for those pages? 3. Manager maxActiveSessions=... / https://tomcat.apache.org/tomcat-7.0-doc/config/manager.html Best regards, Konstantin Kolinko - To unsubscribe, e-mail

Re: Security issue regarding JSESSIONID cookie

2012-09-30 Thread Konstantin Kolinko
2012/9/28 Christopher Schultz ch...@christopherschultz.net: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Konstantin, On 9/28/12 10:27 AM, Konstantin Kolinko wrote: 2012/9/28 Joan Morales joan@gmail.com: Hi, I have a security issue (hijack session) with JSESSIONID cookie, here

Re: maxHTTPHeaderSize, and specific header lengths

2012-09-30 Thread Konstantin Kolinko
://httpd.apache.org/docs/2.2/mod/core.html#limitrequestfieldsize Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Security issue regarding JSESSIONID cookie

2012-09-30 Thread Konstantin Kolinko
2012/9/30 Konstantin Kolinko knst.koli...@gmail.com: 2012/9/28 Christopher Schultz ch...@christopherschultz.net: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Konstantin, On 9/28/12 10:27 AM, Konstantin Kolinko wrote: 2012/9/28 Joan Morales joan@gmail.com: Hi, I have a security

Re: How to limit the number of sessions per IP address (DOS attacks)

2012-10-01 Thread Konstantin Kolinko
, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: maxHTTPHeaderSize, and specific header lengths

2012-10-01 Thread Konstantin Kolinko
2012/10/1 Andrew Todd andrew.todd...@gmail.com: On Sun, Sep 30, 2012 at 6:21 AM, Konstantin Kolinko knst.koli...@gmail.com wrote: In Tomcat each request processor has a byte buffer and all the headers must fit into that buffer. Thanks so much for the detailed response. I have a couple more

Re: server.xml hostname from ServletContext

2012-10-01 Thread Konstantin Kolinko
regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Problems Increassing -Xmx

2012-10-02 Thread Konstantin Kolinko
, they are JVM system properties. +1 s/properties/options/, and only for Sun/Oracle/OpenJDK JVM An OutOfMemory is a strange way to test this option. It is easy to exhaust a 2Gb heap if you are inaccurate. Have you tried to search the archives of this mailing list? Best regards, Konstantin Kolinko

Re: Tomcat as a service question

2012-10-02 Thread Konstantin Kolinko
, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Excessive logging with Tomcat 7.0.30 - how to adjust it?

2012-10-03 Thread Konstantin Kolinko
2012/10/3 Joseph Freemaker joseph_freema...@yahoo.com: Just upgraded to Tomcat 7.0.30 from Tomcat 5.5. With Tomcat 5.5 the catalina log contained what was directed to it. The stderr and stdout logs only contained what was directed to them (very little if anything). Tomcat 7.0.30 however

Re: Building tcnative-trunk

2012-10-04 Thread Konstantin Kolinko
. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Reloading context.xml

2012-10-05 Thread Konstantin Kolinko
2012/10/5 Anjib Mulepati anji...@hotmail.com: Quick question. If I made change to (\META_INF\context.xml) file do i have to restart tomcat server to load changes? You need to undeploy deploy your web application. Recent versions of Tomcat 7 should do that automatically if autoDeploy is

Re: INFO: Marking servlet jsp as unavailable

2012-10-11 Thread Konstantin Kolinko
. I see that you are using Maven to build the project. It is known that it can pull in a lot of odd stuff if not used correctly. There were other users experiencing similar issue before, so search the archives of this mailing list. Best regards, Konstantin Kolinko

Re: INFO: Marking servlet jsp as unavailable

2012-10-11 Thread Konstantin Kolinko
everything installed, Path's and Codes are the same. Do you have any idea why it work on my system but not in my virtual machine (Vagrant)? It is the same OS as well. Greetings, Clodan Von: Konstantin Kolinko knst.koli...@gmail.com An: Tomcat Users List users

Re: AW: AW: WebSockets and HTTPS problems

2012-10-11 Thread Konstantin Kolinko
/viewvc?view=revisionrevision=1397086 but I do not see such commit for 7.0.x (only a changelog update in r1397089). What am I missing? Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org

Re: Have a problem where in stdout.log have warning messages with Tomcat 7

2012-10-12 Thread Konstantin Kolinko
2012/10/12 Issac Koshy issacko...@yahoo.com: Hi I have a problem where in stdout.log have warning messages with tomcat 7. This warning messages are with respect to Parameters passing to resource tag. i dont want to change the tags its current form in tomcat 7 Why? There is no such element

Re: Connection reset and Socket closed exceptions while connecting to SQL Server 2008 database

2012-10-15 Thread Konstantin Kolinko
(It is a FAQ issue. Search previous discussions of validationQuery in the mailing list archives). Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h

Re: Tomcat bug 53814 - PDF plugin in IE cannot download correctly

2012-10-15 Thread Konstantin Kolinko
for their comment. Thus far (a month passed) it seems that nobody who is affected by this issue have have tried that. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e

Re: FAIL - Application at context path /test could not be started

2012-10-16 Thread Konstantin Kolinko
2012/10/16 majin_clo...@t-online.de majin_clo...@t-online.de: Hello guys, well I could successfull deploy my web-application test on tomcat. My problem is now: If I want to run my web-application I get the following error: FAIL - Application at context path /test could not

Re: Failed JAR-scanning in Tomcat 7.0.32

2012-10-16 Thread Konstantin Kolinko
It should already be excluded (as log4j*.jar mask is mentioned in tomcat.util.scan.DefaultJarScanner.jarsToSkip property in catalina.properties). Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr

Re: JNDI datasource error upgrading from Tomcat 7.0.23 to 7.0.27

2012-10-27 Thread Konstantin Kolinko
attribute when configuring a database pool. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Tomcat digest SHA

2012-11-06 Thread Konstantin Kolinko
. Once you have one, it should be self-explanatory which version of SHA was used to produce it. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h

Re: WebappClassLoader weak/soft reachable

2012-11-06 Thread Konstantin Kolinko
://issues.apache.org/bugzilla/show_bug.cgi?id=50460 https://issues.apache.org/bugzilla/show_bug.cgi?id=53936 (Linked from https://wiki.apache.org/tomcat/MemoryLeakProtection) Best regards, Konstantin Kolinko - To unsubscribe, e-mail

Re: Thread starvation with JDBCStore

2012-11-06 Thread Konstantin Kolinko
() does. There are already separate sessionLastAccessedCol and sessionMaxInactiveCol columns in the JDBCStore configuration. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org

Re: RemoteIpValve lacking default 172.16/12

2012-11-06 Thread Konstantin Kolinko
? That will be 16-19, 20-29, 30-31 for the second byte. (I'd be better to have some unit tests, to be sure). [1] http://en.wikipedia.org/wiki/Private_network#Private_IPv4_address_spaces Best regards, Konstantin Kolinko

Re: Mystery migrating from tomcat 6 to 7

2012-11-06 Thread Konstantin Kolinko
://tomcat.apache.org/migration.html 3. Maybe you can try with some simple web application that also uses Struts? 4. Configure an AccessLogValve in your web application. Does those 404 responses come from your web application? Best regards, Konstantin Kolinko

Re: WebappClassLoader weak/soft reachable

2012-11-06 Thread Konstantin Kolinko
2012/11/6 Christopher Schultz ch...@christopherschultz.net: On 11/6/12 10:37 AM, Konstantin Kolinko wrote: 2012/11/6 Christopher Schultz ch...@christopherschultz.net: 2) I know of a bug in JVM when a certain kind of leak goes undetected. I mean the leak through a shared Exception instance

Re: WebappClassLoader weak/soft reachable

2012-11-06 Thread Konstantin Kolinko
(it is what it is used for). I usually run with logAbandoned being turned off. Do you have opened connections in your pool? Do you have closeMethod=close on your pool definition? jdk1.7.0_09.jdk Tomcat 7.0.32 I wonder whether there are any differences wrt to jdk 1.6. (...) Best regards, Konstantin

Re: WebappClassLoader weak/soft reachable

2012-11-06 Thread Konstantin Kolinko
you could remove parts of your configuration, of your webapp, until you have some minimal configuration that still reproduces the issue? Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org

Re: Thread starvation with JDBCStore

2012-11-06 Thread Konstantin Kolinko
. https://issues.apache.org/bugzilla/show_bug.cgi?id=34319 https://issues.apache.org/bugzilla/show_bug.cgi?id=47281 BZ 47281 has the same idea that I mentioned, to use a SELECT WHERE. ;) Best regards, Konstantin Kolinko

Re: Understanding RequestDispatcher

2012-11-07 Thread Konstantin Kolinko
/ Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Problem WAR-file-deployment tomcat 6.0.36

2012-11-08 Thread Konstantin Kolinko
(ExpandWar.java:168) It sounds as if your war file contains a directory web.xml/ as well as a web.xml file. You cannot create a directory when a file with the same name already exists. You can use jar -t to list the files contained in your archive. Best regards, Konstantin Kolinko

Re: Form based login authentication

2012-11-08 Thread Konstantin Kolinko
of the url rewrite), but since this is a new environment I may not have a grip of the appropriate tags to be searching. BTW, if you want to try running with a debugger, see https://wiki.apache.org/tomcat/FAQ/Developing#Debugging Best regards, Konstantin Kolinko

Re: rotation of catalina.out on restart but no truncation

2012-11-09 Thread Konstantin Kolinko
catalina.out file. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: rotation of catalina.out on restart but no truncation

2012-11-09 Thread Konstantin Kolinko
and adjust it to meet your needs. catalina.-mm-dd.log is a proper log file, as written by FileHandler. It is *not* a rotation of catalina.out. The logging configuration is documented in the User's Guide. Best regards, Konstantin Kolinko

Re: Mystery migrating from tomcat 6 to 7

2012-11-12 Thread Konstantin Kolinko
, ServletContext.getNamedDispatcher(default).forward(..) Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Mystery migrating from tomcat 6 to 7

2012-11-12 Thread Konstantin Kolinko
2012/11/13 Fred Toth ft...@synernet.com: On 11/12/2012 4:24 PM, Konstantin Kolinko wrote: 2012/11/13 Fred Toth ft...@synernet.com: Hello again, I've found my problem, sort of. In this particular application, ever since tomcat 5, we've been remapping the DefaultServlet url-pattern. Works

Re: JMX Tomcat

2012-11-14 Thread Konstantin Kolinko
, there is a method. The Manager webapp operates via JMX . See its source code. (org.apache.catalina.manager.* ) You will need to stop a Context, then start it. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr

Re: Jsp class loader issue in Tomcat 7

2012-11-14 Thread Konstantin Kolinko
to pay the performance price for all those little checks that it does. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Jsp class loader issue in Tomcat 7

2012-11-15 Thread Konstantin Kolinko
with a SecurityManager. Note that in Tomcat 6 7 (and in Tomcat 5.5 in webapps that have Context privileged=true) the server classes are directly visible from the webapp. There is no need to bundle such jars in your application. 2012/11/15 Konstantin Kolinko knst.koli...@gmail.com 2012/11/14 Christopher Schultz

Re: Ideal way to minimize resources used by Tomcat for sessions

2012-11-19 Thread Konstantin Kolinko
is not used unless getSession(false) is called (which causes a lookup of an existing session using that ID). You should be able to ignore that overhead. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr

Re: Modify Cache-Control header

2012-11-19 Thread Konstantin Kolinko
not want to write the code by yourself. http://wiki.apache.org/tomcat/AddOns ExpiresFilter is available in Tomcat 7 Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional

Re: Page not redirected after waitFor() call on Process object.

2012-11-22 Thread Konstantin Kolinko
2012/11/21 Andrei Petru Mura mapand...@gmail.com: Hello, My issue can be related to Servlets, but it also can be related to Tomcat. I'm using tomcat 7.0.27. In my servlet's post method I have the following: protected void doPost(HttpServletRequest request, HttpServletResponse response)

Re: tagging log messages

2012-11-22 Thread Konstantin Kolinko
appender. This is Tomcat users list. The Log4J users mailing list is elsewhere - you should better ask there: http://logging.apache.org/log4j/1.2/mail-lists.html http://logging.apache.org/log4j/2.x/mail-lists.html Best regards, Konstantin Kolinko

Re: tomcat 6.0.35 with java 7 ssl proxy request body failed

2012-11-26 Thread Konstantin Kolinko
observe any consequences besides those messages in the log? Are connections failing? Are all connections failing, or only a part of them? Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr

Re: Logging cookies in Tomcat 7

2012-11-26 Thread Konstantin Kolinko
2012/11/26 Russ Kepler r...@kepler-eng.com: On Monday, November 26, 2012 01:44:25 PM Christopher Schultz wrote: so if there doesn't seem to be a general print the cookies pattern. I see a %S and that seems to be printing You can print all cookies sent by the client with %{Cookie}i and new

Re: tomcat6 with crl doesn't load

2012-11-27 Thread Konstantin Kolinko
is bad. http://en.wikipedia.org/wiki/Posting_style Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Shutdown.sh doesn't. At least not reliably. (7.0.25)

2012-11-27 Thread Konstantin Kolinko
connector). Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Tomcat with multiple domains

2012-11-27 Thread Konstantin Kolinko
2012/11/28 Paul van Hoven paul.van.ho...@googlemail.com: I edited the /etc/hosts file and added the following entries: 88.84.140.88www.2nddomain.com:8080 88.84.140.88www.1rstdomain.com:8080 Domain Name Service resolves host names. A port number is not part of a host name. The above

Re: Context Path for a subdirectory

2012-11-29 Thread Konstantin Kolinko
, as others suggested. 2. Unless you know what privileged is, do not use it. Valve className=org.apache.catalina.valves.RemoteAddrValve allow=127\.\d+\.\d+\.\d+|::1|0:0:0:0:0:0:0:1 / /Context Best regards, Konstantin Kolinko

Re: Context Path for a subdirectory

2012-12-02 Thread Konstantin Kolinko
/index.jsp) is displayed. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Tomcat7.0-Setting property 'threadPriority' did not find a matching property

2012-12-02 Thread Konstantin Kolinko
, this property expects an integer value. http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/java/org/apache/coyote/AbstractProtocol.java?view=markup#l184 Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr

Re: Tomcat 7 is not working on windows 7....

2012-12-03 Thread Konstantin Kolinko
2012/12/3 Mark Thomas ma...@apache.org: On 03/12/2012 09:15, Jugal Thakkar wrote: Hello Sir, I am Java Developer. i develop web application using servlet and JSP. My problem is that i am not able to get server started in eclipse Juno.using Tomcat 7 with windows 7.

Re: Running tomcat6 under jsvc

2012-12-04 Thread Konstantin Kolinko
a faster answer here, especially for a Tomcat-specific one. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: How to use the usehttponly feature in application level

2012-12-04 Thread Konstantin Kolinko
2012/12/4 Zhi Xie daxie...@gmail.com: Sorry, I don't find any doc to introduce this. There are a lot of docs to show how to implement the feature in conf/context.xml. Context useHttpOnly=true ... /Context Who can tell me how to implement the feature in application level? The

Re: How to use the usehttponly feature in application level

2012-12-04 Thread Konstantin Kolinko
Servlet 3.0 specification (as declared at the top of your web.xml file) to use this feature. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h

Re: Reuse JNDI Properties

2012-12-04 Thread Konstantin Kolinko
you are specifying a global setting, you can define nodeName property in conf/catalina.properties file. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail

Re: Running Tomcat under jsvc - logging problems

2012-12-04 Thread Konstantin Kolinko
the same way as they are set by catalina.sh file. Have you specified the java.util.logging.manager property in your arguments to jsvc? Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org

<    10   11   12   13   14   15   16   17   18   19   >