Re: CGIServlet - php

2011-09-03 Thread Konstantin Kolinko
directory specified when compiling the PHP engine itself. ( Somewhere in /etc ) > I have found no direction for the php.ini file in the > Tomcat documentation or on the Internet for specifically Tomcat.  Does > anyone know how Tomcat or Eclipse, is pointed at the php.ini file? Best re

Re: Form Authentication and status (response) code

2011-09-03 Thread Konstantin Kolinko
rset. The best way to make examples better is to prepare and propose patches (through 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: Having difficulty suppressing the org.apache.tomcat.util.digester.Digester logger

2011-09-07 Thread Konstantin Kolinko
mething I'm doing wrong--how do I set the default logging level >> to FINE *except* for org.apache.tomcat.util.digester.Digester? >> >> Thanks, >> Glen >> >> >> [1] >> http://svn.apache.org/repos/asf/tomcat/tc7.0.x/trunk/conf/logging.properties >> > 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.27 - Solaris 10 - Tomcat process starts additional copies of itself with only 1 thread and no CPU

2011-09-09 Thread Konstantin Kolinko
193:04 /usr/java/bin/java > -Djava.util.logging.config.file=/opt/apache-tomcat -5.5.27-ti > tomcat 773 21115 0 17:29:27 ? 0:00 /usr/java/bin/java > -Djava.util.logging.config.file=/opt/apache-tomcat -5.5.27-ti Best regards, Konstantin Kolinko -

Re: cpu problem with tomcat 7.0.14

2011-09-09 Thread Konstantin Kolinko
e in archives how other people have solved similar errors. 2. You have to upgrade (to latest 7.0.21). There have been a number of security issues fixed in later releases. 3. Please do not send HTML e-mails to this mailing list, and you cannot send images -- they are stripped off by mailing list s

Re: 6.0.33 catalina.properties - loaders not expanding system properties

2011-09-09 Thread Konstantin Kolinko
me} there in Tomcat 5.5 and Tomcat 6.0. In 7.0.17 and later you can use any other substitutions there, implemented as https://issues.apache.org/bugzilla/show_bug.cgi?id=50677 This enhancement has not been backported to 6.0. Best regards, Konstantin Kolinko ---

Re: Changes in Windows registry, 6.0.33

2011-09-12 Thread Konstantin Kolinko
0\Tomcat6" > ? To support installing several copies of Tomcat6 in parallel (with different Service Name). Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Changes in Windows registry, 6.0.33

2011-09-12 Thread Konstantin Kolinko
;revision=1160313 Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Apache+Tomcat+mod_jk

2011-09-12 Thread Konstantin Kolinko
roxy > DocumentRoot "/var/www/sc" > >  # Options Indexes FollowSymLinks MultiViews >  Options None >  AllowOverride None >  Order allow,deny >  allow from all > > ErrorLog logs/app1-error.log > CustomLog logs/app1-access.log combined > RewriteEngine O

Re: *.iface;jessionid=xxx gives 404 error

2011-09-12 Thread Konstantin Kolinko
was improvement in "path parameters" handling in 6.0.33 (that is what those (";" + foo) in URLs are called), but that should not concern spec-compliant applications. Some discussion about "path parameters" should be in the archives of the dev@ list. Best regards, Kon

Re: EL in Tomcat 7

2011-09-12 Thread Konstantin Kolinko
oes not work, I > get: > > java.lang.NoSuchMethodException: java.util.HashMap.get(java.lang.Integer) > > states is: > > Map states = new HashMap(); > states.put(1, "foo"); > ... > > > Both machines running Java 1.6 with Tomcat 7. What exactly version on Tomcat 7.0.x

Re: *.iface;jessionid=xxx gives 404 error

2011-09-12 Thread Konstantin Kolinko
servlet.MainServlet) using $ to match the end of string. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: EL in Tomcat 7

2011-09-12 Thread Konstantin Kolinko
w HashMap(); states.put(1, "foo"); pageContext.setAttribute("states", states); pageContext.setAttribute("state", 1); %> The value: ${states.get(state)} ]]] results in [[[ The value: foo ]]] You shoul

