Re: Should validationQuery commit ?

2014-04-18 Thread Daniel Mikusa
On Apr 18, 2014, at 5:05 AM, Franck Routier wrote: > Hi, > > we recently switched to tomcat-jdbc-pool as our connection pool, and > have since encountered performance problems with Postgresql. > The problem is due to the fact that postgres is having hard time > vacuuming, due to always ongoing

Re: Heartbeat Bug Update - Installation?

2014-04-18 Thread Daniel Mikusa
On Apr 18, 2014, at 9:02 AM, Keith Davis wrote: > https://issues.apache.org/bugzilla/show_bug.cgi?id=56363 > > > > I'm somewhat new to Tomcat. What do I need to do obtain this patch / update? > I'm running Apache Tomcat 7 on Windows. This is a good starting point. https://wiki.apache.org/t

Re: Tomcat 8 websocket example

2014-04-18 Thread Daniel Mikusa
On Apr 18, 2014, at 12:28 PM, Thom Hehl wrote: > I have downloaded the websocket example echo in the examples section of the > tomcat 8 docs. I downloaded both java classes and the xhtml file and have > placed all of these in my eclipse project. I then created a basic web.xml > which is: > >

Re: Configuring a JSR-356 Websocket

2014-04-21 Thread Daniel Mikusa
On Apr 21, 2014, at 9:58 AM, Thom Hehl wrote: > Tomcat 8/Ubuntu 12.04 > > I have my tomcat deployed with the example echo application. I wrote a tester > that hits the URL provided and sends a message and then receives the response > back. > > I want to deploy my own websocket. I have done so

Re: Application Deployment in Tomcat 7.X

2014-04-23 Thread Daniel Mikusa
On Apr 23, 2014, at 4:42 AM, Nitin Kumar wrote: > Hi Mark, > > Thanks for the quick reply. I will give you the example which we use > > Application1 is deployment in tomcat and up and running. We want to install > application2. Following are the steps: > > Stop Tomcat > Install application2 vi

Re: Regarding i think an intrusion

2014-04-29 Thread Daniel Mikusa
On Apr 29, 2014, at 12:08 PM, Leonardo Santagostini wrote: > Hello list, > > Im facing an issue in 6 tomcat server that are getting penetrated and they > are executing malicious scripts on my server. Can you share more about what they are doing? It might give some clues as to how they are ac

Re: OpenSSL and keytool misery

2014-05-01 Thread Daniel Mikusa
On May 1, 2014, at 7:56 AM, Christopher Schultz wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > All, > > I've been trying to convert an OpenSSL-generated key and certificate > into a keystore for use with Tomcat. I had given up on this months ago > and now I'm resuming my attemp

Re: Reg: Connection pool

2014-05-02 Thread Daniel Mikusa
On May 1, 2014, at 10:29 PM, Anu Prab wrote: > Hi, > > We are using Tomcat 7.0.40 version. We are using Tomcat DBCP for pooling > connections. > > We are able to pool connections for different aliases. But for one alias, > connections are not pooling. The user and password is good because the s

Re: BLOCKED threads

2014-05-05 Thread Daniel Mikusa
On May 3, 2014, at 9:08 PM, Rallavagu wrote: > Here is the thread BLOCKED waiting on another lock. > > "http-bio-28080-exec-613" daemon prio=10 tid=0x7fcbac0e0800 nid=0x7897 > waiting for monitor entry [0x7fcb915d3000] > java.lang.Thread.State: BLOCKED (on object monitor) >at

Re: Reg: Connection pool

2014-05-05 Thread Daniel Mikusa
On May 5, 2014, at 1:15 AM, Anu Prab wrote: >>> Hi, >>> We are using Tomcat 7.0.40 version. We are using Tomcat DBCP for pooling connections. We are able to pool connections for different aliases. But for one alias, connections are not pooling. The user and password is

Re: Installing Examples Apache Tomcat (TomEE)/7.0.53 (1.6.0.1)

2014-05-05 Thread Daniel Mikusa
On May 5, 2014, at 1:57 PM, Nolan Cormier wrote: > Hi, > > I am trying to look for a way to install the examples that I should be able > to get to using the "Examples" link: > > > When I click the link I get a 404 which I'm assuming is because I don't have > them installed. Is there somethin

Re: Unable to unpack war under webapps

2014-05-06 Thread Daniel Mikusa
On May 6, 2014, at 9:25 AM, Rahul R wrote: > Hi > > I have put ROOT.war under webapps folder of tomcat. When I start the > instance I am getting the below error on catalina.out. > > INFO: Deploying web application archive /opt/tomcat-proxy/webapps/ROOT.war > May 06, 2014 6:28:22 PM org.apache.c

Re: Tomcat 8 Slow ?

