Re: Need help to install GoDaddy's SSL certificates on Tomcat 8.0.32 (Amazon Linux)

2016-05-31 Thread Daniel Mikusa
On Mon, May 30, 2016 at 11:26 PM, Conor Skyler wrote: > Hello list, > > I'm trying to install the certificates I bought from GoDaddy into my Tomcat > server, however so far I've been unsuccessful to achieve this. > > My system specs are: > OS: Amazon Linux (fully updated)

Re: Grails war file not starting on Tomcat 7.0.64

2015-09-03 Thread Daniel Mikusa
On Thu, Sep 3, 2015 at 3:26 AM, Ashish Gupta wrote: > Hi , > > I have a grails application war file, built in production mode. The Grails > version I am using is 2.1.1 and I am building the war from command prompt. > My OS is UBUNTU 12.0.4. > > The war is generated

Re: Grails war file not starting on Tomcat 7.0.64

2015-09-03 Thread Daniel Mikusa
ion > specific to my project or is a general issue. > It's an issue with the app or the app's configuration, not Tomcat. There should be an exception in the logs which gives you more details. Look through `logs/`. The exception will tell you what the application did to cause the p

Re: Is Container Managed Transactions possible in case of Tomcat ?

2015-08-19 Thread Daniel Mikusa
On Wed, Aug 19, 2015 at 12:03 PM, Sreyan Chakravarty sreyan.mail...@gmail.com wrote: I planning to use JPA (Hibernate) in a small project that I am developing. Now I have heard a lot about the benefits of using Container Managed Transactions(CMT) for JPA in web apps. But most of the tutorials

Re: Many Threads in TIMED_WAITING (parking) - [org.apache.tomcat.util.threads.TaskQueue]

2015-07-16 Thread Daniel Mikusa
On Thu, Jul 16, 2015 at 10:37 AM, Robert Anderson ranom...@gmail.com wrote: Hi, Sometimes, in moments of high traffic for our patterns (170 req/sec), we have a lot of threads like that: ajp-apr-8009-exec-115 ^ 16/07/2015 - 11:13:37 - End of Execute daemon prio=10 tid=0x2aaab5c36800

Re: Many Threads in TIMED_WAITING (parking) - [org.apache.tomcat.util.threads.TaskQueue]

2015-07-16 Thread Daniel Mikusa
,tomsrv04 worker.balancer.sticky_session=1 - Make sure timeouts are configured appropriately - Ok Do you have a firewall in between HTTPD Tomcat? Is there anything that could be breaking the connection? No. Best regards. 2015-07-16 12:44 GMT-03:00 Daniel Mikusa dmik

Re: Session replication/fail-over for medium sized tomcat farm

2015-07-04 Thread Daniel Mikusa
On Fri, Jul 3, 2015 at 9:17 AM, Charles Richard charle...@thelearningbar.com wrote: On Fri, Jul 3, 2015 at 9:58 AM, Daniel Mikusa dmik...@pivotal.io wrote: On Fri, Jul 3, 2015 at 8:36 AM, Charles Richard charle...@thelearningbar.com wrote: Hi, We are currently using a product

Re: Session replication/fail-over for medium sized tomcat farm

2015-07-03 Thread Daniel Mikusa
On Fri, Jul 3, 2015 at 8:36 AM, Charles Richard charle...@thelearningbar.com wrote: Hi, We are currently using a product called Terracotta to do session fail-over/replication but are considering moving away from this product as it doesn't seem to support Java 7 and Tomcat 7. What products

Re: detect requests that take a long time to process

2015-06-19 Thread Daniel Mikusa
On Fri, Jun 19, 2015 at 9:07 AM, Kaouthar Ghorbel gkaout...@gmail.com wrote: hello ,my webapplication is very slow , i want to know how can i detect requests that take a long time to process in tomcat 8. 1.) Add %D or %T to your access log format. That will log info about how long the

Re: SSL configuration using PFX as keystore

2015-06-19 Thread Daniel Mikusa
On Fri, Jun 19, 2015 at 12:42 AM, Michael Salisbury mich...@skypoint.co.nz wrote: Hi there, I’m trying to get the above working using Tomcat 8.0, previously working with 7.0. This is part of a WebDAV connector in Confluence. It seems I can connect from anything other than a Windows Mini

Re: validationQuery doesn't work (DBCP 7.0.59)

2015-06-15 Thread Daniel Mikusa
On Mon, Jun 15, 2015 at 4:42 AM, Jose María Zaragoza demablo...@gmail.com wrote: Hello: I'm using Tomcat 7.0.59 and PostgreSQL JDBC driver 9.4-1201-jdbc4 The context.xml settings are Resource auth=Container type=javax.sql.DataSource

Re: RewriteCond

2015-05-30 Thread Daniel Mikusa
On Sat, May 30, 2015 at 5:07 AM, Frank Lehmann frank-lehm...@freenet.de wrote: Hi Dan, First, please don't top post. -- Don't know what you mean, i am at qnalist.com and pushed the button reply to: This is top posting. http://en.wikipedia.org/wiki/Posting_style#Top-posting We prefer that

Re: RewriteCond

2015-05-27 Thread Daniel Mikusa
On Tue, May 26, 2015 at 12:12 PM, Frank Lehmann frank-lehm...@freenet.de wrote: Hi Dan, First, please don't top post. Reply inline like this or at the bottom. you are right, i have used this documentation for setting the rewrite rule. This doc has is mistake in placing the