Re: *.iface;jessionid=xxx gives 404 error

2011-09-12 Thread Konstantin Kolinko
2011/9/13 Konstantin Kolinko : > 2011/9/13 jprideaux : >> >> Is it intended that request.getRequestURI() should return a path parameter >> as part of the URI? > > Yes, That is required by the Servlet Specification. > > See servlet-2_5-mrel2-spec.pdf  ch

Re: Tomcat and MS LDAP Configuration Problem

2011-09-14 Thread Konstantin Kolinko
to explicitly configure the Path attribute of the session cookie using cookie-config element in web.xml. See cookie-configType in http://java.sun.com/xml/ns/javaee/web-common_3_0.xsd 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 Redirect Issue - Extra "/" after hostname - Help Please

2011-09-14 Thread Konstantin Kolinko
e problem cropped up when all systems including the F5 load-balancer > had to be rebooted after last weekend's storm. So it did work before? 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.21: bug in RemoteAddrValve?

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

Re: Bad documentation error on Tomcat 6.0 howto site

2011-09-15 Thread Konstantin Kolinko
"manager-gui" or "manager-script" and it led astray for several hours. The documentation is correct. You are probably using an old version of Tomcat 6 (and you are not telling us which one). Best regards, Konstantin Kolinko --

Re: tomcat 7.0.21: bug in RemoteAddrValve?

2011-09-15 Thread Konstantin Kolinko
2011/9/15 André Warnier : > Konstantin Kolinko wrote: >> >> 2011/9/15 André Warnier : >>> >>> On the other hand, using a regexp provides for quite a bit of flexibility >>> regarding ranges of addresses. You could use something like : >>> "(

Re: Bad documentation error on Tomcat 6.0 howto site

2011-09-15 Thread Konstantin Kolinko
ng is included in the download itself (see webapps/docs). Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Is it safe ?

2011-09-18 Thread Konstantin Kolinko
es. I prefer to configure connections in server.xml (so that the context.xml of the webapp does not have secrets, and can be stored in svn etc., as well as to use different db configuration on dev vs. prod) Regarding the password itself: http://wiki.apache.org/tomcat/FAQ/Password Bes

Re: Links in CSS vs JSPs

2011-09-20 Thread Konstantin Kolinko
calls?) 2. How do you write the URLs in your css files? Read the official CSS spec from W3C on how relative links in css files are resolved. In CSS 2.1 it is in ch.4.3.4. Citing: "For CSS style sheets, the base URI is that of the style sheet, not that of the source document." Best

Re: Display a static page while application loading.

2011-09-20 Thread Konstantin Kolinko
pends on your you configure spring contexts in your webapp. 3. Are you concerned with blank response while Tomcat itself starts up, or when you redeploy your application while Tomcat is already running? Best regards, Konstantin Kolinko -

Re: Apache Tomcat 5.5.34 Question (UNCLASSIFIED)

2011-09-21 Thread Konstantin Kolinko
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.33] META-INF/context.xml Environment not working

2011-09-22 Thread Konstantin Kolinko
r to use. Note that it requires override="false" as well. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Different response with jsessionid in the request url between tomcat 6.0.32 and tomcat 6.0.33 for my project

2011-09-23 Thread Konstantin Kolinko
framework you are using to serve those *.ds requests has support for removing jsessionid path parameter, but e.g. does not expect "." in its value. If you are requesting a file directly (with a *.jsp URL) do you observe any problems? > (configuration details skipped) Best regards, Konsta

Re: Unable to compile class for JSP

2011-09-23 Thread Konstantin Kolinko
ependants() > (...) 1. If you are using precompiled jsp or tag files, you should compile them with exact the same x.y.z version of Tomcat where you deploy them. 2. Stop Tomcat and clear everything from the /work subdirectory of CATALINA_BASE. That is, there might be *.class files compi

Re: default realm set to JAASRealm in StandardEngine

