Re: tomcat 7 lib

2011-03-27 Thread Konstantin Kolinko
2011/3/27 Henry Lu : >What I understand is that if > I put the db resource in the GlobalNamingResources, every app can access it. Yes, but additional configuration is required in each of those applications that want to a access it. Search GlobalNamingResources and ResourceLink in the docs. --

Re: Lack of shutdown port (port="-1") behavior does not appear to match documentation

2011-03-27 Thread Konstantin Kolinko
d from jsvc or in another embedded scenarios and thus it should not forcibly terminate the JVM. If you have ideas/patch on how it can be implemented, please file an enhancement request. You are right that the documentation was incorrect there. I updated it, http://svn.apache.org/viewvc?rev=1086036

Re: Mac and Google Authentication Issue

2011-03-27 Thread Konstantin Kolinko
re certainly other ("non relevant" as you think) entries there, aren't they? Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Tomcat 7.0.11: bug with manager application when undeploying

2011-03-27 Thread Konstantin Kolinko
it > answers OK, but it is not. > >(..) Please file an issue in Bugzilla. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: tomcat 7 eliminate connection

2011-03-27 Thread Konstantin Kolinko
See the JavaDoc for java.util.regex.Pattern in your JDK for the syntax. Note the examples for the RemoteHostValve in the docs mentioned by Serge below. 2011/3/28 Henry Lu : > Can we have multiple "allow" and multiple "deny" value tags? > > what if I want to allow 123.11.22.33 and 212.22.11.33? >

Re: Tomcat GzipOutputFilter

2011-04-01 Thread Konstantin Kolinko
t.apache.org/tomcat-6.0-doc/config/http.html There is "compressionFilters.CompressionFilter" class in the examples webapp though, that can be used as a Filter. Best regards, Konstantin Kolinko - To unsubscribe, e-m

Re: mod_jk workers contact 'localhost' instead of the configured host

2011-04-01 Thread Konstantin Kolinko
2011/4/1 Marco Sarti : > Hi, > > I'm working with mod_jk 1.2.31 for Apache 2.2.3 under RedHat Linux and I'm > trying to configure a simple two JBoss nodes load balancer. > No virtualhost are used. > Workers are configured as follow: > - > worker.lnxstagjboss1_staging3.port=8009 > worke

Re: [OT] Protecting against HTTP response splitting

2011-04-01 Thread Konstantin Kolinko
e the things may go wrong. > If anyone else has any good ideas or Warnings about what might be a > naive sanitization check, I'd be glad to hear them. > Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-

Re: url-pattern algorithm problem?

2011-04-01 Thread Konstantin Kolinko
problem we find if the incoming url is like > "http://example.com/en/yp/list/cat/10/1";, it will not matched to the 'app' > servlet.  Any ideas?  Could it be a problem in tomcat matching algorithm? Best regards, Konstantin Kolinko ---

Re: password encryption

2011-04-01 Thread Konstantin Kolinko
In Tomcat 7 you will need lib/tomcat-util.jar. The following works: java -cp bin/tomcat-juli.jar;lib/catalina.jar;lib/tomcat-util.jar org.apache.catalina.realm.RealmBase -a md5 foo I updated the docs: http://svn.apache.org/viewvc?rev=1087791&view=rev Best regards, Konstantin Kolinko 2011

Re: url-pattern algorithm problem?

2011-04-01 Thread Konstantin Kolinko
ping#Debugging and place breakpoints in the org.apache.tomcat.util.http.mapper.Mapper class. 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 with apr and openssl gives ssl_error_rx_record_too_long

2011-04-01 Thread Konstantin Kolinko
chine:9443. > SSL received a record that exceeded the maximum permissible length. > (Error code: ssl_error_rx_record_too_long)" > > No error messages in log. And any INFO messages when the connector/protocol starts? I do not see SSLEngine="on" in your and apr.html page of the docs says that its default value is "off". What happens if you connect with the HTTP protocol, http://some-machine:9443 > Any instructions, comments, hints appreciated. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Enabling DELETE