Re: Tomcat 8.0.22 - Putting all Libraries in a Separate Folder to reduce War file size

2015-05-26 Thread Daniel Mikusa
On Tue, May 26, 2015 at 6:21 AM, Aditya Chopra adity...@turvo.com wrote: The reason i am trying to reduce the war file size is because its size has gone upto 55MB and time taken for copying it to the server for deployments has increased. What you're trying to do may seem like a good idea,

Re: RewriteCond

2015-05-26 Thread Daniel Mikusa
On Mon, May 25, 2015 at 11:30 AM, Frank Lehmann frank-lehm...@freenet.de wrote: Hi helpers, i want to rewrite my url when a mobile user reaches my homepage. I found this condition on the web after several searchings. But it will not work. All other condition also not working, i have

Re: Try to deploy war and keep access to my webapp in browser without entering context root name

2015-05-21 Thread Daniel Mikusa
On Thu, May 21, 2015 at 12:03 PM, Mark Eggers its_toas...@yahoo.com.invalid wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 5/21/2015 8:56 AM, Евгений Кузнецов wrote: Hello, I asked question in stakoverflow

Re: Issue while Configuring SSL in tomcat6

2015-05-05 Thread Daniel Mikusa
On Mon, May 4, 2015 at 8:35 PM, jairaj kamal jairaj.ka...@gmail.com wrote: First, please stop top posting. Reply inline or at the bottom. It's the convention followed on this list. Hello, when I checked with below command I find my keystore created type as JKS and we are using tool Keytool.

Re: Issue while Configuring SSL in tomcat6

2015-05-04 Thread Daniel Mikusa
On Sun, May 3, 2015 at 7:48 PM, jairaj kamal jairaj.ka...@gmail.com wrote: Hello, I created a keystore via Keytool, CSR file and received below root and intermediate certificates. I have got both TestRoot.cer TestCA.cer certificates imported in keystore via keytool but still in browser it

Re: Tomcat Thread issue

2015-04-23 Thread Daniel Mikusa
On Thu, Apr 23, 2015 at 7:15 AM, Subhro Paul subhro.p...@tcs.com wrote: Dear Team, One of our client's website stopped working yesterday. We observed that Tomcat servers were not working properly during that time. We have checked the memory usage of the server was fine but in the

Re: Problem with Tomcat6 catalina.out

2015-04-01 Thread Daniel Mikusa
On Wed, Apr 1, 2015 at 2:30 AM, Bhagyashree Jog rani...@gmail.com wrote: I am getting the following error on deploying tomcat org.apache.tomcat.util.net.JIoEndpoint$Acceptor run SEVERE: Socket accept failed java.lang.NoClassDefFoundError: org/bouncycastle/crypto/modes/CBCBlockCipher

Re: Issues with SSL to resolve poodle vulnerability

2015-03-13 Thread Daniel Mikusa
On Fri, Mar 13, 2015 at 10:17 AM, MICHELLE RENEE LARSON mr...@psu.edu wrote: We use a software called iDashboards it is tomcat running on windows I have installed an SSL and when you go to the site https://idashboards-dev.outreach.psu.edu/idashboards/ it shows that the SSL is installed and

Re: Persistance on Tomcat 8.0 and Cluster

2015-02-27 Thread Daniel Mikusa
reported is telling you. In short, remove the Cluster/ tag, the error should go away. Dan -Ursprüngliche Nachricht- Von: Daniel Mikusa [mailto:dmik...@pivotal.io] Gesendet: Freitag, 27. Februar 2015 14:21 An: Tomcat Users List Betreff: Re: Persistance on Tomcat 8.0 and Cluster

Re: Persistance on Tomcat 8.0 and Cluster

2015-02-27 Thread Daniel Mikusa
On Fri, Feb 27, 2015 at 8:15 AM, Alexander Diedler adied...@tecracer.de wrote: Hello, I have to build a two node failover cluster with 2 tomcats 8.0.15 servers. This cluster is on AWS Cloud, so technical we cannot use Mulicast etc. so we have to use Persistance stored the Session information

Re: Persistance on Tomcat 8.0 and Cluster

2015-02-27 Thread Daniel Mikusa
On Fri, Feb 27, 2015 at 9:39 AM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Daniel, On 2/27/15 9:24 AM, Daniel Mikusa wrote: On Fri, Feb 27, 2015 at 8:35 AM, Alexander Diedler adied...@tecracer.de wrote: Hello Daniel

Re: Help setting up sqlite data source

2015-02-25 Thread Daniel Mikusa
On Wed, Feb 25, 2015 at 2:19 AM, nandy r nandy0...@yahoo.com.invalid wrote: Hello, I wanted to setup tomcat+hibernate+JOTM+sqlite but could not find any information on sqlite setup. I did read a document on setting up datasources and also one tomcat document relating to mysql, postgresql.

Re: when idle tomcat runs on 3.9% CPU

2015-02-24 Thread Daniel Mikusa
On Tue, Feb 24, 2015 at 7:33 AM, Peter Irbizon peterirbi...@gmail.com wrote: Hello, I would like to know if it is normal that tomcat7 runs on 3.9% CPU when idle? I saw all other processes are at 0%, only tomcat7 is always at least 3.9%. 1.) What's your system like? How many CPUs / cores?

