Re: possible to define/deploy a context but not start it?

2010-05-29 Thread Konstantin Kolinko
ployed and started when server starts, regardless of deployOnStartup option. Besides the documentation, you may also want to look at the archives of this list. deployOnStartup/autoDeploy were discussed several times. Best regards, Konstantin Kolinko ---

Re: problems at thejarbar.org

2010-05-31 Thread Konstantin Kolinko
mp;', so we get (remove the line wrap): connectionURL="jdbc:mysql://localhost:3306/yucca123_thejarbar?autoReconnect=true&reconnectAtTxEnd=true" I have not tried the above either, so test it yourself. Best regards, Konstantin Kolinko

Re: java.lang.NoClassDefFoundError: Could not initialize class

2010-05-31 Thread Konstantin Kolinko
tion is thrown when executing a static{} initialization block in the class. It is hard to tell what exactly went wrong without seeing the actual exception. > >> Show us the full stack trace(s); there are usually at least two in cases >> like this. > > Now I have no access to

Re: slow servlet filter for ByteArrayOutputStream response Wrapper

2010-05-31 Thread Konstantin Kolinko
           { >                         writer = new PrintWriter(new > OutputStreamWriter(outputStream, this.getCharacterEncoding())); The above will throw an exception if outputStream is null. Best regards, Konstantin Kolinko - T

Re: slow servlet filter for ByteArrayOutputStream response Wrapper

2010-06-01 Thread Konstantin Kolinko
F-8 those are certainly not the same. (Unless all your characters are 7-bit). > httpRes.setContentType( "text/html; charset=UTF-8" ) ; > out.write(content); > out.flush(); > out.close(); > >  

Re: slow servlet filter for ByteArrayOutputStream response Wrapper

2010-06-01 Thread Konstantin Kolinko
2010/6/1 Christopher Schultz : > On 6/1/2010 5:41 AM, Konstantin Kolinko wrote: >> 2010/6/1 Manny Mondeo : >>>          httpRes.setContentLength(content.toString().length()); >> >> Also, the above, or simplier "content.length()", will give you the >&g

Re: possible to define/deploy a context but not start it?

2010-06-02 Thread Konstantin Kolinko
sts are not serviced but are replied with error 503 (as Tomcat 5.5 does) or error 404 (as Tomcat 6 does), you can write a Filter that replies with response.sendError() until it is switched into pass-through state with a JMX call or by other

Re: possible to define/deploy a context but not start it?

2010-06-02 Thread Konstantin Kolinko
> problem. > > Thanks. > > > On 06/02/2010 11:54 AM, Konstantin Kolinko wrote: >> >> 2010/6/2 Jeff Ramin: >> >>> >>> I've been experimenting some more, and can't seem to find a solution to >>> my >>> situa

Re: Adding memory to Tomcat 6.0 as a service?

2010-06-02 Thread Konstantin Kolinko
ation tool > if you are running Tomcat as a service. Is this true? That is bin/tomcat6w.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: Adding memory to Tomcat 6.0 as a service?

2010-06-02 Thread Konstantin Kolinko
2010/6/3 Konstantin Kolinko : > 2010/6/3 Debbie Shapiro : >> > > Have you searched the list archives? It has to be answered a couple of times. > >> The version of Tomcat (6.0) that I have installed > > For the future, the version is three numbers, "x.y.z".

Re: Best enterprise-class 24x7 professional support for Tomcat

2010-06-04 Thread Konstantin Kolinko
2010/6/4 kapilok : > > Please recommend the best available enterprise-class 24x7 professional > support for Tomcat. Start here: http://wiki.apache.org/tomcat/SupportAndTraining Best regards, Konstantin Kolinko - To un

Re: where to set value of ALLOW_EQUALS_IN_VALUE property

2010-06-04 Thread Konstantin Kolinko
recommended way is to create a bin/setenv.sh (or .bat) file in your CATALINA_BASE directory. There is also JAVA_OPTS environment variable, but those options apply both to startup and shutdown of Tomcat, which is rarely needed. Best regards, Konstantin Kolinko ---

Re: Error on startup catalina

2010-06-04 Thread Konstantin Kolinko
on of Java is already on Mac. > Trivial question: it it the same Java? I mean, what is /Library/Java/Home/bin/java -version ? The other posters wrote the following > Using JRE_HOME: > /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Ho

Re: Best enterprise-class 24x7 professional support for Tomcat

2010-06-04 Thread Konstantin Kolinko
2010/6/4 Martin Gainty : > > Hi Konstantin ..is your company listed as a TC vendor? > Yes. Not as a vendor, but just as a support offer. Though we are small and cannot offer 24x7 as the OP asked. If there are any business questions, feel free to ask off-list. Best regards, Konstanti

Re: Error on startup catalina

2010-06-04 Thread Konstantin Kolinko
e 6123410 bytes and its md5sum is f9eafa9bfd620324d1270ae8f09a8c89 *apache-tomcat-6.0.26.tar.gz Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Error on startup catalina

2010-06-05 Thread Konstantin Kolinko
.0.26/conf/logging.properties -Dcatalina.home=/Users/sandro/apache-tomcat-6.0.26 org.apache.catalina.startup.Bootstrap >>/Users/sandro/apache-tomcat-6.0.26/logs/catalina.out 3. Go to /Users/sandro/apache-tomcat-6.0.26/bin and try the following command: jar -tf tomcat-juli.jar Best regards, Ko

Re: Error on startup catalina

2010-06-08 Thread Konstantin Kolinko
rectory. http://java.sun.com/javase/6/docs/technotes/tools/solaris/jar.html 7) You may try apache-tomcat-6.0.26.zip It contains the same files as tar.gz. 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 configure a web app

2010-06-10 Thread Konstantin Kolinko
s". Already implemented in Tomcat 7. That allows to pack servlets + web.xml fragment + static resources or JSPs in a jar file to be placed in WEB-INF/lib, and web.xml and resources in your war file will take precedence over

Re: HTTP Status 408!

2010-06-10 Thread Konstantin Kolinko
2010/6/10 neo21 zerro : >     Are there other versions of Tomcat ? I mean newer versions, like 7 ? > There is "RC 4" build of Tomcat 7 available for testing. See a thread on d...@. Best regards, Konstantin Kolinko

Re: Connection is closed when CometEvent.close is called during an event

2010-06-10 Thread Konstantin Kolinko
able to send your answer, why not to close the socket right away? 3. It would be much more readable, if you provided your changes in the unified diff format. (even better if it were generated with "svn diff" command against sources retrieved from svn). Best regards, Konstantin Kolink

Re: Connection is closed when CometEvent.close is called during an event

2010-06-10 Thread Konstantin Kolinko
now I am not sure that a) both cases when that branch is called are equivalent, I mean (response.isClosed()) vs. (!request.isComet()) whether in both cases we can go without closing the socket Calling CometEventImpl.close() will set both conditions to true. I think that response.isClosed() when isCome