2011-04-02 Thread Konstantin Kolinko
2011/4/2 Jonathan Rosenberg : > I have some Ajax code sending a DELETE to Tomcat, but am seeing this response: > >  HTTP/1.1 403 Forbidden >  Server: Apache-Coyote/1.1 >  Content-Type: text/html;charset=utf-8 >  Content-Length: 976 >  Date: Sat, 02 Apr 2011 15:22:51 GMT > > PUT works, so I thought

Re: Tomcat logging changed between 6.0.29 & 6.0.32

2011-04-02 Thread Konstantin Kolinko
d control the amount of info ending up in  tomcat6-stdout. > Did not seem to change anything. > > Any explanation and/or direction would be much appreciated. > There should not be any such changes. What, exactly, is printed? What is your OS? Best regards, Konstantin Kolinko ---

Re: PUT Data Available in App?

2011-04-02 Thread Konstantin Kolinko
r webapp (ManagerServlet) uses PUT requests. Thus it must be working. The question is what you are doing. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional c

Re: Tomcat logging changed between 6.0.29 & 6.0.32

2011-04-02 Thread Konstantin Kolinko
I also see messages that are not in my code which *ARE* the new messages > seen > now in stdout from the 3rd party library. DLLs in Java? Anyway, cannot say much from what you have wrote. Neither you mention the actual messages. > The OS is Windows 7 64 Bit. Best regards, Kon

Re: linux users who unload from zip file can't start tomcat

2011-04-02 Thread Konstantin Kolinko
it's just not executable > so startup.sh (misleadingly) claims it doesn't exist. > >  experienced linux users will probably notice what's going on > immediately, but others might be thoroughly confused. > I amended the message. Will be in 7.0.13, http://svn.apache.o

Re: PUT Data Available in App?

2011-04-03 Thread Konstantin Kolinko
data. PUT data are different from POST data, exactly by definition. Tomcat does not do any special processing of them. (Though as Felix mentions, some processing can be turned on). Maybe these are wrong expectations on your side? Best regards

Re: outdated link on tomcat7 installation page

2011-04-03 Thread Konstantin Kolinko
2011/4/3 Robert P. J. Day : > >  here: > > http://tomcat.apache.org/tomcat-7.0-doc/appdev/installation.html > > the download link is still to the tomcat 6 page. > Corrected (r1088387). Thank you. Best regard

Re: No access log for AJP traffic

2011-04-06 Thread Konstantin Kolinko
preciated. In recent TC7 Access Log is being done by CoyoteAdapter, e.g. in CoyoteAdapter.service() - see logAccess() call there. If you see a bug there, please create an issue in bugzilla. Best regards, Konstantin Kolinko ---

Re: Issue compiling a JSP in old and new versions of Tomcat, but not middle versions

2011-04-07 Thread Konstantin Kolinko
fix these JSPs, but I would >> like to know what the heck is going on Anyway, the generated java files are present in the work folder. You may look at what they are. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Help with CsrfPreventionFilter

2011-04-07 Thread Konstantin Kolinko
2011/4/7 Mathew Samuel : > Just wondering if some one has had success using this particular filter and > could give me pointers or perhaps an example on how I can properly use it. The manager and host-manager webapps bundled with Tomcat are using this filter. Best regards, Konstantin K

Re: Trouble with jdbc drivers in TC 7 - fixed

2011-04-07 Thread Konstantin Kolinko
ething may need improving there? > > The CNFE was due to the .jar containing the class not being opened because > of the unzipping error.  Reinstalling the software update got me a good .jar > file, and now it all works. > > Thanks for your pa

Re: Trouble with jdbc drivers in TC 7 - fixed

