ANN: 'cats' to aid multiple tomcat instances management

2013-01-30 Thread Rafal Jato
Hi all. At our company, Jato Consulting GmbH, we use tomcat heavily for pretty much all our deployments, and also internally, in testing / integration environments. As we wanted to run multiple instances on the same machine, and we didn't find any existing tool that would suit our needs , we wrote

ISA-server authentication on Tomcat: problem with escape character

2013-01-30 Thread Vlaeminck, Dries
Hello all, I am currently working for a client on a problem concerning authentication on a Tomcat server, by first logging in on a remote ISA-server. The problem is as follows (usernames, passwords and domains are replaced by dummies or blancs, for obvious security concerns :) ): On the Tomcat

Re: ISA-server authentication on Tomcat: problem with escape character

2013-01-30 Thread Konstantin Kolinko
2013/1/30 Vlaeminck, Dries dries.vlaemi...@delawareconsulting.com: Hello all, I am currently working for a client on a problem concerning authentication on a Tomcat server, by first logging in on a remote ISA-server. 1. What is your exact version of Tomcat, x.y.z? The problem is as follows

Re: Embedded Tomcat how to use addContext for docBase

2013-01-30 Thread Konstantin Kolinko
2013/1/30 Jimmy Johnson eclectic.sou...@gmail.com: Ah, Okay, so I should use the addWebapp method to add a path to an external folder? e.g tomcat.addWebapp(/MyWebApp/images, /tmp/images); It should not matter whether it is an external folder or not, as you are not relying on the

Re: Scenario with Tomcat cluster session management

2013-01-30 Thread Konstantin Kolinko
2013/1/30 Josh Gooding josh.good...@gmail.com: As usual, I am always working with Tomcat to tweak every ounce of oomph out of it and I ran across this scenario in my configuration trials. At present, I have a small 3 server tomcat cluster running 7.0.30 64-bit on CentOS, and jdk6. I want to

Re: Embedded Tomcat how to use addContext for docBase

2013-01-30 Thread Jimmy Johnson
Awesome! Thanks a million Konstantin, it worked. As for using the /tmp folder. /tmp/images is it actually just a place where I give the images a uuid name, process them, and then save them elsewhere immediately I then delete the original so it should be okay. I will also add in the

RE: ISA-server authentication on Tomcat: problem with escape character

2013-01-30 Thread Vlaeminck, Dries
-Original Message- From: Konstantin Kolinko [mailto:knst.koli...@gmail.com] Sent: woensdag 30 januari 2013 12:01 To: Tomcat Users List Subject: Re: ISA-server authentication on Tomcat: problem with escape character 2013/1/30 Vlaeminck, Dries dries.vlaemi...@delawareconsulting.com:

JMS in a Tomcat Environment

2013-01-30 Thread Williams, Nick
Knowing that Tomcat is not a full JavaEE application server, I understand that it doesn't support all JavaEE specifications, and that JMS is one of the specifications that Tomcat does not implement. However, I'm wondering if any Tomcat users out there have any experience with any JMS solutions

Re: JMS in a Tomcat Environment

2013-01-30 Thread Daniel Mikusa
On Jan 30, 2013, at 11:20 AM, Williams, Nick wrote: Knowing that Tomcat is not a full JavaEE application server, I understand that it doesn't support all JavaEE specifications, and that JMS is one of the specifications that Tomcat does not implement. However, I'm wondering if any Tomcat

RE: Tomcat using near 100% of CPU on Windows 2008

2013-01-30 Thread Caldarale, Charles R
From: Dima Iva [mailto:ots...@live.com] Subject: Tomcat using near 100% of CPU on Windows 2008 I added CATALINA_OPTS=-Xms4096m -Xmx512m to the Environment Variables That's clearly wrong; you made the maximum smaller than the minimum. What makes you think you have a heap size problem?

Re: Tomcat using near 100% of CPU on Windows 2008

2013-01-30 Thread Howard W. Smith, Jr.
On Wed, Jan 30, 2013 at 12:27 PM, Dima Iva ots...@live.com wrote: We have a Windows 2008 R2 virtual machine on an ESXi server. It only runs one application that requires Apache, Tomcat, Java and PostgreSQL. We have the latest versions of these programs. The machine has 1TB of disk space

RE: JMS in a Tomcat Environment

2013-01-30 Thread Williams, Nick
I do not have a preferred implementation, no. I understand the basics of JMS and how it works, but I have never actually used it before. I do usually work with Spring Framework, but my understanding is that it's relatively agnostic as to the underlying implementation of JMS. ActiveMQ looks

Re: Tomcat using near 100% of CPU on Windows 2008

