Re: [OT] Basic int/char conversion question

2009-01-01 Thread Konstantin Kolinko
itialization" block byte[] bytes = new byte[256]; for (int i=0; i buf.append((char)ic); with buf.append(TranslationTable.lookup(ic)); Also, I would replace StringBuffer with StringBuilder, if you are running in Java 5 or later, but that is another story. Best

Re: How can the login page see parameters in the original request?

2009-01-01 Thread Konstantin Kolinko
is ofter mentioned on this list and should be easy to adopt, or some others [1] http://securityfilter.sourceforge.net/ Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional co

Re: [OT] Basic int/char conversion question

2009-01-01 Thread Konstantin Kolinko
all to ByteArrayInputStream.reset(). Well, it serves the same purpose as TranslationTable class that I have provided earlier. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Jar wars - Conflicting classes

2009-01-03 Thread Konstantin Kolinko
classloader issues are more observable here than in a standalone application. For reference, [1] http://tomcat.apache.org/tomcat-6.0-doc/class-loader-howto.html Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr

Re: Classpath problem

2009-01-03 Thread Konstantin Kolinko
2009/1/4 : > Hello. I am using Tomcat 6.0.18, my Java version is 1.6.0_11 and I have a > servlet called TestingServlet.java. My classpath reads like this: > > .;C:\Sun\SDK\bin; C:\Sun\SDK\jdk\bin; C:\Tomcat\lib\servlet-api.jar > > I cannot compile in DOS without typing: > > javac -classpath C:

Re: Tomcat throws exception when shutting down

2009-01-04 Thread Konstantin Kolinko
Did it occur just once? Also, specifically concerning this issue: 4. If you have a web server in front of Tomcat, was it running when you attempted the shutdown? 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 throws exception when shutting down

2009-01-04 Thread Konstantin Kolinko
2009/1/5 Pavel Gouchtchine : > On Sun, Jan 4, 2009 at 12:28 PM, Konstantin Kolinko > wrote: >> >> 2009/1/4 Pavel Gouchtchine : >> > Hi All. >> > Please help to resolve the problem. >> > My tomcat was inactive for a while. Tomcat was working fine befo

Re: Tomcat not responding to https

2009-01-08 Thread Konstantin Kolinko
the log files? Some are explained in the "Troubleshooting" section of the guide: http://tomcat.apache.org/tomcat-6.0-doc/ssl-howto.html Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Failed to Deploy

2009-01-09 Thread Konstantin Kolinko
2009/1/9 Zaki Akhmad : > Here's the log I found on /var/log/syslog > > gnu.java.util.jar.JarUtils http://www.google.com/search?q=%22install+a+real+tomcat%22+site%3Awww.nabble.com - To unsubscribe, e-mail: users-unsubscr...@tomc

Re: Memory Leak(?) causing tomcat to store 57610801 tomcat objects in ONE request

2009-01-10 Thread Konstantin Kolinko
embered about the following incident from two months ago, when programming error caused a session to be reestablished many times in a row: http://www.nabble.com/multiple-Set-Cookie-headers-in-initial-http-response-td20437761.html ("multiple Set-Cookie hea

Re: Upgrading Tomcat from 6.0.14 to 6.0.18 - classpath issue

2009-01-19 Thread Konstantin Kolinko
r-howto.html Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Servlet silently dropped

2009-01-19 Thread Konstantin Kolinko
container must drop the servlet instance, and the destroy() method is not called. See the chapter SRV.2.3.2.1 from the servlet spec 2.4. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Resource Mixup when using AJP proxy (strange one)

2009-01-19 Thread Konstantin Kolinko
> If anyone has seen this or has some ideas how to troubleshoot and isolate, > I'd be most grateful. > It reminds me of the thread entitled "Apache/mod_jk serves random files from tomcat" You can read it here: http://marc.info/?t=12157048

Re: enable-access-log-in-tomcat