2011-04-07 Thread Konstantin Kolinko
2011/4/8 David Kerber : > On 4/7/2011 5:57 PM, Konstantin Kolinko wrote: >> >> 2011/4/8 David kerber: >>> >>> To close this loop, I got it fixed.  The issue was a (apparently very >>> slightly) corrupt jodbc.jar file.  I say very slightly because I cou

Re: Help with CsrfPreventionFilter

2011-04-08 Thread Konstantin Kolinko
no support for wildcards. It might be worth as an enhancement. Some other filters/valves in TC7 do accept a single regexp and perform matching against it. Maybe you can avoid mapping the filter to those paths? Best regards, Konstantin Kolinko --

Re: Log File Problems in tomcat

2011-04-08 Thread Konstantin Kolinko
dev/null > yourfile Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Help with CsrfPreventionFilter

2011-04-10 Thread Konstantin Kolinko
quest/response and provides implementation for this function. See the Servlet Spec for what encodeURL() is. BTW, the source code of the filter is available. You can read or debug it, if there are more questions. Best regards, Konstantin Kolinko -

Re: Problem with Apache Portable Runtime (APR) based Native library for Tomcat

2011-04-11 Thread Konstantin Kolinko
is the output of "ls /opt/tomcat_6_0/lib" ? Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Tomcat 7 Startup Problems

2011-04-11 Thread Konstantin Kolinko
exe Why not 7.0.12? :/ > We copied the msvcr71.dll into the bin directory, The above should not be needed. The service wrapper now has a workaround for the original problem. Best regards, Konstantin Kolinko - To uns

Re: Problem with Apache Portable Runtime (APR) based Native library for Tomcat

2011-04-13 Thread Konstantin Kolinko
"/lib64/*" -- is your Java 64-bit as well? I guess yours is 32-bit, because version.sh printed Architecture: x86 2011/4/13 Jaroslav Fikker : > > Hi, > > There is output of ldd command: > > ldd /opt/tomcat_6_0/lib/libtcnative-1.so >        linux-vdso.so.1 =>  (0x7fff4a5d9000) >        libssl

Re: Tomcat 6.0.x TEMP Directory

2011-04-15 Thread Konstantin Kolinko
ds), to see what goes on in the application. http://wiki.apache.org/tomcat/HowTo#How_do_I_obtain_a_thread_dump_of_my_running_webapp_.3F Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org

Re: Trying to find session.org.apache.catalina.filters.CSRF_NONCE

2011-04-15 Thread Konstantin Kolinko
sions. Then click on the session id. There will be the "Session detail" page for a session. The "org.apache.catalina.filters.CSRF_NONCE" attribute does exist and is shown on that page. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Async servlet et Request.recycle problem

2011-04-15 Thread Konstantin Kolinko
tion of your connectors? What connector implementation are you using? (bio vs nio vs apr). It is displayed in the logs when Tomcat starts up, e.g. "Initializing ProtocolHandler " + name. Best regards, Konstantin Kolinko --

Re: Problem with Apache Portable Runtime (APR) based Native library for Tomcat

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

Re: [OT] Protecting against HTTP response splitting

2011-04-19 Thread Konstantin Kolinko
ng for \r \n only might be not enough. Though that depends on where the value comes from. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: [OT] Protecting against HTTP response splitting

