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
idation 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-CommonTroubleshootingScenario
Places to loo
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
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
---
.
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 JULI is
ight 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 help.
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
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
> 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,
tServlet (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
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
logger 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
d 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 lines in build.propert
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
пт, 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
пт, 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:
> >
> &
0.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 the package in
Jakarta E
o timezone 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
ave? Are those numbers adequate?
> maxWaitMillis="3000"
> removeAbandonedOnBorrow="true"
> removeAbandonedOnMaintenance="true"
> removeAbandonedTimeout="300"
> logAbandoned="true"
> testOnBorrow=&
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
-
To un
ty 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
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
ut 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
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
---
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,
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
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
t 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
-
To unsub
or feature.
>
> 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
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 configuration. I saw some
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
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
l 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
"swallo
чт, 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
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
MCAT/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
-
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
-
пт, 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)
>
>
ack 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,
Konstantin Kolinko
r 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/ServletContainerInitiali
nostics#TroubleshootingandDiagnostics-Techniques
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 background th
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]
ing 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):
http://localhost:8
вт, 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
nd 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() method is implemented by
o.
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
roubleshootingandDiagnostics-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: users-u
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
) 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
t.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.w
:
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 me
e 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, whi
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 is
documented as "@since 1
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
st saw it many years ago was
here:
https://tools.ietf.org/html/rfc1866#section-8.2.1
HTML 2.0 spec
> The fields are listed in the order they appear in the document
Personally, I would not rely on the order of names provided by
getParameterNames(), as it would be surprising for a client if
proces
utStream 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
uld be able to
answer what installed package those files belong to.
https://stackoverflow.com/questions/1133495/how-do-i-find-which-rpm-package-supplies-a-file-im-looking-for
Best regards,
Konstantin Kolinko
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
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.or
" 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
;.
[1] https://svn.apache.org/viewvc?view=revision=1198707
[2] https://svn.apache.org/viewvc?view=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 person wh
ср, 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
вт, 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
> 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-TroubleshootingunexpectedResponsestatepro
te/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,
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
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 cat's food: Tomcat-Native has the method:
o
e 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
ntil 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 explicitly (calling part.delete() in a cycle
d, 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
t as a war
file.
1) Copy your META-INF/context.xml file as
$CATALINA_BASE/conf/Catalina/localhost/yourwebappname.xml
2) Add docBase attribute to the element in it.
See
http://tomcat.apache.org/tomcat-9.0-doc/config/context.html#Defining_a_context
Best re
сб, 29 февр. 2020 г. в 15:33, Alexander Curvers :
>
>
Note the "". Those are comment wrappers in XML.
The above definition is commented-out and thus is ignored.
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For
ist of all attributes for that session.
You may look into the source code for HTMLManagerServlet to see how
"sessionDetail" command is implemented.
Best regards,
Konstantin Kolinko
-
To unsubscribe, e-mail: users-unsubscr...@t
[3].
[3] https://tomcat.apache.org/migration.html
[4] https://tomcat.apache.org/migration-6.html#Modified_directory_structure
Best regards,
Konstantin Kolinko
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
figuration setting turned on?
org.apache.catalina.connector.RECYCLE_FACADES=true
See
https://cwiki.apache.org/confluence/x/yColBg#TroubleshootingandDiagnostics-TroubleshootingunexpectedResponsestateproblems
Best regards,
Konstantin Kolinko
-
To unsubscrib
lf. Though personally
my first reaction to any e-mail that resembles spam is to ignore it.
Best regards,
Konstantin Kolinko
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
чт, 12 дек. 2019 г. в 12:43, thulasiram k :
>
> Hi,
>
> I tried to generate thread dump for tomcat 7.0.94 in windows 2016. it
> writes in logs "[10340] Console CTRL+BREAK event signaled" but no dump has
> generated. Can you please guide on this how to generate the thread dump /
> heap dump here.
s that it does not
break any real use case.
Best regards,
Konstantin Kolinko
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
9.0.30 - release candidate is available
and is currently being voted - see dev@ mailing list.
Best regards,
Konstantin Kolinko
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
пн, 9 дек. 2019 г. в 03:58, Nelligan, Steven M :
>
>
> I am trying to rebuild my applications and all of a sudden, I am getting the
> following error:
>
> Our backend application (from third party has been updated) It is using Java
> 11.
>
> My tomcat servers are running version 7.34 of tomcat
чт, 5 дек. 2019 г. в 01:20, Guild, Jason A (DOT) :
>
> Hi all:
>
> The context path of the Tomcat manager application is "/manager" by default
> [0].
> I am trying to change this context path from the default using an override
> configuration.
>
> I am doing the typical creation of a container
ср, 4 дек. 2019 г. в 22:38, Christopher Schultz :
> Konstantin,
>
> On 12/4/19 13:33, Konstantin Kolinko wrote:
> > ср, 4 дек. 2019 г. в 20:28, Christopher Schultz
> > :
> >>
> >> All,
> >>
> >> I feel like I should be able to figure this o
ng is broken.
> I'm using Oracle Java 1.8.0 build 161.
FYI, an up-to-date version of Java 8 for Windows is available from AdoptOpenJDK.
https://adoptopenjdk.net/
It is 8u232 now.
Best regards,
Konstantin Kolinko
-
To u
s with elevated
privileges. That is why service.bat was changed to pass all settings
as command line arguments when installing a service (calling
tomcat9[w].exe). You may find a reference to Bugzilla issue in the
commit history of the s
echnology is to place your configuration
into WEB-INF/classes/logging.properties file of your web application.
Best regards,
Konstantin Kolinko
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
INER or FINEST.
https://docs.oracle.com/javase/7/docs/api/java/util/logging/Level.html#ALL
> When running, I see no logging when I'm expecting to see things in
> catalina.out. I changed these lines from log.trace() to
> System.err.println() and they do indeed show up.
&
uot;Jasper" component of
Tomcat and its org.apache.jasper.servlet.JspServlet
Technically, it should not rely on Tomcat internals and could be
swapped with some other implementation. (Not tested).
Best regards,
Konstantin Kolinko
ists.html
And do not forget to follow the rules. They are the same as for the users list:
http://tomcat.apache.org/lists.html#tomcat-users
6. Top-posting is bad.
Best regards,
Konstantin Kolinko
-
To unsubscribe, e-mail: users
ist for links).
There have been changes in the decoding code between 8.5.46 and .47.
c8fcc65e74d43b8201a50a30f88836264e565f79
709b45b42020d6cbc59940ab04380f5b0134b946
(on 17 and 18 of September)
Best regards,
Konstantin Kolinko
пн, 7 окт. 2019 г. в 15:44, Martin Knoblauch :
>
> Hi Konstantin,
>
> On Mon, Oct 7, 2019 at 2:36 PM Konstantin Kolinko
> wrote:
>
>
> 2. For Tomcat to issue a redirect, the "docs" directory must be
> > present in your web application. It
present. (If there is none, Tomcat does not know that the requested
resource is a directory).
3. Starting with some version (January 2016) the default place where
the redirect is issued by Tomcat was moved from Mapper (in earlier
stages of request processing) to the DefaultServlet. This behaviour
ity-howto.html#System_Properties
[2] https://tomcat.apache.org/security.html
[3] https://tomcat.apache.org/tomcat-9.0-doc/config/systemprops.html#Logging
Best regards,
Konstantin Kolinko
-
To unsubscribe, e-mail:
hink you should consider using the "parallel
deployment" feature. You can deploy a new version of your application
in parallel with the old one.
http://tomcat.apache.org/tomcat-8.5-doc/config/context.html#Parallel_deployment
Best re
чт, 25 июл. 2019 г. в 17:23, Support :
>
> Hi Sir,
>
> I am using tomcat 9 for my application. For my admin page, I have a
> username and password in conf/tomcat-user.xml.
> Using digest.sh, I encrypted my password(sha-256).
>
> password: Password
> encrypted: 5er5akakfkd556546adnfjbkklndkfgbjdb
Apache HTTPD Server administrators
around you, the rewrite syntax will be more familiar to them).
Best regards,
Konstantin Kolinko
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
pp-0.3.0\config]
> could not be completely deleted. The presence of the remaining files may
> cause problems
As you can see from the above log message, Tomcat was unable to delete
the "config" directory. Thus your stopping and undeploying a web
application was not completed.
B
atch (Exception ex) {
reportError(null, ex, ErrorManager.WRITE_FAILURE);
}
]]]
The actual processing of the error is delegated to a
java.util.logging.ErrorManager. The default implementation just
prints to System.err once and ignores further errors, but I think it
is configurable.
I hope this helps.
Best r
пн, 22 июл. 2019 г. в 23:15, Hua, Gary - Saint Louis, MO - Contractor
:
>
> Chris:
>
> We inherited this web application from previous vendor IBM.The original
> version of hibernate related jars are: cglib-2.1.jar, ehcache-1.1.jar,
> hibernate3.jar(3.1.0)
>
> This web application was
that all its files
(in webapps and in work directory) are removed. The "config" directory
may remain from an incomplete undeployment.
E.g. if the files in the config directory are owned by root user and
cannot be deleted by the user running Apache Tomcat.
3. I hope that you do not run two cop
ally, I usually run with
org.apache.catalina.STRICT_SERVLET_COMPLIANCE=true
and that turns "xmlValidation" on as well).
4. Top-posting is bad.
[1] http://tomcat.apache.org/tomcat-9.0-doc/config/context.html
Best regards,
Konstantin Kolinko
roved, it is an issue with Apache Commons Daemon project.
If some documentation is lacking, it could be improved in Apache Tomcat project.
Best regards,
Konstantin Kolinko
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
1 - 100 of 2339 matches
Mail list logo