2013-01-30 Thread Mark Eggers
On 1/30/2013 10:04 AM, Caldarale, Charles R wrote: From: Dima Iva [mailto:ots...@live.com] Subject: Tomcat using near 100% of CPU on Windows 2008 I added CATALINA_OPTS=-Xms4096m -Xmx512m to the Environment Variables That's clearly wrong; you made the maximum smaller than the minimum. What

Re: JMS in a Tomcat Environment

2013-01-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Nick, On 1/30/13 11:20 AM, Williams, Nick wrote: Knowing that Tomcat is not a full JavaEE application server, I understand that it doesn't support all JavaEE specifications, and that JMS is one of the specifications that Tomcat does not

Re: [OT] Tomcat using near 100% of CPU on Windows 2008

2013-01-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Chuck, On 1/30/13 1:04 PM, Caldarale, Charles R wrote: From: Dima Iva [mailto:ots...@live.com] Subject: Tomcat using near 100% of CPU on Windows 2008 I added CATALINA_OPTS=-Xms4096m -Xmx512m to the Environment Variables That's clearly

Re: JMS in a Tomcat Environment

2013-01-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Nick, On 1/30/13 1:08 PM, Williams, Nick wrote: I do not have a preferred implementation, no. I understand the basics of JMS and how it works, but I have never actually used it before. I do usually work with Spring Framework, but my

Re: JMS in a Tomcat Environment

2013-01-30 Thread Daniel Mikusa
On Jan 30, 2013, at 1:08 PM, Williams, Nick wrote: I do not have a preferred implementation, no. I understand the basics of JMS and how it works, but I have never actually used it before. I would second Chris' suggestion that you do a POC and try a few different implementations. Find the

RE: JMS in a Tomcat Environment

2013-01-30 Thread Williams, Nick
Thanks for the input, both of you. I will take a look at the activity in the repository and also inquire on the lists, as well as trying different implementations. I'm curious. I know that, being open source, the Tomcat project generally welcomes volunteers who want to contribute features or

Re: JMS in a Tomcat Environment

2013-01-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Nick, On 1/30/13 2:06 PM, Williams, Nick wrote: Thanks for the input, both of you. I will take a look at the activity in the repository and also inquire on the lists, as well as trying different implementations. I'm curious. I know that,

RE: JMS in a Tomcat Environment

2013-01-30 Thread Jeff Sturm
-Original Message- From: Williams, Nick [mailto:nicholas.willi...@ul.com] Sent: Wednesday, January 30, 2013 2:06 PM I'm curious. I know that, being open source, the Tomcat project generally welcomes volunteers who want to contribute features or improvements. However, I'd like to

64 Bit Tomcat

2013-01-30 Thread Patrick Flaherty
Hello, I have an open question about 32 bit vs 64 bit. We are currently deploying our app with 32 bit JVM and Tomcat. We are running into memory issues as we add more functionality (some via tools in the open source ecosystem). We are testing our complete app with 64 bit JVM and 64 bit

RE: JMS in a Tomcat Environment

2013-01-30 Thread Williams, Nick
Chris, this makes sense, and is kind of already what I was thinking. I just figured, after soliciting suggestions for JMS providers, that while we were on the topic of JMS I would ask. Nick -Original Message- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Sent:

RE: 64 Bit Tomcat

2013-01-30 Thread Williams, Nick
Our enterprise apps are deployed in a 64-bit environment and we have not seen any issues on Tomcat 64-bit with Spring Framework, Spring Security and Hibernate. I would wager that, these days, 64-bit is more common than not. However, I don't have any research to back up my opinion. Nick

session persistence across application redeploy

2013-01-30 Thread Aggarwal, Ajay
Does session persistence work across application redeploy? I am on tomcat 7.0.26. And for me session persistence is working across tomcat restarts, but not when I redeploy my application. I am not using any special configuration for session persistence (i.e. using the standard manager).

Re: 64 Bit Tomcat

2013-01-30 Thread Dhruva Reddy
I'm running a Grails application on 64-bit Linux, for a public website. We don't have a lot of traffic yet, but so far, no memory issues. On Wed, Jan 30, 2013 at 4:51 PM, Williams, Nick nicholas.willi...@ul.comwrote: Our enterprise apps are deployed in a 64-bit environment and we have not

Cannot apply simpleformtatter pattern to catalina.sh

2013-01-30 Thread Edson Richter
I'm trying to put the following in catalina.sh: JAVA_OPTS=-Djava.awt.headless=true -Djava.util.logging.SimpleFormatter.format=[%1$tY-%1$tm-%1$td %1$tH:%1$tM:%1$tS.%1$tL] %4$s: %5$s %6$s %n also tried: JAVA_OPTS=-Djava.awt.headless=true

Re: 64 Bit Tomcat

