Re: JNI problem

2009-10-08 Thread Konstantin Kolinko
s %s %d %.1024s\n",GetMagickModule(),description); you have 4 substitutions, but only 2 arguments for them. You really should review/debug your C code, and it likely has nothing to do with Tomcat. Best regards, Konstantin Kolinko -

Re: JspServlet Issue

2009-10-08 Thread Konstantin Kolinko
2009/10/7 Mercy : > Hi Mark, > >        I just want to compile the pages what i need, not all. Actually,the > most pages ware compiled by ANT,thus, our application does not set the > development parameter is true. > >        What's more , I did not re-invent the wheel rather than I re-use the > Jsp

Re: JspServlet Issue

2009-10-08 Thread Konstantin Kolinko
2009/10/8 Mercy : > > Hi Kolinko, > >        In order to implement requirement is that our application can't set > development=true and needs to compile little of pages without restart need. Even if development=false, it compiles new pages.

Re: commons-logging problem

2009-10-09 Thread Konstantin Kolinko
CATALINA_OPTS is more suitable here, though either one will work. Also, you can put the value into catalina.properties. 2009/10/9 niaouli : > > Hi, > Can you just tell me, please, if the option > -Dorg.apache.catalina.loader.WebappClassLoader.ENABLE_CLEAR_REFERENCES > should be put in JAVA_OPTS o

Re: Support for Java 1.6 with Tomcat 5.5.x

2009-10-09 Thread Konstantin Kolinko
quot;1.6". That is all. Apache is not a commercial vendor, so "support" here means just that. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: [OT] tomcat 5.5.25 shared lib and sharing webapp jars

2009-10-11 Thread Konstantin Kolinko
omcat/FAQ/Miscellaneous If you want to create some other one, I do not mind. 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 6.0.20 always works in GMT timezone even after forcing it to use Asia/Calcutta by multiple methods.

2009-10-11 Thread Konstantin Kolinko
owto.html [2] http://java.sun.com/javase/6/docs/technotes/guides/security/PolicyFiles.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: jar file loading priority