2011-09-24 Thread Konstantin Kolinko
More investigation is needed though to review if there are consequences. > Mike > > [1] > http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/java/org/apache/catalina/core/StandardEngine.java?view=markup#l153 Best regards, Konstantin Kolinko --

Re: Create executable jar for tomact

2011-09-26 Thread Konstantin Kolinko
to deploy a web application without packing, but that would be more complicated. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Realm & SSL : issue when logout

2011-09-26 Thread Konstantin Kolinko
y getContext("/app") ?? HTTP Sessions are local to each web application. If "protected.html" belongs to a different web application, it would not (and cannot) know that you invalidated session in this webapp. Best regards, Konstantin Kolinko --

Re: catalina_pid file contains +1 pid number instead of correct pid

2011-09-27 Thread Konstantin Kolinko
2011/9/27 Raghu GS : > > Hello Everybody > > We are using Tomcat 6.20 in CentOS 5.3 server. 6.0.20 ?? You should read http://tomcat.apache.org/security-6.html as well as all the fixed issues in changelog. > I have recently enabled catalina_pid functionality using environment > variable. > The P

Re: endpoint.warn.unlockAcceptorFailed

2011-09-27 Thread Konstantin Kolinko
gnose this. (Especially what Apr Acceptor thread is doing). Your report sounds as if it is reproducible. Missing message is certainly a small bug. > > Tomcat 7.0.21 32-bit windows zip starting and stopping via the startup and > shutdown scripts doesn't give me this problem. > >

Re: 7.0.21 Redirects failing randomly

2011-09-27 Thread Konstantin Kolinko
AJP changes. > > We are running Apache 2.2.21 with mod_ajp. > > Our servlet framework is Stripes MVC and it seems to conform to the > requirement in 41718. > > Is anyone else having this issue? > Best regards, Konstantin Kolinko ---

Re: endpoint.warn.unlockAcceptorFailed

2011-09-27 Thread Konstantin Kolinko
2011/9/27 Konstantin Kolinko : > 2011/9/27 Leo Donahue - PLANDEVX : >> Tomcat 6.0.32 and 6.0.33 32-bit windows zip - Windows XP Pro >> >> Running the shutdown.bat script, on .32 and .33, hung at trying to stop the >> coyote connector, which then produces the e

Re: 7.0.21 Redirects failing randomly

2011-09-27 Thread Konstantin Kolinko
er managing our DB > transactions, so the response page was rendering before the DB transaction > was commited giving the appearance that the post didn't succeed. > > I think this is a MAJOR regression in 7.0.21. > > Jacob C

Re: Incorporating changes and compiling Tomcat

2011-09-27 Thread Konstantin Kolinko
2011/9/28 : > Can any one please direct me to instructions on how to incorporate fixes and > then recompile.  Target OS is Windows Server 2003.  Thanks! RTFM? - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For ad

Re: endpoint.warn.unlockAcceptorFailed

2011-09-28 Thread Konstantin Kolinko
2011/9/27 Konstantin Kolinko : > 2011/9/27 Konstantin Kolinko : >> 2011/9/27 Leo Donahue - PLANDEVX : >>> Tomcat 6.0.32 and 6.0.33 32-bit windows zip - Windows XP Pro >>> >>> Running the shutdown.bat script, on .32 and .33, hung at trying to stop the >>&

Re: TOMCAT-7.0 and SSL issues

