Re: Known ECJ issue?

2012-03-01 Thread Konstantin Kolinko
m still wondering about this issue, though... > Disable recompilation by configuring Jasper with development=false ? http://tomcat.apache.org/tomcat-7.0-doc/jasper-howto.html Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: quotes in Protocol Handler name

2012-03-01 Thread Konstantin Kolinko
the names. Especially from the names of threads created for connectors. 2. Quotes around many bean names are intentional. E.g. connector name can have IP address in it. The IPv6 address cannot be used in a name unless the name is quoted, because of "

Re: Comment on RemoteIpValve documentation.

2012-03-02 Thread Konstantin Kolinko
e.com/p/xebia-france/wiki/RemoteIpValve > > which mentioned the ordering. > Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Retrieve context path in lifecycle listener

2012-03-06 Thread Konstantin Kolinko
2012/3/6 : > Hi folks, > > I'd like to retrieve the context path from the a startup event in a context > lifecycle listener. My usecase is register that contextpath in the initial > context and access its value through Logback. > Unfortunately, LifecycleEvent does not seem to contain this data.

Re: Fwd: JMX MBean for active sessions

2012-03-06 Thread Konstantin Kolinko
bedded tomcat it is "Tomcat". > > That value is an 'int'. > >> Our operations team is using Bridgeways Tomcat pack for SCOM and >> since we switched to Tomcat 7 the active session data is missing >> from the monitors - everythin

Re: JMX JVM bug workaround question

2012-03-07 Thread Konstantin Kolinko
ot;max" and "committed" memory settings are calculated independently at different moments and fail to pass a consistency check between them. I think I would wait a while and retry, but only once. Do you check what Runtime.freeMemory(), Run

Re: tomcat6w.exe -- 32bit and 64bit versions identical?

2012-03-07 Thread Konstantin Kolinko
xe program does not access the JVM, so it >> need not match the JVM's execution mode. > > Thanks. Is that a change from 6.0.20? > from Commons Daemon. The files are from Commons Daemon, prunsrv and prunmgr respectively. 6.0.20 is old, as Charles noted. I do not remember exactly

Re: Tomcat 7.0.26 Expression Language Issue when Comparing Character Objects

2012-03-07 Thread Konstantin Kolinko
xplain: >> >> >> fn:contains, fn:startsWith are good. It is possible to force conversion of first operand to String and then apply '==', e.g. ${fn:trim(program.is_general_public_yn) eq 'N'}, but that will require more operations that just calling the above functions.

Re: exception when running my struts jsp

2012-03-07 Thread Konstantin Kolinko
/img15.hostingpics.net/pics/192745index2.png Your question is specific to Struts. You are more likely to get an answer on their mailing list, see STRUTS-USER here: http://struts.apache.org/mail.html Best regards, Konstantin Kolinko -

Re: Problem connecting to Tomcat from executable JAR file

2012-03-08 Thread Konstantin Kolinko
; 5.5 reaches EOL in half a year (and I'll be able to trow away JDK 1.4 from my PC :) ). 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 5.5 JDK version compatibility

2012-03-08 Thread Konstantin Kolinko
cation that you want to run "as is" on newer Tomcat. The "javax.annotation.Resource" class is part of annotations-api.jar which is not present in Tomcat 5.5. So a person is not able to compile your application if he uses correct Servlet Specification JARs.

Re: Documentation Question

2012-03-09 Thread Konstantin Kolinko
in its configuration and lessened indent where it does not jet allow them. 2. The published documentation is updated only with a new Tomcat release. You have to look at the one published by "nightly build" to see the changes. See links on the "Buildbot" page. Best regards, Konsta

Re: Non page pool issue will not go away, please help.

2012-03-09 Thread Konstantin Kolinko
How do you observe it? I think you run Tomcat as a service. I am not sure whether service can be killed as well as a standalone program. > Please share your wisdom and Tomcat greatness, > Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Dynamic Security Constraints?

2012-03-10 Thread Konstantin Kolinko
on and cookies), but it works good with BASIC (and maybe with DIGEST) one and it works over HTTPS. Using physical delivery is only good if you trust the courier. Generally you have to encrypt the media. There was a story when postal service lost magnetic tapes that one bank was sendi