Re: What is the difference between ${param.P} and <%= request.getParameter("P") %>?

2010-06-11 Thread Konstantin Kolinko
gt; Regarding the javascript attack in the code sample, you are probably right. >  I guess a escaping the XML characters will probably help a lot > already, but it does require more thought. > or use ${fn:escapeXml( ... )} The URI for the fn prefix is http://java.sun.com/jsp/jstl/functi

Re: Help with Log Level in Tomcat 6 Logging

2010-06-17 Thread Konstantin Kolinko
s file like that (though you can if you end previous line with '\'). see java.util.Properties JavaDoc. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: POI/XML issues in server environment

2010-06-17 Thread Konstantin Kolinko
mess, it is recommended to keep all webapp libraries in their WEB-INF/lib. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Tomcat 6.0 documentation: is classloading description correct?

2010-06-17 Thread Konstantin Kolinko
play with $CLASSPATH, unless in certain very rare cases. If you have some documentation changes in your mind, the patches are welcome. The sources are in webapps/docs/*.xml . Create a Bugzilla issue and attach a diff file there (svn diff or an 'Unified diff' (diff -u)). Best regar

Re: DefaultServlet and default character encoding

2010-06-17 Thread Konstantin Kolinko
t; apache httpd thinks it would be better to append a > charset to the response I wonder, if there is a way to improve your Apache HTTPD configuration. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsub

Re: SEVERE: Error listenerStart

2010-06-23 Thread Konstantin Kolinko
1. Please tell us your exact Tomcat version (three numbers, x.y.z). 2. There are several log files in Tomcat. Have you tried to look into all of them? Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr

Re: Convert a certificate from IIS (.PFX) into a (.keystore) for Apache Tomcat v 6.x

2010-06-23 Thread Konstantin Kolinko
mat it looks that the one from Jetty also does so. Disclaimer: I have not tried them. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Does Tomcat cache pages it's executing?

2010-06-25 Thread Konstantin Kolinko
le created from that JSP. IIRC, in the Servers panel in Eclipse IDE in context menu on a server, there is "Clean" command that cleans tomcat working directory and republishes the webapps. Removing the webapp from the server + "Publish" + put it back on the server will also do t

Re: Servlet mapping issue

2010-06-25 Thread Konstantin Kolinko
See the jsp-examples webapp in Tomcat 5.5 for an example of such configuration. You have to specify the exact path as is. Escaping ('\.') is not needed and will not work. Best regards, Konstantin Kolinko - To unsubscribe,

Re: Apache Tomcat 6.0.18 on Windows Server 2008 R2 Changes RDP Port

2010-06-25 Thread Konstantin Kolinko
when this happens (is it down and unable to start?) I doubt that this change might happen while Tomcat still runs. Is the system property secured? E.g. such trivial issue as CVE-2009-3548 http://tomcat.apache.org/security-6.html Best regards, Konstantin Kolinko ---

Re: Webapp reloading issue and intermittent 404 errors

2010-06-29 Thread Konstantin Kolinko
outside >of Tomcat, and does not appear to contain any errors (although it could be >slightly more efficient). > Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: LockoutRealm configuration problem

2010-06-29 Thread Konstantin Kolinko
ootClassPathEntryForClass(DownloadManager.java:928) > >                at > sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:293) > >                at java.lang.ClassLoader.loadClass(ClassLoader.java:300) That is JRE code. I suppose that it is caused by calling ClassLoader.loa

Re: JNI error under tomcat: java.lang.UnsatisfiedLinkError

2010-07-05 Thread Konstantin Kolinko
be in ${catalina.base}/lib folder (and at the same time it must be removed from the webapp, because otherwise the classes in webapp are preferred over the ones in lib). Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-un

Re: SSL Not working on tomcat 5.5.29

2010-07-05 Thread Konstantin Kolinko
SSL. > How did you install Tomcat, and how are you running 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: EL expressions do not work in tag file (tomcat 6.26)

2010-07-05 Thread Konstantin Kolinko
perties that apply to a set of files that represent JSP pages." and several sentences lower, explicitly: "JSP Property Groups do not affect tag files." Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: embedded tomcat, "work" folder wipe out issue

2010-07-05 Thread Konstantin Kolinko
th the .java > and .class files What are timestamps of those files? Are they recently generated and compiled, as you would expect? Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: SSL Not working on tomcat 5.5.29

2010-07-06 Thread Konstantin Kolinko
u copied it to the new location? keystoreFile="E:\apps\thirdparty\apache-tomcat-5.5.29 orig\selfcert.jks" > How did you install Tomcat, and how are you running it? Not answered. Do you install it as a service, or you are using *.bat files

Re: SSL Not working on tomcat 5.5.29

2010-07-06 Thread Konstantin Kolinko
2010/7/6 Konstantin Kolinko : > 2010/7/6 kareem_s_m : >> >> When I run in NON SSL (port 8080, stuff is written to the log files). When I >> run under SSL (8443) nothing is written to the same log files. >> > > In the configuration fragment that you provided you

Re: java.lang.IllegalStateException: Timer already cancelled

2010-07-06 Thread Konstantin Kolinko
viction in DBCP, because it causes a memory leak. See https://issues.apache.org/bugzilla/show_bug.cgi?id=48971 https://issues.apache.org/jira/browse/POOL-161 Remove "timeBetweenEvictionRunsMillis" attribute, or set it to "-1"

Re: java.lang.IllegalStateException: Timer already cancelled

2010-07-06 Thread Konstantin Kolinko
ake no difference. http://commons.apache.org/dbcp/configuration.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: Strange difference in behavior ELSupport in Tomcat 6.0.20 and Tomcat 6.0.26

2010-07-07 Thread Konstantin Kolinko
nvert one of them or both to strings. There is no string "concat" operator in EL, but there is support for "Composite expressions", such as “${firstName} ${lastName}” Best regards, Konstantin Kolinko - To unsubscr

Re: EL expressions do not work in tag file (tomcat 6.26)

2010-07-07 Thread Konstantin Kolinko
citly add two conflicting <%...@tag %> directives in the same tag file. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: WebappClassLoader clearReferencesThreads

2010-07-07 Thread Konstantin Kolinko
ache Commons DBCP library from http://commons.apache.org/ which itself is based on Apache Commons Pool library. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional

Re: Multiple Tomcat Instance Issues

2010-07-07 Thread Konstantin Kolinko
2010/7/7 Rob Gosling : > 1) created a new CATALINA_BASE directory with the following structure: >     bin >             setenv.bat >         conf >             |- Catalina > |    |- localhost >             |        |-admin.xml >             |        |-manager.xml >             |-ser

Re: Webapp reloading issue and intermittent 404 errors

2010-07-07 Thread Konstantin Kolinko
2010/6/30 Tomislav Petrović : > Pid said on 30.6.2010 13:06: >> >> On 30/06/2010 11:59, Tomislav Petrović wrote: >>> >>>        >> reloadable="true" crossContext="true"> >>>        >> type="javax.sql.DataSource" /> >>>        >> type="javax.sql.DataSource" /> >> >> If these are the actual values th

Re: tomcat /manager not working

2010-07-07 Thread Konstantin Kolinko
o the client with a 301 redirect to contextPath + "/html" will work, but I am not sure that this feature is actually needed. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Webapp reloading issue and intermittent 404 errors

2010-07-07 Thread Konstantin Kolinko
ssue names mention "SSE 4.2", so it supposedly happens only on certain families of Intel CPUs. http://en.wikipedia.org/wiki/SSE4 Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: setenv.sh and CATALINA_BASE

2010-07-12 Thread Konstantin Kolinko
TALINA_HOME" before. So, what is your problem? You must set CATALINA_BASE before calling the standard scripts, if you need this feature of distinct CATALINA_HOME vs. CATALINA_BASE. This feature is not enabled by default. Best regards, Konstantin Kolinko

Re: SSL Not working on tomcat 5.5.29

2010-07-12 Thread Konstantin Kolinko
2010/7/12 kareem_s_m : > > Hi All, > > If I rename tcnative-1.dll in the bin folder then the site on SSL works. I > am not that knowledgeable on thie dll. Any comments or ideas please? I got > this suggestion from google but no specific reason. > It was already mentioned in this very thread. http:

Re: weird bug?

2010-07-13 Thread Konstantin Kolinko
ouraged, per policy. 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 not working after moving installation folder

2010-07-13 Thread Konstantin Kolinko
gt; After that, the install command fails: > (...) > 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 deploy correctly in tomcat 6.0.10

2010-07-13 Thread Konstantin Kolinko
Lookup of RMI > stub failed; nested exception is java.rmi.ConnectIOException: error during > JRMP connection establishment; nested exception is: > > java.net.SocketException: Connection reset > By the way, it has nothing to do with Tomcat: Tomcat does not use RMI and JRMP

Re: tomcat datasource, find active connections

2010-07-13 Thread Konstantin Kolinko
s to jars that are in server/lib 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 service version can't access intranet(not internet) files

2012-01-30 Thread Konstantin Kolinko
2012/1/30 chenqiang : > I found a problem which confused me so much,(I use tomcat7.0.20-7.0.25)  my > web application need access to the files on another machine which is on the > intranet, when I use the zip format distribution version of tomcat, > everything is ok, but the problem arises when I d

Re: POST data (single character) cleared when using tomcat 6.0.33 and Character Encoding Filter

2012-02-02 Thread Konstantin Kolinko
s Charset in 5.5.35 and 6.0.35 is part of fix for CVE-2012-0022 [2] So a different implementation might be needed. [1] http://svn.apache.org/viewvc?view=revision&revision=1140904 [2] http://tomcat.apache.org/security.html The good news are that it does not affect UTF-8, so using that encoding

Re: manager comes up in Spanish -- how to switch to English?

2012-02-03 Thread Konstantin Kolinko
it to the top of the list.) There is an alternative way if you want to remove Spanish localization completely: stop server, delete "lib/tomcat-i18n-es.jar" (and maybe fr and ja jars as well) and start it again. Best regards, Konstantin Kolinko -

Re: manager comes up in Spanish -- how to switch to English?

2012-02-03 Thread Konstantin Kolinko
essages in the Manager application based on the Locale of the user rather than the default Locale of the server. (markt) Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: manager comes up in Spanish -- how to switch to English?

2012-02-03 Thread Konstantin Kolinko
2012/2/4 André Warnier : > Konstantin Kolinko wrote: >> >> 2012/2/4 André Warnier : >>> >>> David Leung wrote: >>>> >>>> Hello!  I've looked at the FAQ and tried web searching, but can't find >>>> an answer to thi

Re: Form Authentication POST data not preserved?

2012-02-03 Thread Konstantin Kolinko
on is created once the session-id cookie is sent to the user. That happens before authentication. >(...) > > P.S. The lack of wisdom of setting maxSavePostSize is clear enough to me > now.  I'll be setting this to a large but still not egregious value once I > fig

Re: Form Authentication POST data not preserved?

2012-02-05 Thread Konstantin Kolinko
re I'd wanted to spend my time). > http://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: Form Authentication POST data not preserved?

2012-02-05 Thread Konstantin Kolinko
2012/2/5 Jess Holle : > On 2/5/2012 8:29 AM, Konstantin Kolinko wrote: > > 2. Enable debug logging for FormAuthenticator class. > > org.apache.catalina.authenticator.FormAuthenticator.level=FINE >(...) > > I had already increased verbosity for FormAuthenticator -- nothing

Re: Dependencies on extensions functionality

2012-02-05 Thread Konstantin Kolinko
wonder how did you found this "catalina.ext.dirs" property. From Javadoc? > - Does this mean that we can use only Tomcat's classpath dirs and we cannot > specify a custom directory for these extensions? You can. You can reconfigure classpath in the conf/catalina.p

Re: Form Authentication POST data not preserved?

2012-02-05 Thread Konstantin Kolinko
2012/2/5 Jess Holle : > On 2/5/2012 9:43 AM, Jess Holle wrote: >> >> On 2/5/2012 9:26 AM, Konstantin Kolinko wrote: >>> >>> build.xml: >>> >>            debug="${compile.debug}" >>>            deprecation="${compile.depre

Re: Form Authentication POST data not preserved?

2012-02-05 Thread Konstantin Kolinko
2012/2/5 Jess Holle : > On 2/5/2012 11:15 AM, Konstantin Kolinko wrote: >> >> I think this issue is specific to AJP. >> >> For HTTP connectors a similar issue was noted and fixed here: >> https://issues.apache.org/bugzilla/show_bug.cgi?id=51940#c9 >>

Re: Odd interface binding observations

2012-02-06 Thread Konstantin Kolinko
use -v (verbose) flag). Try "ping localhost". It prints the IP where it connects to. > I'm using "localhost:8187" as my host:port in my connection URL and > everything seems to work. Do I just not know how to read netstat's >

Re: Shutdown Hooks not firing when tomcat is shutdown from within a webapp

2012-02-07 Thread Konstantin Kolinko
aShutdownHook) finishes. You should look in the logs to see what is printed there with regards to the server shutdown sequence. Maybe it waits while some server component shuts down? Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Why am I Getting org.apache.catalina.realm.JDBCRealm getPassword SEVERE: Exception performing authentication?

2012-02-08 Thread Konstantin Kolinko
e to reload the app to make things start working. > > I've spent a few days on this, but just made the (theorized) > connection between Tomcat auth failure & my app's failures. > > I'm gonna start digging into this theory but was hoping for some ideas > & poi

Re: apache tomcat 6.0.20 install error

2012-02-08 Thread Konstantin Kolinko
2012/2/9 Irene Amatulli : > I got this error when I tried to install 6.0.20: > > Installer integrity check has failed.  Common causes include incomplete > download and damaged media.  Contact the installer's author to obtain a new > copy. Then download a new copy. You would have to look at the a

Re: Serving static content using embedded tomcat 7

2012-02-08 Thread Konstantin Kolinko
2012/2/8 sanu : > Thank you. > > I just did that. Here's what I have : > > StandardContext context = (StandardContext) >                tomcat.addContext(null, "", directory"); > > This doesn't seem to work. > >(...) I would guess that you have not created nor mapped the DefaultServlet instance

Re: JmxRemoteLifecycleListener binding to all IP addresses

2012-02-09 Thread Konstantin Kolinko
gt; [1] > http://tomcat.apache.org/tomcat-7.0-doc/config/listeners.html#Additional_Implementations > > -- > There are 10 types of people in this world, those > that can read binary and those that can not. > useLocalPorts="true" is what you are needing. It is in the docs [1], but you may also look at the sources. As of now there is no option to explicitly configure the IP address to bind to, but if you want one you may propose a patch. See how useLocalPorts option is implemented. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: ServletException logging changes between 5.5 and 6.0/7.0?

2012-02-09 Thread Konstantin Kolinko
//tomcat.apache.org/migration.html > 2. If so, what changed between Tomcat 5.5 and Tomcat 6.0/7.0 that would cause > exceptions thrown by a servlet to be logged in Tomcat's log files, or what > configuration change do I need to make so that the exception appears in the > webapp

Re: Cores with FlushableGzipOutputStream

2012-02-09 Thread Konstantin Kolinko
duces a response that triggers this issue. >From experience of BZ 52121 we were lucky that someone was able to provide sample data that reproduced the issue. It looks that originally it was some product listing generated by JSP page. Maybe you can find something similar. That data is now part of Tomcat testsuite (see TestFlushableGZIPOutputStream class). Note that the reproducer is rather simple and does not use Tomcat, but just the streams I/O. Anyway, a JRE should not fail fatally with a core dump regardless of what public API the program uses. [1] https://issues.apache.org/bugzilla/show_bug.cgi?id=52121 Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: ServletException logging changes between 5.5 and 6.0/7.0?

2012-02-09 Thread Konstantin Kolinko
ou need to >>> download some Tomcat "extras" as described here: >>> http://tomcat.apache.org/tomcat-7.0-doc/logging.html#Using_Log4j >> (...) Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Path parameters and getRequestURI

2012-02-09 Thread Konstantin Kolinko
lity of cookies on the > client is set to be determined. > > (...) See this thread: "Path Parameters - Servlet API" http://tomcat.markmail.org/thread/ykx72wcuzcmiyujz Best regards, Konstantin Kolinko > I have a Filter that checks to see if the user is accessing a >

Re: Tomcat 6.0.26 stopped logging

2012-02-13 Thread Konstantin Kolinko
tion log? Server log? > > Where is the database in this picture? > Is your hard drive full? Or maybe tomcat does not have write access to the log directory? What exactly are the symptoms that you observe? Best regards, Konstantin Kolinko -

Re: Tomcat 6.0.26 stopped logging

2012-02-13 Thread Konstantin Kolinko
; Thank you all! > FYI: a web application is valid even if there is no web.xml file. E.g.: consider the case if you want to publish some static files. The default conf/web.xml is used in this situation. Best regards, Konstantin Kolinko --

Re: EL String -> int coercion stopped working after TC 5.5 -> 7.0 upgrade?

2012-02-14 Thread Konstantin Kolinko
blem lies elsewhere. > Reading the specification I agree that this is a bug. I created issue in bugzilla: https://issues.apache.org/bugzilla/show_bug.cgi?id=52666 It is reproducible in 6.0.x as well. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Web fragment - static resources is not returned (Tomcat 7.0.25)

2012-02-14 Thread Konstantin Kolinko
gment, but when I try to > access the static HTML using http://localhost:8080/jsr315/hello.html, I got a > 404 error. > > What I did it wrong? > Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-uns

Re: Error 500 No Java Compiler Available

2012-02-14 Thread Konstantin Kolinko
gt; > Any help appreciated! > The compiler should be in ecj-3.7.1.jar. Do you have that file? Note that there was update 3.7 -> 3.7.1 recently, and the version is part of the file name. Maybe in your environment it somehow does not see the new version of the file. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Error 500 No Java Compiler Available

2012-02-14 Thread Konstantin Kolinko
not help, download the official distributive from tomcat.apache.org and install it properly. > > Thanks. > > On 14 February 2012 18:16, Konstantin Kolinko wrote: >> 2012/2/14 Jude Lucien : >>> Basic Problem:  I am unable to compile jsp's and display them via >&

Re: org.apache.catalina.startup.ContextConfig checkHandlesTypes...

2012-02-14 Thread Konstantin Kolinko
-b09, > mixed mode) > -platform: Ubuntu 10.04 > https://issues.apache.org/bugzilla/show_bug.cgi?id=52326 Though I wonder why it tried to load XML parser classes Please post your answers below the question that you are answering. Best regards, Konstantin Kolinko > Regards, > J. &g

Re: Error configuring JNDIRealm in tomcat 6.0.2 in eclipse, trying to connect to localhost:389

2012-02-14 Thread Konstantin Kolinko
uld be a warning in the logs about failing to assign value to an attribute. Recent versions of Tomcat 6 would print one when parsing server.xml, but I do not know what version of 6.0.x you are using. > > Feb 14, 2012 4:17:01 PM org.apache.catalina.realm.JNDIRealm open >> WARNING: Exception performing authenticatio

Re: Logging issue in Eclipse/WTP (disable request logging)

2012-02-14 Thread Konstantin Kolinko
You have to look for -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager and -Djava.util.logging.config.file= If there is no "-Djava.util.logging.manager" setting then the logging is done by your JRE, not by Tomcat. If it is there, then you will see what configuration file it uses. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Error configuring JNDIRealm in tomcat 6.0.2 in eclipse, trying to connect to localhost:389

2012-02-14 Thread Konstantin Kolinko
2012/2/15 Ashish Kulkarni : > I have another question, how can i configure in web.xml so that all roles > has authority to login, then in my application i control what is displayed > to the user? > If you have a different question, then start a new thread with a new blank e-mail. Do not reply to a

Re: EL String -> int coercion stopped working after TC 5.5 -> 7.0 upgrade?

2012-02-14 Thread Konstantin Kolinko
2012/2/15 David Rees : > On Tue, Feb 14, 2012 at 4:57 AM, Konstantin Kolinko > wrote: >> 2012/2/14 Mark Thomas : >>> On 14/02/2012 03:11, David Rees wrote: >>>> This may not be Tomcat related, but I couldn't find anything in the >>>> JSP/JSTL/EL

Re: Logging issue in Eclipse/WTP (disable request logging)

2012-02-15 Thread Konstantin Kolinko
d a logging.properties file: https://issues.apache.org/bugzilla/show_bug.cgi?id=52011 This feature is usually used by web applications when they provide their own WEB-INF/classes/logging.properties file. Best regards, Konstantin Kolinko

Re: Known Tomcat 6.0 and JDK 1.7.0_02 issues?

2012-02-15 Thread Konstantin Kolinko
that I run on Java 6u30. Sometimes it is slower than I want it to be. Especially with operations that require processing/deleting a lot of files. The JRE is not likely the cause behind it. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Oracle released Java 6u31, 7u3 with security fixes

2012-02-15 Thread Konstantin Kolinko
lable from http://www.oracle.com/technetwork/java/javase/downloads/index.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: Is it possible to start multiple tomcat servers with port-offset mechanism

2012-02-16 Thread Konstantin Kolinko
It is up to you how to calculate the port number. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Apache reverse proxy issue

2012-02-16 Thread Konstantin Kolinko
e help me please? Proxying to https:// is handled by mod_ssl, as far as I know. If you have not enabled that module and have not enabled proxying support in it then you are out of luck. Anyway, your question is offtopic on this list. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Basic Authentication Valve not hitting on Tomcat7.0.20

2012-02-16 Thread Konstantin Kolinko
, does that improve things? > IIRC Tomcat would not add Authenticator valve if one is already there, so this tip is useless. Anyway you can always run Tomcat under debugger (see FAQ -> Development) and see what really is going on. Best regards, Konstantin Kolinko ---

Re: generic deployment question

2012-02-18 Thread Konstantin Kolinko
ull files >> from the directory than from inside the war file. > > IIRC, Tomcat explodes the WAR file into the work directory anyway. You > can easily confirm that. > Only classes and jars. Resources are not unpacked when running from unexploded WAR. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Documentation Question

2012-02-21 Thread Konstantin Kolinko
-> transformations > are atrocious. > If VirtualWebappLoader is updated to trim each value in virtualClasspath, then that example could be wrapped into several lines. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Documentation Question

2012-02-21 Thread Konstantin Kolinko
2012/2/22 André Warnier : > Pid wrote: >> >> On 21/02/2012 13:59, Jim Showalter wrote: >>> >>> Hi.  Thanks for the timely response.  I wasn't certain if I should post >>> this >>> to the group or not.  I can repost for the archive if you want. >> >> >> Yes.  Always to the list. >> >>> Here are some

Re: SSLProtocol with TLSv1+SSLv3 or SSLv3+TLSv1 does not work APR based Apache Tomcat Native 1.1.20 or 1.1.22

2012-02-21 Thread Konstantin Kolinko
2012/2/22 Mark Anthony : > Referring to > http://svn.apache.org/viewvc/tomcat/native/branches/1.1.x/native/src/sslcontext.c?r1=1149279&view=log > there something thats broke that does not support TLSv1+SSLv3.  Tomcat > Version 6.0.35  APR Details : > INFO: Loaded APR based Apache Tomcat Native lib

Re: Documentation Question

2012-02-21 Thread Konstantin Kolinko
2012/2/22 Christopher Schultz : > On 2/21/12 3:43 PM, Konstantin Kolinko wrote: >> 2012/2/22 André Warnier : >>> Pid wrote: >>>> >>>> On 21/02/2012 13:59, Jim Showalter wrote: >>>>> >>>>> Hi.  Thanks for the timely response.  

Re: distributable mode does not work with Servlet 3.0

2012-02-22 Thread Konstantin Kolinko
on annotation and web fragments scanning. So maybe there are some additional components in your web application or its libraries that are detected. I do not remember how fragments that have different value of are merged - you may look in the Servlet Specification. Try to add metadata-comp

Re: Documentation Question

2012-02-22 Thread Konstantin Kolinko
semi-colons (aka win32-style path separators) and extraResourcePaths > uses commas. Maybe we should try for some consistency :) > VirtualWebappLoader already trims the spaces, so I fixed the docs. extraResourcePaths does not trim, so it needs more work. I agree that ';' is

Re: Configuration of APR.

2012-02-24 Thread Konstantin Kolinko
2012/2/24 Friedrich Clausen : > Hi All, > > I have, to the best of my ability, followed the docs on configuring > APR but I am getting "java.lang.UnsatisfiedLinkError" and, so far, not > been able to resolve it. First, some details of my environment : > > OS - RHEL 5 x86_64 > Java - 1.6.0_29-b11 I

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