ituation is happend? I coudn't find any
> information of this change in documentation. And I'm interesting what is
> better: create single datasource (I think so) or create several by factory.
> Thanks a lot for help!
1. Full stacktrace of javax.management.InstanceAlreadyExistsExce
tionQuery configured? testOnBorrow, testWhileIdle
do not work without it.
Best regards,
Konstantin Kolinko
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
2015-02-03 14:13 GMT+03:00 Vadzim Radchykau :
>
> 1. Attached file stack.txt
> 2. version 8.0.18
>
> 2015-02-03 14:01 GMT+03:00 Konstantin Kolinko :
>>
>> 2015-02-03 12:44 GMT+03:00 Vadzim Radchykau :
>> > Hello, everybody! I have a question about context
t-Encoding: gzip, deflate
> Referer: http://boyle.fern.io/login/challenge
5) Leaking a site name
> Cookie: ib=f7e8f6d4823853063b94e16a1f5252b06b62de621361f67ac6fdeca7259c0ec3
> Connection: keep-alive
Best regards,
Konstantin Kolinko
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
urrent session.
No. invalidate() only destroys the current session. It does not
create any new sessions.
A new session can be created by a HttpServletRequest.getSession() /
getSession(true) call.
Best regards,
Konstantin Kolinko
---
ion of Tomcat 7.0.x you are using.
2. If you are debugging it, put a breakpoint on
org.apache.catalina.connector.Response.sendError() and look what calls
the sendError() method.
As a reminder (maybe you already know that),
http://wiki.apache.org/tomcat/FAQ/Developing#Debugging
3. There current
.realm.TomcatSasJAASRealm.(TomcatSasJAASRealm.java:212)
The someone's TomcatSasJAASRealm is not designed for Tomcat 7. It
depends on an internal API that was changed / moved.
As Mark mentioned, the Migration guide is a must-read.
Best regards,
Konstantin Kolinko
lements into server.xml. That is a really bad practice.
See Context element in Configuration Reference Guide,
webapps/docs/config/context.html
Be careful with typos. XML files are case-sensitive. There is no such
attribute as "docbase".
Best regards,
Konstantin Kolinko
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
an perform path arithmetics regardless of
terminating '/' in parent path,
new File(parent, child)
Best regards,
Konstantin Kolinko
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
mentation for task for Tomcat 8. Is
> there any additional configuration necessary (in contrast to Tomcat
> 5.5/6/7)?
Thank you for the report, I filed this into Bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=57558
1. What is the full stacktrace of that NoClassDefFoundError?
2. Yo
is
> there a way to monitor TC's connection pool stats and figure this out?
Note that there are configuration differences between DBCP 1.x pool
(in Tomcat 7) and DBCP 2.x (in Tomcat 8). It is mentioned in the
Tomcat Migration Guide.
ither an error in your web application
or a misconfiguration.
http://wiki.apache.org/tomcat/MemoryLeakProtection
If java process has run out of memory (an OutOfMemoryError happened),
you have to kill and restart it.
Best regards,
Konstantin Kolinko
2015-02-11 4:48 GMT+03:00 Alexander Johnson :
> Thanks for the suggestions. I don't have access to the server where this
> is happening, but I did get a script to run there:
>
> echo Displaying JAR files with current permissions...
> ls -la ./target/MyProject/WEB-INF/lib/
>
>
2015-02-10 22:45 GMT+03:00 Wirth, Kevin :
> Yes, that is the log I am looking at and it is blank.
>
What about the other log files?
>
> Look for anything in the logs/ directory. In a default configuration, the
> logs for your application would probably have gone to localhost-*.log.
>
Are logs b
You need to move, not copy.
Copying is not enough, as webapp jars are preferred over Tomcat ones.
Also having the same class in two places may result in a behaviour
that you do not expect.
http://tomcat.apache.org/tomcat-7.0-doc/class-loader-howto.html
2015-02-12 17:33 GMT+03:00 Wirth, Kevin :
>
us setting of the HTTP header.
> Is this something that HttpURLConnection does not expose to the
> programmer? Does it simply handle the situation on its own?
>
See the following recent BZ issue for a link
https://issues.apache.org/bugzilla/show_bug.cgi?id=57530
Best regards,
Konstant
on of Apache Struts (earlier than 2.3.16.2). If so, your server
may have been hacked.
http://struts.apache.org/announce.html
The above stacktrace is an attempt to run a Java program.
You may try searching for "aasxknsakadskdskdskdsakxxmads" string
across your Tomcat installation. If there is
2015-02-18 18:22 GMT+03:00 배효진(Ken) :
> Hello!
>
> Im not sure, whether this error is related or not.
> I test 8.0.18, and similar exception occured.
>
> In my case, there was no problem in JSP, with <%@ page import="static
> test.Test.*" %>
> but, exception was occured in tag file, with <%@ tag im
format.
Documentation:
http://tomcat.apache.org/bugreport.html#How_to_submit_patches_and_enhancement_requests
Best regards,
Konstantin Kolinko
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
itle: “undefined” randomly appended in 1% of requested urls on my
website since 12 june 2012
One of theories there is that some browser addon was malfunctioning.
If nothing else helps, it should be easy to implement a Valve for
Tomcat that will fix the wrong request.getMethod() value before
passing it to a 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
2015-02-21 1:00 GMT+03:00 Sean Dawson :
> On Fri, Feb 20, 2015 at 4:41 PM, Konstantin Kolinko
> wrote:
>
>> 2015-02-21 0:10 GMT+03:00 Sean Dawson :
>> >
>> > ...
>> > "undefinedPOST /gwtRequest HTTP/1.1" 501 1136
>> >
>>
connections are gone. Now, above context
> setting (except factory=... which I just added) works fine in tomcat6,
> java6 environment, target database is the same.
>
> Could anyone sent me working pool definition for: Ubunutu 14, tomcat7,
> java
webapp
has its own configuration of AccessLogValve).
Do you have the files in /home/apache-tomcat-8.0.20/webapps/manager ?
Any chance that you are starting with Java Security Manager being
enabled? In this case you should see error messages in the logs.
Best regards,
Konstantin Kolinko
2015-03-03 1:45 GMT+03:00 Eric :
> I am trying to change the ciphers that my Tomcat 7 server supports. I am
> using the APR connector. Here's the connector information in server.xml
> with the line saying which ciphers to support:
>
> enableLookups="false" disableUploadTimeout="
2015-03-04 15:41 GMT+03:00 Geo Wulf :
> Hi everyone,
>
> I'm trying to switch from Tomcat 7 to 8 (8.0.20).
>
> Starting Tomcat 8 takes about 20 minutes (about 100 seconds for Tomcat 7).
> According to log, there is a delay of about 18 minutes between the log
> message "Starting Servlet Engine" and
2015-03-06 13:41 GMT+03:00 Neven Cvetkovic :
> Hey Emir,
>
> On Thu, Mar 5, 2015 at 2:18 PM, Emir Ibrahimbegovic
> wrote:
>
>> I've got this message when starting a tomcat server :
>>
>> org.apache.catalina.core.AprLifecycleListener.lifecycleEvent The APR
>> based Apache Tomcat Native library whic
t; this server.
>
> (neither does it work if one replaces the "spengo" parts by "spnego"..)
>
Apparently they replaced '-' with '+' and have lost the ".html" suffix.
https://cwiki.apache.org/confluence/display/GMOxDOC21/
2015-03-13 15:13 GMT+03:00 Konstantin Kolinko :
> 2015-03-13 15:04 GMT+03:00 André Warnier :
>> Hi.
>>
>> Errata :
>>
>> In the page
>> http://tomcat.apache.org/tomcat-8.0-doc/windows-auth-howto.html#References
>> (and also in the correspondi
cator class.
An authenticator is essentially a Valve. Its entry point is invoke() method.
Best regards,
Konstantin Kolinko
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
va:356)
> at java.util.logging.LogManager$3.run(LogManager.java:418)
You are using JRE's default java.util.logging.LogManager.
You need to configure JRE to use the Tomcat JULI implementation of log
manager with
-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
The JRE c
ion
error. I mean that you would not see that with a properly configured
CGIServlet. If my guess is wrong, you need to provide a specific use
case that demonstrates otherwise.
Best regards,
Konstantin Kolinko
-
To
uest after reading it in a Valve.
The method does a lot more (as it has to reset the whole request).
Your task is a bit easier.
2. Top posting is bad.
http://tomcat.apache.org/lists.html#tomcat-users
-> point "6."
Best regards,
Konstantin Kolinko
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
non-/db request doesn't exist as an apache asset, if so
> rewrite to /db and pass through
> RewriteCond %{REQUEST_URI} !^(/db$|/db/)
!^/db($|/)
> RewriteCond %{DOCUMENT_ROOT}%{REQUEST_FILENAME} !-f
> RewriteCond %{DOCUMENT_ROOT}%{REQUEST_FILENAME} !-d
> Rewr
2015-12-18 2:33 GMT+03:00 Konstantin Kolinko :
> 2015-12-17 23:23 GMT+03:00 Anthony Biacco :
>
>> mod_proxy_balancer/ajp. For asthetics, i rewrite / for my URL (e.g.
>> https://dashboard.domain.com) to the tomcat context uri /db, and then
>> ProxyPass/ProxyPassReverse /db
pplication. Usually those web applications are protected by a
RemoteAddrValve.
Have you looked in other log files as well?
https://wiki.apache.org/tomcat/FAQ/Troubleshooting_and_Diagnostics#Common_Troubleshooting_Scenario
> GoDaddy
https://wiki.apache.org/tomcat/FAQ/Linux_Unix#Q5
You can modify AccessLogValve configuration to dump Location header of
responses, and compare them.
>
> I've got a TCPDUMP capture I can share if someone would like to see it.
I would like to see it.
Best regards,
Konstantin Kolinko
---
2015-12-24 5:22 GMT+03:00 George Sexton :
>
>
> On 12/23/2015 6:59 PM, Konstantin Kolinko wrote:
>>
>> 2015-12-24 4:09 GMT+03:00 George Sexton :
>>>
>>> I'm seeing an unusual behavior change going from 7.0.65 -> 7.0.67. I've
>>> confirme
2015-12-23 23:55 GMT+03:00 David Gietka - NOAA Federal :
> Hello Chris,
> Thanks for your response. There was nothing else in the log (see below),
> but with the latest version of tomcat 7 (7.0.67), I was able to start the
> downloaded version of tomcat with -security enabled. I will review my
>
ld be greatly appreciated.
You have to provide the actual source code.
There is an example in the examples webapp that performs forwarding to
a JSP and it works,
\webapps\examples\WEB-INF\classes\ServletToJsp.java
Best regards,
Konstantin Kolinko
equestWrapper.getRequest() method to access the wrapped
object, instead of storing it 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
e used as replacement implementation and fails in
strange ways. Try with the current version (2.11.0).
http://xerces.apache.org/#xerces2-j
Actually placing something into "\endorsed" does not replace the
existing library inside of JRE, but just places the new library in
front of bootstrap classpath. So in your case the JRE operates on a
mix of up-to-date and historic classes.
Best regards,
Konstantin Kolinko
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
context.
Discussed here:
http://markmail.org/thread/wwfgnc6qwgaenwol
https://bz.apache.org/bugzilla/show_bug.cgi?id=57645
Best regards,
Konstantin Kolinko
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
2016-01-04 2:22 GMT+03:00 Christopher Schultz :
> Konstantin,
>
> On 12/31/15 12:56 PM, Konstantin Kolinko wrote:
>> 2015-12-31 12:41 GMT+03:00 Tomasz Macnar :
>>> Thanks for answer.
>>> I understand that application deploy order is the key to get context t
2016-01-07 9:36 GMT+03:00 Prashant Kaujalgi :
> Dear Team,
>
>
>
> First of all, I want to apologies if there is a well known fix to my
> problem.
>
>
>
> Environment:
>
> OS: Windows server 2008
>
> Tomcat application server: Apache Tomcat 7.0.63
>
> Web server : Apache 2.2
>
> JRE build : jdk1.6.
2016-01-08 19:02 GMT+03:00 Christopher Schultz :
> Thomas,
>
> On 1/8/16 8:00 AM, Thomas Scheffler wrote:
>> Am 08.01.16 um 11:43 schrieb Olaf Kock:
>>> Is there any chance that the first and correctly authenticated cookies
>>> (despite the debug output "secure=false") are https-only cookies and
>>
compression="off"
How do you proxy your requests?
Usually requests are proxied with AJP protocol, so the above HTTP
connector configuration does not matter.
Best regards,
Konstantin Kolinko
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
truts: 2.3.24
The current version is 2.3.24.1 (released 3 months ago)
http://struts.apache.org/announce.html#a20150924
Best regards,
Konstantin Kolinko
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
sks (prompts) you to uninstall old
versions of java. You may have uninstalled the old version and it is
no longer found.
Best regards,
Konstantin Kolinko
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
2016-01-25 0:49 GMT+03:00 Karl Hauschildt :
>
>
> Background:
>
> JAVA Web application, Eclipse workspace with an ANT build.xml.
>
> Using Windows, this project builds using java 1.7, deploys to multiple
> Solaris environments running Tomcat 5, 6 or 7 and runs cleanly.
>
>
>
> I have to deploy the
above. I forgot for the moment that -Xmx is a
> Java parameter, not Tomcat.
> Nonetheless would be interesting to know, where the configurator puts its
> parameter settings and
> how one can control whether the jvm parameters are really effective.
>
The settings are written into Windows Registry
http://commons.apache.org/proper/commons-daemon/procrun.html
The service runner has debug logging, that you can enable via GUI (tomcat6w.exe)
Best regards,
Konstantin Kolinko
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
ease.
It is known that apachelounge.com builds mod_jk for their builds of httpd.
Best regards,
Konstantin Kolinko
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
2016-01-28 16:44 GMT+03:00 Konstantin Kolinko :
> 2016-01-28 15:00 GMT+03:00 André Warnier (tomcat) :
>> Hi.
>>
>> On the page
>> http://apache.lauf-forum.at/tomcat/tomcat-connectors/jk/binaries/windows/,
>> the following mod_jk binaries are available :
>>
2016-01-28 14:07 GMT+03:00 Thomas Scheffler :
> Hi,
>
> it seems that Tomcat 8.0.30 silently transforms a redirect response into a
> not-found response.
>
> https://bz.apache.org/bugzilla/show_bug.cgi?id=56917 introduces redirect to
> relative URLs.
>
> Before 8.0.30 a redirect URL string was simpl
eyond our control, but it still has to follow
the spec.
2. The map returned by ApplicationHttpRequest class must be immutable
[2], but it is not enforced. I filed
https://bz.apache.org/bugzilla/show_bug.cgi?id=58946
[1] https://wiki.apache.org/tomcat/Specifications#Java_Servlet_Specifications
[2]
htt
at a buffer that has not been flipped is not
distinguishable from an empty buffer.
Sending empty data is an empty operation, not an error.
2. Tomcat implements Java API for WebSocket 1.1 (JSR356).
Error handling is defined by specification.
Bes
using a WAR file alone.
For standalone Tomcat that is not used as a component of a larger Java
EE server such feature is not needed and is not implemented.
For the rest - see Mark's answer.
Best regards,
Konstantin Kolinko
-
ndows installer
If running the build in a UAC enabled environment, building the Windows
installer requires elevated privileges. The simplest way to do this is to
open the command prompt used for the build with the "Run as administrator"
option.
[/q]
Also, do you really need the in
The rules:
http://tomcat.apache.org/lists.html#tomcat-users
-> 6. do not top-post
-> 7. use plain text in your e-mail
No clue what is instruction in your piece of code is "the yellow" one.
2016-03-04 13:24 GMT+03:00 Tullio Bettinazzi :
> The problem is all in this small piece of code
> B
uot;, a year ago. As there were no such threads
recently, I think that bug has already been fixed.
The only Tomcat code in that stacktrace is
org.apache.tomcat.util.threads.TaskQueue.
The connector type can be guessed as "bio" from the thread name, but
as a thread name can be configured on an Executor, this identification
is not reliable.
Best regards,
Konstantin Kolinko
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
its own
logging, and one configures a ConsoleAppender for Tomcat, this
ConsoleAppender is not affected by swallowOutput.
The limitations are documented here:
http://tomcat.apache.org/tomcat-8.0-doc/logging.html#Console
If you do
the vendor has in the WEB-INF/classes directory?
Yes.
The same for Tomcat own log configuration,
http://tomcat.apache.org/tomcat-8.0-doc/logging.html#Considerations_for_production_usage
(Just mentioning for completeness. IIRC you have already reconfigured
Tomcat o
5".
My guess is that that file is just a template that is pre-processed by
something.
Maybe you can delete it and get a FileNotFoundException with a stacktrace?
Also you can ask on jenkins mailing list/forum/what they have there.
Best regards,
Konstantin Kolinko
5. You can try debugging [2].
Possible place for a breakpoint:
org.apache.catalina.authenticator.AuthenticatorBase#invoke()
// Realm realm = this.context.getRealm();
6. Generally, I do not like JDBCRealm as it uses a single database
connection. The recommended alternative is DataSourceRealm [3]
[
tions/813421/can-you-extend-the-expiration-date-of-an-already-expired-gpg-key
https://help.riseup.net/en/security/message-security/openpgp/best-practices#use-an-expiration-date-less-than-two-years
Best regards,
Konstantin Kolinko
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
2016-04-20 10:23 GMT+03:00 Martijn Bos :
> Hi Konstantin,
>
> On 2016-04-20 01:25:25, Konstantin Kolinko wrote:
>> 2016-04-19 23:00 GMT+03:00 Martijn Bos :
>> > Hi all,
>> >
>> > (I post in this list since I downloaded from tomcat.apache.org. If there
>
/'. I'm currently of the view (subject
> to the results of some local tests I am running) that if the input ends
> in '/', so should the output. If the input doesn't end in '/' neither
> should the output unless the output is t
ke
internal copy of Apache Xerces library as was used by an (old) JRE.
It is as if someone is trying to bundle a JRE class within a web
application.
1. Redistributing JRE classes in such way is wrong.
2. You can get the real Xerces-J XML parser library here:
http://xerces.apache.org
1. Mailing list rules:
http://tomcat.apache.org/lists.html#tomcat-users
-> 6. Top-posting is bad.
2. "192.168.44.1" in access log is client IP, not server IP.
AccessLogValve can be configured to log "Local IP address", but that
is not the default configuration.
3. The Manager web application is
ocesses.
Sample code:
o.a.catalina.ant.ValidatorTask
InputSource is = new
InputSource(file.toURI().toURL().toExternalForm());
is.setByteStream(stream);
o.a.catalina.startup.Catalina:
InputSource is =
er, see "addConnectorPort"
attribute of the valve,
http://tomcat.apache.org/tomcat-8.0-doc/config/valve.html#Remote_Address_Filter
Best regards,
Konstantin Kolinko
-
To unsubscribe, e-mail: users-unsubscr...
That is the build date. Release date is several days late
(2016-06-20) and can be seen
- at the front page of http://tomcat.apache.org/
- in the change log of 7.0.71 (in svn repository)
2016-08-05 18:32 GMT+03:00 Violeta Georgieva :
> Hi,
>
> The date for the latest release is just above the ch
> when I try to compile a web project
Why and how are you trying to "compile" it? Usual configuration for
Eclipse is to build it automatically (Project > Build Automatically in
menu). What did you mean, step by step?
Best regards,
Konstantin Kolinko
--
//tomcat.apache.org/tomcat-8.5-doc/manager-howto.html#Configuring_Manager_Application_Access
http://tomcat.apache.org/migration-85.html#Web_applications
Also, mailing list rules
http://tomcat.apache.org/lists.html#tomcat-users
-> Important ->
vhost argument of the
map_uri_to_worker_ext function.
In case of Apache HTTPD server the value of vhost argument is always
NULL, thus vhost_len = 0. and those servers are not affected.
Best regards,
Konstantin Kolinko
-
To un
g Framework)
that essentially calls request.setCharacterEncoding() for you.
See webapps/examples/WEB-INF/web.xml for an example.
Best regards,
Konstantin Kolinko
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
changed from 8.0.11 to 8.0.20 that affects JSP
> compilation?
Majority of changes listed in "Jasper" section of changelog affect JSP
compilation.
Best regards,
Konstantin Kolinko
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
due to lack of attention and is
removed from the current trunk.
Best regards,
Konstantin Kolinko
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
ALINA_OPTS} -Xms1024M -Xmx1024M"
Memory options should go into CATALINA_OPTS only, not both.
If you are using a 64-bit JVM, it needs more memory than a 32-bit JVM
would need, as object pointers require more memory.
<...>
Best regards,
Konstantin Kolinko
-
pace.
Are element bodies also logged elsewhere?
2) Sometimes people make a mistake misplacing ">" or forgetting ">"
and what they expect to be attributes actually happens to be in body
of an XML element.
http://markmail.org/message/uvdwl5dm3rwhyyt5
3) If s
1992 ?S01:20 0:02
> /usr/sbin/apach
>
> Directories:
> drwxrwxrwx 12 tomcat7 staff 4096 Jan 13 15:37 artist
> drwxrwxrwx 2 tomcat7 staff 4096 Sep 24 2014 company
> drwxrwxrwx 12 tomcat7 staff 4096 Dec 20 02:15 psnt
> drwxrwxrwx 9 tomcat7 staff 4096 Jan 27 16:
2015-04-06 21:19 GMT+03:00 Prathyusha Kanala :
> Hi,
>
> My web application was initially running on tomcat 7.0.53 and I
> use org.apache.commons.codec.binary.Base64 for encryption and decryption.
>
> Now the server has been updated to tomcat 7.0.57 and I get a java
> Nullpointer error at c.doFinal
2015-04-02 14:01 GMT+03:00 Thusitha Thilina Dayaratne :
> Hi,
>
> I'm using embedded-tomcat 8.0.20 in my project. In that I'm parsing a
> custom server.xml file. After the parsing CatalinaBase value of the Server
> is set to null.
> Could someone tell me why would be the reason?
> Before parsing th
tion including the following and none work:
>
>
>
Look into startup logs (was the file read correctly? has the manager
app started successfully?), access logs.
Best regards,
Konstantin Kolinko
-
To unsubscribe, e-m
of the filters on the request's way back out the chain(s).
>
> I think I prefer the Listener approach better.
Filters are better.
With Filter there is a guarantee that finally block is executed in the
same thread.
With RequestListener there is no guarantee that "requestDestroyed()&qu
> server.xml that pulls the password value in from another place.
> Examples include an ant-based build with filtering or external XML
> entities.
https://wiki.apache.org/tomcat/FAQ/Password
> If you'd still like this feature, please open a Bugzilla enhancement
> r
mcat.apache.org/tomcat-8.0-doc/security-howto.html#Securing_Management_Applications
2) It should be possible to shadow (override) WEB-INF/web.xml of an
application by configuring a element in its context
file,
http://tomcat.apache.org/tomcat-8.0-doc/config/resources.html
3) You can rename the application, configure it, pack into a war and
upload via the default manager app.
The name of the manager application does not matter. It can be renamed.
(If you are running with java SecurityManager enabled, it will require
additional configuration in policy file, and to configure context file
for the application).
Best regards,
Konstantin Kolinko
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
wed to load the SSIServlet class unless
the site administrator explicitly allowed it by marking that
application as "privileged".
(Manager and Host-Manager are privileged, as thus they did not fail at startup)
Best regards,
Konstantin Kolinko
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
tional configuration I need
> to do in Tomcat in order to debug while it is running in a Vagrant box
> using port forwarding.
Have you started Tomcat in debug mode?
E.g. "./catalina.sh jpda start"
See JPDA_ADDRESS option in catalina.sh source code.
Best regards,
Konstantin Kolin
nf\logging.properties
> -DWebSira.configFileName="F:\tomcat8_clients\PelicanWebSIRA.properties"
>
4) When installing 8.0.21, did Windows prompt you for permissions (aka UAC)?
(I mean, was it permitted to modify C:\Program Files and did it
successfully wrote the files there?)
5) FAR Manager is a good tool to work with files on Windows. It may be
useful for you to look at the files.
http://tomcat.apache.org/tools.html#Open_Source_Tools
Best regards,
Konstantin Kolinko
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
2015-05-01 3:29 GMT+03:00 David Landis :
> On Thu, Apr 30, 2015 at 5:24 PM, Konstantin Kolinko
> wrote:
>
>>
>> Have you started Tomcat in debug mode?
>> E.g. "./catalina.sh jpda start"
>>
>> See JPDA_ADDRESS option in catalina.sh source code.
&g
f Tomcat 8 is 8.0.21. Whatever your
several-years-old 8.0.5 does -- hardly anyone remembers now. You may
read the mailing list archives from several years ago.
Best regards,
Konstantin Kolinko
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
gt;
> Is there any reason not to auto-generate test certs at the beginning
> of the "ant test" target?
>
> Also, it's possible to disable certain portions of the
> certificate-checking algorithm. Would it be worth it
uot; in your jar file?
E.g. "%JAVA_HOME%\bin\jar" -tf catalina.jar lists directories:
META-INF/
META-INF/MANIFEST.MF
org/
org/apache/
org/apache/catalina/
org/apache/catalina/authenticator/
Usually there exists an option to jar tool whether to create those
directory entries.
Best re
2015-05-07 19:29 GMT+03:00 Mariano López :
> Hi all, I want to know all the aliases defined in container in
> server.xml of Tomcat 7.0.61
>
> My server.xml has the following configuration:
>
> ..
>
>
> ..
>
> ..
>unpackWARs="true">
>
> alias1.server
> alias2.server
>
rg/migration.html
What changes do you mean when you are talking about "web dav"?
Best regards,
Konstantin Kolinko
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
oot.addPostResources(drs);
> }
> catch(Exception e)
> {
> log.log(Level.SEVERE, "Error setting up class path", e);
> }
> }
>
> And here is the catalina.out log pertaining to this section of code.
> (...)
https://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
e.http11.Http11AprProtocol)
See "protocol" attribute in
http://tomcat.apache.org/tomcat-8.0-doc/config/http.html
Also
http://tomcat.apache.org/tomcat-8.0-doc/apr.html
http://tomcat.apache.org/native-doc/
All pure-java connectors (BIO, NIO, NIO2) do not use OpenSSL library.
2) Recommend
let
> Engine: Apache Tomcat/8.0.22
The "forced recycling" message is not a problem per se, but an
indicator of a problem. In the same way as "or even on one virtual
host appeared a page from another virtual host" that you. It signals
that a request/response object was not em
tation.
The online documentation is for the current version (6.0.44).
Best regards,
Konstantin Kolinko
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
and Tomcat 8 uses DBCP 2, where some attributes
have different names.
As mentioned in migration guide:
http://tomcat.apache.org/migration-8.html#Database_Connection_Pooling
Best regards,
Konstantin Kolinko
-
To unsubscribe, e-mail:
2101 - 2200 of 2381 matches
Mail list logo