Re: Some questions about Tomcat ISAPI Connector and its documentation

2012-03-10 Thread Konstantin Kolinko
> would expect that the ISAPI redirector just passes the request to Tomcat and > let Tomcat decide how requests to forbidden directories are handled, without > writing an "emergency" log entry. Regarding this "2."nd question - see also this recent issue: https:/

Re: ${pageContext.request.contextPath} not resolving

2012-03-11 Thread Konstantin Kolinko
2012/3/11 Ole Ersoy : >> So, is it rendering it as text or is it throwing an exception? > > > Just rendering as text. > > >> >> What is your jsp-config in web.xml? > > >  "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" >  "http://java.sun.com/dtd/web-app_2_3.dtd"; > The above declaration

Re: Java 7 + Tomcat 6.0.35 + Win2k3 Problem

2012-03-11 Thread Konstantin Kolinko
2012/3/11 pricyber : > Using binaries downloaded in a embedded java application. > I used Http11NIOProtocol, but if I use Http11Protocol, it works fine. So I > think Http11NIOProtocal is the problem in my setup. It is Http11NioProtocol. The spelling matters a lot. > No logs at all when I use H

Re: How to setup logging in Tomcat for WebappClassLoader?

2012-03-13 Thread Konstantin Kolinko
o I do not know what the problem is. [1] http://svn.apache.org/repos/asf/tomcat/archive/tc5.0.x/tags/TOMCAT_5_0_28/container/catalina/src/share/org/apache/catalina/loader/WebappClassLoader.java 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 Logging Jarhell

2012-03-13 Thread Konstantin Kolinko
2012/3/13 Christopher Gross : > Hi all. > >  I'm trying to utilize the common/lib and shared/lib directories on > Tomcat 5.5.25.  I have a few separate apps that were each using many > of the same JAR files, so I have been moving them down to shared & > common lib (DB stuff went to common/lib, the

Re: Precompile JSPs, avoid thousands of servlets?

2012-03-14 Thread Konstantin Kolinko
transform or just regexp replacements. Though note that a web application that does not use fragments and annotations (and has metadata-complete="true" in its web.xml) starts up faster, because Tomcat does not need to spend time scanning the classes and libraries for annotations and web fr

Re: Datasources in Spring-JPA-Tomcat 6.0.29

2012-03-15 Thread Konstantin Kolinko
2) Write a sample jsp page that performs JNDI lookup (using code samples from the Tomcat documentation) to make sure that both datasources are available and have different JNDI names and connect to different schemas. Best regards, Konstantin Kolinko ---

Re: How to specify not using a keystoreFile in server.xml when using a custom keystore?

2012-03-15 Thread Konstantin Kolinko
er and found the area in > JSSESocketFactory where it reads this file, and it seems as though > specifying "" doesn't work correctly anymore because it tries to map a > relative path to catalina.base I agree that this is an issue. Please file a bug in Bugzilla. Lookin

Re: Custom WebappLoader, Jasper and custom JSP tags

2012-03-15 Thread Konstantin Kolinko
to do. I think there were also several fixes to WebappClassLoader in versions later than your 6.0.28. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Custom WebappLoader, Jasper and custom JSP tags

2012-03-15 Thread Konstantin Kolinko
2012/3/16 Johannes Ernst : > > On Mar 15, 2012, at 16:50, Konstantin Kolinko wrote: > >> 2012/3/16 Johannes Ernst : >>> I've implemented my own org.apache.catalina.loader.WebappLoader. It >>> consults a bunch of JARs held in the file system outside of the

Re: How to leave this list?

2012-03-16 Thread Konstantin Kolinko
s here: http://www.apache.org/foundation/mailinglists.html If that does not help you can send mail to "list owner" address and he will unsubscribe you manually. Best regards, Konstantin Kolinko - To unsubscribe, e-mail