2011-09-28 Thread Konstantin Kolinko
2011/9/28 Alexandre Adao : > I have a CAS server on Apache-Tomcat-7.0.19 on Windows 2008 and I need to > apply the SSL. I followed this instructions ( > https://wiki.jasig.org/display/CASUM/Best+Practice+-+Setting+Up+CAS+Locally+using+the+Maven2+WAR+Overlay+Method ),but > when Apache restarts, I

Re: Using namespaces within XML documents produced from JSPXs

2011-09-28 Thread Konstantin Kolinko
g 'foo:xyz'. Jasper then > complains that 'bar' is not bound. > 2. What happens if you wrap all with element and move your xmlns:bar there? (and not xmlns:foo like in your example below) > I've also tried: > > >   >         >         &g

Re: Using namespaces within XML documents produced from JSPXs

2011-09-28 Thread Konstantin Kolinko
2011/9/28 Konstantin Kolinko : > 2011/9/28 Paul Wilson : >> Hi there, >> > > 1. What exactly build of Tomcat x.y.z  you are using? > >> I'm trying use taglibs with a JSPX page, but also specify a namespace >> declaration for elements rendered by the JSP. An

Re: Incorporating changes and compiling Tomcat

2011-09-28 Thread Konstantin Kolinko
"how to build it": There are - BUILDING.txt - webapps/docs/building.html in every release. What else is needed? Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Using namespaces within XML documents produced from JSPXs

2011-09-29 Thread Konstantin Kolinko
2011/9/29 Paul Wilson : > On 28 September 2011 18:11, Konstantin Kolinko wrote: > > This is what isn't working on Tomcat 6.0.32 for me. Note additionally that " > http://www.w2.org/2000/svg"; should be a taglib uri too to fully mirror my > example. Perhaps I&#

Re: [OT] Tomcat on its own SVN repository?

2011-09-29 Thread Konstantin Kolinko
er ASF projects. BTW, there are read-only git mirrors at ASF elsewhere. http://www.apache.org/dev/contributors.html http://git.apache.org/ Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apach

Re: Accessing Tomcat manager app

2011-09-29 Thread Konstantin Kolinko
remotely). See web.xml file of the manager application for the actual list of supported roles. 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 Tomcat manager app

2011-09-29 Thread Konstantin Kolinko
cess  it directly as http://localhost:8080/index.html > > Heard that need be changed in context setting.. but could not get it. > Thanks again > Have you seen FAQ? Just rename your file into ROOT.war. It is the easiest way.

Re: Logging properties of attributes in the HttpSession

2011-09-30 Thread Konstantin Kolinko
ompleted, and a filter affects only what happens "inside" the filter in the request handling chain. The filter wraps request, but log valve sees the original unwrapped request. If you need to pass this information to the log valve, I'd suggest you to assi

Re: Absolute path in webApp attribute

2011-09-30 Thread Konstantin Kolinko
am using tomcat 7.0 on Windows XP platform. > There is no attribute named "webApp" in a element (as should have been printed for you in Tomcat logs). Best regards, Konstantin Kolinko - To unsubscribe, e-mail: user

Re: Logging properties of attributes in the HttpSession

2011-09-30 Thread Konstantin Kolinko
2011/9/30 Christopher Schultz : > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Konstantin, > > On 9/30/2011 9:27 AM, Konstantin Kolinko wrote: >> 2011/9/30 André Warnier : >>> Pid * wrote: >>>> >>>> The changes from the Spring s

Re: Tomcat SW Support Matrix Does Tomcat run on AIX?

2011-10-02 Thread Konstantin Kolinko
ast time when I answered bugzilla ticket for Tomcat on AIX it was an 1.4 JVM.) 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 for comments: Apache-like allow/deny remote host filtering

2011-10-02 Thread Konstantin Kolinko
e "test" target in Tomcat's build.xml. You can run a single test by setting "test.entry" property in build.properties equal to the test name. Otherwise the full testsuite will be run. Best regards, Konstantin Kolinko

Re: Logging properties of attributes in the HttpSession

2011-10-03 Thread Konstantin Kolinko
2011/10/3 Christopher Schultz : > On 9/30/2011 2:18 PM, Konstantin Kolinko wrote: >> 2011/9/30 Christopher Schultz : >>> The OP should be able to put the Filter into the in >>> such a way that the Filter wraps the AccessLogValve, no? >>> >> >> 1. Yo

Re: Tomcat 7 jasper-el fails to parse boolean EL statement

2011-10-03 Thread Konstantin Kolinko
2011/10/4 Nestor Urquiza : > Hi Mark, > > So you are suggesting Spring pet clinic application is broken? There are many implementations of Pet Clinic out there. Yes, that one is broken. > What > would be the correct syntax then for the expresion that is failing? You are not reading your answers,

