Re: Tomcat 8

2015-02-03 Thread Konstantin Kolinko
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

Re: JDBC authentication problem

2015-02-03 Thread Konstantin Kolinko
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

Re: Tomcat 8

2015-02-03 Thread Konstantin Kolinko
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

Re: Session being dropped in Virtual Host in 8.0.9

2015-02-03 Thread Konstantin Kolinko
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

Re: HttpSessionBindingListener details

2015-02-05 Thread Konstantin Kolinko
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 ---

Re: IIS 6.0 isapi_redirect 1.2.40 Tomcat 7.0 403 Forbidden

2015-02-06 Thread 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

Re: TomcatSasJAASRealm issue while Tomcat6 to Tomcat7 migration

2015-02-06 Thread Konstantin Kolinko
.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

Re: Tomcat 8 - session replication DeltaManager not working

2015-02-06 Thread 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

Re: Reg. getRealPath("/") _ How does the result of this method differ in Tomcat 7 and Tomcat 8

2015-02-10 Thread Konstantin Kolinko
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

Re: ant task throws NoClassDefFoundError - Tomcat 8.0.18

2015-02-10 Thread Konstantin Kolinko
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

Re: Tomcat 8 SQL Connection Problems

2015-02-10 Thread Konstantin Kolinko
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.

Re: tomcat errors

2015-02-10 Thread Konstantin Kolinko
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

Re: FileNotFoundException for existing JAR files

2015-02-10 Thread 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/ > >

Re: tomcat errors

2015-02-11 Thread Konstantin Kolinko
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

Re: tomcat severe error when shutting down service but startup is clean

2015-02-12 Thread Konstantin Kolinko
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 : >

Re: [OT] Java client using Expect: 100-continue

2015-02-12 Thread Konstantin Kolinko
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

Re: Our tomcat just crashed due to classnotfound, not sure how to investigate

2015-02-16 Thread Konstantin Kolinko
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

Re: Apparent Bug Introduced between 8.0.15 & 8.0.17

2015-02-18 Thread Konstantin Kolinko
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

Re: Issue with RewriteValve and folders (tomcat 8.0.15)

2015-02-20 Thread Konstantin Kolinko
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

Re: undefined method

2015-02-20 Thread Konstantin Kolinko
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

Re: undefined method

2015-02-20 Thread Konstantin Kolinko
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 >> > >>

Re: Connection leak Tomcat7 and Oracle

2015-02-26 Thread Konstantin Kolinko
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

Re: tomcat 8.0.20 can't make manager run HTTP Status 404 - /manager/status etc

2015-02-26 Thread Konstantin Kolinko
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

Re: Changing Tomcat's SSL ciphers

2015-03-02 Thread 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="

Re: Long start-up time of Tomcat 8.0.20

2015-03-04 Thread Konstantin Kolinko
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

Re: Tomcats warning message about APR library

2015-03-06 Thread Konstantin Kolinko
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

Re: Windows authentication : outdated link

2015-03-13 Thread Konstantin Kolinko
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/

Re: Windows authentication : outdated link

2015-03-13 Thread Konstantin Kolinko
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

Re: Tomcat7: debugging realms - a howto?

2015-03-13 Thread Konstantin Kolinko
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

Re: Tomcat7: debugging realms - a howto?

2015-03-13 Thread Konstantin Kolinko
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

Re: CGIServlet - Disregarding 404 error-page

2015-03-16 Thread Konstantin Kolinko
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

Re: Custom Connector class

2015-12-16 Thread Konstantin Kolinko
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

Re: 8.0.30 500 error - redirect

2015-12-17 Thread Konstantin Kolinko
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

Re: 8.0.30 500 error - redirect

2015-12-18 Thread Konstantin Kolinko
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

Re: Regarding User in Host Manager

2015-12-18 Thread Konstantin Kolinko
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

Re: 7.0.67 Possible Regresssion?

2015-12-23 Thread Konstantin Kolinko
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 ---