Re: Custom WebappLoader, Jasper and custom JSP tags

2012-03-16 Thread Konstantin Kolinko
2012/3/16 Johannes Ernst : > > On Mar 15, 2012, at 17:38, Konstantin Kolinko wrote: > >>>> Moreover Jasper has to pass a classpath to an external Java compiler >>>> (ecj or javac). The classpath is constructed and passed to Jasper as >>>> String. >&

Re: How to leave this list?

2012-03-16 Thread Konstantin Kolinko
? Otherwise it could be rejected by spam filter. 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 enable debug logging for Tomcat jdbc pool (Tomcat 6.0.32)

2012-03-20 Thread Konstantin Kolinko
an official release. Released versions of jdbc-pool come with Tomcat 7 and share its version numbers. 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 tomcat

2012-03-20 Thread Konstantin Kolinko
2012/3/20 Fairouz Fakhfakh : > Hello, > I use Tomcat 6. Tomcat works very well. > But, my problem: when I did this command: "ant install-juddi-matchmaker". > It gives me: > install-juddi-matchmaker: > > BUILD SUCCESSFUL > It did something. I have no clue what -- I do not use matchmaker. His deed

Re: New Tomcat install on a customer box: Tomcat 7.0.25 starts, then throws an exception and shuts down, and I don't know why.

2012-03-20 Thread Konstantin Kolinko
ailing list should also have the answer). http://tomcat.apache.org/tomcat-7.0-doc/config/server.html > and can it be reassigned? > Yes. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: java.lang.IllegalStateException Question

2012-03-22 Thread Konstantin Kolinko
e. In your case (judging by the message "Exception Processing ErrorPage") I would guess that an error occurred too late in processing, when some data has already been sent. Thus the ErrorPage for that error cannot be displayed properly. Best regards, Konstantin Kolinko ---

Re: How to generate heap dump in Tomcat 5.5 (Windows)

2012-03-22 Thread Konstantin Kolinko
http://wiki.eclipse.org/index.php/MemoryAnalyzer#Getting_a_Heap_Dump 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 - servlet 2.5 app and removed Context disableURLRewriting parameter

2012-03-22 Thread Konstantin Kolinko
isable URL rewriting in > tomcat 7 with a 2.5 webapp? > You can edit site-wide defaults (conf/web.xml). 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 - servlet 2.5 app and removed Context disableURLRewriting parameter

2012-03-22 Thread Konstantin Kolinko
t to merge web.xml from various fragments and annotations. Respecting a Context option there might be a bit messy. (Just saying, without looking at the code). Best regards, Konstantin Kolinko - To unsubscribe, e-ma

Re: Can't get past 404 error

2012-03-22 Thread Konstantin Kolinko
BASE to > CATALINA_HOME but this is how we've been doing things for years... the > behavior may have changed. > All of "/conf" folder is read from CATALINA_BASE. None of it is read from CATALINA_HOME. Best regards, Konstantin Kolinko --

Re: chunked encoding

2012-03-22 Thread Konstantin Kolinko
2012/3/23 Alex Samad - Yieldbroker : > Hi > > I saw a thread earlier about chunked encoding and why > a) it might be better to use that > b) that it is not experimental any more > > > Can somebody explain what it is, why it might be better and maybe some pro's > and con's and how not experimental

Re: Access Log Valve invalid requests

2012-03-23 Thread Konstantin Kolinko
mcat they were not logged properly. > > The requestor makes about 200 POST requests within a few seconds everyday > around the same time for the past 4 months.  They all result in HTTP 500. > Best regards, Konstantin Kolinko -

Re: partial response from non-browser clients

2012-03-23 Thread Konstantin Kolinko
still didn't return the full response. >  And the default setting worked for the browser...so no idea what could be > wrong... > > Probably not a Tomcat issue - but any suggestions on what could be causing > this would be 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: configuring SSL for Tomcat with .pfx