Re: IllegalStateException using CompressionFilter with Tomcat 7.0.21/22

2011-10-03 Thread Konstantin Kolinko
ug there, but I would like a more simple example. I think it is OK to open an issue in Bugzilla, but please attach an example (with source code) that reproduces this. I think a lot depends on the state of JspWriterImpl when PageContextImpl.release() is called. I t

Re: Tomcat 7 jasper-el fails to parse boolean EL statement

2011-10-03 Thread Konstantin Kolinko
s exactly the same that you tried with ${owner.new}. The ${owner.isNew()} expression is a different beast - it is a method call, and method calls support is introduced in JSP 2.2/Expression Language 2.2. You will have to use Tomcat 7.0. > I forgot to thanks Mark for the flag. > > Thank

Re: Denying IPs using the Valve command in context.xml

2011-10-04 Thread Konstantin Kolinko
2011/10/4 Sanford Stein > > 1.  I am using wildcards in my IP addresses, such as: > deny="*.googlebot.com"/> > > From my reading of the documentation, this should be OK, but when this line > is present I cannot access any of my > servlets from any IP address.   Do wildcards work here and, if so,

Re: Regarding Catalina/Tomcat MBeans attributes/operations description

2011-10-05 Thread Konstantin Kolinko
in the docs, then read the source code. MBeans are defined by mbeans-descriptors.xml files, and are implemented by properties in Java objects represented by those beans. You are not saying what Tomcat version you are using. Best regards, Konstantin Kolinko ---

Re: Cocoon - Tomcat - APEX for FOP PDF printing

2011-10-05 Thread Konstantin Kolinko
ld waste your memory, but it would not prevent your app from functioning. I think that mitigation options were already discussed several times -- search the archives of this mailing list. > > Other than these errors, the Tomcat and Cocoon appear to be installed > properly and functi

Re: logging.properties and no classdef error when trying to switch to log4j 6.0.18

2011-10-05 Thread Konstantin Kolinko
irely. Bootstrap classes use it. Some web applications can use it as well. 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 page that will not update

2011-10-06 Thread Konstantin Kolinko
ng? :/ > 2.  Is there a setting in Tomcat that can be tweaked to address my issue? See above. 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 page that will not update

2011-10-06 Thread Konstantin Kolinko
t; using Tomcat 5.5.34, re-opening a page does not automatically refresh content. What browser it is? > Can you point me to information concerning AccessLogValves, please. webapps/docs/config/index.html -> see Valves There is an example in default server.xml as well. Best regard

Re: JSESSIONID Stripping

2011-10-07 Thread Konstantin Kolinko
e a delimiter. 2) There are two methods in Servlet API should return the path exactly as it was requested, preserving path parameters in it. There was some discussion about that recently. 3) If I remember correctly, if cookie is present the jsessionid in URL is ignored. Best regards, Konstantin Ko

Re: How to externalize a webapp's logging.properties?

2011-10-11 Thread Konstantin Kolinko
oc) could be used to add an external folder to webapp classpath, so that logging.properties could be read from there. I have not tried it though. 3. The logging.properties file in the webapp can use any system properties. Maybe you can use them to specify system-dependent values. Best regards

Re: Path Parameters - Servlet API

2011-10-11 Thread Konstantin Kolinko
ssentially their fault. They will break as well when used in other Servlet containers. In certain scenarios that can even lead to security issues, like http://www.springsource.com/security/cve-2010-3700 Workarounds are possible, by using a Filter or Valve to rewrite the URL. Best regards,

Re: Path Parameters - Servlet API

