Re: Tomcat Concurrency

2013-07-15 Thread Konstantin Kolinko
bie way) to do so. Without seeing your actual configuration and your actual code it is impossible to provide any review. If congestion were at Tomcat side, as when several threads are waiting for the same resource, it would be easy to spot the place by taking a pair of thread dumps (see wiki -> FAQ -> Troubleshooting). 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.34

2013-07-14 Thread Konstantin Kolinko
uldn't link to online 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: ClassNotFoundException org.apache.juli.FileHandler in Tomcat 7.0.42 / OpenJDK 6 b27 (FreeBSD)

2013-07-13 Thread Konstantin Kolinko
2013/7/13 Konstantin Kolinko : > 2013/7/13 Matthias Petermann : >> Hello, >> >> when I try to start Tomcat 7.0.42 with OpenJDK 6 b27, it complains about not >> finding classes for the logging handlers. I created a minimal >> logging.properties to narrow dow

Re: ClassNotFoundException org.apache.juli.FileHandler in Tomcat 7.0.42 / OpenJDK 6 b27 (FreeBSD)

2013-07-13 Thread Konstantin Kolinko
ebsd.org/cgi/query-pr.cgi?pr=177067&cat= > > At this time it is not clear to me where to look for the root cause. I > appreciate your help and hints, looking for directions where to investigate > in detail. > This is the first time I see such issue being reported for OpenJDK6,

Re: JSP in Static Resources

2013-07-13 Thread Konstantin Kolinko
2013/7/13 Alireza Fattahi : > Hi, > > > I copied below in my web.xml > > > > *.css > text/css > > > > It did not helped ?! Is it a config for tomcat 7. I am using tomcat 6. > The eclipse says that is invalid. > Yes, it is from JSP 2.2 which requires Servl

Re: JSP in Static Resources

2013-07-13 Thread Konstantin Kolinko
in conf/web.xml (which provides site-wide defaults). That is if you are using 7.0.42. You have not mentioned your version of Tomcat. 3. Top-posting is bad. http://tomcat.apache.org/lists.html#tomcat-users -> "6." Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Enabling protocol="org.apache.coyote.http11.Http11NioProtocol" causes tomcat 6.0.36 to load web page elements

2013-07-12 Thread Konstantin Kolinko
or: > protocol="org.apache.coyote.http11.Http11NioProtocol" >connectionLinger="-1" maxThreads="300" > maxKeepAliveRequests="-1" >socket.rxBufSize="125940" socket.txBufSize="21900

Re: [Tomcat 7.x] Tuning the connector for large requests / response

2013-07-11 Thread Konstantin Kolinko
k into Tomcat Manager webapp for an example. I see no need to change configuration of HTTP connectors. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: [slightly OT] FORM based authentication and utf-8 encoding of credentials

2013-06-26 Thread Konstantin Kolinko
2013/6/26 Shanti Suresh : > Hi Chris, > > This is such an interesting discussion. I am not sure what to make of this > person's comment: > > --- > TAXI 2012-10-09 09:03:59 PDT > > Wow, no fix since 8 years... > > And this is a real bug: If the HTTP header says the file is encoded

Re: ssl port always print as 443 in tomcat access logs

2013-06-14 Thread Konstantin Kolinko
2013/6/14 Anil Goyal -X (anigoyal - Aricent Technologies at Cisco) : > Hi > I have two service running in tomcat. > First service 'catalina' is having connector port 80, 443, 8080 and 8444. > Second service 'catalina_advance' have connector port 8081 and 8444. > > For catalina_advance, I entered a

Re: Customizing SSL in HttpClient

2013-06-11 Thread Konstantin Kolinko
2013/6/11 Anil Goyal -X (anigoyal - Aricent Technologies at Cisco) : > > Please consider the code flow as below: > > HttpClient client = new HttpClient(); > portNumber = secure ? LocalNetworkConstants.DEFAULT_HTTPS_PORT : > LocalNetworkConstants.DEFAULT_HTTP_PORT; // DEFAULT_HTTPS_PORT=8444 and >

Re: Customizing SSL in HttpClient

2013-06-10 Thread Konstantin Kolinko
What if you list active connections (using netstat or some other tool)? 6. Does it connect directly to Tomcat, or some proxy (Apache Httpd, iptables, a NAT on a router) is involved? > request.getServerPort Configure an AccessLogValve. %p in the log pattern should

Re: mod_jk worker activation not working anymore in 1.2.37?