2009-01-20 Thread Konstantin Kolinko
rbitrary pattern. Use AccessLogValve class for that. Note, as I see AccessLogValve in 5.5 has optimized support for "common" and "combined" patterns, thus maybe the gain from using the FastCommon* one is not that much. In TC 6.

Re: encodeRedirectURL URL rewrite not working

2009-01-21 Thread Konstantin Kolinko
quot;true" in context.xml. Is this a bug in Tomcat or > a problem with my method of redirect? > I do not understand, what are you expecting? Note, that according to the spec you cannot share a session between different web applications. Tha

Re: encodeRedirectURL URL rewrite not working

2009-01-21 Thread Konstantin Kolinko
I do not understand, what are you expecting? >> >> Note, that according to the spec you cannot share a session between >> different web applications. That is, session ID can be the same, but >> the session object is different. >> You should read chapter SRV.7.3 of

Re: Windows Migration 5.5.23 to 6.0.18 - java.lang.ClassNotFoundException: org.apache.catalina.startup.Catalina

2009-01-21 Thread Konstantin Kolinko
0 installation and tune it accordingly. Your specific problem is caused by the differences in catalina.properties files (*.loader paths are different), but most of other configuration files are also different between versions (though simila

Re: UnsatisfiedLinkError in Windows Service (tomcat6w/5w.exe)

2009-01-21 Thread Konstantin Kolinko
though maybe not relevant for this very error, but for reference: http://wiki.apache.org/tomcat/HowTo#head-a4b7185ee95d0cf14a48f92c08d1eb66b561139d Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomc

Re: UnsatisfiedLinkError in Windows Service (tomcat6w/5w.exe)

2009-01-22 Thread Konstantin Kolinko
ads the dll libraries. Thus the behavior that you had to include that folder into the PATH. Win32 API help should provide more information. http://msdn.microsoft.com/en-us/library/ms684175(VS.85).aspx http://msdn.microsoft.com/en-u

Re: Inner class trouble in JSP

2009-01-24 Thread Konstantin Kolinko
instance will be reused for all requests, so there is no much difference between static and instance field here. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Unexpected redirect from https to http

2009-01-27 Thread Konstantin Kolinko
kers.properties configuration # > worker.worker_aat.type=ajp13 > worker.worker_aat.host=localhost > worker.worker_aat.port=8009 > The doc http://tomcat.apache.org/tomcat-5.5-doc/config/ajp.html says that you

Re: enableLookups=true, getRemoteHost returns ip

2009-01-28 Thread Konstantin Kolinko
ugs.sun.com/bugdatabase/view_bug.do?bug_id=4148388 That is, such behavior is there since 1.1.* versions of JRE. Also, http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4670102 proposes a workaround that uses a JNDI call to implement a DNS lookup. Do not know, whet

Re: NoClassDefFoundError: HttpServlet

2009-01-30 Thread Konstantin Kolinko
?), and at what exact moment (at what step?, what you are doing?) the message is displayed? Also, the stacktrace that you cited - is it from the log file? Can you provide a longer stacktrace? I am wondering where that class l

Re: tomcat including files from apache

2009-02-04 Thread Konstantin Kolinko
naming.directory.DirContext http://tomcat.apache.org/tomcat-6.0-doc/config/resources.html 4) the c:import tag of JavaServer Pages™ Standard Tag Library 1.1 allows specifying absolute URLs. I have not used that tag, though. 5) use SSIServlet. http://tomcat.

Re: Fun with the JVM crashing.

2009-02-06 Thread Konstantin Kolinko
it could also be an OS or hardware >> problem. You might want to run some serious memory tests on the box, >> just to eliminate the latter. > Here is a good article/FAQ on Sig 11: http://www.bitwizard.nl/sig11/ Best regards, Konstantin Kolinko -

Re: Tomcat Domain for redirects

2009-02-06 Thread Konstantin Kolinko
Tomcat, but if that does not work, it can be overwritten in element by setting proxyName and proxyPort attributes, http://tomcat.apache.org/tomcat-6.0-doc/config/ajp.html Best regards, Konstantin Kolinko - To unsubscribe, e-mai

