Re: multiple tomcat on same server ajp stops working

2012-06-27 Thread Konstantin Kolinko
2012/6/27 Pierluigi Santin Fintel : > I have a situation where i have several tomcats installed on the same server > (windows) Each tomcat has its own ports the first listens to 8080 ajp 8009 > the second listens to 8081 ajp 8010 > > I have this problem running 7 tomcats from port 8080 to 8086 wo

Re: tomcat security authenticator

2012-06-28 Thread Konstantin Kolinko
Why not a Realm? 2) An Authenticator is a Valve and is configured like any other valve. If one is present, Tomcat will not configure its own. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apac

Re: STDOUT log growing very huge. [I]

2012-06-28 Thread Konstantin Kolinko
t; I could remove the STDOUT.log by removing the PR_STDOUT property from the > registry > but I don want to do this. It is unlikely that it will help. > Could you provide a solution for this. > > The tomcat version that is being used  is Apach

Re: 7.0.4 Parallel deployment, war name invalid

2012-06-28 Thread Konstantin Kolinko
ame [xapp##001.war] is invalid. The archive will be > ignored. > > any idea? 7.0.4 ? It is expected. Parallel deployment premiered in 7.0.5, and first "stable" version of Tomcat 7 was 7.0.6. Install the current version 7.0.28,

Re: Re : Re: Issue with keep-alive connections, when using APR Connector on Windows and starting Processes from Servlets

2012-06-29 Thread Konstantin Kolinko
you are launching. E.g. create a *.bat file and use "start" command to launch other process from it. Something like this: cmd.exe /C start wordpad.exe Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Tomcat 7 and JIoEndpoint as used in ssl

2012-07-05 Thread Konstantin Kolinko
er socket", on which Tomcat connector listens. 2. is responsible for socket management regardless of protocol (HTTP, AJP), especially the "server socket" management. 3. naturally serves as the storage for certain set of configurations options (the ones that are protoco

Re: Tomcat 7 and JIoEndpoint as used in ssl

2012-07-05 Thread Konstantin Kolinko
you do not need it. There are 2 implementations of ServerSocketFactory in Tomcat: DefaultServerSocketFactory, JSSESocketFactory. The first one ignores the endpoint. The second one uses it to get some options. Best regards, Konstantin Kolinko --

Re: : setting tomcat in iis

2012-07-05 Thread Konstantin Kolinko
2012/7/5 Ricardo Simões : > Thanks, I've done a previous search but couldn't find what I was looking. > You can limit your search by adding "site:tomcat.apache.org" See tomcat.apache.org -> Documentation -> Tomcat Connectors -> IIS. ---

Re: How to support IPv6 on Apache Tomcat Version 7.0.22

2012-07-06 Thread Konstantin Kolinko
hoose other connector implementation - see "protocol" attribute on element in Configuration Reference. c) uninstall Tomcat-Native library or disable AprLifecycleListener in your configuration. In this case Tomcat will autoselect the BIO connector implementations for both protocols.

Re: Tomcat building problems: Apache Tomcat 5.5 Servelet/JSP container

2012-07-06 Thread Konstantin Kolinko
also BUILDING.txt in the source distributive or in svn repository. It is more authoritative than building.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: Possible issue with Tomcat 7.0.27 SSL keystore configuration

2012-07-06 Thread Konstantin Kolinko
le with the provided password. The call to kmf.init(..) cannot be avoided, as the key manager factory is unusable without it. Maybe it is possible to find more clever implementation of KeyManagerFactory somewhere that does not read the keys that it does not need. Or a different implementation of KeyStore, that serves as a proxy and hides unneeded keys in KeyStore#aliases() enumeration. Anyway, the easiest workaround at this point is to use 3 different keystores each containing a single key. The path to keystore is configurable, as you may note. 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 building problems: Apache Tomcat 5.5 Servelet/JSP container

2012-07-06 Thread Konstantin Kolinko
2012/7/6 Christopher Schultz : > > On 7/6/12 12:54 PM, Konstantin Kolinko wrote: >> 2012/7/6 Wei, Mingzhen : >>> I was trying to build Apache Tomcat 5.5 Servelet for another >>> application. I followed the steps from the link: >>> http://tomcat.apache.o

Re: NullPointerException/java.util.logging.ErrorManager: 5 when have