2014-05-11 Thread Daniel Mikusa
On May 11, 2014 12:35 PM, "Akash Jain" wrote: > > Hi, > > i recently tried to migrate from tomcat 7.0.53 to 8.0.5 > > I did some StopWatch ( Spring class) tests to compare the performance > impact, and for same configurations, tomcat 8.0.5 showed its slightly slow > compared to 7.0.53 > > Did anyo

Re: Is Apache Tomcat v7/v8 compatible with Java v8

2014-05-14 Thread Daniel Mikusa
On May 14, 2014, at 2:44 AM, P Manchanda wrote: > Respected Tomcat Experts, > > I understand this would be a commonly asked question but I was not able to > reach any concrete solution by digging > around the net. > > We are planning to move to Apache Tomcat (probably the latest stable versio

Re: Increment XX:PermSize for Tomcat 7 on Windows 2012R2

2014-05-16 Thread Daniel Mikusa
On May 12, 2014, at 10:54 AM, Lorenzo Fini wrote: > Hi, > I'm trying to increment the PermSize on Tomcat 7. > I added -XX:PermSize in the java options launching tomcat7w, > causing Tomcat to not load and to give me the following error on Windows > Server 2012R2: > > Unrecognized VM option 'Perm

Re: AJP protocol with Apache Tomcat Version 7.0.52

2014-05-20 Thread Daniel Mikusa
On May 20, 2014, at 5:13 AM, ravishankar_d wrote: > Thanks Mark. > > So usage of AJP with BIO for Tomcat Version 7.0.52 should be fine. > Also is there any requirement to upgrade Apache webserver from 2.2.3? Requirement? Not to just make it work, but 2.2.3 is incredibly old. Unless you’re usi

Re: Why is my Tomcat connection getting terminated/closed?!!

2014-05-20 Thread Daniel Mikusa
On May 20, 2014, at 7:35 AM, Aniket Bhoi wrote: > I have Apache Solr,hosted on my apache Tomcat Server > > Details: > > Tomcat version: > Apache Tomcat/6.0.18 This is really, really old. You should upgrade. > > OS details > SUSE Linux Enterprise Server 11 (x86_64) > VERSION = 11 > PATCHLEVE

Re: Why is my Tomcat connection getting terminated/closed?!!

2014-05-20 Thread Daniel Mikusa
(or one of the other tests) enabled. If you didn’t have this before, you should consider adding it regardless of the problem. It can help with other things too. Dan > > > On Tue, May 20, 2014 at 5:12 PM, Daniel Mikusa wrote: > >> On May 20, 2014, at 7:35 AM, Aniket

Re: Why is my Tomcat connection getting terminated/closed?!!

2014-05-21 Thread Daniel Mikusa
On May 21, 2014, at 7:28 AM, Aniket Bhoi wrote: > On Tue, May 20, 2014 at 5:28 PM, Daniel Mikusa wrote: > >> On May 20, 2014, at 7:47 AM, Aniket Bhoi wrote: >> >>> It has been working perfectly fine thus far.As far as i have analysed >> there >>&g

Re: AJP protocol with Apache Tomcat Version 7.0.52

2014-05-21 Thread Daniel Mikusa
On May 21, 2014, at 2:28 AM, ravishankar_d wrote: > Hi Dan, > > We are using apache web server provided along with RHEL.So I believe we are > getting back port fixes. > In the threaddump we are seeing the below long running threads many times. At a quick glance it doesn’t seem like it would be

Re: AJP protocol with Apache Tomcat Version 7.0.52

2014-05-21 Thread Daniel Mikusa
On May 21, 2014, at 4:03 PM, pradeepgm wrote: >> At a quick glance it doesn’t seem like it would be problematic, just > reading data. > > The issue is there are 300 such threads waiting > > >> One way to test this is to disable the pooling (i.e. disablereuse=Off or >> JkOptions +DisableRe

Re: Adding user session id to access log with %S doesn't work?

2014-06-08 Thread Daniel Mikusa
On Jun 8, 2014 4:01 PM, "Fred Toth" wrote: > > Hi, > > This feature is in the doc since at least tomcat 5. I'm using tomcat 7.0.47 and I just tried to add the user session id to the access log by adding "%S" to the pattern attribute. However, it's not working. All I'm getting is "-" in the log. H

Re: Decoded URL set on asynchronous request

2014-06-09 Thread Daniel Mikusa
On Mon, Jun 9, 2014 at 8:46 AM, Jimmy Royer wrote: > Is there any information that I should add to this to get some help? > Any chance you could put together a sample app or unit test to replicate the problem? Ideally without third party components like CXF. It would make it easier someone on

Re: Generate static website based on user locale

2014-06-10 Thread Daniel Mikusa
On Tue, Jun 10, 2014 at 10:36 AM, Monty wig wrote: > Good Morning, > > I am trying to generate static website based on dynamic site running on > tomcat so I can take some load off my app servers. > > A twist here is that we are serving different pages based on user location > (Application has a l

Re: Size Based Rolling

2014-06-11 Thread Daniel Mikusa
On Wed, Jun 11, 2014 at 2:00 AM, N, Ravikiran wrote: > Tomcat uses log4j for its logging. This is not 100% correct. By default Tomcat does not use Log4j, it uses JULI [1] (for it's internal logging). It can use Log4j if you configure it to though [2]. Hence you can specify how logger should

Re: Using SSL with Tomcat

2014-06-27 Thread Daniel Mikusa
On Fri, Jun 27, 2014 at 11:48 AM, Jerome A. Wendell < jawend...@suddenlink.net> wrote: > I am new to Tomcat, and just recently installed it as a container to run > GeoServer. Everything is running fine, but now I have been asked to setup > GeoServer to run using SSL. An EV Certificate is already

Re: Using SSL with Tomcat

2014-06-30 Thread Daniel Mikusa
On Fri, Jun 27, 2014 at 4:52 PM, Jerome A. Wendell wrote: > From: Jerome A. Wendell [mailto:jawend...@suddenlink.net] > Sent: Friday, June 27, 2014 4:48 PM > To: 'Tomcat Users List' > Subject: RE: Using SSL with Tomcat > > > > From: Daniel Mikusa [mailto:dmi

Re: Error in DBCP Connection Pool with tomcat 6.x

2014-07-02 Thread Daniel Mikusa
On Wed, Jul 2, 2014 at 1:48 AM, Vijendra Pachoriya < vijendra.pachor...@indegene.com> wrote: > Hi Filip, > > This error comes at some point of time on production, when the server is > on load. > > I am using hibernate and not closing any connection manually, its all > managed by hibernate and tomc

Re: Help with Tomcat 7 clustering using BIO receiver

2014-07-03 Thread Daniel Mikusa
On Thu, Jul 3, 2014 at 12:04 PM, João Sávio wrote: > Hello! > > Using NIO (with channelSendOptions="4", i.e., synchronous), with lightly > load, my tests pass 100%. But, on heavy load, not all sessions are > replicated on time, > Define "on time". > and I have about 20% of errors. > Can you e

Re: Uppload war through manger fails

2014-07-07 Thread Daniel Mikusa
On Mon, Jul 7, 2014 at 5:46 AM, Baluta Vasile wrote: > Anyone know how this can be resolved? > > FAIL - Deploy Upload Failed, Exception: > org.apache.tomcat.util.http.fileupload.FileUploadBase$IOFileUploadException: > Processing of multipart/form-data request failed. > /home/evasiba/apache-tomcat

Re: Tomcat thread dump analysis

2013-05-08 Thread Daniel Mikusa
On May 8, 2013, at 8:20 AM, Charles Richard wrote: > Hi, > > We have a weird issue on our site which some random trigger event will > backup all c3p0 connections until it hits the max pool size. > > I have scripts that will do a softReset on the c3p0 connection pool when > they hit their max so

Re: Tomcat thread dump analysis

2013-05-08 Thread Daniel Mikusa
; wrote: > >> We are using Terracotta which is a bit of a black box to me (setup I've >> inherited). Terracotta helps us with the Tomcat sessions being >> "transportable" across front end servers. >> >> Cheers! >> Charles >> >> &g

Re: backslash URL encoding

2013-05-08 Thread Daniel Mikusa
On May 8, 2013, at 8:46 AM, Lutischán Ferenc wrote: > Dear Users, > > Tomcat 7.0.39. > > I have problem with the following url in firefox 20: > http://dictzone.com/english-german-dictionary/a\ (it resulted in the > http://dictzone.com/english-german-dictionary/a%5C request). Why do you have a

Re: Tomcat JDBC with PostgreSQL

2013-05-08 Thread Daniel Mikusa
On May 8, 2013, at 8:54 AM, Lutischán Ferenc wrote: > Dear Users, > > Tomcat 7.0.39. > > I have the following configuration in META-INF/context.xml: > > > driverClassName="org.postgresql.Driver" > factory="org.apache.tomcat.jdbc.pool.DataSourceFactory" initialSize="2" > maxIdle="20" maxA

Re: backslash URL encoding

2013-05-08 Thread Daniel Mikusa
t;index >/* > > >error404 >/error404 > > >error500 >/error500 > > > SimpleCachingHeadersPageCachingFilter > com.ys.cache.GzipCachingFilter > > suppressStackTrace > false

Re: Fix CVE tomcat 6.0.18 with out upgrade

2013-05-08 Thread Daniel Mikusa
On May 8, 2013, at 12:11 PM, suresh babu yella wrote: > We are using tomcat 6.0.18 and we found below number of Common > Vulnerabilities and Exposures (CVE). Not surprising given the version that you are using. Latest version is 6.0.37. > > High Vulns: 98 > > Medium Vulns: 50 > > Low Vulns:

Re: Fix CVE tomcat 6.0.18 with out upgrade

2013-05-08 Thread Daniel Mikusa
uld really consider upgrading. That will bring everything up-to-date in one step. Dan > > Thanks > Suresh > > > On Wed, May 8, 2013 at 10:11 AM, Daniel Mikusa wrote: > >> On May 8, 2013, at 12:11 PM, suresh babu yella wrote: >> >>> We are us

Re: backslash URL encoding

2013-05-09 Thread Daniel Mikusa
On May 9, 2013, at 11:05 AM, Lutischán Ferenc wrote: > Dear Dan, > > Thanks for your suggestion. > I tried it, but it didn't work for me (Tomcat started with parameter: > -Dorg.apache.tomcat.util.buf.UDecoder.ALLOW_ENCODED_SLASH=true). > In my tomcat log: > 127.0.0.1 - - [09/May/2013:15:34:54 +0

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

2013-05-17 Thread Daniel Mikusa
On May 17, 2013, at 4:07 PM, James Snider wrote: > From: James Snider > Sent: Friday, May 17, 2013 10:21 AM > To: 'users@tomcat.apache.org' > Subject: Apache Tomcat service has been shutting down/stopping randomly. > > Hi, > > I have installed Tomcat 7 What's the exact version that you have

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

2013-05-18 Thread Daniel Mikusa
otocol$AbstractConnectionHandler.process(AbstractProtocol.java:589) > at > org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:1852) >at > java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) >at java.util.c

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

2013-05-20 Thread Daniel Mikusa
On May 18, 2013, at 11:37 AM, James Snider wrote: > -Original Message- > From: Daniel Mikusa [mailto:dmik...@gopivotal.com] > Sent: Saturday, May 18, 2013 10:24 AM > To: Tomcat Users List > Subject: Re: Apache Tomcat service has been shutting down/stopping randomly. >

Re: NPE in SlowQuery

2013-05-20 Thread Daniel Mikusa
If you can reproduce with the latest version, then you might want to open a bug. Test cases and patches are always welcome. Dan > > On Tue, Apr 2, 2013 at 2:59 PM, Tomasz Kowalczewski < > tomasz.kowalczew...@gmail.com> wrote: > >> On Tue, Apr 2, 2013 at 2:43 PM, Danie

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

2013-05-20 Thread Daniel Mikusa
On May 20, 2013, at 10:51 AM, James Snider wrote: > Please see below the tomcat7-stderr.2013-05-20.log regarding the memory leak. > May 20, 2013 9:52:51 AM org.apache.catalina.loader.WebappClassLoader > clearReferencesThreads > SEVERE: The web application [] appears to have started a thread na

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

2013-05-20 Thread Daniel Mikusa
/wiki.apache.org/tomcat/MemoryLeakProtection Dan > > > -----Original Message- > From: Daniel Mikusa [mailto:dmik...@gopivotal.com] > Sent: Monday, May 20, 2013 12:51 PM > To: Tomcat Users List > Subject: Re: Apache Tomcat service has been shutting down/stopping randomly. > Imp

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

2013-05-20 Thread Daniel Mikusa
localhost.-MM-DD.log file? Dan > > > > -Original Message- > From: Daniel Mikusa [mailto:dmik...@gopivotal.com] > Sent: Monday, May 20, 2013 2:05 PM > To: Tomcat Users List > Subject: Re: Apache Tomcat service has been shutting down/stopping randomly. > > > On May 20, 201

Re: How to store session in database

2013-05-24 Thread Daniel Mikusa
On May 24, 2013, at 7:28 AM, 杨华杰 wrote: > Hi > > Basically I want to configure a tomcat cluster. > > I am using tomcat 6 and tomcat 7 and I want to store the session in > database. > > I am looking to this document > http://tomcat.apache.org/tomcat-6.0-doc/cluster-howto.html . But > unfortunate

Re: mem usage

2013-05-28 Thread Daniel Mikusa
On May 24, 2013, at 8:59 PM, dario iannaccone wrote: > Hi all, > afther starting tomcat I not that free memory of my VPS still near 0. > So it is normal this large usage of RAM? Hard to say. How much memory are you allocating to your Tomcat process? i.e. what JVM options like -Xmx and -Xms a

Re: jdbc connection pool, hanging threads and same physical connection usage

2013-05-28 Thread Daniel Mikusa
On May 27, 2013, at 7:40 AM, Huub Sepers wrote: > Hi, > > > > We are experiencing some problems while using the tomcat jdbc pool. > > > > Tomcat version: apache-tomcat-7.0.29 Try the latest version. Your's is pretty old. > > Pool settings: > > factory="org.apache.tomcat.jdbc.pool.Data

Re: Tomcat 6.x supporting classpath wildcards

2013-05-31 Thread Daniel Mikusa
On May 31, 2013 12:27 AM, "Urkens Jean-Pierre" < jean-pierre.urk...@devoteam.com> wrote: > > Hi, > > I'm porting a web application from SUN AS9 to Tomcat-6.0.37 to run on Sun Solaris 5.10 and I'm experiencing problems with classpath wildcards. > > The web application is using SPRING-3.0.4 and Hiber

Re: SlowQueryReport

2013-06-04 Thread Daniel Mikusa
On Jun 4, 2013, at 6:26 AM, Lutischán Ferenc wrote: > Dear Users, > > Please help to me: > How to get SlowQueryReport statistics? Usually these are logged as WARN messages. Unless you use SlowQueryReportJmx and then they are logged and sent as JMX notifications. > > I tried: > > Map map =

Re: Best practices for shared classloader use?

2013-06-04 Thread Daniel Mikusa
On Jun 4, 2013, at 11:36 AM, Don Asper wrote: > I am considering using the Tomcat 7 shared classloader to reduce the memory > footprint of my web apps. IMHO, don't do this unless… 1.) You are very, very sure what you are doing 2.) You've analyzed the memory savings that you'll achieve by

Re: SlowQueryReport

2013-06-05 Thread Daniel Mikusa
On Jun 5, 2013, at 4:10 AM, Lutischán Ferenc wrote: > Dear Daniel, > > Thanks for your reply. > My Tomcat version is 7.0.35. It is under CentOS 5.8. > > My datasource config is: > driverClassName="org.postgresql.Driver" > factory="org.apache.tomcat.jdbc

Re: SlowQueryReport

2013-06-06 Thread Daniel Mikusa
On Jun 6, 2013, at 4:04 AM, Lutischán Ferenc wrote: > Dear Daniel, Please don't top post. It makes it hard to follow the conversation. Either post your response inline, like I have been doing, or post below previous responses. > > Thanks. The slow query log works. :-)

Re: Strange tomcat error and running out of file handles

2013-06-24 Thread Daniel Mikusa
On Jun 24, 2013, at 4:32 PM, Tom Freestone wrote: > Hello, > We are running tomcat 6.0.36 (java build 1.6.0_31) on REHL5. It works most > of time except recently we started running out of files. Here is the error > I am getting: > > > Exception in thread "pool-1-thread-1" java.lang.IllegalMon

Re: Query on Tomcat 6.0

2013-06-26 Thread Daniel Mikusa
On Jun 26, 2013, at 4:48 AM, "Maradani, Someswara Rao" wrote: > Hi, > > Are there any technical risks with Tomcat 6.0 Which version? There are quite a few versions under the Tomcat 6.0.x branch. > going to continue the same till Nov 2014? See here for technical risks. https://tomcat.apache

Re: Http Request/Response logging in embedded tomcat

2013-07-09 Thread Daniel Mikusa
On Jul 9, 2013, at 8:42 AM, Supun Malinga wrote: > Hi guys, > > I have a requirement to monitor http request/response logs. We have a > embedded Tomcat 7. Could you please point out the options available to do > this?. How about the ExtendedAccessLogValve or RequestDumperFilter? https://tomcat

Re: Internal Server Error - Read

2013-07-10 Thread Daniel Mikusa
On Jul 10, 2013, at 3:04 AM, Arnab Ghosh wrote: > Hi All, > > I am receiving the following error message while accessing my application - > (apcahe web server + tomcat through Mod jk) Please indicate which versions of the software you are using. Apache HTTPD: Tomcat: Mod_jk: >

Re: Collision on port 8005 -- what to do about it?

2013-07-10 Thread Daniel Mikusa
On Jul 10, 2013, at 3:23 PM, James H. H. Lampert wrote: > We appear to be having, on a multi-IP-address system, a collision with port > 8005, causing Tomcat to crash on takeoff. > > Looking at server.xml, I see that 8005 is not mentioned in any "connector" > definition, but rather in this: >

Re: Collision on port 8005 -- what to do about it?

2013-07-10 Thread Daniel Mikusa
On Jul 10, 2013, at 3:56 PM, John Renne wrote: >> >> I know how to bind a connector to a specific IP address, but I know nothing >> about this. Neither do I know what would happen if, once Tomcat is up, we >> were to attempt to send a shutdown message in the usual way: would we shut >> Tomcat

Re: org.apache.catalina.util.SessionIdGenerator createSecureRandom consumes a lot of time, how to avoid it?

2013-07-11 Thread Daniel Mikusa
Try taking a look at "Entropy Source" here. http://wiki.apache.org/tomcat/HowTo/FasterStartUp Dan On Jul 11, 2013, at 3:16 AM, "Wan, Jian Ming (Jian Ming)" wrote: > Some time tomcat took a long time to start up. From the log, I can see. What > shall I do? > > Jul 10, 2013 1:01:12 PM org.a

Re: Number of logs files and encrypt manager passwd

2013-07-15 Thread Daniel Mikusa
On Jul 15, 2013, at 10:04 AM, Spencer Lamont R CONTR USSTRATCOM/J646 wrote: > To all: > > I am looking for the file in which to set the number of logs to keep. You can configure logging in "conf/logging.properties", however the default configuration does not offer a way to do what you ar

Re: Number of logs files and encrypt manager passwd

2013-07-15 Thread Daniel Mikusa
rg/tomcat-7.0-doc/config/realm.html#Memory_Based_Realm_-_org.apache.catalina.realm.MemoryRealm As a side note, I wouldn't suggest using either of these realms in production. For production deployments, you'd be better off using the JDBC or LDAP backed realms. Dan > > THX. > > -Original Mess

How to use the Manager interface

2013-07-17 Thread Daniel Nazarkiewicz
? Thank you Daniel

How to disable session completely

2013-07-17 Thread Daniel NAZARKIEWICZ
Hi, What is the procedure to disable entirely the session (JSESSIONID) within tomcat 7 ? Thank you Daniel - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h

Disable the session in tomcat

2013-07-17 Thread Daniel NAZARKIEWICZ
What is the procedure to disable entirely the session (JSESSIONID) within tomcat 7 ? Thank you Daniel - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h

Re: Disable the session in tomcat

2013-07-17 Thread Daniel NAZARKIEWICZ
Yes, i want to prevent session from being created because the sessions are not needed in my specific case, so no session at all in the cookie neither in the URL. Is this possible ? Daniel Le 17/07/2013 22:59, Christopher Schultz a écrit : -BEGIN PGP SIGNED MESSAGE- Hash: SHA256

Re: Enable session persistence between two tomcat nodes behind load balancer

2013-07-20 Thread Daniel Mikusa
On Jul 20, 2013, at 8:25 AM, vi...@thepenguin.org wrote: > Hello: > > I have been searching for an answer to how to set this up. I find a lot of > posts on session persistence but none seem to describe how to set it up. Is > there a simple explanation out there that tells me how I go about sett

Re: Cert

2013-08-02 Thread Daniel Mikusa
On Aug 2, 2013, at 7:33 AM, Kyle Shattuck wrote: > Hello, > I am using Tomcat 7 on a windows server 2012 build for this: > https://wiki.jasig.org/display/CASUM/Best+Practice+-+Setting+Up+CAS+Locally+using+the+Maven2+WAR+Overlay+Method > > I don't think SSL is not working correctly because every

Re: Cert

2013-08-02 Thread Daniel Mikusa
ertificate authority? Is this what you were talking about when you mentioned creating a keystore with a certificate from digicert in your original email? Or is the LDAP Server's certificate self signed? Dan > > Tomcat version:apache-tomcat-7.0.42 > > -Original Message-

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

2013-08-04 Thread Daniel Mikusa
On Aug 3, 2013, at 8:27 PM, Nick Williams wrote: > > On Aug 3, 2013, at 6:05 PM, Christopher Schultz wrote: > >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA256 >> >> Nick, >> >> On 8/3/13 2:54 PM, Nick Williams wrote: >>> I'm using Tomcat 8.0.0-RC1. Hopefully I'm just missing something >

Re: Auto-loading of the SQL Server JDBC Driver in 6.0.35

2013-08-05 Thread Daniel Mikusa
On Aug 4, 2013, at 2:14 PM, mw...@loftware.com wrote: >> From: Mark Eggers [mailto:its_toas...@yahoo.com] >> Sent: Friday, August 02, 2013 5:28 PM >> To: Tomcat Users List >> Subject: Re: Auto-loading of the SQL Server JDBC Driver in 6.0.35 >> >> On 8/2/2013 1:30 PM, mw...@loftware.com wrote: >>>

Tomcat 8 / Non Blocking IO

2013-08-07 Thread Daniel Mikusa
I have a questions regarding the Non Blocking API introduced in Tomcat 8. I'm looking at the TestNonBlockingAPI test as an example, specifically the NBReadServlet class. @WebServlet(asyncSupported = true) public class NBReadServlet extends TesterServlet { private static final long serialVers

Re: Tomcat 8 / Non Blocking IO

2013-08-07 Thread Daniel Mikusa
On Aug 7, 2013, at 1:36 PM, Mark Thomas wrote: > On 07/08/2013 17:14, Daniel Mikusa wrote: >> I have a questions regarding the Non Blocking API introduced in Tomcat 8. >> >> I'm looking at the TestNonBlockingAPI test as an example, specifically the >> NBReadS

Re: Altering ServerInfo.properties in Tomcat => ClassNotFoundException

2013-08-08 Thread Daniel Mikusa
On Aug 8, 2013, at 7:05 AM, "Edao, Aliye" wrote: > Dear all, > > Altering ${catalina_home}/lib/org/apache/catalina/util/ServerInfo.properties > because of information disclosure concerns (TC version number) > in apache-tomcat-6.0.37, apache-tomcat-7.0.40, apache-tomcat-7.0.42 and > Apache Tomc

Re: Downgrade Tomcat7 to Tomcat6

2013-08-08 Thread Daniel Mikusa
On Aug 7, 2013, at 9:53 PM, Sumilang Plucena wrote: > I have a development server Ubuntu12.10 and Tomcat-7.0.30. Are you installing from the Ubuntu repository or from the tomcat.apache.org download? If you're installing from an Ubuntu repository, I'd suggest that you don't. The versions t

Re: Downgrade Tomcat7 to Tomcat6

2013-08-09 Thread Daniel Mikusa
roblem. Dan > About the second question. I upgraded tomcat6 my first uninstalling it then > installing tomcat7 from the repository. > > Thanks for the reply. > > > > On Thu, 8/8/13, Daniel Mikusa wrote: > > Subject: R

Re: maxActiveConnections usage

2013-08-13 Thread Daniel Mikusa
On Aug 13, 2013, at 6:43 AM, "Smith, Mitchell" wrote: > Hi, > What version of Tomcat are you using? 6.0.x or 7.0.x? > I was looking at using the maxActiveConnections in the application context, Please include the relevant configuration from your server.xml or context.xml file. > what I fin

Re: maxActiveConnections usage

2013-08-13 Thread Daniel Mikusa
On Aug 13, 2013, at 9:33 AM, "Smith, Mitchell" wrote: > On 13 August 2013 13:24, Daniel Mikusa wrote: > >> On Aug 13, 2013, at 6:43 AM, "Smith, Mitchell" >> wrote: >> >>> Hi, >>> >> >> What version of Tomcat are you

Re: maxActiveConnections usage

2013-08-13 Thread Daniel Mikusa
ying to catch this? In the application? With a filter? Dan > > > > On 13 August 2013 15:18, Daniel Mikusa wrote: > >> On Aug 13, 2013, at 9:33 AM, "Smith, Mitchell" >> wrote: >> >>> On 13 August 2013 13:24, Daniel Mikusa wrote: >>&

EL 3.0 Constructor Reference

2013-08-14 Thread Daniel Mikusa
In the EL 3.0 Spec, section 1.22.3 "Constructor Reference" states "A class name reference, followed by arguments in parenthesis, such as "Boolean(true)" denotes the invocation of the constructor of the class with the supplied arguments." This leads me to believe that the following test should

Non-Blocking IO Issue

2013-08-16 Thread Daniel Mikusa
I have a simple echo servlet which uses the Servlet 3.1 Non-Blocking IO API. It creates a ReadListener, that reads the request's input, buffers it, creates a WriteListener that takes the buffered input and echoes it back to the response. Most of the time this works OK, but when I send a reques

Re: Non-Blocking IO Issue

2013-08-16 Thread Daniel Mikusa
On Aug 16, 2013, at 12:32 PM, Mark Thomas wrote: > On 16/08/2013 17:08, Daniel Mikusa wrote: >> I have a simple echo servlet which uses the Servlet 3.1 Non-Blocking IO API. >> It creates a ReadListener, that reads the request's input, buffers it, >> creates a Wr

Re: EL 3.0 Constructor Reference

2013-08-17 Thread Daniel Mikusa
On Aug 17, 2013, at 2:09 AM, Violeta Georgieva wrote: > 2013/8/14 Daniel Mikusa wrote: >> >> In the EL 3.0 Spec, section 1.22.3 "Constructor Reference" states "A > class name reference, followed by arguments in parenthesis, such as > "Boolean(true)"

Re: Webapp HTTP proxy authentication

2013-08-17 Thread Daniel Mikusa
On Aug 16, 2013, at 4:14 PM, Marko Asplund wrote: > Hi, > > We're developing webapps running on Tomcat 7. The apps use third-party > components that we can't modify and those components connect to external > sites using HTTP. > Our ops guys have a policy of routing all outbound traffic through a

Re: Reloading

2013-08-19 Thread Daniel Mikusa
On Aug 19, 2013, at 8:19 AM, Alireza Fattahi wrote: > Hi, > I am using Tomcat 6.0. Which one? Try to be more specific. > The context is set to autoreload. > When I change the JSP the pages are publish and the context are not restart. This is different from context reloading. See the JSP con

Tomcat 8 & EL 3.0 Issue

2013-08-20 Thread Daniel Mikusa
Hello, I'm seeing some perplexing errors with a couple simple EL test. 1.) Here's the first test. @Test public void test01() { ELProcessor processor = new ELProcessor(); processor.defineBean("sb", new StringBuilder()); Assert.assertEquals("a", processor.eval("sb.a

Re: Java6 JAX-WS and Tomcat interoperability

2013-08-21 Thread Daniel Mikusa
On Aug 21, 2013, at 6:18 AM, Michael Südkamp wrote: > Hello, > > My problem is not directly related to Tomcat but to any web container... > > A while ago we developed a webservice interface to our Java web-app. At that > time we needed Java 5 compatibility, that's why we used the JAX-WS RI 2

Re: Having trouble with common.loader

2013-08-21 Thread 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 all of your JAR files in "WEB-INF/lib",

Re: Testing session persistence with a php script

2013-08-21 Thread Daniel Mikusa
On Aug 21, 2013, at 3:59 PM, vi...@thepenguin.org wrote: > I am trying to figure out if I can run my sessionpersistence script that I > run with Apache to see if sessions persist between two tomcat sites on two > separate servers. The load balancer has session persistence enabled but Iam > unsu

Re: Having trouble with common.loader

2013-08-21 Thread Daniel Mikusa
On Aug 21, 2013, at 4:33 PM, David kerber wrote: > On 8/21/2013 4:27 PM, Daniel Mikusa wrote: >> 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 tha

Re: Having trouble with common.loader

2013-08-21 Thread Daniel Mikusa
JVM argument to your bin/setenv.sh file. This will show you the location of classes that are being loaded. Perhaps it is loading classes from those locations and there is some other reason you are getting the ClassNotFoundException. Dan > > > > > > > Th

Re: Having trouble with common.loader

2013-08-22 Thread Daniel Mikusa
being loaded from? > for permissions i verified that i could read the files as the tomcat user.​ Good > Thanks, > Dan > > > On Wed, Aug 21, 2013 at 5:01 PM, Daniel Mikusa wrote: > >> On Aug 21, 2013, at 4:48 PM, D C wrote: >> >>> So here is wh

Re: Having trouble with common.loader

2013-08-22 Thread Daniel Mikusa
, filter out any classes that were loaded from the JDK. Dan > > > > Thanks, > Dan > > > On Thu, Aug 22, 2013 at 6:47 AM, Daniel Mikusa wrote: > >> On Aug 21, 2013, at 5:09 PM, D C wrote: >> >>> I added verbose, it does not appear to attempt t

Re: Migrating from GlassFish to Tomcat 7

2013-08-22 Thread Daniel Mikusa
On Aug 22, 2013, at 8:48 AM, B W wrote: > I have a GWT application which currently is running on GlassFish 3.x. I > want to migrate to Tomcat 7. Previously, I would store properties that the > GWT application could retrieve by > org.apache.commons.configuration.SystemConfiguration. Looks like th

Re: Having trouble with common.loader

2013-08-22 Thread Daniel Mikusa
apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) The stack trace seems to indicate that this error occurred while the container was scanning for annotations. Is your application making use of Spring's WebApplicationInitializer functionality? If not, you might wa

Re: Having trouble with common.loader

2013-08-22 Thread Daniel Mikusa
On Aug 22, 2013, at 11:31 AM, D C wrote: > On Thu, Aug 22, 2013 at 10:30 AM, Daniel Mikusa wrote: > >> On Aug 22, 2013, at 9:21 AM, D C wrote: >> >>> Ok, here goes. grep -v '/opt/jdk' >> >> Removing some of the fluff. >> >>>

Re: Having trouble with common.loader

2013-08-22 Thread Daniel Mikusa
On Aug 22, 2013, at 12:32 PM, D C wrote: > On Thu, Aug 22, 2013 at 11:57 AM, Daniel Mikusa wrote: > >> On Aug 22, 2013, at 11:31 AM, D C wrote: >> >>> On Thu, Aug 22, 2013 at 10:30 AM, Daniel Mikusa >> wrote: >>> >>>> On Aug 22, 2013, at

Re: Migrating from GlassFish to Tomcat 7

2013-08-26 Thread Daniel Mikusa
On Aug 26, 2013, at 7:52 AM, B W wrote: > Looks like catalina.properties it is ! +1 catalina.properties is great for simple things, and it's more portable. One, not so common reason you might want to use setenv.sh is if you want to do something dynamic. Since setenv.sh is a shell script, you

Re: Encoding post data on Tomcat 7 using 2.0.3 corrupted

2013-08-26 Thread Daniel Mikusa
On Aug 26, 2013, at 1:40 AM, Alexander Hartner wrote: > This may be more of an application problem than a tomcat issue, but I am > rather stuck with this one and hoping that somebody on this list may be > able to shed some light on my issue. > > I am trying to post UTF-8 encoding text to my JSF2

Re: Tomcat 8 & EL 3.0 Issue

2013-08-26 Thread Daniel Mikusa
On Aug 23, 2013, at 5:25 PM, Mark Thomas wrote: > On 20/08/2013 16:46, Daniel Mikusa wrote: >> Hello, >> >> I'm seeing some perplexing errors with a couple simple EL test. > > Dan, > > These look like bugs. > > I've taken a quick look at the

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