Re: syntax question

2009-10-22 Thread Konstantin Kolinko
web-app_2_4.xsd So, that is the question of to what specification your web app adheres (what version and schema are declared in web.xml), and you must be using Tomcat 6.0. Best regards, Konstantin Kolinko - To unsubscribe, e-mail:

Re: JSP Compilation issue after upgrade from 6.0.18 to 6.0.20

2009-10-25 Thread Konstantin Kolinko
er than that, so it's not a JDK > version issue. > Any suggestion would really help me out a lot. > Kind regard > Alex > Bugs fixed after latest 6.0 release are listed here: http://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk/webapps/docs/changelo

Re: Expecting "jsp:param" - Porting resin jsp pages to tomcat, dreamweaver editable sections / comments

2009-10-26 Thread Konstantin Kolinko
ase (the above is fine, but make sure it "works") > 3. attach that test case to the newly-filed bug So I am sure that the above is not a Tomcat bug. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Tomcat5 CLASSPATH Issues

2009-10-26 Thread Konstantin Kolinko
ecause of the "..library is already loaded in another classloader" issue mentioned in the FAQ. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Expecting "jsp:param" - Porting resin jsp pages to tomcat, dreamweaver editable sections / comments

2009-10-27 Thread Konstantin Kolinko
2009/10/27 Pete McNeil : > > IMO allowing for the XML comments _seems_ like a good idea. > 2009/10/26 Christopher Schultz : > On the other hand, shouldn't the JSP compiler pass-through everything > except for directives? HTML is a common enough use case for JSP that > SGML comments ought to be tol

Re: Jre upgrade Issue with Tomcat 5.5 :java.util.zip.ZipException: error in opening zip file

2009-10-27 Thread Konstantin Kolinko
2009/10/28 selvakumar.V : > > drwxrwxrwx   2 casuser  casusers    1024 Oct 27 07:35 lib Do you have a reason why WEB-INF/lib folder is world-writable (rwxrwxrwx)? Why classes folder and some other files are world-readable? - To

Re: Tomcat 6.0.20 on 64bit Window2003 - Service CAN'T start

2009-10-30 Thread Konstantin Kolinko
rror] ServiceStart returned 1 > > Please help me to run the service successfully. > The most common issue is that you need 64-bit service binary and 64-bit JVM. See this thread from several days ago: http://markmail.org/message/bq37cdrjdfl3kbxp Best

Re: The server encountered an internal error () that prevented it from fulfilling this request.

2009-10-31 Thread Konstantin Kolinko
ot; is quoted with " which must be > escaped when used within the value >... Look at line 151 in your /search.jsp file and replace " /> that you seem to have there with " /> See "Quoting in attributes" in chapter JSP.1.6 Quoting and Escape Co

Re: ConnectionPool question