2013-06-10 Thread Konstantin Kolinko
t; > Does anyone have an idea what I could be doing wrong? > Looking at the current changelog, ... Fix status worker not updating parameters for all members. (mturk) That is http://svn.apache.org/viewvc?view=revision&revision=1354021 Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Unable to download junit dependency to test 7.0.41

2013-06-10 Thread Konstantin Kolinko
zip' saved [1594318/1594318] > That said, switching to the central Maven repo might be a better option: > http://repo2.maven.org/maven2/junit/junit/4.8.2/junit-4.8.2.jar and update to 4.9. Olivier mentioned that it would be better to use "repo.mav

Re: IE 8 and before refusing to download files (I hate IE)

2013-06-04 Thread Konstantin Kolinko
ncoding: chunked > Date: Mon, 03 Jun 2013 22:34:41 GMT > > With SSLAuthenticator: > HTTP/1.1 200 OK > Server: Apache-Coyote/1.1 > Cache-Control: private > Expires: Wed, 31 Dec 1969 18:00:00 CST > Content-Disposition: attachment; >

Re: Tomcat 6 and Windows Service

2013-06-03 Thread Konstantin Kolinko
f JVM reads them at startup (before the Bootstrap class runs), but should work if it reads them at a later time. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: NPE in coyote InternalNioOutputBuffer

2013-05-27 Thread Konstantin Kolinko
che.catalina.connector.RECYCLE_FACADES=true It will prevent reuse of those objects. http://tomcat.apache.org/tomcat-7.0-doc/config/systemprops.html > PS. > By the way that NPE should never occur - Is it a BUG ? I am using Tomcat > 7.0.28 (current in debian 7.0 Wheezy)

Re: Tomcat Unix daemon (jsvc) - problem with compilation

2013-05-27 Thread Konstantin Kolinko
jars there. The Tomcat's Bootstrap class will configure the Common classloader as appropriate. It is documented here: http://tomcat.apache.org/tomcat-7.0-doc/class-loader-howto.html > 6. When replying, please write your text below the quoted one. As written here: http://t

Re: WebSocket API JSR 356 in Tomcat 7

2013-05-27 Thread Konstantin Kolinko
2013/5/27 Niki Dokovski : > Hello, > are there any concrete plans of getting JSR 356 implementation available in > Tomcat 8 dev version in the productive Tomcat 7? > As Mark answered a month ago, https://issues.apache.org/bugzilla/show_bug.cgi?id=51181#c64 Best regards, Konsta

Re: Parameterized the server.xml

2013-05-27 Thread Konstantin Kolinko
2013/5/27 : > Team, > > Is there a way by which we can pass the tomcat port numbers via config file > or command line.i don't want to hardcode the port numbers in > server.xml.please suggest how to do it > Yes. If "foo" is a system property, you can use "${foo}" in any XML file parsed by Tomca

Re: 6.0.16 vs 6.0.37 puzzle

2013-05-24 Thread Konstantin Kolinko
it with correct permissions? (E.g. if one starts Tomcat as root, shuts it down, and then tries to start it again as a non-root user, permissions on directories created during the first run will prevent it from functioning correctly). 5. Do you run with SecurityManager being enabled? Best rega

Re: Non-invasive configuration by extension?

2013-05-23 Thread Konstantin Kolinko
A-INF/context.xml" files. But you cannot use those to configure connectors. 3. You should know about running with separate CATALINA_HOME and CATALINA_BASE. You can leave pristine files in CATALINA_HOME/conf as a reference. Note that only the CATALINA_BASE ones

Re: LOG4J2-223: IllegalStateException thrown during Tomcat shutdown (memory leak, it looks like)

2013-05-20 Thread Konstantin Kolinko
on as it is that finalizers are not > called if the garbage collector never runs, and the garbage collector isn't > guaranteed to run at JVM shutdown. There exists such API as JVM shutdown hooks. An issue with them though is that if there are several hooks,

Re: Apache Tomcat service has been shutting down/stopping randomly.

2013-05-20 Thread Konstantin Kolinko
2013/5/20 James Snider : > HI, > > We completely uninstalled/removed all previous Tomcat 5.5 versions from the > file system and registry, rebooted, then completed a clean re-install without > copying back any of the folders that could be causing issues as you have > stated below. We are still

Re: checkThreadLocalMapForLeaks: com.sun.xml.bind.v2.runtime.Coordinator