Re: 7.0.67 Possible Regresssion?

2015-12-23 Thread 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

Re: Startup issue with security manager enabled on Tomcat 7.0.65 or later

2015-12-24 Thread Konstantin Kolinko
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 >

Re: Very Strange 404 to JSP with getRequestDispatcher().forward()

2015-12-24 Thread Konstantin Kolinko
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

Re: Very Strange 404 to JSP with getRequestDispatcher().forward()

2015-12-24 Thread 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

Re: Fail to start Tomcat 8 with xerces library

2015-12-28 Thread Konstantin Kolinko
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

Re: Problem with get ROOT context in servlet on tomcat 8.0.30 (jdk 1.7.0_79)

2015-12-31 Thread Konstantin Kolinko
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

Re: Problem with get ROOT context in servlet on tomcat 8.0.30 (jdk 1.7.0_79)

2016-01-03 Thread Konstantin Kolinko
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

Re: close_wait in Tomcat 7.0.63

2016-01-06 Thread Konstantin Kolinko
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.

Re: Tomcat 8.0.30 Session lost

2016-01-08 Thread Konstantin Kolinko
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 >>

Re: Poodle attack and RC4 cipher complain, even after disabling SSLv3 in tomcat and Apache.

2016-01-14 Thread Konstantin Kolinko
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

Re: File size >= 2GB not uploaded in application [Tomcat 7.0.54 Struts: 2.3.24 JAVA: openJDK 1.7.79]

2016-01-17 Thread Konstantin Kolinko
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

Re: switching between Java8 and Java 7 under tomcat7 leads to error

2016-01-22 Thread Konstantin Kolinko
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

Re: Deployment of WEB App from ANT build fails with IOException.

2016-01-25 Thread Konstantin Kolinko
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

Re: switching between Java8 and Java 7 under tomcat7 leads to error

2016-01-26 Thread Konstantin Kolinko
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

Re: mod_jk Connector for Apache 2.2 and Windows 64-bit

2016-01-28 Thread Konstantin Kolinko
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

Re: mod_jk Connector for Apache 2.2 and Windows 64-bit

2016-01-28 Thread Konstantin Kolinko
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 : >>

Re: Tomcat 8.0.30 silently transforms 302 into 404

2016-01-28 Thread Konstantin Kolinko
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

Re: Application throwing ClassCast Exception while upgrading from tomcat 8.0.18 to tomcat 8.0.30

2016-01-30 Thread Konstantin Kolinko
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

Re: Tomcat feature request

2016-02-10 Thread Konstantin Kolinko
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

Re: Using MANIFEST.MF in Tomcat 8

2016-02-10 Thread Konstantin Kolinko
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 -

Re: Building binary release on Windows 10

2016-02-14 Thread 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

Re: Performance regression from 7 to 8

2016-03-04 Thread Konstantin Kolinko
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

Re: Idle Thread high CPU

2016-03-10 Thread Konstantin Kolinko
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

Re: Understanding how to controlling what data is written to log4j appenders

2016-03-10 Thread Konstantin Kolinko
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

Re: Understanding how to controlling what data is written to log4j appenders

2016-03-10 Thread Konstantin Kolinko
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

Re: how does has text value for port attribute of server element in server.xml works? e.g.

2016-04-14 Thread Konstantin Kolinko
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

Re: Tomcat 7: wrong realm being used?

