Re: Tomcat 7.0.33 manager - 403 Access Denied

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

Re: Tomcat 7.0.33 manager - 403 Access Denied

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

Re: Question on servlet determination

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

Re: Question on servlet determination

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

Re: Tomcat 7.0.39 windows service setenv not used

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

Re: getting the request that created the session

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

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

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

Re: Multiple tomcat containers or instance on same servers

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

Re: NoSuchMethodError loading class in webapp from common class loader

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

Re: Monitoring Tomcat - Delta Values

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

Re: Catalina.policy java.security.AllPermission

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

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

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

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

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

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

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

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

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

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

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

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

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

Re: Non-invasive configuration by extension?

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

Re: 6.0.16 vs 6.0.37 puzzle

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

Re: Parameterized the server.xml

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

Re: WebSocket API JSR 356 in Tomcat 7

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

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

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

Re: NPE in coyote InternalNioOutputBuffer

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

Re: Tomcat 6 and Windows Service

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

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

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

Re: Unable to download junit dependency to test 7.0.41

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

Re: mod_jk worker activation not working anymore in 1.2.37?

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

Re: Customizing SSL in HttpClient

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

Re: Customizing SSL in HttpClient

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

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

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

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

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

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

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

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

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

Re: JSP in Static Resources

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

Re: JSP in Static Resources

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

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

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

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

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

Re: tomcat 5.5.34

2013-07-14 Thread Konstantin Kolinko
uldn't link to online docs. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Tomcat Concurrency

2013-07-15 Thread Konstantin Kolinko
bie way) to do so. Without seeing your actual configuration and your actual code it is impossible to provide any review. If congestion were at Tomcat side, as when several threads are waiting for the same resource, it would be easy to spot the place by taking a pair of thread dumps (see wiki -> FAQ -> Troubleshooting). Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: FAIL - Deploy Upload Failed, Exception: Error invoking method check

2013-07-19 Thread Konstantin Kolinko
2013/7/19 Jonathan Rosenberg : > People, > > I am using > > Apache Tomcat/7.0.221.6.0_20-b20Sun Microsystems Inc. > Linux 2.6.34.7-56.40.amzn1.i686 i386 > > on an AWS EC2 instance. > > This is a staging server & for many months now it has been running 2 > small, ligh

Re: SingleSignOn valve enabled by default?

2013-07-19 Thread Konstantin Kolinko
2013/7/19 Chao Wang : > > > > Hi all, > > I have an issue with SSO configuration in tomcat 7.0.42. > > According to the doc [1], it requires to enable SSO valve inside > server.xml. However, without making such modification, I deployed two > web-app test.war and test2.war (see attached file). Then

Re: /META-INF/context.xml seemingly ignored

2013-08-04 Thread Konstantin Kolinko
Catalina directory is not empty). > > As expected for Tomcat 8. copyXML is false by default. > > (Yes the default has changed again.) Huh? The copyXML is false by default in Tomcat 7 as well. I do not see any change here. It might be good time to start migration guide page for

Re: Responses of two different requests concatinated

2013-08-07 Thread Konstantin Kolinko
ml There is also exists a known issue in Java ImageIO API, https://wiki.apache.org/tomcat/FAQ/KnownIssues#ImageIOIssues There also exists CVE-2013-2071 (fixed in 7.0.40). Best regards, Konstantin Kolinko - To unsubscribe, e

Re: Request for admittance to ContributorsGroup

2013-08-22 Thread Konstantin Kolinko
). > > Could someone admit me to ContributorsGroup ? My wiki user is LucaVisconti. > Done. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Migrating from GlassFish to Tomcat 7

2013-08-22 Thread Konstantin Kolinko
a web application (and not by Java itself during its startup) can also be added to conf/catalina.properties file. http://tomcat.apache.org/tomcat-7.0-doc/config/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: Having trouble with common.loader

2013-08-22 Thread Konstantin Kolinko
2013/8/22 Daniel Mikusa : > On Aug 21, 2013, at 4:09 PM, David kerber wrote: > >> Basically you're trying to defeat the way the system is designed to work. >> Don't do that… > > +1 Don't do what you've described unless you have a very good reason. It > will cause you many headaches. > > Keep a

Re: Tomcat 7.0 logging on different platforms

2013-08-22 Thread Konstantin Kolinko
s service wrapper (Apache Commons Daemon procrun) logs them to separate files. > Also, how would you stop logging to the 'catalina.out' file. It gets > unusably gigantic within a few days. > Just do not write to the console. http://tomcat.apache.org/tomcat-7.0-doc/lo