2013-05-20 Thread Konstantin Kolinko
2013/5/19 jieryn : > Greetings, > > I am using Apache Tomcat 7.0.40, via IBM Java 7 SR2. I am seeing the > following on Tomcat shutdown: > > org.apache.catalina.loader.WebappClassLoader.checkThreadLocalMapForLeaks > The web application [] created a ThreadLocal with key of type > [com.sun.xml.bind.v

Re: Tomcat 7 Application Context root url mapping broken after reload.

2013-05-12 Thread Konstantin Kolinko
it specific to the context root (empty string) mapping? b) Is it specific to annotations? (Does it work if you specify the mapping in web.xml)? BTW, support for such mappings was added to Tomcat 7 rather late (in 7.0.28 - bug 53356 ). Apparently they are no so widely used. Best regards, Kons

Re: [OT] Querstion about Class.forName() re. ClassLoaders

2013-05-11 Thread Konstantin Kolinko
2013/5/11 Konstantin Preißer : > Hi Konstantin, > >> -Original Message----- >> From: Konstantin Kolinko [mailto:knst.koli...@gmail.com] >> Sent: Friday, May 10, 2013 11:46 PM >> >> Yes, the same. >> >> BTW, Oracle JDKs come with source code

Re: [OT] Querstion about Class.forName() re. ClassLoaders

2013-05-10 Thread Konstantin Kolinko
gt; } > > Instead of this one: > > public void doSomething() throws ClassNotFoundException { > Class clazz = Class.forName("foo.Bar", true, > this.getClass().getClassLoader()); > // do something... > } > > or did I misunderstand somet

Re: Catalina.policy java.security.AllPermission

2013-05-09 Thread Konstantin Kolinko
2013/5/9 Alejandro Garcia : > Thanks! > > It is because I am run my app in a Web Hosting that runs with SM enable. > (...) SM can protect you from running webapps that you do not know or do not trust. It cannot protect a web hoster from you (or from someone else who uses a password that was stole

Re: Monitoring Tomcat - Delta Values

2013-05-04 Thread Konstantin Kolinko
someone add me in the ContributorsGroup of the Tomcat wiki, so that I > am able to do it? > My wiki username is EmericVernat > Added. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@to

Re: NoSuchMethodError loading class in webapp from common class loader

2013-05-03 Thread Konstantin Kolinko
lasses loaded from different classloaders are considered different by JVM (even if they have the same name and bytecode),. You are asking for a method specifying its arguments by using classes loaded by webapp classloader and they do not match the

Re: Multiple tomcat containers or instance on same servers

2013-05-01 Thread Konstantin Kolinko
ink that 1) there should be some introduction that says that the executables come from commons.apache.org, and one should consult the original documentation. 2) add a section that explicitly documents Tomcat's "service.bat" script and options supported by it (

Re: I need tomcat version 5.5.x >= 5.5.36

2013-04-28 Thread Konstantin Kolinko
2013/4/28 Edoardo Panfili : > Il 28/04/13 12:40, Uri Shani ha scritto: >> >> Since tomcap 5 is archived... how can I get a version to download? >> Thanks, > > > http://archive.apache.org/dist/tomcat/ > > The last one that I can see is 5.5.36 > 1. It satisfies your equation of ">= 5.5.36" 2. There

Re: getting the request that created the session

2013-04-27 Thread Konstantin Kolinko
to get user's ip adress somehow. > Just two ideas: 1. You can use javax.servlet.ServletRequestListener instead of a filter. 2. There is HttpSession.isNew() method. Best regards, Konstantin Kolinko - To unsubscribe, e-mail:

Re: Tomcat 7.0.39 windows service setenv not used

2013-04-24 Thread Konstantin Kolinko
2013/4/25 Satyendra Singh : > I have created multiple windows services and for one of the service, i have > -Dcatalina.base=C:\servers\applications\service1 > -Dcatalina.home=C:\servers\apache-tomcat-7.0.39 > > i have C:\servers\applications\service1\bin\setenv.bat where i have > > set JAVA_HOME= C

Re: Question on servlet determination