2012-03-23 Thread Konstantin Kolinko
2012/3/23 Melanie Snayer : > Hi All, > > I didn’t add the attachment to the previous email so here it is. > 1. Attachments are not allowed on this mailing list. 2. Using HTML-formatted e-mails is strongly discouraged. Use plain text. -

Re: upgraded fedora and mod_jk will not work

2012-03-23 Thread Konstantin Kolinko
rder right? (httpd then tomcat) >     or should I bring up tomcat before httpd?? >     pause between? It should work either way. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr.

Re: chunked encoding

2012-03-23 Thread Konstantin Kolinko
2012/3/24 Chema : >> The server application must pass the chunks to its outbound TCP/IP stack in >> order, so normal TCP sequencing takes care of it. >> > > Thanks > But, if I'm not wrong , chunks messages belong application layer, so > when servers pass them to TCP/IP stack , they are different m

Re: tomcat jdbc pool

2012-03-25 Thread Konstantin Kolinko
gt;> http://people.apache.org/~fhanik/jdbc-pool/jdbc-pool.html) 2. The above link is obsolete. The current version of this pool implementation comes bundled with Tomcat 7.0 releases. The correct documentation is here: http://tomcat.apache.org/tomcat-7.0-doc/jdbc-pool.html Best regards, Konsta

Re: Examples folder in Tomcat v6.0.35

2012-03-28 Thread Konstantin Kolinko
can be deleted. 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 for httpd 2.4.1

2012-03-28 Thread Konstantin Kolinko
2.4  can i use > "mod_jk-1.2.31-httpd-2.2.x" with httpd 2.4.1 I'd recommend 1.2.35 Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Examples folder in Tomcat v6.0.35

2012-03-28 Thread Konstantin Kolinko
2012/3/28 Geet Chandra : > Thanks Konstantin Kolinko! > > I mean to say, can we ship Apache Tomcat 6.0.35 without examples folder, > keeping other files and folder intact. > The license allows you to remove everything, except LICENSE and NOTICE, (though you have to read it b

Re: mod jk for httpd 2.4.1

2012-03-28 Thread Konstantin Kolinko
2012/3/28 Harsimranjit singh Kler : > ok .but for modjk 1.2.35 how\wher i can get mod_jk.so and test with httpd > 2.4.1(Linux setup)?. Build it from the sources. See BUILD.txt and native/BUILDING.txt in the source archive. Best regards, Konstantin K

Re: [JDBC Pool] PoolCleaner creates some sort of memory

2012-03-28 Thread Konstantin Kolinko
there? Thread names are not under our control. Anything else that can be obtained through API calls can be added. Suggestions are welcome. See the code -- search for "webappClassLoader.warnThread" in org/apache/catalina/loader/WebappClassLoader.java > > [1] http

Re: Setting JVM log location for tomcat 7.0.26

2012-03-28 Thread Konstantin Kolinko
2012/3/29 Farrukh Najmi : > > Can someone please tell me how I can configure the location for the JVM log > file for Tomcat 7. Thanks for your help. > 1. What is "JVM log file" 2. There is "Logging" chapter in the User's Guide. Did it not help?

Re: Setting JVM log location for tomcat 7.0.26

2012-03-29 Thread Konstantin Kolinko
2012/3/29 Farrukh Najmi : > On 03/28/2012 07:28 PM, Konstantin Kolinko wrote: >> >> 2012/3/29 Farrukh Najmi: >>> >>> Can someone please tell me how I can configure the location for the JVM >>> log >>> file for Tomcat 7. Thanks for your help. >

Re: mod jk for httpd 2.4.1

2012-03-29 Thread Konstantin Kolinko
4.1 but  will this cause any > problems in functionality in future? The source code is the same for all 2.x.y versions, but you have to compile it with the proper versions of httpd and APR that your httpd is using. Best regards, Konstantin Kolinko > > On Wed, Mar 28, 2012 at 9:

Re: Shutting down embedded version of Tomcat gracefully

2012-03-29 Thread Konstantin Kolinko
2012/3/29 N V Hari Krishna : > Hello all, > > I had a few questions. > > 1) Is it possible to shutdown embedded Tomcat gracefully? > 2) If possible, can anyone suggest me/point me to piece of code that can be > used for shutting down Embedded version of Tomcat 5 & Tomcat 7 gracefully. > Call its s