2011-04-20 Thread Konstantin Kolinko
y. :) > You are wrong. This way is not the only one. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: shared library in tomcat container runtime`

2011-04-22 Thread Konstantin Kolinko
does not work that > way. > There is VirtualWebappLoader class, see http://tomcat.apache.org/tomcat-7.0-doc/api/org/apache/catalina/loader/VirtualWebappLoader.html You aren't saying which Tomcat version you are using. Bes

Re: java.lang.ClassNotFoundException: org.apache.catalina.valves.FastCommonAccessLogValve in Java web application

2011-04-23 Thread Konstantin Kolinko
ogValve" class. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Typo: Apache Tomcat 7 Configuration Reference

2011-04-23 Thread Konstantin Kolinko
Fixed (r1096190). Thank you. 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 for Mac

2011-04-23 Thread Konstantin Kolinko
2011/4/22 Brajesh Patel : > Hello All, > I have Mac book and want to run tomcat on it so please provide steps or > documentation it will great help. 1. Download a zip or tar.gz distributive. 2. Unpack it 3. Read RUNNING.txt Best regards, Konstanti

Re: SessionExample from the examples webapp

2011-04-28 Thread Konstantin Kolinko
n .../WEB-INF/classes and not ../WEB-INF/classes/util /usr/local/apache-tomcat-7.0.10/lib/servlet-api.jar SessionExample.java SessionExample.java:33: package util does not exist > import util.HTMLFilter; >           ^ 2 Chuck: OP is building its own app, not Tomcat. Best

Re: (Issue) Tomcat 7.0.12 silent install

2011-04-28 Thread Konstantin Kolinko
-> "HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java > Runtime Environment" > > The difference being that the 32-bit entries are off the "Wow6432Node" key. > Note the "SetRegView 64" command in Function findJavaHome in tomcat.nsi line 641 I do not know wh

Re: Accessing (session) Manager in servlet

2011-04-28 Thread Konstantin Kolinko
low some links > or a solution of the original problem. Update the Flash player? You say the bug is "old" - is it still an issue? Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apac

Re: (Issue) Tomcat 7.0.12 silent install

2011-04-28 Thread Konstantin Kolinko
2011/4/29 : > From: Konstantin Kolinko [mailto:knst.koli...@gmail.com] > Sent: Thursday, April 28, 2011 4:23 PM > > >> Note the "SetRegView 64" command in Function findJavaHome in tomcat.nsi line >> 641 > > I'm not familiar with this scripting la

Re: SessionExample from the examples webapp

2011-04-28 Thread Konstantin Kolinko
javase/tutorial/getStarted/cupojava/index.html Help for javac etc. is here: http://download.oracle.com/javase/6/docs/technotes/tools/index.html#basic Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomc

Re: (Issue) Tomcat 7.0.12 silent install

2011-04-28 Thread Konstantin Kolinko
2011/4/29 : > From: Konstantin Kolinko [mailto:knst.koli...@gmail.com] > Sent: Thursday, April 28, 2011 4:46 PM > >> The installer itself is a 32-bit program. > >> The "SetRegView 64" command switches it to using 64-bit part of >> registry.

Re: Tomcat stop responding without any reason

2011-04-29 Thread Konstantin Kolinko
er if there is a "PermGen" memory leak. b) waiting on a resource, e.g. unlimited waiting-for-connection timeout on a database pool (maxWait) -- if all Connector threads are waiting you won't be able to connect anymore c) deadlocks (bugs) b), c) can be seen in the thread du

Re: Tomcat threads management

2011-04-29 Thread Konstantin Kolinko
That is true for Tomcat 6 and later. (You are using Tomcat 5.5 and I just do not remember how it goes there. IIRC, thread pool in TC 6 was simplified wrt. to 5.5 one). Best regards, Konstantin Kolinko - To unsub

Re: Tomcat 6.0.32 on 64-bit 2008 server - "Event 1000, Application Error"

2011-05-04 Thread Konstantin Kolinko
-bit JDK (jdk-6u24-windows-x64.exe) is also installed, Note, that there is 6u25 already. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: "Expire sessions" button in Tomcat Manager

2011-05-04 Thread Konstantin Kolinko
;. > I'm testing application with JMeter, creating a lot > of sessions. When I want to stop test and run the next one - sessions > from first test are still there. I would like to expire them if > they're idle more than 10 minutes. Maybe you want to change the value for in you

Re: High Availability in Tomcat?

2011-05-09 Thread Konstantin Kolinko
2011/5/9 Brian Braun : > republishing the app > will make it unavailable for at least 10 seconds while I do it. Take a look at the Parallel Deployment feature in Tomcat 7 http://tomcat.apache.org/tomcat-7.0-doc/config/context.html Best regards, Konstantin K

Re: Semicolon URI encoding and RFC

2011-05-09 Thread Konstantin Kolinko
://site/some%3Bpath when outputting e.g. HTML href element. > If ";" is part of the actual path, it must be escaped. If ";" starts a "path parameter" it must be unescaped. One well-known example is ";j

Re: Semicolon URI encoding and RFC

2011-05-09 Thread Konstantin Kolinko
2011/5/9 Mindaugas Žakšauskas : > On Mon, May 9, 2011 at 2:03 PM, Konstantin Kolinko > wrote: > <..> >> If ";" is part of the actual path, it must be escaped. >> >> If ";" starts a "path parameter" it must be unescaped. One well-k

Re: Problem building application with tomcat 7 on windows 7

2011-05-09 Thread Konstantin Kolinko
ou're seeing. > The URLs have changes as well. See the docs for the correct ones, http://tomcat.apache.org/migration.html http://tomcat.apache.org/tomcat-7.0-doc/deployer-howto.html http://tomcat.apache.org/tomcat-7.0-doc/manager-howto.html Best regards, Konstantin Kolinko -

Re: tomcat 7: common.loader property in catalina.properties does not take ANT style variable

2011-05-10 Thread Konstantin Kolinko
talinaProperties classes in org.apache.catalina.startup package. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: SSL on Tomcat5

2011-05-10 Thread Konstantin Kolinko
missing SSLEngine="on" Note, that Tomcat 5.5 does not warn about any unknown attributes etc. (Tomcat 6 and later do give warnings), so you should read the configuration docs carefully. What documentation you have followed? (Maybe something needs amendments / corrections there?) Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: tomcat 7: common.loader property in catalina.properties does not take ANT style variable

2011-05-10 Thread Konstantin Kolinko
2011/5/11 Christopher Schultz : > On 5/10/2011 3:05 AM, Konstantin Kolinko wrote: >> IIRC, catalina.properties file does not support substitution for >> anything, besides those two specific properties, "catalina.home" and >> "catalina.base". > >

Re: Semicolon URI encoding and RFC

2011-05-11 Thread Konstantin Kolinko
lity as now I don't know what requires to be encoded and what > not. readability? nobody reads the HTML source That is why there are textual markup languages there used for wiki etc. : HTML is too hard to read for an average person. Best regards, Konstantin Kolinko ---

Re: Cannot find daemon loader org/apache/commons/daemon/support/DaemonLoader

2011-05-11 Thread Konstantin Kolinko
and there in the last several months, but I have not seen any substantial answer 3) One of those threads mentioned that a previous version (1.0.2 ?) worked correctly. Maybe you can try it. Best regards, Konstantin Kolinko 2011/5/12 James Seymour : > On Tue, 10 May 2011 16:27:54 -0400 >

Re: Start connectors after deployment of all webapps have been completed

2011-05-15 Thread Konstantin Kolinko
connections earlier. The connector will serve them after it actually starts. If the port is not open a connection attempt will be refused immediately. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr..

Re: Tomcat startup error!

2011-05-15 Thread Konstantin Kolinko
akqr I don't know what holds the file and whether its filename is actually random or not. Anyway, 7.0.14 is released and you may upgrade. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apa

Re: log4j config

2011-05-16 Thread Konstantin Kolinko
known issue?  My config is below: Ask this on their (log4j) mailing list. Other documentation should be there as well. http://logging.apache.org/log4j/1.2/index.html http://logging.apache.org/mail-lists.html Best regards, Konsta

Re: TomCat 7 + Socket & Java Version

2011-05-17 Thread Konstantin Kolinko
ows-1252" vs. "UTF-8"). BTW, the correct spelling of the server name is "Tomcat". Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For add

Re: Application crash after Migrate to different ESX

2011-05-17 Thread Konstantin Kolinko
2011/5/17 André Warnier : > הילה wrote: >> >> Hey Guys, >> >> My application runs on tomcat 6.0.29, win 2008 R2, which is a VM machine. >> i use the JDBC application pool., with java 1.6.24 64bit. > > OK. > >> >> I have a problem, in which after migrate of the VM machine to another ESX, >> the appl

Re: [OT?] Virtual hosting - does the port need to match the URL port?

2011-05-17 Thread Konstantin Kolinko
in parsed from the header. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: how to access tomcat server version info in runtime?

2011-05-18 Thread Konstantin Kolinko
2011/5/19 Yongqin Xu : > If I am using Tomcat 7, what's the best way for my web app to retrieve the > sever version info? thanks. See webapps/ROOT/index.jsp for an example. http://wiki.apache.org/tomcat/FAQ/Miscellaneous#Q4 - T

Re: Tomcat7 Default logging files

2011-06-06 Thread Konstantin Kolinko
For the rest - see the docs. There is a chapter named "Logging". Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Error in Tomcat 6.0 log4j documentation

2011-06-07 Thread Konstantin Kolinko
ttp://logging.apache.org/log4j/1.2/manual.html I expect it to work either way though, as Log4J normalizes the property name before applying (o.a.log4j.config.PropertySetter calls Introspector.decapitalize()) Best regards, Konstantin Kolinko ---

Re: Wine and tomcat

2011-06-08 Thread Konstantin Kolinko
2011/6/8 bigdidz : > > I know but its is not what I want.  With a vm, I will not be able to debug my > web applications (it uses Excel...).  Hence, I really need to "wine" tomcat. Do you really need Excel? Have you heard about Apache POI? http://poi.apache.org/ > [QUOTE] > Using CATALINA_BASE:

Re: Auth in Context.xml

2011-06-09 Thread Konstantin Kolinko
2011/6/9 Umesh Bhatt : > Sorry I meant auth not Auth.  Thanks for correction. > I used getConnection(username, password) but it gives me an error as "It is > not supported" and doesn't connect with DB. Sure. Apache Commons DBCP connection pool does not support that method. There are other conne

Re: War file deployment deletes configuration descriptor in Tomcat 6

2011-06-09 Thread Konstantin Kolinko
f Tomcat 6.0.x ? 2. The behaviour regarding your issue is sometimes misunderstood. Use the latest version of Tomcat and read the docs carefully. http://tomcat.apache.org/tomcat-6.0-doc/config/host.html#Automatic_Application_Deployment Best regards, Konsta

Re: Static content not displaying

2011-06-15 Thread Konstantin Kolinko
ttps://issues.apache.org/bugzilla/show_bug.cgi?id=50026 Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: tomcat 7: common.loader property in catalina.properties does not take ANT style variable

2011-06-15 Thread Konstantin Kolinko
s >> not take ANT style variable >> >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA1 >> >> Konstantin, >> >> On 5/10/2011 4:50 PM, Konstantin Kolinko wrote: >> > 2011/5/11 Christopher Schultz : >> >> On 5/10/2011 3:05 AM, Konstantin

Re: Null-pointer exception from response.encodeUrl under Windows Tomcat 7

2011-06-15 Thread Konstantin Kolinko
ration option (a system property) that forces recycling (zeroing) those objects, to spot misappropriate references more easily. http://tomcat.apache.org/tomcat-7.0-doc/config/systemprops.html#Security Best regards, Konstantin Kolinko

Re: Feature request: "fullstart" command

2011-06-16 Thread Konstantin Kolinko
e a hot standby, and starts the connectors when everything else is ready. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Issue while testing JSF application using Tomcat 6.0.14 and eclipse 3.4 on Windows XP Professional

2011-06-16 Thread Konstantin Kolinko
jdbc:mysql://localhost:3306/userdetails","root",""); ) BTW, the database connection is never closed, leaking resources. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Feature request: "fullstart" command

2011-06-16 Thread Konstantin Kolinko
2011/6/16 Francis GALIEGUE : > On Thu, Jun 16, 2011 at 14:48, Konstantin Kolinko > wrote: > [...] >> >> Some resources are allocated only on the first access. >> >> E.g. starting servlets, or obtaining database connections from a pool. >> Unless you obtai

Re: crlFile and SunX509 algorithm in Tomcat 7.0.16

2011-06-16 Thread Konstantin Kolinko
ocketFactory.java:476 wraps an underlying exception with an IOException. Can you see what the underlying exception is? Maybe you can run with a debugger? http://wiki.apache.org/tomcat/FAQ/Developing#Debugging http://wiki.apache.org/tomcat/HowTo#How_do_I_debug_a_Tom

Re: error in clustering: NullPointerException at java.io.ObjectOutputStream$BlockDataOutputStream.getUTFLength

2011-06-17 Thread Konstantin Kolinko
Tomcat (the "deploy" target in Ant) 2. Run catalina.bat|.sh to start it in debug mode: catalina jpda start 3. Start "remote" debugger from within Eclipse. http://wiki.apache.org/tomcat/FAQ/Developing#Debugging Best regards, Konstantin Kolinko -

Re: tomcat 5.5 ------ log4j:ERROR LogMananger.repositorySelector was null likely due to error in class reloading, using NOPLoggerRepository.

2011-06-20 Thread Konstantin Kolinko
u are using? 3. How logging is configured in your webapp and in Tomcat? 4. Have you tried log4j mailing list? http://logging.apache.org/log4j/ Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomc

Re: Tomcat 7 Logging Log4J - [INFO] org.apache.catalina.core.ContainerBase

2011-06-21 Thread Konstantin Kolinko
sen.de].[/]" Whatever logs the message does call ServletContext.log() instead of using a logging library. See [1]. [1]: http://tomcat.apache.org/tomcat-7.0-doc/logging.html#Servlets_logging_API Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Tomcat 7 Logging Log4J - [INFO] org.apache.catalina.core.ContainerBase

2011-06-21 Thread Konstantin Kolinko
version you are actually using. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Tomcat 7 Logging Log4J - [INFO] org.apache.catalina.core.ContainerBase

2011-06-21 Thread Konstantin Kolinko
2011/6/21 Björn Agel : > Am 21.06.2011 14:59, schrieb Konstantin Kolinko: >> >> 2011/6/21 Björn Agel: >>> >>> H, >>> >>> In the documentation of Struts 1.3.10 it says they are using >>> commons-logging >>> API. >

Re: Tomcat Logging level change

2011-06-22 Thread Konstantin Kolinko
f log level set to warning. 1. If you did it correctly then yes, they should not appear. But what exactly did you? Please be specific. 2. Exact Tomcat version, etc. > Kindly let me know how exactly it behvaes The sources are all available. java.util.logging documentation is available from

Re: Tomcat Logging level change

2011-06-22 Thread Konstantin Kolinko
x27;t work, because the LogManager implementation used by Tomcat (see docs for details) provides isolation for different webapps (class loaders). You code will affect only single webapp, and will have zero effect on anything else. Best rega

Re: JULI prefix not recognized?

2011-06-22 Thread Konstantin Kolinko
gManager.loadLoggerHandlers(Unknown Source) >        at java.util.logging.LogManager.initializeGlobalHandlers(Unknown > Source) You are using wrong LogManager. You need to use org.apache.juli.ClassLoaderLogManager and not the default one. S

Re: [tomcat 7 migartion] cannot load images with jsession id in url

2011-06-22 Thread Konstantin Kolinko
aders E.g. with wget --save-headers If Tomcat 7 were not able to serve images it would have been noted a long ago. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org

Re: Dreaded No Java compiler available

2011-06-23 Thread Konstantin Kolinko
ownloading ecj is here: https://issues.apache.org/bugzilla/show_bug.cgi?id=50604#c1 I think you can search for "ecj" in this mailing list archives and find several discussions there. Best regards, Konstantin Kolinko

Re: JULI prefix not recognized?

2011-06-23 Thread Konstantin Kolinko
ts. Because default LogManager from JRE will keep their classes in memory. The (*) is theory. I have not tested it in practice. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.ap

Re: Tomcat failed to accept SSL connection in jvm mode

2011-06-23 Thread Konstantin Kolinko
2011/6/24 daniel.yeung.biz : > Hi, > I start tomcat in jvm mode by 'Monitor Tomcat' UI,google chrome gets error: > 107 (net::ERR_SSL_PROTOCOL_ERROR), IE 9.0 cannot open SSL connection too. > Please read here, starting with "When asking questions on the list, please ...": http://tomcat.apache.org

Re: TC 7.0.16 IllegalStateException thrown by pageContext.include

2011-06-24 Thread Konstantin Kolinko
text/*. I wonder maybe that can be made to work in your case. The underlying problem though is that to include data from the file into the writer, one has to convert bytes -> chars, and for that one has to know the textual encoding of the file. Where one can get the encoding? Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: web.xml parse error

2011-06-26 Thread Konstantin Kolinko
>              servlet-class="com.i.common.DataPlatformServlet"/> The above is wrong. You should use nested elements, not attributes.. Take a look at any existing webapp. E.g. the "examples" one that comes with Tomcat. Best r

Re: CrawlerSessionManagerValve - problem with removing sessionInfo

2011-06-27 Thread Konstantin Kolinko
in Bugzilla. You can include a link back to this thread, http://marc.info/?t=13091811525&r=1&w=2 > I tried to modify the code and it seems that > CrawlerSessionManagerValve works now even better. You can attach a patch to the issue. Best regards, Konstantin Kolinko

Re: getAllClusterSessions gives OptionalDataException

2011-06-28 Thread Konstantin Kolinko
hMap.java:1029) (...) Looking at ObjectInputStream sourced, the OptionalDataException is thrown when the source stream is truncated. It might be related to the following issue, fixed in Tomcat 7, but never proposed for backport yet: https://issues.apache.org/bugzilla/show_bug.cgi?id=50646 "Tribes ByteMessage will get corrupted if message size exceeds the underlying buffer size" 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 performacne issues...

2011-06-29 Thread Konstantin Kolinko
ing list. 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 download large static files in tomcat

2011-06-30 Thread Konstantin Kolinko
> Hi, I am working with apache-tomcat-6.0.18 and I want to use it to download > static files. > I have clients which will contact tomcat using wget. 1) Try with an up-to-date version of Tomcat. It will be 3 years old in a month. There were a lot of fixes since then. E.g. 48843. It might be that

Re: fail to download large static files in tomcat

2011-06-30 Thread Konstantin Kolinko
1" processorCache="800" > acceptorThreadCount="1" /> Your change to protocol="HTTP/1.1" means that it will auto-select HTTP connector implementation. That means it will choose Bio(Jio) when tcnative (dll/so) is absent and Apr when tcnati

Re: Tomcat performance issues...

2011-06-30 Thread Konstantin Kolinko
;part" of Tomcat, because your web application is free to use and bundle whatever libraries it wants, be that taglibs, myfaces, etc etc. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...

Re: how to use VirtualWebappLoader - either in META-INF/context.xml or programmatically on startup

2011-06-30 Thread Konstantin Kolinko
2011/6/30 Bob DeRemer : >           virtualClasspath="/WEB-INF/lib/extensions/*.jar"/> The above should be an absolute path. You can use system variables, e.g. ${catalina.base}/webapps/mywebapp/WEB-INF/lib/extensions/*.jar - To

Re: UPDATE - RE: how to use VirtualWebappLoader - either in META-INF/context.xml or programmatically on startup

2011-06-30 Thread Konstantin Kolinko
ppLoader is not a classloader. It is just a component that configures one. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

<    11   12   13   14   15   16   17   18   19   20   >