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) > Tomcat version: 8.0.32

Re: Grails war file not starting on Tomcat 7.0.64

2015-09-03 Thread Daniel Mikusa
ct 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 problem. Dan > > > > &

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 without errors . But when I am

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 tutor

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

2015-07-16 Thread Daniel Mikusa
msrv01,tomsrv02,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. > > >

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 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 nid=0x12f9 wa

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 wrote: > > > On Fri, Jul 3, 2015 at 8:36 AM, Charles Richard < > > charle...@thelearningbar.com> wrote: > > > >

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

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 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 request took to pro

Re: SSL configuration using PFX as keystore

2015-06-19 Thread Daniel Mikusa
On Fri, Jun 19, 2015 at 12:42 AM, Michael Salisbury 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 Redirector > clien

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 wrote: > Hello: > > > I'm using Tomcat 7.0.59 and PostgreSQL JDBC driver 9.4-1201-jdbc4 > > The context.xml settings are > > >factory="org.apache.tomcat.jdbc.pool.DataSourceFactory" driverClassName="org.po

Re: RewriteCond

2015-05-30 Thread Daniel Mikusa
On Sat, May 30, 2015 at 5:07 AM, Frank Lehmann 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 people who write

Re: RewriteCond

2015-05-27 Thread Daniel Mikusa
On Tue, May 26, 2015 at 12:12 PM, Frank Lehmann 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 rewrite.config file, but i solve

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 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, but in practice i

Re: RewriteCond

2015-05-26 Thread Daniel Mikusa
On Mon, May 25, 2015 at 11:30 AM, Frank Lehmann 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 tested many conditions

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 wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 5/21/2015 8:56 AM, Евгений Кузнецов wrote: > > Hello, > > > > I asked question in stakoverflow > > http://stackoverflow.com/questions/30304478/tomcat-deploying-a-webapp- > which-is-access

Re: Issue while Configuring SSL in tomcat6

2015-05-05 Thread Daniel Mikusa
On Mon, May 4, 2015 at 8:35 PM, jairaj kamal 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". Initially we receiv

Re: Issue while Configuring SSL in tomcat6

2015-05-04 Thread Daniel Mikusa
On Sun, May 3, 2015 at 7:48 PM, jairaj kamal 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 shows in red a

Re: Tomcat Thread issue

2015-04-23 Thread Daniel Mikusa
On Thu, Apr 23, 2015 at 7:15 AM, Subhro Paul 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 Catalina.out log we > foun

Re: Problem with Tomcat6 catalina.out

2015-04-01 Thread Daniel Mikusa
On Wed, Apr 1, 2015 at 2:30 AM, Bhagyashree Jog 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 > You're missing a

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 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 you connect

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 > >

Re: Persistance on Tomcat 8.0 and Cluster

2015-02-27 Thread Daniel Mikusa
h is what the error you reported is telling you. In short, remove the 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: Persis

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 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 in a database. >

Re: Help setting up sqlite data source

2015-02-25 Thread Daniel Mikusa
On Wed, Feb 25, 2015 at 2:19 AM, nandy r 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. > It appears I need to su

Re: Tomcat 6 database connection issue

2015-02-24 Thread Daniel Mikusa
On Tue, Feb 24, 2015 at 10:08 AM, Mark Maciolek wrote: > > On 2/23/2015 2:46 PM, Daniel Mikusa wrote: > >> On Feb 23, 2015 12:49 PM, "Mark Maciolek" wrote: >> >>> >>> On 2/23/2015 12:37 PM, Daniel Mikusa wrote: >>> >>>> On M

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 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? Is it a VM or hard

Re: Tomcat 6 database connection issue

2015-02-23 Thread Daniel Mikusa
On Feb 23, 2015 12:49 PM, "Mark Maciolek" wrote: > > > On 2/23/2015 12:37 PM, Daniel Mikusa wrote: >> >> On Mon, Feb 23, 2015 at 12:25 PM, Mark Maciolek >> wrote: >> >>> On 2/23/2015 9:55 AM, Daniel Mikusa wrote: >>> >>>> O

Re: Tomcat 6 database connection issue

