Re: Regression in Apache Tomcat 9.0.96? Escape XML not working using taglib

2024-11-03 Thread Konstantin Kolinko
t time I see a report about issues with . This has not been treated as a security issue yet. There is a workaround, see "Comment 1" in the bug report: As a workaround, one may set enablePooling to false as described in https://tomcat.apache.org/tomcat-9.0-doc/jasper-howto.html#Configuratio

Re: Tomcat 9.0.96 first start throws java.lang.NullPointerException. Works in the same conditions with 9.0.91.

2024-10-25 Thread Konstantin Kolinko
monstrates that this behaviour is wrong. Maybe make separate error states, INIT_FAILED (aka not initialized), START_FAILED (not started). Starting a non-initialized component is a bad idea. Automatically re-initializing a connector may not work a

Re: localhost log config?

2023-09-24 Thread Konstantin Kolinko
t; I'm not sure why this works as expected with the catalina log files, but not localhost. Note that "2localhost" setting has a typo: s/FileHandler/AsyncFileHandler/ Best regards, Konstantin Kolinko - To unsubscribe,

Re: Tomcat upgrade from 9.0.80 to 9.0.81

2023-10-10 Thread Konstantin Kolinko
Hi! Thank you for reporting and investigating the issue. I added your observation to https://bz.apache.org/bugzilla/show_bug.cgi?id=67670 Best regards, Konstantin Kolinko ср, 11 окт. 2023 г. в 00:01, Amit Pande : > > I am still investigating more but after upgrading from Tomcat 9.0

Re: DBCP exception after Tomcat 10.1.13 -> 10.1.14 upgrade

2023-10-10 Thread Konstantin Kolinko
Hi! Thank you for the report. This issue is known and has already been fixed. See https://bz.apache.org/bugzilla/show_bug.cgi?id=67664 Best regards, Konstantin Kolinko вт, 10 окт. 2023 г. в 23:42, Michael Hayes : > > I have just upgraded a working Tomcat 10.1.13 installation to Tomcat 1

Re: [External] Re: Tomcat upgrade from 9.0.80 to 9.0.81

2023-10-10 Thread Konstantin Kolinko
it might be widely discussed and (ab)used. I still do not know how this will be handled, but it may take a few days. Watch for "VOTE" threads on the dev mailing list. If one could help with testing release candidates, it would

Re: Weird CSRF prevention behavior

2023-12-20 Thread Konstantin Kolinko
path. I.e. if the web application has its own configuration of logging. (Usually in lib/classes, but in bad cases one may be present in a library jar file.) b) What are the values of "java.util.logging.manager" and "java.util.logging.config.file" properties. I.e. whether JUL

Re: Problems with cross app uploads (migrating from 9.0.35 to 9.0.84)

2024-01-11 Thread Konstantin Kolinko
ition/hard drive to another and a simple "rename" is not enough. I wonder why your file ends up in /tmp and not in ${java.io.tmpdir}. The latter is set by Tomcat startup scripts to be "${catalina.base}/temp". Best regards, Konstantin Kolinko ---

Re: Regarding Tomcat is creating the zombie processes

2024-01-11 Thread Konstantin Kolinko
https://cwiki.apache.org/confluence/display/TOMCAT/Troubleshooting+and+Diagnostics#TroubleshootingandDiagnostics-CommonTroubleshootingScenario https://cwiki.apache.org/confluence/display/TOMCAT/HowTo#HowTo-HowdoIobtainathreaddumpofmyrunningwebapp? Best regards, Konstantin Kolinko

Re: Session Cookie Logging

2024-01-26 Thread Konstantin Kolinko
s schema. (Tomcat can be configured to do validation at deployment time, but this feature is off by default). 3. If your scenario is easy to reproduce, I recommend remote debugging. https://cwiki.apache.org/confluence/display/TOMCAT/Troubleshooting+and+Diagnostics#TroubleshootingandDiagnostics

Re: server.xml setting broken with Tomcat 9.0.81

2024-02-28 Thread Konstantin Kolinko
you typing the password correctly? Are you able to decode your key file using openssl.exe from a command line? Note that a copy of openssl.exe is included with Tomcat Native binaries downloadable from https://tomcat.apache.org/download-n

Re: Use JAVA/CATALINA_OPTS arguments in server.xml

