Re: how to use VirtualWebappLoader - either in META-INF/context.xml or programmatically on startup

2011-06-30 Thread Konstantin Kolinko
2011/7/1 Christopher Schultz : > > On 6/30/2011 11:27 AM, Konstantin Kolinko wrote: >> 2011/6/30 Bob DeRemer : >>>           virtualClasspath="/WEB-INF/lib/extensions/*.jar"/> >> >> The above should be an absolute path. >> >> You can use s

Re: Tomcat is not able to connect to IPV4 (Tomcat Version : 7.0.14)

2011-07-01 Thread Konstantin Kolinko
> "we have done the same process" means you are trying to use "0.0.0.0" like you did with 5.5 and now it fails? (or that you tried your proper network address and failed with that, but 0.0.0.0 works)? > > The OS we found these issues are Win XP, Win 2008. > 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 is not able to connect to IPV4 (Tomcat Version : 7.0.14)

2011-07-04 Thread Konstantin Kolinko
2011/7/4 Caldarale, Charles R : >> From: Rohan Kadam [mailto:roha...@cybage.com] >> Subject: RE: Tomcat is not able to connect to IPV4 (Tomcat Version : 7.0.14) > >> This is the line I was talking about - >> JAVA_OPTS="-Djava.net.preferIPv4Stack=true" > > Which explains why it's being ignored.  The

Re: Multiple errors (regressions) on Tomcat 7.0.17

2011-07-05 Thread Konstantin Kolinko
oes not revert r1135208 and it either removes a valid piece of code or a problem was introduced earlier. The removed code originates from r1003177 (9 months ago), http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/coyote/ajp/AjpAprProcessor.java?diff_format=l&r1=1003176&a

Re: TOMCAT 64bit & 32BIT differences - URGENT

2011-07-07 Thread Konstantin Kolinko
2011/7/7 saj-khan : > > Hi All, > > apologies if this question has been asked before. > > I need to know the main differences between 64 & 32bit tomcat for windows. > > Is the tomcat.exe and all associated files in the bin folder and lib folder > trully compiled 64bit If you compare content of *-w

Re: NPE at StandardWrapperValve.invoke() in Tomcat 7.0.16

2011-07-07 Thread Konstantin Kolinko
gives the root context? I've actually > never used a root context, so I don't know but I would have expected it > to call the context [/] instead of []. > Best regards, Konstantin Kolinko - To unsubscribe, e-m

Re: Tomcat appears to be sending duplicate requests

2011-07-08 Thread Konstantin Kolinko
or in a filter? Do you use authentication? (If server requests authentication credentials, a web client will repeat its request, now with credentials). Is Tomcat running standalone, or behind something? What connectors are you using (Bio/Nio/Apr

Re: Tomcat 6.0.32 stops responding

2011-07-08 Thread Konstantin Kolinko
-> see FAQ). One usual cause is when you have infinite timeout on you database connection pool. So threads are waiting for your DB. (If you are not recycling sql objects properly, you may run out of them easily). Best regards, Konstantin Kolinko ---

Re: 404 with mod_jk

2010-07-14 Thread Konstantin Kolinko
t; The VirtualHost section was created by the ApacheConfig option in > Tomcat. Trivial question: are you sure, that your worker name is correct ("worker1" vs. "ajp13"). I am curious, why Tomcat-generated configuration has different worker name. Best regards, Konstantin Koli

Re: IP based request filters for admin/manager

2010-07-18 Thread Konstantin Kolinko
LINA_HOME/conf/Catalina/localhost/ROOT.xml. The file in /conf/ takes priority over the one in the webapp's META-INF, because it can be edited by a local administrator. The copying from webapp's META-INF to tomcat's conf/

Re: IP based request filters for admin/manager