2013-04-24 Thread Konstantin Kolinko
2013/4/25 Christopher Schultz : > > Konstantin, > > On 4/24/13 3:56 PM, Konstantin Kolinko wrote: >> 2013/4/24 Christopher Schultz : >>> >>> On 4/23/13 11:35 PM, Caldarale, Charles R wrote: >>>>> From: Jeffrey Janner [mailto:jeffrey.jan.

Re: Question on servlet determination

2013-04-24 Thread Konstantin Kolinko
Example/foo/bar Adding an extra "/" works correctly. 2.Handling of welcome files in Tomcat 7 depends on "strict servlet compliance" setting (see Migration guide and system properties page in Configuration reference). Best regards, Konstantin Kolinko

Re: Tomcat 7.0.33 manager - 403 Access Denied

2013-04-24 Thread Konstantin Kolinko
2013/4/24 Shanti Suresh : > Hi Konstantin, > > On Tue, Apr 23, 2013 at 6:48 PM, Konstantin Kolinko > wrote: > >> >> > >> > I can't tell what I'm missing. Also, steps #2 and #3 are not even >> required >> > if I am using

Re: Tomcat 7.0.33 manager - 403 Access Denied

2013-04-23 Thread Konstantin Kolinko
lso, steps #2 and #3 are not even required > if I am using the RemoteAddrValve, correct? No. They are not related to RemoteAddrValve. I would say that you should be stopped by CsrfPreventionFilter, because your heapused.jsp is n

Re: JSTL XML Basic Question

2013-04-22 Thread Konstantin Kolinko
; > I'm sure I'm missing something obvious. But can someone please help me out > with the correct syntax? > Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: problems with import in jsp file

2013-04-18 Thread Konstantin Kolinko
2013/4/18 caio lima : > hi, > sorry for my english. > i just publish my web site made with java, jsp, and i'm stuck with a > problem. > > my ".class" files is in the directory "WEB-INF/classes/..." > and i have the class Diversos in > "WEB-INF/classes/ferramentas/Diversos.class" > > when i use a im

Re: explanation of resource-ref in web.xml

2013-04-18 Thread Konstantin Kolinko
2013/4/18 Jakub 1983 : > I have tried google, but this links don't explain me, eg 4 states > > > jdbc/primaryDB > jdbc/PrimaryDBInTheContainer > > I have already tried it, and it doesn't work. > > In my opinion is useless under tomcat, > > or better said, it has only informative value, at lea

Re: Tomcat access log reveals hack attempt: "HEAD /manager/html HTTP/1.0" 404

2013-04-17 Thread Konstantin Kolinko
Usually I would prefer to answer faster to to be ready to serve the next request from a valid user. 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.0.28 documentation

2013-04-16 Thread Konstantin Kolinko
orical purposes?), you could pull down the original >> from: >> >> http://archive.apache.org/dist/tomcat/ >> >> As Ognjen has pointed out, the likelihood of mailing list support for that >> version is pretty slim. >> 2. Dow

Re: Tomcat 7.0.39: Blank pages - cookies containing umplaut causing the request processing beeing stopped

2013-04-13 Thread Konstantin Kolinko
ble to process it in your application anyway. In Tomcat 8 it is possible to preserve the header, but it is turned off by default (PRESERVE_COOKIE_HEADER system property). 3. What bother me is why this error is logged at severe level. 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.39 randoms start and crash

2013-04-12 Thread Konstantin Kolinko
roken. See the following for a discussion: https://issues.apache.org/bugzilla/show_bug.cgi?id=53871 Your message says: [org.bouncycastle.asn1.ASN1EncodableVector ->org.bouncycastle.asn1.DEREncodableVector ->org.bouncycastle.asn1.ASN1EncodableVector] A

Re: Tomcat access log reveals hack attempt: "HEAD /manager/html HTTP/1.0" 404

2013-04-11 Thread Konstantin Kolinko
xt.xml file, even if you run with a SecurityManager. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Inno Setup Script?

2013-04-11 Thread Konstantin Kolinko
2013/4/10 James Green : > On 10 April 2013 12:47, Konstantin Kolinko wrote: >>> >> C:\Program Files\Our Local Services\tomcat\bin\tomcat7. >> exe //IS//Tomcat7 >> --DisplayName="Apache Tomcat 7" --JavaHome="C:\Program Files\Our Local >> Serv

Re: Inno Setup Script?

2013-04-10 Thread Konstantin Kolinko
2013/4/10 James Green : > On 10 April 2013 11:55, Konstantin Kolinko wrote: > >> 2013/4/10 James Green : >> > I was hoping I could avoid that. >> > >> >(...) >> > >> > While this installs a service, as soon as I attempt to start it I ge

Re: Inno Setup Script?