Re: Tomcat 6 database connection issue

2015-02-24 Thread Daniel Mikusa
On Tue, Feb 24, 2015 at 10:08 AM, Mark Maciolek mark.macio...@unh.edu wrote: On 2/23/2015 2:46 PM, Daniel Mikusa wrote: On Feb 23, 2015 12:49 PM, Mark Maciolek mark.macio...@unh.edu wrote: On 2/23/2015 12:37 PM, Daniel Mikusa wrote: On Mon, Feb 23, 2015 at 12:25 PM, Mark Maciolek

Re: Tomcat 6 database connection issue

2015-02-23 Thread Daniel Mikusa
On Mon, Feb 23, 2015 at 9:46 AM, Mark Maciolek mark.macio...@unh.edu wrote: hi, operating system: Scientific Linux release 6.6 (Carbon) postgres version postgresql-server-8.4.2 tomcat version tomcat6-6.0.24 Tomcat starts and I can reach page at the 8080 port on the server when I add

Re: Tomcat 6 database connection issue

2015-02-23 Thread Daniel Mikusa
On Mon, Feb 23, 2015 at 12:25 PM, Mark Maciolek mark.macio...@unh.edu wrote: On 2/23/2015 9:55 AM, Daniel Mikusa wrote: On Mon, Feb 23, 2015 at 9:46 AM, Mark Maciolek mark.macio...@unh.edu wrote: hi, operating system: Scientific Linux release 6.6 (Carbon) postgres version postgresql

Re: Tomcat 6 database connection issue

2015-02-23 Thread Daniel Mikusa
On Feb 23, 2015 12:49 PM, Mark Maciolek mark.macio...@unh.edu wrote: On 2/23/2015 12:37 PM, Daniel Mikusa wrote: On Mon, Feb 23, 2015 at 12:25 PM, Mark Maciolek mark.macio...@unh.edu wrote: On 2/23/2015 9:55 AM, Daniel Mikusa wrote: On Mon, Feb 23, 2015 at 9:46 AM, Mark Maciolek

Re: WorkManager replacement

2015-02-13 Thread Daniel Mikusa
On Fri, Feb 13, 2015 at 9:49 AM, Kevin Hale Boyes kcbo...@gmail.com wrote: We already use Spring in the project so I'll have a look there. http://docs.spring.io/spring/docs/current/spring-framework-reference/htmlsingle/#scheduling Dan Thanks On 13 February 2015 at 05:29, Daniel Mikusa

Re: WorkManager replacement

2015-02-13 Thread Daniel Mikusa
On Thu, Feb 12, 2015 at 11:59 PM, Kevin Hale Boyes kcbo...@gmail.com wrote: I currently have an application running on weblogic that I'm moving over to tomcat 8. One of the things the application does is run background jobs using the commonj WorkManager. These jobs are managed by weblogic

Re: tomcat severe error when shutting down service but startup is clean

2015-02-12 Thread Daniel Mikusa
On Thu, Feb 12, 2015 at 9:06 AM, Wirth, Kevin kwi...@astoriabank.com wrote: I keep getting these weird tomcat errors on shutdown on a newly built system using tomcat 7.0.57 on a windows 2012 server with jdk 1.7 that I can't figure out. This is the catalina log: Feb 12, 2015 8:54:31 AM

Re: tomcat severe error when shutting down service but startup is clean

2015-02-12 Thread Daniel Mikusa
/tomcat-7.0-doc/class-loader-howto.html 2015-02-12 17:33 GMT+03:00 Wirth, Kevin kwi...@astoriabank.com: Ok, I will copy the driver into tomcat\lib and see what happens. Thank you. -Original Message- From: Daniel Mikusa [mailto:dmik...@pivotal.io] Sent: Thursday, February 12, 2015 9

Re: tomcat severe error when shutting down service but startup is clean

2015-02-12 Thread Daniel Mikusa
On Thu, Feb 12, 2015 at 11:20 AM, Wirth, Kevin kwi...@astoriabank.com wrote: -Original Message- From: Daniel Mikusa [mailto:dmik...@pivotal.io] Sent: Thursday, February 12, 2015 9:52 AM To: Tomcat Users List Subject: Re: tomcat severe error when shutting down service but startup

Re: Issue when using tomcat JDBC Connection Pool with a shared resource

2015-02-06 Thread Daniel Mikusa
. path is no longer set. Do you have anything set in conf/context.xml or in your web.xml? See the attached file Best Regards Jean-Louis Matéo -Message d'origine- De : Daniel Mikusa [mailto:dmik...@pivotal.io] Envoyé : vendredi 6 février 2015 14:06 À : Tomcat Users List

Re: Issue when using tomcat JDBC Connection Pool with a shared resource

2015-02-06 Thread Daniel Mikusa
On Fri, Feb 6, 2015 at 6:27 AM, Jean-Louis Mateo jean-louis.ma...@bull.net wrote: Hi, I would like to use the Tomcat JDBC Connection Pool with a shared resource so I’ve read : http://tomcat.apache.org/tomcat-7.0-doc/jdbc-pool.html#Standalone and

Re: persisting sessions best practices