2024-03-21 Thread Konstantin Kolinko
at/commit/90b8ff2f330973bbe54dbbe3d702b3111bb781fc https://github.com/apache/tomcat/commit/6f356df24241db9f655c8adb0c51aea95a2ab05d Maybe you can test it first in some other more easily observable place, e.g. in web.xml? Best regards, Konstanti

Re: Tomcat 9.0.87 - status 400 in css / images

2024-04-02 Thread Konstantin Kolinko
per route/handler for the request. Or maybe when a parameter has an incorrect value (passing text where a number is expected). 4. It is possible to configure a custom error page for a result code in the WEB-INF/web.xml file of a web application. Best regards, Konstantin Kolinko -

Re: PKCS#8 encryption algorithm unrecognized

2024-04-03 Thread Konstantin Kolinko
.1.3 Maybe it helps. What is your version of Java? Isn't the algorithm (mentioned in the error message) deprecated, because it uses SHA-1 ? > SSLCertificateChainFile="C:Certificate\Public Key\WSD-2DNX4M3...cer" A '

Re: Unexpected behavior of filters

2024-04-16 Thread Konstantin Kolinko
efined as the part of the last segment after the last ’ . ’ character." As it says "after the last '.' character" then by this design *.xml.do cannot match anything. (You may look at how o.a.catalina.mapper.Mapper actually works. Look for extensionWrappers and method inter

Re: Unexpected behavior of filters

2024-04-16 Thread Konstantin Kolinko
might have already seen 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: Question on the ErrorReportValve

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

Re: Database Connection Requests Initiated but Not Sent on the Wire (Some, Not All)

2024-05-30 Thread Konstantin Kolinko
A-INF/context.xml something like this: > > > > +1 for archiveIndexStrategy="bloom". https://tomcat.apache.org/tomcat-9.0-doc/config/resources.html The option is available since Tomcat 9.0.69 and thus should be OK here. (Earlier versions had the f

Re: Errors after upgrading to Tomcat 9.0.90

2024-06-20 Thread Konstantin Kolinko
might be safe (as IIRC the info will come from a connector configuration), but anything beyond that may lead to either false results or to security issues. It would be better to identify and fix the underlying cause. Best regards, Konstantin Kolinko -

Re: Tomcat http header size too large!

2024-07-15 Thread Konstantin Kolinko
ache.org/tomcat-9.0-doc/config/http.html#Standard_Implementation Replace "9.0" in the URL with your version.) > > Another thing to check is how big your headers are. Are you sure 16KB is > enough? +1 Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Nothing but 404 errors

2024-09-05 Thread Konstantin Kolinko
ved by Tomcat. 3) BTW, The examples web application is protected by a RemoteAddrValve. (Configured in its META-INF/context.xml file.) It is good that you are accessing it via "localhost". Otherwise you would get 403 errors. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Migration of Spring MVC 4 app to Spring MVC 6

2024-09-05 Thread Konstantin Kolinko
rom within an IDE, the Java Runtime used for Maven is configured in launch configuration for Maven (within the IDE), and environment variables do not matter at all. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: More information, Re: Tomcat 8.5.68 failing on takeoff!

2021-08-06 Thread Konstantin Kolinko
пт, 6 авг. 2021 г. в 01:33, James H. H. Lampert : > org.xml.sax.SAXNotRecognizedException: Feature: > http://apache.org/xml/features/allow-java-encodings > > org.apache.crimson.parser.XMLReaderImpl.setFeature(XMLReaderImpl.java:213) > > org.apache.crimson.jaxp.SAXParserImpl.setFea

Re: Tomcat Service Update throws Application System Error - Error Parsing Command Line

2021-12-06 Thread Konstantin Kolinko
ok into service.bat file lines 212-232, it uses whitespace instead of a '=' character to separate option and its value. b) See also original Commons Daemon documentation at https://commons.apache.org/proper/commons-daemon/procrun.html Best regards, Konstantin Kolinko ---

Re: Can't stop tomcat - connection refused

2022-02-16 Thread Konstantin Kolinko
ay/TOMCAT/HowTo+FasterStartUp see Entropy Source Adding -Djava.security.egd=file:/dev/./urandom to the JAVA_OPTS environment variable in a $CATALINA_BASE/bin/setenv.sh file is the usual way to solve this issue. Best regards, Konstantin Kolinko

Re: Many IllegalStateException when using http2 protocol