2013-04-10 Thread Konstantin Kolinko
2013/4/10 James Green : > I was hoping I could avoid that. > >(...) > > While this installs a service, as soon as I attempt to start it I get a > failure. Nothing is logged by Tomcat, but in the event service I get the > following recorded: > > The Apache Tomcat 7 service terminated with service-sp

Re: Tomcat form auth not using filters

2013-04-08 Thread Konstantin Kolinko
wardToLoginPage" is implemented. If you want a Filter to be called during javax.servlet.RequestDispatcher.forward(), it has to be mapped with FORWARD for URL "/controleAcesso/Login.xhtml". See the Servlet specification ch. 6.2.5 for more details on filter mapping. Best regards, Konstan

Re: Tomcat form auth not using filters

2013-04-08 Thread Konstantin Kolinko
tacktrace (full stacktrace is written to the logs). It is easy to see whether your filter is 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: Inno Setup Script?

2013-04-08 Thread Konstantin Kolinko
custom value for HTTP port, do not forget to also change the shutdown port number (8005). I have seen a number of software that forgets to change that. You can set it to "-1" when external shutdown is not needed, e.g. when you run as

Re: Tomcat7 - ajax and connection pool : "connection closed" despite the use of "validationQuery" and "testOnBorrow"

2013-04-05 Thread Konstantin Kolinko
2013/4/5 Jean-Claude Haw-King-Chon : > Le 05/04/2013 13:09, Konstantin Kolinko a écrit : >> >> 2013/4/5 Jean-Claude Haw-King-Chon : >>> >>> Hi, >>> >>> I use the connection pool of tomcat7 and set a connection in a >>> ThreadLoca

Re: Tomcat7 - ajax and connection pool : "connection closed" despite the use of "validationQuery" and "testOnBorrow"

2013-04-05 Thread Konstantin Kolinko
ests" > > But, I'm sure, I always close the connection only once. > I use too the "validationQuery" and "testOnBorrow" parameters. > > Is it possible that the connection pool returns the same connection for 2 > different threads? > You can check its hash

Re: ecj 4.2.2

2013-04-02 Thread Konstantin Kolinko
only a few hours later it got approved. > Ecj 4.2.2 is now already in the maven central repository and ready for use. > https://issues.sonatype.org/browse/OSSRH-5787?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel > Thank you very m

Re: Trouble loading MS SQl Server database driver in Tomcat 7.0.37

2013-04-01 Thread Konstantin Kolinko
p://tomcat.apache.org/tomcat-7.0-doc/config/context.html#Resource_Definitions but the attribute in question belongs to the actual resource configured by that element: to the DBCP connection pool, http://commons.apache.org/proper/commons-dbcp/configuration.html ) Best regards, 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 and Windpws authentication

2013-04-01 Thread Konstantin Kolinko
D and use its authentication (and forward this question to their mailing list). 6. Success stories etc, are welcome. If anyone wants to amend the documentation, you may submit a) comments via comments system in Tomcat 7 documentati

Re: Populating JNDI entirely in Java code

2013-04-01 Thread Konstantin Kolinko
g The place to look into is org.apache.catalina.core.NamingContextListener That is the component that translates configuration objects created when parsing context.xml into JNDI objects. 3. See thread "Register static JNDI env entry dynamically" from 2 weeks a

Re: Tomcat Valve Custom args

2013-04-01 Thread Konstantin Kolinko
n (Context) and even to what servlet (Wrapper) it goes to. This happens rather early - in CoyoteAdapter. It happens before the request is passed to Pipeline (chain of valves). org.apache.catalina.connector.Request#getContext() 2. If valve was decla

Re: HttpServletResponse return plain text

2013-03-27 Thread Konstantin Kolinko
2013/3/28 Kevin Jenkins : > I know this isn't the right mailing list but there's a lot > of knowledgeable people here so I'd give it a shot. > > When I was hosting on Google App Engine the java servlet > HttpServletResponse.sendError would return the 2nd parameter text in plain > text. > > Now that

Re: Apache Tomcat 7.0.035 and IPv6 environment

2013-03-27 Thread Konstantin Kolinko
2013/3/28 Geett Chanddra Singha : > Hi All, > > I have a web application hosted on Apache Tomcat Version 7.0.035. > We are trying to make the web application run IPv6 environment. > > Environment Details > Windows 2008 server machine, 64-bit OS > Java version: JRE 1.7.x > > The home page of web app

Re: Adding Content-Length response header