2012-07-08 Thread Konstantin Kolinko
; guessing it may be a timing type issue, as in my servlet's init() method, I > initialize the Oracle stuff. My initialization call returns, but it may be > that there's still something going on behind-the-scenes that's not quite done. > 1. Using a load-on-startup servlet to initialize something is a bad approach. The recommended one is to use a ServletContextListener. 2. You should cleanup resources after yourself. You should not rely on finalizer to clean up your resources. Finalizer might not have access to classes or resources of your webapplications, because of different thread-context classloader (TCCL), or if the cleanup happens when the application has already been stopped. In this case it looks like the former. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: log4j to write Tomcat logs to Windows Event Log

2012-07-08 Thread Konstantin Kolinko
2012/7/7 Dunbar, Kevin D CIV SPAWARSYSCEN-PACIFIC, 56250 : > Hi, > > I am trying to use log4j.jar to do the logging in Tomcat 7.0.27 (on Windows > XP) instead of java.util.logging so that I can append the logs to be output > to the Windows Event Log. > > I followed the instructions to configure T

Re: Tomcat building problems: Apache Tomcat 5.5 Servelet/JSP container

2012-07-10 Thread Konstantin Kolinko
2012/7/10 Wei, Mingzhen : > Konstantin Kolinko, > > Could you tell me the point in more detail? I am new with Tomcat and need it > badly to be able to run another application. > > Do you mean I need to try the combination of ant5.5 download + Ant 1.8.4 and > JDK 1.4.2_19?

Re: Tomcat7 deployment url change - please maintain backwards compatibility

2012-07-13 Thread Konstantin Kolinko
2012/7/13 Tim Pizey : > Hi Mark, > On 13 July 2012 11:37, Mark Thomas wrote: >> On 13/07/2012 11:04, Tim Pizey wrote: >>> Please maintain backwards compatibility by supplying a default of html >>> to the the manager url, >>> you will save a lot of people a lot of pointless work. >> >> The change wa

Re: Tomcat7 deployment url change - please maintain backwards compatibility

2012-07-13 Thread Konstantin Kolinko
2012/7/13 Tim Pizey : > On 13 July 2012 14:05, Christopher Schultz wrote: >> Tim, >> >> On 7/13/12 8:11 AM, Tim Pizey wrote: >>> In the hope of helping future users: the migration guide is here: >>> http://tomcat.apache.org/migration-7.html >> >> Hopefully, users will find that guide more easily fr

Re: Embedded Tomcat 6 & 7 logging to file

2012-07-15 Thread Konstantin Kolinko
console. If none were configured, nothing were printed there. See java.util.logging documentation in JDK. Essentially its bootstrap is controlled via certain system properties when your java application (the one that embeds Tomcat) starts. > Could somebody clarify this > for me. It

Re: tomcat session id

2012-07-15 Thread Konstantin Kolinko
n cannot not be associated with your request and a new session will be created if a session is needed. (When that happens, a "Set-Cookie" header will be included in the HTTP response). Best regards, Konstantin Kolinko --

Re: can I disable tomat 7 web-socket?

2012-07-17 Thread Konstantin Kolinko
2012/7/17 Abduxkur Ablimit : > By disable tomcat comet, I dont want tomcat create thread for web-socket, > how do I do that? There is no such thing as "thread for web-socket". - To unsubscribe, e-mail: users-unsubscr...@tomcat.a

Re: Run TomEE as a daemon

2012-07-23 Thread Konstantin Kolinko
2012/7/23 Miguel Bandala : > Hi, I'm trying to run TomEE as a daemon on Debian Squeeze, I've been trying > lots of times and havent success. > Does anyone knows how to do this procedure step by step. > I've follow this tutorial: > http://openejb.apache.org/unix-daemon.html > > but at the end, i got

Re: Run TomEE as a daemon

2012-07-23 Thread Konstantin Kolinko
2012/7/24 Christopher Schultz : > > On 7/23/12 2:44 PM, Konstantin Kolinko wrote: >> 2012/7/23 Miguel Bandala : >>> Hi, I'm trying to run TomEE as a daemon on Debian Squeeze, I've >>> been trying lots of times and havent success. Does anyone knows >>

Re: Check if a file exists before passing to a servlet in TC7

2012-07-27 Thread Konstantin Kolinko
> I'm just using the built-in Coyote Web server on both TC6 and TC7, so no > external web server should be complicating things. > > Any direction on this would be greatly appreciated. > See "resourceOnlyServlets" attribute on . I thi