2015-02-23 Thread Daniel Mikusa
On Mon, Feb 23, 2015 at 12:25 PM, Mark Maciolek wrote: > > On 2/23/2015 9:55 AM, Daniel Mikusa wrote: > >> On Mon, Feb 23, 2015 at 9:46 AM, Mark Maciolek >> wrote: >> >> hi, >>> >>> operating system: >>> Scientific Linux release 6.6 (

Re: Tomcat 6 database connection issue

2015-02-23 Thread Daniel Mikusa
On Mon, Feb 23, 2015 at 9:46 AM, Mark Maciolek 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 the follo

Re: WorkManager replacement

2015-02-13 Thread Daniel Mikusa
On Fri, Feb 13, 2015 at 9:49 AM, Kevin Hale Boyes 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,

Re: WorkManager replacement

2015-02-13 Thread Daniel Mikusa
On Thu, Feb 12, 2015 at 11:59 PM, Kevin Hale Boyes 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 which seems to b

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 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 star

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

2015-02-12 Thread Daniel Mikusa
that > you do not expect. > http://tomcat.apache.org/tomcat-7.0-doc/class-loader-howto.html > > > 2015-02-12 17:33 GMT+03:00 Wirth, Kevin : > > Ok, I will copy the driver into tomcat\lib and see what happens. Thank > you. > > > > -Original Message- > >

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 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 org.apache.catalina.load

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

2015-02-06 Thread Daniel Mikusa
lated, but don't set "path" here. The path attribute is > ignore here. The path is determined by the name of the xml file, which > just happens to be "test-app" as well. > OK. "path" is no longer set. > > > Do you have anything set in "conf/con

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 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 > http://tomcat.apache.org/tomcat-7.0-doc/config/context.ht

Re: persisting sessions best practices

2015-01-27 Thread Daniel Mikusa
On Tue, Jan 27, 2015 at 3:03 AM, Aristedes Maniatis 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 c

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 > > wrote:

Re: DisableExplicitGC

2015-01-21 Thread Daniel Mikusa
On Wed, Jan 21, 2015 at 2:59 PM, Mike Seda 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 the applications you

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 red

Re: persisting sessions best practices

2015-01-19 Thread Daniel Mikusa
On Sun, Jan 18, 2015 at 9:27 PM, Aristedes Maniatis 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 > several hours

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 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 this excep

Re: Occasional long wait for a JDBC connection

2015-01-13 Thread Daniel Mikusa
s.ErrorReportValve.invoke(ErrorReportValve.java:79) > at > > org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:610) > at > > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88) > at > org.apache

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 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 (3.6.10.Final) for > transaction ma

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 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 > - META-INF

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

2014-12-15 Thread Daniel Mikusa
Can you talk a little more about what you tried and what if any impact those changes had 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, 1

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: 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 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 8 is

Re: Multiple instances?

2014-12-11 Thread Daniel Mikusa
and saw 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 : > > > On Wed

Re: Multiple instances?

2014-12-10 Thread Daniel Mikusa
On Wed, Dec 10, 2014 at 10:35 AM, Billy Bones 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 understand the purpose

Re: Tomcat cluster with static membership

2014-12-09 Thread Daniel Mikusa
On Tue, Dec 9, 2014 at 9:16 AM, Théo Chamley 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 of

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 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 Tomcat and Tomcat wer

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 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 > my Firebug con

Re: Documentation on Connectors needs updating

2014-12-01 Thread Daniel Mikusa
On Mon, Dec 1, 2014 at 2:05 PM, Igal @ 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 serve static

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 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 sure > what to do nex

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 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 don't believ

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

2014-11-06 Thread Daniel Mikusa
lip Hanik : > > > this is part of the TCP lifecycle, you can 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/

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 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 connections in the

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 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: > http://tomcat.apache.org/tomcat-7.0-doc/logging.html#Using_L

Re: SSL acceleration

2014-11-04 Thread Daniel Mikusa
On Tue, Nov 4, 2014 at 11:47 AM, Anthony Bonafide 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 process of > upgradin

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: >

Re: troubleshoot tomcat database connection

2014-11-03 Thread Daniel Mikusa
On Mon, Nov 3, 2014 at 1:58 PM, Mark Maciolek 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 > tomc

Re: Authentication Memcached + Tomcat

2014-11-01 Thread Daniel Mikusa
fig, log output and error messages. Dan > > 2014-10-31 18:18 GMT-02:00 Daniel Mikusa : > > > On Fri, Oct 31, 2014 at 3:51 PM, Nilson Uehara > > wrote: > > > > > I'm testing Memcached to implement failover on my Tomcat servers. > > > > > >

Re: Authentication Memcached + Tomcat

2014-10-31 Thread Daniel Mikusa
On Fri, Oct 31, 2014 at 3:51 PM, Nilson Uehara 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 related to the sec

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, 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 > if the applications onl

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 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 /opt/tomcat7/ > > I

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 K

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 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 few TCP connect

Re: Tomcat JDBC pool - auto reconnect

2014-10-10 Thread Daniel Mikusa
On Fri, Oct 10, 2014 at 9:51 AM, Vasily Kukhta 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 database. It > m

Re: Maven Tomcat 6/7/8 plugin

2014-10-06 Thread Daniel Mikusa
On Sun, Oct 5, 2014 at 2:00 PM, Matthias Hryniszak 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. http://tomcat.

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 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 > /Library/Tomcat/apache-tomcat-8.0.12 > > In the /Lib

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

2014-09-30 Thread Daniel Mikusa
nf/extra/proxy-html.conf > > > 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, 20

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 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 requests to your Tomcat

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 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 > >- JDK