2015-01-27 Thread Daniel Mikusa
On Tue, Jan 27, 2015 at 3:03 AM, Aristedes Maniatis a...@ish.com.au wrote: Thank you to Dan and Chris for your valuable comments. On 1/19/15 9:21 AM, Daniel Mikusa wrote: Question 1: Is the documentation still correct after all these years of BackupManager being used? Is it still considered

Re: DisableExplicitGC

2015-01-21 Thread Daniel Mikusa
On Wed, Jan 21, 2015 at 2:59 PM, Mike Seda mike.s...@lillegroup.com wrote: Is it advisable to have the following JVM option set in Tomcat 7 (with Java 7)? -XX:+DisableExplicitGC It may or may not make a difference. Some questions like these come to mind... - How would you feel if one of

Re: DisableExplicitGC

2015-01-21 Thread Daniel Mikusa
On Wed, Jan 21, 2015 at 3:51 PM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Daniel, On 1/21/15 3:16 PM, Daniel Mikusa wrote: On Wed, Jan 21, 2015 at 2:59 PM, Mike Seda mike.s...@lillegroup.com wrote: Is it advisable

Re: persisting sessions best practices

2015-01-19 Thread Daniel Mikusa
On Sun, Jan 18, 2015 at 9:27 PM, Aristedes Maniatis a...@ish.com.au wrote: I have some applications currently using sticky sessions in tomcat 7. Everything works well except that restarting tomcat requires disabling mod_jk new sessions to an instance, waiting for sessions to expire and then

Re: [OT] persisting sessions best practices

2015-01-19 Thread Daniel Mikusa
On Mon, Jan 19, 2015 at 11:05 AM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Daniel, On 1/19/15 9:21 AM, Daniel Mikusa wrote: I've not personally used memcache, but I have used redis, so I guess that's a similar approach

Re: Occasional long wait for a JDBC connection

2015-01-13 Thread Daniel Mikusa
$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:745) On Tue, Jan 13, 2015 at 8:21 AM, Daniel Mikusa dmik...@pivotal.io wrote: On Tue, Jan 13, 2015 at 9:51 AM, Darren Davis dar...@virtualvoodoo.net wrote: Recently we deployed our production application

Re: Occasional long wait for a JDBC connection

2015-01-13 Thread Daniel Mikusa
On Tue, Jan 13, 2015 at 9:51 AM, Darren Davis dar...@virtualvoodoo.net wrote: Recently we deployed our production application on a Tomcat 8.0.14 web server. We are using the Tomcat JDBC Connection pool against MySQL 5. Our web application uses Spring (3.2.11.RELEASE) /Hibernate

Re: question on EL Lambda expression in a JSP on Tomcat 8_0_15