2010-07-18 Thread Konstantin Kolinko
attern[] precalculate(String list) { (...) 232 String pattern = list.substring(0, comma).trim(); 234 reList.add(Pattern.compile(pattern)); Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsu

Re: Apache Tomcat/5.5.20

2010-07-20 Thread Konstantin Kolinko
te a dummy webapps/ELAD application, > which does nothing else but send a redirect response to the browser, to the > real webapps/elad application. > Maybe you can use this filter for that purpose : > http://www.tuckey.

Re: Unable to get Tomcat 7 to work in Eclipse

2010-07-20 Thread Konstantin Kolinko
ntext} Setting > property 'source' to 'org.eclipse.jst.jee.server:HelloWorldServlet' did not > find a matching property. It is just a warning. That extra attribute (that was set by Eclipse for whatever reason) is ignored. Best regards, Konstantin Kolinko -

Re: Debugging Tomcat

2010-07-24 Thread Konstantin Kolinko
ually use the following command to start Tomcat for debugging catalina.bat jpda start You might see that it passes the following argument to java.exe: -agentlib:jdwp=transport=dt_socket,address=8000,server=y,suspend=n Best regards, Konstantin Kolinko ---

Re: Struts App dispatcher error on Tomcat 5.5.23

2010-07-27 Thread Konstantin Kolinko
appreciable. > 1. Try with 5.5.30. 2. Try running with org.apache.catalina.STRICT_SERVLET_COMPLIANCE=true (can be added to conf/catalina.properties) http://tomcat.apache.org/tomcat-5.5-doc/config/systemprops.html Best regards

Re: change the default javac from JDT to ant

2010-07-27 Thread Konstantin Kolinko
that class is not in ant.jar, but in ant-launcher.jar (looking at Ant 1.7.1, as I do not have other versions with me at the moment, nor I know what version you are using). Best regards, Konstantin Kolinko - To unsubscribe, e

Re: Tomcat 7 authentication error only with IE8 or IE7

2010-08-10 Thread Konstantin Kolinko
or behind another web server? 4. > Line 86: INFO: WARNING: Security role name * used in an > without being defined in a You can fix the mentioned error, don't you? Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: JreMemoryLeakPreventionListener and hourly Full GC

2010-08-12 Thread Konstantin Kolinko
certainly do not know how other JRE versions behave here. (Feedback is welcomed). > Thank you for your opinion. > > Donnie > By the way, there is a page in the wiki regarding the memory leaks protection. Additions are welcomed there as well. http://wiki.apache.org/tomcat/MemoryLeakPr

Re: All Threads Busy Message

2010-08-18 Thread Konstantin Kolinko
.JIoEndpoint#createWorkerThread() which logs the following message: endpoint.info.maxThreads=Maximum number of threads ({0}) created for connector with address {1} and port {2} That is, looking at the current tc6.0.x sources. Cannot s

Re: loaderClass for jsps

2010-08-18 Thread Konstantin Kolinko
Tomcat, > you'll have to track down where that config is and adjust it if possible. > It is not Eclipse IDE, but Eclipse JDT compiler called by Jasper (see jasper-jdt.jar in TC distribution). Back to the question: Jsp classes are loaded by org

Re: war not redeploying

2010-08-18 Thread Konstantin Kolinko
xt WatchedResource is used to reload a webapp (e.g. when editing web.xml), not to redeploy it. By the way, please create or edit your webapp's META-INF/context.xml, not the default one. Are there any messages in the logs? Are you using this webapps folder (e.g., Tomcat can be run with

Re: Tomcat 5.5.23 request.getAttribute("foo") returns unexpected NULL

2010-08-19 Thread Konstantin Kolinko
b, The application was running in Tomcat 5.5.23 (Linux/Slackware) I wonder if you can upgrade to a later version. I usually mention this page: http://tomcat.apache.org/security-5.html Best regards, Konstantin Kolinko - To unsu

Re: Sessions mix-up on Tomcat 6.0.26 on Linux

2010-08-19 Thread Konstantin Kolinko
eRedirectURL( ) method. It must be used 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: Corrupt files in 6.0.29 distribution?

2010-08-25 Thread Konstantin Kolinko
t version.  Wondering if this is a known > issue, how necessary these files are, etc. > Those are in commons-daemon-native.tar.gz See https://issues.apache.org/bugzilla/show_bug.cgi?id=49674 Best regards, Konstantin Kolinko

