Issue with Tomcat7.0.29 no Logs

2012-08-24 Thread swapnil vaidya
Hi All, I am using tomcat 7.0.29. I am initializing it using Bootstrap.main() with argument as "start". We have configured log4j to be used for tomcat logging. For this i did follwoing: 1)downloaded tomcat-juli.jar from extras and kept in tomcat/bin. 2)downlaoded log4j and tomcat-juli-adapter.jar a

Re: Issue with Tomcat7.0.29 no Logs

2012-08-24 Thread Konstantin Kolinko
2012/8/24 swapnil vaidya : > Hi All, > I am using tomcat 7.0.29. I am initializing it using Bootstrap.main() with > argument as "start". 1. Have you set up classpath correctly? It should include both bootstrap.jar and tomcat-juli.jar. 2. Have you set the system properties "catalina.home" and "cata

Re: Issue building the Unix daemon (jsvc) with the "configure" script in Tomcat7

2012-08-24 Thread Jeff MAURY
Fred, you are getting confused by the term OpenJDK. It comes in two flavor, JRE and JDK. I have some .h files on my Ubuntu server, but not under /usr/lib/jvm/java-1.6.0-openjdk but under /usr/lib/jvm/java-6-openjdk Regards Jeff On Fri, Aug 24, 2012 at 8:52 AM, Fred Janon wrote: > Hi Jeff, > >

Re: Support for Windows 8 and Windows Server 2012

2012-08-24 Thread Pid *
On 24 Aug 2012, at 07:33, Geet Chandra wrote: > Hi, > > Does anybody know about Tomcat (6.x or 7.x) support for Windows 8 and > Windows Server 2012. > If it is there, then which version, if not when can we expect. Why not try the latest Tomcat 7 and let us know if it works? p > -- > Thanks &

Re: Issue building the Unix daemon (jsvc) with the "configure" script in Tomcat7

2012-08-24 Thread DeMarco, Alex
Unsubscribe Jeff MAURY wrote: You need a JDK to be installed on your machine and it seems you've only a JRE Jeff On Thu, Aug 23, 2012 at 10:12 PM, Fred Janon wrote: > Hi, > > I am trying to build the Unix deamon jsvc in AWS EC2 Linux. I did not > install Tomcat7 that comes with the AWS Linu

Re: Too many connections in keepalive state in jk threadpool

2012-08-24 Thread marcobuc
Thank you for your reply Rainer, with netstat -an I see a lot of connections in ESTABLISHED status on port 8009 coming from localhost so I think I can assume that those are the connections established from Apache and Tomcat both residing on the same machine. In any case on tomcat manager webapp I s

Re: Issue building the Unix daemon (jsvc) with the "configure" script in Tomcat7

2012-08-24 Thread Fred Janon
Ah! Thanks Jeff, you are right, thanks. I checked and the OpenJDK installed is not the full JDK (??? confusing). I had to install the OpenJDK-dev to get the full JDK. I managed to build the jsvc (yeah!), now I am getting an error after starting tomcat using daemon.sh, it seems that it runs a root,

Re: [OT] redirecting people to maintenance mode