2015-01-13 Thread Daniel Mikusa
On Tue, Jan 13, 2015 at 4:11 PM, Anup Aggarwal codeteste...@gmail.com wrote: Hi, I am trying to run this EL Lambda expression in a JSP on Tomcat 8_0_15 ${(incr = x-x+1; incr(10)} This could be a typo in your email, but you have an extra ( at the beginning before incr =. Dan But I get

Re: Static files with default servlet in tomcat 8.0.9

2015-01-12 Thread Daniel Mikusa
On Mon, Jan 12, 2015 at 9:55 AM, Srikanth Hugar srikanth.hu...@gmail.com wrote: Hello, I am trying to configure static files with default servlet in tomcat 8.0.9 but could not succeed. My directory structure in deployed webapp is: - WEB-INF - static -css -images -js

Re: Startup of tomcat 8 takes twice as long as startup of tomcat 6

2014-12-15 Thread Daniel Mikusa
On Mon, Dec 15, 2014 at 8:33 AM, gch...@gmx.de gch...@gmx.de wrote: Hi, we used to deploy our webapp in a tomcat 6.0.35 and want to upgrade to tomcat 8.0.9. Try the latest Tomcat 8 release, 8.0.15, and see if that helps. During testing we discovered, that the startup process of tomcat

Re: Startup of tomcat 8 takes twice as long as startup of tomcat 6

2014-12-15 Thread Daniel Mikusa
On Mon, Dec 15, 2014 at 8:40 AM, Yaragalla Muralidhar yaragallamur...@gmail.com wrote: for me it is taking more than that. I have deployed a simple war file. How simple? What about when you run it without any apps deployed? How fast does it startup then? It took so long to deploy it.

Re: Re: Startup of tomcat 8 takes twice as long as startup of tomcat 6

2014-12-15 Thread Daniel Mikusa
on the startup time? I will try a profiler to describe the problem more precisely. Excellent! That should help to pinpoint the problem. Dan Gero Gesendet: Montag, 15. Dezember 2014 um 16:04 Uhr Von: Daniel Mikusa dmik...@pivotal.io An: Tomcat Users List users@tomcat.apache.org

Re: Multiple instances?

2014-12-11 Thread Daniel Mikusa
how it's going on. Many thanks guys. When you get something working, please share your solution :) I'm interested to see what you work out and I'm sure others will be as well. Dan 2014-12-10 18:10 GMT+01:00 Daniel Mikusa dmik...@pivotal.io: On Wed, Dec 10, 2014 at 10:35 AM, Billy Bones

Re: Multiple instances?

2014-12-10 Thread Daniel Mikusa
On Wed, Dec 10, 2014 at 10:35 AM, Billy Bones gael.ther...@gmail.com wrote: Hi Christopher, Many thanks for your answer, well, I'm pretty comfortable with systemd myself as I rely on it for my Fedora box for a long time ago, but on this particular topic regarding tomcat, I don't really

Re: Tomcat cluster with static membership

2014-12-09 Thread Daniel Mikusa
On Tue, Dec 9, 2014 at 9:16 AM, Théo Chamley theo...@mley.fr wrote: On 2014-12-08 21:22, Ameer Mawia wrote: Hi Theo, Since you are using static membership and NOT dynamic(multi-cast) which auto-detect members, my current understanding says that you will have to add entry of all the members

Re: How to configure security for remote access to WebSocket

2014-12-05 Thread Daniel Mikusa
On Fri, Dec 5, 2014 at 6:21 AM, Des Magner des.mag...@gmail.com wrote: Hi I cannot access any websocket applications when my client runs on a different machine from tomcat. It works fine if everything is on the same machine but once I access from a different machine I see the error below in

Re: How to configure security for remote access to WebSocket

2014-12-05 Thread Daniel Mikusa
On Fri, Dec 5, 2014 at 9:29 AM, Des Magner des.mag...@gmail.com wrote: I checked the logs and the the request does not seem to be making it to tomcat. There is no reference to it in the access log file. That would almost certainly indicate that something is blocking it. If the request hit

Re: Documentation on Connectors needs updating

2014-12-01 Thread Daniel Mikusa
On Mon, Dec 1, 2014 at 2:05 PM, Igal @ getRailo.org i...@getrailo.org wrote: Chris, On 11/28/2014 6:26 AM, Christopher Schultz wrote: 4. Tomcat can server static content just as quickly as httpd. I remember that years ago it was recommended to front Tomcat with a web server in order to

Re: How to setup rewrite valve for angularjs

2014-11-21 Thread Daniel Mikusa
On Thu, Nov 20, 2014 at 9:08 PM, Tay Kai Yang kaiyang@gmail.com wrote: Hi I have been reading up tomcat 8's user doc. But I have some problems understanding the setup of rewrite valve. I think I should add the rewrite valve class name and XML settings to /conf/server.xml, but I am not

Re: Release calendar of Apache Tomcat versions

2014-11-20 Thread Daniel Mikusa
On Thu, Nov 20, 2014 at 7:00 AM, Iago Alonso Alonso infia...@udc.es wrote: I want to know where I can find the release calendar of the Apache Tomcat versions in order to do an analysis of the project. I have been searching in the Wiki, Google, etc but I don't found anything by the moment. I

Re: Tomcat JDBC pool - too many connections in TIME_WAIT state

2014-11-06 Thread Daniel Mikusa
adjust this timeout yourself on the Operating system level http://www.cs.northwestern.edu/~agupta/cs340/project2/TCPIP_State_Transition_Diagram.pdf cat /proc/sys/net/ipv4/tcp_fin_timeoutecho 15 /proc/sys/net/ipv4/tcp_fin_timeout On Wed, Nov 5, 2014 at 7:36 AM, Daniel Mikusa dmik

Re: Trying to filter noise from catalina.out.

2014-11-05 Thread Daniel Mikusa
On Tue, Nov 4, 2014 at 6:12 PM, Brandon Darbro bdar...@uievolution.com wrote: Looking for configuration help. Using tomcat7 7.0.34 from rpm package tomcat7-7.0.34-3.jpp6.noarch. Followed the instructions for using log4j for catalina.out found here:

Re: Tomcat JDBC pool - too many connections in TIME_WAIT state

2014-11-05 Thread Daniel Mikusa
On Wed, Nov 5, 2014 at 9:13 AM, Vasily Kukhta v.b.kuk...@gmail.com wrote: Hello all! I have developed an application using Tomcat JDBC pool. Everything is fine except that the pool leaves hundreds of TCP connections in TIME_WAIT state, I have to ask, but are you sure it's the pool? TCP

Re: SSL acceleration

2014-11-04 Thread Daniel Mikusa
On Tue, Nov 4, 2014 at 11:47 AM, Anthony Bonafide bonafideanth...@gmail.com wrote: Hello All, I am using a third party load balancer which accepts HTTPS connections, decrypts them and sends the unencrypted connection to Tomcat(SSL Acceleration). I am currently using tomcat 5 and I am in the

Re: troubleshoot tomcat database connection

2014-11-03 Thread Daniel Mikusa
On Mon, Nov 3, 2014 at 1:58 PM, Mark Maciolek m...@sr.unh.edu wrote: hi, system is running Scientific Linux release 6.5 rpm installed tomcat6-servlet-2.5-api-6.0.24-78.el6_5.noarch tomcat6-javadoc-6.0.24-78.el6_5.noarch tomcat6-lib-6.0.24-78.el6_5.noarch tomcat-native-1.1.30-1.el6.x86_64

Re: troubleshoot tomcat database connection

2014-11-03 Thread Daniel Mikusa
On Mon, Nov 3, 2014 at 2:52 PM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Mark, On 11/3/14 2:41 PM, Mark Maciolek wrote: On 11/3/2014 2:29 PM, Daniel Mikusa wrote: On Mon, Nov 3, 2014 at 1:58 PM, Mark Maciolek m

Re: Authentication Memcached + Tomcat

2014-11-01 Thread Daniel Mikusa
:18 GMT-02:00 Daniel Mikusa dmik...@pivotal.io: On Fri, Oct 31, 2014 at 3:51 PM, Nilson Uehara nilueh...@gmail.com wrote: I'm testing Memcached to implement failover on my Tomcat servers. Is there any way of implementing security by user / password? Can you clarify

Re: Authentication Memcached + Tomcat

2014-10-31 Thread Daniel Mikusa
On Fri, Oct 31, 2014 at 3:51 PM, Nilson Uehara nilueh...@gmail.com wrote: I'm testing Memcached to implement failover on my Tomcat servers. Is there any way of implementing security by user / password? Can you clarify this request? Are these two separate thoughts, or is memcached somehow

Re: NameNotFoundException: Name [jdbc/weblogin01b] is not bound in this Context. Unable to find [jdbc]

2014-10-29 Thread Daniel Mikusa
On Wed, Oct 29, 2014 at 12:45 PM, vince.w...@thomsonreuters.com wrote: Hello I'm having difficulty getting a JDBC DataSource using Tomcat 8. I want to define the JDBC details in server.xml so the database identified depends on the server and not the application. It will be beneficial for me

Re: How can Tomcat be started at boot time as a non-root user

2014-10-14 Thread Daniel Mikusa
On Tue, Oct 14, 2014 at 7:06 AM, Léa Massiot lmhe...@orange.fr wrote: Hello and thank you for reading my post. My question is about how can Tomcat be started at boot time as a non-root user. The OS is Debian Wheezy. Below is what I did already: root chown -R tomcat7.tomcat7

Re: Custom Realm

2014-10-13 Thread Daniel Mikusa
On Sun, Oct 12, 2014 at 8:26 AM, Service Symphony mee...@servicesymphony.com wrote: I have got it working, since the server is not started yet, none of the underlying infrastructure is available in the realm class constructor. Sent from my iPhone On 11 Oct 2014, at 22:37, Meeraj

Re: Tomcat JDBC pool - auto reconnect

2014-10-10 Thread Daniel Mikusa
On Fri, Oct 10, 2014 at 9:51 AM, Vasily Kukhta v.b.kuk...@gmail.com wrote: Hi friends, I have a question regarding the ability of Tomcat JDBC pool to reconnect automatically to a database in case of temporarily network failures. I'm developing a high-load application which uses Oracle 11g

Re: Quite a few TCP connection established on start of Tomcat

2014-10-10 Thread Daniel Mikusa
On Fri, Oct 10, 2014 at 12:33 PM, Gangadhar Tumkur rajmc...@gmail.com wrote: Hello, We have moved to Tomcat 7.0.51 from JBoss 4x as the application server for our product using Java 8.0.20. After starting Tomcat application server and when we run netstat -a -b we see that there are quite a

Re: Maven Tomcat 6/7/8 plugin

2014-10-06 Thread Daniel Mikusa
On Sun, Oct 5, 2014 at 2:00 PM, Matthias Hryniszak pad...@gmail.com wrote: It seems I might have expressed myself purely. Let me rephrase: I'm looking for RemoteIpValve support in maven-tomcat7-plugin. Perhaps you could use RemoteIPFilter instead? You can configure that through web.xml.

Re: Open quote is expected for attribute {1} associated with an element type username

2014-10-02 Thread Daniel Mikusa
On Thu, Oct 2, 2014 at 2:16 PM, Gibran Castillo gibran.e.casti...@gmail.com wrote: I installed Tomcat 8.0.12 in my MacBook OS X 10.9.5 here /Library/Tomcat/Home. Home is a symbolic link that will always point to the current version Tomcat directory, in this case

Re: Session lost in Tomcat 5.5.36

2014-09-30 Thread Daniel Mikusa
On Tue, Sep 30, 2014 at 6:56 AM, Diego Ruotolo druot...@noemalife.com wrote: Hi everybody, Working on my company webapp I notice the following problem: sometimes the jsession cookie is lost, and therefore my whole http session is lost. The context is: - Tomcat v. 5.5.36

Re: Tomcat returns Jsp source code as text/plain to the browser

2014-09-30 Thread Daniel Mikusa
On Tue, Sep 30, 2014 at 9:04 AM, Gadi Sastiel gadi.sast...@gmail.com wrote: Hi , we are behind Apache. , we have HTTP and AJP connectors. Java 1.7.17 it was reproduced on Latest chrome and firefox I've seen similar issues when Apache HTTPD is not configured correctly. How are you proxying

Re: Tomcat returns Jsp source code as text/plain to the browser

2014-09-30 Thread Daniel Mikusa
conf/extra/proxy-html.conf /IfModule LoadModule jk_module modules/mod_jk.so Looks like you're loading both mod_proxy mod_jk. Which one are you using? There should be more to this config. Possibly some ProxyPass statements or a JkMount? Dan Gadi On Tue, Sep 30, 2014 at 4:38 PM, Daniel

Re: Tomcat xml files in conf/Catalina/localhost

2014-09-19 Thread Daniel Mikusa
On Fri, Sep 19, 2014 at 12:28 PM, Miguel Pereira miguelaperei...@gmail.com wrote: Hey all, I was wondering where I could get some more information about these xml files. On one system they are created every time I deploy a web application and on another they are not.. I would prefer that

Re: Tomcat xml files in conf/Catalina/localhost

2014-09-19 Thread Daniel Mikusa
, assuming that is an option for you. What is your rationale for not wanting it copied? i.e. what is the problem that copying it causes? Maybe there is another way to resolve that problem. Dan Miguel On Fri, Sep 19, 2014 at 12:41 PM, Daniel Mikusa dmik...@pivotal.io wrote: On Fri, Sep 19

Re: Tomcat xml files in conf/Catalina/localhost

2014-09-19 Thread Daniel Mikusa
, like the manager or JMX, to see if that removes the context file. Dan I'll be doing some more digging, Miguel On Fri, Sep 19, 2014 at 2:45 PM, Daniel Mikusa dmik...@pivotal.io wrote: On Fri, Sep 19, 2014 at 1:32 PM, Miguel Pereira miguelaperei...@gmail.com wrote: Thank you

Re: Possibly Losing Session when Clustered

2014-09-15 Thread Daniel Mikusa
On Mon, Sep 15, 2014 at 10:46 AM, Peter Kirby lpki...@harding.edu wrote: I'm running CentOS 7 and I've tried this on Tomcat 7.0.55 and 8.0.12, both with the same results. This also works perfectly fine in a production environment with 7.0.55. I'm running CAS and without clustering Tomcat,

Re: Possibly Losing Session when Clustered

2014-09-15 Thread Daniel Mikusa
On Mon, Sep 15, 2014 at 3:38 PM, Peter Kirby lpki...@harding.edu wrote: On Mon, Sep 15, 2014 at 2:01 PM, Peter Kirby lpki...@harding.edu wrote: On Mon, Sep 15, 2014 at 10:26 AM, Daniel Mikusa dmik...@pivotal.io wrote: Have you tried deploying a simple test application to confirm

Re: Stop writing System.our and System.err in catalina.out

2014-09-09 Thread Daniel Mikusa
On Tue, Sep 9, 2014 at 5:12 AM, André Warnier a...@ice-sa.com wrote: Vijay Kumar wrote: Hi, I have deployed one web application in Tomcat which uses JULI logger internally for application level logging. I can change the Mode to OFF while going to production. But there are few

Re: PKCS 12 issues in apache tomcat

2014-09-09 Thread Daniel Mikusa
On Mon, Sep 8, 2014 at 9:57 PM, Siva K Chittamuru cskal...@gmail.com wrote: Hello, I am using Apache tomcat version 7 Which version specifically? and trying to configure SSL. Here is what I did so far. 1. Generated CSR using OpenSSL and purchased certificate from geotrust. 2. Imported

Re: web.xml authentication and Tomcat Realm

2014-09-05 Thread Daniel Mikusa
On Thu, Sep 4, 2014 at 8:02 PM, Dalecki, Janusz jdale...@tycoint.com wrote: -Original Message- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Sent: Friday, 5 September 2014 12:03 AM To: Tomcat Users List Subject: Re: web.xml authentication and Tomcat Realm

Re: How a script can determine latest version of Tomcat

2014-09-04 Thread Daniel Mikusa
On Thu, Sep 4, 2014 at 1:48 PM, David P. Caldwell da...@code.davidpcaldwell.com wrote: I have a small program that downloads and installs an arbitrary version of Tomcat, using the API provided by Apache to select the proper mirror, and so forth. The script currently takes the Tomcat version

Re: Configured JDBCRealm

2014-09-03 Thread Daniel Mikusa
On Tue, Sep 2, 2014 at 9:59 PM, Dalecki, Janusz jdale...@tycoint.com wrote: -Original Message- From: Daniel Mikusa [mailto:dmik...@pivotal.io] Sent: Tuesday, 2 September 2014 10:04 PM To: Tomcat Users List Subject: Re: Configured JDBCRealm On Tue, Sep 2, 2014 at 7:00 AM, Dalecki

Re: UTF-8 encoded request URI

2014-09-03 Thread Daniel Mikusa
On Wed, Sep 3, 2014 at 7:45 AM, Lulseged Zerfu zlulse...@hotmail.com wrote: Hi I am getting bad request from tomcat when I send UTF-8 encoded request to my application. Can you give an example of the request? Are the non-ascii characters in the URL or in the payload of your request (or

Re: Global JNDI resources lookup behavior difference between version 6.0.39 and 6.0.41/7.0.55

2014-09-03 Thread Daniel Mikusa
On Wed, Sep 3, 2014 at 11:36 AM, Robert Anderson ranom...@gmail.com wrote: Hi, In a privileged context, a have the following jsp to test a global jndi resource: %@ page session=false import=java.util.*,java.sql.*,javax.naming.*, javax.sql.*,org.apache.commons.dbcp.* contentType=text/html

Re: Global JNDI resources lookup behavior difference between version 6.0.39 and 6.0.41/7.0.55

2014-09-03 Thread Daniel Mikusa
On Wed, Sep 3, 2014 at 11:51 AM, Robert Anderson ranom...@gmail.com wrote: Ok! :) Steps to reproduce: 1)Download and unpack 6.0.39 http://archive.apache.org/dist/tomcat/tomcat-6/v6.0.39/bin/apache-tomcat-6.0.39.tar.gz 2) Create a global jndi resouce in server.xml

Re: Global JNDI resources lookup behavior difference between version 6.0.39 and 6.0.41/7.0.55

2014-09-03 Thread Daniel Mikusa
Tomcat is not bind in java:global name anymore. Was it a feature request or is it a bug? Em 03/09/2014 13:48, Daniel Mikusa dmik...@pivotal.io escreveu: On Wed, Sep 3, 2014 at 11:51 AM, Robert Anderson ranom...@gmail.com wrote: Ok! :) Steps to reproduce: 1)Download and unpack