Re: Pointing tomcat to a different timezone

2012-07-29 Thread Konstantin Kolinko
hat it is "still in UTC", what data are you looking at? Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Pointing tomcat to a different timezone

2012-07-29 Thread Konstantin Kolinko
DT 2012 > > We are using " apache-tomcat-6.0.33 " I didnot do anything special but, > untar and ./startup.sh from bin folder. > > Can you please guide me based on this info? > > thanks, > Krishna Chaitanya > > > On Sun, Jul 29, 2012 at 5:25 PM, Konstantin Ko

Re: PDF Download problem tomcat >= 7.0.27

2012-07-30 Thread Konstantin Kolinko
sting the document when you agree to "reload" (I mean what is mentioned in that error message)? Is there difference in access logs entries between 7.0.29 and 7.0.26? 4. To what security zone (in IE) your web site belongs? Is it internet or local network? Best regards, Konstantin Koli

Re: PDF Download problem tomcat >= 7.0.27

2012-07-30 Thread Konstantin Kolinko
gt; Obviously use a recent jvm, I use latest version of 1.6 (.33) > Start the tomcat (sh catalins.sh run or what you prefer) > Point the browser to the url. > Every time you want to retry, just empty the browser's cache and kill the > explorer process. > Tomcat >= 7.0.27 the

Re: PDF Download problem tomcat >= 7.0.27

2012-07-31 Thread Konstantin Kolinko
TTPD? Was there some option in it that disables chunked encoding when interacting with IE? I tried to reproduce this request locally with a telnet client, and when I have local A/V software turned on, it interferes and re-chunks the response into larger chunks. If I turn the A/V off, I see Tomcat 7.0.29

Re: PDF Download problem tomcat >= 7.0.27

2012-07-31 Thread Konstantin Kolinko
size 0. It is a feature of HTTP/1.1 protocol. If something sends "Content-Length: 1319458" response header, it must calculate the size of data, and it can be only done by caching the whole of response sent by Tomcat. The response headers will not be sent before the whole data

Re: Issue with sudo + init script

2012-08-01 Thread Konstantin Kolinko
ess - it has nothing to do with Tomcat itself), or it terminates when its parent process terminates due to HUP signal. To exclude the former, try replace your command with "catalina.sh run -security", so that Tomcat starts interactively in the same shell. To exclude the later, maybe you sh

Re: ClassCastException org.apache.jasper.runtime.ELContextImpl cannot be cast to org.apache.jasper.el.ELContextImpl

2012-08-03 Thread Konstantin Kolinko
raries there conflict with same libraries provided by Tomcat). There is no such class as "org.apache.jasper.runtime.ELContextImpl", so whereever it comes from is the source of the problem. You may search your jar files for the filename "org/apache/jasper/runtime/ELContextImpl.cla

Re: Application name

2012-08-05 Thread Konstantin Kolinko
2012/8/6 Marco de Booij : > Hello, > > I have tried to find the answer but I could not find a (to me) clear answer. > > I build my applications with Maven and as a result my war file is like > myapp-web-1.2.3.war. The static content is delivered by the Apache Web > Server so I use this server to ac

Re: Problem with tomcat 7 and java ld_library_path under centos 6 using IANYWHERE JDBC DRIVER

2012-08-08 Thread Konstantin Kolinko
2012/8/8 David kerber : > I use SQLA12, though on windows rather than Linux, and I think you have the > wrong value for your driver clause. I think you need > "ianywhere.ml.jdbcodbc.IDriver", rather than the file name. > > The driver file should usually be in your WEB-INF/lib directory. > > I'd al

Re: Tomcat 7.0.x, Windows 7 x64 professional - question

2012-08-08 Thread Konstantin Kolinko
2012/8/7 Ken Alverson : > We are trying to get our application Microsoft certified. There are several > test cases that involve adding digital signatures, required manifest entries, > etc. that do not currently exist for Tomcat exe's. I am just wondering if > anyone else has run into trouble g

Re: Tomcat Security Permission Issue

2012-08-08 Thread Konstantin Kolinko
sion java.io.FilePermission > "/var/lib/tomcat6/webapps/ROOT/WEB-INF/-", "read"; >permission java.lang.RuntimePermission "getenv.*"; >permission java.lang.reflect.ReflectPermission "suppressAccessChecks"; >permission java.lang.Runtime