2013-01-30 Thread David kerber
IME, 64 bit operating systems are far more common on the server side than 32-bit. Workstations are still a mix. I use either 32-bit or 64-bit tomcat interchangeably, depending on the memory needs of the application I'm deploying. The only thing I have to change when I switch is the database

Re: 64 Bit Tomcat

2013-01-30 Thread Edson Richter
I do use 64bit JRockit VM (JDK 6), and it is awesome! Tomcat running for months without any trouble, even with redeployments. In time: I don't work for Oracle :-) Regards, Edson Em 30/01/2013 19:57, Dhruva Reddy escreveu: I'm running a Grails application on 64-bit Linux, for a public

Re: 64 Bit Tomcat

2013-01-30 Thread Howard W. Smith, Jr.
On Wed, Jan 30, 2013 at 4:44 PM, Patrick Flaherty pflah...@rampageinc.comwrote: I have an open question about 32 bit vs 64 bit. We are currently deploying our app with 32 bit JVM and Tomcat. We are running into memory issues as we add more functionality (some via tools in the open source

RE: session persistence across application redeploy

2013-01-30 Thread Aggarwal, Ajay
I found another thread which indicates that the default location to serialize the sessions gets blown away during re-deployment and hence the problem. Work around is to override the default location to a path which is outside of directories managed by tomcat, e.g. Context Manager

Re: Cannot apply simpleformtatter pattern to catalina.sh

2013-01-30 Thread Edson Richter
Ops! Found it: JAVA_OPTS=-Djava.awt.headless=true -Djava.util.logging.SimpleFormatter.format='[%1\$tY-%1\$tm-%1\$td %1\$tH:%1\$tM:%1\$tS.%1\$tL] %4\$s: %5\$s %6\$s %n' a) In bash, using double quotes make necessary to escape the dolar sign b) for SimpleFormatter.format works, the

Re: Cannot apply simpleformtatter pattern to catalina.sh

2013-01-30 Thread Mark Eggers
On 1/30/2013 2:01 PM, Edson Richter wrote: I'm trying to put the following in catalina.sh: JAVA_OPTS=-Djava.awt.headless=true -Djava.util.logging.SimpleFormatter.format=[%1$tY-%1$tm-%1$td %1$tH:%1$tM:%1$tS.%1$tL] %4$s: %5$s %6$s %n also tried: JAVA_OPTS=-Djava.awt.headless=true

RE: Cannot apply simpleformtatter pattern to catalina.sh

2013-01-30 Thread Caldarale, Charles R
From: Edson Richter [mailto:edsonrich...@hotmail.com] Subject: Cannot apply simpleformtatter pattern to catalina.sh I'm trying to put the following in catalina.sh: Don't do that. Create a setenv.sh script and put the lines there. Looks like you found the lack of escaping. - Chuck THIS

Re: Cannot apply simpleformtatter pattern to catalina.sh

2013-01-30 Thread Edson Richter
Thanks, already solved! You are right, the double quotes are mandatory. But in this case, to avoid variable expansion (in bash), need also to escape the dolar signs. And finally, the format need to be surrounded by single quotes. What did I accomplish? The end of double log lines in log file

Re: 64 Bit Tomcat

2013-01-30 Thread Jose MarĂ­a Zaragoza
2013/1/30 Patrick Flaherty pflah...@rampageinc.com: Hello, I have an open question about 32 bit vs 64 bit. We are currently deploying our app with 32 bit JVM and Tomcat. We are running into memory issues as we add more functionality (some via tools in the open source ecosystem). Depends on

Re: Latest-version TomEE 1.5.2-SNAPSHOT (Tomcat 7.0.34?) just died on me, nothing in server logs

2013-01-30 Thread Howard W. Smith, Jr.
On Tue, Jan 29, 2013 at 6:08 PM, Konstantin Kolinko knst.koli...@gmail.comwrote: 2013/1/30 Caldarale, Charles R chuck.caldar...@unisys.com: From: Howard W. Smith, Jr. [mailto:smithh032...@gmail.com] Subject: Latest-version TomEE 1.5.2-SNAPSHOT (Tomcat 7.0.34?) just died on me, nothing in

Re: LDAP on TOMCAT 7.0.30

2013-01-30 Thread N.s.Karthik
Hi Thx for the Conversation but still i am not convinced How Do I achieve SSO + LDAP for the setup as define below, I absolutely do not have any Idea, I am confused with lot's URL's Apache 2.2x (httpd-ssl) Tomcat DB Traffic expected on system is 300+ using IE, FFOX, Safari ,

Re: 64 Bit Tomcat My experience

2013-01-30 Thread N.s.Karthik
Hi We have dev a Struts2 /Ajax /Oracle Db application and been using Tomcat for DEV /IT testing on Win32 for long time,while the deployment usally happens on 64 bit REd hat So far other then Perm /Heap space configuration not encountered any specific problems with regards Karthik -- View