2011-10-11 Thread Konstantin Kolinko
2011/10/11 Paul Wilson : > On 11 October 2011 10:43, Konstantin Kolinko wrote: >> I cannot say about "various" versions (because it was a bug that was >> fixed in 6.0.33). > > Was the fixed made available in Tomcat 7 too? (Can't see it in the changelo

Re: SingleSignonValve and webapp session timeout

2011-10-11 Thread Konstantin Kolinko
ntiate between explicit session invalidation and it timing out. Timed out sessions are just removed, and invalidation happens when the last session for the same sso id has been removed. Maybe something goes wrong in SingleSignOn#sessionEvent(...) - you may try to debug it (see Wiki) or at least enable de

Re: SingleSignonValve and webapp session timeout

2011-10-12 Thread Konstantin Kolinko
their web.xml? (If they are not, then authentication does not happen and their sessions are not associated with SSO)/ Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Pound Signs in Context/Paths

2011-10-12 Thread Konstantin Kolinko
nt is '#'. > And you can also not drop a "bar.war" file in the directory > (tomcat_dir)/webapps/foo/, because it would never get deployed. Moreover, a web application is not obliged to have a WEB-INF directory and web.xml file. So ${catalina.base}/webapps/foo/ would be ju

Re: SingleSignonValve and webapp session timeout

2011-10-12 Thread Konstantin Kolinko
nticator or write my own variant that > actually makes the SSO-to-Session association that I need. > > (words of encouragement or enlightenment will 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: async per servlet 3.0

2011-10-14 Thread Konstantin Kolinko
e annotation, or it is explicitly mapped in 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: async per servlet 3.0

2011-10-14 Thread Konstantin Kolinko
mapping it explicitly, were you using the following for the servlet as the examples webapp does? true 2. Try (new Exception().printStackTrace()) in your servlet, so that it prints stacktrace with all Filters and Valves that are in t

Re: Tomcat 7 won't run as Windows service

2011-10-14 Thread Konstantin Kolinko
arting as a service. The service runner is actually Apache Commons Daemon procrun component http://commons.apache.org/daemon/ It launches JVM dll directly without any bat files. If there are issues with this service launcher, it is better to report them to the Commons Daemon project. Best reg

Re: async per servlet 3.0

2011-10-14 Thread Konstantin Kolinko
hat are in the chain >> that serves your request. >> Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Using the Apache Tomcat 6.0 SSL Configuration HOW-TO guide, but it is not working

2011-10-14 Thread Konstantin Kolinko
2011/10/14 ML Harmon : > > I don't even know enough about Tomcat to know how to troubleshoot this, am > very new to this. > 1) If you know where your server.xml is, you should know where your log files are as well. There is logs folder that is sibling to conf. 2) There are two different implemen

Re: appbase directory deleted partically

2011-10-16 Thread Konstantin Kolinko
2011/10/17 Osamu Ochiai : > Thanks. > > I mean that the directories other than WEB-INF directory  were deleted. > > Thanks again. > > Osamu Ochiai > > Do not top-post. Look at Context attributes such as antiJARLocking Unixes allow to delete files that are still open for reading/writing, Windows

Re: Service not starting due to java.lang.NoSuchMethodError

2011-10-16 Thread Konstantin Kolinko
2011/10/17 Ricardo Martin : > Thanks Charles. > > It was actually a real Tomcat version downloaded from tomcat.apache.org. > The only detail I forgot to mention (not sure if it's important), is that > this Centos 5.7 is installed in a virtual space using VMware Player. > > Ricardo > Something is s

Re: mod_auth_ldap - Apache HTTP Server

2011-10-16 Thread Konstantin Kolinko
2011/10/17 Kalimuthu Samayan : > Hi, > > Could you any one help on directives to stop user accessing URLs directly on > application server when we have configured authentication LDAP > authentication required using apache directives. > Is your question related to Apache Tomcat? I guess you asking

Re: Multiple war files for a single webapp or context

2011-10-17 Thread Konstantin Kolinko
her, so you need to have separate web.xml for each of them, and you cannot access to code that belongs to another 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: Multiple war files for a single webapp or context

2011-10-17 Thread Konstantin Kolinko
2011/10/17 Ziggy : > Would the nested context approach allow access to session data from one war > file to the other? > No. Session id may be the same, but Session object itself will be different. All webapps, by definition, are independent of each other.

Re: Multiple session cookies names

2011-10-17 Thread Konstantin Kolinko
2. For Tomcat 6 read "Context" chapter in the configuration reference, for Tomcat 7 download and read the Servlet 3.0 specification. Both allow to configure session cookie names, but the way to configure it differs between Tomcat versions. 1. Do not top-post 2011/10/17 Peter Cipov : > Can you be m

Re: JspServlet - Unexpected behavior, possible bug...

2011-10-18 Thread Konstantin Kolinko
 } > The call is being serviced. Unfortunately when this problem occurs a > "JasperException" is throw, not a FileNotFoundException and the > handleMissingResource() path way is skipped.... > > Any thoughts? It strikes me that this situation is one that can easily be > inc

Re: TOMCAT_BASE and TOMCAT_HOME

2011-10-18 Thread Konstantin Kolinko
would usually leave standard Tomcat libraries in $CATALINA_HOME and your instance-specific ones (e.g. database drivers) in $CATALINA_BASE. Any other libraries are better to be in your webapp's WEB-INF\lib. If they are not, your chances for observing a PermGen memory leak are higher.

Re: JspServlet - Unexpected behavior, possible bug...

2011-10-18 Thread Konstantin Kolinko
2011/10/18 Nathan Potter : > > On Oct 18, 2011, at 6:50 AM, Konstantin Kolinko wrote: > >> 2011/10/17 Nathan Potter : >>> >>> >>> Greetings, >>> >>> I am new to this list and I apologize in advance if this has been covered >>>

Re: Error while starting tomcat. Failed creating jvm.dll

2011-10-19 Thread Konstantin Kolinko
2011/10/19 Joe Hansen : > Hi, > > I have installed Tomcat 6.0.29 on a machine running Windows 7 Professional > (64bit) and JDK 1.5.0_22. Why not 6.0.33? > > When I start Tomcat, I see the following error message in the log file: > [206  javajni.c] [error] %1 is not a valid Win32 application. > [9

Re: Error while starting tomcat. Failed creating jvm.dll

2011-10-19 Thread Konstantin Kolinko
age in the log file: > [206 javajni.c] [error] %1 is not a valid Win32 application. > [985 prunsrv.c] [error] Failed creating java C:\Program Files > (x86)\Java\jdk1.5.0_22\jre\bin\server\jvm.dll Best regards, Konstantin Kolinko

Re: can't set tomcat to use log4j for its internal logging

2011-10-19 Thread Konstantin Kolinko
2011/10/19 Silvia Righini : > Hi everyone, > > I'm trying to tell tomcat to use log4j for its internal logging, but it just > ignores me.. > I have Tomcat 6.0.33 running on a Mac OS X 10.5.8 (with java openjdk version > "1.6.0-internal"). > > I followed to the letter the docs at > http://tomcat.apa

Re: Force 32-bit installation on 64-bit windows?

2011-10-20 Thread Konstantin Kolinko
you make the 32-bit JRE the > default, it will use that and select the 32-bit service. Installer asks and allows you to select the JRE and it will detect whether the chosen one is 32-bit or 64-bit. See "Function checkJava" in res/tomc

Re: Tomcat produces empty/missing log files

2011-10-20 Thread Konstantin Kolinko
lina.org.apache.juli.FileHandler .handlers = 1catalina.org.apache.juli.FileHandler 1catalina.org.apache.juli.FileHandler.level = FINE 1catalina.org.apache.juli.FileHandler.directory = ${catalina.base}/logs 1catalina.org.apache.juli.FileHandler.prefix = catalina. .level=INFO ]]] IIRC If logging fails to start it prints