Re: Global JNDI resources lookup behavior difference between version 6.0.39 and 6.0.41/7.0.55

2014-09-03 Thread Daniel Mikusa
there was a reason for it, and very unlikely it will change back You can get around it by adding a ResourceLink element in your conf/context.xml, as this setting will apply to all your apps deployed. Filip Em 03/09/2014 13:48, Daniel Mikusa dmik...@pivotal.io escreveu: On Wed, Sep 3

Re: Global JNDI resources lookup behavior difference between version 6.0.39 and 6.0.41/7.0.55

2014-09-03 Thread Daniel Mikusa
On Wed, Sep 3, 2014 at 11:51 AM, Robert Anderson ranom...@gmail.com wrote: Ok! :) Steps to reproduce: 1)Download and unpack 6.0.39 http://archive.apache.org/dist/tomcat/tomcat-6/v6.0.39/bin/apache-tomcat-6.0.39.tar.gz 2) Create a global jndi resouce in server.xml

Re: Manager app + RemoteAddrValve + 403 Access Denied

2014-09-02 Thread Daniel Mikusa
On Mon, Sep 1, 2014 at 12:36 PM, Shanti Suresh sha...@umich.edu wrote: Hi Dan, On Fri, Aug 29, 2014 at 12:34 PM, Daniel Mikusa dmik...@pivotal.io wrote: Can you access the JMXProxy servlet directly? http://tomcat.apache.org/tomcat-7.0-doc/manager-howto.html