Re: Default encoding in tomcat 5.5.29

2012-08-09 Thread Konstantin Kolinko
er on them (that is what javaEncoding option in "jasper-howto.html" is about), but it is an internal detail that is not visible from the outside. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr.

Re: ClassCastException org.apache.jasper.runtime.ELContextImpl cannot be cast to org.apache.jasper.el.ELContextImpl

2012-08-09 Thread Konstantin Kolinko
is possible to set delegate="true" on a element to change Tomcat classloading behaviour. 3. Regarding protection against "other vendor" using Jasper package classes, The "package.access" setting in catalina.properties does include the "org.apache.jasper."

Re: Session Close Problem

2012-08-13 Thread Konstantin Kolinko
3. The manager application is protected by a password. The password is remembered by your web browser and is not forgotten unless you close all browser windows. That is a feature of the BASIC authentication protocol and has no relation to session management in T

Re: tomcat and DB oracle problem - only in higher versions

2012-08-17 Thread Konstantin Kolinko
ler.html#setNativeJdbcExtractor%28org.springframework.jdbc.support.nativejdbc.NativeJdbcExtractor%29 There exists "CommonsDbcpNativeJdbcExtractor" class. Maybe it will work for you. If not, you may try debugging Tomcat (see "Developing" chapter in the Tomc

Re: Problem with uploading large files

2012-08-17 Thread Konstantin Kolinko
ion of it. https://bugzilla.mozilla.org/show_bug.cgi?id=215450 3. Some browsers looked as if they were trying to create the request in memory, which is quite troublesome for such big files. Best regards, Konstantin Kolinko - To unsub

Re: hostConfigClass attribute

2012-08-17 Thread Konstantin Kolinko
g) It sounds like a hack. It is better to create the correct class instance when it is created. Your approach will break if the default HostConfig object were somehow configured before it is passed to addLifecycleListener(). It will also break if another

Re: Problem with uploading large files

2012-08-17 Thread Konstantin Kolinko
2012/8/17 Sahana Voleti : > Konstantin Kolinko, > You mentioned the following in your mail: > "You can add the following: "%{content-length}i" to your Access Log > Valve configuration to log the Content-Length header of the incoming > request." > Can you elabo

Re: org.apache.catalina.LifecycleException: Failed to start component [StandardServer[8043]]

2012-08-17 Thread Konstantin Kolinko
oblem. The above is not from standard Tomcat distribution. What are those "private instances" and what the above mentioned script does, I do not know. 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.29 vs. Groovy with Java 7

2012-08-17 Thread Konstantin Kolinko
Also, if I understand the feature described by BZ 53619, one should also add an empty to web.xml. https://issues.apache.org/bugzilla/show_bug.cgi?id=53619 Best regards, Konstantin Kolinko - To unsubscribe, e-mail:

Re: help using JspC from the command line in 7

2012-08-17 Thread Konstantin Kolinko
2012/8/18 Aryeh Friedman : > -- Forwarded message -- > From: Aryeh Friedman > Date: Fri, Aug 17, 2012 at 5:33 PM > Subject: help using JspC from the command line in 7 > To: tomcat-u...@tomcat.apache.org > > > I have figured out most of how to compile JSP from the command line > but

Re: Tomcat 7.0.29 vs. Groovy with Java 7

2012-08-17 Thread Konstantin Kolinko
apache.org/bugzilla/show_bug.cgi?id=53735 Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Null pointer when calling getRemoteAddr in exception handling

2012-08-20 Thread Konstantin Kolinko
hread responding to the request). If it is none of the above, then yes - that would be a bug, but you have to provide a recipe (e.g. a simple web application) on how to reproduce 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: redirecting people to maintenance mode

2012-08-20 Thread Konstantin Kolinko
possible), but an easier solution might be to just add a different Connector with different port number (and maybe with address="127.0.0.1" if you are connecting locally) that you would use for administering. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: difficulty in running acegisample.war file in tomcat

2012-08-20 Thread Konstantin Kolinko
.war", there are errors that say that a lot of required classes are not found. Those should be some libraries in the WEB-INF/lib directory of your WAR, but all they are missing. > Pl note that I am able to run other war files. > > Could anyone please tell what

Re: Configure logs without date in the file name