2022-03-08 Thread Konstantin Kolinko
tion as declared by this method. (It looks like a bug, but I have not investigated the history of this code yet.) There is nothing suspicious in the stacktrace. An unusual bit of configuration here is having enabled a GzipOutputFilter. Best regards, Konstantin Kolinko > } > > The g

Re: Many IllegalStateException when using http2 protocol

2022-03-10 Thread Konstantin Kolinko
чт, 10 мар. 2022 г. в 18:16, Thomas Hoffmann (Speed4Trade GmbH) : > > > -Ursprüngliche Nachricht- > > Von: Konstantin Kolinko > > Gesendet: Mittwoch, 9. März 2022 00:52 > > An: Tomcat Users List > > Betreff: Re: Many IllegalStateException when using http2

Re: Maybe a stupid (Windows related) question

2022-03-23 Thread Konstantin Kolinko
So all the same information is also being written to a "1catalina" FileHandler. Removing the "ConsoleHandler" from that line will stop duplicating all those log messages to the console. Third, If you app is actually calling System.err.println(), see about "s

Re: AW: Maybe a stupid (Windows related) question

2022-03-23 Thread Konstantin Kolinko
ommands. Looking at the reference for "start", I think your only option is to use "catalina.bat run" to start Tomcat. When I do so, the redirection works as expected. The following also works, without any modifications to the catalina.bat file: catalina.bat run 1>>mylog.txt 2>&1 or with remote debugging being enabled: catalina.bat jpda run 1>>mylog.txt 2>&1 Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Possibly Silly Question

2022-03-28 Thread Konstantin Kolinko
that probably means it was "internal" only. See also https://tomcat.apache.org/heritage.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: Installing Jenkins (WAR) on Tomcat - Corrupts SMTP / Email for Java Apps

2022-04-01 Thread Konstantin Kolinko
explain, but some info is at https://cwiki.apache.org/confluence/display/TOMCAT/MemoryLeakProtection#MemoryLeakProtection-LogFactory and there are some presentations at https://tomcat.apache.org/presentations.html 3. A web application may illegally call System.setProperty() and thus affect global confi

Re: PostConstruct annotation in a filter since version 9.0.60

2022-04-03 Thread Konstantin Kolinko
ature. > > Does anyone have more information about this? > Thanks! 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 can I stop scanning TLD's?

2022-04-13 Thread Konstantin Kolinko
'm not completely sure what that is but > if possible, I'd like to bypass that step as much as possible. The FAQ: https://cwiki.apache.org/confluence/display/TOMCAT/HowTo+FasterStartUp Best regards, Konstantin Kolinko ---

Re: Logging "location" header from the HTTP response

2022-05-26 Thread Konstantin Kolinko
rg/tomcat-9.0-doc/config/valve.html#Access_Log_Valve Look for "%{xxx}o" Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Regarding IPv6 support

2022-08-03 Thread Konstantin Kolinko
r supported. 2. If the server answers with 404 it means that it does work and can answer. Check your access logs (as generated by AccessLogValve) to see a.. that the server receives the requests b. what is the actual IP address of your client, as seen by the server. Best regards, Kon

Re: Tomcat Not coming up in UNIX machine post upgrade

2022-08-05 Thread Konstantin Kolinko
tingandDiagnostics-CommonTroubleshootingScenario If there are no errors, it likely means that there are some info / success messages. Do you see the usual log messages that your web application has started up, and running? Best regards, Konstantin Kolinko --

Re: Help with deploying multiple .WAR files in Tomcat

2022-08-05 Thread Konstantin Kolinko
otate them with "provided", so that they are not packed into a war file. https://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html#Dependency_Scope Best regards, Konstantin Kolinko --

Re: Tomcat/Java app timezone radomly changes during operation.

2022-10-28 Thread Konstantin Kolinko
Format), but it affects HTTP headers generated by 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: Compatibility, 32 bit ..

2022-10-28 Thread Konstantin Kolinko
ses are Java 8, 11 and 17). [1] https://openjdk.org/projects/jdk9/ [2[ https://en.wikipedia.org/wiki/Java_version_history Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For addit

Re: How to debug 404s / How to enable error log

2023-01-31 Thread Konstantin Kolinko
> pretty cryptic. It assumes that you are familiar with java.util.logging. > How can I diagnose this further? > BTW, Note that Tomcat 10+ implements JakartaEE Servlet specification. If your web application is based on JavaEE Servlet specification, it cannot be put into webapps as is, and has to be converted. See Migration guide. https://tomcat.apache.org/migration-10.html#Specification_APIs Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: [solved] How to debug 404s / How to enable error log