2013-03-26 Thread Konstantin Kolinko
rt sending data (usually using chunked encoding) and thus content length is not known at the time when response headers are being sent. What generates your response? A servlet, a filter, or a JSP? Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Encoding Problem

2013-03-26 Thread Konstantin Kolinko
here. If anything calls >> getParameter() before you filter, parameter decoding happens and you >> are busted). >> >> 2. What kind of request fails, POST or GET or both? >> >> 3. Have you read the character encodings page of Tomcat FAQ? >> 1. Do not top-p

Re: Encoding Problem

2013-03-26 Thread Konstantin Kolinko
2013/3/26 Cool Techi : > > We are working with multiple languages and Korean being one > of them, in our application we have set up encoding both at tomcat level > and also spring filter for encoding, but for some reason when we do a > request.getParameter in our Struts2 action class we re

Re: Can ClientAbortException be circumvented?

2013-03-24 Thread Konstantin Kolinko
2013/3/25 Thad Humphries : > I have a web-app that uses a servlet for downloading files from a > repository--PDF, Office, images, zip, etc. It works with desktop > browsers--IE, Firefox, Chrome, and Safari--on their various platforms. It > also works fine with Firefox from Android (2.3 and 4.x test

Re: Apache Tomcat 7.0.037 starting issue on Windows 2003 Server 64 bit machine

2013-03-21 Thread Konstantin Kolinko
2013/3/21 Geett Chanddra Singha : > Hi, > > I am trying to register and start Apache Tomcat 7.0.37 service on my > Windows 2003 Server 64 bit machine. > > I am able to register Tomcat as a service using the service.bat file, but > when I try to start the service it gives the following error: > > Co

Re: 501 error not going to location

2013-03-20 Thread Konstantin Kolinko
? 4. 501 is "invalid method". I wonder whether it tries to serve the error page itself using the same "wrong" method. E.g. the DefaultServlet processes only valid methods (GET, POST, HEAD, ...). Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: mail/Session resources lookup fail

2013-03-17 Thread Konstantin Kolinko
in your WAR? How do you deploy your application to other server? 4. If you are able to debug it, a place to place a breakpoint is org.apache.naming.factory.MailSessionFactory class https://wiki.apache.org/tomcat/FAQ/Developing#Debugging Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Register static JNDI env entry dynamically

2013-03-16 Thread Konstantin Kolinko
2013/3/16 Michael-O <1983-01...@gmx.net>: > Am 2013-03-16 10:46, schrieb Konstantin Kolinko: > >> 2013/3/16 Michael-O <1983-01...@gmx.net>: >>> >>> Hi, >>> >>> I'd like to make a string available as an env entry via JNDI. The string

Re: Register static JNDI env entry dynamically

2013-03-16 Thread Konstantin Kolinko
r though whether JNDI is modifiable or read-only at that point in time. If it works for you, then it is has to be modifiable. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: ThreadLocal variables and BIO/NIO/APR

2013-03-15 Thread Konstantin Kolinko
2013/3/16 Nick Williams : > I know, I know. "Don't use ThreadLocals." I've seen it on this list at least > 100 times. But avoiding ThreadLocal variables can be hard: > > 1) Spring Framework uses ThreadLocals for things like the RequestContext. You > can't just turn that off. > 2) Spring Security

Re: NullPointerException in MapperListener; Tomcat#start() does not create a Container?

2013-03-14 Thread Konstantin Kolinko
connector.MapperListener.startInternal(MapperListener.java:104) >>at >> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) >>... 8 more >> >> X: null > > I resolved the NullPoint

Re: Procrun and Tomcat service/OS shutdown on Windows

2013-03-14 Thread Konstantin Kolinko
StatusServlet.init() > Entering StatusServlet.destroy() > Simulating long shutdown sequence. > Simulation complete--sequence finished. > Exiting StatusServlet.destroy() > > Can we guarantee that Windows won't just kill our Tomcat process and > potentially corrupt our database?

Re: Can Tomcat 8 snapshots be published to Maven?

2013-03-13 Thread Konstantin Kolinko
2013/3/14 Nick Williams : > > On Mar 13, 2013, at 7:44 PM, Mark Thomas wrote: > (...) >> >> https://repository.apache.org/content/repositories/snapshots/org/apache/tomcat/ >> >> Mark > > Sweet! Thanks! So will I need to add https://repository.apache.org/ as a > custom repository in my POM, or will

Re: Tomcat as a service: system tray?