Re: Having trouble with common.loader

2013-08-22 Thread Konstantin Kolinko
2013/8/22 D C : > On Thu, Aug 22, 2013 at 11:48 AM, Konstantin Kolinko > wrote: > >> 2013/8/22 Daniel Mikusa : >> > On Aug 21, 2013, at 4:09 PM, David kerber wrote: >> > >> >> Basically you're trying to defeat the way the system is designed to &

Re: Encoding post data on Tomcat 7 using 2.0.3 corrupted

2013-08-26 Thread Konstantin Kolinko
the FAQ. http://wiki.apache.org/tomcat/FAQ/CharacterEncoding and http://tomcat.apache.org/tomcat-7.0-doc/config/filter.html#Set_Character_Encoding_Filter 2. Try to run with a debugger http://wiki.apache.org/tomcat/FAQ/Developing#Debugging with a breakpoint in org.apache.catalina.connector.Request#p

Re: [OT] Tunneling an arbitrary protocol via SSL/TLS

2013-09-10 Thread Konstantin Kolinko
ntication by client certificate there, but it looks that it is possible (SSLProxyMachineCertificateFile). http://httpd.apache.org/docs/2.4/mod/mod_ssl.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: Problem with tomcat SSL / HTTPS not working.

2013-09-11 Thread Konstantin Kolinko
2013/9/11 Prashant Shinde : > Hi > > > > We are facing problem with Tomcat HTTPS. We are using Apache Tomcat Version > 6.0.24. > > > > Please find attached server.xml. When we access tomcat URL using https it > says “Page not Found” and otherwise with just http it works fine. > > > > Please let us

Re: Registering Plugins, e.g. javax.imageio...

2013-09-11 Thread Konstantin Kolinko
e Webapp classloader would be bad, as it leads to PermGen memory leaks. The above is just a theoretical recommendation. I do not know how ImageIO manages those classes internally. BTW, beware of known issue, mentioned in the FAQ, http://wiki.apache.org/tomcat/FAQ/KnownIssues#ImageIOIssues

Re: too many apache digester logs

2013-09-13 Thread Konstantin Kolinko
If any of libraries used by your web application have such "logging.properties" file, it will interfere with webapp's logging configuration. I have seen such a broken library once. Logging can also be reconfigured at runtime via java.util.logging API. Try to (un

Re: 8.0.0 RC1: WebSocket ServerContainer servlet context attribute gets set too late.

2013-09-13 Thread Konstantin Kolinko
f those, then you can specify absolute ordering in your web.xml or relative ordering in your web-fragment.xml. If it does not work with Tomcat then file an issue. If specification does not cover the ordering, or you do not want to configure it, then you have to fall back to using a ServletConte

Re: too many apache digester logs

2013-09-16 Thread Konstantin Kolinko
.logging.manager" and "-Djava.util.logging.config.file" arguments to the JVM that it launches for Tomcat. Those are configurable. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Tomcat7.0.42 shutdown problems

2013-09-19 Thread Konstantin Kolinko
wn command (configured on element in server.xml) there. That is what happens when you run "catalina.bat stop" or "shutdown.bat". See http://tomcat.apache.org/tomcat-7.0-doc/config/server.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: Getting error 403 forbidden while using HTTP PUT method

2013-10-03 Thread Konstantin Kolinko
It is usually used from Ant tasks. http://tomcat.apache.org/tomcat-8.0-doc/manager-howto.html b) WebDAV servlet. http://tomcat.apache.org/tomcat-8.0-doc/api/org/apache/catalina/servlets/WebdavServlet.html Best regards, Konstantin Kolinko

Re: Please kindly give my user access to edit wiki page

2013-10-15 Thread Konstantin Kolinko
2013/10/15 Hyve Info : > Hi Guys, > > > > We are a hosting company and have been hosting Tomcat applications in our > data center for clients globally since 2001. We live and breath Tomcat. > > Could you please kindly give my wiki user Jon Lucas access to edit this page > so we can add our page to

Re: Tomcat Native 1.1.29 source download

2013-10-15 Thread Konstantin Kolinko
. If a mirror is misbehaving, you can choose another one, http://www.apache.org/mirrors/ Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Please kindly give my wiki user access to edit wiki page

2013-10-16 Thread Konstantin Kolinko
be possible, but related help differs in different versions of MoinMoin. Thus I think it can break when the wiki engine is upgraded, and thus is not worth trying for a recently created account.) Best regards, Konstantin Kolinko ---