Re: OFFTOPIC: Java String problem - possible VM bug

2010-08-31 Thread Konstantin Kolinko
leased for Windows only. The other versions remain to be at b06. (I do not see this explained anywhere on the Oracle site). [1] http://blog.eisele.net/2010/07/jdk-16021-b06-eclipse-vs-16021-b07.html Best regards, Konstantin Kolinko --

Re: FileUploadBase$IOFileUploadException

2010-09-01 Thread Konstantin Kolinko
base}/temp (aka $CATALINA_TMPDIR, aka java.io.tmpdir ). Best regards, Konstantin Kolinko 2010/9/2 Paul Szynol : > > Chris, I agree.  "Exceeds threshold size" or something along those lines > would be a lot more helpful. > Paul > > On 9/1/10 5:59 PM, Christopher Schu

Re: FileUploadBase$IOFileUploadException

2010-09-01 Thread Konstantin Kolinko
nol wrote: >>>>> >>>>> Increasing the value of .setSizeThreshold() did the trick.  Thanks for >>>>> pointing me in that direction--I should have sent my question here >>>>> about >>>>> 12 hrs ago! :) >>>>

Re: META - Thread Hijacking

2010-09-01 Thread Konstantin Kolinko
ointless to me because, ironically, > the threads never looked hijacked to me!) Have you ever searched the list archives? Hijacked threads are harmful. I appreciate those complaints being on the list, so that I won't waste my time replyi

Re: URL Rewrite

2010-09-04 Thread Konstantin Kolinko
it. See the Servlet spec for details. If that is what you mean by forwards and redirects. If you do a client-side redirect (sending a response with HTTP status 302 or 301, 303, 307), the URL where you sent your client will be displayed in her browser's location bar. Best regard

Re: [OT] Re: How to subscribe to ibatis mailing list

2010-09-07 Thread Konstantin Kolinko
t;> I don't know whom to ask. > > Have you read the iBATIS website? > > From May this year: > >  http://ibatis.apache.org/ > > "2010/06/16 - apache ibatis has been retired." > ++1 They a

Re: logging question

2010-09-10 Thread Konstantin Kolinko
ml It works if an app writes to System.err, System,out directly. Things are more complicated if the app uses some logging library (but in that case you may be able to configure that logging library). Best regards, Konstantin Kolinko -

Re: building tomcat 5.5 trunk

2010-09-10 Thread Konstantin Kolinko
ere migrated to Subversion it became possible to use the svn:externals feature to replace several cvs calls with a single svn call, and now the svn layout is further simplified. Best regards, Konstantin Kolinko - To unsubscr

Re: logging on tomcat 5.5.25

2010-09-21 Thread Konstantin Kolinko
oleHandler. If you remove ConsoleHandler from that line those events won't be printed to the console (and thus to the catalina.out) Best regards, Konstantin Kolinko > All the output for Solr is going to the catalina.out logfile, which > gets rather large and has to be deleted about o

Re: conf/Catalina/HOST/contextname.xml being removed

2010-09-23 Thread Konstantin Kolinko
onfiguration files > removed on a redeployment.  Of course I'm just testing out a new system and > in production I'm not sure I'd be just copying in a new war file and calling > that a redeployment...  I'll change permissions on that file and see what > happens.  Thanks

Re: [Fwd: WHY OCCURS THIS ERROR]

