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

2012-08-25 Thread Fred Janon
) 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 fja...@gmail.com wrote: Ah! Thanks Jeff, you are right, thanks. I checked and the OpenJDK installed

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

2012-08-25 Thread Fred Janon
Hi Martin, I realized that some of the directories were created with the ec2-user in some of my previous tries before running daemon.sh. I am deleting all these dirs/files and see if daemon.sh works now. Cheers, Fred On Sat, Aug 25, 2012 at 9:20 AM, Fred Janon fja...@gmail.com wrote: Thanks

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

2012-08-25 Thread Fred Janon
tomcat tomcat0 Aug 25 09:47 manager.2012-08-25.log Thanks all for your help. Fred On Sat, Aug 25, 2012 at 11:30 AM, Fred Janon fja...@gmail.com wrote: Hi Martin, I realized that some of the directories were created with the ec2-user in some of my previous tries before running daemon.sh

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

2012-08-25 Thread Fred Janon
localhost_access_log.2012-08-25.txt -rw--- 1 tomcat tomcat0 Aug 25 09:47 manager.2012-08-25.log Thanks all for your help. Fred On Sat, Aug 25, 2012 at 11:30 AM, Fred Janon fja...@gmail.com wrote: Hi Martin, I realized that some of the directories were created with the ec2-user

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

2012-08-25 Thread Fred Janon
Just for information, I got to run tomcat7 on AWS Linux (CentOS) as a daemon and using port 80. Cheers, Fred On Sat, Aug 25, 2012 at 4:24 PM, Fred Janon fja...@gmail.com wrote: Thanks Martin. I get a warning in the system log at boot time, I don't understand what it means or where it comes

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

2012-08-24 Thread Fred Janon
. Cheers, Fred On Fri, Aug 24, 2012 at 7:51 AM, Jeff MAURY jeffma...@jeffmaury.com 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 fja...@gmail.com wrote: Hi, I am trying to build the Unix deamon

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

2012-08-24 Thread Fred Janon
, 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 fja...@gmail.com wrote: Hi Jeff, Thanks, but I read the instructions and requirements for a C compiler an the JDK. As shown in my original message

Re: [OT] redirecting people to maintenance mode

2012-08-24 Thread Fred Janon
On Fri, Aug 24, 2012 at 5:22 PM, Christopher Schultz ch...@christopherschultz.net wrote: -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

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

2012-08-24 Thread Fred Janon
, if ec2-user is part of the sudoers Jeff On Fri, Aug 24, 2012 at 4:09 PM, Fred Janon fja...@gmail.com wrote: 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

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 really

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

2012-08-23 Thread Fred Janon
Hi, I am trying to build the Unix deamon jsvc in AWS EC2 Linux. I did not install Tomcat7 that comes with the AWS Linux, I downloaded Tomcat7 from the Apache Tomcat website, I installed it and ran Tomcat7 successfully. Now I am trying to build the daemon to run Tomcat7 as a daemon. I get an error

Re: redirecting people to maintenance mode

2012-08-23 Thread Fred Janon
Christopher, I am interested in more details from your comment: This is a common misconception: Apache httpd is *not* faster than Tomcat for static content *when configured appropriately*. The current default configuration is unfortunately much less optimized than Apache httpd's default

JNDI-Datasource: what happens if the database is not ready when Tomcat starts?

2009-08-25 Thread Fred Janon
Hi, I am looking into using the JNDI/Datasource facility in Tomcat 5.5 to connect to a mySQL 5.0 database on a Windows 2003 server. Both Tomcat and mySQL run as services. What happens if the Tomcat service starts before mySQL? Does Tomcat wait for a while for the DB to be ready? Does it launch

Re: increasing JVM heap space in Tomcat 6.0 (Windows XP)

2009-08-13 Thread Fred Janon
Complementary question: what is the recommended JVM to use with Tomcat: client/jvm.dll or server/jvm.dll? Thanks Fred On Thu, Aug 13, 2009 at 21:56, Christoph Kukulies k...@kukulies.org wrote: jre_1.5.0_06/client/jvm.dll

Re: increasing JVM heap space in Tomcat 6.0 (Windows XP)

2009-08-13 Thread Fred Janon
Yes, I always download the JDK and use the server jvm in there. I don't think the JRE download includes the server jvm anymore, at least not in the few I downloaded lately. Fred On Thu, Aug 13, 2009 at 22:08, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Fred Janon [mailto:fja

Tomcat 5.5 on Windows Server 2003, HTTPS and tc-native

2009-07-31 Thread Fred Janon
Hi, I just want to share my experience installing Tomcat 5.5.23 (and also 5.5.27 from memory) on Windows Server 2003 Datacenter Edition. I installed 5.5.27 on that version of Windows by creating an instance on Amazon EC2. Tomcat worked pretty quickly on port 80. I needed to enable HTTPS so I

Re: Tomcat 5.5 on Windows Server 2003, HTTPS and tc-native

2009-07-31 Thread Fred Janon
there. Cheers, Fred On Fri, Jul 31, 2009 at 22:13, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Fred Janon [mailto:fja...@gmail.com] Subject: Tomcat 5.5 on Windows Server 2003, HTTPS and tc-native I needed to enable HTTPS so I copied the SSL certificate that was used on my