2023-01-31 Thread Konstantin Kolinko
mple one-liner. It is configured with logging.properties file, and your configuration is missing catalina.properties context.xml logging.properties files that are required for proper operation. Best regards, Konstantin Kolinko -

Re: Database related performance degradation after upgrading from Tomcat 9.0.33 to Tomcat 9.0.69

2023-02-21 Thread Konstantin Kolinko
sually have? Are those numbers adequate? > maxWaitMillis="3000" > removeAbandonedOnBorrow="true" > removeAbandonedOnMaintenance="true" > removeAbandonedTimeout="300" > logAbandoned="true" > testOn

Re: Tomcat 7.0.54

2023-02-24 Thread Konstantin Kolinko
mezone and locale settings for those. In my country I sometimes see documents (such as receipts) generated by misconfigured systems, using a different decimal separator character in numbers (point vs comma), different format for dates, or having daylight time changes when there should have been n

Re: javax.naming.NamingException: Could not create resource instance

2023-03-23 Thread Konstantin Kolinko
t.apache.org/tomcat-10.1-doc/jndi-resources-howto.html#JavaMail_Sessions Note that "4" an implementation library for Mail API is not bundled with Tomcat (you have to provide the needed library), Do you have one? "3" If the documentation is correct, the name of

Re: javax.naming.NamingException: Could not create resource instance

2023-03-23 Thread Konstantin Kolinko
пт, 24 мар. 2023 г. в 03:09, Konstantin Kolinko : > > чт, 23 мар. 2023 г. в 18:38, Kevin Huntly : > > > > Hi Everyone, > > > > I just migrated one of my apps off javax.servlet and onto jakarta.servlet. > > I am getting the following exception: > > > &

Re: javax.naming.NamingException: Could not create resource instance

2023-03-23 Thread Konstantin Kolinko
пт, 24 мар. 2023 г. в 03:47, Kevin Huntly : > > Object > of type [class jakarta.mail.Session] available at JNDI location > [java:comp/env/mail/MailSession] is not assignable to [jakarta.mail.Session] Apparently you have two copies of a "jakarta.mail.Session" class, loaded by different classloaders

Re: Can't get RemoteIpValve to work

2023-03-24 Thread Konstantin Kolinko
cat-10.1-doc/config/valve.html#Access_Log_Valve Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: [ANN] Apache Tomcat 9.0.74 available

2023-04-18 Thread Konstantin Kolinko
re uploaded to > 'release' > > (They are available now) > > Maven build should be reproducible, so the only option is to use archive > If you look at "downloadzip-2" and similar targets in the build.xml file of Tomcat, and at the following li

Re: Tomcat webserver is not logging any DEBUG or FINEST logs in catalina.out even after enabling FINEST in logging.proprties file(tomcat-8.5.79/conf/)

2023-06-15 Thread Konstantin Kolinko
r categories are a hierarchy, with levels delimited by a dot. The root of the hierarchy has the name of an empty string ("") and its logging level is configured by default as .level = INFO (with a leading dot) See java.util.logging document

Re: View Differences for Tomcat Configuration file versions

2023-07-02 Thread Konstantin Kolinko
clone of the source repository, and have Git installed), as documented at [1]. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Tomcat9 silently ignores web application

2023-07-02 Thread Konstantin Kolinko
the DefaultServlet (by copying its servlet and servlet-mapping configuration from the conf/web.xml file into your web application) and enable directory listings. Those are off by default. https://tomcat.apache.org/tomcat-9.0-doc/default-servlet.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: Tomcat Wiki Source Code Download

2020-03-24 Thread Konstantin Kolinko
leased, a copy of its documentation is published under "tomcat-X.Y-doc" onto tomcat.apache.org web site. E.g. https://tomcat.apache.org/tomcat-9.0-doc/logging.html https://github.com/apache/tomcat/blob/9.0.x/webapps/docs/logging.xml Best regards, Konstantin Kolinko ---

Re: Practical multipart handling

2020-03-26 Thread Konstantin Kolinko
r later" should be no longer than until the request processing ends. > When I'm done with a part, must I explicitly call Part.delete()? Tomcat deletes the files automatically (I implemented this feature in Tomcat 7.0.30 - see changelog). In my own web applications I delete the files