Re: can't connect to manager application

2013-10-18 Thread Konstantin Kolinko
be configured). See [1]. As Martin Gainty noted, it seems that there is quite a number of errors in how OP's web applications are deployed. All allowed attributes are documented in [1]. [1] http://tomcat.apache.org/tomcat-7.0-doc/config/context.html#Defining_a_context Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: can't connect to manager application

2013-10-20 Thread Konstantin Kolinko
ory of the server. (Thus you have better control over deployed applications, but with more work to configure them.) deployXML="false" and running with SecurityManager are usually used together. If you omit the latter, a rogue web application can reconfigure Tomcat via reflection. If you

Re: User cannot edit wiki pages

2013-10-21 Thread Konstantin Kolinko
annoying. > So people get annoyed after a while, and they end up telling you so. > > - > > Hi, > I have now read the rules. Thanks for helping me. > Jon > Access granted for JonLucas Best regards, Konstantin Kolinko --

Re: Servlet init method called multiple times

2013-10-23 Thread Konstantin Kolinko
s that a new servlet instance is initialized each time. 4) Autodeployment process usually runs every 10 seconds and may trigger redeploy or reload of a web application. (It does not match your "every 5 seconds" log messages nor those thread names.) Best regards, Konstantin Kolinko

Re: Tomcat 6.x crashes on tcnative-1.dll

2013-10-23 Thread Konstantin Kolinko
2013/10/23 Teng Khoo : > Hi Chris, > > We use the ISAPI redirector plugin for load balancing and fronting with IIS > Web server. Currently, we do not use SSL. > > I am not sure if the ISAPI internally uses or is dependents on the APR. > > Attached is the full core dump file. > The rules: http://

Re: regarding maven tomcat7 plugin

2013-10-23 Thread Konstantin Kolinko
king > please suggest . i am stuck > >http://localhost:8080/manager/text 1. Is your server running at localhost? 2. What is in Tomcat's access log? (Does Tomcat log that Maven tries to access it?) 3. How it fails? What is reported by Maven? 4. Have you restarted the server af

Re: Apache 7, Logrotate

2013-10-25 Thread Konstantin Kolinko
mcat java process). If a system is configured properly, this file is usually empty. 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 7, Logrotate

2013-10-25 Thread Konstantin Kolinko
gt; > Hi, > thank you for your reply. No I don't have that option active. > Tomcats seems to have a pointer to the log-files. > So after renaming or move it still writes in them. Is that correct? If so > another folder will not help!? Yes, it won't help. Likewise, deleti

Re: Tomcat 7.0.47 Websocket + JNDI problems

2013-10-27 Thread Konstantin Kolinko
.getContextClassLoader() there? If the class loader is not a o.a.c.loader.WebappClassLoader one, I think it is OK to create a bugzilla issue. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: com.amazonaws.services.dynamodb.sessionmanager.DynamoDBSessionManager

2013-10-31 Thread Konstantin Kolinko
how to deal with class loaders. It is their bug (or feature). 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 getting stopped when idle

2013-10-31 Thread Konstantin Kolinko
ver.stop(StandardServer.java:744) > at org.apache.catalina.startup.Catalina.stop(Catalina.java:628) > at > org.apache.catalina.startup.Catalina$CatalinaShutdownHook.run(Catalina.java:671) Here you already have the stacktrace. It starts with &qu

Re: Tomcat getting stopped when idle

2013-11-01 Thread Konstantin Kolinko
2013/11/1 Vidyadhar : > On 1 Nov 2013 00:52, "Konstantin Kolinko" wrote: >> >> 2013/10/31 Vidyadhar : >> > Hi, >> > >> > We are facing some weird issue in our Tomcat environment. After starting >> > the Tomcat process on one of our Sol

Re: How to force undeployOldVersions ?

2013-11-02 Thread Konstantin Kolinko
ackages are usually rather old. Looking at that error message it seems that yours does not have this feature. What x.y.z version of Tomcat is that? You need Tomcat 7.0.32 or later. http://tomcat.apache.org/oldnews-2012.html#Tomcat_7.0.32_Released Best regards, Konstantin Kolinko --

Re: Custom Authenticators

2013-11-04 Thread Konstantin Kolinko
ctxt.getPipeline().addValve(new DigestAuthenticator()); Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: [External] Re: Custom Authenticators