Re: FormAuthentication Valve changes fail with RequestListeners?

2012-03-29 Thread Konstantin Kolinko
esource?) Look at configuration options for . See "preemptiveAuthentication" 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: [JDBC Pool] PoolCleaner creates some sort of memory

2012-03-30 Thread Konstantin Kolinko
more specific. In what tests? > Another one, can we have a clearer name for the thread, e.g. like the I have > suggested in a previous mail? > Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@t

Re: Chasing a SocketTimeoutException with APR

2012-03-30 Thread Konstantin Kolinko
can't do anything about it but if my code is the problem... > > I am on > bash $ uname -a > HP-UX blnn725x B.11.23 U ia64 > bash $ /opt/java6/bin/java -version > java version "1.6.0.13" > Java(TM) SE Runtime Environment (build 1.6.0.13-jinteg_01_dec_2011_03_39-b00

Re: Chasing a SocketTimeoutException with APR

2012-03-30 Thread Konstantin Kolinko
2012/3/30 Osipov, Michael : > Konstantin Kolinko wrote: >> 2012/3/29 Osipov, Michael : >>> Hi folks, >>> >>> I am trying to narrow down an exception which is happening >>> occasionally in certain spots of your code: >>> >>> SCHWE

Re: FormAuthentication Valve changes fail with RequestListeners?

2012-03-30 Thread Konstantin Kolinko
led, principal in request is not null -> can be dumped to > the JSP view > > > Following here is the used context.xml > (...) > BTW, if you want to run under debugger, the tips are here: https://wiki.apache.org/tomcat/FAQ/Developing#Debugging Best regards, Konstantin Kolinko

Re: Tomcat6 - Context - aliases

2012-04-02 Thread Konstantin Kolinko
r versions. The feature is too intrusive to ever consider its backporting. > 2) How can I workaround this problem? Install Tomcat 7. Read RUNNING.txt for a start. 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 Tasks Question

2012-04-02 Thread Konstantin Kolinko
file an enhancement in bugzilla for both of these issues? Let's discuss first. Filing something is useless if it is loosely specified and if there is little community interest in 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: [OT] Deleting URLClassloader Cached Jars/Classes

2012-04-02 Thread Konstantin Kolinko
(aka hot-swap). That is used by debuggers, when you debug your program in an IDE and want to continue with updated (edited) version of the class without restarting all over. It is not something that you would use from inside the JVM though.

Re: Ant Tasks Question

2012-04-02 Thread Konstantin Kolinko
1. There are more people on users@ than on dev@, 2. It is easier to discuss on a mailing list, IMHO. 3. You can always add a link to the mailing list thread archive in your Bugzilla issue. Just my opinion. Do as you wish. Best regards, Konstantin Kolinko

Re: Enabling logging in Tomcat 5.5

2012-04-03 Thread Konstantin Kolinko
files, one of them wins. Do you have logging output on your console? (or catalina.out file where it is usually redirected)? Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Tomcat6 - Context - aliases

2012-04-04 Thread Konstantin Kolinko
uot;w" to "an_alias_1"). > The resources which are in "/home/d1" are available directly by typing the > following URL in a browser: > http://:8080/an_alias_1/file_< i>.txt > and not compulsorily through the Webapp "w". > Best regards. Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Eclipse Project Files for Tomcat 7

2012-04-05 Thread Konstantin Kolinko
omcat (trunk, > 7.0.x, etc.) can all coexist (i.e. not within one particular project > directory). > > - -chris > Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: request.login() not persistent

2012-04-05 Thread Konstantin Kolinko
ewhere in the > install folder? > catalina.jar -> \org\apache\catalina\util\ServerInfo.properties If you have *.bat files (e.g. from a zip distributive) you can run version.bat Best regards, Konstantin Kolinko -

Re: Problem with shutting down tomcat5.5.29