Re: Tomcat produces empty/missing log files

2011-10-21 Thread Konstantin Kolinko
d I can see that > it's now putting some of the output in two different files, > catalina.date.log and localhost.date.log http://www.catb.org/~esr/faqs/smart-questions.html What is those "verbose logging.properties" and why those lines? You are asking something, but

Re: SSI SecurityException

2011-10-21 Thread Konstantin Kolinko
xml, because it applies to all webapps. You should copy it into your webapp only. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: SSI SecurityException

2011-10-21 Thread Konstantin Kolinko
ery webapp has to be privileged > Should I copy it from the conf directory in its entirety or just a subsection > of the file? Only definition of the filter and its mapping. Best regards, Konstantin Kolinko - To unsubscri

Re: Tomcat produces empty/missing log files

2011-10-21 Thread Konstantin Kolinko
2011/10/21 Brian Jones : > Yes, it appears that the project I'm deploying is relying on log4j for > logging; so when I remove the log4j.jar file, it obviously complains that it > can't find it. > > However, what I don't understand is why Tomcat refuses to log to the log > files if there is a log4j.

Re: Tomcat produces empty/missing log files

2011-10-21 Thread Konstantin Kolinko
2011/10/21 Brian Jones : > > That defiantly makes sense. Are there any known workarounds for using > java.util.logging instead of log4j even if the log4j.jar file is present? > You will need to read Commons Logging documentation for that. http://wiki.apache.org/commons/How_to_Configure_the_Loggin