2010-09-28 Thread Konstantin Kolinko
If it fails to pass a request to Tomcat, it starts replying with HTTP result code 503 saying that the "service" (Tomcat) is not available. (It won't retry accessing Tomcat until some timeout passes, which I think is several minutes.) HTTPD logs may contain more deta

Re: Errors not logging to catalina.out after redeploy

2010-09-28 Thread Konstantin Kolinko
at the OP sees. Note, that the default LogManager holds references to classes for its entire lifetime, which is a good example of a PermGen memory leak. The ClassLoaderLogManager should be used instead, and thus this issue remains as is. https://issues.apache.org/bugzilla/show_bug.cgi?id=48716 Be

Re: tomcat6's home directory

2010-10-05 Thread Konstantin Kolinko
ot;user.home"); ? http://download.oracle.com/javase/6/docs/api/java/lang/System.html#getProperties%28%29 Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For addition

Re: NullPointerException when Tomcat calls org.apache.catalina.connector.Request.parseParameters

2010-10-06 Thread Konstantin Kolinko
numbers in your stack trace do not match the Tomcat 6.0.26 sources, http://svn.apache.org/viewvc/tomcat/tc6.0.x/tags/TOMCAT_6_0_26/java/org/apache/catalina/connector/Request.java?view=markup What is going on? Best regards, Konstantin Kolinko -

Re: Tomcat hung - still processing a request that has yet to finish

2010-10-12 Thread Konstantin Kolinko
2010/10/12 Jason Britton : > (..) I can > kill -9 it but didn't know if there was any additional information I could > gather before stopping it. > Take a thread dump (or better three dumps in a row). You will know what Servlet / JSP page is busy and what it is doing. Best re

Re: Inconsistent output of Java 5 enums

2010-10-14 Thread Konstantin Kolinko
ot > an enum? > The chapter 1.18.2 of the Expression Language Specification Version 2.1, Final Release - May 8, 2006 (a part of JSR-000245: JSP 2.1) defines how an EL expression is coerced to a String. One of the points there is * "Otherwise, if A is Enum, return A.name()" Best regards

Re: Tomcat 6.0.29 - Windows Service - JMX

2010-10-19 Thread Konstantin Kolinko
-the-invoking-class-for-m with more details here: http://blogs.sun.com/geertjan/entry/getting_started_extending_visualvm_part The summary is that jvisualvm knows certain applications, and one may write a plugin to it to teach it to recognize more apps. Best regards, Konstantin Kolinko --

Re: Logging hostname/virutal name in the log

2010-10-19 Thread Konstantin Kolinko
2010/10/19 Mohit Anchlia : > Currently we use proxy and x-forwarded. Proxy uses snat so when it > gets logged we see something like: > > 10.128.1.5 65.204.229.11 - - [14/Oct/2010:22:29:49 -0700] POST > /adi.cgi HTTP/1.1 200 753 > > > 10.128.1.5 is proxy's ip > 65.204.229.11 is browser client ip > >

Re: Tomcat cluster error (null pointer except) on NioReceiver.java:266

2010-10-22 Thread Konstantin Kolinko
post your server.xml next time, please remove all the comments. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Rotating Tomcat-Logs

2010-10-22 Thread Konstantin Kolinko
s welcomed (webapps/docs/logging.xml) > There is already a lot of scattered information on this topic in the > archives of this list, but to my knowledge nothing really comprehensive at > one single location. > > Would you like to work at

Re: Can not load daemon jsvc tomcat-juli.jar

2010-10-22 Thread Konstantin Kolinko
li.jar in your classpath. (In 6.0 it was implicitly included through the manifest of bootstrap.jar) Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: org.apache.tomcat.jni.Poll programming question

2010-10-22 Thread Konstantin Kolinko
m the source code (it is network.c) it looks like -1 wouldn't be a valid value for nbytes argument, so the javadoc in Socket.java is wrong here. > Couldn't find any sample code that could enlighten these questions. > Tomcat sources? > Regards, francesc > [1] http://svn.

Re: How to start a daemon without getting the warning?

2010-10-27 Thread Konstantin Kolinko
s not allow to GC it. Note, that the webapp classloader cannot be used anymore once the application is stopped. Any attempt to load classes through it will fail. Best regards, Konstantin Kolinko - To unsubscribe, e-mai

Re: How to start a daemon without getting the warning?

2010-10-27 Thread Konstantin Kolinko
2010/10/28 Leon Rosenberg : > Hello Konstantin, > > On Wed, Oct 27, 2010 at 11:53 PM, Konstantin Kolinko > wrote: >> 2010/10/28 Leon Rosenberg : >>> >>> Well, that would just move the problem from stopping Timer to calling >>> shutdown on  Executor, w

Re: Can't disable caching of static content

2010-10-28 Thread Konstantin Kolinko
> What are your evidences? Note that, because of those anti** options in your Context, your content is copied to some temporary directory and is served from there and not from webapp/. Best regards, Konstantin Kolinko - T

Re: running tomcat6 under a different user than root (debian)

2010-10-29 Thread Konstantin Kolinko
2010/10/29 Christoph Kukulies : > How can I run tomcat under a different user than root (debian e.g.)? > How do you run it now? Nobody should run Tomcat as root. Best regards, Konstantin Kolinko - To unsubscribe, e-mail:

Re: Tomcat 5.5: how doesone configure an authenticator valve?

2010-11-02 Thread Konstantin Kolinko
/waffle.codeplex.com/SourceControl/changeset/view/52761#1097376 Are there any interesting messages in the log filess already? Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Tomcat 5.5: how doesone configure an authenticator valve?

2010-11-02 Thread Konstantin Kolinko
omcat doesn't get a chance to > render it's custom 401 page, but I might be speculating. IIRC, this behaviour was tracked as bug 42409. It was fixed by the following commit: http://svn.apache.org/viewvc?view=revision&revision=721921 The fix was not backported to 5.5.

Re: How to stop tomcat to be run more than two times.

2010-11-03 Thread Konstantin Kolinko
-1 and is identical on the second attempt, > it won't be able to bind to the port and will not start. > Adding to the above, Set a value for the CATALINA_PID environment variable. You may do so in the bin/setenv.sh file. You may want to get the latest /bin/*.sh files from svn,

Re: web.xml cant load because of

2010-11-04 Thread Konstantin Kolinko
not the default configuration. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: filter order question

2010-11-04 Thread Konstantin Kolinko
s mapped with are called second. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Secondary instance of Tomcat on single server does not process requests

2010-11-04 Thread Konstantin Kolinko
2010/11/4 Ari King : > |-- conf >     |-- server.xml >     |-- web.xml Those two files are not sufficient. Note, that the conf folder is read only from the second instance. (The files in CATALINA_HOME\conf are never read). - To

Re: Difference in behavior between Tomcat 6.0.18 and 6.0.20

2010-11-04 Thread Konstantin Kolinko
2010/11/4 Nagulapalli, Srinivas : > Forgot to put contents of application's context.xml. Still no difference > in contents between 6.0.18 and 6.0.20- same file listed under > %TOMCAT_HOME%\conf\Catalina\localhost\MYPROJECT.xml for both versions > A lot is wrong with your context file. Please read

Re: Difference in behavior between Tomcat 6.0.18 and 6.0.20

2010-11-04 Thread Konstantin Kolinko
ment is not supported. >                        type="javax.sql.DataSource" >                description="MYPROJECT Application Database"/> OK, but you will want to add other properties (such as driver, connection url, username, passw

Re: Tomcat as Windows service - I can't set more than 768 Mb of memory

2010-11-08 Thread Konstantin Kolinko
2010/11/9 icarrara : > > because with values great than 768 the service don't starts. > Discussed about a month ago: http://markmail.org/thread/xwpedx67fjpdeczt - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For ad

Re: setenv.sh in an individual tomcat catalina base

2010-11-09 Thread Konstantin Kolinko
e scripts. I do not know how old your Tomcat version is. You may look at your catalina.sh for yourself. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Single webapp multiple contexts

2010-11-09 Thread Konstantin Kolinko
2010/11/9 Christopher Schultz : > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Mark, > > On 11/9/2010 12:49 PM, Mark Thomas wrote: >> On 09/11/2010 17:30, Rob Gregory wrote: >> >>> I have tried what you suggest but the result is that each context >>> defined in CATALINA_BASE/conf// get >>> d

Re: Error in configuring JDBC Datasource

2010-11-14 Thread Konstantin Kolinko
Exception >        at (...) > Caused by: java.lang.NullPointerException >        at java.lang.Class.forName0(Native Method) >        at java.lang.Class.forName(Class.java:247) >        at > org.apache.tomcat.jdbc.pool.PooledConnection.connectUsingDriver(PooledConnection.java:195) >    

Re: Tomcat 6.0.29 using more and more RAM until it collapses?

2010-11-14 Thread Konstantin Kolinko
ng a "Troubleshooting" section in the wiki, (or maybe call it "Troubleshooting and Diagnostics" now), and collect there pages with various recipes where to look for information and what to do to. Stating with where to look for TC version, and where the TC logs are, and what t

Re: Problem in accessing jsp:useBean

2010-11-15 Thread Konstantin Kolinko
2010/11/15 Rekha Ravi Pai : > The value for the useBean class attribute PasswordEncryptService is invalid. According to your description, your class name is "beans.PasswordEncryptService". - To unsubscribe, e-mail: users-unsubscr

Re: Configuring users

2010-11-15 Thread Konstantin Kolinko
2010/11/15 Noah, Craig [USA] : > When I try to browse to the manager web > application at http://localhost:8084/manager/, I get a 404 report stating > the requested resource is not available. That URL is incomplete. Try http://localhost:8084/manager/html Best regards, Konstanti

Re: After manager says that there was a leak, how to use a profiler?

2010-11-15 Thread Konstantin Kolinko
ipse MAT, [1] http://www.eclipse.org/mat/ [2] http://dev.eclipse.org/blogs/memoryanalyzer/2008/05/17/the-unknown-generation-perm/ Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For addi

Re: Problem with Tomcat windows service when user delete/changed

2010-11-17 Thread Konstantin Kolinko
2010/11/17 Tomislav Petrović : > After the did this Tomcat stopped working correctly. Default application and > doc are been served (localhost:8080/ and localhost:8080/docs) but no other > webapp (mine and several others) is working (getting 404s). > > I've checked user file premissions and all see

Re: Problem with Tomcat windows service when user delete/changed

2010-11-17 Thread Konstantin Kolinko
2010/11/17 Tomislav Petrović : > Konstantin Kolinko said on 17.11.2010 11:22: >> >> 2010/11/17 Tomislav Petrović: >>> >>> After the did this Tomcat stopped working correctly. Default application >>> and >>> doc are been served (localhost:8080/ a

Re: [OT] How to obtain the id of the current process

2010-11-17 Thread Konstantin Kolinko
are the two first results for 'java process PID' in Google:: [1] http://bugs.sun.com/view_bug.do?bug_id=4244896 (an RFE asking for tis feature, you can vote for it) [2] http://blog.igorminar.com/2007/03/how-java-application-can-discover-its.html Best regards,

Re: [OT] How to obtain the id of the current process

2010-11-17 Thread Konstantin Kolinko
ess) BTW, from all methods listed in the comments on [2] http://blog.igorminar.com/2007/03/how-java-application-can-discover-its.html I like the following: int pid = Integer.parseInt( ( new File("/proc/self")).getCanonicalFile().getName() ); There are othe

Re: Tomcat hung

2010-11-18 Thread Konstantin Kolinko
2010/11/18 Robillard, Greg L : > I continually get tomcat in this state and can only recover by restarting > tomcat from the command line.  Here is the stack trace that I gathered while > getting into this state, but it does not make any sense to me. > > Tomcat version apache-tomcat-6.0.26 > > OS

Re: Several hosts within one tomcat / catch-all problem

2010-11-19 Thread Konstantin Kolinko
n external file and use it in the server.xml as an XML entity. Like the example in http://wiki.apache.org/tomcat/FAQ/Password and use JMX or call mapper.addHostAlias(..) directly to add aliases programmatically at runtime. (though there is

Re: Problems installing Tomcat on Windows 2008

2010-11-19 Thread Konstantin Kolinko
r". (I see you did that). b) You cannot install the service twice with the same name. (The second and later attempts will fail with the same generic message as above). Try "service.bat remove" first. Verify that it is not listed as a service

Re: Servlet 2.5 SRV.14 and provision of JAX-WS

2010-11-20 Thread Konstantin Kolinko
icial API and can change without notice. Also it would be strange to provide servlets in JDK/JRE, because javax.servlet.* is not part of JRE API. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@

Re: Servlet 2.5 SRV.14 and provision of JAX-WS

2010-11-20 Thread Konstantin Kolinko
://download.oracle.com/javase/6/docs/api/overview-summary.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: Deployment issues

2010-11-20 Thread Konstantin Kolinko
calhost) while the app itself is unavailable. > I'd like to avoid reinstalling the whole tomcat server for such a mistake If it is some old release of tomcat6 (you are not mentioning which one), installing a newer version might be a good thing t

Re: Deployment issues

2010-11-20 Thread Konstantin Kolinko
apache.org/security-6.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: Several hosts within one tomcat / catch-all problem

2010-11-22 Thread Konstantin Kolinko
ot;/path/to/alias/file"/> > > Then in the start event function it is as simple as > "host.addAlias(subDomainName);" for each alias found in the aliases file. > > Does this make sense? > It does make sense. o.a.c.connector.MapperListener updates the map

Re: [ANN] New Tomcat committer: Christopher Schultz (schultz)

2010-11-22 Thread Konstantin Kolinko
2010/11/22 Mark Thomas : > On behalf of the Tomcat committers I am pleased to announce that > Christopher Schultz (schultz) has been voted in as a new Tomcat committer. > Welcome! Best regards, Konstantin Kolinko ---

Re: SSL No Certificate file specified or invalid file format

2010-11-23 Thread Konstantin Kolinko
ws that you are using the APR one. To configure it correctly: see docs. To disable it: a) remove bin\tcnative-1.dll b) remove line from server.xml. Best regards, Konstantin Kolinko - To unsubscribe, e-mail:

Re: SSL No Certificate file specified or invalid file format

2010-11-23 Thread Konstantin Kolinko
2010/11/24 Scott Li : > It works,  Thank you very much Konstantin Kolinko! > > I disabled APR by following these steps: >  a) remove bin\tcnative-1.dll >  b) remove   className="org.apache.catalina.core.AprLifecycleListener" > SSLEngine="on" /> line from se

Re: org.apache.jasper.util.Entry object Heap Size

2010-11-24 Thread Konstantin Kolinko
:24  8d5f2d6a > org/apache/jasper/util/Entry.class > > Yup, there it is. > > I'm trying to track down what happened to it. My svn-fu is not very good. > http://svn.apache.org/viewvc?view=revision&revision=1028396 Best regards, Konstantin Kolinko --

Re: Session Invalidate not working on HTTPS ( Tomcat 6.0.29 )

2010-11-30 Thread Konstantin Kolinko
printed by > a HttpSessionListener > post- get new: id=36BA1CCC7AEC8A9808027D57B6A5A52A > > In this case the session id is always the same! > Do you, by a chance, have emptySessionPath=true on your Connector? > I saw that between release 28 > and 29 the following class has b

Re: Session Invalidate not working on HTTPS ( Tomcat 6.0.29 )

2010-11-30 Thread Konstantin Kolinko
o see where that comes from. -> "manager.createSession(getRequestedSessionId());" call in o.a.c.connector.Request.doGetSession(..) > Thanks for the link, now i'm trying to debug in order to find some more > details for you experts. > > Thanks. > > 2010/11/30 Kon