2012-04-05 Thread Konstantin Kolinko
ot;100" >               connectionTimeout="2" disableUploadTimeout="true" /> >                 enableLookups="false" redirectPort="8443" > protocol="AJP/1.3" address="127.0.0.1" /> > > Where I could have a problem? Any other problem besides those two messages that I commented? Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: request.login() not persistent

2012-04-05 Thread Konstantin Kolinko
directURL( ) to encode sessionid in the redirection URL? Form authentication relies on sessions. If new request does not belong to the same session (the correct session id is not send by client either in URL or with a cookie) then it does not

Re: Problem with shutting down tomcat5.5.29

2012-04-05 Thread Konstantin Kolinko
ConnectException: Connection refused" exception? It means that shutdown script cannot connect to Tomcat shutdown port to send it the shutdown command, regardless of the reason. If it is because Tomcat is already stopped (e.g. you

Re: Bug in Tomcat AJP Connector?

2012-04-05 Thread Konstantin Kolinko
. OOM can happen at a random place. Once it happens, it is likely that other places will also start to fail randomly. It is also likely that your attempts to recover will fail as well. Mark already mentioned it: "all bets are off". Best regards, Konstantin Kolinko --

Re: Bug in Tomcat AJP Connector?

2012-04-05 Thread Konstantin Kolinko
2012/4/5 Christopher Schultz : > > On 4/5/12 11:57 AM, Konstantin Kolinko wrote: >> 1. Tomcat does not start JVM  thus it cannot restart it. >> >> You need some external tool or script or admin to perform >> monitoring and (re)starts. > > Asking Tomcat to res

Re: Bug in Tomcat AJP Connector?

2012-04-05 Thread Konstantin Kolinko
elf, because its run() throws an exception and thus finishes execution. There is ThreadGroup.uncaughtException() method in JRE which by default prints the exception to stdout. If you consider to propose a patch - feel free to file an enhancement request in Bugzilla and attach it.

Re: 7.0 doc 404

2012-04-05 Thread Konstantin Kolinko
2012/4/6 Jesse Farinacci : > http://tomcat.apache.org/tomcat-7.0-doc/web-socket-howto.html > It is fixed now. Thank you. (The live site updates itself once an hour, so you'll have to wait a while). Best regards, Konstan

Re: can't find handler for element type

2012-04-06 Thread Konstantin Kolinko
. It should be something specific to that web application or framework that it is using. The error message was printed by "org.juddi.handler.HandlerMaker" 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: Accessing USB drive content from pages served from tomcat6 server

2012-04-07 Thread Konstantin Kolinko
ic files from the stick. It should not be hard. It might be based on Tomcat's DefaultServlet, but actually yours can be more simple: 1. You do not need to use servlet API to get the resources. You have to use direct file access using java.io. 2. Your access is read-only. You do not need t

Re: request.login() not persistent

2012-04-07 Thread Konstantin Kolinko
network traffic with some sniffing tools like Wireshark or Fiddler. It is also possible to configure Tomcat to print specific headers into its access log. 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: French Chars not properly displaying

2012-04-10 Thread Konstantin Kolinko
ters. It that is OK you can go deeper, e.g. to check that you can write and read the data correctly with your database. I do not remember any differences between Tomcat 6 and 7 that can cause such an issue. Best regards, Konstantin Kolinko -

Re: Problems uploading huge files >2GB to Tomcat app.

2012-04-10 Thread Konstantin Kolinko
est is saved in memory and its size is very limited (several Kb). If your session expires when you submit your file I think you will see an error because of that limit. 4. If file size is >2Gb then the method "response.setContentLength(int)" cannot be used. One has to use response

Re: Problems uploading huge files >2GB to Tomcat app.

2012-04-10 Thread Konstantin Kolinko
uot; 400 - in:[-1980123022] out:[-] 127.0.0.1 - - [10/Apr/2012:21:09:24 +0400] "POST /manager/html/upload?org.apache.catalina.filters.CSRF_NONCE=2B89705754F848DE99DED1259DC376C1 HTTP/1.1" 400 - in:[-198012301] out:[-] ]]] The first negative value is from Firefox. The seco