2013-03-12 Thread Konstantin Kolinko
don't know where to report irrelevant typos in the > documentation, but > http://tomcat.apache.org/tomcat-7.0-doc/windows-service-howto.html says > "system try".) Online Tomcat 7 documentation is integrated with comments.apache.org If you scroll to the bottom of tha

Re: java.util.logging.SimpleFormatter vs org.apache.juli.OneLineFormatter

2013-03-09 Thread Konstantin Kolinko
ation, and if the call depth is wrong (N is wrong) or if there is no stacktrace (due to optimizations by JIT compiler) you will not get the names. IIRC, in some server JVMs if you throw the same exception X times it no longer prints it

Re: Problem in using multiple clusters in Tomcat 6.0.35

2013-03-07 Thread Konstantin Kolinko
2013/3/7 Jay Kakkad : > [ version of tomcat : 6.0.35 , os version : RHEL 6.3 , Bit configuration : > 64bit ] > > Hi, > I am having a requirement where I need to have the same Multicast Ip, but the > cluster needs to be differentiated based on domain.For this we are using a > domain interceptor D

Re: tomcat 7.0.37 and openjdk 1.7.0.9 on fedora juli FileHandler problems

2013-03-05 Thread Konstantin Kolinko
;configure > openjdk to work with tomcat" issue. > > Does anyone know what configuration changes need to be made to openjdk > to work with tomcat's juli logger? > 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 access my app after Tomcat 7.0.28

2013-03-05 Thread Konstantin Kolinko
st mentioned in the localhost_access_log.DATE.txt file? Is your Tomcat on C: drive? Sometimes file permissions there are off. http://wiki.apache.org/tomcat/FAQ/Windows Best regards, Konstantin Kolinko - To unsubscribe, e-mail: use

Re: Tomcat 7.0.34 not respecting PropertyEditorManager (may be offtopic)?

2013-03-05 Thread Konstantin Kolinko
of your own webapp if it is running at the same time). E.g. Spring Framework uses its own registry, see http://static.springsource.org/spring/docs/3.2.x/javadoc-api/org/springframework/beans/PropertyEditorRegistrySupport.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: How to allow only TLS 1.1 connections to Tomcat (6.0) server with https ?

2013-03-05 Thread Konstantin Kolinko
(I have not tried, just an idea). 3. Beware of issue 54406. https://issues.apache.org/bugzilla/show_bug.cgi?id=54406 Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For

Re: Cannot access my app after Tomcat 7.0.28

2013-03-05 Thread Konstantin Kolinko
uest, or browser plugins such as Firebug to look response headers). 6. You may try debugging, with a breakpoint inside "sendRedirect()" method of servlet API. http://wiki.apache.org/tomcat/FAQ/Developing#Debugging Best regards, Konstantin Kolinko ---

Re: Context.xml ignored.