Re: 10.0.0-M4 missing PGP signatures?

2020-04-23 Thread Konstantin Kolinko
the signatures. I have a copy of Maven staging repository from the time of release vote. So I verified that those signatures match the files in the release and uploaded them to dist.a.o. 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 PID file

2020-04-24 Thread Konstantin Kolinko
our own code YMMV. 3. Tomcat can be configured as a service (daemon) and started with Apache Commons Daemon executable (jsvc). jsvc knows how to manage a PID file. See daemon.sh for an example. > and getting the PID from Java isn't super-straightforward until Java 9. :( 4. With our own

Re: Tomcat shutdown password complexity

2020-05-10 Thread Konstantin Kolinko
shutdown command: https://github.com/apache/tomcat/blob/master/java/org/apache/catalina/core/StandardServer.java#L596 Note lines 546-548: if (ch < 32 || ch == 127) { break; } command.append((char) ch); The code that sends the command: https://github.com/apache/tomcat/blob/master/java/org/apache

Re: Warning "AJP13 protocol: Reuse is set to false" written logs every second of every day. Please help.

2020-06-12 Thread Konstantin Kolinko
yote/ajp/AjpProcessor.java#L1049. If there is a severe error that does not allow reuse of the connection, the "no reuse" packet is sent. I wonder how you encounter such an error. Do you have an access log configured in Tomcat and what does it show? Best regards, Konstant

Re: NullPointerException in CoyoteOutputStream

2020-06-12 Thread Konstantin Kolinko
> > The version of Tomcat is 9.0.12 and we are using the openSSL underneath all > this. Why not the current version (9.0.36)? Also https://cwiki.apache.org/confluence/display/TOMCAT/Troubleshooting+and+Diagnostics#TroubleshootingandDiagnostics-TroubleshootingunexpectedResponsesta

Re: Reason for failed POST to .../api/tokens in Tomcat 8 and 9?

2020-06-23 Thread Konstantin Kolinko
вт, 23 июн. 2020 г. в 20:08, Victor Norman : > > Cookie: > JSESSIONID=F61EBB3764D21F4A6161304BB9D820EF; > JSESSIONID=BA81E2D37D390F411711FAB57F5B8DBF 1) Having two session cookies is not a crime, but why? (It is not a cause of this issue. Just an odd configuration.) I see that when I go to http

Re: NullPointerException on statrup - possible bug in Tomcat

2020-06-24 Thread Konstantin Kolinko
ср, 24 июн. 2020 г. в 19:25, : > > I have a web application which is failing in RestEasy initialization with an > NPE. It worked for many years until I added a large number of jar > dependencies because of a new development effort. I've debugged the code by > stepping through the Tomcat source t

Re: Unclear sentence in FailedRequestFilter's javadoc

2020-10-05 Thread Konstantin Kolinko
[1] https://svn.apache.org/viewvc?view=revision&revision=1198707 [2] https://svn.apache.org/viewvc?view=revision&revision=1200107 [3] http://tomcat.apache.org/tomcat-9.0-doc/config/filter.html#Failed_Request_Filter It looks as if you are the first p

Re: tomcat9 classpath

2020-10-06 Thread Konstantin Kolinko
tuff]" does not matter. +1 The manual: https://tomcat.apache.org/tomcat-9.0-doc/class-loader-howto.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: jstl jar location

2020-10-21 Thread Konstantin Kolinko
.3 The Tag Library Descriptor". Especially the "order of precedence" list in chapter "JSP.7.3.2 TLD resource path". It looks that you are relying on implicit declarations.of TLDs. https://cwiki.apache.org/confluence/display/TOMCAT/Specifications Best regards, Konstantin

Re: Weirdest Tomcat Behavior Ever?

2020-10-24 Thread Konstantin Kolinko
ication vendor made us lower the version > to 7.0.72, and I DO NOT know where we got that. It is possible to compare the files with pristine version from ASF archive dist site, https://archive.apache.org/dist/tomcat/tomcat-7/ If

Re: Weirdest Tomcat Behavior Ever?

2020-10-26 Thread Konstantin Kolinko
eferences to java.io.OutputStream and they are closed during garbage collection, corrupting Tomcat internals. > 2. [...] Can you think of any potential issues where making this change for > one instance could have a negative effect on any of the other instances? > Probably not, but just being careful. I hope that you can cope with the amount of logging that this generates. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Standards, specs for URL parameter ordering