2013-11-04 Thread Konstantin Kolinko
2013/11/5 Steve Appling : > > Konstantin Kolinko wrote on 11/04/2013 03:11:52 > PM: > >> From: Konstantin Kolinko >> To: Tomcat Users List >> Date: 11/04/2013 03:10 PM >> Subject: [External] Re: Custom Authenticators >> >> 2013/11/4 Steve Appl

Re: WARs getting re-extracted in DST change?!?

2013-11-04 Thread Konstantin Kolinko
oyment / undeployment messages in the logs. Maybe the check was performed during the DST change and the times for one web application were inconsistent. Do you need autoDeploy="true" if you manually modify the deployed applications? B

Re: how to reply

2013-11-06 Thread Konstantin Kolinko
r example, there are numerous archives of these lists, managed by third parties. Have you searched those for previous threads on this subject? Anyway, Nabble provides forum GUI for these lists. Maybe there are other similar serv

Re: Bin Folders

2013-11-06 Thread Konstantin Kolinko
l. The *.exe and *.dll files are specific to processor architecture. The rest of the files are not, Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Host appBase

2013-11-08 Thread Konstantin Kolinko
deploy-on-startup. If they see you app in appBase, they will try to deploy it. If at the same time the same application is also deployed manually with an explicit docBase then you may end up with two copies of the same app. Too many people got that wrong in the past, thus such warning

Re: Tomcat setting as a service after installing the binaries

2013-11-11 Thread Konstantin Kolinko
> [2013-11-11 14:42:44] [info] Commons Daemon procrun finished. > [2013-11-11 14:42:52] [info] Commons Daemon procrun (1.0.2.0) started 1. Your OS = ? 2. How old is your version of Tomcat 6 that it uses Commons Daemon 1.0.2? The current version of Commons

Re: Regd: Logging issue in apache tomcat 7.0.42

2013-11-13 Thread Konstantin Kolinko
2013/11/13 Shashank Gvs : > Hi, > > I wanted to have logging in tomcat, but currently using > juli/java.util.logging i am having a file with date in it (for example > catalina.11.12.2013.log) , i am unable to remove date as my additional > requirement is that i have to include daily rollover of the

Re: EL 3.0 Streams Edge Case - Am I wrong or is Tomcat wrong?

2013-11-17 Thread Konstantin Kolinko
.sorted((u1, u2) -> u1.lastName.compareTo(u2.lastName) == 0 ? > u1.firstName.compareTo(u2.firstName) : u1.lastName.compareTo(u2.lastName)) >.toList()} > > And now I get this lovely error: > > javax.el.ELException: java.lang.NumberFormatException: For input string: &g

Re: Deployment Problem - behavior changed from 5.x to 7.x

2013-11-17 Thread Konstantin Kolinko
here: http://tomcat.apache.org/tomcat-7.0-doc/manager-howto.html#Deploy_A_New_Application_from_a_Local_Path There exist Ant and Maven front-ends (HTTP clients) for that API which are documented elsewhere. > But our deployment process needs it to be done via web interface. Why?

Re: EL 3.0 Streams Edge Case - Am I wrong or is Tomcat wrong?

2013-11-18 Thread Konstantin Kolinko
2013/11/17 Nick Williams : > > On Nov 17, 2013, at 6:00 AM, Konstantin Kolinko wrote: > >> 2013/11/17 Nick Williams : >>> I have an EL 3.0 edge case that I need help understanding. Am I doing >>> something wrong (I don't think so) or is the Tomcat 8.0

Re: EL 3.0 Streams Edge Case - Am I wrong or is Tomcat wrong?

2013-11-18 Thread Konstantin Kolinko
stName)) >>>>> .toList()} >>>>> >>>>> And now I get this lovely error: >>>>> >>>>> javax.el.ELException: java.lang.NumberFormatException: For input string

Re: Issue with cgi/perl webpage

2013-11-19 Thread Konstantin Kolinko
e to use Perl with Apache Tomcat (as well as to start external programs from within Java), using it with Apache HTTPD would provide better performance. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Visible passwords in realm

2013-11-20 Thread Konstantin Kolinko
2013/11/20 : > Hi all, > > Is there any way to not have the password visible in the realm for example > for active directory realm? > > debug="99" > connectionURL="ldap://xxx:389"; > authentication="si

Re: JSP's always marked as outdated with Jar Scanner Component configured with “scanAllDirectories” and referenced Taglib in WEB-INF/classes/META-INF

2013-11-21 Thread Konstantin Kolinko
2013/11/21 : > Hi, > Please file an issue in Bugzilla against the Jasper component > consider the following (simplified) project configuration. > > web_base_jar (shared taglib etc.) > web_war (uses web_base_jar) > So, you have two projects in Eclipse IDE. The "war" project references "jar" proj