2009-11-02 Thread Konstantin Kolinko
2009/10/31 Josh Gooding : >(...) >  and I am getting a tomcat startup exception: > > WARNING: Unexpected exception resolving reference > java.lang.IllegalArgumentException >    at java.util.concurrent.ArrayBlockingQueue.(Unknown Source) >    at > org.apache.tomcat.jdbc.pool.ConnectionPool.init(Conn

Re: starting tomcat from ant not working

2009-11-02 Thread Konstantin Kolinko
2009/11/2 Dean Hiller : >     [java] java.lang.ClassNotFoundException: > org.apache.catalina.startup.Catalina Probably your conf/catalina.properties file is broken. Maybe you copied it from an earlier TC 5.5 installation. - To un

Re: Multi-level context starting at ROOT

2009-11-04 Thread Konstantin Kolinko
nfig/context.html and search for character '#' there. Though maybe you mean something different... Are you using a standalone Tomcat, or you have another webserver before it? What is your configuration, and what are the versions? B

Re: Hash (#) character as context delimiter '/' stand-in

2009-11-04 Thread Konstantin Kolinko
access "file:///home/path/to/tomcat/webapps/foo" which > is neither a file nor a directory. > That URL should have been written with %23 instead of '#'. If I remember correctly (don't have an IDE running), you can make that one by calling

Re: Suggested workaround for bug 47316

2009-11-10 Thread Konstantin Kolinko
; It should be obvious, but start with http://catb.org/~esr/faqs/smart-questions.html#beprecise http://catb.org/~esr/faqs/smart-questions.html#explicit and the rest of the tips there. It might well be that you face a different problem. Best regards, Konstantin Kolinko ---

Re: PLEASE HELP ME!!!

2009-11-11 Thread Konstantin Kolinko
> root cause > java.lang.NumberFormatException: null >                 java.lang.Integer.parseInt(Unknown Source) >                 java.lang.Integer.parseInt(Unknown Source) > > org.apache.jsp.check_005fenter_jsp._jspService(check_005fenter_jsp.java:61) >  ftc.budget.servlet.BudgetJspPage.service(

Re: Tomcat 6 encoding issue

2009-11-12 Thread Konstantin Kolinko
s are using. If you do not specify the encoding explicitly (if you are lazy or do not know how to do it), you will end up with platform default encoding, and that will be different in different locales. Best regards, Konstantin Kolinko

Re: How to Hide Tomcat startup console

2009-11-14 Thread Konstantin Kolinko
2009/11/14 SRama : > > I want to hide tomcat status console (once stated server dos window it will > show about tomcat stat up stuts) so please let me know how to hide? I have > to do anything related in the confi files? Use "javaw.exe" instead of "java". Though running as service should be the p

Re: What different between Apache and Apache Tomcat?

2009-11-14 Thread Konstantin Kolinko
2009/11/14 Henry Loke : > > I only install Apache Tomcat my Java webapp can work already. > So far I know what Apache can do, Apache Tomcat also can do. > The common different is Apache Tomcat is for Java program only > Apache can support multiple language webapp eg. php, Java , etc etc > > I a bit

Re: Customizing Default Error page when Webapp stopped Or not loaded

2009-11-15 Thread Konstantin Kolinko
e that some do exist. Contributions are welcome. > Many thanks > > Arun Janarthanan > Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: servlet exception when processing TLD

2009-11-16 Thread Konstantin Kolinko
2009/11/16 MilleBii : > Not sure how to fully disable security but I added the following which I > understand should grand all rights to classes under my webapp: > > 1.  grant codeBase "file:${catalina.home}/webapps/nutch-1.0/-" { >  permission java.security.AllPermission; >  }; in  conf/catalina.p

Re: search engine

2009-11-16 Thread Konstantin Kolinko
http://lucene.apache.org/ I have not used it yet, but at least they have more knowledge. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Customizing Default Error page when Webapp stopped Or not loaded

2009-11-16 Thread Konstantin Kolinko
separate Valve can intercept this error and react appropriately. I do not see a need to change the default one. >> >> Contributions are welcome. >> >> Best regards, >> Konstantin Kolinko >> -

Re: Cannot Start Apache Tomcat 6 service

2009-11-17 Thread Konstantin Kolinko
2009/11/17 Ron Halford : > Running Windows 7  - 64 bit o/s > > > [174 javajni.c] [error] %1 is not a valid win32 application > > [994 prunsrv.c] [error] failed creating java c:\program > files\\java\jre6\bin\server\jmv.dll > I think it should be "jvm", not jmv

Re: Loading customized StandardContext subclass

2009-11-17 Thread Konstantin Kolinko
e that you have read and understood the following document: > - http://tomcat.apache.org/tomcat-6.0-doc/class-loader-howto.html Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: java.lang.ClassNotFoundException: org.apache.catalina.realm.CombinedRealm

2009-11-18 Thread Konstantin Kolinko
e know why I might be getting this error? > > Tomcat 6.0.18. > Windows Server 2003. > Use the latest version. CombinedRealm was added in 6.0.20. (or in 6.0.19, but that version was never released) http://tomcat.apache.org/tomcat-6.0-doc/ch

Re: Migrating from Tomcat 5.5.25 to 6.0.22

2009-11-19 Thread Konstantin Kolinko
2009/11/19 Christopher Gross : > When I call the script to stop everything (I need to stop MySQL after the > failure before trying again), I get a ClassNotFoundException for > org.apache.catalina.startup.Catalina. > Please note, that you cannot copy 5.5 configuration files to Tomcat 6.0. You have

Re: ArrayIndexOutOfBoundsException

2009-11-24 Thread Konstantin Kolinko
2009/11/24 : > There is a different amount of data sent each time before it crashes. I also > tried byte by byte and gets the same error but it seems that it is less often. > So it is random... I wonder what can trigger it. What connectors are you using? Is it HTTP, or AJP? What is your configu

Re: ArrayIndexOutOfBoundsException

2009-11-24 Thread Konstantin Kolinko
ve is not present when Tomcat is started? You can comment it out to disable Tomcat-Native and to disable that warning message if you are not going to use it. See http://tomcat.apache.org/tomcat-6.0-doc/config/listeners.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: Patches to french translation of manager webapp

2009-11-26 Thread Konstantin Kolinko
ile the second ones might > need a second pair of (french) eyes ! 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 does not respect the HTTP RFCs !

2009-11-28 Thread Konstantin Kolinko
e ones not > explicitly configured match the default host). > > > 3. If the host as determined by rule 1 or 2 is not a valid host on the > server, the response MUST be a 400 (Bad Request) error message. > > You can always configure your default host to respond with response.sendError(400); for every 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: Logging all traffics to Tomcat servers

2009-12-16 Thread Konstantin Kolinko
2009/12/17 Fidelis Mnyanyi : > Hi Tomcat Gurus, > > I'm running Business Objects XI 3.1 (with Tomcat 5.5.20 as a web server) on > Windows 2008 server. I have 2 server machines running Tomcat web-servers. > > Tomcat servers are behind a Load Balancer. > > What I want to achieve is to be able to log

Re: Tomcat shutdown issues

2009-12-18 Thread Konstantin Kolinko
2009/12/18 SRama : > > Hi > I have some issues  with tomcat, after starting the tomcat when I give > request to my application tomcat console showing the following error > message.. > > Dec 18, 2009 2:59:23 PM org.apache.catalina.startup.Catalina start > INFO: Server startup in 3955 ms > Dec 18, 20

Re: Tomcat shutdown issues

2009-12-18 Thread Konstantin Kolinko
2009/12/19 SRama : > > before starting the server I am checking both port address if any other > applicaion using the same port I am dynamicaly chaning the shutdown port and > http port. You won't be able to shutdown Tomcat using the shutdown script, if the script does not know what Shutdown port

Re: 404 for JSPs

2009-12-20 Thread Konstantin Kolinko
2009/12/21 Clay McCoy : > When I run embedded Tomcat my jsps 404, but my servlets work. I guess that you do not have the Jsp servlet configured. See conf/web.xml. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For

Re: 404 for JSPs

2009-12-20 Thread Konstantin Kolinko
2009/12/21 Clay McCoy : > Thank you, this got me closer.  I have two questions: > > 1)  My current web.xml didn't configure the jsp servlet.  I haven't had do > configure that for a number of other containers.  I don't understand why I > had to do this specifically for Tomcat. You do not have to

Re: ubuntu 9.10 tomcat6 security manager blocks access to system.properties

2009-12-22 Thread Konstantin Kolinko
y-manager-howto.html Also http://java.sun.com/javase/technologies/security/index.jsp http://java.sun.com/javase/6/docs/technotes/guides/security/PolicyFiles.html Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsu

Re: ubuntu 9.10 tomcat6 security manager blocks access to system.properties

2009-12-22 Thread Konstantin Kolinko
2009/12/23 Mike Power : > This is not useful information I have read this. > > It does not  answer my specific question. > Is it or is it no wrong for a read request via > java.lang.System.getProperties to trigger an access request for both read > and write permissions? > &

Re: Http session lost b/w struts actions on Linux but not in Win

2009-12-23 Thread Konstantin Kolinko
In a valve Request.getSession() can return null. See how it is implemented. (org.apache.catalina.connector.Request) -> getSession(), doGetSession(boolean) I do not know, why it happens in your circumstances. 2009/12/23 Johan Thorselius : > Hi Ron, > > Actually, there is an Apache in front of Tom

Re: Error running two tomcats in same cluster on same Windows box

2009-12-26 Thread Konstantin Kolinko
ll instead of SocketAddress to its constructor. Maybe the socket.setInterface(mcastBindAddress); call will succeed if we create an unbound socket with "new MulticastSocket(null)", make setInterface() call, and call bind() later. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Understanding the error cause

2009-12-26 Thread Konstantin Kolinko
vious threads mentioning "Ubuntu" and "SecurityManager" in the list archives. 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 native problem 64bit linux os

2010-01-01 Thread Konstantin Kolinko
quot;, "libtcnative-1"}; also make sure that the libraries are compiled as 64-bit, if you are using 64-bit JVM. Maybe the 'file' command will show such info, though I do not really 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: 5.5.28 Windows Installer issues

2010-01-03 Thread Konstantin Kolinko
apache.org/bugzilla/show_bug.cgi?id=47712 Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Native binaries 1.1.18 are missing

2010-01-03 Thread Konstantin Kolinko
The tcnative-1.dll file is the one to be used. See http://markmail.org/message/oco5tbar2fuetekz Best regards, Konstantin Kolinko 2010/1/3 Jeffrey Janner : > Thanks for getting the files out there.  It's much appreciated. > > Just one question: What is the smaller libtcnat

Re: mod_proxy_ajp JSESSIONID and Mime Type

2010-01-04 Thread Konstantin Kolinko
2010/1/4 Darren Salomons : > I am having an issue with Apache 2/mod_proxy_ajp and Tomcat 6.  I have > monitored all the headers coming back from apache for various scenarios > and the only scenario that I am having a problem with is when I have a > JSESSIONID appended to the URL.  When the JSESSION

Re: JSP 2.0 examples throw security exception - Need help with configuration

2010-01-04 Thread Konstantin Kolinko
failure? You may want to try 6.0.22 release candidate, see the thread here: http://markmail.org/thread/df55xredhflfqnnn 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 Log Tomcat output to file

2010-01-04 Thread Konstantin Kolinko
at > outputfile.log > > Scratch that - it's not complete; it should be: > > catalina.bat > outputfile.log 2>&1 > catalina.bat run >outputfile.log 2>&1 ;) Best regards, Konstantin Kolinko ---

Re: mod_proxy_ajp JSESSIONID and Mime Type

2010-01-04 Thread Konstantin Kolinko
2010/1/4 Darren Salomons : > > I'm using Tomcat 6.0.18 with apache 2.2.11. > > So this isn't a normal pass through of files from tomcat to apache.  I > use a URL such as http://mydomain.com/servlet/stylesheet.css to execute > a servlet that would dynamically create the file "stylesheet.css". > Sinc

Re: How to prevent Tomcat 5.5 from undeploying applications

2010-01-07 Thread Konstantin Kolinko
ation to get rid of some of them. See also - "reloadable" attribute of Context http://tomcat.apache.org/tomcat-5.5-doc/config/context.html - "development" mode of Jasper http://tomcat.apache.org/tomcat-5.5-doc/jasper-howto.html Best regards, Konstantin Kolinko

Re: Running two tomcat servers on same system?

2010-01-07 Thread Konstantin Kolinko
ity-manager-howto.html Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Cross - context forwarding event!!!!!!!!!!!

2010-01-08 Thread Konstantin Kolinko
and the RequestDispatcher" of Servlet 2.5 specification for details of how to configure filters that can intercept forward() and include() calls. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@t

Re: Tomcat Filter Mapping Issue

2010-01-09 Thread Konstantin Kolinko
ve two applications /mywebapp /ROOT then - any request to /myweapp/foo will be processed by mywebapp (and the ROOT one will not see it at all), - any request to /myweapp2/foo will be processed by ROOT (because there is no myweapp2 application to process it). Best regards, Konstantin Kolinko

Re: How to access webapp classes from a Context/Manager implementation (jar located in in $CATALINA_HOME/lib/)

2010-01-10 Thread Konstantin Kolinko
as not. Where have you placed your joda jar? Also please read http://tomcat.apache.org/tomcat-6.0-doc/class-loader-howto.html Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For addi

Re: How to access webapp classes from a Context/Manager implementation (jar located in in $CATALINA_HOME/lib/)

2010-01-10 Thread Konstantin Kolinko
2010/1/11 Martin Grotzke : > On Mon, 2010-01-11 at 02:54 +0300, Konstantin Kolinko wrote: >> 2010/1/10 Martin Grotzke : >> > Hi, >> > >> > Jan 10, 2010 2:57:51 PM org.apache.catalina.connector.CoyoteAdapter service >> > SEVERE: An exception or error

Re: JVM goes away

2010-01-11 Thread Konstantin Kolinko
that looked out of the ordinary. dmesg they say In OOM killer scenario it can be sometimes caused by some maintenance task scheduled with cron. But an OOM killer which does not free memory would be very much useless. Best regards, Konstantin Kolinko --

Re: Exception in localhost file

2010-01-11 Thread Konstantin Kolinko
dsException > What is your exact version of Tomcat, and what is your version of Java? Is your conf\logging.properties file different from the default one? Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr

Re: mod_jk: plus-character causes %-encoding problems

2010-01-13 Thread Konstantin Kolinko
+bar so that API is working properly. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Exception in localhost file

2010-01-13 Thread Konstantin Kolinko
I have asked already: what is your Tomcat version and your Java version? If you do not know, please run "catalina.sh version" org.apache.juli.FileHandler uses java.util.logging.SimpleFormatter by default, and you should look in your JDK sources to see how that class is implemented. As of 6u16 it

Re: [T6.0.20] -Dcatalina.config ignored on server shutdown?

2010-01-13 Thread Konstantin Kolinko
in 6.0.20: catalina.bat start -config conf/server2.xml catalina.bat stop -config conf/server2.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: allowTrace="false" allowing Trace Method

2010-01-13 Thread Konstantin Kolinko
Date: Thu, 14 Jan 2010 00:43:00 GMT Connection: close Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Classloader between Web application and system loader

2010-01-13 Thread Konstantin Kolinko
rd place where I can put these artifacts.  Is > anyone aware of any solution to my problem? > > Thanks, > Mike Put expanded classes into WEB-INF/classes. Likewise, in CATALINA_BASE/lib The expanded classes always have preced

Re: Classloader between Web application and system loader

2010-01-13 Thread Konstantin Kolinko
lina.home}/lib/*.jar In 6.0.21 and later it is common.loader=${catalina.base}/lib,${catalina.base}/lib/*.jar,${catalina.home}/lib,${catalina.home}/lib/*.jar Regarding WEB-INF/lib vs. WEB-INF/classes the ordering is defined in the Servlet spec. Best regards, Konstanti

Re: Classloader between Web application and system loader

2010-01-14 Thread Konstantin Kolinko
E, but actually that is a more complicated thing. If you need to patch a web application, the only thing that I can recommend is, as I wrote, to place your classes into WEB-INF/classes. jar -u allows to add files to an existing jar/war archive, or you may place them into the expanded webapp direct

Re: mod_jk: plus-character causes %-encoding problems

2010-01-14 Thread Konstantin Kolinko
; > What do you think? Is my approach valid? Am I somehow abusing > URLCodec? Should the request be (partially) decoded in some other way? > > Best Regards, > Tero Karttunen > Is UTF-8 the reason why you are using your custom decoding? There is URIEncoding on a element [1] and a us

Re: Tomcat behind proxy listening just for localhost

2010-01-14 Thread Konstantin Kolinko
gt; local machine! > > I hope anyone knows, what i mean! > Use http://tomcat.apache.org/tomcat-6.0-doc/config/http.html http://tomcat.apache.org/tomcat-6.0-doc/config/ajp.html Best regards, Konstantin Kolinko ---

Re: IIS with Tomcat - where the installation is different machines

2010-01-14 Thread Konstantin Kolinko
ers@ list archives Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Log files?

2010-01-16 Thread Konstantin Kolinko
2010/1/16 Rick Bragg : > Hi, > > Does anybody know what could have happened to my tomcat log files? > > It seems that logging has stopped. > > I am using Ubuntu LTS 8.04 amd64, and they are in: > /var/log/tomcat6/catalina.2010-01-15.log > /var/log/tomcat6/tomcat.2010-01-15.log > > However, logging

Re: Can't log in to Tomcat

2010-01-16 Thread Konstantin Kolinko
Probably you are running with $CATALINA_BASE != $CATALINA_HOME. See "Multiple Tomcat Instances" in the file RUNNING.txt in the Tomcat distributive. 2010/1/16 DarkMatter2009 : > > I forgot to mention that it was installed with netbeans 6.8. I've just now > used the password and username found in

Re: Log files?

2010-01-16 Thread Konstantin Kolinko
err of Tomcat instance are redirected. If logging is not functioning you would better look in that file. 5. Tomcat is usually started by calling $CATALINA_HOME/bin/catalina.sh start or $CATALINA_HOME/bin/catalina.sh start -security which launches Tomcat and redirect

Re: Log files?

2010-01-16 Thread Konstantin Kolinko
;file:${catalina.home}/bin/tomcat-juli.jar" { .. } block of catalina.policy file. You should have seen an error message in the catalina.out file. (If your Tomcat instance has started at all). Best regards, Konstantin Kolinko -

Re: Stack Trace debug to screen

2010-01-18 Thread Konstantin Kolinko
e console. See http://tomcat.apache.org/tomcat-6.0-doc/logging.html There is the following phrase: "By default, loggers will not delegate to their parent if they have associated handlers. This may be changed per logger using

Re: The code of method _jspService(...) is exceeding the 65535 byteslimit

2010-01-18 Thread Konstantin Kolinko
of your JSP. Maybe that will allow you to postpone hitting the limit. 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 Connector 1.2.28 success and failure

2010-01-18 Thread Konstantin Kolinko
d AccessLogValve. 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 Silent Installation Options

2010-01-19 Thread Konstantin Kolinko
y also want to tune conf/logging.properties to do not generate unnecessary logs. > I was browsing all over but didn't get a clear documentation on this. > > Can anyone help me on this. > > Thanks in advance. > > Best Regards, > Kr

Re: Windows Thread dump issue

2010-01-20 Thread Konstantin Kolinko
en I right-click on the Tomcat monitor in the system tray and select > "Thread Dump", nothing appears to happen.  I cannot find any new file, > and the jakarta-service-xxx.log file is still at zero. > Look in stdout_.log. I don't have 5.5 installed at the

Re: Windows Thread dump issue

2010-01-20 Thread Konstantin Kolinko
2010/1/20 Caldarale, Charles R : >> From: Konstantin Kolinko [mailto:knst.koli...@gmail.com] >> Subject: Re: Windows Thread dump issue >> >> Look in stdout_.log.  I don't have 5.5 installed at the moment, >> but in 6.0 it is there. > > Not for me - it&#

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