2021-02-17 Thread Konstantin Kolinko
s(), as it would be surprising for a client if processing of a request depends on the order of parameter names. In the same way as whether reordering of input fields on a web form could break its processing. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Standards, specs for URL parameter ordering

2021-02-17 Thread Konstantin Kolinko
tps://javaee.github.io/javaee-spec/javadocs/javax/servlet/http/HttpServletRequest.html#getParts-- 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] Push a static value into digester's CallMethod rule?

2021-02-17 Thread Konstantin Kolinko
g. Looking at Apache Commons Digester 3.2 source code and searching for "peekParams()" calls (the API used to access the list of parameters created by CallMethodRule): 1. I see that there exists a ObjectParamRule class that allows injecting arbitrary values as parameters for the call. It i

Re: Recent charset breakage

2021-04-01 Thread Konstantin Kolinko
#x27;d like to understand why > didn't work. Does validating your web.xml file against an xsd schema complete successfully? request-character-encoding is defined in (javax|jakarta)/serv/et/resources/web-app_4_0.xsd, which means Tomcat 9 or later. You wrote that you are running

Re: [OT] programming style or mental process ?

2021-04-06 Thread Konstantin Kolinko
: CONSTANT_VALUE.equals(someFunction()) In this case the "CONSTANT_VALUE" is known to be non-null, and thus calling its method cannot result in a NullPointerException. (In more complex cases the static method "Objects.equals()" helps to compare two values in a null-aw

Re: What exactly does the AJP connector on 8009 do?

2021-04-06 Thread Konstantin Kolinko
ps://tomcat.apache.org/connectors-doc/ https://tomcat.apache.org/connectors-doc/ajp/ajpv13a.html https://tomcat.apache.org/tomcat-9.0-doc/config/ajp.html https://tomcat.apache.org/tomcat-9.0-doc/security-howto.html#Connectors https://en.wikipedia.org/wiki/Apache_JServ_Protocol Best regards, Konstanti

Re: Question ad distributing non-Java-binaries with a webapp ...

2021-04-11 Thread Konstantin Kolinko
) as a custom resource https://tomcat.apache.org/tomcat-9.0-doc/jndi-resources-howto.html#Generic_JavaBean_Resources HTH. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Again with the missing headers

2021-04-12 Thread Konstantin Kolinko
Valve https://tomcat.apache.org/lists.html#tomcat-users -> 6. " Top-posting is bad." Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: RemoteIpValve resolving localname is really slow

2021-04-12 Thread Konstantin Kolinko
ics#TroubleshootingandDiagnostics-CommonTroubleshootingScenario 2. If one could confirm your trouble, it would better be filed as a new issue in Bugzilla. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: us

Re: Again with the missing headers

2021-04-12 Thread Konstantin Kolinko
dHeader versus isCommitted: a session cannot be created when it is tracked via Cookies and response headers have already been sent. There is a difference in API though, as getSession() throws an explicit IllegalStateException. https://javaee.github.io/javae

Re: Strange error with JSP

2021-06-29 Thread Konstantin Kolinko
rectories on the same kind of file system (with the same supported precision for file modification times)? BTW, A java.lang.ClassNotFoundException with no "original cause" likely means that a getResource() call failed. Note that debug logging can be turned on for that call, as the getResource

Re: Strange error with JSP

2021-07-01 Thread Konstantin Kolinko
вт, 29 июн. 2021 г. в 19:35, Christopher Schultz : > > Konstantin, > > On 6/29/21 10:21, Konstantin Kolinko wrote: > > ср, 2 июн. 2021 г. в 23:16, Christopher Schultz > > : > [...] > > Has the page been compiled once, or its modification time is being > &g

Re: Question about directory listing sorting ..

2021-07-02 Thread Konstantin Kolinko
to affect listing sort order. It is off by default. I updated the BZ issue to point this out. https://bz.apache.org/bugzilla/show_bug.cgi?id=57287#c12 Parameter names are a bit different. E.g. with 9.0.50 (I modified DefaultServer configuration, and using the examples web app): htt

Re: [ANN] Apache Tomcat 9.0.50 available