Re: .nfsxxx file created when undeploying applications

2011-10-23 Thread Konstantin Kolinko
2011/10/23 Nicolas Dordet : > Hi, > > I have a Tomcat 5.5.17 run on Solaris. TOMCAT_HOME is on a mounted NFS > partition. When doing undeploy of an application, some .nfsxx files are > created et dot no allow suppression of repertories. > > A similar bug for JARs has been opened but not fixed ( > h

Re: deploy tomcat quietly and automatically

2011-10-24 Thread Konstantin Kolinko
u24-windows-x64.exe /quiet) The same about 6u24. Anyway, silent install is done with an /S. You may get the list of command line options running it with "/?" (since 6.0.30), but there are not many of them. Best regards, Konstantin Kolinko ---

Re: HOW TO detect what app server you're running in

2011-10-26 Thread Konstantin Kolinko
user configure your webapp. Best regards, Konstantin Kolinko 2011/10/25 Bob DeRemer : > Yeah, that should do it - should have remembered that - I'm already using > this - purely for diagnostic info. > > Thanks, guys! > > -Original Message- > From: Ronald Klop (Ma

Re: How to configure Tomcat 7 manager webapp into an subpath?

2011-10-26 Thread Konstantin Kolinko
caseSensitive="true" unpackWAR="false" useNaming="false"> > > > manager.xml > > 1. You cannot use path attribute in *.xml context files. 2. Manager webapp needs to be privileged. You may want to add a inside the tag. Best regards, Konstantin Kolinko

Re: JAR replaced in lib not seen in Eclipse projects

2011-10-26 Thread Konstantin Kolinko
2011/10/26 Savoy, Melinda : > I made updates on 2 files in a JAR file that I replaced in the lib directory > of my tomcat server.  All my projects in my eclipse workspace reference the > Apache Tomcat v6.0 [Apache Tomcat v6.0] library in my build path.  However > when I am debugging my app the o

Re: context.xml not being read

2011-10-27 Thread Konstantin Kolinko
2011/10/28 Rajkumar Singh : > Hello, > > I am not able to read the environment variable from the server.xml - those > are also referenced in the META-INF/context.xml. > > I am using tomcat version 6.0.29. The tomcat is deployed on the OS Linux > > I am deploying my source code in some folder called

Re: cannot read complete HTTP request body. It reads only 8192 characters

2011-10-28 Thread Konstantin Kolinko
repeatedly in a loop until it returns -1. If you had provided some of your source code that performs reading, we would be able to point at the exact error in your code. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: catalina_pid file contains +1 pid number instead of correct pid

2011-10-28 Thread Konstantin Kolinko
Maybe you can get somewhere looking at the parent process ID (PPID) column in ps output and knowing the PID of cronolog process. Best regards, Konstantin Kolinko 2011/10/28 Cooper man : > > The danger with that is if you have multiple jvms running on one machine as > we do, you will g

<    1   2   3   4   5   6   7   8   9   10   >