Re: 404 - Might there be something wrong with my permissions?

2013-11-21 Thread Konstantin Kolinko
gument. The code that makes that call is > ognl.OgnlRuntime.invokeMethod(OgnlRuntime.java:834) That is not Tomcat code. You should ask the authors of that OGNL library (and check whether you use the latest version of it). They are making that call with wrong arguments. The rest is from my general knowledge. Usually the calls to "checkPermission()" are performed only when you run with Java's SecurityManager being enabled. Try to enable it when you are running at home and see whether the error reproduces itself. (Or try to disable it in your production configuration and see how the error goes away). http://tomcat.apache.org/tomcat-6.0-doc/security-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: Tomcat slow during startup >= 7.0.28

2013-11-24 Thread Konstantin Kolinko
ince that will exclude every JAR from the >> annotation scan for matches to the SCIs. > > That seems to bring me down to less than one second again. > I will test that some more and see what breaks. > I updated the following page: http:/

Re: PUT large file to Tomcat 6/7

2013-11-24 Thread Konstantin Kolinko
t.apache.org/svn.html http://tomcat.apache.org/download-70.cgi#Source_Code_Distributions You may use the Manager web application as an example (webapps/manager, java/org/apache/catalina/manager). Best regards, Konstantin Kolinko

Re: HTTP cache control?

2013-11-25 Thread Konstantin Kolinko
urself. Don't want to edit > all your JSPs? How about slapping a Filter in front of them instead? > http://tomcat.apache.org/tomcat-7.0-doc/config/filter.html#Expires_Filter Best regards, Konstantin Kolinko ---

Re: IllegalStateException sending WebSocket message that worked a few months ago

2013-11-25 Thread Konstantin Kolinko
2013/11/25 Nick Williams : > I've written a simple Servlet/WebSocket client that sends a message over the > Session each time a GET request comes in. This worked a few months ago: > > @Override > protected void doGet(HttpServletRequest request, HttpServletResponse > response) >

Re: IllegalStateException sending WebSocket message that worked a few months ago

2013-11-25 Thread Konstantin Kolinko
2013/11/26 Nick Williams : > > On Nov 25, 2013, at 9:11 PM, Konstantin Kolinko wrote: > >> 2013/11/25 Nick Williams : >>> I've written a simple Servlet/WebSocket client that sends a message over >>> the Session each time a GET request comes in. This worked

Re: Logging Best Practices on RHEL

2013-12-03 Thread Konstantin Kolinko
not exist. I do not use Log4J nowadays (all my needs are covered by JULI and Apache Commons Logging), but I still like to use their terminology like "categories" and "appenders". Best regards, Konstantin Kolinko -

Re: Logging makes a grown man cry

2013-12-03 Thread Konstantin Kolinko
log of knowledgeable people that may occasionally help you. > > 3. Get rid of the empty localhost. file. > The configuration snippet that you provided does not have a "cluster" appender. Thus it does not matches your list of log files. Best regards, Konstantin Kolinko --

Re: Exception in CoyoteAdapter class

2013-12-04 Thread Konstantin Kolinko
how 30 minutes can come into a play here. With my guesses above an application should have failed with the first request. Is some form of single-sign-on configured between applications? Is 30 minutes the expiration time from single-sign-on (and not from webapp's session)? Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: mod_proxy not redirecting servlet redirect properly

2013-12-04 Thread Konstantin Kolinko
2013/12/5 Ponmani : > Hi > > > > I am very new to mod_proxy. Gone thru some tutorials and configured > mod_proxy. Everything works great except this issue. Couldn't solve even > after spending hrs in googling. Issue is - I have apache 2 in front of tomcat > 6 (running in port 8080) in my interne

Re: Severe 7.0.47 startup performance regression

2013-12-05 Thread Konstantin Kolinko
e scanners to log whether or not a scan found > anything so they can be added to the appropriate jarsToSkip parameter? > I've only found that the TLD scanner does this unless I'm missing > something. > > Any other ideas? > Best regards, Konstantin Kolinko

Re: Transfer-Encoding: chunked not working

2013-12-06 Thread Konstantin Kolinko
ks as expected. The ErrorReportValve cannot send the error text to the client, because sending some data regardless of the content type of the response would be a bad thing. The ErrorReportValve could be changed to log the error, but the logg

<    15   16   17   18   19   20   21   22   23   24   >