2021-07-06 Thread Konstantin Kolinko
Logs from my smoke-testing of Windows installer (apache-tomcat-9.0.50.exe) a week ago: 28-Jun-2021 16:26:48.587 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version name: Apache Tomcat/9.0.50 28-Jun-2021 16:26:48.607 INFO [main] org.apache.catalina.startup.VersionLogg

Re: tomcat 8.5.57 stops killing sessions after some time

2021-07-30 Thread Konstantin Kolinko
nostics#TroubleshootingandDiagnostics-Techniques&Reference https://cwiki.apache.org/confluence/display/TOMCAT/HowTo#HowTo-HowdoIobtainathreaddumpofmyrunningwebapp? Additional note: the "backgroundProcessorDelay" on a Context can be used to make a web application use its own backgroun

Re: HTML manager

2021-07-30 Thread Konstantin Kolinko
Either at Tomcat level (e.g. at Context), or with standard Servlet API. https://tomcat.apache.org/tomcat-9.0-doc/config/listeners.html https://tomcat.apache.org/tomcat-9.0-doc/servletapi/javax/servlet/ServletContextListener.html https://tomcat.apache.org/tomcat-9.0-doc/servletapi/javax/servlet/ServletCo

Re: Tomcat 8.5.68 failing on takeoff!

2021-08-03 Thread Konstantin Kolinko
on. 3. The stack trace contains "org.apache.crimson". Apache Crimson project was retired 11 years ago and should not be used nowadays. https://xml.apache.org/crimson/ https://attic.apache.org/projects/crimson.html You have that library in Tomcat classpath? Where? Why? HTH Best regards, Konst

Re: Configuring DataSources using jsp: reload context.xml?

2008-07-08 Thread Konstantin Kolinko
time. JMX servlet in Tomcat Manager application is an example of using it. (search the archives for more info on JMX) Best regards, Konstantin Kolinko 2008/7/7 Jonas Wagner <[EMAIL PROTECTED]>: > Good morning, > > I'm still trying to figure out how I can cause tomcat to re-

Re: Where is "org.apache.webapp.balancer.rules.RoundRobinRule" ??

2008-07-08 Thread Konstantin Kolinko
RoundRobinRule is not part of Apache Tomcat code, but sample code from the article: http://www.onjava.com/pub/a/onjava/2004/04/14/clustering.html?page=2 Download tomcatclustering.zip there. - To start a new topic, e-mail: users@

Re: Blocking port 8005 in TomCat in Deamon Mode

2008-07-10 Thread Konstantin Kolinko
2008/7/10 Suma Rakesh <[EMAIL PROTECTED]>: >> Hi, >> >> I am starting Tomcat through one of my C++ programs on >> windows 2003 server. I am using Bootsrap >> org.apache.catalina.startup.Bootstrap.main() method and >> pass 'Start' and 'Stop' as arguments. >> >> The documentation read mentioned that

Re: Problem publishing application to debian with tomcat 5.5.17

2008-07-10 Thread Konstantin Kolinko
Well, looking at the sources... http://myfaces.apache.org/shared11/myfaces-shared-core/xref/org/apache/myfaces/shared/renderkit/RendererUtils.html#531 http://myfaces.apache.org/shared11/myfaces-shared-core/xref/org/apache/myfaces/shared/renderkit/RendererUtils.html#504 The RendererUtils.getConver

Re: Problem publishing application to debian with tomcat 5.5.17

2008-07-10 Thread Konstantin Kolinko
we have a web project that use several libraries, each library is a > module with its own web pages, java source code for each page and so on. > > > Konstantin Kolinko wrote: >> >> Well, looking at the sources... >> >> >> http://myfaces.apache.org/share

Re: Excess whitespace generated

2008-07-10 Thread Konstantin Kolinko
2008/7/10 Mark Thomas <[EMAIL PROTECTED]>: > Jonathan Mast wrote: >> >> I'm writing a jsp to return out a simple xml document and it is being >> preceded by quite a few line breaks, causing my test parser to fail. >> >> The page simply calls out.println(xmlstring); >> >> Is there another way to con

Re: Doubt on lifecycle of a class in "shared" folder