2009-10-11 Thread Konstantin Kolinko
MCAT_HOME/common/lib $CATALINA_BASE/common/lib the following line is in catalina.properties: common.loader=${catalina.home}/common/classes,${catalina.home}/common/i18n/*.jar,${catalina.home}/common/endorsed/*.jar,${catalina.home}/common/lib/*.jar Best regards, Konstanti

Re: ssl_error_internal_error_alert in firefox only, dependent on jdk version (tomcat 5.5.26)

2009-10-11 Thread Konstantin Kolinko
a SSL handshake issue that happened and was resolved about a year ago. While current issue might be different, those threads show how that one was hunted down and solved. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Loading Jar files in a particular order on Tomcat 6

2009-10-11 Thread Konstantin Kolinko
not so much experience with it, but you may give it a try. 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 hangs when cmd window fills up

2009-10-12 Thread Konstantin Kolinko
to spot it. http://wiki.apache.org/tomcat/HowTo#How_do_I_obtain_a_thread_dump_of_my_running_webapp_.3F Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: catalina - when to use "start" and "run"

2009-10-16 Thread Konstantin Kolinko
ters in the end. I think you can figure the rest by yourself. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Installing Tomcat on Windows

2009-03-17 Thread Konstantin Kolinko
che.org/bugzilla/show_bug.cgi?id=41538 http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6509291 Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Is it possible to move Tomcat logfiles?

2009-05-10 Thread Konstantin Kolinko
, while bin, common, server remain on /usr. See RUNNING.txt in the distributive. 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 5.5.27 404 for JSP's in a particular derectory

2009-05-10 Thread Konstantin Kolinko
le to patch See http://wiki.apache.org/tomcat/FAQ/Miscellaneous#Q2 http://wiki.apache.org/tomcat/FAQ/Miscellaneous#Q3 Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Trouble parsing datetime strings

2009-05-11 Thread Konstantin Kolinko
rmat each time, or add a synchronization around that part of code, or use a ThreadLocal (though ThreadLocal has its own caveats as the threads belong to Tomcat and are shared among applications). Without profiling you would not know whi

Re: Performance: switch vs if ... else if

2009-05-19 Thread Konstantin Kolinko
o += 3; break; case 'a': o += 4; break; case 't': o += 5; break; case 'd': o += 6; break; } return; } Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Performance: switch vs if ... else if

2009-05-19 Thread Konstantin Kolinko
2009/5/20 Caldarale, Charles R : >> From: Konstantin Kolinko [mailto:knst.koli...@gmail.com] >> Subject: Re: Performance: switch vs if ... else if >> >> Server VM precompiles code before using it, while Classic one compiles >> heavily used parts of code on-th

Re: tomcat Access logs

2009-05-25 Thread Konstantin Kolinko
is fine. I am using 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: Problem Reading Property files

2009-05-26 Thread Konstantin Kolinko
So I think that relative paths (/WEB-INF/...) that you are trying to use, will not work in your case. Also, loan.props and loan.log are relative paths. Also, parameter names are case-sensitive. It is "loan", not "Lo

Re: Classloaders

2009-05-26 Thread Konstantin Kolinko
file into WEB-INF/lib, and then restart your web application. (E.g., using Tomcat Manager). Your jar library will be loaded. http://tomcat.apache.org/tomcat-6.0-doc/html-manager-howto.html http://tomcat.apache.org/tomcat-6.0-doc/manager-howto.html Best regards, Konstantin Kolinko --

Re: Tomcat Server can't load himself (without using localhost)

2009-05-26 Thread Konstantin Kolinko
!?! > Can you ping / tracert / traceroute from that machine to application.sogetel.it ? Usually such address as 'application.sogetel.it' translates to an external IP of your firewall / NAT router, and that IP is not reachable from inside of your network / DMZ. (That depend

Re: Classloaders

2009-05-26 Thread Konstantin Kolinko
2009/5/27 Jon Pearson : >> -Original Message- >> From: Konstantin Kolinko [mailto:knst.koli...@gmail.com] >> Sent: Tuesday, May 26, 2009 4:44 PM >> To: Tomcat Users List >> Subject: Re: Classloaders >> >> 1. What tomcat version? > > Tomca

Re: Tomcat 6.0.20, JDK1.6.0_14 and security manager

2009-06-06 Thread Konstantin Kolinko
only 6u13, and the LogManager.Cleaner class there has no explicit constructor and has no Thread.setContextClassLoader() call. I think that is what changed. Without the sources I do not know why it calls it, and whether there will be any problems due to that. You may try adding permission java.lang

Re: Problem with overriding the default servlet on tc 6.0.18

2009-06-08 Thread Konstantin Kolinko
places the default one. In web-app_2_3.dtd there is so the list cannot be empty. In 2.4 and 2.5 schemas the minOccurs attribute for "welcome-file" element is 1 (the default value), so the list cannot be empty either. Best regards, Konstantin Kolinko

Re: Starting Tomcat 6.0

2009-06-08 Thread Konstantin Kolinko
6.0\conf\catalina.policy Notes: 1. Adjust the path according to your configuration 2. There are two equal signs in the second line. That is as intended. (If interested, see "Specifying an Additional Policy File at Runtime" here: ht

Re: swallowOutput="true" not working. Why?

2009-06-12 Thread Konstantin Kolinko
r some thought my conclusion was that there is too much of a trick involved in that swallowOutput thing and I would better seek for a solution inside the logging framework itself. Though I do not have a clear recipe yet. I was not very interested.

Re: Tomcat 6.0.32 stops responding

2011-07-11 Thread Konstantin Kolinko
ache.org/tomcat-7.0-doc/config/context.html#Parallel_deployment > 3- If I was to hire a consultant to look into this, can you recommend one? http://wiki.apache.org/tomcat/SupportAndTraining Best regards, Konstantin Kolinko --

Re: Tomcat 6.0.32 stops responding

2011-07-11 Thread Konstantin Kolinko
n the class name on the first line of the message. > 5- I would like to eventually setup more than one Tomcat to act as a failover. It is documented. Also search archives of this mailing lists - people sometimes post examples of their configuration. Best regards, Kons

Re: Tomcat 7 and Jakarta Mailer Taglib

2011-07-12 Thread Konstantin Kolinko
or tag libraries (TLD files). See JSP specification for more details. 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 7 and Jakarta Mailer Taglib

2011-07-12 Thread Konstantin Kolinko
2011/7/12 mraible : > > I haven't changed a thing in my application, yet it runs fine on Tomcat 6 > (or when using Tomcat 7 on OS X instead of Linux). Seems strange, right? > Not at all. Either you had that library elsewhere (e.g. in lib), or you relied on some behaviour that does not follow spe

Re: Set up multiple Tomcat Services with Shared tomcat

2011-07-13 Thread Konstantin Kolinko
ll them as services with different service names. BTW, Tomcat installer since 7.0.19 (7.0.17) allows you to change service name when installing and changes the file names according to the service name that you specify. Best regards, Konstantin Kolinko --

Re: Session cookie max age

2011-07-13 Thread Konstantin Kolinko
ionCookieConfig#createSessionCookie(..) 2) The Cookie header sent by the web browser does not include neither Path nor Expires/Max-Age values. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: response headers missing ?

2011-07-14 Thread Konstantin Kolinko
lly JSPs and servlets have varying info and thus do not need caching (or may have some time-limited caching, like 1 minute, or 10 seconds). I think there was a filter somewhere, that can add those headers. I think UrlRewriteFil

Re: Session cookie max age

2011-07-14 Thread Konstantin Kolinko
2011/7/14 Christopher Schultz : > > Konstantin, > > On 7/13/2011 8:54 PM, Konstantin Kolinko wrote: >> AFAIK, 1) Tomcat won't send Set-Cookie when session id is already >> known (either from this webapp or  from webapp on its parent path >> such as ROOT). >

Re: Why we have duplicate JSESSIONIDSSO cookies ?

2011-07-15 Thread Konstantin Kolinko
2011/7/15 Mathan Karthik : > Why tomcat maintaining duplicate JSESSIONIDSSO cookies for the same hostname > and context path? Is it a bug? Tomcat is not "maintaining" them. Cookies are stored in the browser and are sent with request. Check what is data in your browser and thus what is it doing.

Re: Invalid command 'SHUTDOW' received

2011-07-19 Thread Konstantin Kolinko
in your system.xml. Does it trim last character, any characters after 7th one, or character 'N' specifically? Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additi

Re: Tomcat 7 parallel deployment and PermGen Heap Space

2011-07-19 Thread Konstantin Kolinko
der of the old webapp that is still present in memory. There can be many causes of that. You would have to take a heap dump and analyze it using a tool like MAT from Eclipse IDE. You may read http://wiki.apache.org/tomcat/MemoryLeakProtection Bes

Re: Availability of Tomcat 5.5.34

2011-07-20 Thread Konstantin Kolinko
2011/7/20 msachin : > > Where can I get information about availability of Tomcat 5.3.34?  Thanks. Here: http://tomcat.apache.org/download-55.cgi http://tomcat.apache.org/whichversion.html If you want o be notified about release you can subscribe to the announce@ mailing list I do not think that

Re: Tomcat 7, isapi_redirect, IIS 7 - blank page

2011-07-20 Thread Konstantin Kolinko
t-for-tomcat-under-iis-7-5-w2k8-r2-64-bit/ 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 upgrading to Apache Commons Lang 3.0 and Tomcat.7 (

2011-07-20 Thread Konstantin Kolinko
nor uses it by itself. > java.lang.ClassNotFoundException: org.apache.commons.lang.UnhandledException 2. Lang 3.0 has different package name. s/lang/lang3/ Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr

Re: Servlet 3.0 Specific Error: Invalid byte tag in constant pool

2011-07-20 Thread Konstantin Kolinko
o provide some context where the issue happens? Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Servlet 3.0 Specific Error: Invalid byte tag in constant pool

2011-07-20 Thread Konstantin Kolinko
e debugging? http://wiki.apache.org/tomcat/FAQ/Developing#Debugging Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: thread name in extended access log valve

2011-07-20 Thread Konstantin Kolinko
e fine. BTW, 1) maybe you can use a filter or valve to add an attribute to the request that contains thread name, and then print it using x-R(name) 2) async requests can be processed by several threads. Apparently AccessLogValve will print the name of the last thread that was processing thi

Re: ExtendedAccessLogValve, documentation

2011-07-21 Thread Konstantin Kolinko
t;unless", but you should keep the old name as well for compatibility. Patches are welcome. Also note that if I understand correctly the current Tomcat 7 does not support more than 1 access log valve per scope (context, host, ...). Nobody complained

Re: Tomcat behind Apache and security-constraint

2011-07-21 Thread Konstantin Kolinko
2011/7/21 Adrián Córdoba : > *a blank page is displayed on Firefox navigator*. Do you have ROOT webapp deployed on your Tomcat? What is shown in access logs (in Tomcat one and in Apache HTTPD one)? I hope that you have them configured. Best regards, Konstantin Koli

Re: Tomcat 7: Why is JDK needed ?

2011-07-21 Thread Konstantin Kolinko
2011/7/22 Justin Randall : > It uses the Java compiler for activities such as compiling JSPs into Servlets > into Java class files. > > All versions of Tomcat require the JDK. > Wrong. All currently supported versions (5.5, 6.0, 7.0) do not use JDK compiler by default even if it is available. See

Re: Tomcat 7: Why is JDK needed ?

2011-07-22 Thread Konstantin Kolinko
2011/7/22 Bobi St : > Oh my, I got confused now :) > So, if we dont need JDK; why cannt I start the server w/o having specified > exactly a path to JDK. With only JRE_HOME specified it doesnt start. Probably you are doing something wrong. Google for "smart questions". Best

Re: Tomcat 7: Why is JDK needed ?

2011-07-22 Thread Konstantin Kolinko
2011/7/22 Bobi St : > sorry, I thought the settings I was asking for, are valid for all OS. > > So, I'm talking about Tomcat 7. According to some description, it doesn't > need JDK anymore. For this reason under Windows (7) I didn't set it at the > beginning (neither did I install it), so the err

Re: FW: Unsubscribe

2011-07-22 Thread Konstantin Kolinko
Spam protection does not like your email. 1. Send it in plain text, not HTML 2. Include some text in it! Empty messages are rejected. 3. If nothing helps - send your question to "List owner address:" as specified on the mailing lists page. Best regards, Konstantin Kolinko 2011/

Re: Tomcat with CGI doesn`t use backticks command `cmd `

2011-07-22 Thread Konstantin Kolinko
cripts. It has little relation to Tomcat. First make sure that your script can run standalone by itself, - outside of Tomcat. > use strict; > use CGI; > ... Best regards, Konstantin Kolinko - To unsubscribe, e-mai

Re: WebListener as jar

2011-07-22 Thread Konstantin Kolinko
it for the server redeploying. I do not get you - how do you plan to survive deployment? To share an object between a listener and a servlet in the same webapp the usual way is to use ServletContext.setAttribute(). Best regards, Konstantin Kolinko ---

Re: html meta http-equiv content-type not work ?

2011-07-23 Thread Konstantin Kolinko
t parameter , why not ? http-equiv not work >> on tomcat ? > > Tomcat does not scan static content for meta tags. If you want to set > the charset in the HTTP header, you'll need to set it explicitly using a > JSP, a fi

Re: JSP compile limitation 7.0.16 -> 7.0.19

2011-07-25 Thread Konstantin Kolinko
rsion of Tomcat 7 instead of ecj-3.7.jar. They are compatible. Anyway, you have to remove compiled classes first. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For addi

Re: Tomcat Failed to start.

2011-07-25 Thread Konstantin Kolinko
2011/7/25 Gaurav Pruthi : > Classpath was set correctly for " /(root) , /bin , /lib" directories of > tomcat since in earlier posts I read that bootstrap.jar , tomcat-juli.jar may > not be accessible since classpath is not set for them, but that thing should > not be there since classpath has b

Re: Problems after updating from Tomcat 3.3 to 4.1: http tunneling servlet not working anymore

2011-07-26 Thread Konstantin Kolinko
2011/7/26 Volker : > - tomcat 4.1.36_2 One reason to abandon 4.1 is that there are known security issues that has been fixed in 5.5 and later but have never been evaluated against 4.1 Best regards, Konstantin Kolinko -

Fwd: [WARNING] Index corruption and crashes in Apache Lucene Core / Apache Solr with Java 7

2011-07-29 Thread Konstantin Kolinko
Forwarding from announce at apache org. I think it is better to be warned. Best regards, Konstantin Kolinko -- Forwarded message -- From: Uwe Schindler Date: 2011/7/29 Subject: [WARNING] Index corruption and crashes in Apache Lucene Core / Apache Solr with Java 7 Hello Apache

Re: Support for a jarsToInclude property?

2011-07-29 Thread Konstantin Kolinko
rs think such a feature > would be useful? At least it would be some exercise to study Tomcat code. 5. I thought maybe JarScanner could be taught to ignore some paths, e.g. ${java.home}. This is a different issue, though. Best regards, Konstantin Kolinko --

Re: tomcat log server

2011-07-30 Thread Konstantin Kolinko
1.catalina.2011-07-30.log, > SERVER.catalina.out etc. rather than ${catalina.base}/logs > > Can some body guide me , really appreciated Have you tried to read documentation? Best regards, Konstantin Kolinko - To un

Re: Leak in Tomcat 7.0.11: a java.util.Timer seems to leave a timerThread in the JVM, and Tomcat says "...has failed to stop it. This is very likely to create a memory leak"

2011-07-30 Thread Konstantin Kolinko
2011/7/30 Brian Braun : > How do I solve it? Do I need to kill the thread somehow, or should it die as > soon as I cancel the timer with the timer.cancel() method? It was discussed recently. See thread "Terminating Timer Thread Gracefully" starting with July 12th. Best reg

Re: Tomcat 7 faces servlet encoding issue

2011-07-30 Thread Konstantin Kolinko
d any HTTP headers that come with it). There are many ways how the things might break, but you are not saying what is "break" for you - what you are actually observing. Are both Tomcats on the same system? Maybe your system enc

Re: Leak in Tomcat 7.0.11: a java.util.Timer seems to leave a timerThread in the JVM, and Tomcat says "...has failed to stop it. This is very likely to create a memory leak"

2011-07-30 Thread Konstantin Kolinko
ld() to let that other thread a chance to run (and finish). I wonder whether WebappClassLoader#clearReferencesStopTimerThread() can be improved to check whether the value of newTasksMayBeScheduled flag is already false. It does not solve the issue of a task th

Re: Tomcat 7 faces servlet encoding issue

2011-07-30 Thread Konstantin Kolinko
onse stream, and how it >> does that? > > In this test case the SVG file is static, just included in WAR. So, is it directly served by Tomcat's DefaultServlet? > So Tomcat 7 seem to be maybe too active with adding that

Re: Leak in Tomcat 7.0.11: a java.util.Timer seems to leave a timerThread in the JVM, and Tomcat says "...has failed to stop it. This is very likely to create a memory leak"

2011-07-30 Thread Konstantin Kolinko
the Javadoc for TimerTask.cancel(): "(If the task is running when this call occurs, the task will run to completion, but will never run again.)" Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr

Re: Different behavior between Tomcat service installation & Tomcat console mode

2011-08-01 Thread Konstantin Kolinko
is in the logs? 2. Where is your driver JAR located? Is is a thin driver (only a JAR)? 3. Note that the service is by default executed in a service account with limited privileges. It is fine in most cases but sometimes you may want to configure it to run as a specific user. 4. Firewalls. 5. You can

Re: Tomcat file permissions

2011-08-02 Thread Konstantin Kolinko
2011/8/2 Richard Frovarp : > We're launching Tomcat 7 under Linux using jsvc, and having it run under the > tomcat7 user we created. For record, what exact versions of each, especially of jsvc? Best regards, Konstan

Re: Apache and tomcat compatibility with Oracle 11R1

2011-08-05 Thread Konstantin Kolinko
AQ, archives) You should really look what the cause is, and not just guess. > 2)      Also observing high CPU  utilization resulting in web-interface down > even apache and tomcat are up. The same. Best regards, Konstantin Kolinko

Re: Tomcat not conforming to Servlet spec 2.4+ in regards to jsp:include

2011-08-07 Thread Konstantin Kolinko
erties page in Configuration Reference. You can add the above line to catalina.properties. It should not change anything for this use case though. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr.

Re: Tomcat not conforming to Servlet spec 2.4+ in regards to jsp:include

2011-08-08 Thread Konstantin Kolinko
int a stacktrace from inside the filter to look where it is called from. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: URL rewrite

2011-08-09 Thread Konstantin Kolinko
e not a part of Tomcat. 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 6 creating Swing GUI under Windows 7 64bit

2011-08-11 Thread Konstantin Kolinko
2011/8/11 Michał Wróbel : > > P.S. > I managed to run this Swing window on virtual windows XP machine, so this > problem seems to be realted with Win7 64 bit. Any possible causes and > workarounds on your minds? You cannot display GUI windows if you are running Tomcat as a service. That is a featu

Re: IllegalStateException: The response object has been recycled and is no longer associated with this facade

2011-08-14 Thread Konstantin Kolinko
y, and it is always on when running with a security manager. Were you running 7.0.16 with security manager as well? > I'm going to upgrade to 7.0.20 this afternoon, but the release notes don't > mention this problem as solved. Best regards, Konstantin Kolinko -

Re: IllegalStateException: The response object has been recycled and is no longer associated with this facade

2011-08-17 Thread Konstantin Kolinko
e.getOutputStream().write(resized.getContent()); >>  > } >>  > >>  > So very straight forward and no fancy tricks with Response objects. >> This >>  > worked for years since Tomcat 5 or 6. >>  Are you using javax.imageio? >>

Re: Migration Tomcat 5x to 7.0.8

2011-08-19 Thread Konstantin Kolinko
also mentioned in the FAQ: http://www.coderanch.com/how-to/java/InvokerServlet 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 start tomcat5 with -security

2011-08-19 Thread Konstantin Kolinko
by editing that policy 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: Custom Realm - Tomcat 5.5 to Tomcat 7 Migration

2011-08-19 Thread Konstantin Kolinko
e, I'm working in a portal environment so I use the SSO valve > and basically want a single point of authentication for all web applications > (i.e. portlets) deployed in the servlet container. Best regards, Konstantin Kolinko ---

Re: Tomcat 7 + VirtualHost

2011-08-22 Thread Konstantin Kolinko
ROOT webapp http://tomcat.apache.org/taglibs/standard/ or call response.sendRedirect() directly. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Replying to Posts

2011-08-24 Thread Konstantin Kolinko
d link that allows to quickly set up a filter. Or you can filter by addressee. 3. You can subscribe both to digest and to non-digest forms if you want to give it a try. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-u

Re: Apache Tomcat unable to send the request. tomcat throwing 502 Gate Way error

2011-08-25 Thread Konstantin Kolinko
2011/8/12 rakesh k : > I am using Apache tomcat 6.0.18 version Can you upgrade? There is 3 years worth of fixes between 6.0.18 and 6.0.33. What version of Apache HTTPD is in front of Tomcat? How it is configured? Do you use mod_jk? What version? Best regards, Konstantin Koli

Re: Error starting Tomcat

2011-08-25 Thread Konstantin Kolinko
let.ServletContext.getSessionCookieConfig()Ljavax/servlet/SessionCookieConfig; > at org.apache.catalina.deploy.WebXml.configureContext(WebXml.java:1308) > ---- Best regards, Konstantin Kolinko -

Re: Configured root path in META-INF/context.xml ignored

2011-08-26 Thread Konstantin Kolinko
ion reference. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Error starting Tomcat

2011-08-26 Thread Konstantin Kolinko
2011/8/26 Pratibha S : > Hi Konstantin Kolinko, > > thank you for the reply. > Did you mean tomcat/webapps/examples/WEB-INF/lib? No. Do not touch Tomcat installation and return it to its original state. > There is no servlet-api.jar there. Please correct me if I got it wrong. Yo

Re: manager / deploy context file

2011-08-26 Thread Konstantin Kolinko
is URL + read the source code. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Re: Configured root path in META-INF/context.xml ignored

2011-08-26 Thread Konstantin Kolinko
2011/8/26 Oliver Wulff : > I'd very much like to be able to deploy my war in webapps and configure > either the path in META-INF/context.xml to "/" You cannot configure those attributes in META-INF/context.xml at all. > or define docBase in > conf/Catalina/localhost/ROOT.xml. It is possible but

Re: Re: Re: Configured root path in META-INF/context.xml ignored

2011-08-26 Thread Konstantin Kolinko
2011/8/26 Oliver Wulff : > > I'm asking whether this would be an intrusive way thus I would raise a > request. > Try to write a patch and you'll find that it is easier to rename your war. The feature you are asking will seriously confuse auto-deployment. Best regar

Re: manager / deploy context file

2011-08-26 Thread Konstantin Kolinko
2011/8/26 Johannes Ernst : > > On Aug 26, 2011, at 4:10, Konstantin Kolinko wrote: > >> 2011/8/26 Johannes Ernst : >>> I'd like to do this in Tomcat 6: >> >> Which exactly version of Tomcat 6.0.x you are using? >> >>> >>> Is there so

Re: IPv6 support dropped in Tomcat Native 1.1.22 (on Windows)?

2011-08-26 Thread Konstantin Kolinko
TC Native 1.1.20, IPv6 seems to work fine. (Well, almost. ...) Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Cannot forward after response has been committed

2011-08-27 Thread Konstantin Kolinko
ou call its flushing explicitly, its content is sent to client and can not be revoked from the net. Before that you can clear the buffer any time (for error handling or for redirects) as if nothing has happened before. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Exception Handling

2011-08-27 Thread Konstantin Kolinko
ed only to display the result (and thus having errors there will be less probable). My favorite one is part of the Spring framework. [1][2] There are others as well (e.g. Struts). [1] http://www.springsource.org/download [2] http://static.springsource.org/spring/docs/3.0.x/spring-framework-reference/h

Re: tomcat 7.0.20 nio problem

2011-08-27 Thread Konstantin Kolinko
RECYCLE_FACADES=true That property is mentioned on the "system properties" page in the configuration reference, That is to make sure that none of your code holds references to request/response objects outside of their lifecycle. Best regards, Konstantin Kolinko ---

Re: parallel deployment of tomcat 7

2011-08-29 Thread Konstantin Kolinko
version of webapp. In essence: after a new version of webapp starts up you can immediately shut down the old version. Without parallel deployment you would have to undeploy the old version before deploying the new one. More details about this feature are on the &quo

Re: Is empty Content Type of Request allowed in Tomcat?

2011-08-30 Thread Konstantin Kolinko
ving a Content-Type header there is confusing. 2) Content-Type header is defined in section 14.17 of RFC2616 as Content-Type = "Content-Type" ":" media-type and media-type = type "/" subtype *( ";" parameter ) The media-type is not optional and it c

Re: Problems with manager app under Tomcat 6.0.29

2011-08-30 Thread Konstantin Kolinko
in manager/WEB-INF/web.xml 2. in conf/web.xml E.g. such error will happen if you try to use default in your webapp, because servlet named "default" is defined in conf/web,xml. I have no problem running several Tomcat + Manager webapp instances on the same host in standard configuratio

Re: Problems with manager app under Tomcat 6.0.29

2011-08-30 Thread Konstantin Kolinko
2011/8/30 : > Thanks for the info, I checked it. There are many entries for > Manager > in webapps/manager/WEB-INF/web.xml. And what about conf/web.xml ? > Von: Konstantin Kolinko [mailto:knst.koli...@gmail.com] > > Check that you do not have Manager > 1. elsewhere in ma

Re: deny access to directory

2011-08-30 Thread Konstantin Kolinko
rectories all over the tree. 2. Use svn export instead of svn checkout. 3. Configure deployIgnore attribute on a host. 4. If you need a filter that affects all webapps you may add it either to ${catalina.base}/conf/web.xml, or to each web application individually. Best regards, Konstantin Kolinko -

Re: DBCP deadlock similar to DBCP-270

2011-08-31 Thread Konstantin Kolinko
thing obvious ? apache-tomcat-6.0.x-src.zip -> build.properties.default See commons-dbcp.version= commons-pool.version= also all version updates are mentioned in changelog either under "General" or under "Other". Best regards, Konstantin Kolinko

Re: Tomcat does not generate catalina.out file when starting as service.

2011-09-01 Thread Konstantin Kolinko
2011/9/1 : > What could be a root cause of this issue? > How we could configure Tomcat to produce catalina.out file? See logging documentation in 7.0.x for an explanation. I wouldn't update 5.5 docs, because 5.5 is near its end-of-life. Best regards, Konstan

Re: Tomcat does not generate catalina.out file when starting as service.

2011-09-01 Thread Konstantin Kolinko
> anytching in logging.properties file. > > Dnia 1-09-2011 o godz. 12:00 Konstantin Kolinko napisał(a): >> 2011/9/1  : >> > What could be a root cause of this issue? >> >  How we could configure Tomcat to produce catalina.out file? >> >> See logging docume

Re: Tomcat 7.0.19 character encoding issue with JSP

2011-09-01 Thread Konstantin Kolinko
oding used when the Tomcat > compiler (Jasper?) READS my JSP file. Is it possible that it is messed up > reading my UTF-8 encoded JSP file, even though it then writes the .java file > with UTF-8 also? > > I am running Windows 7, Tomcat 7.0.19, latest Java 6, and running this in > Eclipse Helios Service Release 2. > > Any other thoughts I can try? > Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Is it possible turn off autoincrement the port of AJP when tomcat start and port configured is in use ?

2011-09-02 Thread Konstantin Kolinko
mcat.apache.org/migration.html#Tomcat_6.0.x_configuration_file_differences 2. If you keep using the old version you should consider the issues listed on http://tomcat.apache.org/security-6.html Best regards, Konstantin Kolinko - To

<    1   2   3   4   5   6   7   8   9   10   >