2012-08-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Fred, (Marking OT because this strays from the OP's topic) On 8/23/12 4:21 PM, Fred Janon wrote: > I am interested in more details from your comment: > > "This is a common misconception: Apache httpd is *not* faster than > Tomcat for static content

Re: Issue building the Unix daemon (jsvc) with the "configure" script in Tomcat7

2012-08-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Alex, On 8/24/12 7:52 AM, DeMarco, Alex wrote: > Unsubscribe Wrong address, dude. See the bottom of ... well, every post ever on the mailing list. - -chris > > Jeff MAURY wrote: > > You need a JDK to be installed on your machine and it seems you

Can't download any commons-daemon package?

2012-08-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 All, I know this is a 'commons' question, but am I the only one who can't actually download *any* of the commons-daemon packages? No binary, no source, no nothing. Everything gets me 404. I've tried like a dozen mirrors. Is it just me? - -chris

Re: Can't download any commons-daemon package?

2012-08-24 Thread Mark Thomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 24/08/2012 16:36, Christopher Schultz wrote: > All, > > I know this is a 'commons' question, but am I the only one who > can't actually download *any* of the commons-daemon packages? No > binary, no source, no nothing. Everything gets me 404. I've

Re: Can't download any commons-daemon package?

2012-08-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark, On 8/24/12 11:40 AM, Mark Thomas wrote: > On 24/08/2012 16:36, Christopher Schultz wrote: >> All, > >> I know this is a 'commons' question, but am I the only one who >> can't actually download *any* of the commons-daemon packages? No >> binar

Re: [OT] redirecting people to maintenance mode

2012-08-24 Thread Fred Janon
Hi Chris, Excellent, thanks for all these suggestions. I never really understood why Tomcat standalone would be that much slower than something else serving files like you pointed it out. So good things to look at and try out. thanks for the SSL pointer as well, I need it. Thanks again. Fred On

Re: Can't download any commons-daemon package?

2012-08-24 Thread Mark Thomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 24/08/2012 17:01, Christopher Schultz wrote: > Mark, > > On 8/24/12 11:40 AM, Mark Thomas wrote: >> On 24/08/2012 16:36, Christopher Schultz wrote: >>> All, > >>> I know this is a 'commons' question, but am I the only one who >>> can't actually d

Tomcat 5.5 context.xml question.

2012-08-24 Thread Josh Gooding
Wow, has it really been that long since I've asked questions here? On to the meat and potatoes... I have a tomcat 5.5.23 installation here that I am trying to do some changes too and I am a bit lost.. Let me try to explain what I want to do. The application has both a context defined in the ser

Customize "from" and "to" address for emails that come from tomcat

2012-08-24 Thread Brian Weddell
I'm using mail.jar and activation-1.1.jar. I am able to successfully send mail from Tomcat. However the emails come from the user running tomcat and the FQDN of the local host. Is there a way to mask this? For example, instead of: From: tomc...@servername.domain.com [mailto:tomc...@servername.

Re: Tomcat 5.5 context.xml question.

2012-08-24 Thread Konstantin Kolinko
2012/8/24 Josh Gooding : > > > All those debug="" attributes... - Tomcat 5.5 does not support them. See "Configuration Reference" chapters of documentation, where these attributes are not mentioned. (Well, nothing fatal - they will be just silently ignored). > > value="

Re: [OT] redirecting people to maintenance mode

2012-08-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Fred, On 8/24/12 12:02 PM, Fred Janon wrote: > Excellent, thanks for all these suggestions. I never really > understood why Tomcat standalone would be that much slower than > something else serving files like you pointed it out. So good > things to lo

Re: Customize "from" and "to" address for emails that come from tomcat

2012-08-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Brian, On 8/24/12 1:34 PM, Brian Weddell wrote: > I'm using mail.jar and activation-1.1.jar. > > I am able to successfully send mail from Tomcat. > > However the emails come from the user running tomcat and the FQDN > of the local host. > > Is ther

Re: Customize "from" and "to" address for emails that come from tomcat

2012-08-24 Thread David kerber
On 8/24/2012 3:41 PM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Brian, On 8/24/12 1:34 PM, Brian Weddell wrote: I'm using mail.jar and activation-1.1.jar. I am able to successfully send mail from Tomcat. However the emails come from the user running tomcat and

Re: Tomcat 5.5 context.xml question.

2012-08-24 Thread Josh Gooding
Yeah you see what I'm given to work with. The sever.xml will be cleaned up, but i'm trying to get this fixed to upgrade to 6.0.35 or 7. So let me ask this, given that billing-1.0.4 is a branch that contains 4 war files. Am I able to deploy say billing-1.0.5 on the fly without having to restart t

Re: Tomcat 5.5 context.xml question.

2012-08-24 Thread Mark Thomas
On 24/08/2012 20:53, Josh Gooding wrote: > Yeah you see what I'm given to work with. The sever.xml will be cleaned > up, but i'm trying to get this fixed to upgrade to 6.0.35 or 7. > > So let me ask this, given that billing-1.0.4 is a branch that contains 4 > war files. Am I able to deploy say b

Re: Tomcat 5.5 context.xml question.

2012-08-24 Thread Josh Gooding
Mark, Konstantin, thank you very much. As usual I highly appreciate it. On Fri, Aug 24, 2012 at 4:05 PM, Mark Thomas wrote: > On 24/08/2012 20:53, Josh Gooding wrote: > > Yeah you see what I'm given to work with. The sever.xml will be cleaned > > up, but i'm trying to get this fixed to upgrad

Re: Issue building the Unix daemon (jsvc) with the "configure" script in Tomcat7

2012-08-24 Thread Jeff MAURY
It probably means your current user (ec2-user) has not the rights to run as tomcat user. Try the same command with sudo in front, if ec2-user is part of the sudoers Jeff On Fri, Aug 24, 2012 at 4:09 PM, Fred Janon wrote: > Ah! Thanks Jeff, you are right, thanks. I checked and the OpenJDK insta

getRealPath returns null

2012-08-24 Thread Mark Eggers
Folks, This is not strictly a Tomcat problem, but since the application is running under Tomcat I thought I would ask. Environment --- Tomcat: 6.0.20 JRE: 1.6.0_16 OS: some UNIX variant I'm a little light on the environment, since it's not mine. Yes, this is old. No, I don'

Re: Tomcat 5.5 context.xml question.

2012-08-24 Thread Konstantin Kolinko
2012/8/25 Mark Thomas : > On 24/08/2012 20:53, Josh Gooding wrote: >> Yeah you see what I'm given to work with. The sever.xml will be cleaned >> up, but i'm trying to get this fixed to upgrade to 6.0.35 or 7. >> >> So let me ask this, given that billing-1.0.4 is a branch that contains 4 >> war fil

Re: getRealPath returns null

2012-08-24 Thread Konstantin Kolinko
2012/8/25 Mark Eggers : > Folks, > > This is not strictly a Tomcat problem, but since the application is running > under Tomcat I thought I would ask. > > Environment > --- > Tomcat: 6.0.20 > JRE: 1.6.0_16 > OS: some UNIX variant > > I'm a little light on the environment, since it

Re: Issue building the Unix daemon (jsvc) with the "configure" script in Tomcat7

2012-08-24 Thread Fred Janon
Hi Jeff, I tried both: [ec2-user@ip-10-34-89-185 bin]$ ./daemon.sh start Cannot set group id for user 'tomcat' Error validating user 'tomcat' With sudo, I get the permissions issue. ec2-user is a sudoer. sudo ./daemon.sh start *SEVERE: Unable to create directory for deployment: /datadisk1/tomc

Re: [OT] redirecting people to maintenance mode

2012-08-24 Thread Fred Janon
Thanks for all of that, Chris. Cheers, Fred On Fri, Aug 24, 2012 at 9:40 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Fred, > > On 8/24/12 12:02 PM, Fred Janon wrote: > > Excellent, thanks for all these suggestions. I never

Re: getRealPath returns null

2012-08-24 Thread Mark Eggers
Konstantin, Thanks for the comments. I'll make mine inline below. On 8/24/2012 2:55 PM, Konstantin Kolinko wrote: 2012/8/25 Mark Eggers : Folks, This is not strictly a Tomcat problem, but since the application is running under Tomcat I thought I would ask. Environment --- Tomcat: 6.

RE: [OT] redirecting people to maintenance mode

2012-08-24 Thread Martin Gainty
MG>Frederich, MG>comments interspersed > From: ch...@christopherschultz.net > To: users@tomcat.apache.org > Subject: Re: [OT] redirecting people to maintenance mode > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Fred, > > On 8/24/12 12:02 PM, Fred Janon wrote: > > Excellent, thanks