Re: Problems uploading huge files >2GB to Tomcat app.

2012-04-10 Thread Konstantin Kolinko
2012/4/10 André Warnier : > Konstantin Kolinko wrote: > ... >> >> This is from Tomcat 7 access log: >> >> [[[ >> 127.0.0.1 - - [10/Apr/2012:21:08:31 +0400] "POST >> >> /manager/html/upload?org.apache.catalina.filters.CSRF_NONCE=B5B161E96A5566

Re: Problems w/ TLS (record-splitting)

2012-04-10 Thread Konstantin Kolinko
nk you should consider updating to a more recent version of Tomcat 6, as well as of Tomcat-Native and OpenSSL (and maybe APR as well). See http://tomcat.apache.org/security-6.html http://tomcat.apache.org/security-native.html

Re: Using ServletContainerInitializer for 2.5 applications

2012-04-11 Thread Konstantin Kolinko
the class that implements that interface. The "ServletContainerInitializer" class is in "javax.servlet" package and it will be absent. The spec forbids you from bundling your own servlet-api.jar. Best regards, Konstantin Kolinko ---

Re: Using ServletContainerInitializer for 2.5 applications

2012-04-12 Thread Konstantin Kolinko
2012/4/11 Konstantin Kolinko : > 2012/4/11 Lazar Kirchev : >> I want the ServletContainerInitializer to be called for all applications I >> deploy, not only with web.xml version 3.0, but also with lower version. Is >> this possible? > > 2. You would even be able to loa

Re: Problem with making HTTP KeepAlive work

2012-04-12 Thread Konstantin Kolinko
e is not lost at proxies. Keep alive feature of HTTP/1.1 does not need to be specified in the response. It is "on" by default. See RFC2616 aka HTTP/1.1 specification. By the way: 1. You are missing quotes around "-1". The above

Re: Increase in Virt Memory and RSS memory - Tomcat 6.0.x

2012-04-12 Thread Konstantin Kolinko
sessions are enabled by default and people forget to add <%@page session="false"%>). Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: StandardHostValve kills custom error message

2012-04-12 Thread Konstantin Kolinko
"javax.servlet.error.exception" You cannot set it. See 10.9.1 in Servlet 3.0 spec. Can't you just throw new ServletException(PrivilegedActionException); ? 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 making HTTP KeepAlive work

2012-04-12 Thread Konstantin Kolinko
just don't know where to check, any clues? anything > missing? > > > On Thu, Apr 12, 2012 at 5:28 PM, Konstantin Kolinko > wrote: > >> 2012/4/12 Mehdi Sarmadi : >> > >> >  I just setup a tomcat 7 on linux for test. I just used this connection >&g

Re: Intermittent "ServletException - Unable to compile class for JSP" for a struts-1.3.10 web-app with Tomcat 7.0.26/7.0.27

2012-04-12 Thread Konstantin Kolinko
problems with deleting them. > I read that you have performed a clean install of Tomcat, which is a good step to take because this looks like a mismatched Jasper problem or something. On Windows the actual setting the Service starts with are stored in the registry. I hope those a

Re: Problems uploading huge files >2GB to Tomcat app.

2012-04-12 Thread Konstantin Kolinko
2012/4/10 Konstantin Kolinko : > 2012/4/10 Nick Porter : >> >> [NP] Yes. I can fathom no pattern to them. In fact, the only way I can >> actually see them is to packet trace the HTTP exchange. > > You do not have AccessLogValve configured?! > > I did the following

Re: Tomcat 7 Maven plugin: deploy fails with tomcatManager status code:401, ReasonPhrase:Unauthorized

2012-04-13 Thread Konstantin Kolinko
l/deploy?path=%2F HTTP/1.1" 401 2550 manager/html/deploy? That is what is used when you use HTML GUI of the manager app. Automated tools use Text interface, not HTML one. It has different address (and requires different user role). B

Re: 7.0.25 to 7.0.27 requires -Xmx32m to go to -Xmx512m

2012-04-13 Thread Konstantin Kolinko
ingframework.jdbc-3.*.jar, org.springframework.jms-3.*.jar, org.springframework.orm-3.*.jar, org.springframework.oxm-3.*.jar, org.springframework.test-3.*.jar, org.springframework.transaction-3.*.jar, org.springframework.web.portlet-3.*.jar, org.springframework.web.struts-3.*.jar, org.spri

Re: Help : Failed to start component [StandardEngine[Catalina].StandardHost[localhost]]

2012-04-16 Thread Konstantin Kolinko
ur configuration. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Cannot connect to tomcat through apache (proxy)

2012-04-16 Thread Konstantin Kolinko
omcat. In that > instance > it also worked. > > Bottom line is if you are going reference https, then you > should have the certificate credentials in the right place.  Otherwise remove > the reference and let it default to http. > The important bit is that in the Apache HTTP S

Re: adding a global URI prefix for Tomcat web apps

2012-04-17 Thread Konstantin Kolinko
name would be "apps#my_app.war" See "Context" page in "Configuration Reference Guide" for more details. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Availability of a resource in a realm

2012-04-17 Thread Konstantin Kolinko
ilable. So at what time can I expect the context being "complete"? > > I am on Tomcat 6.0.35 > Look at DataSourceRealm for an example. IIRC, what is seen as InitialContext depends on the value of Thread.getContextClassLoader() when InitialContext instance is creat

Re: Problem with deployment of a WAR file from Manager

2012-04-17 Thread Konstantin Kolinko
2. OS = ? 3. It is security check against CVE-2009-2693 In essence it checks that File.getCanonicalPath() of (webapp root directory + archive entry) is as expected. >   at org.apache.catalina.startup.ExpandWar.expand(ExpandWar.java:122) Best regards, Konstantin Kolinko

Re: adding a global URI prefix for Tomcat web apps

2012-04-17 Thread Konstantin Kolinko
2012/4/18 ron.vandenbranden@home : > Hi Konstantin, > > Many thanks for your excellent suggestion. Sorry, I forgot to mention that > I'm running Tomcat-7.0.27, so that should work. > > > On 17/04/2012 17:27, Konstantin Kolinko wrote: >> >> I would

Re: adding a global URI prefix for Tomcat web apps

2012-04-17 Thread Konstantin Kolinko
; sign in it. The working folder for your app will still be ${catalina.base}/Catalina/localhost/apps#myapp with a hash char in it, but I think that will work with Cocoon. BTW, I wonder how Cocoon behaves if your application is in a war file and you run with Best regards, Konstantin Kolin

Re: adding a global URI prefix for Tomcat web apps

2012-04-17 Thread Konstantin Kolinko
2012/4/18 ron.vandenbranden@home : > Hi, > > Sorry if I'm being a bit dense, but could I check if I'm understanding > correctly? I can't get it working with your suggestions. > > > On 18/04/2012 0:04, Konstantin Kolinko wrote: >> >> 2012/4

Re: Why @WebServlet annotation is not processed when web.xml is version 2.5?

2012-04-18 Thread Konstantin Kolinko
-7.0-doc/config/systemprops.html org.apache.catalina.STRICT_SERVLET_COMPLIANCE=true As far as I remember, specifics of TCK cannot be discussed on a public list. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For addi

Re: web.xml and schema location

2012-04-18 Thread Konstantin Kolinko
chema-instance"; >         xsi:schemaLocation="http://java.sun.com/xml/ns/javaee > http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"; >         version="3.0"> > Best regards, Konstantin Kolinko -

Re: Availability of a resource in a realm

2012-04-18 Thread Konstantin Kolinko
2012/4/18 Osipov, Michael : > Konstantin Kolinko wrote: >> 2012/4/17 Osipov, Michael : >>> Hi folks, >>> >>> I have a resource declared in my context.xml (not a resource link). >>> I want to retrieve that resource as soon as possible in my realm. I &

<    5   6   7   8   9   10   11   12   13   14   >