Re: Configured JDBCRealm

2014-09-02 Thread Daniel Mikusa
On Tue, Sep 2, 2014 at 7:00 AM, Dalecki, Janusz jdale...@tycoint.com wrote: Hi, I have configured JDBCRealm Tomcat with the following: Context Realm className=org.apache.catalina.realm.JDBCRealm driverName=org.postgresql.Driver

Re: Manager app + RemoteAddrValve + 403 Access Denied

2014-09-02 Thread Daniel Mikusa
On Tue, Sep 2, 2014 at 10:53 AM, Shanti Suresh sha...@umich.edu wrote: Hi Dan, On Tue, Sep 2, 2014 at 7:50 AM, Daniel Mikusa dmik...@pivotal.io wrote: So using a RemoteAddrValve will allow you to restrict access by IP address, but the manager application is still configured

Re: Manager app + RemoteAddrValve + 403 Access Denied

2014-09-02 Thread Daniel Mikusa
On Tue, Sep 2, 2014 at 4:41 PM, Shanti Suresh sha...@umich.edu wrote: Hi Dan, On Tue, Sep 2, 2014 at 12:19 PM, Daniel Mikusa dmik...@pivotal.io wrote: I tried adding this to my manager app and it was triggering a 403. A quick investigation showed the 403 was coming from the CRF