2012-08-20 Thread Konstantin Kolinko
e.html#Access_Log_Valve] Regarding org.apache.juli.FileHandler: == itsname.rotatable=false [http://tomcat.apache.org/tomcat-7.0-doc/api/org/apache/juli/FileHandler.html] or use java.util.logging.FileHandler instead. Best regards, Konstantin Kolinko ---

Re: Problem with uploading large files

2012-08-20 Thread Konstantin Kolinko
2012/8/20 Sahana Voleti : > Also in my localhost logs in tomcat 7.0.29. It is logging like this: > 192.168.2.67 - - [20/Aug/2012:13:32:20 +0530] "(¬û>Ñ¿¿?? «ÊR˱{fÔb²¹? æè > 5í?&º Ù³,µj\­< ´?? }b y* Ý?ÀB5ÅÖ8añ¹¶i? ùÇ Z;?ÐÀû#pÌ8 >>ûæ ý5Å *1éIEWç?[?Y°U?ïs,5tÕù )?WÆ?iU¼??/µ£kîUð$?+º&05­ > | 7Î ¾ÒL«W

Re: Problem with uploading large files

2012-08-20 Thread Konstantin Kolinko
2012/8/20 Sahana Voleti : > Konstantin Kolinko, > U mentioned these steps in your mail: > 1. Read documentation for AccessLogValve. > 2. Use a text editor to edit server.xml file (for the global access > log) or the META-INF/context.xml file of your web application (for > your w

Re: Problem with uploading large files

2012-08-20 Thread Konstantin Kolinko
; wrote: > >> Is there any size limitations fr this apache commons upload? Also is there >> any standalone application I can use? >> I think there is some problem in parsing because of which I am getting >> multipart/formdata request failed. >> >> >>

Re: %{xxx}t not working

2012-08-20 Thread Konstantin Kolinko
2012/8/20 John Byrne : > > >> I was wondering if you could help me with a server.xml log question. I'm >> trying to format the times that go into the logs but not having any success. >> The output always ends up as : ???. I've read that any time format >> accepted by Java's SimpleDateFormat w

Re: Tomcat asyncTimeout and APR connector on Windows

2012-08-21 Thread Konstantin Kolinko
2012/8/21 Nikos Viorres : > Hi all, > > The value that i set to Tomcat's asyncTimeout connector property is > ignored when using the APR connector on Windows no matter what > (default 10 seconds is used instead). That value is always respected > when using the default Http11Protocol connector or th

Re: %{xxx}t not working

2012-08-21 Thread Konstantin Kolinko
yrne > > > John Byrne > System Administrator, IS&T > john_by...@apple.com > > > > > On Aug 20, 2012, at 12:43 PM, Konstantin Kolinko wrote: > >> 2012/8/20 John Byrne : >>> >>> >>>> I was wondering if you could help me with a

Re: Problem with uploading large files

2012-08-22 Thread Konstantin Kolinko
rks? What protocol is? What is sent over the wire? Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Issue with Tomcat7.0.29 no Logs

2012-08-24 Thread Konstantin Kolinko
my webapp. What happens? Do you redirect stdout/stderr somewhere? (The catalina.sh script redirects it to catalina.out file by default). Some messages might be there. Do you have access log (AccessLogValve) configured? Best regards, Konstantin Kolinko ---

Re: Tomcat 5.5 context.xml question.

2012-08-24 Thread Konstantin Kolinko
te of ), every subdirectory and every war file in the $CATALINA_HOME/webapps/ is a web application. So "billing-1.0.4" is a web application and WebEMR.war is just a static resource in it, that you can download via http://localhost:8080/billing-1.0.4/WebEMR.war If you

Re: Tomcat 5.5 context.xml question.

2012-08-24 Thread Konstantin Kolinko
omcat-5.5-doc/config/context.html#Introduction > for why this works. (Search for #) > According to changelog, support for '#' was backported to 5.5 in 5.5.27. (Mentioned as 44021, 43013 in the changelog). So for 5.5.23 Mark's advise would not work, but it will work for

Re: getRealPath returns null

2012-08-24 Thread Konstantin Kolinko
e guessing on ACL... can you try whether new File(System.getProperty("catalina.base")).getCanonicalPath() call succeeds? I think that I heard that getCanonicalPath() can fail if some parent directories do not have enough permissions on them

Re: getRealPath returns null

2012-08-25 Thread Konstantin Kolinko
2012/8/25 Mark Eggers : > On 8/24/2012 2:55 PM, Konstantin Kolinko wrote: >> 2012/8/25 Mark Eggers : >>> >>>(...) >>> >>> An application makes use of a PDF library which generates PDFs from JSP >>> pages. One of these pages includes a dynami