Re: Tomcat xml files in conf/Catalina/localhost

2014-09-19 Thread Daniel Mikusa
be worth trying a different method of undeploying the application, 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 wrote: > > > On Fri,

Re: Tomcat xml files in conf/Catalina/localhost

2014-09-19 Thread Daniel Mikusa
r WAR file and put any config there into another context configuration location, 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 > &

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 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 tomcat does not create >

Re: Possibly Losing Session when Clustered

2014-09-15 Thread Daniel Mikusa
On Mon, Sep 15, 2014 at 3:38 PM, Peter Kirby wrote: > On Mon, Sep 15, 2014 at 2:01 PM, Peter Kirby wrote: > > > On Mon, Sep 15, 2014 at 10:26 AM, Daniel Mikusa > > wrote: > > > >> Have you tried deploying a simple test application to confirm that &g

Re: Possibly Losing Session when Clustered

2014-09-15 Thread Daniel Mikusa
On Mon, Sep 15, 2014 at 10:46 AM, Peter Kirby 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, the login page w

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 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 the cert f

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 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 System.out.printl

Re: web.xml authentication and Tomcat Realm

2014-09-05 Thread Daniel Mikusa
On Thu, Sep 4, 2014 at 8:02 PM, Dalecki, Janusz 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 > > -BEGIN PGP SIG

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 v

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 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 > > > > type="jav

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
gt; or is it a bug? > > > > > > > ​Not sure, the resource links have been around for a long time. It may > have > > been a security feature to not expose . > > However, I'm sure there was a reason for it, and very unlikely it will > > change bac

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
ou some more details. Dan > Tomcat is not bind in java: anymore. Was it a feature request > or is it a bug? > Em 03/09/2014 13:48, "Daniel Mikusa" escreveu: > > > On Wed, Sep 3, 2014 at 11:51 AM, Robert Anderson > > wrote: > > > > > Ok! :) > >

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 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 > > > > type="jav

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 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: UTF-8 encoded request URI

2014-09-03 Thread Daniel Mikusa
On Wed, Sep 3, 2014 at 7:45 AM, Lulseged Zerfu 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 both)? > I have config

Re: Configured JDBCRealm

2014-09-03 Thread Daniel Mikusa
On Tue, Sep 2, 2014 at 9:59 PM, Dalecki, Janusz 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

Re: Manager app + RemoteAddrValve + 403 Access Denied

2014-09-02 Thread Daniel Mikusa
On Tue, Sep 2, 2014 at 4:41 PM, Shanti Suresh wrote: > Hi Dan, > > > On Tue, Sep 2, 2014 at 12:19 PM, Daniel Mikusa wrote: > > > > > > > I tried adding this to my manager app and it was triggering a 403. A > quick > > investigation showed the 403 was c

Re: Manager app + RemoteAddrValve + 403 Access Denied

2014-09-02 Thread Daniel Mikusa
On Tue, Sep 2, 2014 at 10:53 AM, Shanti Suresh wrote: > Hi Dan, > > > On Tue, Sep 2, 2014 at 7:50 AM, Daniel Mikusa wrote: > > > > > > > > > So using a RemoteAddrValve will allow you to restrict access by IP > address, > > but the ma

Re: Configured JDBCRealm

2014-09-02 Thread Daniel Mikusa
On Tue, Sep 2, 2014 at 7:00 AM, Dalecki, Janusz wrote: > Hi, > I have configured JDBCRealm Tomcat with the following: > > > > driverName="org.postgresql.Driver" > connectionURL="jdbc:postgresql://localhost:5432/df_Scheduler?user=postgres&password=admin" > userTable="users" userN

Re: Manager app + RemoteAddrValve + 403 Access Denied

2014-09-02 Thread Daniel Mikusa
On Mon, Sep 1, 2014 at 12:36 PM, Shanti Suresh wrote: > Hi Dan, > > > > On Fri, Aug 29, 2014 at 12:34 PM, Daniel Mikusa > wrote: > > > > > Can you access the JMXProxy servlet directly? > > > > > > > > > http://tomcat.apache.org/t

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" 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. > > > > base="C:\Projects\tomcat\apache-tomcat-8.0.11\hostlibs\myhost"

Re: Manager app + RemoteAddrValve + 403 Access Denied

2014-08-29 Thread Daniel Mikusa
On Fri, Aug 29, 2014 at 12:15 PM, Shanti Suresh 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 CATALINA_HOME

Re: Install Tomcat on Oracle Enterprise Linux

2014-08-26 Thread Daniel Mikusa
On Tue, Aug 26, 2014 at 3:08 AM, Vijay Kumar 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. > http://tomcat.apache.org/tomcat-8.

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 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 manager, change

Re: Max threads and Connector

2014-08-13 Thread Daniel Mikusa
On Wed, Aug 13, 2014 at 12:16 AM, Ahmed Hosni 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 can > enhance perfor

  1   2   3   4   5   6   7   >