2008-07-17 Thread Konstantin Kolinko
Make sure, that you do not have a copy of x.class in WEB-INF/classes or WEB-INF/lib/*.jar of any of your web applications. Those take precedence over shared or common classes. See http://tomcat.apache.org/tomcat-5.5-doc/class-loader-howto.html for details. 2008/7/17 java_is_everything <[EMAIL PR

Re: Problem with POST to servlet: 16384 bytes maximum?

2008-08-09 Thread Konstantin Kolinko
gnore the return value of InputStream.read() call. That value will be the exact count of bytes that were read into your buffer in that call of InputStream.read(). You have just demonstrated that one cannot read all contentLength bytes of data in one call. The easiest fix here will be to use a l

Re: Tomcat within Eclipse

2008-08-12 Thread Konstantin Kolinko
directory inside .metadata. That is why refreshing the Servers project is important). You may also want to check the following FAQ: http://wiki.eclipse.org/WTP_Tomcat_FAQ Best regards, Konstantin Kolinko 2008/8/11 Sam Wun <[EMAIL PROTECTED]>: > Hi, > > I have the server.xml path defi

Re: CGIServlet in Tomcat 6

2008-08-13 Thread Konstantin Kolinko
2008/8/13 Mark Thomas <[EMAIL PROTECTED]>: > > The privileged attribute needs to be set on the context. > In your own web application create a file, META-INF/context.xml, with the following content: See the manager application for an example. Then redeploy your application, and it should work

Re: Image rendering problem in Tomcat 5.5.1

2008-08-13 Thread Konstantin Kolinko
All this sounds like a browser issue. Firefox 3.0 now supports zooming of the whole page (as compared to scaling the font sizes only). Press Ctrl+0 to reset the page to 100% (see the View menu for details). 2008/8/12 Szűcs Attila <[EMAIL PROTECTED]>: > Christopher, > > Even if I am opening it th

Re: errors in deploying war file to tomcat 5.5

2008-08-28 Thread Konstantin Kolinko
Hi, sam wun! It is https://issues.apache.org/bugzilla/show_bug.cgi?id=44463 The problem is in the manager application, not in yours. The commons-io*.jar should be placed into {your tomcat 5.5 installation folder}/server/webapps/manager/WEB-INF/lib Best regards, Konstantin Kolinko 2008/8/23

Re: Default application or HTML redirect

2008-08-31 Thread Konstantin Kolinko
. 4. Is your Microsoft Internet Security and Acceleration (ISA) 2006 server on the same PC? You mentioned it, but where it comes into play here? I do not have experience with that product. Best regards, Konstantin Kolinko 2008/8/30 Mostafa Mossaad <[EMAIL PROTECTED]>: > Can you please te

Re: Default application or HTML redirect

2008-09-03 Thread Konstantin Kolinko
t be useful: http://www.iisadmin.co.uk/?p=8 http://blogs.msdn.com/david.wang/archive/2005/10/14/HOWTO_IIS_6_Request_Processing_Basics_Part_1.aspx I did not read them through, though. Best regards, Konstantin Kolinko 2008/9/3 Mostafa Mossaad <[EMAIL PROTECTED]>: > Any ideas Konstantin? >

Re: Default application or HTML redirect

2008-09-04 Thread Konstantin Kolinko
, it may break some things. Best regards, Konstantin Kolinko 2008/9/4 Mostafa Mossaad <[EMAIL PROTECTED]>: > Hello Konstantin, >I believe I've miss lead you. I'm not using IIS and Tomcat > concurrently. > >What I mean is that I had an older version of

Re: Default application or HTML redirect

2008-09-07 Thread Konstantin Kolinko
cat page can be displayed by this instance of the server. What is the configuration of your ISA? How your "publishing the server through it" is configured? So, what is not working? Best regards, Konstantin Kolinko 2008/9/8 Mostafa Mossaad <[EMAIL PROTECTED]>: > Konstantin, any

Re: Tomcat loops indefinitely

2008-09-07 Thread Konstantin Kolinko
: SettingsService.getProperty("sublima.joseki.endpoint"); is the address to where it opens an HttpURLConnection. What is that address? Judging from the behavior, it occurs that it makes request back to itself. Best regards, Konstantin Kolinko 2008/9/5 Kjetil Kjernsmo <[EMAIL PROTECTED]>: &

Re: Tomcat 6 and corruption of text in French error pages

2008-09-07 Thread Konstantin Kolinko
using? 2. Does Content-Type header of the response contain the ";charset=utf8" suffix? You can check that using LiveHTTPHeaders firefox plugin, or using wget --save-headers, or connecting through telnet. In my case, the Content-Type: of the 404 page is "text/html;charset=utf8&quo

  1   2   3   4   5   6   7   8   9   10   >