Re: can't make external lib jars loaded with Resources in tomcat 8

2014-08-30 Thread Daniel Mikusa
On Aug 29, 2014 4:56 PM, Sergei Kovalev skov...@gmail.com wrote: Can anybody provide working example how to externalize libs for application under tomcat 8? I have done below but it does not work, libs not getting loaded. Resources PreResources

Re: Manager app + RemoteAddrValve + 403 Access Denied

2014-08-29 Thread Daniel Mikusa
On Fri, Aug 29, 2014 at 12:15 PM, Shanti Suresh sha...@umich.edu wrote: Greetings, I am running Tomcat 7.0.52. I am a bit unsure as to why localhost is being denied a JMXProxy servlet query with a 403. I tried using curl as: curl http://localhost:8090/manager/heapused.jsp I have

Re: Install Tomcat on Oracle Enterprise Linux

2014-08-26 Thread Daniel Mikusa
On Tue, Aug 26, 2014 at 3:08 AM, Vijay Kumar vijy.gan...@gmail.com wrote: Hi, Can i install Tomcat on Oracle Enterprise Linux. Can you install a JVM on it? If so, then Tomcat will very likely run there. Could you please share us the link/doc which i need to refer.

Re: How can we configure deployXML=true in security manager ?

2014-08-14 Thread Daniel Mikusa
On Thu, Aug 14, 2014 at 6:39 AM, Utkarsh Dave utkarshkd...@gmail.com wrote: We upgraded from Tomcat 7.0.41 to tomcat 7.0.53. We are starting the Tomcat as -security so as to enable security manager. I also see the changelog of 7.0.48 mentioning about this change When running under a security

Re: Max threads and Connector

2014-08-13 Thread Daniel Mikusa
On Wed, Aug 13, 2014 at 12:16 AM, Ahmed Hosni ahmedhosni...@gmail.com wrote: I am using nginx webserver with tomcat 7 in production environment , I am trying to optemize performance changing connector port type from http to ajp and increasing maxThreads attribute in connector, does that really

  1   2   3   4   5   6   7   >