Re: problem with filters on Tomcat 7.0.16 and above

2012-08-25 Thread Konstantin Kolinko
1. Is "invitations" a subdirectory in your application? (Is Tomcat looking for a welcome file there?) Or it is served by a servlet, or by a filter? 2. Can you reproduce this with the standard "examples" webapp? 3. Try to dump "merged web.xm

Re: asyncTimeout value ignored when using APR connector on Windows

2012-08-25 Thread Konstantin Kolinko
vlet runs a thread with sleep(850). With the above timeout of 60 seconds it prints 71 or 72 values. With the default timeout it prints 12 values. With 25 seconds it prints 30 values. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Class not Found, but it's in WEB-INF/classes

2012-08-25 Thread Konstantin Kolinko
do I look next? > Run with a debugger? (You need to attach source code to catalina.jar to be able to place a break point in its classes). Tell us the full stacktrace? Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: getRealPath returns null

2012-08-25 Thread Konstantin Kolinko
2012/8/25 Mark Eggers : > On 8/25/2012 5:01 AM, Konstantin Kolinko wrote: >> >> That PDF-generating library - where it sits? Is it on Server? >> > > It sits in the application. It's actually two jar files - one that does the > PDF translation proper and the othe

Re: Class not Found, but it's in WEB-INF/classes

2012-08-25 Thread Konstantin Kolinko
ml' defined in ServletContext resource >> [/WEB-INF/dispatcher-servlet.xml]; nested exception is >> java.lang.ClassNotFoundException: >> org.tabbysplace.catalog.HelloWorldController OK. Looks as usual. Nothing that explains the issue. 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 filters on Tomcat 7.0.16 and above

2012-08-26 Thread Konstantin Kolinko
1 > > > apps > > org.springframework.web.servlet.DispatcherServlet > > contextConfigLocation > /WEB-INF/app-servlet.xml > > 1 > > > pluploadServlet > > info.app.servlet.servlets.upload.PluploadSer

Re: problem with filters on Tomcat 7.0.16 and above

2012-08-26 Thread Konstantin Kolinko
cannot reproduce. Using current 7.0.x (dev), UrlRewriteFilter 4.0.3 and similar configuration with three filters. > and when I click in web browser on link Maybe it was served from browser's cache, so no request was sent to Tomcat? Best regards, Konstantin Kolinko

Re: problem with filters on Tomcat 7.0.16 and above