2016-04-17 Thread 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] [

Re: pgp-keys jsp taglibs

2016-04-19 Thread Konstantin Kolinko
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

Re: pgp-keys jsp taglibs

2016-04-20 Thread Konstantin Kolinko
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 >

Re: context root with relative path

2016-04-20 Thread Konstantin Kolinko
/'. 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

Re: Fwd: webservice deployment on tomcat 1.7 with JAVA 1.8 is giving deployment errors

2016-05-10 Thread Konstantin Kolinko
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

Re: 403 Access Denied on manager app

2016-06-07 Thread Konstantin Kolinko
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

Re: [OT] External XML Entities with relative pathnames

2016-06-28 Thread Konstantin Kolinko
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 =

Re: Remote Address/Host Filter per connector ..

2016-07-07 Thread Konstantin Kolinko
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...

Re: Release Dates

2016-08-06 Thread Konstantin Kolinko
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

Re: load server configuration file error

2016-08-08 Thread Konstantin Kolinko
> 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 --

Re: Unable to access Manager App, Host Manager and Server Status urls

2016-08-15 Thread 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 ->

Re: CVE-2016-6808 Apache Tomcat JK ISAPI Connector buffer overflow

2016-10-07 Thread Konstantin Kolinko
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

Re: Is UTF-8 used everywhere for Tomcat 8.5.6?

2016-10-17 Thread Konstantin Kolinko
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

Re: JSP compilation fails with Tomcat 8.0.20. Works with 8.0.11

2015-03-23 Thread Konstantin Kolinko
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

Re: Container Provided ServletFilters

2015-03-28 Thread Konstantin Kolinko
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

Re: Tomcat server Performance imporvement required

2015-03-29 Thread Konstantin Kolinko
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 -

Re: Excessive number of blank lines being logged in blocks by org.apache.tomcat.util.digester.Digester

2015-04-01 Thread 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

Re: resources not more available after setting RemoteAddrValve

2015-04-06 Thread Konstantin Kolinko
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:

Re: org.apache.commons.codec.binary.Base64 question

2015-04-06 Thread Konstantin Kolinko
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

Re: After parsing the custom server.xml file, catalinaBase is set to null

2015-04-06 Thread Konstantin Kolinko
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

Re: Apache 8.0.21 log in to admin pages

2015-04-07 Thread Konstantin Kolinko
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

Re: Removing ThreadLocal variables

2015-04-13 Thread Konstantin Kolinko
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

Re: RFE: read keystorePass from file

2015-04-14 Thread Konstantin Kolinko
> 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

Re: Configuring Tomcat manager application upload limit

2015-04-17 Thread Konstantin Kolinko
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

Re: Tomcat 6.0.37 on As400 don't work more

2015-04-23 Thread Konstantin Kolinko
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

Re: Debugging Tomcat Running in Vagrant using Port Forwarding

2015-04-30 Thread Konstantin Kolinko
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

Re: Trouble separating catalina_base and catalina_home in TC 8

2015-04-30 Thread Konstantin Kolinko
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

Re: Debugging Tomcat Running in Vagrant using Port Forwarding

2015-04-30 Thread Konstantin Kolinko
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

Re: startStopThreads=2 lets Tomcat kill my threads

2015-05-04 Thread Konstantin Kolinko
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

Re: ant test on Tomcat 7.0.59 is failing due to exceptions

2015-05-06 Thread Konstantin Kolinko
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

Re: typesafe-config reference.conf file not found in a .jar in WEB_INF/lib

2015-05-06 Thread Konstantin Kolinko
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

Re: How to know aliases defined in container in server.xml of Tomcat 7.0.61

2015-05-07 Thread Konstantin Kolinko
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 >

Re: Tomcat upgrade from 7 to latest 8

2015-05-14 Thread Konstantin Kolinko
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

Re: Problrm with resources added using DirResourceSet

2015-05-20 Thread Konstantin Kolinko
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

Re: OpenSSL, Cipher-Suites, and Tomcat standalone vs. native vs. Tomcat behind apache-httpd

2015-05-21 Thread Konstantin Kolinko
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

Re: org.apache.catalina.connector.CoyoteAdapter.checkRecycled Encountered a non-recycled request and recycled it forcedly

2015-05-26 Thread Konstantin Kolinko
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

Re: Problem specifying cipher suites in tomcat6

2015-06-01 Thread Konstantin Kolinko
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

Re: Tomcat DBCP 8.0.18 issue

2015-06-02 Thread Konstantin Kolinko
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:

<    17   18   19   20   21   22   23   24   >