Re: Session Invalidate not working on HTTPS ( Tomcat 6.0.29 )

2010-11-30 Thread Konstantin Kolinko
se its unique value of sessionid. Thus you can never share sessionid between them. Effectively, that is not far away from just setting emptySessionPath="false". http://tomcat.apache.org/tomcat-6.0-doc/config/http.html#Common_Attributes Best regards, Konstantin Kolinko ---

Re: New jsvc (commons-daemon-native); catalina.out is owned by root - WTF?

2010-11-30 Thread Konstantin Kolinko
nd ask/search on their mailing list (I do not see a changelog in their docs. Here is a JIRA link: https://issues.apache.org/jira/browse/DAEMON?report=com.atlassian.jira.plugin.system.project:changelog-panel Best regards, Konstantin Kolinko

Re: Session Invalidate not working on HTTPS ( Tomcat 6.0.29 )

2010-11-30 Thread Konstantin Kolinko
t regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: SSL Renegotiation

2010-11-30 Thread Konstantin Kolinko
pragmatism and security. > See "Java SE for Business". Those versions are available for money only. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For

Re: allow user to start / stop webapps but not to deploy

2010-11-30 Thread Konstantin Kolinko
See http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/webapps/manager/WEB-INF/web.xml?view=markup for how the roles will be configured in the next tc6.0.x version. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-

Re: automatic deployment without server.xml - bad request

2010-12-02 Thread Konstantin Kolinko
ng of my classes. > BUT! > Each request to the application will throw immediately a HTTP error 400 - bad > request. Try with recent 6.0.x (build it yourself), or 6.0.30 (when it comes out), or 7.0.5 -- they will log such requests into AccessLog. Usually it means that this request was re

Re: [ANN] New Tomcat committer: Sylvain Laurent (slaurent)

2010-12-02 Thread Konstantin Kolinko
2010/12/2 Mark Thomas : > On behalf of the Tomcat committers I am pleased to announce that Sylvain > Laurent (slaurent) has been voted in as a new Tomcat committer. > > Please join me in welcoming him. Welcome, Sylvain! Best regards, Konsta

Re: Accident: After app in one tomcat is deleted, the same app in another tomcat is disappeared.

2010-12-02 Thread Konstantin Kolinko
xml files from ${catalina.base}/conf/Catalina/localhost. That also will cause undeployment. Anyway, when Tomcat autodeploys or undeploys a webapp, it prints relevant messages in its logs. Best regards, Konstantin Kolinko -

Re: war file question

2010-12-06 Thread Konstantin Kolinko
u will find an index.html there. (ROOT is the special name for the default webapp on Tomcat). 3. There should be tutorials for beginners somewhere. (One is that Pid mentioned). You should really go step-by-step with a one of them once. The links to the official specifications can be found

Re: Tomcat dying on its own

2010-12-06 Thread Konstantin Kolinko
he stop event happens. The stack traces for the normal shutdown sequence and for the shutdown hook will be different. The Linux out-of-memory killer was already mentioned. BTW, you are not alone: such a thread happens here every 4-6 months. Best regards, Konstantin Kolinko ---

Re: what ist $CATALINA_HOME/server ? (debian)

2010-12-07 Thread Konstantin Kolinko
he.org/migration.html You can get youself a fresh copy of TC 5.5 from [3] and compare. [3] http://tomcat.apache.org/download-55.cgi Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Issues on startup for tomcat 5.5 on RHEL 5.5

2010-12-07 Thread Konstantin Kolinko
"true" by default). > cat /etc/tomcat5/tomcat-users.xml This file is not in "/usr/share/tomcat5/conf/" Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.a

Re: Getting hold of an IP address

2010-12-08 Thread Konstantin Kolinko
either of these classes > ServletRequest.getRemoteAddr() (In a Filter. There is no request in HttpSessionListener). Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additiona

Re: Issues on startup for tomcat 5.5 on RHEL 5.5

2010-12-08 Thread Konstantin Kolinko
t file. (In Tomcat 6+ readonly flag is "true" by default). >> [1] http://tomcat.apache.org/tomcat-5.5-doc/jndi-resources-howto.html#UserDatabase_Resources Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Setting listings=true on a per context basis

2010-12-09 Thread Konstantin Kolinko
Though in Tomcat there is $CATALINA_BASE/conf/web.xml that is used as the default, and it applies to such applications. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional

Re: Tomcat starts many java processes

2010-12-09 Thread Konstantin Kolinko
2010/12/9 Sujit Kale : > When I start tomcat it should start only 1 java process. But in my case it > starts 8-10 processes. The ps command on some versions of Linux shows threads as processes. It is mentioned in the FAQ, http://wiki.apache.org/tomcat/FAQ/Linux_Unix#Q1 --

<    12   13   14   15   16   17   18   19   20   21   >