2013-03-03 Thread Konstantin Kolinko
2013/3/3 James Green : > We have a war archive that includes a netbeans-generated context.xml for > tomcat deployment. > > If we drop this war into webapps, the context root remains that of the war > filename. As expected, in any of 7.0., 6.0 and even 5.5 . Have you read the docs (Context chapte

Re: Problem with log level in tomcat.

2013-02-28 Thread Konstantin Kolinko
properly configured, "org.apache.catalina.core.ContainerBase.[Catalina].[localhost]" uses "2localhostFileHandler". 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.22 - allowTrace="false" not working

2013-02-23 Thread Konstantin Kolinko
2013/2/22 Nick Williams : > >> On Feb 22, 2013, at 7:49 AM, Konstantin Kolinko wrote: >> >> One example of false positive is that if you send an OPTIONS request >> to almost any servlet, the "Allow" header in its response by default >> will

Re: tomcat 7.0.22 - allowTrace="false" not working

2013-02-22 Thread Konstantin Kolinko
header in its response by default will include the TRACE method (as implemented in javax.servlet.http.HttpServlet class). If allowTrace="false" (as it is by default), Tomcat will stop any TRACE request before it reaches the 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: [FWD: Help Debugging 404 errors]

2013-02-12 Thread Konstantin Kolinko
2013/2/13 : > > I posted this on the eclipse forum last Thu and since I have received no > response, I'm cross posting here. > > > I have created a project as guided by > www.objectdb.com/tutorial/jpa/eclipse/spring/run. When I abandon eclipse > and use the maven command line to deploy this Spring

Re: Strange compilation dates for JSPS

2013-02-12 Thread Konstantin Kolinko
2013/2/12 Ray Holme : > While debugging a problem in Tomcat 7.0.35 (just upgraded), I noted OLD files > in the work/Catalina/localhost/APP/org/apache/jsp directory. > > I thought I had cleaned things out to make sure all was rebuilt. So I > manually stopped tomcat; manually cleaned the directory

Re: disable handling of expect:continue

2013-02-12 Thread Konstantin Kolinko
fore StandardContextValve is involved. Doesn't it already works for you? How your authentication is configured? 3) It probably would not work if Tomcat is behind HTTPD, as AJP processors do not have this feature (ActionCode.ACK). &

Re: Getting error while starting tomcat

2013-02-12 Thread Konstantin Kolinko
2013/2/12 : > Hello All, > > Tomcat Server 7.0.35 > Operating System Version : HP-UX 11.31 > JRE_HOME:/opt/java1.5 As mentioned in its RUNNING.txt file, Tomcat 7 requires minimum of Java 1.6. It cannot run on 1.5. http://tomcat.apache.org/whichversion.html > > > We are getting error in

Re: (almost) identical webapps behave differently in serving static content

2013-02-11 Thread Konstantin Kolinko
2013/2/11 Thierens, Bart : > The files are located under $WEBAPP$/styles. Move them into $WEBAPP$/static/styles. > > As I said on StackOverflow: the webapps are identical (except for database > connection and tomcat version). > > My question for you is: what changed between version 6.0.29 and 6.

Re: (almost) identical webapps behave differently in serving static content

2013-02-11 Thread Konstantin Kolinko
pplication? Are they in "static" subdirectory? If they are not, create such directory and move the files there. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org

Re: Tomcat 6.0.36: configure/make of jsvc on Solaris 10

2013-02-08 Thread Konstantin Kolinko
2. Once you are successful in building jsvc and will go on to configuring it, take "bin/daemon.sh" from a recent version of Tomcat 7. That will save you some time. 3. I think "/usr/java" is a wrong choice for JAVA_HOME. Do you have "$JAVA_HOME/bin/java" there?

Re: AJAX Authentification

2013-02-08 Thread Konstantin Kolinko
2013/2/8 Johannes Meyer : > Hi Konstantin, > > thank you for answer. > >> HttpServletRequest.login(..) ? >> (in a Servlet 3.0 application) > > If I call this function, only the current request is authorized, but > not the whole session. > Whether authorization is cached in the session depends on a

Re: ServletException including path '/WEB-INF/layouts/standard.jsp'.

2013-02-08 Thread Konstantin Kolinko
ing afresh may help. Does the webapp come with its own logging configuration? > On Fri, Feb 8, 2013 at 1:07 PM, Konstantin Kolinko > wrote: > >> 2013/2/8 Lou Henry : >> > Hi, >> > >> > I am at a complete loss with this error. I am running Apache Tomcat/ >

Re: ServletException including path '/WEB-INF/layouts/standard.jsp'.

2013-02-08 Thread Konstantin Kolinko
Does the above file exist and is readable (in the exploded war)? 3. The server logs may contain a more detailed message than this Error 500 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: BUILD FAILED: Cause: the class org.apache.tools.ant.taskdefs.optional.junit.JUnitTask was not found ...

2013-02-08 Thread Konstantin Kolinko
-rw-r--r-- 1 knoppix knoppix 18549 Oct 8 20:11 ant-junit.jar > -rw-r--r-- 1 knoppix knoppix 253160 Feb 8 12:24 junit-4.10.jar > > 2. Ant documentation is at http://ant.apache.org/manual/ Maybe try to download a fres

Re: AJAX Authentification

2013-02-08 Thread Konstantin Kolinko
2013/2/8 Johannes Meyer : > Hello all, > > I'm developing a web application with asynchronous techniques (ExtJS). > > The most pages are secured with a "security-constraint", so the user > has to log in at first. > > > The users gets prompted a login dialog and can type in his username > and passwo

Re: CSRF and nonce Config ???

2013-02-07 Thread Konstantin Kolinko
2013/2/7 Christopher Schultz : > Konstantin, > > On 2/7/13 5:19 AM, Konstantin Kolinko wrote: >> Any other web application that wants to use this feature has to >> configure this filter explicitly and must pass all important URLs >> through HttpServletResponse.encode

<    3   4   5   6   7   8   9   10   11   12   >