2012-08-26 Thread Konstantin Kolinko
ble()) {" line, what is the value of the local variable "requestPathMB" ? > request.setWrapper((Wrapper) request.getMappingData().wrapper); Mapping is performed in org.apache.tomcat.util.http.mapper.Mapper#map(..) (there are two public map() methods) Best regards, Konstantin Kolinko --

Re: problem with filters on Tomcat 7.0.16 and above

2012-08-27 Thread Konstantin Kolinko
2012/8/27 Ivan Polak : > On 26 August 2012 23:05, Konstantin Kolinko wrote: >> 2012/8/27 Ivan Polak : >>> I have found, where is the problem. >>> >>> problem is in StandardContextValve.java in >>> >>> @Override >>>

Re: tomcat7-maven-plugin doesn't understand Maven filtering of context files?

2012-08-28 Thread Konstantin Kolinko
rg.springframework.beans.factory.BeanDefinitionStoreException: Invalid bean > definition with name 'dataSource' defined in ServletContext resource > [/WEB-INF/applicationContext.xml]: Could not resolve placeholder > 'db.driverClassName' in string value [${db.driverClassName}] > 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-maven-plugin doesn't understand Maven filtering of context files?

2012-08-28 Thread Konstantin Kolinko
2012/8/28 Knute Snortum : >> > >> > "applicationContext.xml" is my Spring context file. I have >> placeholders in it to point to the correct database based on Maven >> profiles and filtering. So a piece of applicationContext.xml looks like >> this: >> > >> > > class="org.apache.commons.db

Re: ClassCastException org.apache.jasper.runtime.ELContextImpl cannot be cast to org.apache.jasper.el.ELContextImpl

2012-08-28 Thread Konstantin Kolinko
me. Class loading does not always use TCCL. Sometimes it uses "otherclass.getClassLoader()". See e.g. javadoc of java.lang.Class#forName(String). So it is quite valid for it to load a class from app1 even if current TCCL belongs to app2. Best regards, Konstantin Kolinko ---

Re: Running tomcat on windows - getting a threaddump - Unable to open the Event Mutex

2012-08-29 Thread Konstantin Kolinko
2012/8/29 : > > I would like to use the tomcat systray but when I click "threaddump" the > following message appears: > > The specified file cannot be found > "Unable to open the Event Mutex" > > What's wrong ? > https://issues.apache.org/jira

Re: Tomcat and Squid

2012-08-29 Thread Konstantin Kolinko
2012/8/29 Farkas H : > Hi everyone, > > I'm checking caching possibilities. > Setup: Users send requests via http-post with embedded http-get > requests to a Tomcat web server. I don't want to touch this for the > moment. > > Tomcat sends the embedded http-get requests to remote servers, Tomcat by

Re: Windows Path Not Found for urandom

2012-08-29 Thread Konstantin Kolinko
You might try to create a file there (empty? small? unreadable?). Maybe something would start to fail (with EOFException or similar), or will hang waiting for data (and a threaddump will show what it is). Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Virtual Host Alias ignored?

2012-08-29 Thread Konstantin Kolinko
2012/8/29 Jeff Wild : > Tomcat 6 (standalone), several virtual hosts > > > > I have a A record for mydomain.com and a CNAME record for > www.mydomain.com. > > When I enter domain.com in my browser, everything works fine but > www.domain.com results in "Server not found." > > > > 1. Is my configurat

Re: Virtual Host Alias ignored?

2012-08-29 Thread Konstantin Kolinko
2012/8/30 Jeff Wild : > -Original Message- > From: Konstantin Kolinko [mailto:knst.koli...@gmail.com] > Sent: Wednesday, August 29, 2012 11:49 AM > To: Tomcat Users List > Subject: Re: Virtual Host Alias ignored? > > 2012/8/29 Jeff Wild : >> Tomcat 6 (standal

Re: Broken link in docs

2012-08-29 Thread Konstantin Kolinko
2012/7/12 Jeffrey Janner : > http://tomcat.apache.org/native-doc/changelog.html > > Comes up missing. Clinked on from main Native Doc page. > Corrected. Thank you. The live site will catch up in ~an hour. Best regards, Konsta

Re: Starting tomcat with catalina.sh run -security

2012-08-31 Thread Konstantin Kolinko
hould I actually start the tomcat to run the application with > security ? and getting it profiles too ?* The profiler will also be affected by the security manager. You have to add permissions (I do not know which ones) to allow it to work. That is a question about your profiler (what it requires

Java 6u35, 7u07 are available

2012-08-31 Thread Konstantin Kolinko
, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Java 6u35, 7u07 are available

2012-08-31 Thread Konstantin Kolinko
2012/8/31 Konstantin Kolinko : > Hi! > > Just noting that Java 6u35, 7u07 were released by Oracle a day ago > http://www.oracle.com/technetwork/java/javase/downloads/ > > Those contain security fixes for issues exploitable when running Java > from within a web browser. (Those

Re: Atmosphere Chat sample throws exception upon page reload in IE 9

2012-09-04 Thread Konstantin Kolinko
read.java:722) > > (...) > > > Do you have any ideas how to solve this bug? > 3) Looking into bugzilla, there is known issue in 7.0.29 https://issues.apache.org/bugzilla/show_bug.cgi?id=53697 Can you re-test this with 7.0.30? There is download li

Re: Windows Path Not Found for urandom

2012-09-05 Thread Konstantin Kolinko
ant to keep checking in case it disappears or is temporarily > removed - though who in their right mind would do that! > I added this issue to Bugzilla, https://issues.apache.org/bugzilla/show_bug.cgi?id=53830 Best regards, Konstantin Kolinko ---

Re: Tomcat HeapMemoryUsage MBean question

2012-09-07 Thread Konstantin Kolinko
o jmxproxy. It is easy to secure a single page. It is much better than allowing access to the whole jmxproxy. ... Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.or

Re: Tomcat HeapMemoryUsage MBean question

2012-09-07 Thread Konstantin Kolinko
t doesn't > seem like a good plan to have the get and set secured the same way. > With "get" you can view someone's password. With "set" you can change it, or change assigned roles. (with certain Realm implementations). There is not much difference. I think all

Re: Tomcat HeapMemoryUsage MBean question

2012-09-07 Thread Konstantin Kolinko
ocalhost:8080/manager/test.jsp it displays OK - Attribute get 'java.lang:type=Memory' - HeapMemoryUsage - key 'used' = 9081352 By default this new page is not secured, so it does not ask for password. Best regards, Konstantin Kolinko -

Re: Where do I store Images in tomcat structure so that I can retrive it properly in all browsers

2012-09-08 Thread Konstantin Kolinko
:/UploadedImages/Product3Images.c:/UploadedImages/ProductNImages"> Regarding the aliases feature: single path -> multiple file paths: No multiple different non-intersecting paths -> multiple file paths: Yes As far as I remember, an example of using multiple ali

Re: A question about the lifecycle of Tomcat

2012-09-08 Thread Konstantin Kolinko
mcat 6, like we have for Tomcat 7. So it is a bit harder to maintain it. My estimation is like Mark's: two more years. Maybe 2,5. I would not expect more. There should be a discussion on the dev list and an announcement one year before the eol. Best regards, Konstantin Kolinko -

Re: Offline generation of effective web.xml

2012-09-11 Thread Konstantin Kolinko
to run. - It may miss some elements from original web.xml, that are not parsed by Tomcat. Such as s. Several weeks ago I went through the code, correcting some typos in element names and wrong order of elements. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Where do I store Images in tomcat structure so that I can retrive it properly in all browsers

2012-09-11 Thread Konstantin Kolinko
2012/9/12 Kiran Badi : > On 9/8/2012 4:09 PM, Konstantin Kolinko wrote: >> >> Regarding the aliases feature: >> >> single path -> multiple file paths: No >> multiple different non-intersecting paths -> multiple file paths: Yes >> >> As far as

Re: How to get heap dump of Tomcat running as windows service.

2012-09-12 Thread Konstantin Kolinko
w to take heap dump when Tomcat > running as windows service? 1. What is your OS? 2. How much memory the running Tomcat is using? Do you have enough space on your hard drive, and does it have access rights to write there? Maybe you could try configuring the service to run

Re: Problems loading external jar in my app !

2012-09-18 Thread Konstantin Kolinko
he Tomcat distributive has several libraries in it: jstl.jar, standard.jar. 4. http://en.wikipedia.org/wiki/Posting_style#Choosing_the_proper_posting_style Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr..

Re: Problems loading external jar in my app !

2012-09-18 Thread Konstantin Kolinko
n uppercase and "lib" is in lowercase [...] > > I think that it's correct. As you can see i respect the lower and upper cases > ! > 1. The ROOT web application is the wrong place for your files. All web applications are independent. The ROOT application is just one of th

Re: Authenticate requests from localhost using tomcat RemoteAddrFilter

2012-09-23 Thread Konstantin Kolinko
2012/9/23 Martin Gainty : > > Jaikit > > You can ask Catalina to check the IP address, or host name, on every > incoming request directed to the surrounding elements > Engine, > Host, or > Context element. > The remote address or name will be checked against a configured list of > "a

Re: Authenticate requests from localhost using tomcat RemoteAddrFilter

2012-09-23 Thread Konstantin Kolinko
2012/9/23 Jaikit Savla : > Hello Users, > > I have some admin api's which I want to have restricted access - such that > only if the request originates from localhost - it will execute. > For that I am using tomcat's RemoteAddrfilter > > > Remote Address Filter > > org.apache.catalin

Re: Problem with hosting mulitple websites on single tomcat 7

2012-09-24 Thread Konstantin Kolinko
andalone, or behind Apache HTTPD or similar? 3. How are your s configured? 4. Did you restart Tomcat after making your changes? 5. You say it does not work. - How did you test 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: PDF Download problem tomcat >= 7.0.27

2012-09-24 Thread Konstantin Kolinko
gt;> out what to do with >>> the range request. It would not be right to ask users to reconfig >>> their >>> web browser setting for this issue >>> so any kind of workaround would work for me, even if it slows down the >>> performance. >>> >

Re: CsrfPreventionFilter for REST

2012-09-26 Thread Konstantin Kolinko
for it. Is there enough API available to extend the filter in a subclass to cover your specific use case? Note that CSRF protection has some specific task. It would not protect you if an attacker is able to request the "welcome" page and parse it to extract the token. It would not protec

<    7   8   9   10   11   12   13   14   15   16   >